From 91b59d248acef18ee446faeef7d95402ed103c82 Mon Sep 17 00:00:00 2001 From: mehmet-erim Date: Mon, 9 Dec 2019 15:24:28 +0300 Subject: [PATCH] chore: add dist into gitignore #2346 --- npm/ng-packs/.gitignore | 5 +- npm/ng-packs/dist/account-config/README.md | 3 - .../account-config/abp-ng.account.config.d.ts | 4 - .../abp-ng.account.config.metadata.json | 1 - .../bundles/abp-ng.account.config.umd.js | 316 -- .../bundles/abp-ng.account.config.umd.js.map | 1 - .../bundles/abp-ng.account.config.umd.min.js | 16 - .../abp-ng.account.config.umd.min.js.map | 1 - .../esm2015/abp-ng.account.config.js | 10 - .../esm2015/lib/account-config.module.js | 54 - .../lib/services/account-config.service.js | 56 - .../dist/account-config/esm2015/public-api.js | 8 - .../esm5/abp-ng.account.config.js | 10 - .../esm5/lib/account-config.module.js | 64 - .../lib/services/account-config.service.js | 54 - .../dist/account-config/esm5/public-api.js | 8 - .../fesm2015/abp-ng.account.config.js | 118 - .../fesm2015/abp-ng.account.config.js.map | 1 - .../fesm5/abp-ng.account.config.js | 124 - .../fesm5/abp-ng.account.config.js.map | 1 - .../lib/account-config.module.d.ts | 11 - .../lib/services/account-config.service.d.ts | 7 - npm/ng-packs/dist/account-config/package.json | 21 - .../dist/account-config/public-api.d.ts | 2 - npm/ng-packs/dist/account/README.md | 3 - npm/ng-packs/dist/account/abp-ng.account.d.ts | 15 - .../dist/account/abp-ng.account.metadata.json | 1 - .../account/bundles/abp-ng.account.umd.js | 1230 ----- .../account/bundles/abp-ng.account.umd.js.map | 1 - .../account/bundles/abp-ng.account.umd.min.js | 2 - .../bundles/abp-ng.account.umd.min.js.map | 1 - .../dist/account/esm2015/abp-ng.account.js | 20 - .../esm2015/lib/account-routing.module.js | 36 - .../account/esm2015/lib/account.module.js | 54 - .../auth-wrapper/auth-wrapper.component.js | 25 - .../change-password.component.js | 158 - .../account/esm2015/lib/components/index.js | 11 - .../lib/components/login/login.component.js | 130 - .../manage-profile.component.js | 25 - .../personal-settings.component.js | 113 - .../components/register/register.component.js | 164 - .../tenant-box/tenant-box.component.js | 127 - .../account/esm2015/lib/constants/routes.js | 22 - .../dist/account/esm2015/lib/models/index.js | 9 - .../account/esm2015/lib/models/options.js | 14 - .../dist/account/esm2015/lib/models/tenant.js | 16 - .../dist/account/esm2015/lib/models/user.js | 66 - .../esm2015/lib/services/account.service.js | 60 - .../dist/account/esm2015/lib/tokens/index.js | 7 - .../esm2015/lib/tokens/options.token.js | 16 - .../dist/account/esm2015/public-api.js | 11 - .../dist/account/esm5/abp-ng.account.js | 20 - .../esm5/lib/account-routing.module.js | 40 - .../dist/account/esm5/lib/account.module.js | 59 - .../auth-wrapper/auth-wrapper.component.js | 29 - .../change-password.component.js | 165 - .../dist/account/esm5/lib/components/index.js | 11 - .../lib/components/login/login.component.js | 130 - .../manage-profile.component.js | 27 - .../personal-settings.component.js | 122 - .../components/register/register.component.js | 169 - .../tenant-box/tenant-box.component.js | 135 - .../dist/account/esm5/lib/constants/routes.js | 22 - .../dist/account/esm5/lib/models/index.js | 9 - .../dist/account/esm5/lib/models/options.js | 14 - .../dist/account/esm5/lib/models/tenant.js | 16 - .../dist/account/esm5/lib/models/user.js | 66 - .../esm5/lib/services/account.service.js | 67 - .../dist/account/esm5/lib/tokens/index.js | 7 - .../account/esm5/lib/tokens/options.token.js | 17 - npm/ng-packs/dist/account/esm5/public-api.js | 11 - .../dist/account/fesm2015/abp-ng.account.js | 998 ---- .../account/fesm2015/abp-ng.account.js.map | 1 - .../dist/account/fesm5/abp-ng.account.js | 1037 ---- .../dist/account/fesm5/abp-ng.account.js.map | 1 - .../account/lib/account-routing.module.d.ts | 2 - .../dist/account/lib/account.module.d.ts | 9 - .../auth-wrapper/auth-wrapper.component.d.ts | 5 - .../change-password.component.d.ts | 16 - .../dist/account/lib/components/index.d.ts | 5 - .../lib/components/login/login.component.d.ts | 16 - .../manage-profile.component.d.ts | 3 - .../personal-settings.component.d.ts | 18 - .../register/register.component.d.ts | 18 - .../tenant-box/tenant-box.component.d.ts | 18 - .../dist/account/lib/constants/routes.d.ts | 8 - .../dist/account/lib/models/index.d.ts | 3 - .../dist/account/lib/models/options.d.ts | 3 - .../dist/account/lib/models/tenant.d.ts | 4 - .../dist/account/lib/models/user.d.ts | 28 - .../account/lib/services/account.service.d.ts | 9 - .../dist/account/lib/tokens/index.d.ts | 1 - .../account/lib/tokens/options.token.d.ts | 6 - npm/ng-packs/dist/account/package.json | 23 - npm/ng-packs/dist/account/public-api.d.ts | 5 - npm/ng-packs/dist/core/README.md | 3 - npm/ng-packs/dist/core/abp-ng.core.d.ts | 32 - .../dist/core/abp-ng.core.metadata.json | 1 - .../dist/core/bundles/abp-ng.core.umd.js | 4644 ----------------- .../dist/core/bundles/abp-ng.core.umd.js.map | 1 - .../dist/core/bundles/abp-ng.core.umd.min.js | 17 - .../core/bundles/abp-ng.core.umd.min.js.map | 1 - npm/ng-packs/dist/core/esm2015/abp-ng.core.js | 37 - .../dist/core/esm2015/lib/abstracts/index.js | 7 - .../lib/abstracts/ng-model.component.js | 104 - .../esm2015/lib/actions/config.actions.js | 32 - .../dist/core/esm2015/lib/actions/index.js | 11 - .../esm2015/lib/actions/loader.actions.js | 36 - .../esm2015/lib/actions/profile.actions.js | 43 - .../core/esm2015/lib/actions/rest.actions.js | 21 - .../esm2015/lib/actions/session.actions.js | 36 - .../components/dynamic-layout.component.js | 152 - .../dist/core/esm2015/lib/components/index.js | 8 - .../lib/components/router-outlet.component.js | 17 - .../lib/constants/different-locales.js | 38 - .../dist/core/esm2015/lib/constants/index.js | 7 - .../esm2015/lib/constants/locales-mapping.js | 37 - .../dist/core/esm2015/lib/core.module.js | 129 - .../lib/directives/autofocus.directive.js | 47 - .../lib/directives/debounce.directive.js | 63 - .../lib/directives/ellipsis.directive.js | 79 - .../esm2015/lib/directives/for.directive.js | 278 - .../lib/directives/form-submit.directive.js | 132 - .../dist/core/esm2015/lib/directives/index.js | 12 - .../lib/directives/permission.directive.js | 122 - .../directives/stop-propagation.directive.js | 59 - .../lib/directives/table-sort.directive.js | 76 - .../lib/directives/visibility.directive.js | 124 - .../dist/core/esm2015/lib/enums/common.js | 17 - .../dist/core/esm2015/lib/enums/index.js | 7 - .../core/esm2015/lib/guards/auth.guard.js | 58 - .../dist/core/esm2015/lib/guards/index.js | 8 - .../esm2015/lib/guards/permission.guard.js | 73 - .../lib/interceptors/api.interceptor.js | 75 - .../core/esm2015/lib/interceptors/index.js | 7 - .../lib/models/application-configuration.js | 97 - .../dist/core/esm2015/lib/models/common.js | 98 - .../dist/core/esm2015/lib/models/config.js | 62 - .../dist/core/esm2015/lib/models/index.js | 12 - .../dist/core/esm2015/lib/models/profile.js | 46 - .../dist/core/esm2015/lib/models/rest.js | 44 - .../dist/core/esm2015/lib/models/session.js | 20 - .../dist/core/esm2015/lib/pipes/index.js | 8 - .../esm2015/lib/pipes/localization.pipe.js | 47 - .../dist/core/esm2015/lib/pipes/sort.pipe.js | 87 - .../core/esm2015/lib/plugins/config.plugin.js | 197 - .../lib/plugins/config/config.plugin.js | 247 - .../dist/core/esm2015/lib/plugins/index.js | 7 - .../lib/plugins/select-snapshot/internals.js | 84 - .../select-snapshot/select-snapshot.js | 82 - .../select-snapshot/static-injector.js | 26 - .../esm2015/lib/providers/locale.provider.js | 44 - .../lib/providers/reuse-strategy.provider.js | 58 - .../application-configuration.service.js | 46 - .../lib/services/config-state.service.js | 104 - .../esm2015/lib/services/config.service.js | 71 - .../dist/core/esm2015/lib/services/index.js | 14 - .../esm2015/lib/services/lazy-load.service.js | 99 - .../lib/services/localization.service.js | 116 - .../lib/services/profile-state.service.js | 42 - .../esm2015/lib/services/profile.service.js | 73 - .../core/esm2015/lib/services/rest.service.js | 92 - .../lib/services/session-state.service.js | 48 - .../core/esm2015/lib/states/config.state.js | 442 -- .../dist/core/esm2015/lib/states/index.js | 9 - .../core/esm2015/lib/states/profile.state.js | 103 - .../core/esm2015/lib/states/session.state.js | 101 - .../core/esm2015/lib/tokens/common.token.js | 25 - .../dist/core/esm2015/lib/tokens/index.js | 7 - .../core/esm2015/lib/utils/common-utils.js | 18 - .../core/esm2015/lib/utils/date-extensions.js | 15 - .../core/esm2015/lib/utils/generator-utils.js | 16 - .../dist/core/esm2015/lib/utils/index.js | 11 - .../core/esm2015/lib/utils/initial-utils.js | 73 - .../core/esm2015/lib/utils/route-utils.js | 117 - .../dist/core/esm2015/lib/utils/rxjs-utils.js | 46 - npm/ng-packs/dist/core/esm2015/public-api.js | 26 - npm/ng-packs/dist/core/esm5/abp-ng.core.js | 37 - .../dist/core/esm5/lib/abstracts/index.js | 7 - .../esm5/lib/abstracts/ng-model.component.js | 127 - .../core/esm5/lib/actions/config.actions.js | 34 - .../dist/core/esm5/lib/actions/index.js | 11 - .../core/esm5/lib/actions/loader.actions.js | 34 - .../core/esm5/lib/actions/profile.actions.js | 45 - .../core/esm5/lib/actions/rest.actions.js | 20 - .../core/esm5/lib/actions/session.actions.js | 34 - .../components/dynamic-layout.component.js | 149 - .../dist/core/esm5/lib/components/index.js | 8 - .../lib/components/router-outlet.component.js | 19 - .../esm5/lib/constants/different-locales.js | 38 - .../dist/core/esm5/lib/constants/index.js | 7 - .../esm5/lib/constants/locales-mapping.js | 37 - .../dist/core/esm5/lib/core.module.js | 138 - .../lib/directives/autofocus.directive.js | 50 - .../esm5/lib/directives/debounce.directive.js | 69 - .../esm5/lib/directives/ellipsis.directive.js | 92 - .../core/esm5/lib/directives/for.directive.js | 302 -- .../lib/directives/form-submit.directive.js | 139 - .../dist/core/esm5/lib/directives/index.js | 12 - .../lib/directives/permission.directive.js | 133 - .../directives/stop-propagation.directive.js | 65 - .../lib/directives/table-sort.directive.js | 79 - .../lib/directives/visibility.directive.js | 132 - .../dist/core/esm5/lib/enums/common.js | 17 - .../dist/core/esm5/lib/enums/index.js | 7 - .../dist/core/esm5/lib/guards/auth.guard.js | 61 - .../dist/core/esm5/lib/guards/index.js | 8 - .../core/esm5/lib/guards/permission.guard.js | 78 - .../esm5/lib/interceptors/api.interceptor.js | 79 - .../dist/core/esm5/lib/interceptors/index.js | 7 - .../lib/models/application-configuration.js | 97 - .../dist/core/esm5/lib/models/common.js | 98 - .../dist/core/esm5/lib/models/config.js | 62 - .../dist/core/esm5/lib/models/index.js | 12 - .../dist/core/esm5/lib/models/profile.js | 46 - .../dist/core/esm5/lib/models/rest.js | 44 - .../dist/core/esm5/lib/models/session.js | 20 - .../dist/core/esm5/lib/pipes/index.js | 8 - .../core/esm5/lib/pipes/localization.pipe.js | 57 - .../dist/core/esm5/lib/pipes/sort.pipe.js | 97 - .../core/esm5/lib/plugins/config.plugin.js | 204 - .../esm5/lib/plugins/config/config.plugin.js | 272 - .../dist/core/esm5/lib/plugins/index.js | 7 - .../lib/plugins/select-snapshot/internals.js | 85 - .../select-snapshot/select-snapshot.js | 86 - .../select-snapshot/static-injector.js | 25 - .../esm5/lib/providers/locale.provider.js | 52 - .../lib/providers/reuse-strategy.provider.js | 82 - .../application-configuration.service.js | 48 - .../esm5/lib/services/config-state.service.js | 174 - .../core/esm5/lib/services/config.service.js | 87 - .../dist/core/esm5/lib/services/index.js | 14 - .../esm5/lib/services/lazy-load.service.js | 113 - .../esm5/lib/services/localization.service.js | 150 - .../lib/services/profile-state.service.js | 44 - .../core/esm5/lib/services/profile.service.js | 85 - .../core/esm5/lib/services/rest.service.js | 105 - .../lib/services/session-state.service.js | 53 - .../dist/core/esm5/lib/states/config.state.js | 502 -- .../dist/core/esm5/lib/states/index.js | 9 - .../core/esm5/lib/states/profile.state.js | 128 - .../core/esm5/lib/states/session.state.js | 124 - .../dist/core/esm5/lib/tokens/common.token.js | 26 - .../dist/core/esm5/lib/tokens/index.js | 7 - .../dist/core/esm5/lib/utils/common-utils.js | 18 - .../core/esm5/lib/utils/date-extensions.js | 15 - .../core/esm5/lib/utils/generator-utils.js | 16 - .../dist/core/esm5/lib/utils/index.js | 11 - .../dist/core/esm5/lib/utils/initial-utils.js | 73 - .../dist/core/esm5/lib/utils/route-utils.js | 122 - .../dist/core/esm5/lib/utils/rxjs-utils.js | 49 - npm/ng-packs/dist/core/esm5/public-api.js | 26 - .../dist/core/fesm2015/abp-ng.core.js | 3991 -------------- .../dist/core/fesm2015/abp-ng.core.js.map | 1 - npm/ng-packs/dist/core/fesm5/abp-ng.core.js | 4376 ---------------- .../dist/core/fesm5/abp-ng.core.js.map | 1 - .../dist/core/lib/abstracts/index.d.ts | 1 - .../lib/abstracts/ng-model.component.d.ts | 17 - .../dist/core/lib/actions/config.actions.d.ts | 10 - npm/ng-packs/dist/core/lib/actions/index.d.ts | 5 - .../dist/core/lib/actions/loader.actions.d.ts | 11 - .../core/lib/actions/profile.actions.d.ts | 14 - .../dist/core/lib/actions/rest.actions.d.ts | 6 - .../core/lib/actions/session.actions.d.ts | 11 - .../components/dynamic-layout.component.d.ts | 14 - .../dist/core/lib/components/index.d.ts | 2 - .../components/router-outlet.component.d.ts | 2 - .../core/lib/constants/different-locales.d.ts | 31 - .../dist/core/lib/constants/index.d.ts | 1 - .../core/lib/constants/locales-mapping.d.ts | 31 - npm/ng-packs/dist/core/lib/core.module.d.ts | 6 - .../lib/directives/autofocus.directive.d.ts | 7 - .../lib/directives/debounce.directive.d.ts | 9 - .../lib/directives/ellipsis.directive.d.ts | 13 - .../core/lib/directives/for.directive.d.ts | 33 - .../lib/directives/form-submit.directive.d.ts | 15 - .../dist/core/lib/directives/index.d.ts | 6 - .../lib/directives/permission.directive.d.ts | 17 - .../stop-propagation.directive.d.ts | 8 - .../lib/directives/table-sort.directive.d.ts | 15 - .../lib/directives/visibility.directive.d.ts | 12 - npm/ng-packs/dist/core/lib/enums/common.d.ts | 9 - npm/ng-packs/dist/core/lib/enums/index.d.ts | 1 - .../dist/core/lib/guards/auth.guard.d.ts | 9 - npm/ng-packs/dist/core/lib/guards/index.d.ts | 2 - .../core/lib/guards/permission.guard.d.ts | 8 - .../lib/interceptors/api.interceptor.d.ts | 9 - .../dist/core/lib/interceptors/index.d.ts | 1 - .../lib/models/application-configuration.d.ts | 41 - npm/ng-packs/dist/core/lib/models/common.d.ts | 42 - npm/ng-packs/dist/core/lib/models/config.d.ts | 38 - npm/ng-packs/dist/core/lib/models/index.d.ts | 6 - .../dist/core/lib/models/profile.d.ts | 16 - npm/ng-packs/dist/core/lib/models/rest.d.ts | 32 - .../dist/core/lib/models/session.d.ts | 7 - npm/ng-packs/dist/core/lib/pipes/index.d.ts | 2 - .../core/lib/pipes/localization.pipe.d.ts | 8 - .../dist/core/lib/pipes/sort.pipe.d.ts | 5 - .../dist/core/lib/plugins/config.plugin.d.ts | 12 - .../lib/plugins/config/config.plugin.d.ts | 12 - npm/ng-packs/dist/core/lib/plugins/index.d.ts | 1 - .../plugins/select-snapshot/internals.d.ts | 5 - .../select-snapshot/select-snapshot.d.ts | 1 - .../select-snapshot/static-injector.d.ts | 5 - .../core/lib/providers/locale.provider.d.ts | 9 - .../providers/reuse-strategy.provider.d.ts | 13 - .../application-configuration.service.d.ts | 8 - .../lib/services/config-state.service.d.ts | 16 - .../core/lib/services/config.service.d.ts | 9 - .../dist/core/lib/services/index.d.ts | 8 - .../core/lib/services/lazy-load.service.d.ts | 7 - .../lib/services/localization.service.d.ts | 18 - .../lib/services/profile-state.service.d.ts | 6 - .../core/lib/services/profile.service.d.ts | 10 - .../dist/core/lib/services/rest.service.d.ts | 11 - .../lib/services/session-state.service.d.ts | 7 - .../dist/core/lib/states/config.state.d.ts | 22 - npm/ng-packs/dist/core/lib/states/index.d.ts | 3 - .../dist/core/lib/states/profile.state.d.ts | 12 - .../dist/core/lib/states/session.state.d.ts | 12 - .../dist/core/lib/tokens/common.token.d.ts | 16 - npm/ng-packs/dist/core/lib/tokens/index.d.ts | 1 - .../dist/core/lib/utils/common-utils.d.ts | 1 - .../dist/core/lib/utils/date-extensions.d.ts | 6 - .../dist/core/lib/utils/generator-utils.d.ts | 1 - npm/ng-packs/dist/core/lib/utils/index.d.ts | 5 - .../dist/core/lib/utils/initial-utils.d.ts | 4 - .../dist/core/lib/utils/route-utils.d.ts | 6 - .../dist/core/lib/utils/rxjs-utils.d.ts | 2 - npm/ng-packs/dist/core/package.json | 28 - npm/ng-packs/dist/core/public-api.d.ts | 16 - .../dist/feature-management/README.md | 3 - .../abp-ng.feature-management.d.ts | 10 - .../abp-ng.feature-management.metadata.json | 1 - .../bundles/abp-ng.feature-management.umd.js | 614 --- .../abp-ng.feature-management.umd.js.map | 1 - .../abp-ng.feature-management.umd.min.js | 16 - .../abp-ng.feature-management.umd.min.js.map | 1 - .../esm2015/abp-ng.feature-management.js | 15 - .../lib/actions/feature-management.actions.js | 36 - .../esm2015/lib/actions/index.js | 7 - .../feature-management.component.js | 158 - .../esm2015/lib/components/index.js | 7 - .../esm2015/lib/feature-management.module.js | 21 - .../esm2015/lib/models/feature-management.js | 70 - .../esm2015/lib/models/index.js | 7 - .../services/feature-management.service.js | 72 - .../lib/states/feature-management.state.js | 84 - .../esm2015/lib/states/index.js | 7 - .../feature-management/esm2015/public-api.js | 8 - .../esm5/abp-ng.feature-management.js | 15 - .../lib/actions/feature-management.actions.js | 34 - .../esm5/lib/actions/index.js | 7 - .../feature-management.component.js | 176 - .../esm5/lib/components/index.js | 7 - .../esm5/lib/feature-management.module.js | 25 - .../esm5/lib/models/feature-management.js | 70 - .../esm5/lib/models/index.js | 7 - .../services/feature-management.service.js | 79 - .../lib/states/feature-management.state.js | 103 - .../esm5/lib/states/index.js | 7 - .../feature-management/esm5/public-api.js | 8 - .../fesm2015/abp-ng.feature-management.js | 386 -- .../fesm2015/abp-ng.feature-management.js.map | 1 - .../fesm5/abp-ng.feature-management.js | 427 -- .../fesm5/abp-ng.feature-management.js.map | 1 - .../actions/feature-management.actions.d.ts | 11 - .../feature-management/lib/actions/index.d.ts | 1 - .../feature-management.component.d.ts | 21 - .../lib/components/index.d.ts | 1 - .../lib/feature-management.module.d.ts | 2 - .../lib/models/feature-management.d.ts | 25 - .../feature-management/lib/models/index.d.ts | 1 - .../services/feature-management.service.d.ts | 11 - .../lib/states/feature-management.state.d.ts | 11 - .../feature-management/lib/states/index.d.ts | 1 - .../dist/feature-management/package.json | 22 - .../dist/feature-management/public-api.d.ts | 2 - npm/ng-packs/dist/identity-config/README.md | 3 - .../abp-ng.identity.config.d.ts | 4 - .../abp-ng.identity.config.metadata.json | 1 - .../bundles/abp-ng.identity.config.umd.js | 87 - .../bundles/abp-ng.identity.config.umd.js.map | 1 - .../bundles/abp-ng.identity.config.umd.min.js | 2 - .../abp-ng.identity.config.umd.min.js.map | 1 - .../esm2015/abp-ng.identity.config.js | 10 - .../esm2015/lib/identity-config.module.js | 18 - .../lib/services/identity-config.service.js | 66 - .../identity-config/esm2015/public-api.js | 8 - .../esm5/abp-ng.identity.config.js | 10 - .../esm5/lib/identity-config.module.js | 22 - .../lib/services/identity-config.service.js | 64 - .../dist/identity-config/esm5/public-api.js | 8 - .../fesm2015/abp-ng.identity.config.js | 92 - .../fesm2015/abp-ng.identity.config.js.map | 1 - .../fesm5/abp-ng.identity.config.js | 92 - .../fesm5/abp-ng.identity.config.js.map | 1 - .../lib/identity-config.module.d.ts | 2 - .../lib/services/identity-config.service.d.ts | 7 - .../dist/identity-config/package.json | 21 - .../dist/identity-config/public-api.d.ts | 2 - npm/ng-packs/dist/identity/README.md | 3 - .../dist/identity/abp-ng.identity.d.ts | 7 - .../identity/abp-ng.identity.metadata.json | 1 - .../identity/bundles/abp-ng.identity.umd.js | 1785 ------- .../bundles/abp-ng.identity.umd.js.map | 1 - .../bundles/abp-ng.identity.umd.min.js | 2 - .../bundles/abp-ng.identity.umd.min.js.map | 1 - .../dist/identity/esm2015/abp-ng.identity.js | 12 - .../esm2015/lib/actions/identity.actions.js | 171 - .../lib/components/roles/roles.component.js | 223 - .../lib/components/users/users.component.js | 328 -- .../identity/esm2015/lib/constants/routes.js | 33 - .../esm2015/lib/identity-routing.module.js | 42 - .../identity/esm2015/lib/identity.module.js | 44 - .../identity/esm2015/lib/models/identity.js | 103 - .../esm2015/lib/services/identity.service.js | 179 - .../esm2015/lib/states/identity.state.js | 273 - .../dist/identity/esm2015/public-api.js | 16 - .../dist/identity/esm5/abp-ng.identity.js | 12 - .../esm5/lib/actions/identity.actions.js | 160 - .../lib/components/roles/roles.component.js | 258 - .../lib/components/users/users.component.js | 375 -- .../identity/esm5/lib/constants/routes.js | 33 - .../esm5/lib/identity-routing.module.js | 46 - .../dist/identity/esm5/lib/identity.module.js | 48 - .../dist/identity/esm5/lib/models/identity.js | 103 - .../esm5/lib/services/identity.service.js | 224 - .../esm5/lib/states/identity.state.js | 374 -- npm/ng-packs/dist/identity/esm5/public-api.js | 16 - .../dist/identity/fesm2015/abp-ng.identity.js | 1376 ----- .../identity/fesm2015/abp-ng.identity.js.map | 1 - .../dist/identity/fesm5/abp-ng.identity.js | 1585 ------ .../identity/fesm5/abp-ng.identity.js.map | 1 - .../lib/actions/identity.actions.d.ts | 61 - .../lib/components/roles/roles.component.d.ts | 36 - .../lib/components/users/users.component.d.ts | 42 - .../dist/identity/lib/constants/routes.d.ts | 8 - .../identity/lib/identity-routing.module.d.ts | 2 - .../dist/identity/lib/identity.module.d.ts | 8 - .../dist/identity/lib/models/identity.d.ts | 43 - .../lib/services/identity.service.d.ts | 18 - .../identity/lib/states/identity.state.d.ts | 23 - npm/ng-packs/dist/identity/package.json | 24 - npm/ng-packs/dist/identity/public-api.d.ts | 7 - .../dist/permission-management/README.md | 3 - .../abp-ng.permission-management.d.ts | 9 - ...abp-ng.permission-management.metadata.json | 1 - .../abp-ng.permission-management.umd.js | 1102 ---- .../abp-ng.permission-management.umd.js.map | 1 - .../abp-ng.permission-management.umd.min.js | 16 - ...bp-ng.permission-management.umd.min.js.map | 1 - .../esm2015/abp-ng.permission-management.js | 14 - .../esm2015/lib/actions/index.js | 7 - .../actions/permission-management.actions.js | 36 - .../esm2015/lib/components/index.js | 7 - .../permission-management.component.js | 439 -- .../esm2015/lib/models/index.js | 7 - .../lib/models/permission-management.js | 88 - .../lib/permission-management.module.js | 21 - .../esm2015/lib/services/index.js | 8 - .../permission-management-state.service.js | 48 - .../services/permission-management.service.js | 62 - .../esm2015/lib/states/index.js | 7 - .../lib/states/permission-management.state.js | 97 - .../esm2015/public-api.js | 15 - .../esm5/abp-ng.permission-management.js | 14 - .../esm5/lib/actions/index.js | 7 - .../actions/permission-management.actions.js | 34 - .../esm5/lib/components/index.js | 7 - .../permission-management.component.js | 508 -- .../esm5/lib/models/index.js | 7 - .../esm5/lib/models/permission-management.js | 88 - .../esm5/lib/permission-management.module.js | 25 - .../esm5/lib/services/index.js | 8 - .../permission-management-state.service.js | 53 - .../services/permission-management.service.js | 70 - .../esm5/lib/states/index.js | 7 - .../lib/states/permission-management.state.js | 120 - .../permission-management/esm5/public-api.js | 15 - .../fesm2015/abp-ng.permission-management.js | 815 --- .../abp-ng.permission-management.js.map | 1 - .../fesm5/abp-ng.permission-management.js | 916 ---- .../fesm5/abp-ng.permission-management.js.map | 1 - .../lib/actions/index.d.ts | 1 - .../permission-management.actions.d.ts | 11 - .../lib/components/index.d.ts | 1 - .../permission-management.component.d.ts | 41 - .../lib/models/index.d.ts | 1 - .../lib/models/permission-management.d.ts | 31 - .../lib/permission-management.module.d.ts | 2 - .../lib/services/index.d.ts | 2 - .../permission-management-state.service.d.ts | 7 - .../permission-management.service.d.ts | 9 - .../lib/states/index.d.ts | 1 - .../states/permission-management.state.d.ts | 12 - .../dist/permission-management/package.json | 22 - .../permission-management/public-api.d.ts | 6 - .../dist/setting-management-config/README.md | 3 - .../abp-ng.setting-management.config.d.ts | 5 - ...ng.setting-management.config.metadata.json | 1 - .../abp-ng.setting-management.config.umd.js | 278 - ...bp-ng.setting-management.config.umd.js.map | 1 - ...bp-ng.setting-management.config.umd.min.js | 16 - ...g.setting-management.config.umd.min.js.map | 1 - .../abp-ng.setting-management.config.js | 11 - .../setting-management-config.service.js | 58 - .../lib/setting-management-config.module.js | 18 - .../esm2015/public-api.js | 7 - .../esm5/abp-ng.setting-management.config.js | 11 - .../setting-management-config.service.js | 59 - .../lib/setting-management-config.module.js | 22 - .../esm5/public-api.js | 7 - .../abp-ng.setting-management.config.js | 85 - .../abp-ng.setting-management.config.js.map | 1 - .../fesm5/abp-ng.setting-management.config.js | 88 - .../abp-ng.setting-management.config.js.map | 1 - .../setting-management-config.service.d.ts | 5 - .../lib/setting-management-config.module.d.ts | 2 - .../setting-management-config/package.json | 21 - .../setting-management-config/public-api.d.ts | 1 - .../dist/setting-management/README.md | 3 - .../abp-ng.setting-management.d.ts | 7 - .../abp-ng.setting-management.metadata.json | 1 - .../bundles/abp-ng.setting-management.umd.js | 433 -- .../abp-ng.setting-management.umd.js.map | 1 - .../abp-ng.setting-management.umd.min.js | 16 - .../abp-ng.setting-management.umd.min.js.map | 1 - .../esm2015/abp-ng.setting-management.js | 13 - .../lib/actions/setting-management.actions.js | 21 - .../setting-management.component.js | 95 - .../esm2015/lib/models/setting-management.js | 18 - .../lib/setting-management-routing.module.js | 30 - .../esm2015/lib/setting-management.module.js | 26 - .../lib/states/setting-management.state.js | 47 - .../setting-management/esm2015/public-api.js | 8 - .../esm5/abp-ng.setting-management.js | 13 - .../lib/actions/setting-management.actions.js | 20 - .../setting-management.component.js | 101 - .../esm5/lib/models/setting-management.js | 18 - .../lib/setting-management-routing.module.js | 34 - .../esm5/lib/setting-management.module.js | 30 - .../lib/states/setting-management.state.js | 62 - .../setting-management/esm5/public-api.js | 8 - .../fesm2015/abp-ng.setting-management.js | 217 - .../fesm2015/abp-ng.setting-management.js.map | 1 - .../fesm5/abp-ng.setting-management.js | 241 - .../fesm5/abp-ng.setting-management.js.map | 1 - .../actions/setting-management.actions.d.ts | 6 - .../setting-management.component.d.ts | 13 - .../lib/models/setting-management.d.ts | 6 - .../setting-management-routing.module.d.ts | 2 - .../lib/setting-management.module.d.ts | 2 - .../lib/states/setting-management.state.d.ts | 7 - .../dist/setting-management/package.json | 23 - .../dist/setting-management/public-api.d.ts | 2 - .../dist/tenant-management-config/README.md | 3 - .../abp-ng.tenant-management.config.d.ts | 4 - ...-ng.tenant-management.config.metadata.json | 1 - .../abp-ng.tenant-management.config.umd.js | 64 - ...abp-ng.tenant-management.config.umd.js.map | 1 - ...abp-ng.tenant-management.config.umd.min.js | 2 - ...ng.tenant-management.config.umd.min.js.map | 1 - .../abp-ng.tenant-management.config.js | 10 - .../tenant-management-config.service.js | 36 - .../lib/tenant-management-config.module.js | 18 - .../esm2015/public-api.js | 8 - .../esm5/abp-ng.tenant-management.config.js | 10 - .../tenant-management-config.service.js | 38 - .../lib/tenant-management-config.module.js | 22 - .../esm5/public-api.js | 8 - .../abp-ng.tenant-management.config.js | 64 - .../abp-ng.tenant-management.config.js.map | 1 - .../fesm5/abp-ng.tenant-management.config.js | 68 - .../abp-ng.tenant-management.config.js.map | 1 - .../tenant-management-config.service.d.ts | 3 - .../lib/tenant-management-config.module.d.ts | 2 - .../tenant-management-config/package.json | 21 - .../tenant-management-config/public-api.d.ts | 2 - npm/ng-packs/dist/tenant-management/README.md | 3 - .../abp-ng.tenant-management.d.ts | 10 - .../abp-ng.tenant-management.metadata.json | 1 - .../bundles/abp-ng.tenant-management.umd.js | 1340 ----- .../abp-ng.tenant-management.umd.js.map | 1 - .../abp-ng.tenant-management.umd.min.js | 16 - .../abp-ng.tenant-management.umd.min.js.map | 1 - .../esm2015/abp-ng.tenant-management.js | 15 - .../esm2015/lib/actions/index.js | 7 - .../lib/actions/tenant-management.actions.js | 81 - .../esm2015/lib/components/index.js | 7 - .../components/tenants/tenants.component.js | 400 -- .../esm2015/lib/constants/index.js | 7 - .../esm2015/lib/constants/routes.js | 30 - .../esm2015/lib/models/index.js | 7 - .../esm2015/lib/models/tenant-management.js | 60 - .../esm2015/lib/services/index.js | 8 - .../tenant-management-state.service.js | 48 - .../lib/services/tenant-management.service.js | 145 - .../esm2015/lib/states/index.js | 7 - .../lib/states/tenant-management.state.js | 145 - .../lib/tenant-management-routing.module.js | 31 - .../esm2015/lib/tenant-management.module.js | 42 - .../tenant-management/esm2015/public-api.js | 13 - .../esm5/abp-ng.tenant-management.js | 15 - .../esm5/lib/actions/index.js | 7 - .../lib/actions/tenant-management.actions.js | 76 - .../esm5/lib/components/index.js | 7 - .../components/tenants/tenants.component.js | 471 -- .../esm5/lib/constants/index.js | 7 - .../esm5/lib/constants/routes.js | 30 - .../esm5/lib/models/index.js | 7 - .../esm5/lib/models/tenant-management.js | 60 - .../esm5/lib/services/index.js | 8 - .../tenant-management-state.service.js | 53 - .../lib/services/tenant-management.service.js | 177 - .../esm5/lib/states/index.js | 7 - .../lib/states/tenant-management.state.js | 190 - .../lib/tenant-management-routing.module.js | 35 - .../esm5/lib/tenant-management.module.js | 46 - .../dist/tenant-management/esm5/public-api.js | 13 - .../fesm2015/abp-ng.tenant-management.js | 1005 ---- .../fesm2015/abp-ng.tenant-management.js.map | 1 - .../fesm5/abp-ng.tenant-management.js | 1151 ---- .../fesm5/abp-ng.tenant-management.js.map | 1 - .../tenant-management/lib/actions/index.d.ts | 1 - .../actions/tenant-management.actions.d.ts | 27 - .../lib/components/index.d.ts | 1 - .../components/tenants/tenants.component.d.ts | 56 - .../lib/constants/index.d.ts | 1 - .../lib/constants/routes.d.ts | 8 - .../tenant-management/lib/models/index.d.ts | 1 - .../lib/models/tenant-management.d.ts | 22 - .../tenant-management/lib/services/index.d.ts | 2 - .../tenant-management-state.service.d.ts | 7 - .../services/tenant-management.service.d.ts | 15 - .../tenant-management/lib/states/index.d.ts | 1 - .../lib/states/tenant-management.state.d.ts | 16 - .../lib/tenant-management-routing.module.d.ts | 2 - .../lib/tenant-management.module.d.ts | 8 - .../dist/tenant-management/package.json | 24 - .../dist/tenant-management/public-api.d.ts | 7 - npm/ng-packs/dist/theme-basic/README.md | 3 - .../dist/theme-basic/abp-ng.theme.basic.d.ts | 13 - .../abp-ng.theme.basic.metadata.json | 1 - .../bundles/abp-ng.theme.basic.umd.js | 984 ---- .../bundles/abp-ng.theme.basic.umd.js.map | 1 - .../bundles/abp-ng.theme.basic.umd.min.js | 17 - .../bundles/abp-ng.theme.basic.umd.min.js.map | 1 - .../theme-basic/esm2015/abp-ng.theme.basic.js | 18 - .../theme-basic/esm2015/lib/actions/index.js | 7 - .../esm2015/lib/actions/layout.actions.js | 36 - .../account-layout.component.js | 25 - .../application-layout.component.js | 321 -- .../empty-layout/empty-layout.component.js | 24 - .../esm2015/lib/components/index.js | 10 - .../validation-error.component.js | 43 - .../esm2015/lib/constants/styles.js | 79 - .../theme-basic/esm2015/lib/models/index.js | 7 - .../theme-basic/esm2015/lib/models/layout.js | 31 - .../esm2015/lib/services/initial.service.js | 41 - .../theme-basic/esm2015/lib/states/index.js | 7 - .../esm2015/lib/states/layout.state.js | 106 - .../esm2015/lib/theme-basic.module.js | 69 - .../dist/theme-basic/esm2015/public-api.js | 14 - .../theme-basic/esm5/abp-ng.theme.basic.js | 18 - .../theme-basic/esm5/lib/actions/index.js | 7 - .../esm5/lib/actions/layout.actions.js | 34 - .../account-layout.component.js | 25 - .../application-layout.component.js | 372 -- .../empty-layout/empty-layout.component.js | 24 - .../theme-basic/esm5/lib/components/index.js | 10 - .../validation-error.component.js | 50 - .../theme-basic/esm5/lib/constants/styles.js | 7 - .../dist/theme-basic/esm5/lib/models/index.js | 7 - .../theme-basic/esm5/lib/models/layout.js | 31 - .../esm5/lib/services/initial.service.js | 43 - .../dist/theme-basic/esm5/lib/states/index.js | 7 - .../esm5/lib/states/layout.state.js | 132 - .../esm5/lib/theme-basic.module.js | 69 - .../dist/theme-basic/esm5/public-api.js | 14 - .../fesm2015/abp-ng.theme.basic.js | 788 --- .../fesm2015/abp-ng.theme.basic.js.map | 1 - .../theme-basic/fesm5/abp-ng.theme.basic.js | 790 --- .../fesm5/abp-ng.theme.basic.js.map | 1 - .../dist/theme-basic/lib/actions/index.d.ts | 1 - .../lib/actions/layout.actions.d.ts | 11 - .../account-layout.component.d.ts | 4 - .../application-layout.component.d.ts | 36 - .../empty-layout/empty-layout.component.d.ts | 4 - .../theme-basic/lib/components/index.d.ts | 4 - .../validation-error.component.d.ts | 6 - .../theme-basic/lib/constants/styles.d.ts | 2 - .../dist/theme-basic/lib/models/index.d.ts | 1 - .../dist/theme-basic/lib/models/layout.d.ts | 11 - .../lib/services/initial.service.d.ts | 6 - .../dist/theme-basic/lib/states/index.d.ts | 1 - .../theme-basic/lib/states/layout.state.d.ts | 8 - .../theme-basic/lib/theme-basic.module.d.ts | 8 - npm/ng-packs/dist/theme-basic/package.json | 22 - npm/ng-packs/dist/theme-basic/public-api.d.ts | 5 - npm/ng-packs/dist/theme-shared/README.md | 3 - .../theme-shared/abp-ng.theme.shared.d.ts | 23 - .../abp-ng.theme.shared.metadata.json | 1 - .../bundles/abp-ng.theme.shared.umd.js | 2867 ---------- .../bundles/abp-ng.theme.shared.umd.js.map | 1 - .../bundles/abp-ng.theme.shared.umd.min.js | 17 - .../abp-ng.theme.shared.umd.min.js.map | 1 - .../esm2015/abp-ng.theme.shared.js | 28 - .../esm2015/lib/abstracts/toaster.js | 93 - .../lib/animations/bounce.animations.js | 23 - .../lib/animations/collapse.animations.js | 58 - .../esm2015/lib/animations/fade.animations.js | 53 - .../esm2015/lib/animations/index.js | 11 - .../lib/animations/modal.animations.js | 18 - .../lib/animations/slide.animations.js | 14 - .../breadcrumb/breadcrumb.component.js | 92 - .../lib/components/button/button.component.js | 141 - .../lib/components/chart/chart.component.js | 218 - .../confirmation/confirmation.component.js | 91 - .../http-error-wrapper.component.js | 107 - .../esm2015/lib/components/index.js | 15 - .../loader-bar/loader-bar.component.js | 189 - .../lib/components/modal/modal.component.js | 257 - .../sort-order-icon.component.js | 144 - .../table-empty-message.component.js | 47 - .../lib/components/toast/toast.component.js | 34 - .../esm2015/lib/constants/styles.js | 271 - .../esm2015/lib/directives/index.js | 7 - .../lib/directives/table-sort.directive.js | 72 - .../esm2015/lib/handlers/error.handler.js | 327 -- .../theme-shared/esm2015/lib/models/common.js | 22 - .../esm2015/lib/models/confirmation.js | 34 - .../theme-shared/esm2015/lib/models/index.js | 11 - .../esm2015/lib/models/setting-management.js | 38 - .../esm2015/lib/models/statistics.js | 34 - .../esm2015/lib/models/toaster.js | 30 - .../lib/services/confirmation.service.js | 83 - .../esm2015/lib/services/index.js | 8 - .../esm2015/lib/services/toaster.service.js | 46 - .../esm2015/lib/theme-shared.module.js | 125 - .../esm2015/lib/tokens/http-error.token.js | 19 - .../lib/utils/date-parser-formatter.js | 92 - .../theme-shared/esm2015/lib/utils/index.js | 8 - .../esm2015/lib/utils/widget-utils.js | 27 - .../dist/theme-shared/esm2015/public-api.js | 16 - .../theme-shared/esm5/abp-ng.theme.shared.js | 28 - .../esm5/lib/abstracts/toaster.js | 137 - .../esm5/lib/animations/bounce.animations.js | 23 - .../lib/animations/collapse.animations.js | 58 - .../esm5/lib/animations/fade.animations.js | 53 - .../theme-shared/esm5/lib/animations/index.js | 11 - .../esm5/lib/animations/modal.animations.js | 18 - .../esm5/lib/animations/slide.animations.js | 14 - .../breadcrumb/breadcrumb.component.js | 98 - .../lib/components/button/button.component.js | 135 - .../lib/components/chart/chart.component.js | 237 - .../confirmation/confirmation.component.js | 53 - .../http-error-wrapper.component.js | 126 - .../theme-shared/esm5/lib/components/index.js | 15 - .../loader-bar/loader-bar.component.js | 196 - .../lib/components/modal/modal.component.js | 276 - .../sort-order-icon.component.js | 176 - .../table-empty-message.component.js | 49 - .../lib/components/toast/toast.component.js | 20 - .../theme-shared/esm5/lib/constants/styles.js | 7 - .../theme-shared/esm5/lib/directives/index.js | 7 - .../lib/directives/table-sort.directive.js | 75 - .../esm5/lib/handlers/error.handler.js | 351 -- .../theme-shared/esm5/lib/models/common.js | 22 - .../esm5/lib/models/confirmation.js | 34 - .../theme-shared/esm5/lib/models/index.js | 11 - .../esm5/lib/models/setting-management.js | 39 - .../esm5/lib/models/statistics.js | 34 - .../theme-shared/esm5/lib/models/toaster.js | 30 - .../esm5/lib/services/confirmation.service.js | 100 - .../theme-shared/esm5/lib/services/index.js | 8 - .../esm5/lib/services/toaster.service.js | 53 - .../esm5/lib/theme-shared.module.js | 129 - .../esm5/lib/tokens/http-error.token.js | 21 - .../esm5/lib/utils/date-parser-formatter.js | 102 - .../dist/theme-shared/esm5/lib/utils/index.js | 8 - .../esm5/lib/utils/widget-utils.js | 27 - .../dist/theme-shared/esm5/public-api.js | 16 - .../fesm2015/abp-ng.theme.shared.js | 2773 ---------- .../fesm2015/abp-ng.theme.shared.js.map | 1 - .../theme-shared/fesm5/abp-ng.theme.shared.js | 2639 ---------- .../fesm5/abp-ng.theme.shared.js.map | 1 - .../theme-shared/lib/abstracts/toaster.d.ts | 17 - .../lib/animations/bounce.animations.d.ts | 1 - .../lib/animations/collapse.animations.d.ts | 9 - .../lib/animations/fade.animations.d.ts | 10 - .../theme-shared/lib/animations/index.d.ts | 5 - .../lib/animations/modal.animations.d.ts | 2 - .../lib/animations/slide.animations.d.ts | 1 - .../breadcrumb/breadcrumb.component.d.ts | 11 - .../components/button/button.component.d.ts | 31 - .../lib/components/chart/chart.component.d.ts | 29 - .../confirmation/confirmation.component.d.ts | 10 - .../http-error-wrapper.component.d.ts | 21 - .../theme-shared/lib/components/index.d.ts | 9 - .../loader-bar/loader-bar.component.d.ts | 25 - .../lib/components/modal/modal.component.d.ts | 34 - .../sort-order-icon.component.d.ts | 22 - .../table-empty-message.component.d.ts | 7 - .../lib/components/toast/toast.component.d.ts | 2 - .../theme-shared/lib/constants/styles.d.ts | 2 - .../theme-shared/lib/directives/index.d.ts | 1 - .../lib/directives/table-sort.directive.d.ts | 15 - .../lib/handlers/error.handler.d.ts | 45 - .../dist/theme-shared/lib/models/common.d.ts | 12 - .../theme-shared/lib/models/confirmation.d.ts | 18 - .../dist/theme-shared/lib/models/index.d.ts | 5 - .../lib/models/setting-management.d.ts | 9 - .../theme-shared/lib/models/statistics.d.ts | 12 - .../dist/theme-shared/lib/models/toaster.d.ts | 17 - .../lib/services/confirmation.service.d.ts | 15 - .../dist/theme-shared/lib/services/index.d.ts | 2 - .../lib/services/toaster.service.d.ts | 8 - .../theme-shared/lib/theme-shared.module.d.ts | 9 - .../lib/tokens/http-error.token.d.ts | 4 - .../lib/utils/date-parser-formatter.d.ts | 8 - .../dist/theme-shared/lib/utils/index.d.ts | 2 - .../theme-shared/lib/utils/widget-utils.d.ts | 3 - npm/ng-packs/dist/theme-shared/package.json | 32 - .../dist/theme-shared/public-api.d.ts | 7 - 825 files changed, 2 insertions(+), 74446 deletions(-) delete mode 100644 npm/ng-packs/dist/account-config/README.md delete mode 100644 npm/ng-packs/dist/account-config/abp-ng.account.config.d.ts delete mode 100644 npm/ng-packs/dist/account-config/abp-ng.account.config.metadata.json delete mode 100644 npm/ng-packs/dist/account-config/bundles/abp-ng.account.config.umd.js delete mode 100644 npm/ng-packs/dist/account-config/bundles/abp-ng.account.config.umd.js.map delete mode 100644 npm/ng-packs/dist/account-config/bundles/abp-ng.account.config.umd.min.js delete mode 100644 npm/ng-packs/dist/account-config/bundles/abp-ng.account.config.umd.min.js.map delete mode 100644 npm/ng-packs/dist/account-config/esm2015/abp-ng.account.config.js delete mode 100644 npm/ng-packs/dist/account-config/esm2015/lib/account-config.module.js delete mode 100644 npm/ng-packs/dist/account-config/esm2015/lib/services/account-config.service.js delete mode 100644 npm/ng-packs/dist/account-config/esm2015/public-api.js delete mode 100644 npm/ng-packs/dist/account-config/esm5/abp-ng.account.config.js delete mode 100644 npm/ng-packs/dist/account-config/esm5/lib/account-config.module.js delete mode 100644 npm/ng-packs/dist/account-config/esm5/lib/services/account-config.service.js delete mode 100644 npm/ng-packs/dist/account-config/esm5/public-api.js delete mode 100644 npm/ng-packs/dist/account-config/fesm2015/abp-ng.account.config.js delete mode 100644 npm/ng-packs/dist/account-config/fesm2015/abp-ng.account.config.js.map delete mode 100644 npm/ng-packs/dist/account-config/fesm5/abp-ng.account.config.js delete mode 100644 npm/ng-packs/dist/account-config/fesm5/abp-ng.account.config.js.map delete mode 100644 npm/ng-packs/dist/account-config/lib/account-config.module.d.ts delete mode 100644 npm/ng-packs/dist/account-config/lib/services/account-config.service.d.ts delete mode 100644 npm/ng-packs/dist/account-config/package.json delete mode 100644 npm/ng-packs/dist/account-config/public-api.d.ts delete mode 100644 npm/ng-packs/dist/account/README.md delete mode 100644 npm/ng-packs/dist/account/abp-ng.account.d.ts delete mode 100644 npm/ng-packs/dist/account/abp-ng.account.metadata.json delete mode 100644 npm/ng-packs/dist/account/bundles/abp-ng.account.umd.js delete mode 100644 npm/ng-packs/dist/account/bundles/abp-ng.account.umd.js.map delete mode 100644 npm/ng-packs/dist/account/bundles/abp-ng.account.umd.min.js delete mode 100644 npm/ng-packs/dist/account/bundles/abp-ng.account.umd.min.js.map delete mode 100644 npm/ng-packs/dist/account/esm2015/abp-ng.account.js delete mode 100644 npm/ng-packs/dist/account/esm2015/lib/account-routing.module.js delete mode 100644 npm/ng-packs/dist/account/esm2015/lib/account.module.js delete mode 100644 npm/ng-packs/dist/account/esm2015/lib/components/auth-wrapper/auth-wrapper.component.js delete mode 100644 npm/ng-packs/dist/account/esm2015/lib/components/change-password/change-password.component.js delete mode 100644 npm/ng-packs/dist/account/esm2015/lib/components/index.js delete mode 100644 npm/ng-packs/dist/account/esm2015/lib/components/login/login.component.js delete mode 100644 npm/ng-packs/dist/account/esm2015/lib/components/manage-profile/manage-profile.component.js delete mode 100644 npm/ng-packs/dist/account/esm2015/lib/components/personal-settings/personal-settings.component.js delete mode 100644 npm/ng-packs/dist/account/esm2015/lib/components/register/register.component.js delete mode 100644 npm/ng-packs/dist/account/esm2015/lib/components/tenant-box/tenant-box.component.js delete mode 100644 npm/ng-packs/dist/account/esm2015/lib/constants/routes.js delete mode 100644 npm/ng-packs/dist/account/esm2015/lib/models/index.js delete mode 100644 npm/ng-packs/dist/account/esm2015/lib/models/options.js delete mode 100644 npm/ng-packs/dist/account/esm2015/lib/models/tenant.js delete mode 100644 npm/ng-packs/dist/account/esm2015/lib/models/user.js delete mode 100644 npm/ng-packs/dist/account/esm2015/lib/services/account.service.js delete mode 100644 npm/ng-packs/dist/account/esm2015/lib/tokens/index.js delete mode 100644 npm/ng-packs/dist/account/esm2015/lib/tokens/options.token.js delete mode 100644 npm/ng-packs/dist/account/esm2015/public-api.js delete mode 100644 npm/ng-packs/dist/account/esm5/abp-ng.account.js delete mode 100644 npm/ng-packs/dist/account/esm5/lib/account-routing.module.js delete mode 100644 npm/ng-packs/dist/account/esm5/lib/account.module.js delete mode 100644 npm/ng-packs/dist/account/esm5/lib/components/auth-wrapper/auth-wrapper.component.js delete mode 100644 npm/ng-packs/dist/account/esm5/lib/components/change-password/change-password.component.js delete mode 100644 npm/ng-packs/dist/account/esm5/lib/components/index.js delete mode 100644 npm/ng-packs/dist/account/esm5/lib/components/login/login.component.js delete mode 100644 npm/ng-packs/dist/account/esm5/lib/components/manage-profile/manage-profile.component.js delete mode 100644 npm/ng-packs/dist/account/esm5/lib/components/personal-settings/personal-settings.component.js delete mode 100644 npm/ng-packs/dist/account/esm5/lib/components/register/register.component.js delete mode 100644 npm/ng-packs/dist/account/esm5/lib/components/tenant-box/tenant-box.component.js delete mode 100644 npm/ng-packs/dist/account/esm5/lib/constants/routes.js delete mode 100644 npm/ng-packs/dist/account/esm5/lib/models/index.js delete mode 100644 npm/ng-packs/dist/account/esm5/lib/models/options.js delete mode 100644 npm/ng-packs/dist/account/esm5/lib/models/tenant.js delete mode 100644 npm/ng-packs/dist/account/esm5/lib/models/user.js delete mode 100644 npm/ng-packs/dist/account/esm5/lib/services/account.service.js delete mode 100644 npm/ng-packs/dist/account/esm5/lib/tokens/index.js delete mode 100644 npm/ng-packs/dist/account/esm5/lib/tokens/options.token.js delete mode 100644 npm/ng-packs/dist/account/esm5/public-api.js delete mode 100644 npm/ng-packs/dist/account/fesm2015/abp-ng.account.js delete mode 100644 npm/ng-packs/dist/account/fesm2015/abp-ng.account.js.map delete mode 100644 npm/ng-packs/dist/account/fesm5/abp-ng.account.js delete mode 100644 npm/ng-packs/dist/account/fesm5/abp-ng.account.js.map delete mode 100644 npm/ng-packs/dist/account/lib/account-routing.module.d.ts delete mode 100644 npm/ng-packs/dist/account/lib/account.module.d.ts delete mode 100644 npm/ng-packs/dist/account/lib/components/auth-wrapper/auth-wrapper.component.d.ts delete mode 100644 npm/ng-packs/dist/account/lib/components/change-password/change-password.component.d.ts delete mode 100644 npm/ng-packs/dist/account/lib/components/index.d.ts delete mode 100644 npm/ng-packs/dist/account/lib/components/login/login.component.d.ts delete mode 100644 npm/ng-packs/dist/account/lib/components/manage-profile/manage-profile.component.d.ts delete mode 100644 npm/ng-packs/dist/account/lib/components/personal-settings/personal-settings.component.d.ts delete mode 100644 npm/ng-packs/dist/account/lib/components/register/register.component.d.ts delete mode 100644 npm/ng-packs/dist/account/lib/components/tenant-box/tenant-box.component.d.ts delete mode 100644 npm/ng-packs/dist/account/lib/constants/routes.d.ts delete mode 100644 npm/ng-packs/dist/account/lib/models/index.d.ts delete mode 100644 npm/ng-packs/dist/account/lib/models/options.d.ts delete mode 100644 npm/ng-packs/dist/account/lib/models/tenant.d.ts delete mode 100644 npm/ng-packs/dist/account/lib/models/user.d.ts delete mode 100644 npm/ng-packs/dist/account/lib/services/account.service.d.ts delete mode 100644 npm/ng-packs/dist/account/lib/tokens/index.d.ts delete mode 100644 npm/ng-packs/dist/account/lib/tokens/options.token.d.ts delete mode 100644 npm/ng-packs/dist/account/package.json delete mode 100644 npm/ng-packs/dist/account/public-api.d.ts delete mode 100644 npm/ng-packs/dist/core/README.md delete mode 100644 npm/ng-packs/dist/core/abp-ng.core.d.ts delete mode 100644 npm/ng-packs/dist/core/abp-ng.core.metadata.json delete mode 100644 npm/ng-packs/dist/core/bundles/abp-ng.core.umd.js delete mode 100644 npm/ng-packs/dist/core/bundles/abp-ng.core.umd.js.map delete mode 100644 npm/ng-packs/dist/core/bundles/abp-ng.core.umd.min.js delete mode 100644 npm/ng-packs/dist/core/bundles/abp-ng.core.umd.min.js.map delete mode 100644 npm/ng-packs/dist/core/esm2015/abp-ng.core.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/abstracts/index.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/abstracts/ng-model.component.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/actions/config.actions.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/actions/index.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/actions/loader.actions.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/actions/profile.actions.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/actions/rest.actions.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/actions/session.actions.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/components/dynamic-layout.component.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/components/index.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/components/router-outlet.component.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/constants/different-locales.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/constants/index.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/constants/locales-mapping.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/core.module.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/directives/autofocus.directive.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/directives/debounce.directive.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/directives/ellipsis.directive.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/directives/for.directive.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/directives/form-submit.directive.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/directives/index.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/directives/permission.directive.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/directives/stop-propagation.directive.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/directives/table-sort.directive.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/directives/visibility.directive.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/enums/common.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/enums/index.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/guards/auth.guard.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/guards/index.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/guards/permission.guard.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/interceptors/api.interceptor.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/interceptors/index.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/models/application-configuration.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/models/common.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/models/config.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/models/index.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/models/profile.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/models/rest.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/models/session.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/pipes/index.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/pipes/localization.pipe.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/pipes/sort.pipe.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/plugins/config.plugin.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/plugins/config/config.plugin.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/plugins/index.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/plugins/select-snapshot/internals.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/plugins/select-snapshot/select-snapshot.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/plugins/select-snapshot/static-injector.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/providers/locale.provider.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/providers/reuse-strategy.provider.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/services/application-configuration.service.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/services/config-state.service.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/services/config.service.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/services/index.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/services/lazy-load.service.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/services/localization.service.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/services/profile-state.service.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/services/profile.service.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/services/rest.service.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/services/session-state.service.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/states/config.state.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/states/index.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/states/profile.state.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/states/session.state.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/tokens/common.token.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/tokens/index.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/utils/common-utils.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/utils/date-extensions.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/utils/generator-utils.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/utils/index.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/utils/initial-utils.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/utils/route-utils.js delete mode 100644 npm/ng-packs/dist/core/esm2015/lib/utils/rxjs-utils.js delete mode 100644 npm/ng-packs/dist/core/esm2015/public-api.js delete mode 100644 npm/ng-packs/dist/core/esm5/abp-ng.core.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/abstracts/index.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/abstracts/ng-model.component.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/actions/config.actions.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/actions/index.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/actions/loader.actions.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/actions/profile.actions.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/actions/rest.actions.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/actions/session.actions.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/components/dynamic-layout.component.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/components/index.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/components/router-outlet.component.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/constants/different-locales.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/constants/index.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/constants/locales-mapping.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/core.module.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/directives/autofocus.directive.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/directives/debounce.directive.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/directives/ellipsis.directive.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/directives/for.directive.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/directives/form-submit.directive.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/directives/index.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/directives/permission.directive.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/directives/stop-propagation.directive.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/directives/table-sort.directive.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/directives/visibility.directive.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/enums/common.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/enums/index.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/guards/auth.guard.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/guards/index.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/guards/permission.guard.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/interceptors/api.interceptor.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/interceptors/index.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/models/application-configuration.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/models/common.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/models/config.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/models/index.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/models/profile.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/models/rest.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/models/session.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/pipes/index.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/pipes/localization.pipe.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/pipes/sort.pipe.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/plugins/config.plugin.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/plugins/config/config.plugin.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/plugins/index.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/plugins/select-snapshot/internals.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/plugins/select-snapshot/select-snapshot.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/plugins/select-snapshot/static-injector.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/providers/locale.provider.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/providers/reuse-strategy.provider.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/services/application-configuration.service.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/services/config-state.service.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/services/config.service.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/services/index.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/services/lazy-load.service.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/services/localization.service.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/services/profile-state.service.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/services/profile.service.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/services/rest.service.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/services/session-state.service.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/states/config.state.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/states/index.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/states/profile.state.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/states/session.state.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/tokens/common.token.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/tokens/index.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/utils/common-utils.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/utils/date-extensions.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/utils/generator-utils.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/utils/index.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/utils/initial-utils.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/utils/route-utils.js delete mode 100644 npm/ng-packs/dist/core/esm5/lib/utils/rxjs-utils.js delete mode 100644 npm/ng-packs/dist/core/esm5/public-api.js delete mode 100644 npm/ng-packs/dist/core/fesm2015/abp-ng.core.js delete mode 100644 npm/ng-packs/dist/core/fesm2015/abp-ng.core.js.map delete mode 100644 npm/ng-packs/dist/core/fesm5/abp-ng.core.js delete mode 100644 npm/ng-packs/dist/core/fesm5/abp-ng.core.js.map delete mode 100644 npm/ng-packs/dist/core/lib/abstracts/index.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/abstracts/ng-model.component.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/actions/config.actions.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/actions/index.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/actions/loader.actions.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/actions/profile.actions.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/actions/rest.actions.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/actions/session.actions.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/components/dynamic-layout.component.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/components/index.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/components/router-outlet.component.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/constants/different-locales.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/constants/index.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/constants/locales-mapping.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/core.module.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/directives/autofocus.directive.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/directives/debounce.directive.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/directives/ellipsis.directive.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/directives/for.directive.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/directives/form-submit.directive.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/directives/index.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/directives/permission.directive.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/directives/stop-propagation.directive.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/directives/table-sort.directive.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/directives/visibility.directive.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/enums/common.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/enums/index.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/guards/auth.guard.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/guards/index.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/guards/permission.guard.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/interceptors/api.interceptor.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/interceptors/index.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/models/application-configuration.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/models/common.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/models/config.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/models/index.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/models/profile.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/models/rest.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/models/session.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/pipes/index.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/pipes/localization.pipe.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/pipes/sort.pipe.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/plugins/config.plugin.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/plugins/config/config.plugin.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/plugins/index.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/plugins/select-snapshot/internals.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/plugins/select-snapshot/select-snapshot.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/plugins/select-snapshot/static-injector.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/providers/locale.provider.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/providers/reuse-strategy.provider.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/services/application-configuration.service.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/services/config-state.service.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/services/config.service.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/services/index.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/services/lazy-load.service.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/services/localization.service.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/services/profile-state.service.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/services/profile.service.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/services/rest.service.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/services/session-state.service.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/states/config.state.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/states/index.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/states/profile.state.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/states/session.state.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/tokens/common.token.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/tokens/index.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/utils/common-utils.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/utils/date-extensions.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/utils/generator-utils.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/utils/index.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/utils/initial-utils.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/utils/route-utils.d.ts delete mode 100644 npm/ng-packs/dist/core/lib/utils/rxjs-utils.d.ts delete mode 100644 npm/ng-packs/dist/core/package.json delete mode 100644 npm/ng-packs/dist/core/public-api.d.ts delete mode 100644 npm/ng-packs/dist/feature-management/README.md delete mode 100644 npm/ng-packs/dist/feature-management/abp-ng.feature-management.d.ts delete mode 100644 npm/ng-packs/dist/feature-management/abp-ng.feature-management.metadata.json delete mode 100644 npm/ng-packs/dist/feature-management/bundles/abp-ng.feature-management.umd.js delete mode 100644 npm/ng-packs/dist/feature-management/bundles/abp-ng.feature-management.umd.js.map delete mode 100644 npm/ng-packs/dist/feature-management/bundles/abp-ng.feature-management.umd.min.js delete mode 100644 npm/ng-packs/dist/feature-management/bundles/abp-ng.feature-management.umd.min.js.map delete mode 100644 npm/ng-packs/dist/feature-management/esm2015/abp-ng.feature-management.js delete mode 100644 npm/ng-packs/dist/feature-management/esm2015/lib/actions/feature-management.actions.js delete mode 100644 npm/ng-packs/dist/feature-management/esm2015/lib/actions/index.js delete mode 100644 npm/ng-packs/dist/feature-management/esm2015/lib/components/feature-management/feature-management.component.js delete mode 100644 npm/ng-packs/dist/feature-management/esm2015/lib/components/index.js delete mode 100644 npm/ng-packs/dist/feature-management/esm2015/lib/feature-management.module.js delete mode 100644 npm/ng-packs/dist/feature-management/esm2015/lib/models/feature-management.js delete mode 100644 npm/ng-packs/dist/feature-management/esm2015/lib/models/index.js delete mode 100644 npm/ng-packs/dist/feature-management/esm2015/lib/services/feature-management.service.js delete mode 100644 npm/ng-packs/dist/feature-management/esm2015/lib/states/feature-management.state.js delete mode 100644 npm/ng-packs/dist/feature-management/esm2015/lib/states/index.js delete mode 100644 npm/ng-packs/dist/feature-management/esm2015/public-api.js delete mode 100644 npm/ng-packs/dist/feature-management/esm5/abp-ng.feature-management.js delete mode 100644 npm/ng-packs/dist/feature-management/esm5/lib/actions/feature-management.actions.js delete mode 100644 npm/ng-packs/dist/feature-management/esm5/lib/actions/index.js delete mode 100644 npm/ng-packs/dist/feature-management/esm5/lib/components/feature-management/feature-management.component.js delete mode 100644 npm/ng-packs/dist/feature-management/esm5/lib/components/index.js delete mode 100644 npm/ng-packs/dist/feature-management/esm5/lib/feature-management.module.js delete mode 100644 npm/ng-packs/dist/feature-management/esm5/lib/models/feature-management.js delete mode 100644 npm/ng-packs/dist/feature-management/esm5/lib/models/index.js delete mode 100644 npm/ng-packs/dist/feature-management/esm5/lib/services/feature-management.service.js delete mode 100644 npm/ng-packs/dist/feature-management/esm5/lib/states/feature-management.state.js delete mode 100644 npm/ng-packs/dist/feature-management/esm5/lib/states/index.js delete mode 100644 npm/ng-packs/dist/feature-management/esm5/public-api.js delete mode 100644 npm/ng-packs/dist/feature-management/fesm2015/abp-ng.feature-management.js delete mode 100644 npm/ng-packs/dist/feature-management/fesm2015/abp-ng.feature-management.js.map delete mode 100644 npm/ng-packs/dist/feature-management/fesm5/abp-ng.feature-management.js delete mode 100644 npm/ng-packs/dist/feature-management/fesm5/abp-ng.feature-management.js.map delete mode 100644 npm/ng-packs/dist/feature-management/lib/actions/feature-management.actions.d.ts delete mode 100644 npm/ng-packs/dist/feature-management/lib/actions/index.d.ts delete mode 100644 npm/ng-packs/dist/feature-management/lib/components/feature-management/feature-management.component.d.ts delete mode 100644 npm/ng-packs/dist/feature-management/lib/components/index.d.ts delete mode 100644 npm/ng-packs/dist/feature-management/lib/feature-management.module.d.ts delete mode 100644 npm/ng-packs/dist/feature-management/lib/models/feature-management.d.ts delete mode 100644 npm/ng-packs/dist/feature-management/lib/models/index.d.ts delete mode 100644 npm/ng-packs/dist/feature-management/lib/services/feature-management.service.d.ts delete mode 100644 npm/ng-packs/dist/feature-management/lib/states/feature-management.state.d.ts delete mode 100644 npm/ng-packs/dist/feature-management/lib/states/index.d.ts delete mode 100644 npm/ng-packs/dist/feature-management/package.json delete mode 100644 npm/ng-packs/dist/feature-management/public-api.d.ts delete mode 100644 npm/ng-packs/dist/identity-config/README.md delete mode 100644 npm/ng-packs/dist/identity-config/abp-ng.identity.config.d.ts delete mode 100644 npm/ng-packs/dist/identity-config/abp-ng.identity.config.metadata.json delete mode 100644 npm/ng-packs/dist/identity-config/bundles/abp-ng.identity.config.umd.js delete mode 100644 npm/ng-packs/dist/identity-config/bundles/abp-ng.identity.config.umd.js.map delete mode 100644 npm/ng-packs/dist/identity-config/bundles/abp-ng.identity.config.umd.min.js delete mode 100644 npm/ng-packs/dist/identity-config/bundles/abp-ng.identity.config.umd.min.js.map delete mode 100644 npm/ng-packs/dist/identity-config/esm2015/abp-ng.identity.config.js delete mode 100644 npm/ng-packs/dist/identity-config/esm2015/lib/identity-config.module.js delete mode 100644 npm/ng-packs/dist/identity-config/esm2015/lib/services/identity-config.service.js delete mode 100644 npm/ng-packs/dist/identity-config/esm2015/public-api.js delete mode 100644 npm/ng-packs/dist/identity-config/esm5/abp-ng.identity.config.js delete mode 100644 npm/ng-packs/dist/identity-config/esm5/lib/identity-config.module.js delete mode 100644 npm/ng-packs/dist/identity-config/esm5/lib/services/identity-config.service.js delete mode 100644 npm/ng-packs/dist/identity-config/esm5/public-api.js delete mode 100644 npm/ng-packs/dist/identity-config/fesm2015/abp-ng.identity.config.js delete mode 100644 npm/ng-packs/dist/identity-config/fesm2015/abp-ng.identity.config.js.map delete mode 100644 npm/ng-packs/dist/identity-config/fesm5/abp-ng.identity.config.js delete mode 100644 npm/ng-packs/dist/identity-config/fesm5/abp-ng.identity.config.js.map delete mode 100644 npm/ng-packs/dist/identity-config/lib/identity-config.module.d.ts delete mode 100644 npm/ng-packs/dist/identity-config/lib/services/identity-config.service.d.ts delete mode 100644 npm/ng-packs/dist/identity-config/package.json delete mode 100644 npm/ng-packs/dist/identity-config/public-api.d.ts delete mode 100644 npm/ng-packs/dist/identity/README.md delete mode 100644 npm/ng-packs/dist/identity/abp-ng.identity.d.ts delete mode 100644 npm/ng-packs/dist/identity/abp-ng.identity.metadata.json delete mode 100644 npm/ng-packs/dist/identity/bundles/abp-ng.identity.umd.js delete mode 100644 npm/ng-packs/dist/identity/bundles/abp-ng.identity.umd.js.map delete mode 100644 npm/ng-packs/dist/identity/bundles/abp-ng.identity.umd.min.js delete mode 100644 npm/ng-packs/dist/identity/bundles/abp-ng.identity.umd.min.js.map delete mode 100644 npm/ng-packs/dist/identity/esm2015/abp-ng.identity.js delete mode 100644 npm/ng-packs/dist/identity/esm2015/lib/actions/identity.actions.js delete mode 100644 npm/ng-packs/dist/identity/esm2015/lib/components/roles/roles.component.js delete mode 100644 npm/ng-packs/dist/identity/esm2015/lib/components/users/users.component.js delete mode 100644 npm/ng-packs/dist/identity/esm2015/lib/constants/routes.js delete mode 100644 npm/ng-packs/dist/identity/esm2015/lib/identity-routing.module.js delete mode 100644 npm/ng-packs/dist/identity/esm2015/lib/identity.module.js delete mode 100644 npm/ng-packs/dist/identity/esm2015/lib/models/identity.js delete mode 100644 npm/ng-packs/dist/identity/esm2015/lib/services/identity.service.js delete mode 100644 npm/ng-packs/dist/identity/esm2015/lib/states/identity.state.js delete mode 100644 npm/ng-packs/dist/identity/esm2015/public-api.js delete mode 100644 npm/ng-packs/dist/identity/esm5/abp-ng.identity.js delete mode 100644 npm/ng-packs/dist/identity/esm5/lib/actions/identity.actions.js delete mode 100644 npm/ng-packs/dist/identity/esm5/lib/components/roles/roles.component.js delete mode 100644 npm/ng-packs/dist/identity/esm5/lib/components/users/users.component.js delete mode 100644 npm/ng-packs/dist/identity/esm5/lib/constants/routes.js delete mode 100644 npm/ng-packs/dist/identity/esm5/lib/identity-routing.module.js delete mode 100644 npm/ng-packs/dist/identity/esm5/lib/identity.module.js delete mode 100644 npm/ng-packs/dist/identity/esm5/lib/models/identity.js delete mode 100644 npm/ng-packs/dist/identity/esm5/lib/services/identity.service.js delete mode 100644 npm/ng-packs/dist/identity/esm5/lib/states/identity.state.js delete mode 100644 npm/ng-packs/dist/identity/esm5/public-api.js delete mode 100644 npm/ng-packs/dist/identity/fesm2015/abp-ng.identity.js delete mode 100644 npm/ng-packs/dist/identity/fesm2015/abp-ng.identity.js.map delete mode 100644 npm/ng-packs/dist/identity/fesm5/abp-ng.identity.js delete mode 100644 npm/ng-packs/dist/identity/fesm5/abp-ng.identity.js.map delete mode 100644 npm/ng-packs/dist/identity/lib/actions/identity.actions.d.ts delete mode 100644 npm/ng-packs/dist/identity/lib/components/roles/roles.component.d.ts delete mode 100644 npm/ng-packs/dist/identity/lib/components/users/users.component.d.ts delete mode 100644 npm/ng-packs/dist/identity/lib/constants/routes.d.ts delete mode 100644 npm/ng-packs/dist/identity/lib/identity-routing.module.d.ts delete mode 100644 npm/ng-packs/dist/identity/lib/identity.module.d.ts delete mode 100644 npm/ng-packs/dist/identity/lib/models/identity.d.ts delete mode 100644 npm/ng-packs/dist/identity/lib/services/identity.service.d.ts delete mode 100644 npm/ng-packs/dist/identity/lib/states/identity.state.d.ts delete mode 100644 npm/ng-packs/dist/identity/package.json delete mode 100644 npm/ng-packs/dist/identity/public-api.d.ts delete mode 100644 npm/ng-packs/dist/permission-management/README.md delete mode 100644 npm/ng-packs/dist/permission-management/abp-ng.permission-management.d.ts delete mode 100644 npm/ng-packs/dist/permission-management/abp-ng.permission-management.metadata.json delete mode 100644 npm/ng-packs/dist/permission-management/bundles/abp-ng.permission-management.umd.js delete mode 100644 npm/ng-packs/dist/permission-management/bundles/abp-ng.permission-management.umd.js.map delete mode 100644 npm/ng-packs/dist/permission-management/bundles/abp-ng.permission-management.umd.min.js delete mode 100644 npm/ng-packs/dist/permission-management/bundles/abp-ng.permission-management.umd.min.js.map delete mode 100644 npm/ng-packs/dist/permission-management/esm2015/abp-ng.permission-management.js delete mode 100644 npm/ng-packs/dist/permission-management/esm2015/lib/actions/index.js delete mode 100644 npm/ng-packs/dist/permission-management/esm2015/lib/actions/permission-management.actions.js delete mode 100644 npm/ng-packs/dist/permission-management/esm2015/lib/components/index.js delete mode 100644 npm/ng-packs/dist/permission-management/esm2015/lib/components/permission-management.component.js delete mode 100644 npm/ng-packs/dist/permission-management/esm2015/lib/models/index.js delete mode 100644 npm/ng-packs/dist/permission-management/esm2015/lib/models/permission-management.js delete mode 100644 npm/ng-packs/dist/permission-management/esm2015/lib/permission-management.module.js delete mode 100644 npm/ng-packs/dist/permission-management/esm2015/lib/services/index.js delete mode 100644 npm/ng-packs/dist/permission-management/esm2015/lib/services/permission-management-state.service.js delete mode 100644 npm/ng-packs/dist/permission-management/esm2015/lib/services/permission-management.service.js delete mode 100644 npm/ng-packs/dist/permission-management/esm2015/lib/states/index.js delete mode 100644 npm/ng-packs/dist/permission-management/esm2015/lib/states/permission-management.state.js delete mode 100644 npm/ng-packs/dist/permission-management/esm2015/public-api.js delete mode 100644 npm/ng-packs/dist/permission-management/esm5/abp-ng.permission-management.js delete mode 100644 npm/ng-packs/dist/permission-management/esm5/lib/actions/index.js delete mode 100644 npm/ng-packs/dist/permission-management/esm5/lib/actions/permission-management.actions.js delete mode 100644 npm/ng-packs/dist/permission-management/esm5/lib/components/index.js delete mode 100644 npm/ng-packs/dist/permission-management/esm5/lib/components/permission-management.component.js delete mode 100644 npm/ng-packs/dist/permission-management/esm5/lib/models/index.js delete mode 100644 npm/ng-packs/dist/permission-management/esm5/lib/models/permission-management.js delete mode 100644 npm/ng-packs/dist/permission-management/esm5/lib/permission-management.module.js delete mode 100644 npm/ng-packs/dist/permission-management/esm5/lib/services/index.js delete mode 100644 npm/ng-packs/dist/permission-management/esm5/lib/services/permission-management-state.service.js delete mode 100644 npm/ng-packs/dist/permission-management/esm5/lib/services/permission-management.service.js delete mode 100644 npm/ng-packs/dist/permission-management/esm5/lib/states/index.js delete mode 100644 npm/ng-packs/dist/permission-management/esm5/lib/states/permission-management.state.js delete mode 100644 npm/ng-packs/dist/permission-management/esm5/public-api.js delete mode 100644 npm/ng-packs/dist/permission-management/fesm2015/abp-ng.permission-management.js delete mode 100644 npm/ng-packs/dist/permission-management/fesm2015/abp-ng.permission-management.js.map delete mode 100644 npm/ng-packs/dist/permission-management/fesm5/abp-ng.permission-management.js delete mode 100644 npm/ng-packs/dist/permission-management/fesm5/abp-ng.permission-management.js.map delete mode 100644 npm/ng-packs/dist/permission-management/lib/actions/index.d.ts delete mode 100644 npm/ng-packs/dist/permission-management/lib/actions/permission-management.actions.d.ts delete mode 100644 npm/ng-packs/dist/permission-management/lib/components/index.d.ts delete mode 100644 npm/ng-packs/dist/permission-management/lib/components/permission-management.component.d.ts delete mode 100644 npm/ng-packs/dist/permission-management/lib/models/index.d.ts delete mode 100644 npm/ng-packs/dist/permission-management/lib/models/permission-management.d.ts delete mode 100644 npm/ng-packs/dist/permission-management/lib/permission-management.module.d.ts delete mode 100644 npm/ng-packs/dist/permission-management/lib/services/index.d.ts delete mode 100644 npm/ng-packs/dist/permission-management/lib/services/permission-management-state.service.d.ts delete mode 100644 npm/ng-packs/dist/permission-management/lib/services/permission-management.service.d.ts delete mode 100644 npm/ng-packs/dist/permission-management/lib/states/index.d.ts delete mode 100644 npm/ng-packs/dist/permission-management/lib/states/permission-management.state.d.ts delete mode 100644 npm/ng-packs/dist/permission-management/package.json delete mode 100644 npm/ng-packs/dist/permission-management/public-api.d.ts delete mode 100644 npm/ng-packs/dist/setting-management-config/README.md delete mode 100644 npm/ng-packs/dist/setting-management-config/abp-ng.setting-management.config.d.ts delete mode 100644 npm/ng-packs/dist/setting-management-config/abp-ng.setting-management.config.metadata.json delete mode 100644 npm/ng-packs/dist/setting-management-config/bundles/abp-ng.setting-management.config.umd.js delete mode 100644 npm/ng-packs/dist/setting-management-config/bundles/abp-ng.setting-management.config.umd.js.map delete mode 100644 npm/ng-packs/dist/setting-management-config/bundles/abp-ng.setting-management.config.umd.min.js delete mode 100644 npm/ng-packs/dist/setting-management-config/bundles/abp-ng.setting-management.config.umd.min.js.map delete mode 100644 npm/ng-packs/dist/setting-management-config/esm2015/abp-ng.setting-management.config.js delete mode 100644 npm/ng-packs/dist/setting-management-config/esm2015/lib/services/setting-management-config.service.js delete mode 100644 npm/ng-packs/dist/setting-management-config/esm2015/lib/setting-management-config.module.js delete mode 100644 npm/ng-packs/dist/setting-management-config/esm2015/public-api.js delete mode 100644 npm/ng-packs/dist/setting-management-config/esm5/abp-ng.setting-management.config.js delete mode 100644 npm/ng-packs/dist/setting-management-config/esm5/lib/services/setting-management-config.service.js delete mode 100644 npm/ng-packs/dist/setting-management-config/esm5/lib/setting-management-config.module.js delete mode 100644 npm/ng-packs/dist/setting-management-config/esm5/public-api.js delete mode 100644 npm/ng-packs/dist/setting-management-config/fesm2015/abp-ng.setting-management.config.js delete mode 100644 npm/ng-packs/dist/setting-management-config/fesm2015/abp-ng.setting-management.config.js.map delete mode 100644 npm/ng-packs/dist/setting-management-config/fesm5/abp-ng.setting-management.config.js delete mode 100644 npm/ng-packs/dist/setting-management-config/fesm5/abp-ng.setting-management.config.js.map delete mode 100644 npm/ng-packs/dist/setting-management-config/lib/services/setting-management-config.service.d.ts delete mode 100644 npm/ng-packs/dist/setting-management-config/lib/setting-management-config.module.d.ts delete mode 100644 npm/ng-packs/dist/setting-management-config/package.json delete mode 100644 npm/ng-packs/dist/setting-management-config/public-api.d.ts delete mode 100644 npm/ng-packs/dist/setting-management/README.md delete mode 100644 npm/ng-packs/dist/setting-management/abp-ng.setting-management.d.ts delete mode 100644 npm/ng-packs/dist/setting-management/abp-ng.setting-management.metadata.json delete mode 100644 npm/ng-packs/dist/setting-management/bundles/abp-ng.setting-management.umd.js delete mode 100644 npm/ng-packs/dist/setting-management/bundles/abp-ng.setting-management.umd.js.map delete mode 100644 npm/ng-packs/dist/setting-management/bundles/abp-ng.setting-management.umd.min.js delete mode 100644 npm/ng-packs/dist/setting-management/bundles/abp-ng.setting-management.umd.min.js.map delete mode 100644 npm/ng-packs/dist/setting-management/esm2015/abp-ng.setting-management.js delete mode 100644 npm/ng-packs/dist/setting-management/esm2015/lib/actions/setting-management.actions.js delete mode 100644 npm/ng-packs/dist/setting-management/esm2015/lib/components/setting-management.component.js delete mode 100644 npm/ng-packs/dist/setting-management/esm2015/lib/models/setting-management.js delete mode 100644 npm/ng-packs/dist/setting-management/esm2015/lib/setting-management-routing.module.js delete mode 100644 npm/ng-packs/dist/setting-management/esm2015/lib/setting-management.module.js delete mode 100644 npm/ng-packs/dist/setting-management/esm2015/lib/states/setting-management.state.js delete mode 100644 npm/ng-packs/dist/setting-management/esm2015/public-api.js delete mode 100644 npm/ng-packs/dist/setting-management/esm5/abp-ng.setting-management.js delete mode 100644 npm/ng-packs/dist/setting-management/esm5/lib/actions/setting-management.actions.js delete mode 100644 npm/ng-packs/dist/setting-management/esm5/lib/components/setting-management.component.js delete mode 100644 npm/ng-packs/dist/setting-management/esm5/lib/models/setting-management.js delete mode 100644 npm/ng-packs/dist/setting-management/esm5/lib/setting-management-routing.module.js delete mode 100644 npm/ng-packs/dist/setting-management/esm5/lib/setting-management.module.js delete mode 100644 npm/ng-packs/dist/setting-management/esm5/lib/states/setting-management.state.js delete mode 100644 npm/ng-packs/dist/setting-management/esm5/public-api.js delete mode 100644 npm/ng-packs/dist/setting-management/fesm2015/abp-ng.setting-management.js delete mode 100644 npm/ng-packs/dist/setting-management/fesm2015/abp-ng.setting-management.js.map delete mode 100644 npm/ng-packs/dist/setting-management/fesm5/abp-ng.setting-management.js delete mode 100644 npm/ng-packs/dist/setting-management/fesm5/abp-ng.setting-management.js.map delete mode 100644 npm/ng-packs/dist/setting-management/lib/actions/setting-management.actions.d.ts delete mode 100644 npm/ng-packs/dist/setting-management/lib/components/setting-management.component.d.ts delete mode 100644 npm/ng-packs/dist/setting-management/lib/models/setting-management.d.ts delete mode 100644 npm/ng-packs/dist/setting-management/lib/setting-management-routing.module.d.ts delete mode 100644 npm/ng-packs/dist/setting-management/lib/setting-management.module.d.ts delete mode 100644 npm/ng-packs/dist/setting-management/lib/states/setting-management.state.d.ts delete mode 100644 npm/ng-packs/dist/setting-management/package.json delete mode 100644 npm/ng-packs/dist/setting-management/public-api.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management-config/README.md delete mode 100644 npm/ng-packs/dist/tenant-management-config/abp-ng.tenant-management.config.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management-config/abp-ng.tenant-management.config.metadata.json delete mode 100644 npm/ng-packs/dist/tenant-management-config/bundles/abp-ng.tenant-management.config.umd.js delete mode 100644 npm/ng-packs/dist/tenant-management-config/bundles/abp-ng.tenant-management.config.umd.js.map delete mode 100644 npm/ng-packs/dist/tenant-management-config/bundles/abp-ng.tenant-management.config.umd.min.js delete mode 100644 npm/ng-packs/dist/tenant-management-config/bundles/abp-ng.tenant-management.config.umd.min.js.map delete mode 100644 npm/ng-packs/dist/tenant-management-config/esm2015/abp-ng.tenant-management.config.js delete mode 100644 npm/ng-packs/dist/tenant-management-config/esm2015/lib/services/tenant-management-config.service.js delete mode 100644 npm/ng-packs/dist/tenant-management-config/esm2015/lib/tenant-management-config.module.js delete mode 100644 npm/ng-packs/dist/tenant-management-config/esm2015/public-api.js delete mode 100644 npm/ng-packs/dist/tenant-management-config/esm5/abp-ng.tenant-management.config.js delete mode 100644 npm/ng-packs/dist/tenant-management-config/esm5/lib/services/tenant-management-config.service.js delete mode 100644 npm/ng-packs/dist/tenant-management-config/esm5/lib/tenant-management-config.module.js delete mode 100644 npm/ng-packs/dist/tenant-management-config/esm5/public-api.js delete mode 100644 npm/ng-packs/dist/tenant-management-config/fesm2015/abp-ng.tenant-management.config.js delete mode 100644 npm/ng-packs/dist/tenant-management-config/fesm2015/abp-ng.tenant-management.config.js.map delete mode 100644 npm/ng-packs/dist/tenant-management-config/fesm5/abp-ng.tenant-management.config.js delete mode 100644 npm/ng-packs/dist/tenant-management-config/fesm5/abp-ng.tenant-management.config.js.map delete mode 100644 npm/ng-packs/dist/tenant-management-config/lib/services/tenant-management-config.service.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management-config/lib/tenant-management-config.module.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management-config/package.json delete mode 100644 npm/ng-packs/dist/tenant-management-config/public-api.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management/README.md delete mode 100644 npm/ng-packs/dist/tenant-management/abp-ng.tenant-management.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management/abp-ng.tenant-management.metadata.json delete mode 100644 npm/ng-packs/dist/tenant-management/bundles/abp-ng.tenant-management.umd.js delete mode 100644 npm/ng-packs/dist/tenant-management/bundles/abp-ng.tenant-management.umd.js.map delete mode 100644 npm/ng-packs/dist/tenant-management/bundles/abp-ng.tenant-management.umd.min.js delete mode 100644 npm/ng-packs/dist/tenant-management/bundles/abp-ng.tenant-management.umd.min.js.map delete mode 100644 npm/ng-packs/dist/tenant-management/esm2015/abp-ng.tenant-management.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm2015/lib/actions/index.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm2015/lib/actions/tenant-management.actions.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm2015/lib/components/index.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm2015/lib/components/tenants/tenants.component.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm2015/lib/constants/index.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm2015/lib/constants/routes.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm2015/lib/models/index.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm2015/lib/models/tenant-management.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm2015/lib/services/index.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm2015/lib/services/tenant-management-state.service.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm2015/lib/services/tenant-management.service.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm2015/lib/states/index.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm2015/lib/states/tenant-management.state.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm2015/lib/tenant-management-routing.module.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm2015/lib/tenant-management.module.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm2015/public-api.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm5/abp-ng.tenant-management.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm5/lib/actions/index.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm5/lib/actions/tenant-management.actions.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm5/lib/components/index.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm5/lib/components/tenants/tenants.component.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm5/lib/constants/index.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm5/lib/constants/routes.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm5/lib/models/index.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm5/lib/models/tenant-management.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm5/lib/services/index.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm5/lib/services/tenant-management-state.service.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm5/lib/services/tenant-management.service.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm5/lib/states/index.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm5/lib/states/tenant-management.state.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm5/lib/tenant-management-routing.module.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm5/lib/tenant-management.module.js delete mode 100644 npm/ng-packs/dist/tenant-management/esm5/public-api.js delete mode 100644 npm/ng-packs/dist/tenant-management/fesm2015/abp-ng.tenant-management.js delete mode 100644 npm/ng-packs/dist/tenant-management/fesm2015/abp-ng.tenant-management.js.map delete mode 100644 npm/ng-packs/dist/tenant-management/fesm5/abp-ng.tenant-management.js delete mode 100644 npm/ng-packs/dist/tenant-management/fesm5/abp-ng.tenant-management.js.map delete mode 100644 npm/ng-packs/dist/tenant-management/lib/actions/index.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management/lib/actions/tenant-management.actions.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management/lib/components/index.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management/lib/components/tenants/tenants.component.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management/lib/constants/index.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management/lib/constants/routes.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management/lib/models/index.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management/lib/models/tenant-management.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management/lib/services/index.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management/lib/services/tenant-management-state.service.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management/lib/services/tenant-management.service.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management/lib/states/index.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management/lib/states/tenant-management.state.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management/lib/tenant-management-routing.module.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management/lib/tenant-management.module.d.ts delete mode 100644 npm/ng-packs/dist/tenant-management/package.json delete mode 100644 npm/ng-packs/dist/tenant-management/public-api.d.ts delete mode 100644 npm/ng-packs/dist/theme-basic/README.md delete mode 100644 npm/ng-packs/dist/theme-basic/abp-ng.theme.basic.d.ts delete mode 100644 npm/ng-packs/dist/theme-basic/abp-ng.theme.basic.metadata.json delete mode 100644 npm/ng-packs/dist/theme-basic/bundles/abp-ng.theme.basic.umd.js delete mode 100644 npm/ng-packs/dist/theme-basic/bundles/abp-ng.theme.basic.umd.js.map delete mode 100644 npm/ng-packs/dist/theme-basic/bundles/abp-ng.theme.basic.umd.min.js delete mode 100644 npm/ng-packs/dist/theme-basic/bundles/abp-ng.theme.basic.umd.min.js.map delete mode 100644 npm/ng-packs/dist/theme-basic/esm2015/abp-ng.theme.basic.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm2015/lib/actions/index.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm2015/lib/actions/layout.actions.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm2015/lib/components/account-layout/account-layout.component.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm2015/lib/components/application-layout/application-layout.component.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm2015/lib/components/empty-layout/empty-layout.component.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm2015/lib/components/index.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm2015/lib/components/validation-error/validation-error.component.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm2015/lib/constants/styles.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm2015/lib/models/index.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm2015/lib/models/layout.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm2015/lib/services/initial.service.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm2015/lib/states/index.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm2015/lib/states/layout.state.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm2015/lib/theme-basic.module.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm2015/public-api.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm5/abp-ng.theme.basic.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm5/lib/actions/index.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm5/lib/actions/layout.actions.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm5/lib/components/account-layout/account-layout.component.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm5/lib/components/application-layout/application-layout.component.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm5/lib/components/empty-layout/empty-layout.component.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm5/lib/components/index.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm5/lib/components/validation-error/validation-error.component.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm5/lib/constants/styles.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm5/lib/models/index.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm5/lib/models/layout.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm5/lib/services/initial.service.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm5/lib/states/index.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm5/lib/states/layout.state.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm5/lib/theme-basic.module.js delete mode 100644 npm/ng-packs/dist/theme-basic/esm5/public-api.js delete mode 100644 npm/ng-packs/dist/theme-basic/fesm2015/abp-ng.theme.basic.js delete mode 100644 npm/ng-packs/dist/theme-basic/fesm2015/abp-ng.theme.basic.js.map delete mode 100644 npm/ng-packs/dist/theme-basic/fesm5/abp-ng.theme.basic.js delete mode 100644 npm/ng-packs/dist/theme-basic/fesm5/abp-ng.theme.basic.js.map delete mode 100644 npm/ng-packs/dist/theme-basic/lib/actions/index.d.ts delete mode 100644 npm/ng-packs/dist/theme-basic/lib/actions/layout.actions.d.ts delete mode 100644 npm/ng-packs/dist/theme-basic/lib/components/account-layout/account-layout.component.d.ts delete mode 100644 npm/ng-packs/dist/theme-basic/lib/components/application-layout/application-layout.component.d.ts delete mode 100644 npm/ng-packs/dist/theme-basic/lib/components/empty-layout/empty-layout.component.d.ts delete mode 100644 npm/ng-packs/dist/theme-basic/lib/components/index.d.ts delete mode 100644 npm/ng-packs/dist/theme-basic/lib/components/validation-error/validation-error.component.d.ts delete mode 100644 npm/ng-packs/dist/theme-basic/lib/constants/styles.d.ts delete mode 100644 npm/ng-packs/dist/theme-basic/lib/models/index.d.ts delete mode 100644 npm/ng-packs/dist/theme-basic/lib/models/layout.d.ts delete mode 100644 npm/ng-packs/dist/theme-basic/lib/services/initial.service.d.ts delete mode 100644 npm/ng-packs/dist/theme-basic/lib/states/index.d.ts delete mode 100644 npm/ng-packs/dist/theme-basic/lib/states/layout.state.d.ts delete mode 100644 npm/ng-packs/dist/theme-basic/lib/theme-basic.module.d.ts delete mode 100644 npm/ng-packs/dist/theme-basic/package.json delete mode 100644 npm/ng-packs/dist/theme-basic/public-api.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/README.md delete mode 100644 npm/ng-packs/dist/theme-shared/abp-ng.theme.shared.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/abp-ng.theme.shared.metadata.json delete mode 100644 npm/ng-packs/dist/theme-shared/bundles/abp-ng.theme.shared.umd.js delete mode 100644 npm/ng-packs/dist/theme-shared/bundles/abp-ng.theme.shared.umd.js.map delete mode 100644 npm/ng-packs/dist/theme-shared/bundles/abp-ng.theme.shared.umd.min.js delete mode 100644 npm/ng-packs/dist/theme-shared/bundles/abp-ng.theme.shared.umd.min.js.map delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/abp-ng.theme.shared.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/abstracts/toaster.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/animations/bounce.animations.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/animations/collapse.animations.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/animations/fade.animations.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/animations/index.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/animations/modal.animations.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/animations/slide.animations.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/components/breadcrumb/breadcrumb.component.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/components/button/button.component.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/components/chart/chart.component.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/components/confirmation/confirmation.component.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/components/http-error-wrapper/http-error-wrapper.component.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/components/index.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/components/loader-bar/loader-bar.component.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/components/modal/modal.component.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/components/sort-order-icon/sort-order-icon.component.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/components/table-empty-message/table-empty-message.component.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/components/toast/toast.component.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/constants/styles.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/directives/index.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/directives/table-sort.directive.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/handlers/error.handler.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/models/common.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/models/confirmation.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/models/index.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/models/setting-management.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/models/statistics.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/models/toaster.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/services/confirmation.service.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/services/index.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/services/toaster.service.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/theme-shared.module.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/tokens/http-error.token.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/utils/date-parser-formatter.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/utils/index.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/lib/utils/widget-utils.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm2015/public-api.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/abp-ng.theme.shared.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/abstracts/toaster.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/animations/bounce.animations.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/animations/collapse.animations.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/animations/fade.animations.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/animations/index.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/animations/modal.animations.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/animations/slide.animations.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/components/breadcrumb/breadcrumb.component.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/components/button/button.component.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/components/chart/chart.component.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/components/confirmation/confirmation.component.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/components/http-error-wrapper/http-error-wrapper.component.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/components/index.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/components/loader-bar/loader-bar.component.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/components/modal/modal.component.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/components/sort-order-icon/sort-order-icon.component.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/components/table-empty-message/table-empty-message.component.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/components/toast/toast.component.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/constants/styles.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/directives/index.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/directives/table-sort.directive.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/handlers/error.handler.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/models/common.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/models/confirmation.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/models/index.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/models/setting-management.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/models/statistics.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/models/toaster.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/services/confirmation.service.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/services/index.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/services/toaster.service.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/theme-shared.module.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/tokens/http-error.token.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/utils/date-parser-formatter.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/utils/index.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/lib/utils/widget-utils.js delete mode 100644 npm/ng-packs/dist/theme-shared/esm5/public-api.js delete mode 100644 npm/ng-packs/dist/theme-shared/fesm2015/abp-ng.theme.shared.js delete mode 100644 npm/ng-packs/dist/theme-shared/fesm2015/abp-ng.theme.shared.js.map delete mode 100644 npm/ng-packs/dist/theme-shared/fesm5/abp-ng.theme.shared.js delete mode 100644 npm/ng-packs/dist/theme-shared/fesm5/abp-ng.theme.shared.js.map delete mode 100644 npm/ng-packs/dist/theme-shared/lib/abstracts/toaster.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/animations/bounce.animations.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/animations/collapse.animations.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/animations/fade.animations.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/animations/index.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/animations/modal.animations.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/animations/slide.animations.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/components/breadcrumb/breadcrumb.component.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/components/button/button.component.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/components/chart/chart.component.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/components/confirmation/confirmation.component.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/components/http-error-wrapper/http-error-wrapper.component.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/components/index.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/components/loader-bar/loader-bar.component.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/components/modal/modal.component.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/components/sort-order-icon/sort-order-icon.component.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/components/table-empty-message/table-empty-message.component.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/components/toast/toast.component.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/constants/styles.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/directives/index.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/directives/table-sort.directive.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/handlers/error.handler.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/models/common.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/models/confirmation.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/models/index.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/models/setting-management.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/models/statistics.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/models/toaster.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/services/confirmation.service.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/services/index.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/services/toaster.service.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/theme-shared.module.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/tokens/http-error.token.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/utils/date-parser-formatter.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/utils/index.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/lib/utils/widget-utils.d.ts delete mode 100644 npm/ng-packs/dist/theme-shared/package.json delete mode 100644 npm/ng-packs/dist/theme-shared/public-api.d.ts diff --git a/npm/ng-packs/.gitignore b/npm/ng-packs/.gitignore index f85ca805fc1..19a56a732f5 100644 --- a/npm/ng-packs/.gitignore +++ b/npm/ng-packs/.gitignore @@ -3,7 +3,7 @@ # compiled output /tmp /out-tsc -/dist/dev-app +/dist # Only exists if Bazel was run /bazel-out @@ -45,5 +45,4 @@ testem.log .DS_Store Thumbs.db -# Packages -!**/[Pp]ackages/* +!**/[Pp]ackages/* \ No newline at end of file diff --git a/npm/ng-packs/dist/account-config/README.md b/npm/ng-packs/dist/account-config/README.md deleted file mode 100644 index 8212588145f..00000000000 --- a/npm/ng-packs/dist/account-config/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# @abp/ng.account.config - -[docs.abp.io](https://docs.abp.io) diff --git a/npm/ng-packs/dist/account-config/abp-ng.account.config.d.ts b/npm/ng-packs/dist/account-config/abp-ng.account.config.d.ts deleted file mode 100644 index e5daacf63e5..00000000000 --- a/npm/ng-packs/dist/account-config/abp-ng.account.config.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * Generated bundle index. Do not edit. - */ -export * from './public-api'; diff --git a/npm/ng-packs/dist/account-config/abp-ng.account.config.metadata.json b/npm/ng-packs/dist/account-config/abp-ng.account.config.metadata.json deleted file mode 100644 index a0c81f9f44b..00000000000 --- a/npm/ng-packs/dist/account-config/abp-ng.account.config.metadata.json +++ /dev/null @@ -1 +0,0 @@ -{"__symbolic":"module","version":4,"metadata":{"AccountConfigService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":8,"character":30},{"__symbolic":"reference","module":"@abp/ng.core","name":"RestService","line":8,"character":59}]}]},"statics":{"ngInjectableDef":{}}},"AccountConfigOptions":{"__symbolic":"interface"},"accountOptionsFactory":{"__symbolic":"function","parameters":["options"],"value":{"redirectUrl":"/"}},"ACCOUNT_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":16,"character":35},"arguments":["ACCOUNT_OPTIONS"]},"AccountConfigModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":18,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@abp/ng.core","name":"CoreModule","line":19,"character":12},{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ThemeSharedModule","line":19,"character":24}],"providers":[{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_INITIALIZER","line":20,"character":25},"multi":true,"deps":[{"__symbolic":"reference","name":"AccountConfigService"}],"useFactory":{"__symbolic":"reference","module":"@abp/ng.core","name":"noop","line":20,"character":97}}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["options"],"defaults":[{}],"value":{"ngModule":{"__symbolic":"reference","name":"AccountConfigModule"},"providers":[{"provide":{"__symbolic":"reference","name":"ACCOUNT_OPTIONS"},"useValue":{"__symbolic":"reference","name":"options"}},{"provide":"ACCOUNT_OPTIONS","useFactory":{"__symbolic":"reference","name":"accountOptionsFactory"},"deps":[{"__symbolic":"reference","name":"ACCOUNT_OPTIONS"}]}]}}}}},"origins":{"AccountConfigService":"./lib/services/account-config.service","AccountConfigOptions":"./lib/account-config.module","accountOptionsFactory":"./lib/account-config.module","ACCOUNT_OPTIONS":"./lib/account-config.module","AccountConfigModule":"./lib/account-config.module"},"importAs":"@abp/ng.account.config"} \ No newline at end of file diff --git a/npm/ng-packs/dist/account-config/bundles/abp-ng.account.config.umd.js b/npm/ng-packs/dist/account-config/bundles/abp-ng.account.config.umd.js deleted file mode 100644 index 97289b3575c..00000000000 --- a/npm/ng-packs/dist/account-config/bundles/abp-ng.account.config.umd.js +++ /dev/null @@ -1,316 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@abp/ng.core'), require('@angular/core'), require('@angular/router'), require('@abp/ng.theme.shared')) : - typeof define === 'function' && define.amd ? define('@abp/ng.account.config', ['exports', '@abp/ng.core', '@angular/core', '@angular/router', '@abp/ng.theme.shared'], factory) : - (global = global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng.account = global.abp.ng.account || {}, global.abp.ng.account.config = {}), global.ng_core, global.ng.core, global.ng.router, global.ng_theme_shared)); -}(this, (function (exports, ng_core, core, router, ng_theme_shared) { 'use strict'; - - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ - /* global Reflect, Promise */ - - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - - function __extends(d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - } - - var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); - }; - - function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; - } - - function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; - } - - function __param(paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } - } - - function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); - } - - function __awaiter(thisArg, _arguments, P, generator) { - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - } - - function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (_) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } - } - - function __exportStar(m, exports) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; - } - - function __values(o) { - var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0; - if (m) return m.call(o); - return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; - } - - function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; - } - - function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; - } - - function __spreadArrays() { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; - for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; - return r; - }; - - function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); - } - - function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } - } - - function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } - } - - function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); - function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } - } - - function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; - }; - - function __importStar(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result.default = mod; - return result; - } - - function __importDefault(mod) { - return (mod && mod.__esModule) ? mod : { default: mod }; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/account-config.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var AccountConfigService = /** @class */ (function () { - function AccountConfigService(router, restService) { - this.router = router; - this.restService = restService; - ng_core.addAbpRoutes({ - name: 'AbpAccount::Menu:Account', - path: 'account', - invisible: true, - layout: "application" /* application */, - children: [ - { path: 'login', name: 'AbpAccount::Login', order: 1 }, - { path: 'register', name: 'AbpAccount::Register', order: 2 }, - { path: 'manage-profile', name: 'AbpAccount::ManageYourProfile', order: 3 }, - ], - }); - } - AccountConfigService.decorators = [ - { type: core.Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - AccountConfigService.ctorParameters = function () { return [ - { type: router.Router }, - { type: ng_core.RestService } - ]; }; - /** @nocollapse */ AccountConfigService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function AccountConfigService_Factory() { return new AccountConfigService(core.ɵɵinject(router.Router), core.ɵɵinject(ng_core.RestService)); }, token: AccountConfigService, providedIn: "root" }); - return AccountConfigService; - }()); - if (false) { - /** - * @type {?} - * @private - */ - AccountConfigService.prototype.router; - /** - * @type {?} - * @private - */ - AccountConfigService.prototype.restService; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/account-config.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * @record - */ - function AccountConfigOptions() { } - if (false) { - /** @type {?|undefined} */ - AccountConfigOptions.prototype.redirectUrl; - } - /** - * @param {?} options - * @return {?} - */ - function accountOptionsFactory(options) { - return __assign({ redirectUrl: '/' }, options); - } - /** @type {?} */ - var ACCOUNT_OPTIONS = new core.InjectionToken('ACCOUNT_OPTIONS'); - var ɵ0 = ng_core.noop; - var AccountConfigModule = /** @class */ (function () { - function AccountConfigModule() { - } - /** - * @param {?=} options - * @return {?} - */ - AccountConfigModule.forRoot = /** - * @param {?=} options - * @return {?} - */ - function (options) { - if (options === void 0) { options = (/** @type {?} */ ({})); } - return { - ngModule: AccountConfigModule, - providers: [ - { provide: ACCOUNT_OPTIONS, useValue: options }, - { - provide: 'ACCOUNT_OPTIONS', - useFactory: accountOptionsFactory, - deps: [ACCOUNT_OPTIONS], - }, - ], - }; - }; - AccountConfigModule.decorators = [ - { type: core.NgModule, args: [{ - imports: [ng_core.CoreModule, ng_theme_shared.ThemeSharedModule], - providers: [{ provide: core.APP_INITIALIZER, multi: true, deps: [AccountConfigService], useFactory: ɵ0 }], - },] } - ]; - return AccountConfigModule; - }()); - - exports.ACCOUNT_OPTIONS = ACCOUNT_OPTIONS; - exports.AccountConfigModule = AccountConfigModule; - exports.AccountConfigService = AccountConfigService; - exports.accountOptionsFactory = accountOptionsFactory; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); -//# sourceMappingURL=abp-ng.account.config.umd.js.map diff --git a/npm/ng-packs/dist/account-config/bundles/abp-ng.account.config.umd.js.map b/npm/ng-packs/dist/account-config/bundles/abp-ng.account.config.umd.js.map deleted file mode 100644 index cf78cc6eab8..00000000000 --- a/npm/ng-packs/dist/account-config/bundles/abp-ng.account.config.umd.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.account.config.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","ng://@abp/ng.account.config/lib/services/account-config.service.ts","ng://@abp/ng.account.config/lib/account-config.module.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { eLayoutType, RestService, addAbpRoutes } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AccountConfigService {\r\n constructor(private router: Router, private restService: RestService) {\r\n addAbpRoutes({\r\n name: 'AbpAccount::Menu:Account',\r\n path: 'account',\r\n invisible: true,\r\n layout: eLayoutType.application,\r\n children: [\r\n { path: 'login', name: 'AbpAccount::Login', order: 1 },\r\n { path: 'register', name: 'AbpAccount::Register', order: 2 },\r\n { path: 'manage-profile', name: 'AbpAccount::ManageYourProfile', order: 3 },\r\n ],\r\n });\r\n }\r\n}\r\n","import { CoreModule, noop } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { APP_INITIALIZER, InjectionToken, ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { AccountConfigService } from './services/account-config.service';\r\n\r\nexport interface AccountConfigOptions {\r\n redirectUrl?: string;\r\n}\r\n\r\nexport function accountOptionsFactory(options: AccountConfigOptions) {\r\n return {\r\n redirectUrl: '/',\r\n ...options,\r\n };\r\n}\r\n\r\nexport const ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS');\r\n\r\n@NgModule({\r\n imports: [CoreModule, ThemeSharedModule],\r\n providers: [{ provide: APP_INITIALIZER, multi: true, deps: [AccountConfigService], useFactory: noop }],\r\n})\r\nexport class AccountConfigModule {\r\n static forRoot(options = {} as AccountConfigOptions): ModuleWithProviders {\r\n return {\r\n ngModule: AccountConfigModule,\r\n providers: [\r\n { provide: ACCOUNT_OPTIONS, useValue: options },\r\n {\r\n provide: 'ACCOUNT_OPTIONS',\r\n useFactory: accountOptionsFactory,\r\n deps: [ACCOUNT_OPTIONS],\r\n },\r\n ],\r\n };\r\n }\r\n}\r\n"],"names":["addAbpRoutes","Injectable","Router","RestService","InjectionToken","noop","NgModule","CoreModule","ThemeSharedModule","APP_INITIALIZER"],"mappings":";;;;;;IAAA;IACA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI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AAe,GAAG,IAAIC,mBAAc,CAAC,iBAAiB,CAAC;aAI6BC,YAAI;AAFrG;QAAA;SAkBC;;;;;QAbQ,2BAAO;;;;QAAd,UAAe,OAAoC;YAApC,wBAAA,EAAA,6BAAU,EAAE,EAAwB;YACjD,OAAO;gBACL,QAAQ,EAAE,mBAAmB;gBAC7B,SAAS,EAAE;oBACT,EAAE,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,OAAO,EAAE;oBAC/C;wBACE,OAAO,EAAE,iBAAiB;wBAC1B,UAAU,EAAE,qBAAqB;wBACjC,IAAI,EAAE,CAAC,eAAe,CAAC;qBACxB;iBACF;aACF,CAAC;SACH;;oBAjBFC,aAAQ,SAAC;wBACR,OAAO,EAAE,CAACC,kBAAU,EAAEC,iCAAiB,CAAC;wBACxC,SAAS,EAAE,CAAC,EAAE,OAAO,EAAEC,oBAAe,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,oBAAoB,CAAC,EAAE,UAAU,IAAM,EAAE,CAAC;qBACvG;;QAeD,0BAAC;KAlBD;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/account-config/bundles/abp-ng.account.config.umd.min.js b/npm/ng-packs/dist/account-config/bundles/abp-ng.account.config.umd.min.js deleted file mode 100644 index 950c70b46f5..00000000000 --- a/npm/ng-packs/dist/account-config/bundles/abp-ng.account.config.umd.min.js +++ /dev/null @@ -1,16 +0,0 @@ -!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@abp/ng.core"),require("@angular/core"),require("@angular/router"),require("@abp/ng.theme.shared")):"function"==typeof define&&define.amd?define("@abp/ng.account.config",["exports","@abp/ng.core","@angular/core","@angular/router","@abp/ng.theme.shared"],r):r(((e=e||self).abp=e.abp||{},e.abp.ng=e.abp.ng||{},e.abp.ng.account=e.abp.ng.account||{},e.abp.ng.account.config={}),e.ng_core,e.ng.core,e.ng.router,e.ng_theme_shared)}(this,(function(e,r,n,o,t){"use strict"; -/*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */var c=function(){return(c=Object.assign||function(e){for(var r,n=1,o=arguments.length;n= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { eLayoutType, RestService, addAbpRoutes } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AccountConfigService {\r\n constructor(private router: Router, private restService: RestService) {\r\n addAbpRoutes({\r\n name: 'AbpAccount::Menu:Account',\r\n path: 'account',\r\n invisible: true,\r\n layout: eLayoutType.application,\r\n children: [\r\n { path: 'login', name: 'AbpAccount::Login', order: 1 },\r\n { path: 'register', name: 'AbpAccount::Register', order: 2 },\r\n { path: 'manage-profile', name: 'AbpAccount::ManageYourProfile', order: 3 },\r\n ],\r\n });\r\n }\r\n}\r\n","import { CoreModule, noop } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { APP_INITIALIZER, InjectionToken, ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { AccountConfigService } from './services/account-config.service';\r\n\r\nexport interface AccountConfigOptions {\r\n redirectUrl?: string;\r\n}\r\n\r\nexport function accountOptionsFactory(options: AccountConfigOptions) {\r\n return {\r\n redirectUrl: '/',\r\n ...options,\r\n };\r\n}\r\n\r\nexport const ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS');\r\n\r\n@NgModule({\r\n imports: [CoreModule, ThemeSharedModule],\r\n providers: [{ provide: APP_INITIALIZER, multi: true, deps: [AccountConfigService], useFactory: noop }],\r\n})\r\nexport class AccountConfigModule {\r\n static forRoot(options = {} as AccountConfigOptions): ModuleWithProviders {\r\n return {\r\n ngModule: AccountConfigModule,\r\n providers: [\r\n { provide: ACCOUNT_OPTIONS, useValue: options },\r\n {\r\n provide: 'ACCOUNT_OPTIONS',\r\n useFactory: accountOptionsFactory,\r\n deps: [ACCOUNT_OPTIONS],\r\n },\r\n ],\r\n };\r\n }\r\n}\r\n"]} \ No newline at end of file diff --git a/npm/ng-packs/dist/account-config/esm2015/abp-ng.account.config.js b/npm/ng-packs/dist/account-config/esm2015/abp-ng.account.config.js deleted file mode 100644 index d299f824b3f..00000000000 --- a/npm/ng-packs/dist/account-config/esm2015/abp-ng.account.config.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.account.config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { AccountConfigService, accountOptionsFactory, ACCOUNT_OPTIONS, AccountConfigModule } from './public-api'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLmFjY291bnQuY29uZmlnLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5hY2NvdW50LmNvbmZpZy8iLCJzb3VyY2VzIjpbImFicC1uZy5hY2NvdW50LmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLGtHQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/account-config/esm2015/lib/account-config.module.js b/npm/ng-packs/dist/account-config/esm2015/lib/account-config.module.js deleted file mode 100644 index 80b53b54aa3..00000000000 --- a/npm/ng-packs/dist/account-config/esm2015/lib/account-config.module.js +++ /dev/null @@ -1,54 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/account-config.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { CoreModule, noop } from '@abp/ng.core'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; -import { APP_INITIALIZER, InjectionToken, NgModule } from '@angular/core'; -import { AccountConfigService } from './services/account-config.service'; -/** - * @record - */ -export function AccountConfigOptions() { } -if (false) { - /** @type {?|undefined} */ - AccountConfigOptions.prototype.redirectUrl; -} -/** - * @param {?} options - * @return {?} - */ -export function accountOptionsFactory(options) { - return Object.assign({ redirectUrl: '/' }, options); -} -/** @type {?} */ -export const ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS'); -const ɵ0 = noop; -export class AccountConfigModule { - /** - * @param {?=} options - * @return {?} - */ - static forRoot(options = (/** @type {?} */ ({}))) { - return { - ngModule: AccountConfigModule, - providers: [ - { provide: ACCOUNT_OPTIONS, useValue: options }, - { - provide: 'ACCOUNT_OPTIONS', - useFactory: accountOptionsFactory, - deps: [ACCOUNT_OPTIONS], - }, - ], - }; - } -} -AccountConfigModule.decorators = [ - { type: NgModule, args: [{ - imports: [CoreModule, ThemeSharedModule], - providers: [{ provide: APP_INITIALIZER, multi: true, deps: [AccountConfigService], useFactory: ɵ0 }], - },] } -]; -export { ɵ0 }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudC1jb25maWcubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5hY2NvdW50LmNvbmZpZy8iLCJzb3VyY2VzIjpbImxpYi9hY2NvdW50LWNvbmZpZy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLElBQUksRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUNoRCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUN6RCxPQUFPLEVBQUUsZUFBZSxFQUFFLGNBQWMsRUFBdUIsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQy9GLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLG1DQUFtQyxDQUFDOzs7O0FBRXpFLDBDQUVDOzs7SUFEQywyQ0FBcUI7Ozs7OztBQUd2QixNQUFNLFVBQVUscUJBQXFCLENBQUMsT0FBNkI7SUFDakUsdUJBQ0UsV0FBVyxFQUFFLEdBQUcsSUFDYixPQUFPLEVBQ1Y7QUFDSixDQUFDOztBQUVELE1BQU0sT0FBTyxlQUFlLEdBQUcsSUFBSSxjQUFjLENBQUMsaUJBQWlCLENBQUM7V0FJNkIsSUFBSTtBQUVyRyxNQUFNLE9BQU8sbUJBQW1COzs7OztJQUM5QixNQUFNLENBQUMsT0FBTyxDQUFDLE9BQU8sR0FBRyxtQkFBQSxFQUFFLEVBQXdCO1FBQ2pELE9BQU87WUFDTCxRQUFRLEVBQUUsbUJBQW1CO1lBQzdCLFNBQVMsRUFBRTtnQkFDVCxFQUFFLE9BQU8sRUFBRSxlQUFlLEVBQUUsUUFB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uIHtcclxuICAgIHJlZGlyZWN0VXJsOiAnLycsXHJcbiAgICAuLi5vcHRpb25zLFxyXG4gIH07XHJcbn1cclxuXHJcbmV4cG9ydCBjb25zdCBBQ0NPVU5UX09QVElPTlMgPSBuZXcgSW5qZWN0aW9uVG9rZW4oJ0FDQ09VTlRfT1BUSU9OUycpO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBpbXBvcnRzOiBbQ29yZU1vZHVsZSwgVGhlbWVTaGFyZWRNb2R1bGVdLFxyXG4gIHByb3ZpZGVyczogW3sgcHJvdmlkZTogQVBQX0lOSVRJQUxJWkVSLCBtdWx0aTogdHJ1ZSwgZGVwczogW0FjY291bnRDb25maWdTZXJ2aWNlXSwgdXNlRmFjdG9yeTogbm9vcCB9XSxcclxufSlcclxuZXhwb3J0IGNsYXNzIEFjY291bnRDb25maWdNb2R1bGUge1xyXG4gIHN0YXRpYyBmb3JSb290KG9wdGlvbnMgPSB7fSBhcyBBY2NvdW50Q29uZmlnT3B0aW9ucyk6IE1vZHVsZVdpdGhQcm92aWRlcnMge1xyXG4gICAgcmV0dXJuIHtcclxuICAgICAgbmdNb2R1bGU6IEFjY291bnRDb25maWdNb2R1bGUsXHJcbiAgICAgIHByb3ZpZGVyczogW1xyXG4gICAgICAgIHsgcHJvdmlkZTogQUNDT1VOVF9PUFRJT05TLCB1c2VWYWx1ZTogb3B0aW9ucyB9LFxyXG4gICAgICAgIHtcclxuICAgICAgICAgIHByb3ZpZGU6ICdBQ0NPVU5UX09QVElPTlMnLFxyXG4gICAgICAgICAgdXNlRmFjdG9yeTogYWNjb3VudE9wdGlvbnNGYWN0b3J5LFxyXG4gICAgICAgICAgZGVwczogW0FDQ09VTlRfT1BUSU9OU10sXHJcbiAgICAgICAgfSxcclxuICAgICAgXSxcclxuICAgIH07XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/account-config/esm2015/lib/services/account-config.service.js b/npm/ng-packs/dist/account-config/esm2015/lib/services/account-config.service.js deleted file mode 100644 index ab19fff2610..00000000000 --- a/npm/ng-packs/dist/account-config/esm2015/lib/services/account-config.service.js +++ /dev/null @@ -1,56 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/account-config.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { RestService, addAbpRoutes } from '@abp/ng.core'; -import { Injectable } from '@angular/core'; -import { Router } from '@angular/router'; -import * as i0 from "@angular/core"; -import * as i1 from "@angular/router"; -import * as i2 from "@abp/ng.core"; -export class AccountConfigService { - /** - * @param {?} router - * @param {?} restService - */ - constructor(router, restService) { - this.router = router; - this.restService = restService; - addAbpRoutes({ - name: 'AbpAccount::Menu:Account', - path: 'account', - invisible: true, - layout: "application" /* application */, - children: [ - { path: 'login', name: 'AbpAccount::Login', order: 1 }, - { path: 'register', name: 'AbpAccount::Register', order: 2 }, - { path: 'manage-profile', name: 'AbpAccount::ManageYourProfile', order: 3 }, - ], - }); - } -} -AccountConfigService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -AccountConfigService.ctorParameters = () => [ - { type: Router }, - { type: RestService } -]; -/** @nocollapse */ AccountConfigService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function AccountConfigService_Factory() { return new AccountConfigService(i0.ɵɵinject(i1.Router), i0.ɵɵinject(i2.RestService)); }, token: AccountConfigService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - AccountConfigService.prototype.router; - /** - * @type {?} - * @private - */ - AccountConfigService.prototype.restService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudC1jb25maWcuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuYWNjb3VudC5jb25maWcvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvYWNjb3VudC1jb25maWcuc2VydmljZ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VMYXlvdXRUeXBlLCBSZXN0U2VydmljZSwgYWRkQWJwUm91dGVzIH0gZnJvbSAnQGFicC9uZy5jb3JlJztcclxuaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBSb3V0ZXIgfSBmcm9tICdAYW5ndWxhci9yb3V0ZXInO1xyXG5cclxuQEluamVjdGFibGUoe1xyXG4gIHByb3ZpZGVkSW46ICdyb290JyxcclxufSlcclxuZXhwb3J0IGNsYXNzIEFjY291bnRDb25maWdTZXJ2aWNlIHtcclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHJvdXRlcjogUm91dGVyLCBwcml2YXRlIHJlc3RTZXJ2aWNlOiBSZXN0U2VydmljZSkge1xyXG4gICAgYWRkQWJwUm91dGVzKHtcclxuICAgICAgbmFtZTogJ0FicEFjY291bnQ6Ok1lbnU6QWNjb3VudCcsXHJcbiAgICAgIHBhdGg6ICdhY2NvdW50JyxcclxuICAgICAgaW52aXNpYmxlOiB0cnVlLFxyXG4gICAgICBsYXlvdXQ6IGVMYXlvdXRUeXBlLmFwcGxpY2F0aW9uLFxyXG4gICAgICBjaGlsZHJlbjogW1xyXG4gICAgICAgIHsgcGF0aDogJ2xvZ2luJywgbmFtZTogJ0FicEFjY291bnQ6OkxvZ2luJywgb3JkZXI6IDEgfSxcclxuICAgICAgICB7IHBhdGg6ICdyZWdpc3RlcicsIG5hbWU6ICdBYnBBY2NvdW50OjpSZWdpc3RlcicsIG9yZGVyOiAyIH0sXHJcbiAgICAgICAgeyBwYXRoOiAnbWFuYWdlLXByb2ZpbGUnLCBuYW1lOiAnQWJwQWNjb3VudDo6TWFuYWdlWW91clByb2ZpbGUnLCBvcmRlcjogMyB9LFxyXG4gICAgICBdLFxyXG4gICAgfSk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/account-config/esm2015/public-api.js b/npm/ng-packs/dist/account-config/esm2015/public-api.js deleted file mode 100644 index 3b90843e561..00000000000 --- a/npm/ng-packs/dist/account-config/esm2015/public-api.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { AccountConfigService } from './lib/services/account-config.service'; -export { accountOptionsFactory, ACCOUNT_OPTIONS, AccountConfigModule } from './lib/account-config.module'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuYWNjb3VudC5jb25maWcvIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEscUNBQWMsdUNBQXVDLENBQUM7QUFDdEQsNEVBQWMsNkJBQTZCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9zZXJ2aWNlcy9hY2NvdW50LWNvbmZpZy5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvYWNjb3VudC1jb25maWcubW9kdWxlJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/account-config/esm5/abp-ng.account.config.js b/npm/ng-packs/dist/account-config/esm5/abp-ng.account.config.js deleted file mode 100644 index d299f824b3f..00000000000 --- a/npm/ng-packs/dist/account-config/esm5/abp-ng.account.config.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.account.config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { AccountConfigService, accountOptionsFactory, ACCOUNT_OPTIONS, AccountConfigModule } from './public-api'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLmFjY291bnQuY29uZmlnLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5hY2NvdW50LmNvbmZpZy8iLCJzb3VyY2VzIjpbImFicC1uZy5hY2NvdW50LmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLGtHQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/account-config/esm5/lib/account-config.module.js b/npm/ng-packs/dist/account-config/esm5/lib/account-config.module.js deleted file mode 100644 index a8e30ce6f7b..00000000000 --- a/npm/ng-packs/dist/account-config/esm5/lib/account-config.module.js +++ /dev/null @@ -1,64 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/account-config.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { CoreModule, noop } from '@abp/ng.core'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; -import { APP_INITIALIZER, InjectionToken, NgModule } from '@angular/core'; -import { AccountConfigService } from './services/account-config.service'; -/** - * @record - */ -export function AccountConfigOptions() { } -if (false) { - /** @type {?|undefined} */ - AccountConfigOptions.prototype.redirectUrl; -} -/** - * @param {?} options - * @return {?} - */ -export function accountOptionsFactory(options) { - return tslib_1.__assign({ redirectUrl: '/' }, options); -} -/** @type {?} */ -export var ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS'); -var ɵ0 = noop; -var AccountConfigModule = /** @class */ (function () { - function AccountConfigModule() { - } - /** - * @param {?=} options - * @return {?} - */ - AccountConfigModule.forRoot = /** - * @param {?=} options - * @return {?} - */ - function (options) { - if (options === void 0) { options = (/** @type {?} */ ({})); } - return { - ngModule: AccountConfigModule, - providers: [ - { provide: ACCOUNT_OPTIONS, useValue: options }, - { - provide: 'ACCOUNT_OPTIONS', - useFactory: accountOptionsFactory, - deps: [ACCOUNT_OPTIONS], - }, - ], - }; - }; - AccountConfigModule.decorators = [ - { type: NgModule, args: [{ - imports: [CoreModule, ThemeSharedModule], - providers: [{ provide: APP_INITIALIZER, multi: true, deps: [AccountConfigService], useFactory: ɵ0 }], - },] } - ]; - return AccountConfigModule; -}()); -export { AccountConfigModule }; -export { ɵ0 }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudC1jb25maWcubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5hY2NvdW50LmNvbmZpZy8iLCJzb3VyY2VzIjpbImxpYi9hY2NvdW50LWNvbmZpZy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxJQUFJLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDaEQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDekQsT0FBTyxFQUFFLGVBQWUsRUFBRSxjQUFjLEVBQXVCLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMvRixPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQzs7OztBQUV6RSwwQ0FFQzs7O0lBREMsMkNBQXFCOzs7Ozs7QUFHdkIsTUFBTSxVQUFVLHFCQUFxQixDQUFDLE9BQTZCO0lBQ2pFLDBCQUNFLFdBQVcsRUFBRSxHQUFHLElBQ2IsT0FBTyxFQUNWO0FBQ0osQ0FBQzs7QUFFRCxNQUFNLEtBQU8sZUFBZSxHQUFHLElBQUksY0FBYy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pb25zIH0sXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgcHJvdmlkZTogJ0FDQ09VTlRfT1BUSU9OUycsXHJcbiAgICAgICAgICB1c2VGYWN0b3J5OiBhY2NvdW50T3B0aW9uc0ZhY3RvcnksXHJcbiAgICAgICAgICBkZXBzOiBbQUNDT1VOVF9PUFRJT05TXSxcclxuICAgICAgICB9LFxyXG4gICAgICBdLFxyXG4gICAgfTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/account-config/esm5/lib/services/account-config.service.js b/npm/ng-packs/dist/account-config/esm5/lib/services/account-config.service.js deleted file mode 100644 index 379ac6d64ed..00000000000 --- a/npm/ng-packs/dist/account-config/esm5/lib/services/account-config.service.js +++ /dev/null @@ -1,54 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/account-config.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { RestService, addAbpRoutes } from '@abp/ng.core'; -import { Injectable } from '@angular/core'; -import { Router } from '@angular/router'; -import * as i0 from "@angular/core"; -import * as i1 from "@angular/router"; -import * as i2 from "@abp/ng.core"; -var AccountConfigService = /** @class */ (function () { - function AccountConfigService(router, restService) { - this.router = router; - this.restService = restService; - addAbpRoutes({ - name: 'AbpAccount::Menu:Account', - path: 'account', - invisible: true, - layout: "application" /* application */, - children: [ - { path: 'login', name: 'AbpAccount::Login', order: 1 }, - { path: 'register', name: 'AbpAccount::Register', order: 2 }, - { path: 'manage-profile', name: 'AbpAccount::ManageYourProfile', order: 3 }, - ], - }); - } - AccountConfigService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - AccountConfigService.ctorParameters = function () { return [ - { type: Router }, - { type: RestService } - ]; }; - /** @nocollapse */ AccountConfigService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function AccountConfigService_Factory() { return new AccountConfigService(i0.ɵɵinject(i1.Router), i0.ɵɵinject(i2.RestService)); }, token: AccountConfigService, providedIn: "root" }); - return AccountConfigService; -}()); -export { AccountConfigService }; -if (false) { - /** - * @type {?} - * @private - */ - AccountConfigService.prototype.router; - /** - * @type {?} - * @private - */ - AccountConfigService.prototype.restService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudC1jb25maWcuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuYWNjb3VudC5jb25maWcvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvYWNjb3VudC1jb25maWcuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBZSxXQUFXLEVBQUUsWUFBWSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ3RFLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGlCQUFpQixDQUFDOzs7O0FBRXpDO0lBSUUsOEJBQW9CLE1BQWMsRUFBVSxXQUF3QjtRQUFoRCxXQUFNLEdBQU4sTUFBTSxDQUFRO1FBQVUsZ0JBQVcsR0FBWCxXQUFXLENBQWE7UUFDbEUsWUFBWSxDQUFDO1lBQ1gsSUFBSSxFQUFFLDBCQUEwQjtZQUNoQyxJQUFJLEVBQUUsU0FBUztZQUNmLFNBQVMsRUFBRSxJQUFJO1lBQ2YsTUFBTSxpQ0FBeUI7WUFDL0IsUUFBUSxFQUFFO2dCQUNSLEVBQUUsSUFBSSxFQUFFLE9BQU8sRUFBRSxJQUFJLEVBQUUsbUJBQW1CLEVBQUUsS0FBSyxFQUFFLENBQUMsRUFBRTtnQkFDdEQsRUFBRSxJQUFJLEVBQUUsVUFBVSxFQUFFLElBQUksRUFBRSxzQkFBc0IsRUFBRSxLQUFLLEVBQUUsQ0FBQyxFQUFFO2dCQUM1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BY2NvdW50OjpMb2dpbicsIG9yZGVyOiAxIH0sXHJcbiAgICAgICAgeyBwYXRoOiAncmVnaXN0ZXInLCBuYW1lOiAnQWJwQWNjb3VudDo6UmVnaXN0ZXInLCBvcmRlcjogMiB9LFxyXG4gICAgICAgIHsgcGF0aDogJ21hbmFnZS1wcm9maWxlJywgbmFtZTogJ0FicEFjY291bnQ6Ok1hbmFnZVlvdXJQcm9maWxlJywgb3JkZXI6IDMgfSxcclxuICAgICAgXSxcclxuICAgIH0pO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/account-config/esm5/public-api.js b/npm/ng-packs/dist/account-config/esm5/public-api.js deleted file mode 100644 index 3b90843e561..00000000000 --- a/npm/ng-packs/dist/account-config/esm5/public-api.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { AccountConfigService } from './lib/services/account-config.service'; -export { accountOptionsFactory, ACCOUNT_OPTIONS, AccountConfigModule } from './lib/account-config.module'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuYWNjb3VudC5jb25maWcvIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEscUNBQWMsdUNBQXVDLENBQUM7QUFDdEQsNEVBQWMsNkJBQTZCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9zZXJ2aWNlcy9hY2NvdW50LWNvbmZpZy5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvYWNjb3VudC1jb25maWcubW9kdWxlJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/account-config/fesm2015/abp-ng.account.config.js b/npm/ng-packs/dist/account-config/fesm2015/abp-ng.account.config.js deleted file mode 100644 index 0b2623f4a2d..00000000000 --- a/npm/ng-packs/dist/account-config/fesm2015/abp-ng.account.config.js +++ /dev/null @@ -1,118 +0,0 @@ -import { addAbpRoutes, RestService, noop, CoreModule } from '@abp/ng.core'; -import { Injectable, ɵɵdefineInjectable, ɵɵinject, InjectionToken, NgModule, APP_INITIALIZER } from '@angular/core'; -import { Router } from '@angular/router'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/account-config.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class AccountConfigService { - /** - * @param {?} router - * @param {?} restService - */ - constructor(router, restService) { - this.router = router; - this.restService = restService; - addAbpRoutes({ - name: 'AbpAccount::Menu:Account', - path: 'account', - invisible: true, - layout: "application" /* application */, - children: [ - { path: 'login', name: 'AbpAccount::Login', order: 1 }, - { path: 'register', name: 'AbpAccount::Register', order: 2 }, - { path: 'manage-profile', name: 'AbpAccount::ManageYourProfile', order: 3 }, - ], - }); - } -} -AccountConfigService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -AccountConfigService.ctorParameters = () => [ - { type: Router }, - { type: RestService } -]; -/** @nocollapse */ AccountConfigService.ngInjectableDef = ɵɵdefineInjectable({ factory: function AccountConfigService_Factory() { return new AccountConfigService(ɵɵinject(Router), ɵɵinject(RestService)); }, token: AccountConfigService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - AccountConfigService.prototype.router; - /** - * @type {?} - * @private - */ - AccountConfigService.prototype.restService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/account-config.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -function AccountConfigOptions() { } -if (false) { - /** @type {?|undefined} */ - AccountConfigOptions.prototype.redirectUrl; -} -/** - * @param {?} options - * @return {?} - */ -function accountOptionsFactory(options) { - return Object.assign({ redirectUrl: '/' }, options); -} -/** @type {?} */ -const ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS'); -const ɵ0 = noop; -class AccountConfigModule { - /** - * @param {?=} options - * @return {?} - */ - static forRoot(options = (/** @type {?} */ ({}))) { - return { - ngModule: AccountConfigModule, - providers: [ - { provide: ACCOUNT_OPTIONS, useValue: options }, - { - provide: 'ACCOUNT_OPTIONS', - useFactory: accountOptionsFactory, - deps: [ACCOUNT_OPTIONS], - }, - ], - }; - } -} -AccountConfigModule.decorators = [ - { type: NgModule, args: [{ - imports: [CoreModule, ThemeSharedModule], - providers: [{ provide: APP_INITIALIZER, multi: true, deps: [AccountConfigService], useFactory: ɵ0 }], - },] } -]; - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.account.config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { ACCOUNT_OPTIONS, AccountConfigModule, AccountConfigService, accountOptionsFactory }; -//# sourceMappingURL=abp-ng.account.config.js.map diff --git a/npm/ng-packs/dist/account-config/fesm2015/abp-ng.account.config.js.map b/npm/ng-packs/dist/account-config/fesm2015/abp-ng.account.config.js.map deleted file mode 100644 index 8b67b565089..00000000000 --- a/npm/ng-packs/dist/account-config/fesm2015/abp-ng.account.config.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.account.config.js","sources":["ng://@abp/ng.account.config/lib/services/account-config.service.ts","ng://@abp/ng.account.config/lib/account-config.module.ts"],"sourcesContent":["import { eLayoutType, RestService, addAbpRoutes } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AccountConfigService {\r\n constructor(private router: Router, private restService: RestService) {\r\n addAbpRoutes({\r\n name: 'AbpAccount::Menu:Account',\r\n path: 'account',\r\n invisible: true,\r\n layout: eLayoutType.application,\r\n children: [\r\n { path: 'login', name: 'AbpAccount::Login', order: 1 },\r\n { path: 'register', name: 'AbpAccount::Register', order: 2 },\r\n { path: 'manage-profile', name: 'AbpAccount::ManageYourProfile', order: 3 },\r\n ],\r\n });\r\n }\r\n}\r\n","import { CoreModule, noop } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { APP_INITIALIZER, InjectionToken, ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { AccountConfigService } from './services/account-config.service';\r\n\r\nexport interface AccountConfigOptions {\r\n redirectUrl?: string;\r\n}\r\n\r\nexport function accountOptionsFactory(options: AccountConfigOptions) {\r\n return {\r\n redirectUrl: '/',\r\n ...options,\r\n };\r\n}\r\n\r\nexport const ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS');\r\n\r\n@NgModule({\r\n imports: [CoreModule, ThemeSharedModule],\r\n providers: [{ provide: APP_INITIALIZER, multi: true, deps: [AccountConfigService], useFactory: noop }],\r\n})\r\nexport class AccountConfigModule {\r\n static forRoot(options = {} as AccountConfigOptions): ModuleWithProviders {\r\n return {\r\n ngModule: AccountConfigModule,\r\n providers: [\r\n { provide: ACCOUNT_OPTIONS, useValue: options },\r\n {\r\n provide: 'ACCOUNT_OPTIONS',\r\n useFactory: accountOptionsFactory,\r\n deps: [ACCOUNT_OPTIONS],\r\n },\r\n ],\r\n };\r\n }\r\n}\r\n"],"names":[],"mappings":";;;;;;;;;;AAAA,MAOa,oBAAoB;;;;;IAC/B,YAAoB,MAAc,EAAU,WAAwB;QAAhD,WAAM,GAAN,MAAM,CAAQ;QAAU,gBAAW,GAAX,WAA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E,IAAI,EAAE,CAAC,oBAAoB,CAAC,EAAE,UAAU,IAAM,EAAE,CAAC;aACvG;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/account-config/fesm5/abp-ng.account.config.js b/npm/ng-packs/dist/account-config/fesm5/abp-ng.account.config.js deleted file mode 100644 index d4c75438485..00000000000 --- a/npm/ng-packs/dist/account-config/fesm5/abp-ng.account.config.js +++ /dev/null @@ -1,124 +0,0 @@ -import { addAbpRoutes, RestService, noop, CoreModule } from '@abp/ng.core'; -import { Injectable, ɵɵdefineInjectable, ɵɵinject, InjectionToken, NgModule, APP_INITIALIZER } from '@angular/core'; -import { Router } from '@angular/router'; -import { __assign } from 'tslib'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/account-config.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var AccountConfigService = /** @class */ (function () { - function AccountConfigService(router, restService) { - this.router = router; - this.restService = restService; - addAbpRoutes({ - name: 'AbpAccount::Menu:Account', - path: 'account', - invisible: true, - layout: "application" /* application */, - children: [ - { path: 'login', name: 'AbpAccount::Login', order: 1 }, - { path: 'register', name: 'AbpAccount::Register', order: 2 }, - { path: 'manage-profile', name: 'AbpAccount::ManageYourProfile', order: 3 }, - ], - }); - } - AccountConfigService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - AccountConfigService.ctorParameters = function () { return [ - { type: Router }, - { type: RestService } - ]; }; - /** @nocollapse */ AccountConfigService.ngInjectableDef = ɵɵdefineInjectable({ factory: function AccountConfigService_Factory() { return new AccountConfigService(ɵɵinject(Router), ɵɵinject(RestService)); }, token: AccountConfigService, providedIn: "root" }); - return AccountConfigService; -}()); -if (false) { - /** - * @type {?} - * @private - */ - AccountConfigService.prototype.router; - /** - * @type {?} - * @private - */ - AccountConfigService.prototype.restService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/account-config.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -function AccountConfigOptions() { } -if (false) { - /** @type {?|undefined} */ - AccountConfigOptions.prototype.redirectUrl; -} -/** - * @param {?} options - * @return {?} - */ -function accountOptionsFactory(options) { - return __assign({ redirectUrl: '/' }, options); -} -/** @type {?} */ -var ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS'); -var ɵ0 = noop; -var AccountConfigModule = /** @class */ (function () { - function AccountConfigModule() { - } - /** - * @param {?=} options - * @return {?} - */ - AccountConfigModule.forRoot = /** - * @param {?=} options - * @return {?} - */ - function (options) { - if (options === void 0) { options = (/** @type {?} */ ({})); } - return { - ngModule: AccountConfigModule, - providers: [ - { provide: ACCOUNT_OPTIONS, useValue: options }, - { - provide: 'ACCOUNT_OPTIONS', - useFactory: accountOptionsFactory, - deps: [ACCOUNT_OPTIONS], - }, - ], - }; - }; - AccountConfigModule.decorators = [ - { type: NgModule, args: [{ - imports: [CoreModule, ThemeSharedModule], - providers: [{ provide: APP_INITIALIZER, multi: true, deps: [AccountConfigService], useFactory: ɵ0 }], - },] } - ]; - return AccountConfigModule; -}()); - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.account.config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { ACCOUNT_OPTIONS, AccountConfigModule, AccountConfigService, accountOptionsFactory }; -//# sourceMappingURL=abp-ng.account.config.js.map diff --git a/npm/ng-packs/dist/account-config/fesm5/abp-ng.account.config.js.map b/npm/ng-packs/dist/account-config/fesm5/abp-ng.account.config.js.map deleted file mode 100644 index 77c86cb94a6..00000000000 --- a/npm/ng-packs/dist/account-config/fesm5/abp-ng.account.config.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.account.config.js","sources":["ng://@abp/ng.account.config/lib/services/account-config.service.ts","ng://@abp/ng.account.config/lib/account-config.module.ts"],"sourcesContent":["import { eLayoutType, RestService, addAbpRoutes } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AccountConfigService {\r\n constructor(private router: Router, private restService: RestService) {\r\n addAbpRoutes({\r\n name: 'AbpAccount::Menu:Account',\r\n path: 'account',\r\n invisible: true,\r\n layout: eLayoutType.application,\r\n children: [\r\n { path: 'login', name: 'AbpAccount::Login', order: 1 },\r\n { path: 'register', name: 'AbpAccount::Register', order: 2 },\r\n { path: 'manage-profile', name: 'AbpAccount::ManageYourProfile', order: 3 },\r\n ],\r\n });\r\n }\r\n}\r\n","import { CoreModule, noop } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { APP_INITIALIZER, InjectionToken, ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { AccountConfigService } from './services/account-config.service';\r\n\r\nexport interface AccountConfigOptions {\r\n redirectUrl?: string;\r\n}\r\n\r\nexport function accountOptionsFactory(options: AccountConfigOptions) {\r\n return {\r\n redirectUrl: '/',\r\n ...options,\r\n };\r\n}\r\n\r\nexport const ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS');\r\n\r\n@NgModule({\r\n imports: [CoreModule, ThemeSharedModule],\r\n providers: [{ provide: APP_INITIALIZER, multi: true, deps: [AccountConfigService], useFactory: noop }],\r\n})\r\nexport class AccountConfigModule {\r\n static forRoot(options = {} as AccountConfigOptions): ModuleWithProviders {\r\n return {\r\n ngModule: AccountConfigModule,\r\n providers: [\r\n { provide: ACCOUNT_OPTIONS, useValue: options },\r\n {\r\n provide: 'ACCOUNT_OPTIONS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,iBAAiB;oBAC1B,UAAU,EAAE,qBAAqB;oBACjC,IAAI,EAAE,CAAC,eAAe,CAAC;iBACxB;aACF;SACF,CAAC;KACH;;gBAjBF,QAAQ,SAAC;oBACR,OAAO,EAAE,CAAC,UAAU,EAAE,iBAAiB,CAAC;oBACxC,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,oBAAoB,CAAC,EAAE,UAAU,IAAM,EAAE,CAAC;iBACvG;;IAeD,0BAAC;CAlBD;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/account-config/lib/account-config.module.d.ts b/npm/ng-packs/dist/account-config/lib/account-config.module.d.ts deleted file mode 100644 index 6e60ffee4bc..00000000000 --- a/npm/ng-packs/dist/account-config/lib/account-config.module.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { InjectionToken, ModuleWithProviders } from '@angular/core'; -export interface AccountConfigOptions { - redirectUrl?: string; -} -export declare function accountOptionsFactory(options: AccountConfigOptions): { - redirectUrl: string; -}; -export declare const ACCOUNT_OPTIONS: InjectionToken; -export declare class AccountConfigModule { - static forRoot(options?: AccountConfigOptions): ModuleWithProviders; -} diff --git a/npm/ng-packs/dist/account-config/lib/services/account-config.service.d.ts b/npm/ng-packs/dist/account-config/lib/services/account-config.service.d.ts deleted file mode 100644 index 095ba5d37ec..00000000000 --- a/npm/ng-packs/dist/account-config/lib/services/account-config.service.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { RestService } from '@abp/ng.core'; -import { Router } from '@angular/router'; -export declare class AccountConfigService { - private router; - private restService; - constructor(router: Router, restService: RestService); -} diff --git a/npm/ng-packs/dist/account-config/package.json b/npm/ng-packs/dist/account-config/package.json deleted file mode 100644 index 711d0565547..00000000000 --- a/npm/ng-packs/dist/account-config/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "@abp/ng.account.config", - "version": "1.1.0", - "publishConfig": { - "access": "public" - }, - "main": "bundles/abp-ng.account.config.umd.js", - "module": "fesm5/abp-ng.account.config.js", - "es2015": "fesm2015/abp-ng.account.config.js", - "esm5": "esm5/abp-ng.account.config.js", - "esm2015": "esm2015/abp-ng.account.config.js", - "fesm5": "fesm5/abp-ng.account.config.js", - "fesm2015": "fesm2015/abp-ng.account.config.js", - "typings": "abp-ng.account.config.d.ts", - "metadata": "abp-ng.account.config.metadata.json", - "sideEffects": false, - "dependencies": { - "tslib": "^1.9.0" - }, - "gitHead": "42d9eb857fca97c046ebac4286b6831c8b8c1887" -} diff --git a/npm/ng-packs/dist/account-config/public-api.d.ts b/npm/ng-packs/dist/account-config/public-api.d.ts deleted file mode 100644 index 83270614c07..00000000000 --- a/npm/ng-packs/dist/account-config/public-api.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './lib/services/account-config.service'; -export * from './lib/account-config.module'; diff --git a/npm/ng-packs/dist/account/README.md b/npm/ng-packs/dist/account/README.md deleted file mode 100644 index f3eaaed2992..00000000000 --- a/npm/ng-packs/dist/account/README.md +++ /dev/null @@ -1,3 +0,0 @@ -

@abp/ng.account

- -[docs.abp.io](https://docs.abp.io) diff --git a/npm/ng-packs/dist/account/abp-ng.account.d.ts b/npm/ng-packs/dist/account/abp-ng.account.d.ts deleted file mode 100644 index 1c8d4258f4f..00000000000 --- a/npm/ng-packs/dist/account/abp-ng.account.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Generated bundle index. Do not edit. - */ -export * from './public-api'; -export { AccountRoutingModule as ɵj } from './lib/account-routing.module'; -export { AuthWrapperComponent as ɵa } from './lib/components/auth-wrapper/auth-wrapper.component'; -export { ChangePasswordComponent as ɵg } from './lib/components/change-password/change-password.component'; -export { LoginComponent as ɵb } from './lib/components/login/login.component'; -export { ManageProfileComponent as ɵh } from './lib/components/manage-profile/manage-profile.component'; -export { PersonalSettingsComponent as ɵi } from './lib/components/personal-settings/personal-settings.component'; -export { RegisterComponent as ɵd } from './lib/components/register/register.component'; -export { TenantBoxComponent as ɵf } from './lib/components/tenant-box/tenant-box.component'; -export { Options as ɵc } from './lib/models/options'; -export { AccountService as ɵe } from './lib/services/account.service'; -export { ACCOUNT_OPTIONS as ɵl, optionsFactory as ɵk } from './lib/tokens/options.token'; diff --git a/npm/ng-packs/dist/account/abp-ng.account.metadata.json b/npm/ng-packs/dist/account/abp-ng.account.metadata.json deleted file mode 100644 index f7f8ba3082b..00000000000 --- a/npm/ng-packs/dist/account/abp-ng.account.metadata.json +++ /dev/null @@ -1 +0,0 @@ -{"__symbolic":"module","version":4,"exports":[{"from":"./lib/options"},{"from":"./lib/user"},{"from":"./lib/tenant"},{"from":"./lib/register/register.component"},{"from":"./lib/personal-settings/personal-settings.component"}],"metadata":{"AccountModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":17,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","name":"ɵg"},{"__symbolic":"reference","name":"ɵh"},{"__symbolic":"reference","name":"ɵi"}],"imports":[{"__symbolic":"reference","module":"@abp/ng.core","name":"CoreModule","line":27,"character":12},{"__symbolic":"reference","name":"ɵj"},{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ThemeSharedModule","line":27,"character":46},{"__symbolic":"reference","module":"primeng/table","name":"TableModule","line":27,"character":65},{"__symbolic":"reference","module":"@ng-bootstrap/ng-bootstrap","name":"NgbDropdownModule","line":27,"character":78},{"__symbolic":"reference","module":"@ngx-validate/core","name":"NgxValidateCoreModule","line":27,"character":97}],"exports":[]}]}],"members":{}},"AccountProviders":{"__symbolic":"function","parameters":["options"],"defaults":[{}],"value":[{"provide":{"__symbolic":"reference","name":"ɵl"},"useValue":{"__symbolic":"reference","name":"options"}},{"provide":"ACCOUNT_OPTIONS","useFactory":{"__symbolic":"reference","name":"ɵk"},"deps":[{"__symbolic":"reference","name":"ɵl"}]}]},"ACCOUNT_ROUTES":{"routes":[{"name":"Account","path":"account","invisible":true,"layout":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@abp/ng.core","name":"eLayoutType","line":12,"character":14},"member":"application"},"children":[{"path":"login","name":"Login","order":1},{"path":"register","name":"Register","order":2}]}]},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"abp-auth-wrapper","template":"
\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n"}]}],"members":{"mainContentRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":7,"character":3}}]}],"cancelContentRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":15,"character":1},"arguments":[{"selector":"abp-login","template":"\r\n \r\n

{{ 'AbpAccount::Login' | abpLocalization }}

\r\n \r\n {{ 'AbpAccount::AreYouANewUser' | abpLocalization }}\r\n {{ 'AbpAccount::Register' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n {{ 'AbpAccount::Login' | abpLocalization }}\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":29,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":29,"character":17},"arguments":["ACCOUNT_OPTIONS"]}]],"parameters":[{"__symbolic":"reference","module":"@angular/forms","name":"FormBuilder","line":25,"character":16},{"__symbolic":"reference","module":"angular-oauth2-oidc","name":"OAuthService","line":26,"character":26},{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":27,"character":19},{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ToasterService","line":28,"character":28},{"__symbolic":"reference","name":"ɵc"}]}],"onSubmit":[{"__symbolic":"method"}]}},"ɵc":{"__symbolic":"interface"},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":16,"character":1},"arguments":[{"selector":"abp-register","template":"\r\n \r\n

{{ 'AbpAccount::Register' | abpLocalization }}

\r\n \r\n {{ 'AbpAccount::AlreadyRegistered' | abpLocalization }}\r\n {{ 'AbpAccount::Login' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ 'AbpAccount::Register' | abpLocalization }}\r\n \r\n \r\n
\r\n
\r\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/forms","name":"FormBuilder","line":26,"character":16},{"__symbolic":"reference","name":"ɵe"},{"__symbolic":"reference","module":"angular-oauth2-oidc","name":"OAuthService","line":28,"character":26},{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":29,"character":19},{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ToasterService","line":30,"character":28}]}],"ngOnInit":[{"__symbolic":"method"}],"onSubmit":[{"__symbolic":"method"}]}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@abp/ng.core","name":"RestService","line":9,"character":28}]}],"findTenant":[{"__symbolic":"method"}],"register":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵf":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"abp-tenant-box","template":"
\r\n
\r\n
\r\n
\r\n {{\r\n 'AbpUiMultiTenancy::Tenant' | abpLocalization\r\n }}
\r\n
\r\n \r\n {{ tenantName || ('AbpUiMultiTenancy::NotSelected' | abpLocalization) }}\r\n \r\n
\r\n
\r\n
\r\n {{ 'AbpUiMultiTenancy::Switch' | abpLocalization }}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
Switch Tenant
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n

{{ 'AbpUiMultiTenancy::SwitchTenantHint' | abpLocalization }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {{ 'AbpTenantManagement::Save' | abpLocalization }}\r\n \r\n \r\n
\r\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":22,"character":29},{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ToasterService","line":22,"character":60},{"__symbolic":"reference","name":"ɵe"}]}],"ngOnInit":[{"__symbolic":"method"}],"onSwitch":[{"__symbolic":"method"}],"save":[{"__symbolic":"method"}]}},"ɵg":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":13,"character":1},"arguments":[{"selector":"abp-change-password-form","template":"
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ 'AbpIdentity::Save' | abpLocalization }}\r\n
\r\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/forms","name":"FormBuilder","line":28,"character":26},{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":28,"character":54},{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ToasterService","line":28,"character":85}]}],"ngOnInit":[{"__symbolic":"method"}],"onSubmit":[{"__symbolic":"method"}]}},"ɵh":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"abp-manage-profile","animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":7,"character":15},"arguments":["fadeIn",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":7,"character":34},"arguments":[":enter",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"useAnimation","line":7,"character":55},"arguments":[{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"fadeIn","line":7,"character":68}]}]}]]}],"template":"
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

\r\n {{ 'AbpIdentity::ChangePassword' | abpLocalization }}\r\n
\r\n

\r\n \r\n
\r\n
\r\n
\r\n
\r\n

\r\n {{ 'AbpIdentity::PersonalSettings' | abpLocalization }}\r\n
\r\n

\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n"}]}],"members":{}},"ɵi":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":10,"character":1},"arguments":[{"selector":"abp-personal-settings-form","template":"
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ 'AbpIdentity::Save' | abpLocalization }}\r\n
\r\n"}]}],"members":{"profile$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Select","line":15,"character":3},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@abp/ng.core","name":"ProfileState","line":15,"character":10},"member":"getProfile"}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/forms","name":"FormBuilder","line":22,"character":26},{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":22,"character":54},{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ToasterService","line":22,"character":85}]}],"ngOnInit":[{"__symbolic":"method"}],"buildForm":[{"__symbolic":"method"}],"submit":[{"__symbolic":"method"}]}},"ɵj":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":23,"character":1},"arguments":[{"imports":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":24,"character":12},"member":"forChild"},"arguments":[[{"path":"","pathMatch":"full","redirectTo":"login"},{"path":"","component":{"__symbolic":"reference","module":"@abp/ng.core","name":"DynamicLayoutComponent","line":11,"character":15},"children":[{"path":"login","component":{"__symbolic":"reference","name":"ɵb"}},{"path":"register","component":{"__symbolic":"reference","name":"ɵd"}},{"path":"manage-profile","component":{"__symbolic":"reference","name":"ɵh"}}]}]]}],"exports":[{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":25,"character":12}]}]}],"members":{}},"ɵk":{"__symbolic":"function","parameters":["options"],"value":{"redirectUrl":"/"}},"ɵl":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":10,"character":35},"arguments":["ACCOUNT_OPTIONS"]}},"origins":{"AccountModule":"./lib/account.module","AccountProviders":"./lib/account.module","ACCOUNT_ROUTES":"./lib/constants/routes","ɵa":"./lib/components/auth-wrapper/auth-wrapper.component","ɵb":"./lib/components/login/login.component","ɵc":"./lib/models/options","ɵd":"./lib/components/register/register.component","ɵe":"./lib/services/account.service","ɵf":"./lib/components/tenant-box/tenant-box.component","ɵg":"./lib/components/change-password/change-password.component","ɵh":"./lib/components/manage-profile/manage-profile.component","ɵi":"./lib/components/personal-settings/personal-settings.component","ɵj":"./lib/account-routing.module","ɵk":"./lib/tokens/options.token","ɵl":"./lib/tokens/options.token"},"importAs":"@abp/ng.account"} \ No newline at end of file diff --git a/npm/ng-packs/dist/account/bundles/abp-ng.account.umd.js b/npm/ng-packs/dist/account/bundles/abp-ng.account.umd.js deleted file mode 100644 index 6b401c1a9fa..00000000000 --- a/npm/ng-packs/dist/account/bundles/abp-ng.account.umd.js +++ /dev/null @@ -1,1230 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@abp/ng.core'), require('@abp/ng.theme.shared'), require('@angular/core'), require('@ng-bootstrap/ng-bootstrap'), require('@ngx-validate/core'), require('primeng/table'), require('@angular/router'), require('@angular/forms'), require('@ngxs/router-plugin'), require('@ngxs/store'), require('angular-oauth2-oidc'), require('rxjs'), require('rxjs/operators'), require('snq'), require('@angular/common/http'), require('@angular/animations')) : - typeof define === 'function' && define.amd ? define('@abp/ng.account', ['exports', '@abp/ng.core', '@abp/ng.theme.shared', '@angular/core', '@ng-bootstrap/ng-bootstrap', '@ngx-validate/core', 'primeng/table', '@angular/router', '@angular/forms', '@ngxs/router-plugin', '@ngxs/store', 'angular-oauth2-oidc', 'rxjs', 'rxjs/operators', 'snq', '@angular/common/http', '@angular/animations'], factory) : - (global = global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng.account = {}), global.ng_core, global.ng_theme_shared, global.ng.core, global.ngBootstrap, global.core$1, global.table, global.ng.router, global.ng.forms, global.routerPlugin, global.store, global.angularOauth2Oidc, global.rxjs, global.rxjs.operators, global.snq, global.ng.common.http, global.ng.animations)); -}(this, (function (exports, ng_core, ng_theme_shared, core, ngBootstrap, core$1, table, router, forms, routerPlugin, store, angularOauth2Oidc, rxjs, operators, snq, http, animations) { 'use strict'; - - snq = snq && snq.hasOwnProperty('default') ? snq['default'] : snq; - - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ - /* global Reflect, Promise */ - - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - - function __extends(d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - } - - var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); - }; - - function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; - } - - function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; - } - - function __param(paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } - } - - function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); - } - - function __awaiter(thisArg, _arguments, P, generator) { - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - } - - function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (_) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } - } - - function __exportStar(m, exports) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; - } - - function __values(o) { - var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0; - if (m) return m.call(o); - return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; - } - - function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; - } - - function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; - } - - function __spreadArrays() { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; - for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; - return r; - }; - - function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); - } - - function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } - } - - function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } - } - - function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); - function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } - } - - function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; - }; - - function __importStar(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result.default = mod; - return result; - } - - function __importDefault(mod) { - return (mod && mod.__esModule) ? mod : { default: mod }; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/login/login.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var maxLength = forms.Validators.maxLength, minLength = forms.Validators.minLength, required = forms.Validators.required; - var LoginComponent = /** @class */ (function () { - function LoginComponent(fb, oauthService, store, toasterService, options) { - this.fb = fb; - this.oauthService = oauthService; - this.store = store; - this.toasterService = toasterService; - this.options = options; - this.oauthService.configure(this.store.selectSnapshot(ng_core.ConfigState.getOne('environment')).oAuthConfig); - this.oauthService.loadDiscoveryDocument(); - this.form = this.fb.group({ - username: ['', [required, maxLength(255)]], - password: ['', [required, maxLength(32)]], - remember: [false], - }); - } - /** - * @return {?} - */ - LoginComponent.prototype.onSubmit = /** - * @return {?} - */ - function () { - var _this = this; - if (this.form.invalid) - return; - // this.oauthService.setStorage(this.form.value.remember ? localStorage : sessionStorage); - this.inProgress = true; - /** @type {?} */ - var tenant = this.store.selectSnapshot(ng_core.SessionState.getTenant); - rxjs.from(this.oauthService.fetchTokenUsingPasswordFlow(this.form.get('username').value, this.form.get('password').value, new http.HttpHeaders(__assign({}, (tenant && tenant.id && { __tenant: tenant.id }))))) - .pipe(operators.switchMap((/** - * @return {?} - */ - function () { return _this.store.dispatch(new ng_core.GetAppConfiguration()); })), operators.tap((/** - * @return {?} - */ - function () { - /** @type {?} */ - var redirectUrl = snq((/** - * @return {?} - */ - function () { return window.history.state; })).redirectUrl || (_this.options || {}).redirectUrl || '/'; - _this.store.dispatch(new routerPlugin.Navigate([redirectUrl])); - })), operators.catchError((/** - * @param {?} err - * @return {?} - */ - function (err) { - _this.toasterService.error(snq((/** - * @return {?} - */ - function () { return err.error.error_description; })) || - snq((/** - * @return {?} - */ - function () { return err.error.error.message; }), 'AbpAccount::DefaultErrorMessage'), 'Error', { life: 7000 }); - return rxjs.throwError(err); - })), operators.finalize((/** - * @return {?} - */ - function () { return (_this.inProgress = false); }))) - .subscribe(); - }; - LoginComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-login', - template: "\r\n \r\n

{{ 'AbpAccount::Login' | abpLocalization }}

\r\n \r\n {{ 'AbpAccount::AreYouANewUser' | abpLocalization }}\r\n {{ 'AbpAccount::Register' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n {{ 'AbpAccount::Login' | abpLocalization }}\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n" - }] } - ]; - /** @nocollapse */ - LoginComponent.ctorParameters = function () { return [ - { type: forms.FormBuilder }, - { type: angularOauth2Oidc.OAuthService }, - { type: store.Store }, - { type: ng_theme_shared.ToasterService }, - { type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: ['ACCOUNT_OPTIONS',] }] } - ]; }; - return LoginComponent; - }()); - if (false) { - /** @type {?} */ - LoginComponent.prototype.form; - /** @type {?} */ - LoginComponent.prototype.inProgress; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.fb; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.oauthService; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.store; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.toasterService; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.options; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/manage-profile/manage-profile.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ManageProfileComponent = /** @class */ (function () { - function ManageProfileComponent() { - this.selectedTab = 0; - } - ManageProfileComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-manage-profile', - template: "
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

\r\n {{ 'AbpIdentity::ChangePassword' | abpLocalization }}\r\n
\r\n

\r\n \r\n
\r\n
\r\n
\r\n
\r\n

\r\n {{ 'AbpIdentity::PersonalSettings' | abpLocalization }}\r\n
\r\n

\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n", - animations: [animations.trigger('fadeIn', [animations.transition(':enter', animations.useAnimation(ng_theme_shared.fadeIn))])] - }] } - ]; - return ManageProfileComponent; - }()); - if (false) { - /** @type {?} */ - ManageProfileComponent.prototype.selectedTab; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/account.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var AccountService = /** @class */ (function () { - function AccountService(rest) { - this.rest = rest; - } - /** - * @param {?} tenantName - * @return {?} - */ - AccountService.prototype.findTenant = /** - * @param {?} tenantName - * @return {?} - */ - function (tenantName) { - /** @type {?} */ - var request = { - method: 'GET', - url: "/api/abp/multi-tenancy/tenants/by-name/" + tenantName, - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - AccountService.prototype.register = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var request = { - method: 'POST', - url: '/api/account/register', - body: body, - }; - return this.rest.request(request, { skipHandleError: true }); - }; - AccountService.decorators = [ - { type: core.Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - AccountService.ctorParameters = function () { return [ - { type: ng_core.RestService } - ]; }; - /** @nocollapse */ AccountService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function AccountService_Factory() { return new AccountService(core.ɵɵinject(ng_core.RestService)); }, token: AccountService, providedIn: "root" }); - return AccountService; - }()); - if (false) { - /** - * @type {?} - * @private - */ - AccountService.prototype.rest; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/register/register.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var maxLength$1 = forms.Validators.maxLength, minLength$1 = forms.Validators.minLength, required$1 = forms.Validators.required, email = forms.Validators.email; - var RegisterComponent = /** @class */ (function () { - function RegisterComponent(fb, accountService, oauthService, store, toasterService) { - this.fb = fb; - this.accountService = accountService; - this.oauthService = oauthService; - this.store = store; - this.toasterService = toasterService; - this.oauthService.configure(this.store.selectSnapshot(ng_core.ConfigState.getOne('environment')).oAuthConfig); - this.oauthService.loadDiscoveryDocument(); - } - /** - * @return {?} - */ - RegisterComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - /** @type {?} */ - var passwordRules = this.store.selectSnapshot(ng_core.ConfigState.getSettings('Identity.Password')); - /** @type {?} */ - var passwordRulesArr = (/** @type {?} */ ([])); - /** @type {?} */ - var requiredLength = 1; - if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('number'); - } - if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('small'); - } - if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('capital'); - } - if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) { - passwordRulesArr.push('special'); - } - if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) { - requiredLength = +passwordRules['Abp.Identity.Password.RequiredLength']; - } - this.form = this.fb.group({ - username: ['', [required$1, maxLength$1(255)]], - password: [ - '', - [required$1, core$1.validatePassword(passwordRulesArr), minLength$1(requiredLength), maxLength$1(32)], - ], - email: ['', [required$1, email]], - }); - }; - /** - * @return {?} - */ - RegisterComponent.prototype.onSubmit = /** - * @return {?} - */ - function () { - var _this = this; - if (this.form.invalid) - return; - this.inProgress = true; - /** @type {?} */ - var newUser = (/** @type {?} */ ({ - userName: this.form.get('username').value, - password: this.form.get('password').value, - emailAddress: this.form.get('email').value, - appName: 'Angular', - })); - /** @type {?} */ - var tenant = this.store.selectSnapshot(ng_core.SessionState.getTenant); - this.accountService - .register(newUser) - .pipe(operators.switchMap((/** - * @return {?} - */ - function () { - return rxjs.from(_this.oauthService.fetchTokenUsingPasswordFlow(newUser.userName, newUser.password, new http.HttpHeaders(__assign({}, (tenant && tenant.id && { __tenant: tenant.id }))))); - })), operators.switchMap((/** - * @return {?} - */ - function () { return _this.store.dispatch(new ng_core.GetAppConfiguration()); })), operators.tap((/** - * @return {?} - */ - function () { return _this.store.dispatch(new routerPlugin.Navigate(['/'])); })), operators.take(1), operators.catchError((/** - * @param {?} err - * @return {?} - */ - function (err) { - _this.toasterService.error(snq((/** - * @return {?} - */ - function () { return err.error.error_description; })) || - snq((/** - * @return {?} - */ - function () { return err.error.error.message; }), 'AbpAccount::DefaultErrorMessage'), 'Error', { life: 7000 }); - return rxjs.throwError(err); - })), operators.finalize((/** - * @return {?} - */ - function () { return (_this.inProgress = false); }))) - .subscribe(); - }; - RegisterComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-register', - template: "\r\n \r\n

{{ 'AbpAccount::Register' | abpLocalization }}

\r\n \r\n {{ 'AbpAccount::AlreadyRegistered' | abpLocalization }}\r\n {{ 'AbpAccount::Login' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ 'AbpAccount::Register' | abpLocalization }}\r\n \r\n \r\n
\r\n
\r\n" - }] } - ]; - /** @nocollapse */ - RegisterComponent.ctorParameters = function () { return [ - { type: forms.FormBuilder }, - { type: AccountService }, - { type: angularOauth2Oidc.OAuthService }, - { type: store.Store }, - { type: ng_theme_shared.ToasterService } - ]; }; - return RegisterComponent; - }()); - if (false) { - /** @type {?} */ - RegisterComponent.prototype.form; - /** @type {?} */ - RegisterComponent.prototype.inProgress; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.fb; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.accountService; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.oauthService; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.store; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.toasterService; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/account-routing.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** @type {?} */ - var routes = [ - { path: '', pathMatch: 'full', redirectTo: 'login' }, - { - path: '', - component: ng_core.DynamicLayoutComponent, - children: [ - { path: 'login', component: LoginComponent }, - { path: 'register', component: RegisterComponent }, - { - path: 'manage-profile', - component: ManageProfileComponent, - }, - ], - }, - ]; - var AccountRoutingModule = /** @class */ (function () { - function AccountRoutingModule() { - } - AccountRoutingModule.decorators = [ - { type: core.NgModule, args: [{ - imports: [router.RouterModule.forChild(routes)], - exports: [router.RouterModule], - },] } - ]; - return AccountRoutingModule; - }()); - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/change-password/change-password.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var minLength$2 = forms.Validators.minLength, required$2 = forms.Validators.required, maxLength$2 = forms.Validators.maxLength; - /** @type {?} */ - var PASSWORD_FIELDS = ['newPassword', 'repeatNewPassword']; - var ChangePasswordComponent = /** @class */ (function () { - function ChangePasswordComponent(fb, store, toasterService) { - this.fb = fb; - this.store = store; - this.toasterService = toasterService; - this.mapErrorsFn = (/** - * @param {?} errors - * @param {?} groupErrors - * @param {?} control - * @return {?} - */ - function (errors, groupErrors, control) { - if (PASSWORD_FIELDS.indexOf(control.name) < 0) - return errors; - return errors.concat(groupErrors.filter((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var key = _a.key; - return key === 'passwordMismatch'; - }))); - }); - } - /** - * @return {?} - */ - ChangePasswordComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - /** @type {?} */ - var passwordRules = this.store.selectSnapshot(ng_core.ConfigState.getSettings('Identity.Password')); - /** @type {?} */ - var passwordRulesArr = (/** @type {?} */ ([])); - /** @type {?} */ - var requiredLength = 1; - if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('number'); - } - if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('small'); - } - if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('capital'); - } - if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) { - passwordRulesArr.push('special'); - } - if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) { - requiredLength = +passwordRules['Abp.Identity.Password.RequiredLength']; - } - this.form = this.fb.group({ - password: ['', required$2], - newPassword: [ - '', - { - validators: [required$2, core$1.validatePassword(passwordRulesArr), minLength$2(requiredLength), maxLength$2(32)], - }, - ], - repeatNewPassword: [ - '', - { validators: [required$2, core$1.validatePassword(passwordRulesArr), minLength$2(requiredLength), maxLength$2(32)] }, - ], - }, { - validators: [core$1.comparePasswords(PASSWORD_FIELDS)], - }); - }; - /** - * @return {?} - */ - ChangePasswordComponent.prototype.onSubmit = /** - * @return {?} - */ - function () { - var _this = this; - if (this.form.invalid) - return; - this.inProgress = true; - this.store - .dispatch(new ng_core.ChangePassword({ - currentPassword: this.form.get('password').value, - newPassword: this.form.get('newPassword').value, - })) - .pipe(operators.finalize((/** - * @return {?} - */ - function () { return (_this.inProgress = false); }))) - .subscribe({ - next: (/** - * @return {?} - */ - function () { - _this.form.reset(); - _this.toasterService.success('AbpAccount::PasswordChangedMessage', 'Success', { life: 5000 }); - }), - error: (/** - * @param {?} err - * @return {?} - */ - function (err) { - _this.toasterService.error(snq((/** - * @return {?} - */ - function () { return err.error.error.message; }), 'AbpAccount::DefaultErrorMessage'), 'Error', { - life: 7000, - }); - }), - }); - }; - ChangePasswordComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-change-password-form', - template: "
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ 'AbpIdentity::Save' | abpLocalization }}\r\n
\r\n" - }] } - ]; - /** @nocollapse */ - ChangePasswordComponent.ctorParameters = function () { return [ - { type: forms.FormBuilder }, - { type: store.Store }, - { type: ng_theme_shared.ToasterService } - ]; }; - return ChangePasswordComponent; - }()); - if (false) { - /** @type {?} */ - ChangePasswordComponent.prototype.form; - /** @type {?} */ - ChangePasswordComponent.prototype.inProgress; - /** @type {?} */ - ChangePasswordComponent.prototype.mapErrorsFn; - /** - * @type {?} - * @private - */ - ChangePasswordComponent.prototype.fb; - /** - * @type {?} - * @private - */ - ChangePasswordComponent.prototype.store; - /** - * @type {?} - * @private - */ - ChangePasswordComponent.prototype.toasterService; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/personal-settings/personal-settings.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var maxLength$3 = forms.Validators.maxLength, required$3 = forms.Validators.required, email$1 = forms.Validators.email; - var PersonalSettingsComponent = /** @class */ (function () { - function PersonalSettingsComponent(fb, store, toasterService) { - this.fb = fb; - this.store = store; - this.toasterService = toasterService; - } - /** - * @return {?} - */ - PersonalSettingsComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.buildForm(); - }; - /** - * @return {?} - */ - PersonalSettingsComponent.prototype.buildForm = /** - * @return {?} - */ - function () { - var _this = this; - this.store - .dispatch(new ng_core.GetProfile()) - .pipe(operators.withLatestFrom(this.profile$), operators.take(1)) - .subscribe((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var _b = __read(_a, 2), profile = _b[1]; - _this.form = _this.fb.group({ - userName: [profile.userName, [required$3, maxLength$3(256)]], - email: [profile.email, [required$3, email$1, maxLength$3(256)]], - name: [profile.name || '', [maxLength$3(64)]], - surname: [profile.surname || '', [maxLength$3(64)]], - phoneNumber: [profile.phoneNumber || '', [maxLength$3(16)]], - }); - })); - }; - /** - * @return {?} - */ - PersonalSettingsComponent.prototype.submit = /** - * @return {?} - */ - function () { - var _this = this; - if (this.form.invalid) - return; - this.inProgress = true; - this.store - .dispatch(new ng_core.UpdateProfile(this.form.value)) - .pipe(operators.finalize((/** - * @return {?} - */ - function () { return (_this.inProgress = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.toasterService.success('AbpAccount::PersonalSettingsSaved', 'Success', { life: 5000 }); - })); - }; - PersonalSettingsComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-personal-settings-form', - template: "
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ 'AbpIdentity::Save' | abpLocalization }}\r\n
\r\n" - }] } - ]; - /** @nocollapse */ - PersonalSettingsComponent.ctorParameters = function () { return [ - { type: forms.FormBuilder }, - { type: store.Store }, - { type: ng_theme_shared.ToasterService } - ]; }; - __decorate([ - store.Select(ng_core.ProfileState.getProfile), - __metadata("design:type", rxjs.Observable) - ], PersonalSettingsComponent.prototype, "profile$", void 0); - return PersonalSettingsComponent; - }()); - if (false) { - /** @type {?} */ - PersonalSettingsComponent.prototype.profile$; - /** @type {?} */ - PersonalSettingsComponent.prototype.form; - /** @type {?} */ - PersonalSettingsComponent.prototype.inProgress; - /** - * @type {?} - * @private - */ - PersonalSettingsComponent.prototype.fb; - /** - * @type {?} - * @private - */ - PersonalSettingsComponent.prototype.store; - /** - * @type {?} - * @private - */ - PersonalSettingsComponent.prototype.toasterService; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/tenant-box/tenant-box.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var TenantBoxComponent = /** @class */ (function () { - function TenantBoxComponent(store, toasterService, accountService) { - this.store = store; - this.toasterService = toasterService; - this.accountService = accountService; - this.tenant = (/** @type {?} */ ({})); - } - /** - * @return {?} - */ - TenantBoxComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.tenant = this.store.selectSnapshot(ng_core.SessionState.getTenant) || ((/** @type {?} */ ({}))); - this.tenantName = this.tenant.name || ''; - }; - /** - * @return {?} - */ - TenantBoxComponent.prototype.onSwitch = /** - * @return {?} - */ - function () { - this.isModalVisible = true; - }; - /** - * @return {?} - */ - TenantBoxComponent.prototype.save = /** - * @return {?} - */ - function () { - var _this = this; - if (this.tenant.name && !this.inProgress) { - this.inProgress = true; - this.accountService - .findTenant(this.tenant.name) - .pipe(operators.finalize((/** - * @return {?} - */ - function () { return (_this.inProgress = false); })), operators.take(1), operators.catchError((/** - * @param {?} err - * @return {?} - */ - function (err) { - _this.toasterService.error(snq((/** - * @return {?} - */ - function () { return err.error.error_description; }), 'AbpUi::DefaultErrorMessage'), 'AbpUi::Error'); - return rxjs.throwError(err); - }))) - .subscribe((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var success = _a.success, tenantId = _a.tenantId; - if (success) { - _this.tenant = { - id: tenantId, - name: _this.tenant.name, - }; - _this.tenantName = _this.tenant.name; - _this.isModalVisible = false; - } - else { - _this.toasterService.error('AbpUiMultiTenancy::GivenTenantIsNotAvailable', 'AbpUi::Error', { - messageLocalizationParams: [_this.tenant.name], - }); - _this.tenant = (/** @type {?} */ ({})); - } - _this.store.dispatch(new ng_core.SetTenant(success ? _this.tenant : null)); - })); - } - else { - this.store.dispatch(new ng_core.SetTenant(null)); - this.tenantName = null; - this.isModalVisible = false; - } - }; - TenantBoxComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-tenant-box', - template: "
\r\n
\r\n
\r\n
\r\n {{\r\n 'AbpUiMultiTenancy::Tenant' | abpLocalization\r\n }}
\r\n
\r\n \r\n {{ tenantName || ('AbpUiMultiTenancy::NotSelected' | abpLocalization) }}\r\n \r\n
\r\n
\r\n
\r\n {{ 'AbpUiMultiTenancy::Switch' | abpLocalization }}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
Switch Tenant
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n

{{ 'AbpUiMultiTenancy::SwitchTenantHint' | abpLocalization }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {{ 'AbpTenantManagement::Save' | abpLocalization }}\r\n \r\n \r\n
\r\n" - }] } - ]; - /** @nocollapse */ - TenantBoxComponent.ctorParameters = function () { return [ - { type: store.Store }, - { type: ng_theme_shared.ToasterService }, - { type: AccountService } - ]; }; - return TenantBoxComponent; - }()); - if (false) { - /** @type {?} */ - TenantBoxComponent.prototype.tenant; - /** @type {?} */ - TenantBoxComponent.prototype.tenantName; - /** @type {?} */ - TenantBoxComponent.prototype.isModalVisible; - /** @type {?} */ - TenantBoxComponent.prototype.inProgress; - /** - * @type {?} - * @private - */ - TenantBoxComponent.prototype.store; - /** - * @type {?} - * @private - */ - TenantBoxComponent.prototype.toasterService; - /** - * @type {?} - * @private - */ - TenantBoxComponent.prototype.accountService; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/tokens/options.token.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * @param {?} options - * @return {?} - */ - function optionsFactory(options) { - return __assign({ redirectUrl: '/' }, options); - } - /** @type {?} */ - var ACCOUNT_OPTIONS = new core.InjectionToken('ACCOUNT_OPTIONS'); - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/auth-wrapper/auth-wrapper.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var AuthWrapperComponent = /** @class */ (function () { - function AuthWrapperComponent() { - } - AuthWrapperComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-auth-wrapper', - template: "
\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n" - }] } - ]; - AuthWrapperComponent.propDecorators = { - mainContentRef: [{ type: core.Input }], - cancelContentRef: [{ type: core.Input }] - }; - return AuthWrapperComponent; - }()); - if (false) { - /** @type {?} */ - AuthWrapperComponent.prototype.mainContentRef; - /** @type {?} */ - AuthWrapperComponent.prototype.cancelContentRef; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/account.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var AccountModule = /** @class */ (function () { - function AccountModule() { - } - AccountModule.decorators = [ - { type: core.NgModule, args: [{ - declarations: [ - AuthWrapperComponent, - LoginComponent, - RegisterComponent, - TenantBoxComponent, - ChangePasswordComponent, - ManageProfileComponent, - PersonalSettingsComponent, - ], - imports: [ng_core.CoreModule, AccountRoutingModule, ng_theme_shared.ThemeSharedModule, table.TableModule, ngBootstrap.NgbDropdownModule, core$1.NgxValidateCoreModule], - exports: [], - },] } - ]; - return AccountModule; - }()); - /** - * - * @deprecated since version 0.9 - * @param {?=} options - * @return {?} - */ - function AccountProviders(options) { - if (options === void 0) { options = (/** @type {?} */ ({})); } - return [ - { provide: ACCOUNT_OPTIONS, useValue: options }, - { - provide: 'ACCOUNT_OPTIONS', - useFactory: optionsFactory, - deps: [ACCOUNT_OPTIONS], - }, - ]; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/constants/routes.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * - * @deprecated since version 0.9 - * @type {?} - */ - var ACCOUNT_ROUTES = { - routes: (/** @type {?} */ ([ - { - name: 'Account', - path: 'account', - invisible: true, - layout: "application" /* application */, - children: [{ path: 'login', name: 'Login', order: 1 }, { path: 'register', name: 'Register', order: 2 }], - }, - ])), - }; - - /** - * @fileoverview added by tsickle - * Generated from: lib/tokens/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/options.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * @record - */ - function Options() { } - if (false) { - /** @type {?|undefined} */ - Options.prototype.redirectUrl; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/user.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * @record - */ - function RegisterRequest() { } - if (false) { - /** @type {?} */ - RegisterRequest.prototype.userName; - /** @type {?} */ - RegisterRequest.prototype.emailAddress; - /** @type {?} */ - RegisterRequest.prototype.password; - /** @type {?|undefined} */ - RegisterRequest.prototype.appName; - } - /** - * @record - */ - function RegisterResponse() { } - if (false) { - /** @type {?} */ - RegisterResponse.prototype.tenantId; - /** @type {?} */ - RegisterResponse.prototype.userName; - /** @type {?} */ - RegisterResponse.prototype.name; - /** @type {?} */ - RegisterResponse.prototype.surname; - /** @type {?} */ - RegisterResponse.prototype.email; - /** @type {?} */ - RegisterResponse.prototype.emailConfirmed; - /** @type {?} */ - RegisterResponse.prototype.phoneNumber; - /** @type {?} */ - RegisterResponse.prototype.phoneNumberConfirmed; - /** @type {?} */ - RegisterResponse.prototype.twoFactorEnabled; - /** @type {?} */ - RegisterResponse.prototype.lockoutEnabled; - /** @type {?} */ - RegisterResponse.prototype.lockoutEnd; - /** @type {?} */ - RegisterResponse.prototype.concurrencyStamp; - /** @type {?} */ - RegisterResponse.prototype.isDeleted; - /** @type {?} */ - RegisterResponse.prototype.deleterId; - /** @type {?} */ - RegisterResponse.prototype.deletionTime; - /** @type {?} */ - RegisterResponse.prototype.lastModificationTime; - /** @type {?} */ - RegisterResponse.prototype.lastModifierId; - /** @type {?} */ - RegisterResponse.prototype.creationTime; - /** @type {?} */ - RegisterResponse.prototype.creatorId; - /** @type {?} */ - RegisterResponse.prototype.id; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/tenant.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * @record - */ - function TenantIdResponse() { } - if (false) { - /** @type {?} */ - TenantIdResponse.prototype.success; - /** @type {?} */ - TenantIdResponse.prototype.tenantId; - } - - exports.ACCOUNT_OPTIONS = ACCOUNT_OPTIONS; - exports.ACCOUNT_ROUTES = ACCOUNT_ROUTES; - exports.AccountModule = AccountModule; - exports.AccountProviders = AccountProviders; - exports.ChangePasswordComponent = ChangePasswordComponent; - exports.LoginComponent = LoginComponent; - exports.ManageProfileComponent = ManageProfileComponent; - exports.PersonalSettingsComponent = PersonalSettingsComponent; - exports.RegisterComponent = RegisterComponent; - exports.optionsFactory = optionsFactory; - exports.ɵa = AuthWrapperComponent; - exports.ɵb = LoginComponent; - exports.ɵd = RegisterComponent; - exports.ɵe = AccountService; - exports.ɵf = TenantBoxComponent; - exports.ɵg = ChangePasswordComponent; - exports.ɵh = ManageProfileComponent; - exports.ɵi = PersonalSettingsComponent; - exports.ɵj = AccountRoutingModule; - exports.ɵk = optionsFactory; - exports.ɵl = ACCOUNT_OPTIONS; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); -//# sourceMappingURL=abp-ng.account.umd.js.map diff --git a/npm/ng-packs/dist/account/bundles/abp-ng.account.umd.js.map b/npm/ng-packs/dist/account/bundles/abp-ng.account.umd.js.map deleted file mode 100644 index 47dc4d7e3f1..00000000000 --- a/npm/ng-packs/dist/account/bundles/abp-ng.account.umd.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.account.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","ng://@abp/ng.account/lib/components/login/login.component.ts","ng://@abp/ng.account/lib/components/manage-profile/manage-profile.component.ts","ng://@abp/ng.account/lib/services/account.service.ts","ng://@abp/ng.account/lib/components/register/register.component.ts","ng://@abp/ng.account/lib/account-routing.module.ts","ng://@abp/ng.account/lib/components/change-password/change-password.component.ts","ng://@abp/ng.account/lib/components/personal-settings/personal-settings.component.ts","ng://@abp/ng.account/lib/components/tenant-box/tenant-box.component.ts","ng://@abp/ng.account/lib/tokens/options.token.ts","ng://@abp/ng.account/lib/components/auth-wrapper/auth-wrapper.component.ts","ng://@abp/ng.account/lib/account.module.ts","ng://@abp/ng.account/lib/constants/routes.ts","ng://@abp/ng.account/lib/models/options.ts","ng://@abp/ng.account/lib/models/user.ts","ng://@abp/ng.account/lib/models/tenant.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { GetAppConfiguration, ConfigState, SessionState } from '@abp/ng.core';\r\nimport { Component, Inject, Optional } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Navigate } from '@ngxs/router-plugin';\r\nimport { Store } from '@ngxs/store';\r\nimport { OAuthService } from 'angular-oauth2-oidc';\r\nimport { from, throwError } from 'rxjs';\r\nimport { Options } from '../../models/options';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { catchError, finalize, switchMap, tap } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport { HttpHeaders } from '@angular/common/http';\r\n\r\nconst { maxLength, minLength, required } = Validators;\r\n\r\n@Component({\r\n selector: 'abp-login',\r\n templateUrl: './login.component.html',\r\n})\r\nexport class LoginComponent {\r\n form: FormGroup;\r\n\r\n inProgress: boolean;\r\n\r\n constructor(\r\n private fb: FormBuilder,\r\n private oauthService: OAuthService,\r\n private store: Store,\r\n private toasterService: ToasterService,\r\n @Optional() @Inject('ACCOUNT_OPTIONS') private options: Options,\r\n ) {\r\n this.oauthService.configure(this.store.selectSnapshot(ConfigState.getOne('environment')).oAuthConfig);\r\n this.oauthService.loadDiscoveryDocument();\r\n\r\n this.form = this.fb.group({\r\n username: ['', [required, maxLength(255)]],\r\n password: ['', [required, maxLength(32)]],\r\n remember: [false],\r\n });\r\n }\r\n\r\n onSubmit() {\r\n if (this.form.invalid) return;\r\n // this.oauthService.setStorage(this.form.value.remember ? localStorage : sessionStorage);\r\n\r\n this.inProgress = true;\r\n const tenant = this.store.selectSnapshot(SessionState.getTenant);\r\n from(\r\n this.oauthService.fetchTokenUsingPasswordFlow(\r\n this.form.get('username').value,\r\n this.form.get('password').value,\r\n new HttpHeaders({ ...(tenant && tenant.id && { __tenant: tenant.id }) }),\r\n ),\r\n )\r\n .pipe(\r\n switchMap(() => this.store.dispatch(new GetAppConfiguration())),\r\n tap(() => {\r\n const redirectUrl = snq(() => window.history.state).redirectUrl || (this.options || {}).redirectUrl || '/';\r\n this.store.dispatch(new Navigate([redirectUrl]));\r\n }),\r\n catchError(err => {\r\n this.toasterService.error(\r\n snq(() => err.error.error_description) ||\r\n snq(() => err.error.error.message, 'AbpAccount::DefaultErrorMessage'),\r\n 'Error',\r\n { life: 7000 },\r\n );\r\n return throwError(err);\r\n }),\r\n finalize(() => (this.inProgress = false)),\r\n )\r\n .subscribe();\r\n }\r\n}\r\n","import { fadeIn } from '@abp/ng.theme.shared';\r\nimport { transition, trigger, useAnimation } from '@angular/animations';\r\nimport { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-manage-profile',\r\n templateUrl: './manage-profile.component.html',\r\n animations: [trigger('fadeIn', [transition(':enter', useAnimation(fadeIn))])],\r\n})\r\nexport class ManageProfileComponent {\r\n selectedTab = 0;\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport { RegisterResponse, RegisterRequest, TenantIdResponse } from '../models';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AccountService {\r\n constructor(private rest: RestService) {}\r\n\r\n findTenant(tenantName: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: `/api/abp/multi-tenancy/tenants/by-name/${tenantName}`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n register(body: RegisterRequest): Observable {\r\n const request: Rest.Request = {\r\n method: 'POST',\r\n url: '/api/account/register',\r\n body,\r\n };\r\n\r\n return this.rest.request(request, { skipHandleError: true });\r\n }\r\n}\r\n","import { ConfigState, GetAppConfiguration, ABP, SessionState } from '@abp/ng.core';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Navigate } from '@ngxs/router-plugin';\r\nimport { Store } from '@ngxs/store';\r\nimport { OAuthService } from 'angular-oauth2-oidc';\r\nimport { from, throwError } from 'rxjs';\r\nimport { catchError, finalize, switchMap, take, tap } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport { RegisterRequest } from '../../models';\r\nimport { AccountService } from '../../services/account.service';\r\nimport { PasswordRules, validatePassword } from '@ngx-validate/core';\r\nimport { HttpHeaders } from '@angular/common/http';\r\nconst { maxLength, minLength, required, email } = Validators;\r\n\r\n@Component({\r\n selector: 'abp-register',\r\n templateUrl: './register.component.html',\r\n})\r\nexport class RegisterComponent implements OnInit {\r\n form: FormGroup;\r\n\r\n inProgress: boolean;\r\n\r\n constructor(\r\n private fb: FormBuilder,\r\n private accountService: AccountService,\r\n private oauthService: OAuthService,\r\n private store: Store,\r\n private toasterService: ToasterService,\r\n ) {\r\n this.oauthService.configure(\r\n this.store.selectSnapshot(ConfigState.getOne('environment')).oAuthConfig,\r\n );\r\n this.oauthService.loadDiscoveryDocument();\r\n }\r\n\r\n ngOnInit() {\r\n const passwordRules: ABP.Dictionary = this.store.selectSnapshot(\r\n ConfigState.getSettings('Identity.Password'),\r\n );\r\n const passwordRulesArr = [] as PasswordRules;\r\n let requiredLength = 1;\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('number');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('small');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('capital');\r\n }\r\n\r\n if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) {\r\n passwordRulesArr.push('special');\r\n }\r\n\r\n if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) {\r\n requiredLength = +passwordRules['Abp.Identity.Password.RequiredLength'];\r\n }\r\n\r\n this.form = this.fb.group({\r\n username: ['', [required, maxLength(255)]],\r\n password: [\r\n '',\r\n [required, validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(32)],\r\n ],\r\n email: ['', [required, email]],\r\n });\r\n }\r\n\r\n onSubmit() {\r\n if (this.form.invalid) return;\r\n\r\n this.inProgress = true;\r\n\r\n const newUser = {\r\n userName: this.form.get('username').value,\r\n password: this.form.get('password').value,\r\n emailAddress: this.form.get('email').value,\r\n appName: 'Angular',\r\n } as RegisterRequest;\r\n\r\n const tenant = this.store.selectSnapshot(SessionState.getTenant);\r\n\r\n this.accountService\r\n .register(newUser)\r\n .pipe(\r\n switchMap(() =>\r\n from(\r\n this.oauthService.fetchTokenUsingPasswordFlow(\r\n newUser.userName,\r\n newUser.password,\r\n new HttpHeaders({\r\n ...(tenant && tenant.id && { __tenant: tenant.id }),\r\n }),\r\n ),\r\n ),\r\n ),\r\n switchMap(() => this.store.dispatch(new GetAppConfiguration())),\r\n tap(() => this.store.dispatch(new Navigate(['/']))),\r\n take(1),\r\n catchError(err => {\r\n this.toasterService.error(\r\n snq(() => err.error.error_description) ||\r\n snq(() => err.error.error.message, 'AbpAccount::DefaultErrorMessage'),\r\n 'Error',\r\n { life: 7000 },\r\n );\r\n return throwError(err);\r\n }),\r\n finalize(() => (this.inProgress = false)),\r\n )\r\n .subscribe();\r\n }\r\n}\r\n","import { DynamicLayoutComponent } from '@abp/ng.core';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { LoginComponent } from './components/login/login.component';\r\nimport { ManageProfileComponent } from './components/manage-profile/manage-profile.component';\r\nimport { RegisterComponent } from './components/register/register.component';\r\n\r\nconst routes: Routes = [\r\n { path: '', pathMatch: 'full', redirectTo: 'login' },\r\n {\r\n path: '',\r\n component: DynamicLayoutComponent,\r\n children: [\r\n { path: 'login', component: LoginComponent },\r\n { path: 'register', component: RegisterComponent },\r\n {\r\n path: 'manage-profile',\r\n component: ManageProfileComponent,\r\n },\r\n ],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class AccountRoutingModule {}\r\n","import { ChangePassword, ConfigState, ABP } from '@abp/ng.core';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { comparePasswords, Validation, PasswordRules, validatePassword } from '@ngx-validate/core';\r\nimport { Store } from '@ngxs/store';\r\nimport snq from 'snq';\r\nimport { finalize } from 'rxjs/operators';\r\n\r\nconst { minLength, required, maxLength } = Validators;\r\n\r\nconst PASSWORD_FIELDS = ['newPassword', 'repeatNewPassword'];\r\n\r\n@Component({\r\n selector: 'abp-change-password-form',\r\n templateUrl: './change-password.component.html',\r\n})\r\nexport class ChangePasswordComponent implements OnInit {\r\n form: FormGroup;\r\n\r\n inProgress: boolean;\r\n\r\n mapErrorsFn: Validation.MapErrorsFn = (errors, groupErrors, control) => {\r\n if (PASSWORD_FIELDS.indexOf(control.name) < 0) return errors;\r\n\r\n return errors.concat(groupErrors.filter(({ key }) => key === 'passwordMismatch'));\r\n };\r\n\r\n constructor(private fb: FormBuilder, private store: Store, private toasterService: ToasterService) {}\r\n\r\n ngOnInit(): void {\r\n const passwordRules: ABP.Dictionary = this.store.selectSnapshot(\r\n ConfigState.getSettings('Identity.Password'),\r\n );\r\n const passwordRulesArr = [] as PasswordRules;\r\n let requiredLength = 1;\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('number');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('small');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('capital');\r\n }\r\n\r\n if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) {\r\n passwordRulesArr.push('special');\r\n }\r\n\r\n if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) {\r\n requiredLength = +passwordRules['Abp.Identity.Password.RequiredLength'];\r\n }\r\n\r\n this.form = this.fb.group(\r\n {\r\n password: ['', required],\r\n newPassword: [\r\n '',\r\n {\r\n validators: [required, validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(32)],\r\n },\r\n ],\r\n repeatNewPassword: [\r\n '',\r\n { validators: [required, validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(32)] },\r\n ],\r\n },\r\n {\r\n validators: [comparePasswords(PASSWORD_FIELDS)],\r\n },\r\n );\r\n }\r\n\r\n onSubmit() {\r\n if (this.form.invalid) return;\r\n this.inProgress = true;\r\n this.store\r\n .dispatch(\r\n new ChangePassword({\r\n currentPassword: this.form.get('password').value,\r\n newPassword: this.form.get('newPassword').value,\r\n }),\r\n )\r\n .pipe(finalize(() => (this.inProgress = false)))\r\n .subscribe({\r\n next: () => {\r\n this.form.reset();\r\n this.toasterService.success('AbpAccount::PasswordChangedMessage', 'Success', { life: 5000 });\r\n },\r\n error: err => {\r\n this.toasterService.error(snq(() => err.error.error.message, 'AbpAccount::DefaultErrorMessage'), 'Error', {\r\n life: 7000,\r\n });\r\n },\r\n });\r\n }\r\n}\r\n","import { GetProfile, Profile, ProfileState, UpdateProfile } from '@abp/ng.core';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { take, withLatestFrom, finalize } from 'rxjs/operators';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\n\r\nconst { maxLength, required, email } = Validators;\r\n\r\n@Component({\r\n selector: 'abp-personal-settings-form',\r\n templateUrl: './personal-settings.component.html',\r\n})\r\nexport class PersonalSettingsComponent implements OnInit {\r\n @Select(ProfileState.getProfile)\r\n profile$: Observable;\r\n\r\n form: FormGroup;\r\n\r\n inProgress: boolean;\r\n\r\n constructor(private fb: FormBuilder, private store: Store, private toasterService: ToasterService) {}\r\n\r\n ngOnInit() {\r\n this.buildForm();\r\n }\r\n\r\n buildForm() {\r\n this.store\r\n .dispatch(new GetProfile())\r\n .pipe(\r\n withLatestFrom(this.profile$),\r\n take(1),\r\n )\r\n .subscribe(([, profile]) => {\r\n this.form = this.fb.group({\r\n userName: [profile.userName, [required, maxLength(256)]],\r\n email: [profile.email, [required, email, maxLength(256)]],\r\n name: [profile.name || '', [maxLength(64)]],\r\n surname: [profile.surname || '', [maxLength(64)]],\r\n phoneNumber: [profile.phoneNumber || '', [maxLength(16)]],\r\n });\r\n });\r\n }\r\n\r\n submit() {\r\n if (this.form.invalid) return;\r\n this.inProgress = true;\r\n this.store\r\n .dispatch(new UpdateProfile(this.form.value))\r\n .pipe(finalize(() => (this.inProgress = false)))\r\n .subscribe(() => {\r\n this.toasterService.success('AbpAccount::PersonalSettingsSaved', 'Success', { life: 5000 });\r\n });\r\n }\r\n}\r\n","import { ABP, SetTenant, SessionState } from '@abp/ng.core';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { throwError } from 'rxjs';\r\nimport { catchError, take, finalize } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport { AccountService } from '../../services/account.service';\r\n\r\n@Component({\r\n selector: 'abp-tenant-box',\r\n templateUrl: './tenant-box.component.html',\r\n})\r\nexport class TenantBoxComponent implements OnInit {\r\n tenant = {} as ABP.BasicItem;\r\n\r\n tenantName: string;\r\n\r\n isModalVisible: boolean;\r\n\r\n inProgress: boolean;\r\n\r\n constructor(private store: Store, private toasterService: ToasterService, private accountService: AccountService) {}\r\n\r\n ngOnInit() {\r\n this.tenant = this.store.selectSnapshot(SessionState.getTenant) || ({} as ABP.BasicItem);\r\n this.tenantName = this.tenant.name || '';\r\n }\r\n\r\n onSwitch() {\r\n this.isModalVisible = true;\r\n }\r\n\r\n save() {\r\n if (this.tenant.name && !this.inProgress) {\r\n this.inProgress = true;\r\n this.accountService\r\n .findTenant(this.tenant.name)\r\n .pipe(\r\n finalize(() => (this.inProgress = false)),\r\n take(1),\r\n catchError(err => {\r\n this.toasterService.error(\r\n snq(() => err.error.error_description, 'AbpUi::DefaultErrorMessage'),\r\n 'AbpUi::Error',\r\n );\r\n return throwError(err);\r\n }),\r\n )\r\n .subscribe(({ success, tenantId }) => {\r\n if (success) {\r\n this.tenant = {\r\n id: tenantId,\r\n name: this.tenant.name,\r\n };\r\n this.tenantName = this.tenant.name;\r\n this.isModalVisible = false;\r\n } else {\r\n this.toasterService.error('AbpUiMultiTenancy::GivenTenantIsNotAvailable', 'AbpUi::Error', {\r\n messageLocalizationParams: [this.tenant.name],\r\n });\r\n this.tenant = {} as ABP.BasicItem;\r\n }\r\n this.store.dispatch(new SetTenant(success ? this.tenant : null));\r\n });\r\n } else {\r\n this.store.dispatch(new SetTenant(null));\r\n this.tenantName = null;\r\n this.isModalVisible = false;\r\n }\r\n }\r\n}\r\n","import { InjectionToken } from '@angular/core';\r\nimport { Options } from '../models/options';\r\n\r\nexport function optionsFactory(options: Options) {\r\n return {\r\n redirectUrl: '/',\r\n ...options,\r\n };\r\n}\r\n\r\nexport const ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS');\r\n","import { Component, Input, TemplateRef } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-auth-wrapper',\r\n templateUrl: './auth-wrapper.component.html',\r\n})\r\nexport class AuthWrapperComponent {\r\n @Input()\r\n mainContentRef: TemplateRef;\r\n\r\n @Input()\r\n cancelContentRef: TemplateRef;\r\n}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule, Provider } from '@angular/core';\r\nimport { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\nimport { TableModule } from 'primeng/table';\r\nimport { AccountRoutingModule } from './account-routing.module';\r\nimport { ChangePasswordComponent } from './components/change-password/change-password.component';\r\nimport { LoginComponent } from './components/login/login.component';\r\nimport { ManageProfileComponent } from './components/manage-profile/manage-profile.component';\r\nimport { PersonalSettingsComponent } from './components/personal-settings/personal-settings.component';\r\nimport { RegisterComponent } from './components/register/register.component';\r\nimport { TenantBoxComponent } from './components/tenant-box/tenant-box.component';\r\nimport { Options } from './models/options';\r\nimport { ACCOUNT_OPTIONS, optionsFactory } from './tokens/options.token';\r\nimport { AuthWrapperComponent } from './components/auth-wrapper/auth-wrapper.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n AuthWrapperComponent,\r\n LoginComponent,\r\n RegisterComponent,\r\n TenantBoxComponent,\r\n ChangePasswordComponent,\r\n ManageProfileComponent,\r\n PersonalSettingsComponent,\r\n ],\r\n imports: [CoreModule, AccountRoutingModule, ThemeSharedModule, TableModule, NgbDropdownModule, NgxValidateCoreModule],\r\n exports: [],\r\n})\r\nexport class AccountModule {}\r\n\r\n/**\r\n *\r\n * @deprecated since version 0.9\r\n */\r\nexport function AccountProviders(options = {} as Options): Provider[] {\r\n return [\r\n { provide: ACCOUNT_OPTIONS, useValue: options },\r\n {\r\n provide: 'ACCOUNT_OPTIONS',\r\n useFactory: optionsFactory,\r\n deps: [ACCOUNT_OPTIONS],\r\n },\r\n ];\r\n}\r\n","import { ABP, eLayoutType } from '@abp/ng.core';\r\n\r\n/**\r\n *\r\n * @deprecated since version 0.9\r\n */\r\nexport const ACCOUNT_ROUTES = {\r\n routes: [\r\n {\r\n name: 'Account',\r\n path: 'account',\r\n invisible: true,\r\n layout: eLayoutType.application,\r\n children: [{ path: 'login', name: 'Login', order: 1 }, { path: 'register', name: 'Register', order: 2 }],\r\n },\r\n ] as ABP.FullRoute[],\r\n};\r\n","export interface Options {\r\n redirectUrl?: string;\r\n}\r\n","export interface RegisterRequest {\r\n userName: string;\r\n emailAddress: string;\r\n password: string;\r\n appName?: string;\r\n}\r\n\r\nexport interface RegisterResponse {\r\n tenantId: string;\r\n userName: string;\r\n name: string;\r\n surname: string;\r\n email: string;\r\n emailConfirmed: boolean;\r\n phoneNumber: string;\r\n phoneNumberConfirmed: boolean;\r\n twoFactorEnabled: boolean;\r\n lockoutEnabled: boolean;\r\n lockoutEnd: string;\r\n concurrencyStamp: string;\r\n isDeleted: boolean;\r\n deleterId: string;\r\n deletionTime: string;\r\n lastModificationTime: string;\r\n lastModifierId: string;\r\n creationTime: string;\r\n creatorId: string;\r\n id: string;\r\n}\r\n","export interface TenantIdResponse {\r\n success: boolean;\r\n tenantId: string;\r\n}\r\n"],"names":["ConfigState","SessionState","from","HttpHeaders","switchMap","GetAppConfiguration","tap","Navigate","catchError","throwError","finalize","Component","FormBuilder","OAuthService","Store","ToasterService","Optional","Inject","trigger","transition","useAnimation","fadeIn","Injectable","RestService","maxLength","minLength","required","validatePassword","take","DynamicLayoutComponent","NgModule","RouterModule","comparePasswords","ChangePassword","email","GetProfile","withLatestFrom","UpdateProfile","tslib_1.__decorate","Select","ProfileState","Observable","SetTenant","InjectionToken","Input","CoreModule","ThemeSharedModule","TableModule","NgbDropdownModule","NgxValidateCoreModule"],"mappings":";;;;;;;;IAAA;IACA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CA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ACf,MAAM;gBACN,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;aACzG;SACF,EAAmB;KACrB;;;;;;;;;;;;;;;;IChBD,sBAEC;;;QADC,8BAAqB;;;;;;;;;;;ICDvB,8BAKC;;;QAJC,mCAAiB;;QACjB,uCAAqB;;QACrB,mCAAiB;;QACjB,kCAAiB;;;;;IAGnB,+BAqBC;;;QApBC,oCAAiB;;QACjB,oCAAiB;;QACjB,gCAAa;;QACb,mCAAgB;;QAChB,iCAAc;;QACd,0CAAwB;;QACxB,uCAAoB;;QACpB,gDAA8B;;QAC9B,4CAA0B;;QAC1B,0CAAwB;;QACxB,sCAAmB;;QACnB,4CAAyB;;QACzB,qCAAmB;;QACnB,qCAAkB;;QAClB,wCAAqB;;QACrB,gDAA6B;;QAC7B,0CAAuB;;QACvB,wCAAqB;;QACrB,qCAAkB;;QAClB,8BAAW;;;;;;;;;;;IC3Bb,+BAGC;;;QAFC,mCAAiB;;QACjB,oCAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/account/bundles/abp-ng.account.umd.min.js b/npm/ng-packs/dist/account/bundles/abp-ng.account.umd.min.js deleted file mode 100644 index 9fc8bd55322..00000000000 --- a/npm/ng-packs/dist/account/bundles/abp-ng.account.umd.min.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(r,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@abp/ng.core"),require("@abp/ng.theme.shared"),require("@angular/core"),require("@ng-bootstrap/ng-bootstrap"),require("@ngx-validate/core"),require("primeng/table"),require("@angular/router"),require("@angular/forms"),require("@ngxs/router-plugin"),require("@ngxs/store"),require("angular-oauth2-oidc"),require("rxjs"),require("rxjs/operators"),require("snq"),require("@angular/common/http"),require("@angular/animations")):"function"==typeof define&&define.amd?define("@abp/ng.account",["exports","@abp/ng.core","@abp/ng.theme.shared","@angular/core","@ng-bootstrap/ng-bootstrap","@ngx-validate/core","primeng/table","@angular/router","@angular/forms","@ngxs/router-plugin","@ngxs/store","angular-oauth2-oidc","rxjs","rxjs/operators","snq","@angular/common/http","@angular/animations"],e):e(((r=r||self).abp=r.abp||{},r.abp.ng=r.abp.ng||{},r.abp.ng.account={}),r.ng_core,r.ng_theme_shared,r.ng.core,r.ngBootstrap,r.core$1,r.table,r.ng.router,r.ng.forms,r.routerPlugin,r.store,r.angularOauth2Oidc,r.rxjs,r.rxjs.operators,r.snq,r.ng.common.http,r.ng.animations)}(this,(function(r,e,n,t,a,o,i,s,c,l,p,u,d,m,b,f,g){"use strict";b=b&&b.hasOwnProperty("default")?b.default:b;var h=function(){return(h=Object.assign||function(r){for(var e,n=1,t=arguments.length;n0)&&!(t=o.next()).done;)i.push(t.value)}catch(r){a={error:r}}finally{try{t&&!t.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}var w=c.Validators.maxLength,A=(c.Validators.minLength,c.Validators.required),S=function(){function r(r,n,t,a,o){this.fb=r,this.oauthService=n,this.store=t,this.toasterService=a,this.options=o,this.oauthService.configure(this.store.selectSnapshot(e.ConfigState.getOne("environment")).oAuthConfig),this.oauthService.loadDiscoveryDocument(),this.form=this.fb.group({username:["",[A,w(255)]],password:["",[A,w(32)]],remember:[!1]})}return r.prototype.onSubmit=function(){var r=this;if(!this.form.invalid){this.inProgress=!0;var n=this.store.selectSnapshot(e.SessionState.getTenant);d.from(this.oauthService.fetchTokenUsingPasswordFlow(this.form.get("username").value,this.form.get("password").value,new f.HttpHeaders(h({},n&&n.id&&{__tenant:n.id})))).pipe(m.switchMap((function(){return r.store.dispatch(new e.GetAppConfiguration)})),m.tap((function(){var e=b((function(){return window.history.state})).redirectUrl||(r.options||{}).redirectUrl||"/";r.store.dispatch(new l.Navigate([e]))})),m.catchError((function(e){return r.toasterService.error(b((function(){return e.error.error_description}))||b((function(){return e.error.error.message}),"AbpAccount::DefaultErrorMessage"),"Error",{life:7e3}),d.throwError(e)})),m.finalize((function(){return r.inProgress=!1}))).subscribe()}},r.decorators=[{type:t.Component,args:[{selector:"abp-login",template:'\r\n \r\n

{{ \'AbpAccount::Login\' | abpLocalization }}

\r\n \r\n {{ \'AbpAccount::AreYouANewUser\' | abpLocalization }}\r\n {{ \'AbpAccount::Register\' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n {{ \'AbpAccount::Login\' | abpLocalization }}\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n'}]}],r.ctorParameters=function(){return[{type:c.FormBuilder},{type:u.OAuthService},{type:p.Store},{type:n.ToasterService},{type:void 0,decorators:[{type:t.Optional},{type:t.Inject,args:["ACCOUNT_OPTIONS"]}]}]},r}();var C=function(){function r(){this.selectedTab=0}return r.decorators=[{type:t.Component,args:[{selector:"abp-manage-profile",template:'
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

\r\n {{ \'AbpIdentity::ChangePassword\' | abpLocalization }}\r\n
\r\n

\r\n \r\n
\r\n
\r\n
\r\n
\r\n

\r\n {{ \'AbpIdentity::PersonalSettings\' | abpLocalization }}\r\n
\r\n

\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n',animations:[g.trigger("fadeIn",[g.transition(":enter",g.useAnimation(n.fadeIn))])]}]}],r}();var P=function(){function r(r){this.rest=r}return r.prototype.findTenant=function(r){var e={method:"GET",url:"/api/abp/multi-tenancy/tenants/by-name/"+r};return this.rest.request(e)},r.prototype.register=function(r){var e={method:"POST",url:"/api/account/register",body:r};return this.rest.request(e,{skipHandleError:!0})},r.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],r.ctorParameters=function(){return[{type:e.RestService}]},r.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new r(t.ɵɵinject(e.RestService))},token:r,providedIn:"root"}),r}();var L=c.Validators.maxLength,N=c.Validators.minLength,T=c.Validators.required,I=c.Validators.email,x=function(){function r(r,n,t,a,o){this.fb=r,this.accountService=n,this.oauthService=t,this.store=a,this.toasterService=o,this.oauthService.configure(this.store.selectSnapshot(e.ConfigState.getOne("environment")).oAuthConfig),this.oauthService.loadDiscoveryDocument()}return r.prototype.ngOnInit=function(){var r=this.store.selectSnapshot(e.ConfigState.getSettings("Identity.Password")),n=[],t=1;"true"===(r["Abp.Identity.Password.RequireDigit"]||"").toLowerCase()&&n.push("number"),"true"===(r["Abp.Identity.Password.RequireLowercase"]||"").toLowerCase()&&n.push("small"),"true"===(r["Abp.Identity.Password.RequireUppercase"]||"").toLowerCase()&&n.push("capital"),+(r["Abp.Identity.Password.RequiredUniqueChars"]||0)>0&&n.push("special"),Number.isInteger(+r["Abp.Identity.Password.RequiredLength"])&&(t=+r["Abp.Identity.Password.RequiredLength"]),this.form=this.fb.group({username:["",[T,L(255)]],password:["",[T,o.validatePassword(n),N(t),L(32)]],email:["",[T,I]]})},r.prototype.onSubmit=function(){var r=this;if(!this.form.invalid){this.inProgress=!0;var n={userName:this.form.get("username").value,password:this.form.get("password").value,emailAddress:this.form.get("email").value,appName:"Angular"},t=this.store.selectSnapshot(e.SessionState.getTenant);this.accountService.register(n).pipe(m.switchMap((function(){return d.from(r.oauthService.fetchTokenUsingPasswordFlow(n.userName,n.password,new f.HttpHeaders(h({},t&&t.id&&{__tenant:t.id}))))})),m.switchMap((function(){return r.store.dispatch(new e.GetAppConfiguration)})),m.tap((function(){return r.store.dispatch(new l.Navigate(["/"]))})),m.take(1),m.catchError((function(e){return r.toasterService.error(b((function(){return e.error.error_description}))||b((function(){return e.error.error.message}),"AbpAccount::DefaultErrorMessage"),"Error",{life:7e3}),d.throwError(e)})),m.finalize((function(){return r.inProgress=!1}))).subscribe()}},r.decorators=[{type:t.Component,args:[{selector:"abp-register",template:'\r\n \r\n

{{ \'AbpAccount::Register\' | abpLocalization }}

\r\n \r\n {{ \'AbpAccount::AlreadyRegistered\' | abpLocalization }}\r\n {{ \'AbpAccount::Login\' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ \'AbpAccount::Register\' | abpLocalization }}\r\n \r\n \r\n
\r\n
\r\n'}]}],r.ctorParameters=function(){return[{type:c.FormBuilder},{type:P},{type:u.OAuthService},{type:p.Store},{type:n.ToasterService}]},r}();var z=[{path:"",pathMatch:"full",redirectTo:"login"},{path:"",component:e.DynamicLayoutComponent,children:[{path:"login",component:S},{path:"register",component:x},{path:"manage-profile",component:C}]}],O=function(){function r(){}return r.decorators=[{type:t.NgModule,args:[{imports:[s.RouterModule.forChild(z)],exports:[s.RouterModule]}]}],r}(),R=c.Validators.minLength,q=c.Validators.required,M=c.Validators.maxLength,k=["newPassword","repeatNewPassword"],U=function(){function r(r,e,n){this.fb=r,this.store=e,this.toasterService=n,this.mapErrorsFn=function(r,e,n){return k.indexOf(n.name)<0?r:r.concat(e.filter((function(r){return"passwordMismatch"===r.key})))}}return r.prototype.ngOnInit=function(){var r=this.store.selectSnapshot(e.ConfigState.getSettings("Identity.Password")),n=[],t=1;"true"===(r["Abp.Identity.Password.RequireDigit"]||"").toLowerCase()&&n.push("number"),"true"===(r["Abp.Identity.Password.RequireLowercase"]||"").toLowerCase()&&n.push("small"),"true"===(r["Abp.Identity.Password.RequireUppercase"]||"").toLowerCase()&&n.push("capital"),+(r["Abp.Identity.Password.RequiredUniqueChars"]||0)>0&&n.push("special"),Number.isInteger(+r["Abp.Identity.Password.RequiredLength"])&&(t=+r["Abp.Identity.Password.RequiredLength"]),this.form=this.fb.group({password:["",q],newPassword:["",{validators:[q,o.validatePassword(n),R(t),M(32)]}],repeatNewPassword:["",{validators:[q,o.validatePassword(n),R(t),M(32)]}]},{validators:[o.comparePasswords(k)]})},r.prototype.onSubmit=function(){var r=this;this.form.invalid||(this.inProgress=!0,this.store.dispatch(new e.ChangePassword({currentPassword:this.form.get("password").value,newPassword:this.form.get("newPassword").value})).pipe(m.finalize((function(){return r.inProgress=!1}))).subscribe({next:function(){r.form.reset(),r.toasterService.success("AbpAccount::PasswordChangedMessage","Success",{life:5e3})},error:function(e){r.toasterService.error(b((function(){return e.error.error.message}),"AbpAccount::DefaultErrorMessage"),"Error",{life:7e3})}}))},r.decorators=[{type:t.Component,args:[{selector:"abp-change-password-form",template:'
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ \'AbpIdentity::Save\' | abpLocalization }}\r\n
\r\n'}]}],r.ctorParameters=function(){return[{type:c.FormBuilder},{type:p.Store},{type:n.ToasterService}]},r}();var j=c.Validators.maxLength,D=c.Validators.required,E=c.Validators.email,V=function(){function r(r,e,n){this.fb=r,this.store=e,this.toasterService=n}return r.prototype.ngOnInit=function(){this.buildForm()},r.prototype.buildForm=function(){var r=this;this.store.dispatch(new e.GetProfile).pipe(m.withLatestFrom(this.profile$),m.take(1)).subscribe((function(e){var n=y(e,2)[1];r.form=r.fb.group({userName:[n.userName,[D,j(256)]],email:[n.email,[D,E,j(256)]],name:[n.name||"",[j(64)]],surname:[n.surname||"",[j(64)]],phoneNumber:[n.phoneNumber||"",[j(16)]]})}))},r.prototype.submit=function(){var r=this;this.form.invalid||(this.inProgress=!0,this.store.dispatch(new e.UpdateProfile(this.form.value)).pipe(m.finalize((function(){return r.inProgress=!1}))).subscribe((function(){r.toasterService.success("AbpAccount::PersonalSettingsSaved","Success",{life:5e3})})))},r.decorators=[{type:t.Component,args:[{selector:"abp-personal-settings-form",template:'
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ \'AbpIdentity::Save\' | abpLocalization }}\r\n
\r\n'}]}],r.ctorParameters=function(){return[{type:c.FormBuilder},{type:p.Store},{type:n.ToasterService}]},function(r,e,n,t){var a,o=arguments.length,i=o<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,n):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(r,e,n,t);else for(var s=r.length-1;s>=0;s--)(a=r[s])&&(i=(o<3?a(i):o>3?a(e,n,i):a(e,n))||i);o>3&&i&&Object.defineProperty(e,n,i)}([p.Select(e.ProfileState.getProfile),v("design:type",d.Observable)],r.prototype,"profile$",void 0),r}();var _=function(){function r(r,e,n){this.store=r,this.toasterService=e,this.accountService=n,this.tenant={}}return r.prototype.ngOnInit=function(){this.tenant=this.store.selectSnapshot(e.SessionState.getTenant)||{},this.tenantName=this.tenant.name||""},r.prototype.onSwitch=function(){this.isModalVisible=!0},r.prototype.save=function(){var r=this;this.tenant.name&&!this.inProgress?(this.inProgress=!0,this.accountService.findTenant(this.tenant.name).pipe(m.finalize((function(){return r.inProgress=!1})),m.take(1),m.catchError((function(e){return r.toasterService.error(b((function(){return e.error.error_description}),"AbpUi::DefaultErrorMessage"),"AbpUi::Error"),d.throwError(e)}))).subscribe((function(n){var t=n.success,a=n.tenantId;t?(r.tenant={id:a,name:r.tenant.name},r.tenantName=r.tenant.name,r.isModalVisible=!1):(r.toasterService.error("AbpUiMultiTenancy::GivenTenantIsNotAvailable","AbpUi::Error",{messageLocalizationParams:[r.tenant.name]}),r.tenant={}),r.store.dispatch(new e.SetTenant(t?r.tenant:null))}))):(this.store.dispatch(new e.SetTenant(null)),this.tenantName=null,this.isModalVisible=!1)},r.decorators=[{type:t.Component,args:[{selector:"abp-tenant-box",template:'
\r\n
\r\n
\r\n
\r\n {{\r\n \'AbpUiMultiTenancy::Tenant\' | abpLocalization\r\n }}
\r\n
\r\n \r\n {{ tenantName || (\'AbpUiMultiTenancy::NotSelected\' | abpLocalization) }}\r\n \r\n
\r\n
\r\n
\r\n {{ \'AbpUiMultiTenancy::Switch\' | abpLocalization }}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
Switch Tenant
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n

{{ \'AbpUiMultiTenancy::SwitchTenantHint\' | abpLocalization }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {{ \'AbpTenantManagement::Save\' | abpLocalization }}\r\n \r\n \r\n
\r\n'}]}],r.ctorParameters=function(){return[{type:p.Store},{type:n.ToasterService},{type:P}]},r}();function F(r){return h({redirectUrl:"/"},r)}var G=new t.InjectionToken("ACCOUNT_OPTIONS"),H=function(){function r(){}return r.decorators=[{type:t.Component,args:[{selector:"abp-auth-wrapper",template:'
\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n'}]}],r.propDecorators={mainContentRef:[{type:t.Input}],cancelContentRef:[{type:t.Input}]},r}();var B=function(){function r(){}return r.decorators=[{type:t.NgModule,args:[{declarations:[H,S,x,_,U,C,V],imports:[e.CoreModule,O,n.ThemeSharedModule,i.TableModule,a.NgbDropdownModule,o.NgxValidateCoreModule],exports:[]}]}],r}();r.ACCOUNT_OPTIONS=G,r.ACCOUNT_ROUTES={routes:[{name:"Account",path:"account",invisible:!0,layout:"application",children:[{path:"login",name:"Login",order:1},{path:"register",name:"Register",order:2}]}]},r.AccountModule=B,r.AccountProviders=function(r){return void 0===r&&(r={}),[{provide:G,useValue:r},{provide:"ACCOUNT_OPTIONS",useFactory:F,deps:[G]}]},r.ChangePasswordComponent=U,r.LoginComponent=S,r.ManageProfileComponent=C,r.PersonalSettingsComponent=V,r.RegisterComponent=x,r.optionsFactory=F,r.ɵa=H,r.ɵb=S,r.ɵd=x,r.ɵe=P,r.ɵf=_,r.ɵg=U,r.ɵh=C,r.ɵi=V,r.ɵj=O,r.ɵk=F,r.ɵl=G,Object.defineProperty(r,"__esModule",{value:!0})})); -//# sourceMappingURL=abp-ng.account.umd.min.js.map \ No newline at end of file diff --git a/npm/ng-packs/dist/account/bundles/abp-ng.account.umd.min.js.map b/npm/ng-packs/dist/account/bundles/abp-ng.account.umd.min.js.map deleted file mode 100644 index 242d1b779b1..00000000000 --- a/npm/ng-packs/dist/account/bundles/abp-ng.account.umd.min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@abp/ng.account/lib/components/login/login.component.ts","ng://@abp/ng.account/lib/components/manage-profile/manage-profile.component.ts","ng://@abp/ng.account/lib/services/account.service.ts","ng://@abp/ng.account/lib/components/register/register.component.ts","ng://@abp/ng.account/lib/account-routing.module.ts","ng://@abp/ng.account/lib/components/change-password/change-password.component.ts","ng://@abp/ng.account/lib/components/personal-settings/personal-settings.component.ts","ng://@abp/ng.account/lib/components/tenant-box/tenant-box.component.ts","ng://@abp/ng.account/lib/tokens/options.token.ts","ng://@abp/ng.account/lib/components/auth-wrapper/auth-wrapper.component.ts","ng://@abp/ng.account/lib/account.module.ts","ng://@abp/ng.account/lib/constants/routes.ts"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__metadata","metadataKey","metadataValue","Reflect","metadata","__read","o","m","Symbol","iterator","r","e","ar","next","done","push","value","error","maxLength","forms","Validators","required","minLength","LoginComponent","fb","oauthService","store","toasterService","options","configure","selectSnapshot","ConfigState","getOne","oAuthConfig","loadDiscoveryDocument","form","group","username","password","remember","onSubmit","_this","invalid","inProgress","tenant","SessionState","getTenant","from","fetchTokenUsingPasswordFlow","get","HttpHeaders","id","__tenant","pipe","switchMap","dispatch","GetAppConfiguration","tap","redirectUrl","snq","window","history","state","Navigate","catchError","err","error_description","message","life","throwError","finalize","subscribe","Component","args","selector","template","FormBuilder","OAuthService","Store","ToasterService","Optional","type","Inject","ManageProfileComponent","selectedTab","animations","trigger","transition","useAnimation","fadeIn","AccountService","rest","findTenant","tenantName","request","method","url","register","body","skipHandleError","Injectable","providedIn","RestService","email","RegisterComponent","accountService","ngOnInit","passwordRules","getSettings","passwordRulesArr","requiredLength","toLowerCase","Number","isInteger","validatePassword","newUser","userName","emailAddress","appName","take","routes","path","pathMatch","redirectTo","component","DynamicLayoutComponent","children","AccountRoutingModule","NgModule","imports","RouterModule","forChild","exports","PASSWORD_FIELDS","ChangePasswordComponent","mapErrorsFn","errors","groupErrors","control","indexOf","name","concat","filter","_a","key","newPassword","validators","repeatNewPassword","comparePasswords","ChangePassword","currentPassword","reset","success","PersonalSettingsComponent","buildForm","GetProfile","withLatestFrom","profile$","profile","surname","phoneNumber","submit","UpdateProfile","decorators","target","desc","d","c","getOwnPropertyDescriptor","decorate","defineProperty","tslib_1.__decorate","Select","ProfileState","getProfile","Observable","TenantBoxComponent","onSwitch","isModalVisible","save","tenantId","messageLocalizationParams","SetTenant","optionsFactory","ACCOUNT_OPTIONS","InjectionToken","AuthWrapperComponent","Input","AccountModule","declarations","CoreModule","ThemeSharedModule","TableModule","NgbDropdownModule","NgxValidateCoreModule","invisible","layout","order","provide","useValue","useFactory","deps"],"mappings":"yuCA6BO,IAAIA,EAAW,WAQlB,OAPAA,EAAWC,OAAOC,QAAU,SAAkBC,GAC1C,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,IAE9E,OAAON,IAEKU,MAAMC,KAAMP,YA0BzB,SAASQ,EAAWC,EAAaC,GACpC,GAAuB,iBAAZC,SAAoD,mBAArBA,QAAQC,SAAyB,OAAOD,QAAQC,SAASH,EAAaC,GAuD7G,SAASG,EAAOC,EAAGf,GACtB,IAAIgB,EAAsB,mBAAXC,QAAyBF,EAAEE,OAAOC,UACjD,IAAKF,EAAG,OAAOD,EACf,IAAmBI,EAAYC,EAA3BrB,EAAIiB,EAAEV,KAAKS,GAAOM,EAAK,GAC3B,IACI,WAAc,IAANrB,GAAgBA,KAAM,MAAQmB,EAAIpB,EAAEuB,QAAQC,MAAMF,EAAGG,KAAKL,EAAEM,OA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KG,OAAS,YAG9D7C,KAAK2B,MAAM6B,SAAS,IAAI+H,EAAAA,UAAU,OAClCvL,KAAK8F,WAAa,KAClB9F,KAAKmL,gBAAiB,wBA3D3B1G,EAAAA,UAASC,KAAA,CAAC,CACTC,SAAU,iBACVC,SAAA,s8DAROG,EAAAA,aAFAC,EAAAA,sBAMAW,KAgETsF,EAvEA,GCGA,SAAgBO,EAAe3J,GAC7B,OAAA3C,EAAA,CACEyE,YAAa,KACV9B,GAIP,IAAa4J,EAAkB,IAAIC,EAAAA,eAAe,mBCVlDC,EAAA,WAEA,SAAAA,KAUA,2BAVClH,EAAAA,UAASC,KAAA,CAAC,CACTC,SAAU,mBACVC,SAAA,wfAGCgH,EAAAA,gCAGAA,EAAAA,SAEHD,EAZA,GCAA,IAAAE,EAAA,WAiBA,SAAAA,KAa4B,2BAb3B5D,EAAAA,SAAQvD,KAAA,CAAC,CACRoH,aAAc,CACZH,EACAnK,EACAiF,EACAwE,EACA1C,EACAnD,EACAsE,GAEFxB,QAAS,CAAC6D,EAAAA,WAAY/D,EAAsBgE,EAAAA,kBAAmBC,EAAAA,YAAaC,EAAAA,kBAAmBC,EAAAA,uBAC/F9D,QAAS,OAEiBwD,EA9B5B,wCCM8B,CAC5BpE,OAAM,CACJ,CACEoB,KAAM,UACNnB,KAAM,UACN0E,WAAW,EACXC,OAAM,cACNtE,SAAU,CAAC,CAAEL,KAAM,QAASmB,KAAM,QAASyD,MAAO,GAAK,CAAE5E,KAAM,WAAYmB,KAAM,WAAYyD,MAAO,4CDuB1G,SAAiCzK,GAC/B,YAD+B,IAAAA,IAAAA,EAAA,IACxB,CACL,CAAE0K,QAASd,EAAiBe,SAAU3K,GACtC,CACE0K,QAAS,kBACTE,WAAYjB,EACZkB,KAAM,CAACjB","sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { GetAppConfiguration, ConfigState, SessionState } from '@abp/ng.core';\r\nimport { Component, Inject, Optional } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Navigate } from '@ngxs/router-plugin';\r\nimport { Store } from '@ngxs/store';\r\nimport { OAuthService } from 'angular-oauth2-oidc';\r\nimport { from, throwError } from 'rxjs';\r\nimport { Options } from '../../models/options';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { catchError, finalize, switchMap, tap } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport { HttpHeaders } from '@angular/common/http';\r\n\r\nconst { maxLength, minLength, required } = Validators;\r\n\r\n@Component({\r\n selector: 'abp-login',\r\n templateUrl: './login.component.html',\r\n})\r\nexport class LoginComponent {\r\n form: FormGroup;\r\n\r\n inProgress: boolean;\r\n\r\n constructor(\r\n private fb: FormBuilder,\r\n private oauthService: OAuthService,\r\n private store: Store,\r\n private toasterService: ToasterService,\r\n @Optional() @Inject('ACCOUNT_OPTIONS') private options: Options,\r\n ) {\r\n this.oauthService.configure(this.store.selectSnapshot(ConfigState.getOne('environment')).oAuthConfig);\r\n this.oauthService.loadDiscoveryDocument();\r\n\r\n this.form = this.fb.group({\r\n username: ['', [required, maxLength(255)]],\r\n password: ['', [required, maxLength(32)]],\r\n remember: [false],\r\n });\r\n }\r\n\r\n onSubmit() {\r\n if (this.form.invalid) return;\r\n // this.oauthService.setStorage(this.form.value.remember ? localStorage : sessionStorage);\r\n\r\n this.inProgress = true;\r\n const tenant = this.store.selectSnapshot(SessionState.getTenant);\r\n from(\r\n this.oauthService.fetchTokenUsingPasswordFlow(\r\n this.form.get('username').value,\r\n this.form.get('password').value,\r\n new HttpHeaders({ ...(tenant && tenant.id && { __tenant: tenant.id }) }),\r\n ),\r\n )\r\n .pipe(\r\n switchMap(() => this.store.dispatch(new GetAppConfiguration())),\r\n tap(() => {\r\n const redirectUrl = snq(() => window.history.state).redirectUrl || (this.options || {}).redirectUrl || '/';\r\n this.store.dispatch(new Navigate([redirectUrl]));\r\n }),\r\n catchError(err => {\r\n this.toasterService.error(\r\n snq(() => err.error.error_description) ||\r\n snq(() => err.error.error.message, 'AbpAccount::DefaultErrorMessage'),\r\n 'Error',\r\n { life: 7000 },\r\n );\r\n return throwError(err);\r\n }),\r\n finalize(() => (this.inProgress = false)),\r\n )\r\n .subscribe();\r\n }\r\n}\r\n","import { fadeIn } from '@abp/ng.theme.shared';\r\nimport { transition, trigger, useAnimation } from '@angular/animations';\r\nimport { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-manage-profile',\r\n templateUrl: './manage-profile.component.html',\r\n animations: [trigger('fadeIn', [transition(':enter', useAnimation(fadeIn))])],\r\n})\r\nexport class ManageProfileComponent {\r\n selectedTab = 0;\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport { RegisterResponse, RegisterRequest, TenantIdResponse } from '../models';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AccountService {\r\n constructor(private rest: RestService) {}\r\n\r\n findTenant(tenantName: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: `/api/abp/multi-tenancy/tenants/by-name/${tenantName}`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n register(body: RegisterRequest): Observable {\r\n const request: Rest.Request = {\r\n method: 'POST',\r\n url: '/api/account/register',\r\n body,\r\n };\r\n\r\n return this.rest.request(request, { skipHandleError: true });\r\n }\r\n}\r\n","import { ConfigState, GetAppConfiguration, ABP, SessionState } from '@abp/ng.core';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Navigate } from '@ngxs/router-plugin';\r\nimport { Store } from '@ngxs/store';\r\nimport { OAuthService } from 'angular-oauth2-oidc';\r\nimport { from, throwError } from 'rxjs';\r\nimport { catchError, finalize, switchMap, take, tap } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport { RegisterRequest } from '../../models';\r\nimport { AccountService } from '../../services/account.service';\r\nimport { PasswordRules, validatePassword } from '@ngx-validate/core';\r\nimport { HttpHeaders } from '@angular/common/http';\r\nconst { maxLength, minLength, required, email } = Validators;\r\n\r\n@Component({\r\n selector: 'abp-register',\r\n templateUrl: './register.component.html',\r\n})\r\nexport class RegisterComponent implements OnInit {\r\n form: FormGroup;\r\n\r\n inProgress: boolean;\r\n\r\n constructor(\r\n private fb: FormBuilder,\r\n private accountService: AccountService,\r\n private oauthService: OAuthService,\r\n private store: Store,\r\n private toasterService: ToasterService,\r\n ) {\r\n this.oauthService.configure(\r\n this.store.selectSnapshot(ConfigState.getOne('environment')).oAuthConfig,\r\n );\r\n this.oauthService.loadDiscoveryDocument();\r\n }\r\n\r\n ngOnInit() {\r\n const passwordRules: ABP.Dictionary = this.store.selectSnapshot(\r\n ConfigState.getSettings('Identity.Password'),\r\n );\r\n const passwordRulesArr = [] as PasswordRules;\r\n let requiredLength = 1;\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('number');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('small');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('capital');\r\n }\r\n\r\n if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) {\r\n passwordRulesArr.push('special');\r\n }\r\n\r\n if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) {\r\n requiredLength = +passwordRules['Abp.Identity.Password.RequiredLength'];\r\n }\r\n\r\n this.form = this.fb.group({\r\n username: ['', [required, maxLength(255)]],\r\n password: [\r\n '',\r\n [required, validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(32)],\r\n ],\r\n email: ['', [required, email]],\r\n });\r\n }\r\n\r\n onSubmit() {\r\n if (this.form.invalid) return;\r\n\r\n this.inProgress = true;\r\n\r\n const newUser = {\r\n userName: this.form.get('username').value,\r\n password: this.form.get('password').value,\r\n emailAddress: this.form.get('email').value,\r\n appName: 'Angular',\r\n } as RegisterRequest;\r\n\r\n const tenant = this.store.selectSnapshot(SessionState.getTenant);\r\n\r\n this.accountService\r\n .register(newUser)\r\n .pipe(\r\n switchMap(() =>\r\n from(\r\n this.oauthService.fetchTokenUsingPasswordFlow(\r\n newUser.userName,\r\n newUser.password,\r\n new HttpHeaders({\r\n ...(tenant && tenant.id && { __tenant: tenant.id }),\r\n }),\r\n ),\r\n ),\r\n ),\r\n switchMap(() => this.store.dispatch(new GetAppConfiguration())),\r\n tap(() => this.store.dispatch(new Navigate(['/']))),\r\n take(1),\r\n catchError(err => {\r\n this.toasterService.error(\r\n snq(() => err.error.error_description) ||\r\n snq(() => err.error.error.message, 'AbpAccount::DefaultErrorMessage'),\r\n 'Error',\r\n { life: 7000 },\r\n );\r\n return throwError(err);\r\n }),\r\n finalize(() => (this.inProgress = false)),\r\n )\r\n .subscribe();\r\n }\r\n}\r\n","import { DynamicLayoutComponent } from '@abp/ng.core';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { LoginComponent } from './components/login/login.component';\r\nimport { ManageProfileComponent } from './components/manage-profile/manage-profile.component';\r\nimport { RegisterComponent } from './components/register/register.component';\r\n\r\nconst routes: Routes = [\r\n { path: '', pathMatch: 'full', redirectTo: 'login' },\r\n {\r\n path: '',\r\n component: DynamicLayoutComponent,\r\n children: [\r\n { path: 'login', component: LoginComponent },\r\n { path: 'register', component: RegisterComponent },\r\n {\r\n path: 'manage-profile',\r\n component: ManageProfileComponent,\r\n },\r\n ],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class AccountRoutingModule {}\r\n","import { ChangePassword, ConfigState, ABP } from '@abp/ng.core';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { comparePasswords, Validation, PasswordRules, validatePassword } from '@ngx-validate/core';\r\nimport { Store } from '@ngxs/store';\r\nimport snq from 'snq';\r\nimport { finalize } from 'rxjs/operators';\r\n\r\nconst { minLength, required, maxLength } = Validators;\r\n\r\nconst PASSWORD_FIELDS = ['newPassword', 'repeatNewPassword'];\r\n\r\n@Component({\r\n selector: 'abp-change-password-form',\r\n templateUrl: './change-password.component.html',\r\n})\r\nexport class ChangePasswordComponent implements OnInit {\r\n form: FormGroup;\r\n\r\n inProgress: boolean;\r\n\r\n mapErrorsFn: Validation.MapErrorsFn = (errors, groupErrors, control) => {\r\n if (PASSWORD_FIELDS.indexOf(control.name) < 0) return errors;\r\n\r\n return errors.concat(groupErrors.filter(({ key }) => key === 'passwordMismatch'));\r\n };\r\n\r\n constructor(private fb: FormBuilder, private store: Store, private toasterService: ToasterService) {}\r\n\r\n ngOnInit(): void {\r\n const passwordRules: ABP.Dictionary = this.store.selectSnapshot(\r\n ConfigState.getSettings('Identity.Password'),\r\n );\r\n const passwordRulesArr = [] as PasswordRules;\r\n let requiredLength = 1;\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('number');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('small');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('capital');\r\n }\r\n\r\n if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) {\r\n passwordRulesArr.push('special');\r\n }\r\n\r\n if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) {\r\n requiredLength = +passwordRules['Abp.Identity.Password.RequiredLength'];\r\n }\r\n\r\n this.form = this.fb.group(\r\n {\r\n password: ['', required],\r\n newPassword: [\r\n '',\r\n {\r\n validators: [required, validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(32)],\r\n },\r\n ],\r\n repeatNewPassword: [\r\n '',\r\n { validators: [required, validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(32)] },\r\n ],\r\n },\r\n {\r\n validators: [comparePasswords(PASSWORD_FIELDS)],\r\n },\r\n );\r\n }\r\n\r\n onSubmit() {\r\n if (this.form.invalid) return;\r\n this.inProgress = true;\r\n this.store\r\n .dispatch(\r\n new ChangePassword({\r\n currentPassword: this.form.get('password').value,\r\n newPassword: this.form.get('newPassword').value,\r\n }),\r\n )\r\n .pipe(finalize(() => (this.inProgress = false)))\r\n .subscribe({\r\n next: () => {\r\n this.form.reset();\r\n this.toasterService.success('AbpAccount::PasswordChangedMessage', 'Success', { life: 5000 });\r\n },\r\n error: err => {\r\n this.toasterService.error(snq(() => err.error.error.message, 'AbpAccount::DefaultErrorMessage'), 'Error', {\r\n life: 7000,\r\n });\r\n },\r\n });\r\n }\r\n}\r\n","import { GetProfile, Profile, ProfileState, UpdateProfile } from '@abp/ng.core';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { take, withLatestFrom, finalize } from 'rxjs/operators';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\n\r\nconst { maxLength, required, email } = Validators;\r\n\r\n@Component({\r\n selector: 'abp-personal-settings-form',\r\n templateUrl: './personal-settings.component.html',\r\n})\r\nexport class PersonalSettingsComponent implements OnInit {\r\n @Select(ProfileState.getProfile)\r\n profile$: Observable;\r\n\r\n form: FormGroup;\r\n\r\n inProgress: boolean;\r\n\r\n constructor(private fb: FormBuilder, private store: Store, private toasterService: ToasterService) {}\r\n\r\n ngOnInit() {\r\n this.buildForm();\r\n }\r\n\r\n buildForm() {\r\n this.store\r\n .dispatch(new GetProfile())\r\n .pipe(\r\n withLatestFrom(this.profile$),\r\n take(1),\r\n )\r\n .subscribe(([, profile]) => {\r\n this.form = this.fb.group({\r\n userName: [profile.userName, [required, maxLength(256)]],\r\n email: [profile.email, [required, email, maxLength(256)]],\r\n name: [profile.name || '', [maxLength(64)]],\r\n surname: [profile.surname || '', [maxLength(64)]],\r\n phoneNumber: [profile.phoneNumber || '', [maxLength(16)]],\r\n });\r\n });\r\n }\r\n\r\n submit() {\r\n if (this.form.invalid) return;\r\n this.inProgress = true;\r\n this.store\r\n .dispatch(new UpdateProfile(this.form.value))\r\n .pipe(finalize(() => (this.inProgress = false)))\r\n .subscribe(() => {\r\n this.toasterService.success('AbpAccount::PersonalSettingsSaved', 'Success', { life: 5000 });\r\n });\r\n }\r\n}\r\n","import { ABP, SetTenant, SessionState } from '@abp/ng.core';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { throwError } from 'rxjs';\r\nimport { catchError, take, finalize } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport { AccountService } from '../../services/account.service';\r\n\r\n@Component({\r\n selector: 'abp-tenant-box',\r\n templateUrl: './tenant-box.component.html',\r\n})\r\nexport class TenantBoxComponent implements OnInit {\r\n tenant = {} as ABP.BasicItem;\r\n\r\n tenantName: string;\r\n\r\n isModalVisible: boolean;\r\n\r\n inProgress: boolean;\r\n\r\n constructor(private store: Store, private toasterService: ToasterService, private accountService: AccountService) {}\r\n\r\n ngOnInit() {\r\n this.tenant = this.store.selectSnapshot(SessionState.getTenant) || ({} as ABP.BasicItem);\r\n this.tenantName = this.tenant.name || '';\r\n }\r\n\r\n onSwitch() {\r\n this.isModalVisible = true;\r\n }\r\n\r\n save() {\r\n if (this.tenant.name && !this.inProgress) {\r\n this.inProgress = true;\r\n this.accountService\r\n .findTenant(this.tenant.name)\r\n .pipe(\r\n finalize(() => (this.inProgress = false)),\r\n take(1),\r\n catchError(err => {\r\n this.toasterService.error(\r\n snq(() => err.error.error_description, 'AbpUi::DefaultErrorMessage'),\r\n 'AbpUi::Error',\r\n );\r\n return throwError(err);\r\n }),\r\n )\r\n .subscribe(({ success, tenantId }) => {\r\n if (success) {\r\n this.tenant = {\r\n id: tenantId,\r\n name: this.tenant.name,\r\n };\r\n this.tenantName = this.tenant.name;\r\n this.isModalVisible = false;\r\n } else {\r\n this.toasterService.error('AbpUiMultiTenancy::GivenTenantIsNotAvailable', 'AbpUi::Error', {\r\n messageLocalizationParams: [this.tenant.name],\r\n });\r\n this.tenant = {} as ABP.BasicItem;\r\n }\r\n this.store.dispatch(new SetTenant(success ? this.tenant : null));\r\n });\r\n } else {\r\n this.store.dispatch(new SetTenant(null));\r\n this.tenantName = null;\r\n this.isModalVisible = false;\r\n }\r\n }\r\n}\r\n","import { InjectionToken } from '@angular/core';\r\nimport { Options } from '../models/options';\r\n\r\nexport function optionsFactory(options: Options) {\r\n return {\r\n redirectUrl: '/',\r\n ...options,\r\n };\r\n}\r\n\r\nexport const ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS');\r\n","import { Component, Input, TemplateRef } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-auth-wrapper',\r\n templateUrl: './auth-wrapper.component.html',\r\n})\r\nexport class AuthWrapperComponent {\r\n @Input()\r\n mainContentRef: TemplateRef;\r\n\r\n @Input()\r\n cancelContentRef: TemplateRef;\r\n}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule, Provider } from '@angular/core';\r\nimport { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\nimport { TableModule } from 'primeng/table';\r\nimport { AccountRoutingModule } from './account-routing.module';\r\nimport { ChangePasswordComponent } from './components/change-password/change-password.component';\r\nimport { LoginComponent } from './components/login/login.component';\r\nimport { ManageProfileComponent } from './components/manage-profile/manage-profile.component';\r\nimport { PersonalSettingsComponent } from './components/personal-settings/personal-settings.component';\r\nimport { RegisterComponent } from './components/register/register.component';\r\nimport { TenantBoxComponent } from './components/tenant-box/tenant-box.component';\r\nimport { Options } from './models/options';\r\nimport { ACCOUNT_OPTIONS, optionsFactory } from './tokens/options.token';\r\nimport { AuthWrapperComponent } from './components/auth-wrapper/auth-wrapper.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n AuthWrapperComponent,\r\n LoginComponent,\r\n RegisterComponent,\r\n TenantBoxComponent,\r\n ChangePasswordComponent,\r\n ManageProfileComponent,\r\n PersonalSettingsComponent,\r\n ],\r\n imports: [CoreModule, AccountRoutingModule, ThemeSharedModule, TableModule, NgbDropdownModule, NgxValidateCoreModule],\r\n exports: [],\r\n})\r\nexport class AccountModule {}\r\n\r\n/**\r\n *\r\n * @deprecated since version 0.9\r\n */\r\nexport function AccountProviders(options = {} as Options): Provider[] {\r\n return [\r\n { provide: ACCOUNT_OPTIONS, useValue: options },\r\n {\r\n provide: 'ACCOUNT_OPTIONS',\r\n useFactory: optionsFactory,\r\n deps: [ACCOUNT_OPTIONS],\r\n },\r\n ];\r\n}\r\n","import { ABP, eLayoutType } from '@abp/ng.core';\r\n\r\n/**\r\n *\r\n * @deprecated since version 0.9\r\n */\r\nexport const ACCOUNT_ROUTES = {\r\n routes: [\r\n {\r\n name: 'Account',\r\n path: 'account',\r\n invisible: true,\r\n layout: eLayoutType.application,\r\n children: [{ path: 'login', name: 'Login', order: 1 }, { path: 'register', name: 'Register', order: 2 }],\r\n },\r\n ] as ABP.FullRoute[],\r\n};\r\n"]} \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm2015/abp-ng.account.js b/npm/ng-packs/dist/account/esm2015/abp-ng.account.js deleted file mode 100644 index 3cb3ff5c425..00000000000 --- a/npm/ng-packs/dist/account/esm2015/abp-ng.account.js +++ /dev/null @@ -1,20 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.account.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { AccountProviders, AccountModule, ChangePasswordComponent, LoginComponent, ManageProfileComponent, RegisterComponent, PersonalSettingsComponent, ACCOUNT_ROUTES, optionsFactory, ACCOUNT_OPTIONS } from './public-api'; -export { AccountRoutingModule as ɵj } from './lib/account-routing.module'; -export { AuthWrapperComponent as ɵa } from './lib/components/auth-wrapper/auth-wrapper.component'; -export { ChangePasswordComponent as ɵg } from './lib/components/change-password/change-password.component'; -export { LoginComponent as ɵb } from './lib/components/login/login.component'; -export { ManageProfileComponent as ɵh } from './lib/components/manage-profile/manage-profile.component'; -export { PersonalSettingsComponent as ɵi } from './lib/components/personal-settings/personal-settings.component'; -export { RegisterComponent as ɵd } from './lib/components/register/register.component'; -export { TenantBoxComponent as ɵf } from './lib/components/tenant-box/tenant-box.component'; -export { AccountService as ɵe } from './lib/services/account.service'; -export { ACCOUNT_OPTIONS as ɵl, optionsFactory as ɵk } from './lib/tokens/options.token'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW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c7XG5leHBvcnQge0FjY291bnRTZXJ2aWNlIGFzIMm1ZX0gZnJvbSAnLi9saWIvc2VydmljZXMvYWNjb3VudC5zZXJ2aWNlJztcbmV4cG9ydCB7QUNDT1VOVF9PUFRJT05TIGFzIMm1bCxvcHRpb25zRmFjdG9yeSBhcyDJtWt9IGZyb20gJy4vbGliL3Rva2Vucy9vcHRpb25zLnRva2VuJzsiXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm2015/lib/account-routing.module.js b/npm/ng-packs/dist/account/esm2015/lib/account-routing.module.js deleted file mode 100644 index 0b4593f76bb..00000000000 --- a/npm/ng-packs/dist/account/esm2015/lib/account-routing.module.js +++ /dev/null @@ -1,36 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/account-routing.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { DynamicLayoutComponent } from '@abp/ng.core'; -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { LoginComponent } from './components/login/login.component'; -import { ManageProfileComponent } from './components/manage-profile/manage-profile.component'; -import { RegisterComponent } from './components/register/register.component'; -/** @type {?} */ -const routes = [ - { path: '', pathMatch: 'full', redirectTo: 'login' }, - { - path: '', - component: DynamicLayoutComponent, - children: [ - { path: 'login', component: LoginComponent }, - { path: 'register', component: RegisterComponent }, - { - path: 'manage-profile', - component: ManageProfileComponent, - }, - ], - }, -]; -export class AccountRoutingModule { -} -AccountRoutingModule.decorators = [ - { type: NgModule, args: [{ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule], - },] } -]; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudC1yb3V0aW5nLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuYWNjb3VudC8iLCJzb3VyY2VzIjpbImxpYi9hY2NvdW50LXJvdXRpbmcubW9kdWxlLnRzIl0s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XG4gIH0sXHJcbl07XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGltcG9ydHM6IFtSb3V0ZXJNb2R1bGUuZm9yQ2hpbGQocm91dGVzKV0sXHJcbiAgZXhwb3J0czogW1JvdXRlck1vZHVsZV0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBBY2NvdW50Um91dGluZ01vZHVsZSB7fVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm2015/lib/account.module.js b/npm/ng-packs/dist/account/esm2015/lib/account.module.js deleted file mode 100644 index 9d7c922fefb..00000000000 --- a/npm/ng-packs/dist/account/esm2015/lib/account.module.js +++ /dev/null @@ -1,54 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/account.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { CoreModule } from '@abp/ng.core'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; -import { NgModule } from '@angular/core'; -import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; -import { NgxValidateCoreModule } from '@ngx-validate/core'; -import { TableModule } from 'primeng/table'; -import { AccountRoutingModule } from './account-routing.module'; -import { ChangePasswordComponent } from './components/change-password/change-password.component'; -import { LoginComponent } from './components/login/login.component'; -import { ManageProfileComponent } from './components/manage-profile/manage-profile.component'; -import { PersonalSettingsComponent } from './components/personal-settings/personal-settings.component'; -import { RegisterComponent } from './components/register/register.component'; -import { TenantBoxComponent } from './components/tenant-box/tenant-box.component'; -import { ACCOUNT_OPTIONS, optionsFactory } from './tokens/options.token'; -import { AuthWrapperComponent } from './components/auth-wrapper/auth-wrapper.component'; -export class AccountModule { -} -AccountModule.decorators = [ - { type: NgModule, args: [{ - declarations: [ - AuthWrapperComponent, - LoginComponent, - RegisterComponent, - TenantBoxComponent, - ChangePasswordComponent, - ManageProfileComponent, - PersonalSettingsComponent, - ], - imports: [CoreModule, AccountRoutingModule, ThemeSharedModule, TableModule, NgbDropdownModule, NgxValidateCoreModule], - exports: [], - },] } -]; -/** - * - * @deprecated since version 0.9 - * @param {?=} options - * @return {?} - */ -export function AccountProviders(options = (/** @type {?} */ ({}))) { - return [ - { provide: ACCOUNT_OPTIONS, useValue: options }, - { - provide: 'ACCOUNT_OPTIONS', - useFactory: optionsFactory, - deps: [ACCOUNT_OPTIONS], - }, - ]; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudC5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmFjY291bnQvIiwic291cmNlcyI6WyJsaWIvYWNjb3VudC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQzFDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3pELE9BQU8sRUFBRSxRQUFRLEVBQVksTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFDL0QsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDM0QsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM1QyxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUNoRSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSx3REFBd0QsQ0FBQztBQUNqRyxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sb0NBQW9DLENBQUM7QUFDcEUsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sc0RBQXNELENBQUM7QUFDOUYsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sNERBQTRELENBQUM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E9wdGlvbnMpOiBQcm92aWRlcltdIHtcclxuICByZXR1cm4gW1xyXG4gICAgeyBwcm92aWRlOiBBQ0NPVU5UX09QVElPTlMsIHVzZVZhbHVlOiBvcHRpb25zIH0sXHJcbiAgICB7XHJcbiAgICAgIHByb3ZpZGU6ICdBQ0NPVU5UX09QVElPTlMnLFxyXG4gICAgICB1c2VGYWN0b3J5OiBvcHRpb25zRmFjdG9yeSxcclxuICAgICAgZGVwczogW0FDQ09VTlRfT1BUSU9OU10sXHJcbiAgICB9LFxyXG4gIF07XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm2015/lib/components/auth-wrapper/auth-wrapper.component.js b/npm/ng-packs/dist/account/esm2015/lib/components/auth-wrapper/auth-wrapper.component.js deleted file mode 100644 index 2b0fdbf816e..00000000000 --- a/npm/ng-packs/dist/account/esm2015/lib/components/auth-wrapper/auth-wrapper.component.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/auth-wrapper/auth-wrapper.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component, Input, TemplateRef } from '@angular/core'; -export class AuthWrapperComponent { -} -AuthWrapperComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-auth-wrapper', - template: "
\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n" - }] } -]; -AuthWrapperComponent.propDecorators = { - mainContentRef: [{ type: Input }], - cancelContentRef: [{ type: Input }] -}; -if (false) { - /** @type {?} */ - AuthWrapperComponent.prototype.mainContentRef; - /** @type {?} */ - AuthWrapperComponent.prototype.cancelContentRef; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC13cmFwcGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuYWNjb3VudC8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2F1dGgtd3JhcHBlci9hdXRoLXdyYXBwZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsV0FBVyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBTTlELE1BQU0sT0FBTyxvQkFBb0I7OztZQUpoQyxTQUFTLFNBQUM7Z0JBQ1QsUUFBUSxFQUFFLGtCQUFrQjtnQkFDNUIsbWVBQTRDO2FBQzdDOzs7NkJBRUUsS0FBSzsrQkFHTCxLQUFLOzs7O0lBSE4sOENBQ2lDOztJQUVqQyxnREFDbUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIElucHV0LCBUZW1wbGF0ZVJlZiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgc2VsZWN0b3I6ICdhYnAtYXV0aC13cmFwcGVyJyxcclxuICB0ZW1wbGF0ZVVybDogJy4vYXV0aC13cmFwcGVyLmNvbXBvbmVudC5odG1sJyxcclxufSlcclxuZXhwb3J0IGNsYXNzIEF1dGhXcmFwcGVyQ29tcG9uZW50IHtcclxuICBASW5wdXQoKVxyXG4gIG1haW5Db250ZW50UmVmOiBUZW1wbGF0ZVJlZjxhbnk+O1xyXG5cclxuICBASW5wdXQoKVxyXG4gIGNhbmNlbENvbnRlbnRSZWY6IFRlbXBsYXRlUmVmPGFueT47XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm2015/lib/components/change-password/change-password.component.js b/npm/ng-packs/dist/account/esm2015/lib/components/change-password/change-password.component.js deleted file mode 100644 index 78cc5a65131..00000000000 --- a/npm/ng-packs/dist/account/esm2015/lib/components/change-password/change-password.component.js +++ /dev/null @@ -1,158 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/change-password/change-password.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { ChangePassword, ConfigState } from '@abp/ng.core'; -import { ToasterService } from '@abp/ng.theme.shared'; -import { Component } from '@angular/core'; -import { FormBuilder, Validators } from '@angular/forms'; -import { comparePasswords, validatePassword } from '@ngx-validate/core'; -import { Store } from '@ngxs/store'; -import snq from 'snq'; -import { finalize } from 'rxjs/operators'; -const { minLength, required, maxLength } = Validators; -/** @type {?} */ -const PASSWORD_FIELDS = ['newPassword', 'repeatNewPassword']; -export class ChangePasswordComponent { - /** - * @param {?} fb - * @param {?} store - * @param {?} toasterService - */ - constructor(fb, store, toasterService) { - this.fb = fb; - this.store = store; - this.toasterService = toasterService; - this.mapErrorsFn = (/** - * @param {?} errors - * @param {?} groupErrors - * @param {?} control - * @return {?} - */ - (errors, groupErrors, control) => { - if (PASSWORD_FIELDS.indexOf(control.name) < 0) - return errors; - return errors.concat(groupErrors.filter((/** - * @param {?} __0 - * @return {?} - */ - ({ key }) => key === 'passwordMismatch'))); - }); - } - /** - * @return {?} - */ - ngOnInit() { - /** @type {?} */ - const passwordRules = this.store.selectSnapshot(ConfigState.getSettings('Identity.Password')); - /** @type {?} */ - const passwordRulesArr = (/** @type {?} */ ([])); - /** @type {?} */ - let requiredLength = 1; - if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('number'); - } - if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('small'); - } - if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('capital'); - } - if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) { - passwordRulesArr.push('special'); - } - if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) { - requiredLength = +passwordRules['Abp.Identity.Password.RequiredLength']; - } - this.form = this.fb.group({ - password: ['', required], - newPassword: [ - '', - { - validators: [required, validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(32)], - }, - ], - repeatNewPassword: [ - '', - { validators: [required, validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(32)] }, - ], - }, { - validators: [comparePasswords(PASSWORD_FIELDS)], - }); - } - /** - * @return {?} - */ - onSubmit() { - if (this.form.invalid) - return; - this.inProgress = true; - this.store - .dispatch(new ChangePassword({ - currentPassword: this.form.get('password').value, - newPassword: this.form.get('newPassword').value, - })) - .pipe(finalize((/** - * @return {?} - */ - () => (this.inProgress = false)))) - .subscribe({ - next: (/** - * @return {?} - */ - () => { - this.form.reset(); - this.toasterService.success('AbpAccount::PasswordChangedMessage', 'Success', { life: 5000 }); - }), - error: (/** - * @param {?} err - * @return {?} - */ - err => { - this.toasterService.error(snq((/** - * @return {?} - */ - () => err.error.error.message), 'AbpAccount::DefaultErrorMessage'), 'Error', { - life: 7000, - }); - }), - }); - } -} -ChangePasswordComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-change-password-form', - template: "
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ 'AbpIdentity::Save' | abpLocalization }}\r\n
\r\n" - }] } -]; -/** @nocollapse */ -ChangePasswordComponent.ctorParameters = () => [ - { type: FormBuilder }, - { type: Store }, - { type: ToasterService } -]; -if (false) { - /** @type {?} */ - ChangePasswordComponent.prototype.form; - /** @type {?} */ - ChangePasswordComponent.prototype.inProgress; - /** @type {?} */ - ChangePasswordComponent.prototype.mapErrorsFn; - /** - * @type {?} - * @private - */ - ChangePasswordComponent.prototype.fb; - /** - * @type {?} - * @private - */ - ChangePasswordComponent.prototype.store; - /** - * @type {?} - * @private - */ - ChangePasswordComponent.prototype.toasterService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlLXBhc3N3b3JkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuYWNjb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AgIG5ld1Bhc3N3b3JkOiB0aGlzLmZvcm0uZ2V0KCduZXdQYXNzd29yZCcpLnZhbHVlLFxyXG4gICAgICAgIH0pLFxyXG4gICAgICApXHJcbiAgICAgIC5waXBlKGZpbmFsaXplKCgpID0+ICh0aGlzLmluUHJvZ3Jlc3MgPSBmYWxzZSkpKVxyXG4gICAgICAuc3Vic2NyaWJlKHtcclxuICAgICAgICBuZXh0OiAoKSA9PiB7XHJcbiAgICAgICAgICB0aGlzLmZvcm0ucmVzZXQoKTtcclxuICAgICAgICAgIHRoaXMudG9hc3RlclNlcnZpY2Uuc3VjY2VzcygnQWJwQWNjb3VudDo6UGFzc3dvcmRDaGFuZ2VkTWVzc2FnZScsICdTdWNjZXNzJywgeyBsaWZlOiA1MDAwIH0pO1xyXG4gICAgICAgIH0sXHJcbiAgICAgICAgZXJyb3I6IGVyciA9PiB7XHJcbiAgICAgICAgICB0aGlzLnRvYXN0ZXJTZXJ2aWNlLmVycm9yKHNucSgoKSA9PiBlcnIuZXJyb3IuZXJyb3IubWVzc2FnZSwgJ0FicEFjY291bnQ6OkRlZmF1bHRFcnJvck1lc3NhZ2UnKSwgJ0Vycm9yJywge1xyXG4gICAgICAgICAgICBsaWZlOiA3MDAwLFxyXG4gICAgICAgICAgfSk7XHJcbiAgICAgICAgfSxcclxuICAgICAgfSk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm2015/lib/components/index.js b/npm/ng-packs/dist/account/esm2015/lib/components/index.js deleted file mode 100644 index 30369d6a05c..00000000000 --- a/npm/ng-packs/dist/account/esm2015/lib/components/index.js +++ /dev/null @@ -1,11 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { ChangePasswordComponent } from './change-password/change-password.component'; -export { LoginComponent } from './login/login.component'; -export { ManageProfileComponent } from './manage-profile/manage-profile.component'; -export { RegisterComponent } from './register/register.component'; -export { PersonalSettingsComponent } from './personal-settings/personal-settings.component'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmFjY291bnQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHdDQUFjLDZDQUE2QyxDQUFDO0FBQzVELCtCQUFjLHlCQUF5QixDQUFDO0FBQ3hDLHVDQUFjLDJDQUEyQyxDQUFDO0FBQzFELGtDQUFjLCtCQUErQixDQUFDO0FBQzlDLDBDQUFjLGlEQUFpRCxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jaGFuZ2UtcGFzc3dvcmQvY2hhbmdlLXBhc3N3b3JkLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbG9naW4vbG9naW4uY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9tYW5hZ2UtcHJvZmlsZS9tYW5hZ2UtcHJvZmlsZS5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL3JlZ2lzdGVyL3JlZ2lzdGVyLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vcGVyc29uYWwtc2V0dGluZ3MvcGVyc29uYWwtc2V0dGluZ3MuY29tcG9uZW50JztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm2015/lib/components/login/login.component.js b/npm/ng-packs/dist/account/esm2015/lib/components/login/login.component.js deleted file mode 100644 index 47bebbd9de6..00000000000 --- a/npm/ng-packs/dist/account/esm2015/lib/components/login/login.component.js +++ /dev/null @@ -1,130 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/login/login.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { GetAppConfiguration, ConfigState, SessionState } from '@abp/ng.core'; -import { Component, Inject, Optional } from '@angular/core'; -import { FormBuilder, Validators } from '@angular/forms'; -import { Navigate } from '@ngxs/router-plugin'; -import { Store } from '@ngxs/store'; -import { OAuthService } from 'angular-oauth2-oidc'; -import { from, throwError } from 'rxjs'; -import { ToasterService } from '@abp/ng.theme.shared'; -import { catchError, finalize, switchMap, tap } from 'rxjs/operators'; -import snq from 'snq'; -import { HttpHeaders } from '@angular/common/http'; -const { maxLength, minLength, required } = Validators; -export class LoginComponent { - /** - * @param {?} fb - * @param {?} oauthService - * @param {?} store - * @param {?} toasterService - * @param {?} options - */ - constructor(fb, oauthService, store, toasterService, options) { - this.fb = fb; - this.oauthService = oauthService; - this.store = store; - this.toasterService = toasterService; - this.options = options; - this.oauthService.configure(this.store.selectSnapshot(ConfigState.getOne('environment')).oAuthConfig); - this.oauthService.loadDiscoveryDocument(); - this.form = this.fb.group({ - username: ['', [required, maxLength(255)]], - password: ['', [required, maxLength(32)]], - remember: [false], - }); - } - /** - * @return {?} - */ - onSubmit() { - if (this.form.invalid) - return; - // this.oauthService.setStorage(this.form.value.remember ? localStorage : sessionStorage); - this.inProgress = true; - /** @type {?} */ - const tenant = this.store.selectSnapshot(SessionState.getTenant); - from(this.oauthService.fetchTokenUsingPasswordFlow(this.form.get('username').value, this.form.get('password').value, new HttpHeaders(Object.assign({}, (tenant && tenant.id && { __tenant: tenant.id }))))) - .pipe(switchMap((/** - * @return {?} - */ - () => this.store.dispatch(new GetAppConfiguration()))), tap((/** - * @return {?} - */ - () => { - /** @type {?} */ - const redirectUrl = snq((/** - * @return {?} - */ - () => window.history.state)).redirectUrl || (this.options || {}).redirectUrl || '/'; - this.store.dispatch(new Navigate([redirectUrl])); - })), catchError((/** - * @param {?} err - * @return {?} - */ - err => { - this.toasterService.error(snq((/** - * @return {?} - */ - () => err.error.error_description)) || - snq((/** - * @return {?} - */ - () => err.error.error.message), 'AbpAccount::DefaultErrorMessage'), 'Error', { life: 7000 }); - return throwError(err); - })), finalize((/** - * @return {?} - */ - () => (this.inProgress = false)))) - .subscribe(); - } -} -LoginComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-login', - template: "\r\n \r\n

{{ 'AbpAccount::Login' | abpLocalization }}

\r\n \r\n {{ 'AbpAccount::AreYouANewUser' | abpLocalization }}\r\n {{ 'AbpAccount::Register' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n {{ 'AbpAccount::Login' | abpLocalization }}\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n" - }] } -]; -/** @nocollapse */ -LoginComponent.ctorParameters = () => [ - { type: FormBuilder }, - { type: OAuthService }, - { type: Store }, - { type: ToasterService }, - { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: ['ACCOUNT_OPTIONS',] }] } -]; -if (false) { - /** @type {?} */ - LoginComponent.prototype.form; - /** @type {?} */ - LoginComponent.prototype.inProgress; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.fb; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.oauthService; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.store; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.toasterService; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.options; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9naW4uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5hY2NvdW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvbG9naW4vbG9naW4uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLG1CQUFtQixFQUFFLFdBQVcsRUFBRSxZQUFZLEVBQUUsTUFBTSxjQUFjL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AgLnBpcGUoXHJcbiAgICAgICAgc3dpdGNoTWFwKCgpID0+IHRoaXMuc3RvcmUuZGlzcGF0Y2gobmV3IEdldEFwcENvbmZpZ3VyYXRpb24oKSkpLFxyXG4gICAgICAgIHRhcCgoKSA9PiB7XHJcbiAgICAgICAgICBjb25zdCByZWRpcmVjdFVybCA9IHNucSgoKSA9PiB3aW5kb3cuaGlzdG9yeS5zdGF0ZSkucmVkaXJlY3RVcmwgfHwgKHRoaXMub3B0aW9ucyB8fCB7fSkucmVkaXJlY3RVcmwgfHwgJy8nO1xyXG4gICAgICAgICAgdGhpcy5zdG9yZS5kaXNwYXRjaChuZXcgTmF2aWdhdGUoW3JlZGlyZWN0VXJsXSkpO1xyXG4gICAgICAgIH0pLFxyXG4gICAgICAgIGNhdGNoRXJyb3IoZXJyID0+IHtcclxuICAgICAgICAgIHRoaXMudG9hc3RlclNlcnZpY2UuZXJyb3IoXHJcbiAgICAgICAgICAgIHNucSgoKSA9PiBlcnIuZXJyb3IuZXJyb3JfZGVzY3JpcHRpb24pIHx8XHJcbiAgICAgICAgICAgICAgc25xKCgpID0+IGVyci5lcnJvci5lcnJvci5tZXNzYWdlLCAnQWJwQWNjb3VudDo6RGVmYXVsdEVycm9yTWVzc2FnZScpLFxyXG4gICAgICAgICAgICAnRXJyb3InLFxyXG4gICAgICAgICAgICB7IGxpZmU6IDcwMDAgfSxcclxuICAgICAgICAgICk7XHJcbiAgICAgICAgICByZXR1cm4gdGhyb3dFcnJvcihlcnIpO1xyXG4gICAgICAgIH0pLFxyXG4gICAgICAgIGZpbmFsaXplKCgpID0+ICh0aGlzLmluUHJvZ3Jlc3MgPSBmYWxzZSkpLFxyXG4gICAgICApXHJcbiAgICAgIC5zdWJzY3JpYmUoKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm2015/lib/components/manage-profile/manage-profile.component.js b/npm/ng-packs/dist/account/esm2015/lib/components/manage-profile/manage-profile.component.js deleted file mode 100644 index 52468ac1862..00000000000 --- a/npm/ng-packs/dist/account/esm2015/lib/components/manage-profile/manage-profile.component.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/manage-profile/manage-profile.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { fadeIn } from '@abp/ng.theme.shared'; -import { transition, trigger, useAnimation } from '@angular/animations'; -import { Component } from '@angular/core'; -export class ManageProfileComponent { - constructor() { - this.selectedTab = 0; - } -} -ManageProfileComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-manage-profile', - template: "
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

\r\n {{ 'AbpIdentity::ChangePassword' | abpLocalization }}\r\n
\r\n

\r\n \r\n
\r\n
\r\n
\r\n
\r\n

\r\n {{ 'AbpIdentity::PersonalSettings' | abpLocalization }}\r\n
\r\n

\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n", - animations: [trigger('fadeIn', [transition(':enter', useAnimation(fadeIn))])] - }] } -]; -if (false) { - /** @type {?} */ - ManageProfileComponent.prototype.selectedTab; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFuYWdlLXByb2ZpbGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5hY2NvdW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvbWFuYWdlLXByb2ZpbGUvbWFuYWdlLXByb2ZpbGUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQzlDLE9BQU8sRUFBRSxVQUFVLEVBQUUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ3hFLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFPMUMsTUFBTSxPQUFPLHNCQUFzQjtJQUxuQztRQU1FLGdCQUFXLEdBQUcsQ0FBQyxDQUFDO0lBQ2xCLENBQUM7OztZQVBBLFNBQVMsU0FBQztnQkFDVCxRQUFRLEVBQUUsb0JBQW9CO2dCQUM5QixtdERBQThDO2dCQUM5QyxVQUFVLEVBQUUsQ0FBQyxPQUFPLENBQUMsUUFBUSxFQUFFLENBQUMsVUFBVSxDQUFDLFFBQVEsRUFBRSxZQUFZLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUM7YUFDOUU7Ozs7SUFFQyw2Q0FBZ0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBmYWRlSW4gfSBmcm9tICdAYWJwL25nLnRoZW1lLnNoYXJlZCc7XHJcbmltcG9ydCB7IHRyYW5zaXRpb24sIHRyaWdnZXIsIHVzZUFuaW1hdGlvbiB9IGZyb20gJ0Bhbmd1bGFyL2FuaW1hdGlvbnMnO1xyXG5pbXBvcnQgeyBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gIHNlbGVjdG9yOiAnYWJwLW1hbmFnZS1wcm9maWxlJyxcclxuICB0ZW1wbGF0ZVVybDogJy4vbWFuYWdlLXByb2ZpbGUuY29tcG9uZW50Lmh0bWwnLFxyXG4gIGFuaW1hdGlvbnM6IFt0cmlnZ2VyKCdmYWRlSW4nLCBbdHJhbnNpdGlvbignOmVudGVyJywgdXNlQW5pbWF0aW9uKGZhZGVJbikpXSldLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgTWFuYWdlUHJvZmlsZUNvbXBvbmVudCB7XHJcbiAgc2VsZWN0ZWRUYWIgPSAwO1xyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm2015/lib/components/personal-settings/personal-settings.component.js b/npm/ng-packs/dist/account/esm2015/lib/components/personal-settings/personal-settings.component.js deleted file mode 100644 index c615b705452..00000000000 --- a/npm/ng-packs/dist/account/esm2015/lib/components/personal-settings/personal-settings.component.js +++ /dev/null @@ -1,113 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/personal-settings/personal-settings.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { GetProfile, ProfileState, UpdateProfile } from '@abp/ng.core'; -import { Component } from '@angular/core'; -import { FormBuilder, Validators } from '@angular/forms'; -import { Select, Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { take, withLatestFrom, finalize } from 'rxjs/operators'; -import { ToasterService } from '@abp/ng.theme.shared'; -const { maxLength, required, email } = Validators; -export class PersonalSettingsComponent { - /** - * @param {?} fb - * @param {?} store - * @param {?} toasterService - */ - constructor(fb, store, toasterService) { - this.fb = fb; - this.store = store; - this.toasterService = toasterService; - } - /** - * @return {?} - */ - ngOnInit() { - this.buildForm(); - } - /** - * @return {?} - */ - buildForm() { - this.store - .dispatch(new GetProfile()) - .pipe(withLatestFrom(this.profile$), take(1)) - .subscribe((/** - * @param {?} __0 - * @return {?} - */ - ([, profile]) => { - this.form = this.fb.group({ - userName: [profile.userName, [required, maxLength(256)]], - email: [profile.email, [required, email, maxLength(256)]], - name: [profile.name || '', [maxLength(64)]], - surname: [profile.surname || '', [maxLength(64)]], - phoneNumber: [profile.phoneNumber || '', [maxLength(16)]], - }); - })); - } - /** - * @return {?} - */ - submit() { - if (this.form.invalid) - return; - this.inProgress = true; - this.store - .dispatch(new UpdateProfile(this.form.value)) - .pipe(finalize((/** - * @return {?} - */ - () => (this.inProgress = false)))) - .subscribe((/** - * @return {?} - */ - () => { - this.toasterService.success('AbpAccount::PersonalSettingsSaved', 'Success', { life: 5000 }); - })); - } -} -PersonalSettingsComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-personal-settings-form', - template: "
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ 'AbpIdentity::Save' | abpLocalization }}\r\n
\r\n" - }] } -]; -/** @nocollapse */ -PersonalSettingsComponent.ctorParameters = () => [ - { type: FormBuilder }, - { type: Store }, - { type: ToasterService } -]; -tslib_1.__decorate([ - Select(ProfileState.getProfile), - tslib_1.__metadata("design:type", Observable) -], PersonalSettingsComponent.prototype, "profile$", void 0); -if (false) { - /** @type {?} */ - PersonalSettingsComponent.prototype.profile$; - /** @type {?} */ - PersonalSettingsComponent.prototype.form; - /** @type {?} */ - PersonalSettingsComponent.prototype.inProgress; - /** - * @type {?} - * @private - */ - PersonalSettingsComponent.prototype.fb; - /** - * @type {?} - * @private - */ - PersonalSettingsComponent.prototype.store; - /** - * @type {?} - * @private - */ - PersonalSettingsComponent.prototype.toasterService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVyc29uYWwtc2V0dGluZ3MuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5hY2NvdW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvcGVyc29uYWwtc2V0dGluZ3MvcGVyc29uYWwtc2V0dGluZ3MuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQVcsWUFBWSxFQUFFLGFBQWEsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUNoRixPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ2xELE9BQU8sRUFBRSxXQUFXLEVBQWEsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDcEUsT0FBTyxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUUsT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tyZXF1aXJlZCwgZW1haWwsIG1heExlbmd0aCgyNTYpXV0sXHJcbiAgICAgICAgICBuYW1lOiBbcHJvZmlsZS5uYW1lIHx8ICcnLCBbbWF4TGVuZ3RoKDY0KV1dLFxyXG4gICAgICAgICAgc3VybmFtZTogW3Byb2ZpbGUuc3VybmFtZSB8fCAnJywgW21heExlbmd0aCg2NCldXSxcclxuICAgICAgICAgIHBob25lTnVtYmVyOiBbcHJvZmlsZS5waG9uZU51bWJlciB8fCAnJywgW21heExlbmd0aCgxNildXSxcclxuICAgICAgICB9KTtcclxuICAgICAgfSk7XHJcbiAgfVxyXG5cclxuICBzdWJtaXQoKSB7XHJcbiAgICBpZiAodGhpcy5mb3JtLmludmFsaWQpIHJldHVybjtcclxuICAgIHRoaXMuaW5Qcm9ncmVzcyA9IHRydWU7XHJcbiAgICB0aGlzLnN0b3JlXHJcbiAgICAgIC5kaXNwYXRjaChuZXcgVXBkYXRlUHJvZmlsZSh0aGlzLmZvcm0udmFsdWUpKVxyXG4gICAgICAucGlwZShmaW5hbGl6ZSgoKSA9PiAodGhpcy5pblByb2dyZXNzID0gZmFsc2UpKSlcclxuICAgICAgLnN1YnNjcmliZSgoKSA9PiB7XHJcbiAgICAgICAgdGhpcy50b2FzdGVyU2VydmljZS5zdWNjZXNzKCdBYnBBY2NvdW50OjpQZXJzb25hbFNldHRpbmdzU2F2ZWQnLCAnU3VjY2VzcycsIHsgbGlmZTogNTAwMCB9KTtcclxuICAgICAgfSk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm2015/lib/components/register/register.component.js b/npm/ng-packs/dist/account/esm2015/lib/components/register/register.component.js deleted file mode 100644 index f55171e5ab9..00000000000 --- a/npm/ng-packs/dist/account/esm2015/lib/components/register/register.component.js +++ /dev/null @@ -1,164 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/register/register.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { ConfigState, GetAppConfiguration, SessionState } from '@abp/ng.core'; -import { ToasterService } from '@abp/ng.theme.shared'; -import { Component } from '@angular/core'; -import { FormBuilder, Validators } from '@angular/forms'; -import { Navigate } from '@ngxs/router-plugin'; -import { Store } from '@ngxs/store'; -import { OAuthService } from 'angular-oauth2-oidc'; -import { from, throwError } from 'rxjs'; -import { catchError, finalize, switchMap, take, tap } from 'rxjs/operators'; -import snq from 'snq'; -import { AccountService } from '../../services/account.service'; -import { validatePassword } from '@ngx-validate/core'; -import { HttpHeaders } from '@angular/common/http'; -const { maxLength, minLength, required, email } = Validators; -export class RegisterComponent { - /** - * @param {?} fb - * @param {?} accountService - * @param {?} oauthService - * @param {?} store - * @param {?} toasterService - */ - constructor(fb, accountService, oauthService, store, toasterService) { - this.fb = fb; - this.accountService = accountService; - this.oauthService = oauthService; - this.store = store; - this.toasterService = toasterService; - this.oauthService.configure(this.store.selectSnapshot(ConfigState.getOne('environment')).oAuthConfig); - this.oauthService.loadDiscoveryDocument(); - } - /** - * @return {?} - */ - ngOnInit() { - /** @type {?} */ - const passwordRules = this.store.selectSnapshot(ConfigState.getSettings('Identity.Password')); - /** @type {?} */ - const passwordRulesArr = (/** @type {?} */ ([])); - /** @type {?} */ - let requiredLength = 1; - if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('number'); - } - if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('small'); - } - if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('capital'); - } - if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) { - passwordRulesArr.push('special'); - } - if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) { - requiredLength = +passwordRules['Abp.Identity.Password.RequiredLength']; - } - this.form = this.fb.group({ - username: ['', [required, maxLength(255)]], - password: [ - '', - [required, validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(32)], - ], - email: ['', [required, email]], - }); - } - /** - * @return {?} - */ - onSubmit() { - if (this.form.invalid) - return; - this.inProgress = true; - /** @type {?} */ - const newUser = (/** @type {?} */ ({ - userName: this.form.get('username').value, - password: this.form.get('password').value, - emailAddress: this.form.get('email').value, - appName: 'Angular', - })); - /** @type {?} */ - const tenant = this.store.selectSnapshot(SessionState.getTenant); - this.accountService - .register(newUser) - .pipe(switchMap((/** - * @return {?} - */ - () => from(this.oauthService.fetchTokenUsingPasswordFlow(newUser.userName, newUser.password, new HttpHeaders(Object.assign({}, (tenant && tenant.id && { __tenant: tenant.id }))))))), switchMap((/** - * @return {?} - */ - () => this.store.dispatch(new GetAppConfiguration()))), tap((/** - * @return {?} - */ - () => this.store.dispatch(new Navigate(['/'])))), take(1), catchError((/** - * @param {?} err - * @return {?} - */ - err => { - this.toasterService.error(snq((/** - * @return {?} - */ - () => err.error.error_description)) || - snq((/** - * @return {?} - */ - () => err.error.error.message), 'AbpAccount::DefaultErrorMessage'), 'Error', { life: 7000 }); - return throwError(err); - })), finalize((/** - * @return {?} - */ - () => (this.inProgress = false)))) - .subscribe(); - } -} -RegisterComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-register', - template: "\r\n \r\n

{{ 'AbpAccount::Register' | abpLocalization }}

\r\n \r\n {{ 'AbpAccount::AlreadyRegistered' | abpLocalization }}\r\n {{ 'AbpAccount::Login' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ 'AbpAccount::Register' | abpLocalization }}\r\n \r\n \r\n
\r\n
\r\n" - }] } -]; -/** @nocollapse */ -RegisterComponent.ctorParameters = () => [ - { type: FormBuilder }, - { type: AccountService }, - { type: OAuthService }, - { type: Store }, - { type: ToasterService } -]; -if (false) { - /** @type {?} */ - RegisterComponent.prototype.form; - /** @type {?} */ - RegisterComponent.prototype.inProgress; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.fb; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.accountService; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.oauthService; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.store; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.toasterService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVnaXN0ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5hY2NvdW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvcmVnaXN0ZXIvcmVnaXN0ZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLFdBQVcsRUFBRSxtQkFBbUIsRUFBTyxZQUFZLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDbkYsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3RELE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDbEQsT0FBTyxFQUFFLFdBQVcsRUFBYSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNwRSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDL0MsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUNwQyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDbkQsT0FBTyxFQUFFLElBQUksRUFBRSxVQUFVLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDeEMsT0FBTyxFQUFFLFVBQVUsRUFBRSxRQUFRLEVBQUUsU0FBUyxFQUFFLElBQUksRUFBRSxHQUFHLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM1RSxPQUFPLEd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gICB0YWtlKDEpLFxyXG4gICAgICAgIGNhdGNoRXJyb3IoZXJyID0+IHtcclxuICAgICAgICAgIHRoaXMudG9hc3RlclNlcnZpY2UuZXJyb3IoXHJcbiAgICAgICAgICAgIHNucSgoKSA9PiBlcnIuZXJyb3IuZXJyb3JfZGVzY3JpcHRpb24pIHx8XHJcbiAgICAgICAgICAgICAgc25xKCgpID0+IGVyci5lcnJvci5lcnJvci5tZXNzYWdlLCAnQWJwQWNjb3VudDo6RGVmYXVsdEVycm9yTWVzc2FnZScpLFxyXG4gICAgICAgICAgICAnRXJyb3InLFxyXG4gICAgICAgICAgICB7IGxpZmU6IDcwMDAgfSxcclxuICAgICAgICAgICk7XHJcbiAgICAgICAgICByZXR1cm4gdGhyb3dFcnJvcihlcnIpO1xyXG4gICAgICAgIH0pLFxyXG4gICAgICAgIGZpbmFsaXplKCgpID0+ICh0aGlzLmluUHJvZ3Jlc3MgPSBmYWxzZSkpLFxyXG4gICAgICApXHJcbiAgICAgIC5zdWJzY3JpYmUoKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm2015/lib/components/tenant-box/tenant-box.component.js b/npm/ng-packs/dist/account/esm2015/lib/components/tenant-box/tenant-box.component.js deleted file mode 100644 index 376e30a7acc..00000000000 --- a/npm/ng-packs/dist/account/esm2015/lib/components/tenant-box/tenant-box.component.js +++ /dev/null @@ -1,127 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/tenant-box/tenant-box.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { SetTenant, SessionState } from '@abp/ng.core'; -import { ToasterService } from '@abp/ng.theme.shared'; -import { Component } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { throwError } from 'rxjs'; -import { catchError, take, finalize } from 'rxjs/operators'; -import snq from 'snq'; -import { AccountService } from '../../services/account.service'; -export class TenantBoxComponent { - /** - * @param {?} store - * @param {?} toasterService - * @param {?} accountService - */ - constructor(store, toasterService, accountService) { - this.store = store; - this.toasterService = toasterService; - this.accountService = accountService; - this.tenant = (/** @type {?} */ ({})); - } - /** - * @return {?} - */ - ngOnInit() { - this.tenant = this.store.selectSnapshot(SessionState.getTenant) || ((/** @type {?} */ ({}))); - this.tenantName = this.tenant.name || ''; - } - /** - * @return {?} - */ - onSwitch() { - this.isModalVisible = true; - } - /** - * @return {?} - */ - save() { - if (this.tenant.name && !this.inProgress) { - this.inProgress = true; - this.accountService - .findTenant(this.tenant.name) - .pipe(finalize((/** - * @return {?} - */ - () => (this.inProgress = false))), take(1), catchError((/** - * @param {?} err - * @return {?} - */ - err => { - this.toasterService.error(snq((/** - * @return {?} - */ - () => err.error.error_description), 'AbpUi::DefaultErrorMessage'), 'AbpUi::Error'); - return throwError(err); - }))) - .subscribe((/** - * @param {?} __0 - * @return {?} - */ - ({ success, tenantId }) => { - if (success) { - this.tenant = { - id: tenantId, - name: this.tenant.name, - }; - this.tenantName = this.tenant.name; - this.isModalVisible = false; - } - else { - this.toasterService.error('AbpUiMultiTenancy::GivenTenantIsNotAvailable', 'AbpUi::Error', { - messageLocalizationParams: [this.tenant.name], - }); - this.tenant = (/** @type {?} */ ({})); - } - this.store.dispatch(new SetTenant(success ? this.tenant : null)); - })); - } - else { - this.store.dispatch(new SetTenant(null)); - this.tenantName = null; - this.isModalVisible = false; - } - } -} -TenantBoxComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-tenant-box', - template: "
\r\n
\r\n
\r\n
\r\n {{\r\n 'AbpUiMultiTenancy::Tenant' | abpLocalization\r\n }}
\r\n
\r\n \r\n {{ tenantName || ('AbpUiMultiTenancy::NotSelected' | abpLocalization) }}\r\n \r\n
\r\n
\r\n
\r\n {{ 'AbpUiMultiTenancy::Switch' | abpLocalization }}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
Switch Tenant
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n

{{ 'AbpUiMultiTenancy::SwitchTenantHint' | abpLocalization }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {{ 'AbpTenantManagement::Save' | abpLocalization }}\r\n \r\n \r\n
\r\n" - }] } -]; -/** @nocollapse */ -TenantBoxComponent.ctorParameters = () => [ - { type: Store }, - { type: ToasterService }, - { type: AccountService } -]; -if (false) { - /** @type {?} */ - TenantBoxComponent.prototype.tenant; - /** @type {?} */ - TenantBoxComponent.prototype.tenantName; - /** @type {?} */ - TenantBoxComponent.prototype.isModalVisible; - /** @type {?} */ - TenantBoxComponent.prototype.inProgress; - /** - * @type {?} - * @private - */ - TenantBoxComponent.prototype.store; - /** - * @type {?} - * @private - */ - TenantBoxComponent.prototype.toasterService; - /** - * @type {?} - * @private - */ - TenantBoxComponent.prototype.accountService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50LWJveC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmFjY291bnQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy90ZW5hbnQtYm94L3RlbmFudC1ib3guY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFPLFNBQVMsRUFBRSxZQUFZLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDNUQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3RELE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDbEQsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUNwQyxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQ2xDLE9BQU8sRUFBRSxVQUFVLEVBQUUsSUFBSSxFQUFFLFFBQVEsRUFBRSxNQUFNLGdCQUFnQixD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ZXNzKSB7XHJcbiAgICAgIHRoaXMuaW5Qcm9ncmVzcyA9IHRydWU7XHJcbiAgICAgIHRoaXMuYWNjb3VudFNlcnZpY2VcclxuICAgICAgICAuZmluZFRlbmFudCh0aGlzLnRlbmFudC5uYW1lKVxyXG4gICAgICAgIC5waXBlKFxyXG4gICAgICAgICAgZmluYWxpemUoKCkgPT4gKHRoaXMuaW5Qcm9ncmVzcyA9IGZhbHNlKSksXHJcbiAgICAgICAgICB0YWtlKDEpLFxyXG4gICAgICAgICAgY2F0Y2hFcnJvcihlcnIgPT4ge1xyXG4gICAgICAgICAgICB0aGlzLnRvYXN0ZXJTZXJ2aWNlLmVycm9yKFxyXG4gICAgICAgICAgICAgIHNucSgoKSA9PiBlcnIuZXJyb3IuZXJyb3JfZGVzY3JpcHRpb24sICdBYnBVaTo6RGVmYXVsdEVycm9yTWVzc2FnZScpLFxyXG4gICAgICAgICAgICAgICdBYnBVaTo6RXJyb3InLFxyXG4gICAgICAgICAgICApO1xyXG4gICAgICAgICAgICByZXR1cm4gdGhyb3dFcnJvcihlcnIpO1xyXG4gICAgICAgICAgfSksXHJcbiAgICAgICAgKVxyXG4gICAgICAgIC5zdWJzY3JpYmUoKHsgc3VjY2VzcywgdGVuYW50SWQgfSkgPT4ge1xyXG4gICAgICAgICAgaWYgKHN1Y2Nlc3MpIHtcclxuICAgICAgICAgICAgdGhpcy50ZW5hbnQgPSB7XHJcbiAgICAgICAgICAgICAgaWQ6IHRlbmFudElkLFxyXG4gICAgICAgICAgICAgIG5hbWU6IHRoaXMudGVuYW50Lm5hbWUsXHJcbiAgICAgICAgICAgIH07XHJcbiAgICAgICAgICAgIHRoaXMudGVuYW50TmFtZSA9IHRoaXMudGVuYW50Lm5hbWU7XHJcbiAgICAgICAgICAgIHRoaXMuaXNNb2RhbFZpc2libGUgPSBmYWxzZTtcclxuICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgIHRoaXMudG9hc3RlclNlcnZpY2UuZXJyb3IoJ0FicFVpTXVsdGlUZW5hbmN5OjpHaXZlblRlbmFudElzTm90QXZhaWxhYmxlJywgJ0FicFVpOjpFcnJvcicsIHtcclxuICAgICAgICAgICAgICBtZXNzYWdlTG9jYWxpemF0aW9uUGFyYW1zOiBbdGhpcy50ZW5hbnQubmFtZV0sXHJcbiAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICB0aGlzLnRlbmFudCA9IHt9IGFzIEFCUC5CYXNpY0l0ZW07XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgICB0aGlzLnN0b3JlLmRpc3BhdGNoKG5ldyBTZXRUZW5hbnQoc3VjY2VzcyA/IHRoaXMudGVuYW50IDogbnVsbCkpO1xyXG4gICAgICAgIH0pO1xyXG4gICAgfSBlbHNlIHtcclxuICAgICAgdGhpcy5zdG9yZS5kaXNwYXRjaChuZXcgU2V0VGVuYW50KG51bGwpKTtcclxuICAgICAgdGhpcy50ZW5hbnROYW1lID0gbnVsbDtcclxuICAgICAgdGhpcy5pc01vZGFsVmlzaWJsZSA9IGZhbHNlO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm2015/lib/constants/routes.js b/npm/ng-packs/dist/account/esm2015/lib/constants/routes.js deleted file mode 100644 index c23d32abd76..00000000000 --- a/npm/ng-packs/dist/account/esm2015/lib/constants/routes.js +++ /dev/null @@ -1,22 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/routes.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * - * @deprecated since version 0.9 - * @type {?} - */ -export const ACCOUNT_ROUTES = { - routes: (/** @type {?} */ ([ - { - name: 'Account', - path: 'account', - invisible: true, - layout: "application" /* application */, - children: [{ path: 'login', name: 'Login', order: 1 }, { path: 'register', name: 'Register', order: 2 }], - }, - ])), -}; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJza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Z2luJywgb3JkZXI6IDEgfSwgeyBwYXRoOiAncmVnaXN0ZXInLCBuYW1lOiAnUmVnaXN0ZXInLCBvcmRlcjogMiB9XSxcclxuICAgIH0sXHJcbiAgXSBhcyBBQlAuRnVsbFJvdXRlW10sXHJcbn07XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm2015/lib/models/index.js b/npm/ng-packs/dist/account/esm2015/lib/models/index.js deleted file mode 100644 index b52ecc381e9..00000000000 --- a/npm/ng-packs/dist/account/esm2015/lib/models/index.js +++ /dev/null @@ -1,9 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export {} from './options'; -export {} from './user'; -export {} from './tenant'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmFjY291bnQvIiwic291cmNlcyI6WyJsaWIvbW9kZWxzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsZUFBYyxXQUFXLENBQUM7QUFDMUIsZUFBYyxRQUFRLENBQUM7QUFDdkIsZUFBYyxVQUFVLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL29wdGlvbnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL3VzZXInO1xyXG5leHBvcnQgKiBmcm9tICcuL3RlbmFudCc7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm2015/lib/models/options.js b/npm/ng-packs/dist/account/esm2015/lib/models/options.js deleted file mode 100644 index b7a32c53c2c..00000000000 --- a/npm/ng-packs/dist/account/esm2015/lib/models/options.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/options.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -export function Options() { } -if (false) { - /** @type {?|undefined} */ - Options.prototype.redirectUrl; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuYWNjb3VudC8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvb3B0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBLDZCQUVDOzs7SUFEQyw4QkFBcUIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIE9wdGlvbnMge1xyXG4gIHJlZGlyZWN0VXJsPzogc3RyaW5nO1xyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm2015/lib/models/tenant.js b/npm/ng-packs/dist/account/esm2015/lib/models/tenant.js deleted file mode 100644 index 09a18048e90..00000000000 --- a/npm/ng-packs/dist/account/esm2015/lib/models/tenant.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/tenant.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -export function TenantIdResponse() { } -if (false) { - /** @type {?} */ - TenantIdResponse.prototype.success; - /** @type {?} */ - TenantIdResponse.prototype.tenantId; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5hY2NvdW50LyIsInNvdXJjZXMiOlsibGliL21vZGVscy90ZW5hbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQSxzQ0FHQzs7O0lBRkMsbUNBQWlCOztJQUNqQixvQ0FBaUIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIFRlbmFudElkUmVzcG9uc2Uge1xyXG4gIHN1Y2Nlc3M6IGJvb2xlYW47XHJcbiAgdGVuYW50SWQ6IHN0cmluZztcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm2015/lib/models/user.js b/npm/ng-packs/dist/account/esm2015/lib/models/user.js deleted file mode 100644 index 1dbcad25128..00000000000 --- a/npm/ng-packs/dist/account/esm2015/lib/models/user.js +++ /dev/null @@ -1,66 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/user.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -export function RegisterRequest() { } -if (false) { - /** @type {?} */ - RegisterRequest.prototype.userName; - /** @type {?} */ - RegisterRequest.prototype.emailAddress; - /** @type {?} */ - RegisterRequest.prototype.password; - /** @type {?|undefined} */ - RegisterRequest.prototype.appName; -} -/** - * @record - */ -export function RegisterResponse() { } -if (false) { - /** @type {?} */ - RegisterResponse.prototype.tenantId; - /** @type {?} */ - RegisterResponse.prototype.userName; - /** @type {?} */ - RegisterResponse.prototype.name; - /** @type {?} */ - RegisterResponse.prototype.surname; - /** @type {?} */ - RegisterResponse.prototype.email; - /** @type {?} */ - RegisterResponse.prototype.emailConfirmed; - /** @type {?} */ - RegisterResponse.prototype.phoneNumber; - /** @type {?} */ - RegisterResponse.prototype.phoneNumberConfirmed; - /** @type {?} */ - RegisterResponse.prototype.twoFactorEnabled; - /** @type {?} */ - RegisterResponse.prototype.lockoutEnabled; - /** @type {?} */ - RegisterResponse.prototype.lockoutEnd; - /** @type {?} */ - RegisterResponse.prototype.concurrencyStamp; - /** @type {?} */ - RegisterResponse.prototype.isDeleted; - /** @type {?} */ - RegisterResponse.prototype.deleterId; - /** @type {?} */ - RegisterResponse.prototype.deletionTime; - /** @type {?} */ - RegisterResponse.prototype.lastModificationTime; - /** @type {?} */ - RegisterResponse.prototype.lastModifierId; - /** @type {?} */ - RegisterResponse.prototype.creationTime; - /** @type {?} */ - RegisterResponse.prototype.creatorId; - /** @type {?} */ - RegisterResponse.prototype.id; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuYWNjb3VudC8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvdXNlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBLHFDQUtDOzs7SUFKQyxtQ0FBaUI7O0lBQ2pCLHVDQUFxQjs7SUFDckIsbUNBQWlCOztJQUNqQixrQ0FBaUI7Ozs7O0FBR25CLHNDQXFCQzs7O0lBcEJDLG9DQUFpQjs7SUFDakIsb0NBQWlCOztJQUNqQixnQ0FBYTs7SUFDYixtQ0FBZ0I7O0lBQ2hCLGlDQUFjOztJQUNkLDBDQUF3Qjs7SUFDeEIsdUNBQW9COztJQUNwQixnREFBOEI7O0lBQzlCLDRDQUEwQjs7SUFDMUIsMENBQXdCOztJQUN4QixzQ0FBbUI7O0lBQ25CLDRDQUF5Qjs7SUFDekIscUNBQW1COztJQUNuQixxQ0FBa0I7O0lBQ2xCLHdDQUFxQjs7SUFDckIsZ0RBQTZCOztJQUM3QiwwQ0FBdUI7O0lBQ3ZCLHdDQUFxQjs7SUFDckIscUNBQWtCOztJQUNsQiw4QkFBVyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgUmVnaXN0ZXJSZXF1ZXN0IHtcclxuICB1c2VyTmFtZTogc3RyaW5nO1xyXG4gIGVtYWlsQWRkcmVzczogc3RyaW5nO1xyXG4gIHBhc3N3b3JkOiBzdHJpbmc7XHJcbiAgYXBwTmFtZT86IHN0cmluZztcclxufVxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBSZWdpc3RlclJlc3BvbnNlIHtcclxuICB0ZW5hbnRJZDogc3RyaW5nO1xyXG4gIHVzZXJOYW1lOiBzdHJpbmc7XHJcbiAgbmFtZTogc3RyaW5nO1xyXG4gIHN1cm5hbWU6IHN0cmluZztcclxuICBlbWFpbDogc3RyaW5nO1xyXG4gIGVtYWlsQ29uZmlybWVkOiBib29sZWFuO1xyXG4gIHBob25lTnVtYmVyOiBzdHJpbmc7XHJcbiAgcGhvbmVOdW1iZXJDb25maXJtZWQ6IGJvb2xlYW47XHJcbiAgdHdvRmFjdG9yRW5hYmxlZDogYm9vbGVhbjtcclxuICBsb2Nrb3V0RW5hYmxlZDogYm9vbGVhbjtcclxuICBsb2Nrb3V0RW5kOiBzdHJpbmc7XHJcbiAgY29uY3VycmVuY3lTdGFtcDogc3RyaW5nO1xyXG4gIGlzRGVsZXRlZDogYm9vbGVhbjtcclxuICBkZWxldGVySWQ6IHN0cmluZztcclxuICBkZWxldGlvblRpbWU6IHN0cmluZztcclxuICBsYXN0TW9kaWZpY2F0aW9uVGltZTogc3RyaW5nO1xyXG4gIGxhc3RNb2RpZmllcklkOiBzdHJpbmc7XHJcbiAgY3JlYXRpb25UaW1lOiBzdHJpbmc7XHJcbiAgY3JlYXRvcklkOiBzdHJpbmc7XHJcbiAgaWQ6IHN0cmluZztcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm2015/lib/services/account.service.js b/npm/ng-packs/dist/account/esm2015/lib/services/account.service.js deleted file mode 100644 index 6ece3eeb175..00000000000 --- a/npm/ng-packs/dist/account/esm2015/lib/services/account.service.js +++ /dev/null @@ -1,60 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/account.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { RestService } from '@abp/ng.core'; -import * as i0 from "@angular/core"; -import * as i1 from "@abp/ng.core"; -export class AccountService { - /** - * @param {?} rest - */ - constructor(rest) { - this.rest = rest; - } - /** - * @param {?} tenantName - * @return {?} - */ - findTenant(tenantName) { - /** @type {?} */ - const request = { - method: 'GET', - url: `/api/abp/multi-tenancy/tenants/by-name/${tenantName}`, - }; - return this.rest.request(request); - } - /** - * @param {?} body - * @return {?} - */ - register(body) { - /** @type {?} */ - const request = { - method: 'POST', - url: '/api/account/register', - body, - }; - return this.rest.request(request, { skipHandleError: true }); - } -} -AccountService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -AccountService.ctorParameters = () => [ - { type: RestService } -]; -/** @nocollapse */ AccountService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function AccountService_Factory() { return new AccountService(i0.ɵɵinject(i1.RestService)); }, token: AccountService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - AccountService.prototype.rest; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5hY2NvdW50LyIsInNvdXJjZXMiOlsibGliL3NlcnZpY2VzL2FjY291bnQuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFM0MsT0FBTyxFQUFFLFdBQVcsRUFBUSxNQUFNLGNBQWMsQ0FBQzs7O0FBTWpELE1BQU0sT0FBTyxjQUFjOzs7O0lBQ3pCLFlBQW9CLElBQWlCO1FBQWpCLFNBQUksR0FBSixJQUFJLENBQWE7SUFBRyxDQUFDOzs7OztJQUV6QyxVQUFVLENBQUMsVUFBa0I7O2NBQ3JCLE9BQU8sR0FBdUI7WUFDbEMsTUFBTSxFQUFFLEtBQUs7WUFDYixHQUFHLEVBQUUsMENBQTBDLFVBQVUsRUFBRTtTQUM1RDtRQUVELE9BQU8sSU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SZXF1ZXN0PG51bGw+ID0ge1xyXG4gICAgICBtZXRob2Q6ICdHRVQnLFxyXG4gICAgICB1cmw6IGAvYXBpL2FicC9tdWx0aS10ZW5hbmN5L3RlbmFudHMvYnktbmFtZS8ke3RlbmFudE5hbWV9YCxcclxuICAgIH07XHJcblxyXG4gICAgcmV0dXJuIHRoaXMucmVzdC5yZXF1ZXN0PG51bGwsIFRlbmFudElkUmVzcG9uc2U+KHJlcXVlc3QpO1xyXG4gIH1cclxuXHJcbiAgcmVnaXN0ZXIoYm9keTogUmVnaXN0ZXJSZXF1ZXN0KTogT2JzZXJ2YWJsZTxSZWdpc3RlclJlc3BvbnNlPiB7XHJcbiAgICBjb25zdCByZXF1ZXN0OiBSZXN0LlJlcXVlc3Q8UmVnaXN0ZXJSZXF1ZXN0PiA9IHtcclxuICAgICAgbWV0aG9kOiAnUE9TVCcsXHJcbiAgICAgIHVybDogJy9hcGkvYWNjb3VudC9yZWdpc3RlcicsXHJcbiAgICAgIGJvZHksXHJcbiAgICB9O1xyXG5cclxuICAgIHJldHVybiB0aGlzLnJlc3QucmVxdWVzdDxSZWdpc3RlclJlcXVlc3QsIFJlZ2lzdGVyUmVzcG9uc2U+KHJlcXVlc3QsIHsgc2tpcEhhbmRsZUVycm9yOiB0cnVlIH0pO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm2015/lib/tokens/index.js b/npm/ng-packs/dist/account/esm2015/lib/tokens/index.js deleted file mode 100644 index 702adc25557..00000000000 --- a/npm/ng-packs/dist/account/esm2015/lib/tokens/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/tokens/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { optionsFactory, ACCOUNT_OPTIONS } from './options.token'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmFjY291bnQvIiwic291cmNlcyI6WyJsaWIvdG9rZW5zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsZ0RBQWMsaUJBQWlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL29wdGlvbnMudG9rZW4nO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm2015/lib/tokens/options.token.js b/npm/ng-packs/dist/account/esm2015/lib/tokens/options.token.js deleted file mode 100644 index 36e8b6b781a..00000000000 --- a/npm/ng-packs/dist/account/esm2015/lib/tokens/options.token.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/tokens/options.token.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { InjectionToken } from '@angular/core'; -/** - * @param {?} options - * @return {?} - */ -export function optionsFactory(options) { - return Object.assign({ redirectUrl: '/' }, options); -} -/** @type {?} */ -export const ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS'); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9ucy50b2tlbi5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuYWNjb3VudC8iLCJzb3VyY2VzIjpbImxpYi90b2tlbnMvb3B0aW9ucy50b2tlbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7O0FBRy9DLE1BQU0sVUFBVSxjQUFjLENBQUMsT0FBZ0I7SUFDN0MsdUJBQ0UsV0FBVyxFQUFFLEdBQUcsSUFDYixPQUFPLEVBQ1Y7QUFDSixDQUFDOztBQUVELE1BQU0sT0FBTyxlQUFlLEdBQUcsSUFBSSxjQUFjLENBQUMsaUJBQWlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3Rpb25Ub2tlbiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBPcHRpb25zIH0gZnJvbSAnLi4vbW9kZWxzL29wdGlvbnMnO1xyXG5cclxuZXhwb3J0IGZ1bmN0aW9uIG9wdGlvbnNGYWN0b3J5KG9wdGlvbnM6IE9wdGlvbnMpIHtcclxuICByZXR1cm4ge1xyXG4gICAgcmVkaXJlY3RVcmw6ICcvJyxcclxuICAgIC4uLm9wdGlvbnMsXHJcbiAgfTtcclxufVxyXG5cclxuZXhwb3J0IGNvbnN0IEFDQ09VTlRfT1BUSU9OUyA9IG5ldyBJbmplY3Rpb25Ub2tlbignQUNDT1VOVF9PUFRJT05TJyk7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm2015/public-api.js b/npm/ng-packs/dist/account/esm2015/public-api.js deleted file mode 100644 index e4250d8f424..00000000000 --- a/npm/ng-packs/dist/account/esm2015/public-api.js +++ /dev/null @@ -1,11 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { AccountProviders, AccountModule } from './lib/account.module'; -export { ChangePasswordComponent, LoginComponent, ManageProfileComponent, RegisterComponent, PersonalSettingsComponent } from './lib/components'; -export { ACCOUNT_ROUTES } from './lib/constants/routes'; -export { optionsFactory, ACCOUNT_OPTIONS } from './lib/tokens'; -export {} from './lib/models'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuYWNjb3VudC8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxnREFBYyxzQkFBc0IsQ0FBQztBQUNyQyw4SEFBYyxrQkFBa0IsQ0FBQztBQUNqQywrQkFBYyx3QkFBd0IsQ0FBQztBQUN2QyxnREFBYyxjQUFjLENBQUM7QUFDN0IsZUFBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9hY2NvdW50Lm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb25zdGFudHMvcm91dGVzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvdG9rZW5zJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvbW9kZWxzJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm5/abp-ng.account.js b/npm/ng-packs/dist/account/esm5/abp-ng.account.js deleted file mode 100644 index 3cb3ff5c425..00000000000 --- a/npm/ng-packs/dist/account/esm5/abp-ng.account.js +++ /dev/null @@ -1,20 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.account.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { AccountProviders, AccountModule, ChangePasswordComponent, LoginComponent, ManageProfileComponent, RegisterComponent, PersonalSettingsComponent, ACCOUNT_ROUTES, optionsFactory, ACCOUNT_OPTIONS } from './public-api'; -export { AccountRoutingModule as ɵj } from './lib/account-routing.module'; -export { AuthWrapperComponent as ɵa } from './lib/components/auth-wrapper/auth-wrapper.component'; -export { ChangePasswordComponent as ɵg } from './lib/components/change-password/change-password.component'; -export { LoginComponent as ɵb } from './lib/components/login/login.component'; -export { ManageProfileComponent as ɵh } from './lib/components/manage-profile/manage-profile.component'; -export { PersonalSettingsComponent as ɵi } from './lib/components/personal-settings/personal-settings.component'; -export { RegisterComponent as ɵd } from './lib/components/register/register.component'; -export { TenantBoxComponent as ɵf } from './lib/components/tenant-box/tenant-box.component'; -export { AccountService as ɵe } from './lib/services/account.service'; -export { ACCOUNT_OPTIONS as ɵl, optionsFactory as ɵk } from './lib/tokens/options.token'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLmFjY291bnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmFjY291bnQvIiwic291cmNlcyI6WyJhYnAtbmcuYWNjb3VudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLGdOQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMsb0JBQW9CLElBQUksRUFBRSxFQUFDLE1BQU0sOEJBQThCLENBQUM7QUFDeEUsT0FBTyxFQUFDLG9CQUFvQixJQUFJLEVBQUUsRUFBQyxNQUFNLHNEQUFzRCxDQUFDO0FBQ2hHLE9BQU8sRUFBQyx1QkFBdUIsSUFBSSxFQUFFLEVBQUMsTUFBTSw0REFBNEQsQ0FBQztBQUN6RyxPQUFPLEVBQUMsY0FBYyxJQUFJLEVBQUUsRUFBQyxNQUFNLHdDQUF3QyxDQUFDO0FBQzVFLE9BQU8sRUFBQyxzQkFBc0IsSUFBSSxFQUFFLEVBQUMsTUFBTSwwREFBMEQsQ0FBQztBQUN0RyxPQUFPLEVBQUMseUJBQXlCLElBQUksRUFBRSxFQUFDLE1BQU0sZ0VBQWdFLENBQUM7QUFDL0csT0FBTyxFQUFDLGlCQUFpQixJQUFJLEVBQUUsRUFBQyxNQUFNLDhDQUE4QyxDQUFDO0FBQ3JGLE9BQU8sRUFBQyxrQkFBa0IsSUFBSSxFQUFFLEVBQUMsTUFBTSxrREFBa0QsQ0FBQztBQUUxRixPQUFPLEVBQUMsY0FBYyxJQUFJLEVBQUUsRUFBQyxNQUFNLGdDQUFnQyx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nRzL3JlZ2lzdGVyL3JlZ2lzdGVyLmNvbXBvbmVudCc7XG5leHBvcnQge1RlbmFudEJveENvbXBvbmVudCBhcyDJtWZ9IGZyb20gJy4vbGliL2NvbXBvbmVudHMvdGVuYW50LWJveC90ZW5hbnQtYm94LmNvbXBvbmVudCc7XG5leHBvcnQge09wdGlvbnMgYXMgybVjfSBmcm9tICcuL2xpYi9tb2RlbHMvb3B0aW9ucyc7XG5leHBvcnQge0FjY291bnRTZXJ2aWNlIGFzIMm1ZX0gZnJvbSAnLi9saWIvc2VydmljZXMvYWNjb3VudC5zZXJ2aWNlJztcbmV4cG9ydCB7QUNDT1VOVF9PUFRJT05TIGFzIMm1bCxvcHRpb25zRmFjdG9yeSBhcyDJtWt9IGZyb20gJy4vbGliL3Rva2Vucy9vcHRpb25zLnRva2VuJzsiXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm5/lib/account-routing.module.js b/npm/ng-packs/dist/account/esm5/lib/account-routing.module.js deleted file mode 100644 index 7252ee6b344..00000000000 --- a/npm/ng-packs/dist/account/esm5/lib/account-routing.module.js +++ /dev/null @@ -1,40 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/account-routing.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { DynamicLayoutComponent } from '@abp/ng.core'; -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { LoginComponent } from './components/login/login.component'; -import { ManageProfileComponent } from './components/manage-profile/manage-profile.component'; -import { RegisterComponent } from './components/register/register.component'; -/** @type {?} */ -var routes = [ - { path: '', pathMatch: 'full', redirectTo: 'login' }, - { - path: '', - component: DynamicLayoutComponent, - children: [ - { path: 'login', component: LoginComponent }, - { path: 'register', component: RegisterComponent }, - { - path: 'manage-profile', - component: ManageProfileComponent, - }, - ], - }, -]; -var AccountRoutingModule = /** @class */ (function () { - function AccountRoutingModule() { - } - AccountRoutingModule.decorators = [ - { type: NgModule, args: [{ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule], - },] } - ]; - return AccountRoutingModule; -}()); -export { AccountRoutingModule }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudC1yb3V0aW5nLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuYWNjb3VudC8iLCJzb3VyY2VzIjpbImxpYi9hY2NvdW50LXJvdXRpbmcubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ3RELE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBVSxNQUFNLGlCQUFpQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUNwRSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxzREFBc0QsQ0FBQztBQUM5RixPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSwwQ0FBMEMsQ0FBQzs7SUFFdkUsTUFBTSxHQUFXO0lBQ3JCLEVBQUUsSUFBSSxFQUFFLEVBQUUsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxPQUFPLEVBQUU7SUFDcEQ7UUFDRSxJQUFJLEVBQUUsRUFBRTtRQUNSLFNBQVMsRUFBRSxzQkFBc0I7UUFDakMsUUFBUSxFQUFFO1lBQ1IsRUFBRSxJQUFJLEVBQUUsT0FBTyxFQUFFLFNBQVMsRUFBRSxjQUFjLEVBQUU7WUFDNUMsRUFBRSxJQUFJLEVBQUUsVUFBVSxFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBRTtZQUNsRDtnQkFDRSxJQUFJLEVBQUUsZ0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vbmVudCxcclxuICAgIGNoaWxkcmVuOiBbXHJcbiAgICAgIHsgcGF0aDogJ2xvZ2luJywgY29tcG9uZW50OiBMb2dpbkNvbXBvbmVudCB9LFxyXG4gICAgICB7IHBhdGg6ICdyZWdpc3RlcicsIGNvbXBvbmVudDogUmVnaXN0ZXJDb21wb25lbnQgfSxcclxuICAgICAge1xyXG4gICAgICAgIHBhdGg6ICdtYW5hZ2UtcHJvZmlsZScsXHJcbiAgICAgICAgY29tcG9uZW50OiBNYW5hZ2VQcm9maWxlQ29tcG9uZW50LFxyXG4gICAgICB9LFxyXG4gICAgXSxcclxuICB9LFxyXG5dO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBpbXBvcnRzOiBbUm91dGVyTW9kdWxlLmZvckNoaWxkKHJvdXRlcyldLFxyXG4gIGV4cG9ydHM6IFtSb3V0ZXJNb2R1bGVdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQWNjb3VudFJvdXRpbmdNb2R1bGUge31cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm5/lib/account.module.js b/npm/ng-packs/dist/account/esm5/lib/account.module.js deleted file mode 100644 index f2b3bca4a7e..00000000000 --- a/npm/ng-packs/dist/account/esm5/lib/account.module.js +++ /dev/null @@ -1,59 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/account.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { CoreModule } from '@abp/ng.core'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; -import { NgModule } from '@angular/core'; -import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; -import { NgxValidateCoreModule } from '@ngx-validate/core'; -import { TableModule } from 'primeng/table'; -import { AccountRoutingModule } from './account-routing.module'; -import { ChangePasswordComponent } from './components/change-password/change-password.component'; -import { LoginComponent } from './components/login/login.component'; -import { ManageProfileComponent } from './components/manage-profile/manage-profile.component'; -import { PersonalSettingsComponent } from './components/personal-settings/personal-settings.component'; -import { RegisterComponent } from './components/register/register.component'; -import { TenantBoxComponent } from './components/tenant-box/tenant-box.component'; -import { ACCOUNT_OPTIONS, optionsFactory } from './tokens/options.token'; -import { AuthWrapperComponent } from './components/auth-wrapper/auth-wrapper.component'; -var AccountModule = /** @class */ (function () { - function AccountModule() { - } - AccountModule.decorators = [ - { type: NgModule, args: [{ - declarations: [ - AuthWrapperComponent, - LoginComponent, - RegisterComponent, - TenantBoxComponent, - ChangePasswordComponent, - ManageProfileComponent, - PersonalSettingsComponent, - ], - imports: [CoreModule, AccountRoutingModule, ThemeSharedModule, TableModule, NgbDropdownModule, NgxValidateCoreModule], - exports: [], - },] } - ]; - return AccountModule; -}()); -export { AccountModule }; -/** - * - * @deprecated since version 0.9 - * @param {?=} options - * @return {?} - */ -export function AccountProviders(options) { - if (options === void 0) { options = (/** @type {?} */ ({})); } - return [ - { provide: ACCOUNT_OPTIONS, useValue: options }, - { - provide: 'ACCOUNT_OPTIONS', - useFactory: optionsFactory, - deps: [ACCOUNT_OPTIONS], - }, - ]; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudC5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmFjY291bnQvIiwic291cmNlcyI6WyJsaWIvYWNjb3VudC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQzFDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3pELE9BQU8sRUFBRSxRQUFRLEVBQVksTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFDL0QsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQ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Byb2ZpbGVDb21wb25lbnQsXHJcbiAgICBQZXJzb25hbFNldHRpbmdzQ29tcG9uZW50LFxyXG4gIF0sXHJcbiAgaW1wb3J0czogW0NvcmVNb2R1bGUsIEFjY291bnRSb3V0aW5nTW9kdWxlLCBUaGVtZVNoYXJlZE1vZHVsZSwgVGFibGVNb2R1bGUsIE5nYkRyb3Bkb3duTW9kdWxlLCBOZ3hWYWxpZGF0ZUNvcmVNb2R1bGVdLFxyXG4gIGV4cG9ydHM6IFtdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQWNjb3VudE1vZHVsZSB7fVxyXG5cclxuLyoqXHJcbiAqXHJcbiAqIEBkZXByZWNhdGVkIHNpbmNlIHZlcnNpb24gMC45XHJcbiAqL1xyXG5leHBvcnQgZnVuY3Rpb24gQWNjb3VudFByb3ZpZGVycyhvcHRpb25zID0ge30gYXMgT3B0aW9ucyk6IFByb3ZpZGVyW10ge1xyXG4gIHJldHVybiBbXHJcbiAgICB7IHByb3ZpZGU6IEFDQ09VTlRfT1BUSU9OUywgdXNlVmFsdWU6IG9wdGlvbnMgfSxcclxuICAgIHtcclxuICAgICAgcHJvdmlkZTogJ0FDQ09VTlRfT1BUSU9OUycsXHJcbiAgICAgIHVzZUZhY3Rvcnk6IG9wdGlvbnNGYWN0b3J5LFxyXG4gICAgICBkZXBzOiBbQUNDT1VOVF9PUFRJT05TXSxcclxuICAgIH0sXHJcbiAgXTtcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm5/lib/components/auth-wrapper/auth-wrapper.component.js b/npm/ng-packs/dist/account/esm5/lib/components/auth-wrapper/auth-wrapper.component.js deleted file mode 100644 index e7e35f5d29e..00000000000 --- a/npm/ng-packs/dist/account/esm5/lib/components/auth-wrapper/auth-wrapper.component.js +++ /dev/null @@ -1,29 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/auth-wrapper/auth-wrapper.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component, Input, TemplateRef } from '@angular/core'; -var AuthWrapperComponent = /** @class */ (function () { - function AuthWrapperComponent() { - } - AuthWrapperComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-auth-wrapper', - template: "
\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n" - }] } - ]; - AuthWrapperComponent.propDecorators = { - mainContentRef: [{ type: Input }], - cancelContentRef: [{ type: Input }] - }; - return AuthWrapperComponent; -}()); -export { AuthWrapperComponent }; -if (false) { - /** @type {?} */ - AuthWrapperComponent.prototype.mainContentRef; - /** @type {?} */ - AuthWrapperComponent.prototype.cancelContentRef; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC13cmFwcGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuYWNjb3VudC8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2F1dGgtd3JhcHBlci9hdXRoLXdyYXBwZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsV0FBVyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTlEO0lBQUE7SUFVQSxDQUFDOztnQkFWQSxTQUFTLFNBQUM7b0JBQ1QsUUFBUSxFQUFFLGtCQUFrQjtvQkFDNUIsbWVBQTRDO2lCQUM3Qzs7O2lDQUVFLEtBQUs7bUNBR0wsS0FBSzs7SUFFUiwyQkFBQztDQUFBLEFBVkQsSUFVQztTQU5ZLG9CQUFvQjs7O0lBQy9CLDhDQUNpQzs7SUFFakMsZ0RBQ21DIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBJbnB1dCwgVGVtcGxhdGVSZWYgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gIHNlbGVjdG9yOiAnYWJwLWF1dGgtd3JhcHBlcicsXHJcbiAgdGVtcGxhdGVVcmw6ICcuL2F1dGgtd3JhcHBlci5jb21wb25lbnQuaHRtbCcsXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBBdXRoV3JhcHBlckNvbXBvbmVudCB7XHJcbiAgQElucHV0KClcclxuICBtYWluQ29udGVudFJlZjogVGVtcGxhdGVSZWY8YW55PjtcclxuXHJcbiAgQElucHV0KClcclxuICBjYW5jZWxDb250ZW50UmVmOiBUZW1wbGF0ZVJlZjxhbnk+O1xyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm5/lib/components/change-password/change-password.component.js b/npm/ng-packs/dist/account/esm5/lib/components/change-password/change-password.component.js deleted file mode 100644 index cbc1c0f2558..00000000000 --- a/npm/ng-packs/dist/account/esm5/lib/components/change-password/change-password.component.js +++ /dev/null @@ -1,165 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/change-password/change-password.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { ChangePassword, ConfigState } from '@abp/ng.core'; -import { ToasterService } from '@abp/ng.theme.shared'; -import { Component } from '@angular/core'; -import { FormBuilder, Validators } from '@angular/forms'; -import { comparePasswords, validatePassword } from '@ngx-validate/core'; -import { Store } from '@ngxs/store'; -import snq from 'snq'; -import { finalize } from 'rxjs/operators'; -var minLength = Validators.minLength, required = Validators.required, maxLength = Validators.maxLength; -/** @type {?} */ -var PASSWORD_FIELDS = ['newPassword', 'repeatNewPassword']; -var ChangePasswordComponent = /** @class */ (function () { - function ChangePasswordComponent(fb, store, toasterService) { - this.fb = fb; - this.store = store; - this.toasterService = toasterService; - this.mapErrorsFn = (/** - * @param {?} errors - * @param {?} groupErrors - * @param {?} control - * @return {?} - */ - function (errors, groupErrors, control) { - if (PASSWORD_FIELDS.indexOf(control.name) < 0) - return errors; - return errors.concat(groupErrors.filter((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var key = _a.key; - return key === 'passwordMismatch'; - }))); - }); - } - /** - * @return {?} - */ - ChangePasswordComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - /** @type {?} */ - var passwordRules = this.store.selectSnapshot(ConfigState.getSettings('Identity.Password')); - /** @type {?} */ - var passwordRulesArr = (/** @type {?} */ ([])); - /** @type {?} */ - var requiredLength = 1; - if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('number'); - } - if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('small'); - } - if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('capital'); - } - if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) { - passwordRulesArr.push('special'); - } - if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) { - requiredLength = +passwordRules['Abp.Identity.Password.RequiredLength']; - } - this.form = this.fb.group({ - password: ['', required], - newPassword: [ - '', - { - validators: [required, validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(32)], - }, - ], - repeatNewPassword: [ - '', - { validators: [required, validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(32)] }, - ], - }, { - validators: [comparePasswords(PASSWORD_FIELDS)], - }); - }; - /** - * @return {?} - */ - ChangePasswordComponent.prototype.onSubmit = /** - * @return {?} - */ - function () { - var _this = this; - if (this.form.invalid) - return; - this.inProgress = true; - this.store - .dispatch(new ChangePassword({ - currentPassword: this.form.get('password').value, - newPassword: this.form.get('newPassword').value, - })) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.inProgress = false); }))) - .subscribe({ - next: (/** - * @return {?} - */ - function () { - _this.form.reset(); - _this.toasterService.success('AbpAccount::PasswordChangedMessage', 'Success', { life: 5000 }); - }), - error: (/** - * @param {?} err - * @return {?} - */ - function (err) { - _this.toasterService.error(snq((/** - * @return {?} - */ - function () { return err.error.error.message; }), 'AbpAccount::DefaultErrorMessage'), 'Error', { - life: 7000, - }); - }), - }); - }; - ChangePasswordComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-change-password-form', - template: "
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ 'AbpIdentity::Save' | abpLocalization }}\r\n
\r\n" - }] } - ]; - /** @nocollapse */ - ChangePasswordComponent.ctorParameters = function () { return [ - { type: FormBuilder }, - { type: Store }, - { type: ToasterService } - ]; }; - return ChangePasswordComponent; -}()); -export { ChangePasswordComponent }; -if (false) { - /** @type {?} */ - ChangePasswordComponent.prototype.form; - /** @type {?} */ - ChangePasswordComponent.prototype.inProgress; - /** @type {?} */ - ChangePasswordComponent.prototype.mapErrorsFn; - /** - * @type {?} - * @private - */ - ChangePasswordComponent.prototype.fb; - /** - * @type {?} - * @private - */ - ChangePasswordComponent.prototype.store; - /** - * @type {?} - * @private - */ - ChangePasswordComponent.prototype.toasterService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlLXBhc3N3b3JkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuYWNjb3VudC8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2NoYW5nZS1wYXNzd29yZC9jaGFuZ2UtcGFzc3dvcmQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxXQUFXLEVBQU8sTUFBTSxjQUFjLENBQUM7QUFDaEUsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3RELE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDbEQsT0FBTyxFQUFFLFdBQ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QoKTtcclxuICAgICAgICAgIHRoaXMudG9hc3RlclNlcnZpY2Uuc3VjY2VzcygnQWJwQWNjb3VudDo6UGFzc3dvcmRDaGFuZ2VkTWVzc2FnZScsICdTdWNjZXNzJywgeyBsaWZlOiA1MDAwIH0pO1xyXG4gICAgICAgIH0sXHJcbiAgICAgICAgZXJyb3I6IGVyciA9PiB7XHJcbiAgICAgICAgICB0aGlzLnRvYXN0ZXJTZXJ2aWNlLmVycm9yKHNucSgoKSA9PiBlcnIuZXJyb3IuZXJyb3IubWVzc2FnZSwgJ0FicEFjY291bnQ6OkRlZmF1bHRFcnJvck1lc3NhZ2UnKSwgJ0Vycm9yJywge1xyXG4gICAgICAgICAgICBsaWZlOiA3MDAwLFxyXG4gICAgICAgICAgfSk7XHJcbiAgICAgICAgfSxcclxuICAgICAgfSk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm5/lib/components/index.js b/npm/ng-packs/dist/account/esm5/lib/components/index.js deleted file mode 100644 index 30369d6a05c..00000000000 --- a/npm/ng-packs/dist/account/esm5/lib/components/index.js +++ /dev/null @@ -1,11 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { ChangePasswordComponent } from './change-password/change-password.component'; -export { LoginComponent } from './login/login.component'; -export { ManageProfileComponent } from './manage-profile/manage-profile.component'; -export { RegisterComponent } from './register/register.component'; -export { PersonalSettingsComponent } from './personal-settings/personal-settings.component'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmFjY291bnQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHdDQUFjLDZDQUE2QyxDQUFDO0FBQzVELCtCQUFjLHlCQUF5QixDQUFDO0FBQ3hDLHVDQUFjLDJDQUEyQyxDQUFDO0FBQzFELGtDQUFjLCtCQUErQixDQUFDO0FBQzlDLDBDQUFjLGlEQUFpRCxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jaGFuZ2UtcGFzc3dvcmQvY2hhbmdlLXBhc3N3b3JkLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbG9naW4vbG9naW4uY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9tYW5hZ2UtcHJvZmlsZS9tYW5hZ2UtcHJvZmlsZS5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL3JlZ2lzdGVyL3JlZ2lzdGVyLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vcGVyc29uYWwtc2V0dGluZ3MvcGVyc29uYWwtc2V0dGluZ3MuY29tcG9uZW50JztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm5/lib/components/login/login.component.js b/npm/ng-packs/dist/account/esm5/lib/components/login/login.component.js deleted file mode 100644 index 32ee5f34ff1..00000000000 --- a/npm/ng-packs/dist/account/esm5/lib/components/login/login.component.js +++ /dev/null @@ -1,130 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/login/login.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { GetAppConfiguration, ConfigState, SessionState } from '@abp/ng.core'; -import { Component, Inject, Optional } from '@angular/core'; -import { FormBuilder, Validators } from '@angular/forms'; -import { Navigate } from '@ngxs/router-plugin'; -import { Store } from '@ngxs/store'; -import { OAuthService } from 'angular-oauth2-oidc'; -import { from, throwError } from 'rxjs'; -import { ToasterService } from '@abp/ng.theme.shared'; -import { catchError, finalize, switchMap, tap } from 'rxjs/operators'; -import snq from 'snq'; -import { HttpHeaders } from '@angular/common/http'; -var maxLength = Validators.maxLength, minLength = Validators.minLength, required = Validators.required; -var LoginComponent = /** @class */ (function () { - function LoginComponent(fb, oauthService, store, toasterService, options) { - this.fb = fb; - this.oauthService = oauthService; - this.store = store; - this.toasterService = toasterService; - this.options = options; - this.oauthService.configure(this.store.selectSnapshot(ConfigState.getOne('environment')).oAuthConfig); - this.oauthService.loadDiscoveryDocument(); - this.form = this.fb.group({ - username: ['', [required, maxLength(255)]], - password: ['', [required, maxLength(32)]], - remember: [false], - }); - } - /** - * @return {?} - */ - LoginComponent.prototype.onSubmit = /** - * @return {?} - */ - function () { - var _this = this; - if (this.form.invalid) - return; - // this.oauthService.setStorage(this.form.value.remember ? localStorage : sessionStorage); - this.inProgress = true; - /** @type {?} */ - var tenant = this.store.selectSnapshot(SessionState.getTenant); - from(this.oauthService.fetchTokenUsingPasswordFlow(this.form.get('username').value, this.form.get('password').value, new HttpHeaders(tslib_1.__assign({}, (tenant && tenant.id && { __tenant: tenant.id }))))) - .pipe(switchMap((/** - * @return {?} - */ - function () { return _this.store.dispatch(new GetAppConfiguration()); })), tap((/** - * @return {?} - */ - function () { - /** @type {?} */ - var redirectUrl = snq((/** - * @return {?} - */ - function () { return window.history.state; })).redirectUrl || (_this.options || {}).redirectUrl || '/'; - _this.store.dispatch(new Navigate([redirectUrl])); - })), catchError((/** - * @param {?} err - * @return {?} - */ - function (err) { - _this.toasterService.error(snq((/** - * @return {?} - */ - function () { return err.error.error_description; })) || - snq((/** - * @return {?} - */ - function () { return err.error.error.message; }), 'AbpAccount::DefaultErrorMessage'), 'Error', { life: 7000 }); - return throwError(err); - })), finalize((/** - * @return {?} - */ - function () { return (_this.inProgress = false); }))) - .subscribe(); - }; - LoginComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-login', - template: "\r\n \r\n

{{ 'AbpAccount::Login' | abpLocalization }}

\r\n \r\n {{ 'AbpAccount::AreYouANewUser' | abpLocalization }}\r\n {{ 'AbpAccount::Register' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n {{ 'AbpAccount::Login' | abpLocalization }}\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n" - }] } - ]; - /** @nocollapse */ - LoginComponent.ctorParameters = function () { return [ - { type: FormBuilder }, - { type: OAuthService }, - { type: Store }, - { type: ToasterService }, - { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: ['ACCOUNT_OPTIONS',] }] } - ]; }; - return LoginComponent; -}()); -export { LoginComponent }; -if (false) { - /** @type {?} */ - LoginComponent.prototype.form; - /** @type {?} */ - LoginComponent.prototype.inProgress; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.fb; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.oauthService; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.store; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.toasterService; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.options; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9naW4uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5hY2NvdW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvbG9naW4vbG9naW4uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxXQUFXLEVBQUUsWUFBWSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQzlFLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM1RCxPQUFPLEVBQUUsV0FBVyxFQUFhLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3BFLE9BQU8sRUFBRSxRQU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gICAgIHRhcCgoKSA9PiB7XHJcbiAgICAgICAgICBjb25zdCByZWRpcmVjdFVybCA9IHNucSgoKSA9PiB3aW5kb3cuaGlzdG9yeS5zdGF0ZSkucmVkaXJlY3RVcmwgfHwgKHRoaXMub3B0aW9ucyB8fCB7fSkucmVkaXJlY3RVcmwgfHwgJy8nO1xyXG4gICAgICAgICAgdGhpcy5zdG9yZS5kaXNwYXRjaChuZXcgTmF2aWdhdGUoW3JlZGlyZWN0VXJsXSkpO1xyXG4gICAgICAgIH0pLFxyXG4gICAgICAgIGNhdGNoRXJyb3IoZXJyID0+IHtcclxuICAgICAgICAgIHRoaXMudG9hc3RlclNlcnZpY2UuZXJyb3IoXHJcbiAgICAgICAgICAgIHNucSgoKSA9PiBlcnIuZXJyb3IuZXJyb3JfZGVzY3JpcHRpb24pIHx8XHJcbiAgICAgICAgICAgICAgc25xKCgpID0+IGVyci5lcnJvci5lcnJvci5tZXNzYWdlLCAnQWJwQWNjb3VudDo6RGVmYXVsdEVycm9yTWVzc2FnZScpLFxyXG4gICAgICAgICAgICAnRXJyb3InLFxyXG4gICAgICAgICAgICB7IGxpZmU6IDcwMDAgfSxcclxuICAgICAgICAgICk7XHJcbiAgICAgICAgICByZXR1cm4gdGhyb3dFcnJvcihlcnIpO1xyXG4gICAgICAgIH0pLFxyXG4gICAgICAgIGZpbmFsaXplKCgpID0+ICh0aGlzLmluUHJvZ3Jlc3MgPSBmYWxzZSkpLFxyXG4gICAgICApXHJcbiAgICAgIC5zdWJzY3JpYmUoKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm5/lib/components/manage-profile/manage-profile.component.js b/npm/ng-packs/dist/account/esm5/lib/components/manage-profile/manage-profile.component.js deleted file mode 100644 index db4a4ce65c0..00000000000 --- a/npm/ng-packs/dist/account/esm5/lib/components/manage-profile/manage-profile.component.js +++ /dev/null @@ -1,27 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/manage-profile/manage-profile.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { fadeIn } from '@abp/ng.theme.shared'; -import { transition, trigger, useAnimation } from '@angular/animations'; -import { Component } from '@angular/core'; -var ManageProfileComponent = /** @class */ (function () { - function ManageProfileComponent() { - this.selectedTab = 0; - } - ManageProfileComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-manage-profile', - template: "
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

\r\n {{ 'AbpIdentity::ChangePassword' | abpLocalization }}\r\n
\r\n

\r\n \r\n
\r\n
\r\n
\r\n
\r\n

\r\n {{ 'AbpIdentity::PersonalSettings' | abpLocalization }}\r\n
\r\n

\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n", - animations: [trigger('fadeIn', [transition(':enter', useAnimation(fadeIn))])] - }] } - ]; - return ManageProfileComponent; -}()); -export { ManageProfileComponent }; -if (false) { - /** @type {?} */ - ManageProfileComponent.prototype.selectedTab; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFuYWdlLXByb2ZpbGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5hY2NvdW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvbWFuYWdlLXByb2ZpbGUvbWFuYWdlLXByb2ZpbGUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQzlDLE9BQU8sRUFBRSxVQUFVLEVBQUUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ3hFLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFMUM7SUFBQTtRQU1FLGdCQUFXLEdBQUcsQ0FBQyxDQUFDO0lBQ2xCLENBQUM7O2dCQVBBLFNBQVMsU0FBQztvQkFDVCxRQUFRLEVBQUUsb0JBQW9CO29CQUM5QixtdERBQThDO29CQUM5QyxVQUFVLEVBQUUsQ0FBQyxPQUFPLENBQUMsUUFBUSxFQUFFLENBQUMsVUFBVSxDQUFDLFFBQVEsRUFBRSxZQUFZLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUM7aUJBQzlFOztJQUdELDZCQUFDO0NBQUEsQUFQRCxJQU9DO1NBRlksc0JBQXNCOzs7SUFDakMsNkNBQWdCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgZmFkZUluIH0gZnJvbSAnQGFicC9uZy50aGVtZS5zaGFyZWQnO1xyXG5pbXBvcnQgeyB0cmFuc2l0aW9uLCB0cmlnZ2VyLCB1c2VBbmltYXRpb24gfSBmcm9tICdAYW5ndWxhci9hbmltYXRpb25zJztcclxuaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ2FicC1tYW5hZ2UtcHJvZmlsZScsXHJcbiAgdGVtcGxhdGVVcmw6ICcuL21hbmFnZS1wcm9maWxlLmNvbXBvbmVudC5odG1sJyxcclxuICBhbmltYXRpb25zOiBbdHJpZ2dlcignZmFkZUluJywgW3RyYW5zaXRpb24oJzplbnRlcicsIHVzZUFuaW1hdGlvbihmYWRlSW4pKV0pXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIE1hbmFnZVByb2ZpbGVDb21wb25lbnQge1xyXG4gIHNlbGVjdGVkVGFiID0gMDtcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm5/lib/components/personal-settings/personal-settings.component.js b/npm/ng-packs/dist/account/esm5/lib/components/personal-settings/personal-settings.component.js deleted file mode 100644 index d6778dbe03a..00000000000 --- a/npm/ng-packs/dist/account/esm5/lib/components/personal-settings/personal-settings.component.js +++ /dev/null @@ -1,122 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/personal-settings/personal-settings.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { GetProfile, ProfileState, UpdateProfile } from '@abp/ng.core'; -import { Component } from '@angular/core'; -import { FormBuilder, Validators } from '@angular/forms'; -import { Select, Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { take, withLatestFrom, finalize } from 'rxjs/operators'; -import { ToasterService } from '@abp/ng.theme.shared'; -var maxLength = Validators.maxLength, required = Validators.required, email = Validators.email; -var PersonalSettingsComponent = /** @class */ (function () { - function PersonalSettingsComponent(fb, store, toasterService) { - this.fb = fb; - this.store = store; - this.toasterService = toasterService; - } - /** - * @return {?} - */ - PersonalSettingsComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.buildForm(); - }; - /** - * @return {?} - */ - PersonalSettingsComponent.prototype.buildForm = /** - * @return {?} - */ - function () { - var _this = this; - this.store - .dispatch(new GetProfile()) - .pipe(withLatestFrom(this.profile$), take(1)) - .subscribe((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var _b = tslib_1.__read(_a, 2), profile = _b[1]; - _this.form = _this.fb.group({ - userName: [profile.userName, [required, maxLength(256)]], - email: [profile.email, [required, email, maxLength(256)]], - name: [profile.name || '', [maxLength(64)]], - surname: [profile.surname || '', [maxLength(64)]], - phoneNumber: [profile.phoneNumber || '', [maxLength(16)]], - }); - })); - }; - /** - * @return {?} - */ - PersonalSettingsComponent.prototype.submit = /** - * @return {?} - */ - function () { - var _this = this; - if (this.form.invalid) - return; - this.inProgress = true; - this.store - .dispatch(new UpdateProfile(this.form.value)) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.inProgress = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.toasterService.success('AbpAccount::PersonalSettingsSaved', 'Success', { life: 5000 }); - })); - }; - PersonalSettingsComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-personal-settings-form', - template: "
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ 'AbpIdentity::Save' | abpLocalization }}\r\n
\r\n" - }] } - ]; - /** @nocollapse */ - PersonalSettingsComponent.ctorParameters = function () { return [ - { type: FormBuilder }, - { type: Store }, - { type: ToasterService } - ]; }; - tslib_1.__decorate([ - Select(ProfileState.getProfile), - tslib_1.__metadata("design:type", Observable) - ], PersonalSettingsComponent.prototype, "profile$", void 0); - return PersonalSettingsComponent; -}()); -export { PersonalSettingsComponent }; -if (false) { - /** @type {?} */ - PersonalSettingsComponent.prototype.profile$; - /** @type {?} */ - PersonalSettingsComponent.prototype.form; - /** @type {?} */ - PersonalSettingsComponent.prototype.inProgress; - /** - * @type {?} - * @private - */ - PersonalSettingsComponent.prototype.fb; - /** - * @type {?} - * @private - */ - PersonalSettingsComponent.prototype.store; - /** - * @type {?} - * @private - */ - PersonalSettingsComponent.prototype.toasterService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVyc29uYWwtc2V0dGluZ3MuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5hY2NvdW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvcGVyc29uYWwtc2V0dGluZ3MvcGVyc29uYWwtc2V0dGluZ3MuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQVcsWUFBWSxFQUFFLGFBQWEsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUNoRixPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ2x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4ge1xyXG4gICAgICAgIHRoaXMuZm9ybSA9IHRoaXMuZmIuZ3JvdXAoe1xyXG4gICAgICAgICAgdXNlck5hbWU6IFtwcm9maWxlLnVzZXJOYW1lLCBbcmVxdWlyZWQsIG1heExlbmd0aCgyNTYpXV0sXHJcbiAgICAgICAgICBlbWFpbDogW3Byb2ZpbGUuZW1haWwsIFtyZXF1aXJlZCwgZW1haWwsIG1heExlbmd0aCgyNTYpXV0sXHJcbiAgICAgICAgICBuYW1lOiBbcHJvZmlsZS5uYW1lIHx8ICcnLCBbbWF4TGVuZ3RoKDY0KV1dLFxyXG4gICAgICAgICAgc3VybmFtZTogW3Byb2ZpbGUuc3VybmFtZSB8fCAnJywgW21heExlbmd0aCg2NCldXSxcclxuICAgICAgICAgIHBob25lTnVtYmVyOiBbcHJvZmlsZS5waG9uZU51bWJlciB8fCAnJywgW21heExlbmd0aCgxNildXSxcclxuICAgICAgICB9KTtcclxuICAgICAgfSk7XHJcbiAgfVxyXG5cclxuICBzdWJtaXQoKSB7XHJcbiAgICBpZiAodGhpcy5mb3JtLmludmFsaWQpIHJldHVybjtcclxuICAgIHRoaXMuaW5Qcm9ncmVzcyA9IHRydWU7XHJcbiAgICB0aGlzLnN0b3JlXHJcbiAgICAgIC5kaXNwYXRjaChuZXcgVXBkYXRlUHJvZmlsZSh0aGlzLmZvcm0udmFsdWUpKVxyXG4gICAgICAucGlwZShmaW5hbGl6ZSgoKSA9PiAodGhpcy5pblByb2dyZXNzID0gZmFsc2UpKSlcclxuICAgICAgLnN1YnNjcmliZSgoKSA9PiB7XHJcbiAgICAgICAgdGhpcy50b2FzdGVyU2VydmljZS5zdWNjZXNzKCdBYnBBY2NvdW50OjpQZXJzb25hbFNldHRpbmdzU2F2ZWQnLCAnU3VjY2VzcycsIHsgbGlmZTogNTAwMCB9KTtcclxuICAgICAgfSk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm5/lib/components/register/register.component.js b/npm/ng-packs/dist/account/esm5/lib/components/register/register.component.js deleted file mode 100644 index f752b302812..00000000000 --- a/npm/ng-packs/dist/account/esm5/lib/components/register/register.component.js +++ /dev/null @@ -1,169 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/register/register.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { ConfigState, GetAppConfiguration, SessionState } from '@abp/ng.core'; -import { ToasterService } from '@abp/ng.theme.shared'; -import { Component } from '@angular/core'; -import { FormBuilder, Validators } from '@angular/forms'; -import { Navigate } from '@ngxs/router-plugin'; -import { Store } from '@ngxs/store'; -import { OAuthService } from 'angular-oauth2-oidc'; -import { from, throwError } from 'rxjs'; -import { catchError, finalize, switchMap, take, tap } from 'rxjs/operators'; -import snq from 'snq'; -import { AccountService } from '../../services/account.service'; -import { validatePassword } from '@ngx-validate/core'; -import { HttpHeaders } from '@angular/common/http'; -var maxLength = Validators.maxLength, minLength = Validators.minLength, required = Validators.required, email = Validators.email; -var RegisterComponent = /** @class */ (function () { - function RegisterComponent(fb, accountService, oauthService, store, toasterService) { - this.fb = fb; - this.accountService = accountService; - this.oauthService = oauthService; - this.store = store; - this.toasterService = toasterService; - this.oauthService.configure(this.store.selectSnapshot(ConfigState.getOne('environment')).oAuthConfig); - this.oauthService.loadDiscoveryDocument(); - } - /** - * @return {?} - */ - RegisterComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - /** @type {?} */ - var passwordRules = this.store.selectSnapshot(ConfigState.getSettings('Identity.Password')); - /** @type {?} */ - var passwordRulesArr = (/** @type {?} */ ([])); - /** @type {?} */ - var requiredLength = 1; - if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('number'); - } - if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('small'); - } - if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('capital'); - } - if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) { - passwordRulesArr.push('special'); - } - if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) { - requiredLength = +passwordRules['Abp.Identity.Password.RequiredLength']; - } - this.form = this.fb.group({ - username: ['', [required, maxLength(255)]], - password: [ - '', - [required, validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(32)], - ], - email: ['', [required, email]], - }); - }; - /** - * @return {?} - */ - RegisterComponent.prototype.onSubmit = /** - * @return {?} - */ - function () { - var _this = this; - if (this.form.invalid) - return; - this.inProgress = true; - /** @type {?} */ - var newUser = (/** @type {?} */ ({ - userName: this.form.get('username').value, - password: this.form.get('password').value, - emailAddress: this.form.get('email').value, - appName: 'Angular', - })); - /** @type {?} */ - var tenant = this.store.selectSnapshot(SessionState.getTenant); - this.accountService - .register(newUser) - .pipe(switchMap((/** - * @return {?} - */ - function () { - return from(_this.oauthService.fetchTokenUsingPasswordFlow(newUser.userName, newUser.password, new HttpHeaders(tslib_1.__assign({}, (tenant && tenant.id && { __tenant: tenant.id }))))); - })), switchMap((/** - * @return {?} - */ - function () { return _this.store.dispatch(new GetAppConfiguration()); })), tap((/** - * @return {?} - */ - function () { return _this.store.dispatch(new Navigate(['/'])); })), take(1), catchError((/** - * @param {?} err - * @return {?} - */ - function (err) { - _this.toasterService.error(snq((/** - * @return {?} - */ - function () { return err.error.error_description; })) || - snq((/** - * @return {?} - */ - function () { return err.error.error.message; }), 'AbpAccount::DefaultErrorMessage'), 'Error', { life: 7000 }); - return throwError(err); - })), finalize((/** - * @return {?} - */ - function () { return (_this.inProgress = false); }))) - .subscribe(); - }; - RegisterComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-register', - template: "\r\n \r\n

{{ 'AbpAccount::Register' | abpLocalization }}

\r\n \r\n {{ 'AbpAccount::AlreadyRegistered' | abpLocalization }}\r\n {{ 'AbpAccount::Login' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ 'AbpAccount::Register' | abpLocalization }}\r\n \r\n \r\n
\r\n
\r\n" - }] } - ]; - /** @nocollapse */ - RegisterComponent.ctorParameters = function () { return [ - { type: FormBuilder }, - { type: AccountService }, - { type: OAuthService }, - { type: Store }, - { type: ToasterService } - ]; }; - return RegisterComponent; -}()); -export { RegisterComponent }; -if (false) { - /** @type {?} */ - RegisterComponent.prototype.form; - /** @type {?} */ - RegisterComponent.prototype.inProgress; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.fb; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.accountService; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.oauthService; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.store; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.toasterService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVnaXN0ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5hY2NvdW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvcmVnaXN0ZXIvcmVnaXN0ZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLE9BQU8sRUFBRSxXQUFXLEVBQUUsbUJBQW1CLEVBQU8sWUFBWSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ25GLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUN0RCxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ2xELE9BQU8sRUFBRSxXQUFXLEVBQWEsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDcEUsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLHFCQUF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xuICAgICAgICAgICAgICBuZXdVc2VyLnBhc3N3b3JkLFxyXG4gICAgICAgICAgICAgIG5ldyBIdHRwSGVhZGVycyh7XHJcbiAgICAgICAgICAgICAgICAuLi4odGVuYW50ICYmIHRlbmFudC5pZCAmJiB7IF9fdGVuYW50OiB0ZW5hbnQuaWQgfSksXHJcbiAgICAgICAgICAgICAgfSksXHJcbiAgICAgICAgICAgICksXHJcbiAgICAgICAgICApLFxyXG4gICAgICAgICksXHJcbiAgICAgICAgc3dpdGNoTWFwKCgpID0+IHRoaXMuc3RvcmUuZGlzcGF0Y2gobmV3IEdldEFwcENvbmZpZ3VyYXRpb24oKSkpLFxyXG4gICAgICAgIHRhcCgoKSA9PiB0aGlzLnN0b3JlLmRpc3BhdGNoKG5ldyBOYXZpZ2F0ZShbJy8nXSkpKSxcclxuICAgICAgICB0YWtlKDEpLFxyXG4gICAgICAgIGNhdGNoRXJyb3IoZXJyID0+IHtcclxuICAgICAgICAgIHRoaXMudG9hc3RlclNlcnZpY2UuZXJyb3IoXHJcbiAgICAgICAgICAgIHNucSgoKSA9PiBlcnIuZXJyb3IuZXJyb3JfZGVzY3JpcHRpb24pIHx8XHJcbiAgICAgICAgICAgICAgc25xKCgpID0+IGVyci5lcnJvci5lcnJvci5tZXNzYWdlLCAnQWJwQWNjb3VudDo6RGVmYXVsdEVycm9yTWVzc2FnZScpLFxyXG4gICAgICAgICAgICAnRXJyb3InLFxyXG4gICAgICAgICAgICB7IGxpZmU6IDcwMDAgfSxcclxuICAgICAgICAgICk7XHJcbiAgICAgICAgICByZXR1cm4gdGhyb3dFcnJvcihlcnIpO1xyXG4gICAgICAgIH0pLFxyXG4gICAgICAgIGZpbmFsaXplKCgpID0+ICh0aGlzLmluUHJvZ3Jlc3MgPSBmYWxzZSkpLFxyXG4gICAgICApXHJcbiAgICAgIC5zdWJzY3JpYmUoKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm5/lib/components/tenant-box/tenant-box.component.js b/npm/ng-packs/dist/account/esm5/lib/components/tenant-box/tenant-box.component.js deleted file mode 100644 index 2561bc6e448..00000000000 --- a/npm/ng-packs/dist/account/esm5/lib/components/tenant-box/tenant-box.component.js +++ /dev/null @@ -1,135 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/tenant-box/tenant-box.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { SetTenant, SessionState } from '@abp/ng.core'; -import { ToasterService } from '@abp/ng.theme.shared'; -import { Component } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { throwError } from 'rxjs'; -import { catchError, take, finalize } from 'rxjs/operators'; -import snq from 'snq'; -import { AccountService } from '../../services/account.service'; -var TenantBoxComponent = /** @class */ (function () { - function TenantBoxComponent(store, toasterService, accountService) { - this.store = store; - this.toasterService = toasterService; - this.accountService = accountService; - this.tenant = (/** @type {?} */ ({})); - } - /** - * @return {?} - */ - TenantBoxComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.tenant = this.store.selectSnapshot(SessionState.getTenant) || ((/** @type {?} */ ({}))); - this.tenantName = this.tenant.name || ''; - }; - /** - * @return {?} - */ - TenantBoxComponent.prototype.onSwitch = /** - * @return {?} - */ - function () { - this.isModalVisible = true; - }; - /** - * @return {?} - */ - TenantBoxComponent.prototype.save = /** - * @return {?} - */ - function () { - var _this = this; - if (this.tenant.name && !this.inProgress) { - this.inProgress = true; - this.accountService - .findTenant(this.tenant.name) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.inProgress = false); })), take(1), catchError((/** - * @param {?} err - * @return {?} - */ - function (err) { - _this.toasterService.error(snq((/** - * @return {?} - */ - function () { return err.error.error_description; }), 'AbpUi::DefaultErrorMessage'), 'AbpUi::Error'); - return throwError(err); - }))) - .subscribe((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var success = _a.success, tenantId = _a.tenantId; - if (success) { - _this.tenant = { - id: tenantId, - name: _this.tenant.name, - }; - _this.tenantName = _this.tenant.name; - _this.isModalVisible = false; - } - else { - _this.toasterService.error('AbpUiMultiTenancy::GivenTenantIsNotAvailable', 'AbpUi::Error', { - messageLocalizationParams: [_this.tenant.name], - }); - _this.tenant = (/** @type {?} */ ({})); - } - _this.store.dispatch(new SetTenant(success ? _this.tenant : null)); - })); - } - else { - this.store.dispatch(new SetTenant(null)); - this.tenantName = null; - this.isModalVisible = false; - } - }; - TenantBoxComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-tenant-box', - template: "
\r\n
\r\n
\r\n
\r\n {{\r\n 'AbpUiMultiTenancy::Tenant' | abpLocalization\r\n }}
\r\n
\r\n \r\n {{ tenantName || ('AbpUiMultiTenancy::NotSelected' | abpLocalization) }}\r\n \r\n
\r\n
\r\n
\r\n {{ 'AbpUiMultiTenancy::Switch' | abpLocalization }}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
Switch Tenant
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n

{{ 'AbpUiMultiTenancy::SwitchTenantHint' | abpLocalization }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {{ 'AbpTenantManagement::Save' | abpLocalization }}\r\n \r\n \r\n
\r\n" - }] } - ]; - /** @nocollapse */ - TenantBoxComponent.ctorParameters = function () { return [ - { type: Store }, - { type: ToasterService }, - { type: AccountService } - ]; }; - return TenantBoxComponent; -}()); -export { TenantBoxComponent }; -if (false) { - /** @type {?} */ - TenantBoxComponent.prototype.tenant; - /** @type {?} */ - TenantBoxComponent.prototype.tenantName; - /** @type {?} */ - TenantBoxComponent.prototype.isModalVisible; - /** @type {?} */ - TenantBoxComponent.prototype.inProgress; - /** - * @type {?} - * @private - */ - TenantBoxComponent.prototype.store; - /** - * @type {?} - * @private - */ - TenantBoxComponent.prototype.toasterService; - /** - * @type {?} - * @private - */ - TenantBoxComponent.prototype.accountService; -} -//# sourceMappingURL=data:application/json;base64,e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XJyb3IuZXJyb3JfZGVzY3JpcHRpb24sICdBYnBVaTo6RGVmYXVsdEVycm9yTWVzc2FnZScpLFxyXG4gICAgICAgICAgICAgICdBYnBVaTo6RXJyb3InLFxyXG4gICAgICAgICAgICApO1xyXG4gICAgICAgICAgICByZXR1cm4gdGhyb3dFcnJvcihlcnIpO1xyXG4gICAgICAgICAgfSksXHJcbiAgICAgICAgKVxyXG4gICAgICAgIC5zdWJzY3JpYmUoKHsgc3VjY2VzcywgdGVuYW50SWQgfSkgPT4ge1xyXG4gICAgICAgICAgaWYgKHN1Y2Nlc3MpIHtcclxuICAgICAgICAgICAgdGhpcy50ZW5hbnQgPSB7XHJcbiAgICAgICAgICAgICAgaWQ6IHRlbmFudElkLFxyXG4gICAgICAgICAgICAgIG5hbWU6IHRoaXMudGVuYW50Lm5hbWUsXHJcbiAgICAgICAgICAgIH07XHJcbiAgICAgICAgICAgIHRoaXMudGVuYW50TmFtZSA9IHRoaXMudGVuYW50Lm5hbWU7XHJcbiAgICAgICAgICAgIHRoaXMuaXNNb2RhbFZpc2libGUgPSBmYWxzZTtcclxuICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgIHRoaXMudG9hc3RlclNlcnZpY2UuZXJyb3IoJ0FicFVpTXVsdGlUZW5hbmN5OjpHaXZlblRlbmFudElzTm90QXZhaWxhYmxlJywgJ0FicFVpOjpFcnJvcicsIHtcclxuICAgICAgICAgICAgICBtZXNzYWdlTG9jYWxpemF0aW9uUGFyYW1zOiBbdGhpcy50ZW5hbnQubmFtZV0sXHJcbiAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICB0aGlzLnRlbmFudCA9IHt9IGFzIEFCUC5CYXNpY0l0ZW07XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgICB0aGlzLnN0b3JlLmRpc3BhdGNoKG5ldyBTZXRUZW5hbnQoc3VjY2VzcyA/IHRoaXMudGVuYW50IDogbnVsbCkpO1xyXG4gICAgICAgIH0pO1xyXG4gICAgfSBlbHNlIHtcclxuICAgICAgdGhpcy5zdG9yZS5kaXNwYXRjaChuZXcgU2V0VGVuYW50KG51bGwpKTtcclxuICAgICAgdGhpcy50ZW5hbnROYW1lID0gbnVsbDtcclxuICAgICAgdGhpcy5pc01vZGFsVmlzaWJsZSA9IGZhbHNlO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm5/lib/constants/routes.js b/npm/ng-packs/dist/account/esm5/lib/constants/routes.js deleted file mode 100644 index 5edbe538e17..00000000000 --- a/npm/ng-packs/dist/account/esm5/lib/constants/routes.js +++ /dev/null @@ -1,22 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/routes.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * - * @deprecated since version 0.9 - * @type {?} - */ -export var ACCOUNT_ROUTES = { - routes: (/** @type {?} */ ([ - { - name: 'Account', - path: 'account', - invisible: true, - layout: "application" /* application */, - children: [{ path: 'login', name: 'Login', order: 1 }, { path: 'register', name: 'Register', order: 2 }], - }, - ])), -}; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGVzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5hY2NvdW50LyIsInNvdXJjZXMiOlsibGliL2NvbnN0YW50cy9yb3V0ZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQU1BLE1BQU0sS0FBTyxjQUFjLEdBQUc7SUFDNUIsTUFBTSxFQUFFLG1CQUFBO1FBQ047WUFDRSxJQUFJLEVBQUUsU0FBUztZQUNmLElBQUksRUFBRSxTQUFTO1lBQ2YsU0FBUyxFQUFFLElBQUk7WUFDZixNQUFNLGlDQUF5QjtZQUMvQixRQUFRLEVBQUUsQ0FBQyxFQUFFLElBQUksRUFBRSxPQUFPLEVBQUUsSUFBSSxFQUFFLE9BQU8sRUFBRSxLQUFLLEVBQUUsQ0FBQyxFQUFFLEVBQUUsRUFBRSxJQUFJLEVBQUUsVUFBVSxFQUFFLElBQUksRUFBRSxVQUFVLEVBQUUsS0FBSyxFQUFFLENBQUMsRUFBRSxDQUFDO1NBQ3pHO0tBQ0YsRUFBbUI7Q0FDckIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBQlAsIGVMYXlvdXRUeXBlIH0gZnJvbSAnQGFicC9uZy5jb3JlJztcclxuXHJcbi8qKlxyXG4gKlxyXG4gKiBAZGVwcmVjYXRlZCBzaW5jZSB2ZXJzaW9uIDAuOVxyXG4gKi9cclxuZXhwb3J0IGNvbnN0IEFDQ09VTlRfUk9VVEVTID0ge1xyXG4gIHJvdXRlczogW1xyXG4gICAge1xyXG4gICAgICBuYW1lOiAnQWNjb3VudCcsXHJcbiAgICAgIHBhdGg6ICdhY2NvdW50JyxcclxuICAgICAgaW52aXNpYmxlOiB0cnVlLFxyXG4gICAgICBsYXlvdXQ6IGVMYXlvdXRUeXBlLmFwcGxpY2F0aW9uLFxyXG4gICAgICBjaGlsZHJlbjogW3sgcGF0aDogJ2xvZ2luJywgbmFtZTogJ0xvZ2luJywgb3JkZXI6IDEgfSwgeyBwYXRoOiAncmVnaXN0ZXInLCBuYW1lOiAnUmVnaXN0ZXInLCBvcmRlcjogMiB9XSxcclxuICAgIH0sXHJcbiAgXSBhcyBBQlAuRnVsbFJvdXRlW10sXHJcbn07XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm5/lib/models/index.js b/npm/ng-packs/dist/account/esm5/lib/models/index.js deleted file mode 100644 index b52ecc381e9..00000000000 --- a/npm/ng-packs/dist/account/esm5/lib/models/index.js +++ /dev/null @@ -1,9 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export {} from './options'; -export {} from './user'; -export {} from './tenant'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmFjY291bnQvIiwic291cmNlcyI6WyJsaWIvbW9kZWxzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsZUFBYyxXQUFXLENBQUM7QUFDMUIsZUFBYyxRQUFRLENBQUM7QUFDdkIsZUFBYyxVQUFVLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL29wdGlvbnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL3VzZXInO1xyXG5leHBvcnQgKiBmcm9tICcuL3RlbmFudCc7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm5/lib/models/options.js b/npm/ng-packs/dist/account/esm5/lib/models/options.js deleted file mode 100644 index b7a32c53c2c..00000000000 --- a/npm/ng-packs/dist/account/esm5/lib/models/options.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/options.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -export function Options() { } -if (false) { - /** @type {?|undefined} */ - Options.prototype.redirectUrl; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuYWNjb3VudC8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvb3B0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBLDZCQUVDOzs7SUFEQyw4QkFBcUIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIE9wdGlvbnMge1xyXG4gIHJlZGlyZWN0VXJsPzogc3RyaW5nO1xyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm5/lib/models/tenant.js b/npm/ng-packs/dist/account/esm5/lib/models/tenant.js deleted file mode 100644 index 09a18048e90..00000000000 --- a/npm/ng-packs/dist/account/esm5/lib/models/tenant.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/tenant.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -export function TenantIdResponse() { } -if (false) { - /** @type {?} */ - TenantIdResponse.prototype.success; - /** @type {?} */ - TenantIdResponse.prototype.tenantId; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5hY2NvdW50LyIsInNvdXJjZXMiOlsibGliL21vZGVscy90ZW5hbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQSxzQ0FHQzs7O0lBRkMsbUNBQWlCOztJQUNqQixvQ0FBaUIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIFRlbmFudElkUmVzcG9uc2Uge1xyXG4gIHN1Y2Nlc3M6IGJvb2xlYW47XHJcbiAgdGVuYW50SWQ6IHN0cmluZztcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm5/lib/models/user.js b/npm/ng-packs/dist/account/esm5/lib/models/user.js deleted file mode 100644 index 1dbcad25128..00000000000 --- a/npm/ng-packs/dist/account/esm5/lib/models/user.js +++ /dev/null @@ -1,66 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/user.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -export function RegisterRequest() { } -if (false) { - /** @type {?} */ - RegisterRequest.prototype.userName; - /** @type {?} */ - RegisterRequest.prototype.emailAddress; - /** @type {?} */ - RegisterRequest.prototype.password; - /** @type {?|undefined} */ - RegisterRequest.prototype.appName; -} -/** - * @record - */ -export function RegisterResponse() { } -if (false) { - /** @type {?} */ - RegisterResponse.prototype.tenantId; - /** @type {?} */ - RegisterResponse.prototype.userName; - /** @type {?} */ - RegisterResponse.prototype.name; - /** @type {?} */ - RegisterResponse.prototype.surname; - /** @type {?} */ - RegisterResponse.prototype.email; - /** @type {?} */ - RegisterResponse.prototype.emailConfirmed; - /** @type {?} */ - RegisterResponse.prototype.phoneNumber; - /** @type {?} */ - RegisterResponse.prototype.phoneNumberConfirmed; - /** @type {?} */ - RegisterResponse.prototype.twoFactorEnabled; - /** @type {?} */ - RegisterResponse.prototype.lockoutEnabled; - /** @type {?} */ - RegisterResponse.prototype.lockoutEnd; - /** @type {?} */ - RegisterResponse.prototype.concurrencyStamp; - /** @type {?} */ - RegisterResponse.prototype.isDeleted; - /** @type {?} */ - RegisterResponse.prototype.deleterId; - /** @type {?} */ - RegisterResponse.prototype.deletionTime; - /** @type {?} */ - RegisterResponse.prototype.lastModificationTime; - /** @type {?} */ - RegisterResponse.prototype.lastModifierId; - /** @type {?} */ - RegisterResponse.prototype.creationTime; - /** @type {?} */ - RegisterResponse.prototype.creatorId; - /** @type {?} */ - RegisterResponse.prototype.id; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuYWNjb3VudC8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvdXNlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBLHFDQUtDOzs7SUFKQyxtQ0FBaUI7O0lBQ2pCLHVDQUFxQjs7SUFDckIsbUNBQWlCOztJQUNqQixr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GFtcDogc3RyaW5nO1xyXG4gIGlzRGVsZXRlZDogYm9vbGVhbjtcclxuICBkZWxldGVySWQ6IHN0cmluZztcclxuICBkZWxldGlvblRpbWU6IHN0cmluZztcclxuICBsYXN0TW9kaWZpY2F0aW9uVGltZTogc3RyaW5nO1xyXG4gIGxhc3RNb2RpZmllcklkOiBzdHJpbmc7XHJcbiAgY3JlYXRpb25UaW1lOiBzdHJpbmc7XHJcbiAgY3JlYXRvcklkOiBzdHJpbmc7XHJcbiAgaWQ6IHN0cmluZztcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm5/lib/services/account.service.js b/npm/ng-packs/dist/account/esm5/lib/services/account.service.js deleted file mode 100644 index 4211380d477..00000000000 --- a/npm/ng-packs/dist/account/esm5/lib/services/account.service.js +++ /dev/null @@ -1,67 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/account.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { RestService } from '@abp/ng.core'; -import * as i0 from "@angular/core"; -import * as i1 from "@abp/ng.core"; -var AccountService = /** @class */ (function () { - function AccountService(rest) { - this.rest = rest; - } - /** - * @param {?} tenantName - * @return {?} - */ - AccountService.prototype.findTenant = /** - * @param {?} tenantName - * @return {?} - */ - function (tenantName) { - /** @type {?} */ - var request = { - method: 'GET', - url: "/api/abp/multi-tenancy/tenants/by-name/" + tenantName, - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - AccountService.prototype.register = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var request = { - method: 'POST', - url: '/api/account/register', - body: body, - }; - return this.rest.request(request, { skipHandleError: true }); - }; - AccountService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - AccountService.ctorParameters = function () { return [ - { type: RestService } - ]; }; - /** @nocollapse */ AccountService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function AccountService_Factory() { return new AccountService(i0.ɵɵinject(i1.RestService)); }, token: AccountService, providedIn: "root" }); - return AccountService; -}()); -export { AccountService }; -if (false) { - /** - * @type {?} - * @private - */ - AccountService.prototype.rest; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5hY2NvdW50LyIsInNvdXJjZXMiOlsibGliL3NlcnZpY2VzL2FjY291bnQuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFM0MsT0FBTyxFQUFFLFdBQVcsRUFBUSxNQUFNLGNBQWMsQ0FBQzs7O0FBR2pEO0lBSUUsd0JBQW9CLElBQWlCO1FBQWpCLFNBQUksR0FBSixJQUFJLENBQWE7SUFBRyxDQUFDOzs7OztJQUV6QyxtQ0FBVTs7OztJQUFWLFVBQVcsVUFBa0I7O1lBQ3JCLE9BQU8sR0FBdUI7WUFDbEMsTUFBTSxFQUFFLEtBQUs7WUFDYixHQUFHLEVBQUUsNENBQTBDLFVBQVk7U0FDNUQ7UUFFRCxPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUF5QixPQUFPLENBQUMsQ0FBQztJQUM1RCxDQUFDOzs7OztJQUVELGlDQUFROzs7O0lBQVIsVUFBUyxJQUFxQjs7WUFDdEIsT0FBTyxHQUFrQztZQUM3QyxNQUFNLEVBQUUsTUFBTTtZQUNkLEdBQUcsRUFBRSx1QkFBdUI7WUFDNUIsSUFBSSxNQUFBO1NBQ0w7UUFFRCxPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFvQyxPQUFPLEVBQUUsRUFBRSxlQUFlLEVBQUUsSUFBSSxFQUFFLENBQUMsQ0F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ByZWdpc3Rlcihib2R5OiBSZWdpc3RlclJlcXVlc3QpOiBPYnNlcnZhYmxlPFJlZ2lzdGVyUmVzcG9uc2U+IHtcclxuICAgIGNvbnN0IHJlcXVlc3Q6IFJlc3QuUmVxdWVzdDxSZWdpc3RlclJlcXVlc3Q+ID0ge1xyXG4gICAgICBtZXRob2Q6ICdQT1NUJyxcclxuICAgICAgdXJsOiAnL2FwaS9hY2NvdW50L3JlZ2lzdGVyJyxcclxuICAgICAgYm9keSxcclxuICAgIH07XHJcblxyXG4gICAgcmV0dXJuIHRoaXMucmVzdC5yZXF1ZXN0PFJlZ2lzdGVyUmVxdWVzdCwgUmVnaXN0ZXJSZXNwb25zZT4ocmVxdWVzdCwgeyBza2lwSGFuZGxlRXJyb3I6IHRydWUgfSk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm5/lib/tokens/index.js b/npm/ng-packs/dist/account/esm5/lib/tokens/index.js deleted file mode 100644 index 702adc25557..00000000000 --- a/npm/ng-packs/dist/account/esm5/lib/tokens/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/tokens/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { optionsFactory, ACCOUNT_OPTIONS } from './options.token'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmFjY291bnQvIiwic291cmNlcyI6WyJsaWIvdG9rZW5zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsZ0RBQWMsaUJBQWlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL29wdGlvbnMudG9rZW4nO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm5/lib/tokens/options.token.js b/npm/ng-packs/dist/account/esm5/lib/tokens/options.token.js deleted file mode 100644 index 4844a07d2f0..00000000000 --- a/npm/ng-packs/dist/account/esm5/lib/tokens/options.token.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/tokens/options.token.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { InjectionToken } from '@angular/core'; -/** - * @param {?} options - * @return {?} - */ -export function optionsFactory(options) { - return tslib_1.__assign({ redirectUrl: '/' }, options); -} -/** @type {?} */ -export var ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS'); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9ucy50b2tlbi5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuYWNjb3VudC8iLCJzb3VyY2VzIjpbImxpYi90b2tlbnMvb3B0aW9ucy50b2tlbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7OztBQUcvQyxNQUFNLFVBQVUsY0FBYyxDQUFDLE9BQWdCO0lBQzdDLDBCQUNFLFdBQVcsRUFBRSxHQUFHLElBQ2IsT0FBTyxFQUNWO0FBQ0osQ0FBQzs7QUFFRCxNQUFNLEtBQU8sZUFBZSxHQUFHLElBQUksY0FBYyxDQUFDLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0aW9uVG9rZW4gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgT3B0aW9ucyB9IGZyb20gJy4uL21vZGVscy9vcHRpb25zJztcclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBvcHRpb25zRmFjdG9yeShvcHRpb25zOiBPcHRpb25zKSB7XHJcbiAgcmV0dXJuIHtcclxuICAgIHJlZGlyZWN0VXJsOiAnLycsXHJcbiAgICAuLi5vcHRpb25zLFxyXG4gIH07XHJcbn1cclxuXHJcbmV4cG9ydCBjb25zdCBBQ0NPVU5UX09QVElPTlMgPSBuZXcgSW5qZWN0aW9uVG9rZW4oJ0FDQ09VTlRfT1BUSU9OUycpO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/account/esm5/public-api.js b/npm/ng-packs/dist/account/esm5/public-api.js deleted file mode 100644 index e4250d8f424..00000000000 --- a/npm/ng-packs/dist/account/esm5/public-api.js +++ /dev/null @@ -1,11 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { AccountProviders, AccountModule } from './lib/account.module'; -export { ChangePasswordComponent, LoginComponent, ManageProfileComponent, RegisterComponent, PersonalSettingsComponent } from './lib/components'; -export { ACCOUNT_ROUTES } from './lib/constants/routes'; -export { optionsFactory, ACCOUNT_OPTIONS } from './lib/tokens'; -export {} from './lib/models'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuYWNjb3VudC8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxnREFBYyxzQkFBc0IsQ0FBQztBQUNyQyw4SEFBYyxrQkFBa0IsQ0FBQztBQUNqQywrQkFBYyx3QkFBd0IsQ0FBQztBQUN2QyxnREFBYyxjQUFjLENBQUM7QUFDN0IsZUFBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9hY2NvdW50Lm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb25zdGFudHMvcm91dGVzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvdG9rZW5zJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvbW9kZWxzJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/account/fesm2015/abp-ng.account.js b/npm/ng-packs/dist/account/fesm2015/abp-ng.account.js deleted file mode 100644 index eba3dc00ddb..00000000000 --- a/npm/ng-packs/dist/account/fesm2015/abp-ng.account.js +++ /dev/null @@ -1,998 +0,0 @@ -import { ConfigState, SessionState, GetAppConfiguration, RestService, DynamicLayoutComponent, ChangePassword, GetProfile, UpdateProfile, ProfileState, SetTenant, CoreModule } from '@abp/ng.core'; -import { ToasterService, fadeIn, ThemeSharedModule } from '@abp/ng.theme.shared'; -import { Component, Optional, Inject, Injectable, ɵɵdefineInjectable, ɵɵinject, NgModule, InjectionToken, Input } from '@angular/core'; -import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; -import { validatePassword, comparePasswords, NgxValidateCoreModule } from '@ngx-validate/core'; -import { TableModule } from 'primeng/table'; -import { RouterModule } from '@angular/router'; -import { Validators, FormBuilder } from '@angular/forms'; -import { Navigate } from '@ngxs/router-plugin'; -import { Store, Select } from '@ngxs/store'; -import { OAuthService } from 'angular-oauth2-oidc'; -import { from, throwError, Observable } from 'rxjs'; -import { switchMap, tap, catchError, finalize, take, withLatestFrom } from 'rxjs/operators'; -import snq from 'snq'; -import { HttpHeaders } from '@angular/common/http'; -import { trigger, transition, useAnimation } from '@angular/animations'; -import { __decorate, __metadata } from 'tslib'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/login/login.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -const { maxLength, minLength, required } = Validators; -class LoginComponent { - /** - * @param {?} fb - * @param {?} oauthService - * @param {?} store - * @param {?} toasterService - * @param {?} options - */ - constructor(fb, oauthService, store, toasterService, options) { - this.fb = fb; - this.oauthService = oauthService; - this.store = store; - this.toasterService = toasterService; - this.options = options; - this.oauthService.configure(this.store.selectSnapshot(ConfigState.getOne('environment')).oAuthConfig); - this.oauthService.loadDiscoveryDocument(); - this.form = this.fb.group({ - username: ['', [required, maxLength(255)]], - password: ['', [required, maxLength(32)]], - remember: [false], - }); - } - /** - * @return {?} - */ - onSubmit() { - if (this.form.invalid) - return; - // this.oauthService.setStorage(this.form.value.remember ? localStorage : sessionStorage); - this.inProgress = true; - /** @type {?} */ - const tenant = this.store.selectSnapshot(SessionState.getTenant); - from(this.oauthService.fetchTokenUsingPasswordFlow(this.form.get('username').value, this.form.get('password').value, new HttpHeaders(Object.assign({}, (tenant && tenant.id && { __tenant: tenant.id }))))) - .pipe(switchMap((/** - * @return {?} - */ - () => this.store.dispatch(new GetAppConfiguration()))), tap((/** - * @return {?} - */ - () => { - /** @type {?} */ - const redirectUrl = snq((/** - * @return {?} - */ - () => window.history.state)).redirectUrl || (this.options || {}).redirectUrl || '/'; - this.store.dispatch(new Navigate([redirectUrl])); - })), catchError((/** - * @param {?} err - * @return {?} - */ - err => { - this.toasterService.error(snq((/** - * @return {?} - */ - () => err.error.error_description)) || - snq((/** - * @return {?} - */ - () => err.error.error.message), 'AbpAccount::DefaultErrorMessage'), 'Error', { life: 7000 }); - return throwError(err); - })), finalize((/** - * @return {?} - */ - () => (this.inProgress = false)))) - .subscribe(); - } -} -LoginComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-login', - template: "\r\n \r\n

{{ 'AbpAccount::Login' | abpLocalization }}

\r\n \r\n {{ 'AbpAccount::AreYouANewUser' | abpLocalization }}\r\n {{ 'AbpAccount::Register' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n {{ 'AbpAccount::Login' | abpLocalization }}\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n" - }] } -]; -/** @nocollapse */ -LoginComponent.ctorParameters = () => [ - { type: FormBuilder }, - { type: OAuthService }, - { type: Store }, - { type: ToasterService }, - { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: ['ACCOUNT_OPTIONS',] }] } -]; -if (false) { - /** @type {?} */ - LoginComponent.prototype.form; - /** @type {?} */ - LoginComponent.prototype.inProgress; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.fb; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.oauthService; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.store; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.toasterService; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.options; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/manage-profile/manage-profile.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class ManageProfileComponent { - constructor() { - this.selectedTab = 0; - } -} -ManageProfileComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-manage-profile', - template: "
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

\r\n {{ 'AbpIdentity::ChangePassword' | abpLocalization }}\r\n
\r\n

\r\n \r\n
\r\n
\r\n
\r\n
\r\n

\r\n {{ 'AbpIdentity::PersonalSettings' | abpLocalization }}\r\n
\r\n

\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n", - animations: [trigger('fadeIn', [transition(':enter', useAnimation(fadeIn))])] - }] } -]; -if (false) { - /** @type {?} */ - ManageProfileComponent.prototype.selectedTab; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/account.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class AccountService { - /** - * @param {?} rest - */ - constructor(rest) { - this.rest = rest; - } - /** - * @param {?} tenantName - * @return {?} - */ - findTenant(tenantName) { - /** @type {?} */ - const request = { - method: 'GET', - url: `/api/abp/multi-tenancy/tenants/by-name/${tenantName}`, - }; - return this.rest.request(request); - } - /** - * @param {?} body - * @return {?} - */ - register(body) { - /** @type {?} */ - const request = { - method: 'POST', - url: '/api/account/register', - body, - }; - return this.rest.request(request, { skipHandleError: true }); - } -} -AccountService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -AccountService.ctorParameters = () => [ - { type: RestService } -]; -/** @nocollapse */ AccountService.ngInjectableDef = ɵɵdefineInjectable({ factory: function AccountService_Factory() { return new AccountService(ɵɵinject(RestService)); }, token: AccountService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - AccountService.prototype.rest; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/register/register.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -const { maxLength: maxLength$1, minLength: minLength$1, required: required$1, email } = Validators; -class RegisterComponent { - /** - * @param {?} fb - * @param {?} accountService - * @param {?} oauthService - * @param {?} store - * @param {?} toasterService - */ - constructor(fb, accountService, oauthService, store, toasterService) { - this.fb = fb; - this.accountService = accountService; - this.oauthService = oauthService; - this.store = store; - this.toasterService = toasterService; - this.oauthService.configure(this.store.selectSnapshot(ConfigState.getOne('environment')).oAuthConfig); - this.oauthService.loadDiscoveryDocument(); - } - /** - * @return {?} - */ - ngOnInit() { - /** @type {?} */ - const passwordRules = this.store.selectSnapshot(ConfigState.getSettings('Identity.Password')); - /** @type {?} */ - const passwordRulesArr = (/** @type {?} */ ([])); - /** @type {?} */ - let requiredLength = 1; - if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('number'); - } - if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('small'); - } - if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('capital'); - } - if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) { - passwordRulesArr.push('special'); - } - if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) { - requiredLength = +passwordRules['Abp.Identity.Password.RequiredLength']; - } - this.form = this.fb.group({ - username: ['', [required$1, maxLength$1(255)]], - password: [ - '', - [required$1, validatePassword(passwordRulesArr), minLength$1(requiredLength), maxLength$1(32)], - ], - email: ['', [required$1, email]], - }); - } - /** - * @return {?} - */ - onSubmit() { - if (this.form.invalid) - return; - this.inProgress = true; - /** @type {?} */ - const newUser = (/** @type {?} */ ({ - userName: this.form.get('username').value, - password: this.form.get('password').value, - emailAddress: this.form.get('email').value, - appName: 'Angular', - })); - /** @type {?} */ - const tenant = this.store.selectSnapshot(SessionState.getTenant); - this.accountService - .register(newUser) - .pipe(switchMap((/** - * @return {?} - */ - () => from(this.oauthService.fetchTokenUsingPasswordFlow(newUser.userName, newUser.password, new HttpHeaders(Object.assign({}, (tenant && tenant.id && { __tenant: tenant.id }))))))), switchMap((/** - * @return {?} - */ - () => this.store.dispatch(new GetAppConfiguration()))), tap((/** - * @return {?} - */ - () => this.store.dispatch(new Navigate(['/'])))), take(1), catchError((/** - * @param {?} err - * @return {?} - */ - err => { - this.toasterService.error(snq((/** - * @return {?} - */ - () => err.error.error_description)) || - snq((/** - * @return {?} - */ - () => err.error.error.message), 'AbpAccount::DefaultErrorMessage'), 'Error', { life: 7000 }); - return throwError(err); - })), finalize((/** - * @return {?} - */ - () => (this.inProgress = false)))) - .subscribe(); - } -} -RegisterComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-register', - template: "\r\n \r\n

{{ 'AbpAccount::Register' | abpLocalization }}

\r\n \r\n {{ 'AbpAccount::AlreadyRegistered' | abpLocalization }}\r\n {{ 'AbpAccount::Login' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ 'AbpAccount::Register' | abpLocalization }}\r\n \r\n \r\n
\r\n
\r\n" - }] } -]; -/** @nocollapse */ -RegisterComponent.ctorParameters = () => [ - { type: FormBuilder }, - { type: AccountService }, - { type: OAuthService }, - { type: Store }, - { type: ToasterService } -]; -if (false) { - /** @type {?} */ - RegisterComponent.prototype.form; - /** @type {?} */ - RegisterComponent.prototype.inProgress; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.fb; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.accountService; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.oauthService; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.store; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.toasterService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/account-routing.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @type {?} */ -const routes = [ - { path: '', pathMatch: 'full', redirectTo: 'login' }, - { - path: '', - component: DynamicLayoutComponent, - children: [ - { path: 'login', component: LoginComponent }, - { path: 'register', component: RegisterComponent }, - { - path: 'manage-profile', - component: ManageProfileComponent, - }, - ], - }, -]; -class AccountRoutingModule { -} -AccountRoutingModule.decorators = [ - { type: NgModule, args: [{ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule], - },] } -]; - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/change-password/change-password.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -const { minLength: minLength$2, required: required$2, maxLength: maxLength$2 } = Validators; -/** @type {?} */ -const PASSWORD_FIELDS = ['newPassword', 'repeatNewPassword']; -class ChangePasswordComponent { - /** - * @param {?} fb - * @param {?} store - * @param {?} toasterService - */ - constructor(fb, store, toasterService) { - this.fb = fb; - this.store = store; - this.toasterService = toasterService; - this.mapErrorsFn = (/** - * @param {?} errors - * @param {?} groupErrors - * @param {?} control - * @return {?} - */ - (errors, groupErrors, control) => { - if (PASSWORD_FIELDS.indexOf(control.name) < 0) - return errors; - return errors.concat(groupErrors.filter((/** - * @param {?} __0 - * @return {?} - */ - ({ key }) => key === 'passwordMismatch'))); - }); - } - /** - * @return {?} - */ - ngOnInit() { - /** @type {?} */ - const passwordRules = this.store.selectSnapshot(ConfigState.getSettings('Identity.Password')); - /** @type {?} */ - const passwordRulesArr = (/** @type {?} */ ([])); - /** @type {?} */ - let requiredLength = 1; - if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('number'); - } - if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('small'); - } - if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('capital'); - } - if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) { - passwordRulesArr.push('special'); - } - if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) { - requiredLength = +passwordRules['Abp.Identity.Password.RequiredLength']; - } - this.form = this.fb.group({ - password: ['', required$2], - newPassword: [ - '', - { - validators: [required$2, validatePassword(passwordRulesArr), minLength$2(requiredLength), maxLength$2(32)], - }, - ], - repeatNewPassword: [ - '', - { validators: [required$2, validatePassword(passwordRulesArr), minLength$2(requiredLength), maxLength$2(32)] }, - ], - }, { - validators: [comparePasswords(PASSWORD_FIELDS)], - }); - } - /** - * @return {?} - */ - onSubmit() { - if (this.form.invalid) - return; - this.inProgress = true; - this.store - .dispatch(new ChangePassword({ - currentPassword: this.form.get('password').value, - newPassword: this.form.get('newPassword').value, - })) - .pipe(finalize((/** - * @return {?} - */ - () => (this.inProgress = false)))) - .subscribe({ - next: (/** - * @return {?} - */ - () => { - this.form.reset(); - this.toasterService.success('AbpAccount::PasswordChangedMessage', 'Success', { life: 5000 }); - }), - error: (/** - * @param {?} err - * @return {?} - */ - err => { - this.toasterService.error(snq((/** - * @return {?} - */ - () => err.error.error.message), 'AbpAccount::DefaultErrorMessage'), 'Error', { - life: 7000, - }); - }), - }); - } -} -ChangePasswordComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-change-password-form', - template: "
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ 'AbpIdentity::Save' | abpLocalization }}\r\n
\r\n" - }] } -]; -/** @nocollapse */ -ChangePasswordComponent.ctorParameters = () => [ - { type: FormBuilder }, - { type: Store }, - { type: ToasterService } -]; -if (false) { - /** @type {?} */ - ChangePasswordComponent.prototype.form; - /** @type {?} */ - ChangePasswordComponent.prototype.inProgress; - /** @type {?} */ - ChangePasswordComponent.prototype.mapErrorsFn; - /** - * @type {?} - * @private - */ - ChangePasswordComponent.prototype.fb; - /** - * @type {?} - * @private - */ - ChangePasswordComponent.prototype.store; - /** - * @type {?} - * @private - */ - ChangePasswordComponent.prototype.toasterService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/personal-settings/personal-settings.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -const { maxLength: maxLength$3, required: required$3, email: email$1 } = Validators; -class PersonalSettingsComponent { - /** - * @param {?} fb - * @param {?} store - * @param {?} toasterService - */ - constructor(fb, store, toasterService) { - this.fb = fb; - this.store = store; - this.toasterService = toasterService; - } - /** - * @return {?} - */ - ngOnInit() { - this.buildForm(); - } - /** - * @return {?} - */ - buildForm() { - this.store - .dispatch(new GetProfile()) - .pipe(withLatestFrom(this.profile$), take(1)) - .subscribe((/** - * @param {?} __0 - * @return {?} - */ - ([, profile]) => { - this.form = this.fb.group({ - userName: [profile.userName, [required$3, maxLength$3(256)]], - email: [profile.email, [required$3, email$1, maxLength$3(256)]], - name: [profile.name || '', [maxLength$3(64)]], - surname: [profile.surname || '', [maxLength$3(64)]], - phoneNumber: [profile.phoneNumber || '', [maxLength$3(16)]], - }); - })); - } - /** - * @return {?} - */ - submit() { - if (this.form.invalid) - return; - this.inProgress = true; - this.store - .dispatch(new UpdateProfile(this.form.value)) - .pipe(finalize((/** - * @return {?} - */ - () => (this.inProgress = false)))) - .subscribe((/** - * @return {?} - */ - () => { - this.toasterService.success('AbpAccount::PersonalSettingsSaved', 'Success', { life: 5000 }); - })); - } -} -PersonalSettingsComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-personal-settings-form', - template: "
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ 'AbpIdentity::Save' | abpLocalization }}\r\n
\r\n" - }] } -]; -/** @nocollapse */ -PersonalSettingsComponent.ctorParameters = () => [ - { type: FormBuilder }, - { type: Store }, - { type: ToasterService } -]; -__decorate([ - Select(ProfileState.getProfile), - __metadata("design:type", Observable) -], PersonalSettingsComponent.prototype, "profile$", void 0); -if (false) { - /** @type {?} */ - PersonalSettingsComponent.prototype.profile$; - /** @type {?} */ - PersonalSettingsComponent.prototype.form; - /** @type {?} */ - PersonalSettingsComponent.prototype.inProgress; - /** - * @type {?} - * @private - */ - PersonalSettingsComponent.prototype.fb; - /** - * @type {?} - * @private - */ - PersonalSettingsComponent.prototype.store; - /** - * @type {?} - * @private - */ - PersonalSettingsComponent.prototype.toasterService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/tenant-box/tenant-box.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class TenantBoxComponent { - /** - * @param {?} store - * @param {?} toasterService - * @param {?} accountService - */ - constructor(store, toasterService, accountService) { - this.store = store; - this.toasterService = toasterService; - this.accountService = accountService; - this.tenant = (/** @type {?} */ ({})); - } - /** - * @return {?} - */ - ngOnInit() { - this.tenant = this.store.selectSnapshot(SessionState.getTenant) || ((/** @type {?} */ ({}))); - this.tenantName = this.tenant.name || ''; - } - /** - * @return {?} - */ - onSwitch() { - this.isModalVisible = true; - } - /** - * @return {?} - */ - save() { - if (this.tenant.name && !this.inProgress) { - this.inProgress = true; - this.accountService - .findTenant(this.tenant.name) - .pipe(finalize((/** - * @return {?} - */ - () => (this.inProgress = false))), take(1), catchError((/** - * @param {?} err - * @return {?} - */ - err => { - this.toasterService.error(snq((/** - * @return {?} - */ - () => err.error.error_description), 'AbpUi::DefaultErrorMessage'), 'AbpUi::Error'); - return throwError(err); - }))) - .subscribe((/** - * @param {?} __0 - * @return {?} - */ - ({ success, tenantId }) => { - if (success) { - this.tenant = { - id: tenantId, - name: this.tenant.name, - }; - this.tenantName = this.tenant.name; - this.isModalVisible = false; - } - else { - this.toasterService.error('AbpUiMultiTenancy::GivenTenantIsNotAvailable', 'AbpUi::Error', { - messageLocalizationParams: [this.tenant.name], - }); - this.tenant = (/** @type {?} */ ({})); - } - this.store.dispatch(new SetTenant(success ? this.tenant : null)); - })); - } - else { - this.store.dispatch(new SetTenant(null)); - this.tenantName = null; - this.isModalVisible = false; - } - } -} -TenantBoxComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-tenant-box', - template: "
\r\n
\r\n
\r\n
\r\n {{\r\n 'AbpUiMultiTenancy::Tenant' | abpLocalization\r\n }}
\r\n
\r\n \r\n {{ tenantName || ('AbpUiMultiTenancy::NotSelected' | abpLocalization) }}\r\n \r\n
\r\n
\r\n
\r\n {{ 'AbpUiMultiTenancy::Switch' | abpLocalization }}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
Switch Tenant
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n

{{ 'AbpUiMultiTenancy::SwitchTenantHint' | abpLocalization }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {{ 'AbpTenantManagement::Save' | abpLocalization }}\r\n \r\n \r\n
\r\n" - }] } -]; -/** @nocollapse */ -TenantBoxComponent.ctorParameters = () => [ - { type: Store }, - { type: ToasterService }, - { type: AccountService } -]; -if (false) { - /** @type {?} */ - TenantBoxComponent.prototype.tenant; - /** @type {?} */ - TenantBoxComponent.prototype.tenantName; - /** @type {?} */ - TenantBoxComponent.prototype.isModalVisible; - /** @type {?} */ - TenantBoxComponent.prototype.inProgress; - /** - * @type {?} - * @private - */ - TenantBoxComponent.prototype.store; - /** - * @type {?} - * @private - */ - TenantBoxComponent.prototype.toasterService; - /** - * @type {?} - * @private - */ - TenantBoxComponent.prototype.accountService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/tokens/options.token.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?} options - * @return {?} - */ -function optionsFactory(options) { - return Object.assign({ redirectUrl: '/' }, options); -} -/** @type {?} */ -const ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS'); - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/auth-wrapper/auth-wrapper.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class AuthWrapperComponent { -} -AuthWrapperComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-auth-wrapper', - template: "
\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n" - }] } -]; -AuthWrapperComponent.propDecorators = { - mainContentRef: [{ type: Input }], - cancelContentRef: [{ type: Input }] -}; -if (false) { - /** @type {?} */ - AuthWrapperComponent.prototype.mainContentRef; - /** @type {?} */ - AuthWrapperComponent.prototype.cancelContentRef; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/account.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class AccountModule { -} -AccountModule.decorators = [ - { type: NgModule, args: [{ - declarations: [ - AuthWrapperComponent, - LoginComponent, - RegisterComponent, - TenantBoxComponent, - ChangePasswordComponent, - ManageProfileComponent, - PersonalSettingsComponent, - ], - imports: [CoreModule, AccountRoutingModule, ThemeSharedModule, TableModule, NgbDropdownModule, NgxValidateCoreModule], - exports: [], - },] } -]; -/** - * - * @deprecated since version 0.9 - * @param {?=} options - * @return {?} - */ -function AccountProviders(options = (/** @type {?} */ ({}))) { - return [ - { provide: ACCOUNT_OPTIONS, useValue: options }, - { - provide: 'ACCOUNT_OPTIONS', - useFactory: optionsFactory, - deps: [ACCOUNT_OPTIONS], - }, - ]; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/routes.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * - * @deprecated since version 0.9 - * @type {?} - */ -const ACCOUNT_ROUTES = { - routes: (/** @type {?} */ ([ - { - name: 'Account', - path: 'account', - invisible: true, - layout: "application" /* application */, - children: [{ path: 'login', name: 'Login', order: 1 }, { path: 'register', name: 'Register', order: 2 }], - }, - ])), -}; - -/** - * @fileoverview added by tsickle - * Generated from: lib/tokens/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/options.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -function Options() { } -if (false) { - /** @type {?|undefined} */ - Options.prototype.redirectUrl; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/user.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -function RegisterRequest() { } -if (false) { - /** @type {?} */ - RegisterRequest.prototype.userName; - /** @type {?} */ - RegisterRequest.prototype.emailAddress; - /** @type {?} */ - RegisterRequest.prototype.password; - /** @type {?|undefined} */ - RegisterRequest.prototype.appName; -} -/** - * @record - */ -function RegisterResponse() { } -if (false) { - /** @type {?} */ - RegisterResponse.prototype.tenantId; - /** @type {?} */ - RegisterResponse.prototype.userName; - /** @type {?} */ - RegisterResponse.prototype.name; - /** @type {?} */ - RegisterResponse.prototype.surname; - /** @type {?} */ - RegisterResponse.prototype.email; - /** @type {?} */ - RegisterResponse.prototype.emailConfirmed; - /** @type {?} */ - RegisterResponse.prototype.phoneNumber; - /** @type {?} */ - RegisterResponse.prototype.phoneNumberConfirmed; - /** @type {?} */ - RegisterResponse.prototype.twoFactorEnabled; - /** @type {?} */ - RegisterResponse.prototype.lockoutEnabled; - /** @type {?} */ - RegisterResponse.prototype.lockoutEnd; - /** @type {?} */ - RegisterResponse.prototype.concurrencyStamp; - /** @type {?} */ - RegisterResponse.prototype.isDeleted; - /** @type {?} */ - RegisterResponse.prototype.deleterId; - /** @type {?} */ - RegisterResponse.prototype.deletionTime; - /** @type {?} */ - RegisterResponse.prototype.lastModificationTime; - /** @type {?} */ - RegisterResponse.prototype.lastModifierId; - /** @type {?} */ - RegisterResponse.prototype.creationTime; - /** @type {?} */ - RegisterResponse.prototype.creatorId; - /** @type {?} */ - RegisterResponse.prototype.id; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/tenant.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -function TenantIdResponse() { } -if (false) { - /** @type {?} */ - TenantIdResponse.prototype.success; - /** @type {?} */ - TenantIdResponse.prototype.tenantId; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.account.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { ACCOUNT_OPTIONS, ACCOUNT_ROUTES, AccountModule, AccountProviders, ChangePasswordComponent, LoginComponent, ManageProfileComponent, PersonalSettingsComponent, RegisterComponent, optionsFactory, AuthWrapperComponent as ɵa, LoginComponent as ɵb, RegisterComponent as ɵd, AccountService as ɵe, TenantBoxComponent as ɵf, ChangePasswordComponent as ɵg, ManageProfileComponent as ɵh, PersonalSettingsComponent as ɵi, AccountRoutingModule as ɵj, optionsFactory as ɵk, ACCOUNT_OPTIONS as ɵl }; -//# sourceMappingURL=abp-ng.account.js.map diff --git a/npm/ng-packs/dist/account/fesm2015/abp-ng.account.js.map b/npm/ng-packs/dist/account/fesm2015/abp-ng.account.js.map deleted file mode 100644 index d0ccd412213..00000000000 --- a/npm/ng-packs/dist/account/fesm2015/abp-ng.account.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.account.js","sources":["ng://@abp/ng.account/lib/components/login/login.component.ts","ng://@abp/ng.account/lib/components/manage-profile/manage-profile.component.ts","ng://@abp/ng.account/lib/services/account.service.ts","ng://@abp/ng.account/lib/components/register/register.component.ts","ng://@abp/ng.account/lib/account-routing.module.ts","ng://@abp/ng.account/lib/components/change-password/change-password.component.ts","ng://@abp/ng.account/lib/components/personal-settings/personal-settings.component.ts","ng://@abp/ng.account/lib/components/tenant-box/tenant-box.component.ts","ng://@abp/ng.account/lib/tokens/options.token.ts","ng://@abp/ng.account/lib/components/auth-wrapper/auth-wrapper.component.ts","ng://@abp/ng.account/lib/account.module.ts","ng://@abp/ng.account/lib/constants/routes.ts","ng://@abp/ng.account/lib/models/options.ts","ng://@abp/ng.account/lib/models/user.ts","ng://@abp/ng.account/lib/models/tenant.ts"],"sourcesContent":["import { GetAppConfiguration, ConfigState, SessionState } from '@abp/ng.core';\r\nimport { Component, Inject, Optional } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Navigate } from '@ngxs/router-plugin';\r\nimport { Store } from '@ngxs/store';\r\nimport { OAuthService } from 'angular-oauth2-oidc';\r\nimport { from, throwError } from 'rxjs';\r\nimport { Options } from '../../models/options';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { catchError, finalize, switchMap, tap } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport { HttpHeaders } from '@angular/common/http';\r\n\r\nconst { maxLength, minLength, required } = Validators;\r\n\r\n@Component({\r\n selector: 'abp-login',\r\n templateUrl: './login.component.html',\r\n})\r\nexport class LoginComponent {\r\n form: FormGroup;\r\n\r\n inProgress: boolean;\r\n\r\n constructor(\r\n private fb: FormBuilder,\r\n private oauthService: OAuthService,\r\n private store: Store,\r\n private toasterService: ToasterService,\r\n @Optional() @Inject('ACCOUNT_OPTIONS') private options: Options,\r\n ) {\r\n this.oauthService.configure(this.store.selectSnapshot(ConfigState.getOne('environment')).oAuthConfig);\r\n this.oauthService.loadDiscoveryDocument();\r\n\r\n this.form = this.fb.group({\r\n username: ['', [required, maxLength(255)]],\r\n password: ['', [required, maxLength(32)]],\r\n remember: [false],\r\n });\r\n }\r\n\r\n onSubmit() {\r\n if (this.form.invalid) return;\r\n // this.oauthService.setStorage(this.form.value.remember ? localStorage : sessionStorage);\r\n\r\n this.inProgress = true;\r\n const tenant = this.store.selectSnapshot(SessionState.getTenant);\r\n from(\r\n this.oauthService.fetchTokenUsingPasswordFlow(\r\n this.form.get('username').value,\r\n this.form.get('password').value,\r\n new HttpHeaders({ ...(tenant && tenant.id && { __tenant: tenant.id }) }),\r\n ),\r\n )\r\n .pipe(\r\n switchMap(() => this.store.dispatch(new GetAppConfiguration())),\r\n tap(() => {\r\n const redirectUrl = snq(() => window.history.state).redirectUrl || (this.options || {}).redirectUrl || '/';\r\n this.store.dispatch(new Navigate([redirectUrl]));\r\n }),\r\n catchError(err => {\r\n this.toasterService.error(\r\n snq(() => err.error.error_description) ||\r\n snq(() => err.error.error.message, 'AbpAccount::DefaultErrorMessage'),\r\n 'Error',\r\n { life: 7000 },\r\n );\r\n return throwError(err);\r\n }),\r\n finalize(() => (this.inProgress = false)),\r\n )\r\n .subscribe();\r\n }\r\n}\r\n","import { fadeIn } from '@abp/ng.theme.shared';\r\nimport { transition, trigger, useAnimation } from '@angular/animations';\r\nimport { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-manage-profile',\r\n templateUrl: './manage-profile.component.html',\r\n animations: [trigger('fadeIn', [transition(':enter', useAnimation(fadeIn))])],\r\n})\r\nexport class ManageProfileComponent {\r\n selectedTab = 0;\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport { RegisterResponse, RegisterRequest, TenantIdResponse } from '../models';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AccountService {\r\n constructor(private rest: RestService) {}\r\n\r\n findTenant(tenantName: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: `/api/abp/multi-tenancy/tenants/by-name/${tenantName}`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n register(body: RegisterRequest): Observable {\r\n const request: Rest.Request = {\r\n method: 'POST',\r\n url: '/api/account/register',\r\n body,\r\n };\r\n\r\n return this.rest.request(request, { skipHandleError: true });\r\n }\r\n}\r\n","import { ConfigState, GetAppConfiguration, ABP, SessionState } from '@abp/ng.core';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Navigate } from '@ngxs/router-plugin';\r\nimport { Store } from '@ngxs/store';\r\nimport { OAuthService } from 'angular-oauth2-oidc';\r\nimport { from, throwError } from 'rxjs';\r\nimport { catchError, finalize, switchMap, take, tap } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport { RegisterRequest } from '../../models';\r\nimport { AccountService } from '../../services/account.service';\r\nimport { PasswordRules, validatePassword } from '@ngx-validate/core';\r\nimport { HttpHeaders } from '@angular/common/http';\r\nconst { maxLength, minLength, required, email } = Validators;\r\n\r\n@Component({\r\n selector: 'abp-register',\r\n templateUrl: './register.component.html',\r\n})\r\nexport class RegisterComponent implements OnInit {\r\n form: FormGroup;\r\n\r\n inProgress: boolean;\r\n\r\n constructor(\r\n private fb: FormBuilder,\r\n private accountService: AccountService,\r\n private oauthService: OAuthService,\r\n private store: Store,\r\n private toasterService: ToasterService,\r\n ) {\r\n this.oauthService.configure(\r\n this.store.selectSnapshot(ConfigState.getOne('environment')).oAuthConfig,\r\n );\r\n this.oauthService.loadDiscoveryDocument();\r\n }\r\n\r\n ngOnInit() {\r\n const passwordRules: ABP.Dictionary = this.store.selectSnapshot(\r\n ConfigState.getSettings('Identity.Password'),\r\n );\r\n const passwordRulesArr = [] as PasswordRules;\r\n let requiredLength = 1;\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('number');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('small');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('capital');\r\n }\r\n\r\n if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) {\r\n passwordRulesArr.push('special');\r\n }\r\n\r\n if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) {\r\n requiredLength = +passwordRules['Abp.Identity.Password.RequiredLength'];\r\n }\r\n\r\n this.form = this.fb.group({\r\n username: ['', [required, maxLength(255)]],\r\n password: [\r\n '',\r\n [required, validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(32)],\r\n ],\r\n email: ['', [required, email]],\r\n });\r\n }\r\n\r\n onSubmit() {\r\n if (this.form.invalid) return;\r\n\r\n this.inProgress = true;\r\n\r\n const newUser = {\r\n userName: this.form.get('username').value,\r\n password: this.form.get('password').value,\r\n emailAddress: this.form.get('email').value,\r\n appName: 'Angular',\r\n } as RegisterRequest;\r\n\r\n const tenant = this.store.selectSnapshot(SessionState.getTenant);\r\n\r\n this.accountService\r\n .register(newUser)\r\n .pipe(\r\n switchMap(() =>\r\n from(\r\n this.oauthService.fetchTokenUsingPasswordFlow(\r\n newUser.userName,\r\n newUser.password,\r\n new HttpHeaders({\r\n ...(tenant && tenant.id && { __tenant: tenant.id }),\r\n }),\r\n ),\r\n ),\r\n ),\r\n switchMap(() => this.store.dispatch(new GetAppConfiguration())),\r\n tap(() => this.store.dispatch(new Navigate(['/']))),\r\n take(1),\r\n catchError(err => {\r\n this.toasterService.error(\r\n snq(() => err.error.error_description) ||\r\n snq(() => err.error.error.message, 'AbpAccount::DefaultErrorMessage'),\r\n 'Error',\r\n { life: 7000 },\r\n );\r\n return throwError(err);\r\n }),\r\n finalize(() => (this.inProgress = false)),\r\n )\r\n .subscribe();\r\n }\r\n}\r\n","import { DynamicLayoutComponent } from '@abp/ng.core';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { LoginComponent } from './components/login/login.component';\r\nimport { ManageProfileComponent } from './components/manage-profile/manage-profile.component';\r\nimport { RegisterComponent } from './components/register/register.component';\r\n\r\nconst routes: Routes = [\r\n { path: '', pathMatch: 'full', redirectTo: 'login' },\r\n {\r\n path: '',\r\n component: DynamicLayoutComponent,\r\n children: [\r\n { path: 'login', component: LoginComponent },\r\n { path: 'register', component: RegisterComponent },\r\n {\r\n path: 'manage-profile',\r\n component: ManageProfileComponent,\r\n },\r\n ],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class AccountRoutingModule {}\r\n","import { ChangePassword, ConfigState, ABP } from '@abp/ng.core';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { comparePasswords, Validation, PasswordRules, validatePassword } from '@ngx-validate/core';\r\nimport { Store } from '@ngxs/store';\r\nimport snq from 'snq';\r\nimport { finalize } from 'rxjs/operators';\r\n\r\nconst { minLength, required, maxLength } = Validators;\r\n\r\nconst PASSWORD_FIELDS = ['newPassword', 'repeatNewPassword'];\r\n\r\n@Component({\r\n selector: 'abp-change-password-form',\r\n templateUrl: './change-password.component.html',\r\n})\r\nexport class ChangePasswordComponent implements OnInit {\r\n form: FormGroup;\r\n\r\n inProgress: boolean;\r\n\r\n mapErrorsFn: Validation.MapErrorsFn = (errors, groupErrors, control) => {\r\n if (PASSWORD_FIELDS.indexOf(control.name) < 0) return errors;\r\n\r\n return errors.concat(groupErrors.filter(({ key }) => key === 'passwordMismatch'));\r\n };\r\n\r\n constructor(private fb: FormBuilder, private store: Store, private toasterService: ToasterService) {}\r\n\r\n ngOnInit(): void {\r\n const passwordRules: ABP.Dictionary = this.store.selectSnapshot(\r\n ConfigState.getSettings('Identity.Password'),\r\n );\r\n const passwordRulesArr = [] as PasswordRules;\r\n let requiredLength = 1;\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('number');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('small');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('capital');\r\n }\r\n\r\n if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) {\r\n passwordRulesArr.push('special');\r\n }\r\n\r\n if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) {\r\n requiredLength = +passwordRules['Abp.Identity.Password.RequiredLength'];\r\n }\r\n\r\n this.form = this.fb.group(\r\n {\r\n password: ['', required],\r\n newPassword: [\r\n '',\r\n {\r\n validators: [required, validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(32)],\r\n },\r\n ],\r\n repeatNewPassword: [\r\n '',\r\n { validators: [required, validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(32)] },\r\n ],\r\n },\r\n {\r\n validators: [comparePasswords(PASSWORD_FIELDS)],\r\n },\r\n );\r\n }\r\n\r\n onSubmit() {\r\n if (this.form.invalid) return;\r\n this.inProgress = true;\r\n this.store\r\n .dispatch(\r\n new ChangePassword({\r\n currentPassword: this.form.get('password').value,\r\n newPassword: this.form.get('newPassword').value,\r\n }),\r\n )\r\n .pipe(finalize(() => (this.inProgress = false)))\r\n .subscribe({\r\n next: () => {\r\n this.form.reset();\r\n this.toasterService.success('AbpAccount::PasswordChangedMessage', 'Success', { life: 5000 });\r\n },\r\n error: err => {\r\n this.toasterService.error(snq(() => err.error.error.message, 'AbpAccount::DefaultErrorMessage'), 'Error', {\r\n life: 7000,\r\n });\r\n },\r\n });\r\n }\r\n}\r\n","import { GetProfile, Profile, ProfileState, UpdateProfile } from '@abp/ng.core';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { take, withLatestFrom, finalize } from 'rxjs/operators';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\n\r\nconst { maxLength, required, email } = Validators;\r\n\r\n@Component({\r\n selector: 'abp-personal-settings-form',\r\n templateUrl: './personal-settings.component.html',\r\n})\r\nexport class PersonalSettingsComponent implements OnInit {\r\n @Select(ProfileState.getProfile)\r\n profile$: Observable;\r\n\r\n form: FormGroup;\r\n\r\n inProgress: boolean;\r\n\r\n constructor(private fb: FormBuilder, private store: Store, private toasterService: ToasterService) {}\r\n\r\n ngOnInit() {\r\n this.buildForm();\r\n }\r\n\r\n buildForm() {\r\n this.store\r\n .dispatch(new GetProfile())\r\n .pipe(\r\n withLatestFrom(this.profile$),\r\n take(1),\r\n )\r\n .subscribe(([, profile]) => {\r\n this.form = this.fb.group({\r\n userName: [profile.userName, [required, maxLength(256)]],\r\n email: [profile.email, [required, email, maxLength(256)]],\r\n name: [profile.name || '', [maxLength(64)]],\r\n surname: [profile.surname || '', [maxLength(64)]],\r\n phoneNumber: [profile.phoneNumber || '', [maxLength(16)]],\r\n });\r\n });\r\n }\r\n\r\n submit() {\r\n if (this.form.invalid) return;\r\n this.inProgress = true;\r\n this.store\r\n .dispatch(new UpdateProfile(this.form.value))\r\n .pipe(finalize(() => (this.inProgress = false)))\r\n .subscribe(() => {\r\n this.toasterService.success('AbpAccount::PersonalSettingsSaved', 'Success', { life: 5000 });\r\n });\r\n }\r\n}\r\n","import { ABP, SetTenant, SessionState } from '@abp/ng.core';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { throwError } from 'rxjs';\r\nimport { catchError, take, finalize } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport { AccountService } from '../../services/account.service';\r\n\r\n@Component({\r\n selector: 'abp-tenant-box',\r\n templateUrl: './tenant-box.component.html',\r\n})\r\nexport class TenantBoxComponent implements OnInit {\r\n tenant = {} as ABP.BasicItem;\r\n\r\n tenantName: string;\r\n\r\n isModalVisible: boolean;\r\n\r\n inProgress: boolean;\r\n\r\n constructor(private store: Store, private toasterService: ToasterService, private accountService: AccountService) {}\r\n\r\n ngOnInit() {\r\n this.tenant = this.store.selectSnapshot(SessionState.getTenant) || ({} as ABP.BasicItem);\r\n this.tenantName = this.tenant.name || '';\r\n }\r\n\r\n onSwitch() {\r\n this.isModalVisible = true;\r\n }\r\n\r\n save() {\r\n if (this.tenant.name && !this.inProgress) {\r\n this.inProgress = true;\r\n this.accountService\r\n .findTenant(this.tenant.name)\r\n .pipe(\r\n finalize(() => (this.inProgress = false)),\r\n take(1),\r\n catchError(err => {\r\n this.toasterService.error(\r\n snq(() => err.error.error_description, 'AbpUi::DefaultErrorMessage'),\r\n 'AbpUi::Error',\r\n );\r\n return throwError(err);\r\n }),\r\n )\r\n .subscribe(({ success, tenantId }) => {\r\n if (success) {\r\n this.tenant = {\r\n id: tenantId,\r\n name: this.tenant.name,\r\n };\r\n this.tenantName = this.tenant.name;\r\n this.isModalVisible = false;\r\n } else {\r\n this.toasterService.error('AbpUiMultiTenancy::GivenTenantIsNotAvailable', 'AbpUi::Error', {\r\n messageLocalizationParams: [this.tenant.name],\r\n });\r\n this.tenant = {} as ABP.BasicItem;\r\n }\r\n this.store.dispatch(new SetTenant(success ? this.tenant : null));\r\n });\r\n } else {\r\n this.store.dispatch(new SetTenant(null));\r\n this.tenantName = null;\r\n this.isModalVisible = false;\r\n }\r\n }\r\n}\r\n","import { InjectionToken } from '@angular/core';\r\nimport { Options } from '../models/options';\r\n\r\nexport function optionsFactory(options: Options) {\r\n return {\r\n redirectUrl: '/',\r\n ...options,\r\n };\r\n}\r\n\r\nexport const ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS');\r\n","import { Component, Input, TemplateRef } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-auth-wrapper',\r\n templateUrl: './auth-wrapper.component.html',\r\n})\r\nexport class AuthWrapperComponent {\r\n @Input()\r\n mainContentRef: TemplateRef;\r\n\r\n @Input()\r\n cancelContentRef: TemplateRef;\r\n}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule, Provider } from '@angular/core';\r\nimport { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\nimport { TableModule } from 'primeng/table';\r\nimport { AccountRoutingModule } from './account-routing.module';\r\nimport { ChangePasswordComponent } from './components/change-password/change-password.component';\r\nimport { LoginComponent } from './components/login/login.component';\r\nimport { ManageProfileComponent } from './components/manage-profile/manage-profile.component';\r\nimport { PersonalSettingsComponent } from './components/personal-settings/personal-settings.component';\r\nimport { RegisterComponent } from './components/register/register.component';\r\nimport { TenantBoxComponent } from './components/tenant-box/tenant-box.component';\r\nimport { Options } from './models/options';\r\nimport { ACCOUNT_OPTIONS, optionsFactory } from './tokens/options.token';\r\nimport { AuthWrapperComponent } from './components/auth-wrapper/auth-wrapper.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n AuthWrapperComponent,\r\n LoginComponent,\r\n RegisterComponent,\r\n TenantBoxComponent,\r\n ChangePasswordComponent,\r\n ManageProfileComponent,\r\n PersonalSettingsComponent,\r\n ],\r\n imports: [CoreModule, AccountRoutingModule, ThemeSharedModule, TableModule, NgbDropdownModule, NgxValidateCoreModule],\r\n exports: [],\r\n})\r\nexport class AccountModule {}\r\n\r\n/**\r\n *\r\n * @deprecated since version 0.9\r\n */\r\nexport function AccountProviders(options = {} as Options): Provider[] {\r\n return [\r\n { provide: ACCOUNT_OPTIONS, useValue: options },\r\n {\r\n provide: 'ACCOUNT_OPTIONS',\r\n useFactory: optionsFactory,\r\n deps: [ACCOUNT_OPTIONS],\r\n },\r\n ];\r\n}\r\n","import { ABP, eLayoutType } from '@abp/ng.core';\r\n\r\n/**\r\n *\r\n * @deprecated since version 0.9\r\n */\r\nexport const ACCOUNT_ROUTES = {\r\n routes: [\r\n {\r\n name: 'Account',\r\n path: 'account',\r\n invisible: true,\r\n layout: eLayoutType.application,\r\n children: [{ path: 'login', name: 'Login', order: 1 }, { path: 'register', name: 'Register', order: 2 }],\r\n },\r\n ] as ABP.FullRoute[],\r\n};\r\n","export interface Options {\r\n redirectUrl?: string;\r\n}\r\n","export interface RegisterRequest {\r\n userName: string;\r\n emailAddress: string;\r\n password: string;\r\n appName?: string;\r\n}\r\n\r\nexport interface RegisterResponse {\r\n tenantId: string;\r\n userName: string;\r\n name: string;\r\n surname: string;\r\n email: string;\r\n emailConfirmed: boolean;\r\n phoneNumber: string;\r\n phoneNumberConfirmed: boolean;\r\n twoFactorEnabled: boolean;\r\n lockoutEnabled: boolean;\r\n lockoutEnd: string;\r\n concurrencyStamp: string;\r\n isDeleted: boolean;\r\n deleterId: string;\r\n deletionTime: string;\r\n lastModificationTime: string;\r\n lastModifierId: string;\r\n creationTime: string;\r\n creatorId: string;\r\n id: string;\r\n}\r\n","export interface TenantIdResponse {\r\n success: boolean;\r\n tenantId: string;\r\n}\r\n"],"names":["maxLength","minLength","required","email","tslib_1.__decorate"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,MAaM,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,UAAU;AAMrD,MAAa,cAAc;;;;;;;;IAKzB,YACU,EAAe,EACf,YAA0B,EAC1B,KAAY,EACZ,cAA8B,EACS,OAAgB;QAJvD,OAAE,GAAF,EAAE,CAAa;QACf,iBAAY,GAAZ,YAAY,CAAc;QAC1B,UAAK,GAAL,KAAK,CAAO;QACZ,mBAAc,GAAd,cAAc,CAAgB;QACS,YAAO,GAAP,OAAO,CAAS;QAE/D,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC;QACtG,IAAI,CAAC,YAAY,CAAC,qBAAqB,EAAE,CAAC;QAE1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC;YACxB,QAAQ,EAAE,CAAC,EAAE,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;YAC1C,QAAQ,EAAE,CAAC,EAAE,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC,EAAE,CAAC,CAAC,CAAC;YACzC,QAAQ,EAAE,CAAC,KAAK,CAAC;SAClB,CAAC,CAAC;KACJ;;;;IAED,QAAQ;QACN,IAAI,IAAI,CAA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cAAc;YAC1B,IAAI,EAAE,CAAC,eAAe,CAAC;SACxB;KACF,CAAC;CACH;;;;;;;;;;;;;;;;;;ACvCD,MAAa,cAAc,GAAG;IAC5B,MAAM,qBAAE;QACN;YACE,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,SAAS;YACf,SAAS,EAAE,IAAI;YACf,MAAM;YACN,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;SACzG;KACF,EAAmB;CACrB;;;;;;;;;;;;;;;;AChBD,sBAEC;;;IADC,8BAAqB;;;;;;;;;;;ACDvB,8BAKC;;;IAJC,mCAAiB;;IACjB,uCAAqB;;IACrB,mCAAiB;;IACjB,kCAAiB;;;;;AAGnB,+BAqBC;;;IApBC,oCAAiB;;IACjB,oCAAiB;;IACjB,gCAAa;;IACb,mCAAgB;;IAChB,iCAAc;;IACd,0CAAwB;;IACxB,uCAAoB;;IACpB,gDAA8B;;IAC9B,4CAA0B;;IAC1B,0CAAwB;;IACxB,sCAAmB;;IACnB,4CAAyB;;IACzB,qCAAmB;;IACnB,qCAAkB;;IAClB,wCAAqB;;IACrB,gDAA6B;;IAC7B,0CAAuB;;IACvB,wCAAqB;;IACrB,qCAAkB;;IAClB,8BAAW;;;;;;;;;;;AC3Bb,+BAGC;;;IAFC,mCAAiB;;IACjB,oCAAiB;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/account/fesm5/abp-ng.account.js b/npm/ng-packs/dist/account/fesm5/abp-ng.account.js deleted file mode 100644 index bd66105ae00..00000000000 --- a/npm/ng-packs/dist/account/fesm5/abp-ng.account.js +++ /dev/null @@ -1,1037 +0,0 @@ -import { ConfigState, SessionState, GetAppConfiguration, RestService, DynamicLayoutComponent, ChangePassword, GetProfile, UpdateProfile, ProfileState, SetTenant, CoreModule } from '@abp/ng.core'; -import { ToasterService, fadeIn, ThemeSharedModule } from '@abp/ng.theme.shared'; -import { Component, Optional, Inject, Injectable, ɵɵdefineInjectable, ɵɵinject, NgModule, InjectionToken, Input } from '@angular/core'; -import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; -import { validatePassword, comparePasswords, NgxValidateCoreModule } from '@ngx-validate/core'; -import { TableModule } from 'primeng/table'; -import { RouterModule } from '@angular/router'; -import { __assign, __read, __decorate, __metadata } from 'tslib'; -import { Validators, FormBuilder } from '@angular/forms'; -import { Navigate } from '@ngxs/router-plugin'; -import { Store, Select } from '@ngxs/store'; -import { OAuthService } from 'angular-oauth2-oidc'; -import { from, throwError, Observable } from 'rxjs'; -import { switchMap, tap, catchError, finalize, take, withLatestFrom } from 'rxjs/operators'; -import snq from 'snq'; -import { HttpHeaders } from '@angular/common/http'; -import { trigger, transition, useAnimation } from '@angular/animations'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/login/login.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var maxLength = Validators.maxLength, minLength = Validators.minLength, required = Validators.required; -var LoginComponent = /** @class */ (function () { - function LoginComponent(fb, oauthService, store, toasterService, options) { - this.fb = fb; - this.oauthService = oauthService; - this.store = store; - this.toasterService = toasterService; - this.options = options; - this.oauthService.configure(this.store.selectSnapshot(ConfigState.getOne('environment')).oAuthConfig); - this.oauthService.loadDiscoveryDocument(); - this.form = this.fb.group({ - username: ['', [required, maxLength(255)]], - password: ['', [required, maxLength(32)]], - remember: [false], - }); - } - /** - * @return {?} - */ - LoginComponent.prototype.onSubmit = /** - * @return {?} - */ - function () { - var _this = this; - if (this.form.invalid) - return; - // this.oauthService.setStorage(this.form.value.remember ? localStorage : sessionStorage); - this.inProgress = true; - /** @type {?} */ - var tenant = this.store.selectSnapshot(SessionState.getTenant); - from(this.oauthService.fetchTokenUsingPasswordFlow(this.form.get('username').value, this.form.get('password').value, new HttpHeaders(__assign({}, (tenant && tenant.id && { __tenant: tenant.id }))))) - .pipe(switchMap((/** - * @return {?} - */ - function () { return _this.store.dispatch(new GetAppConfiguration()); })), tap((/** - * @return {?} - */ - function () { - /** @type {?} */ - var redirectUrl = snq((/** - * @return {?} - */ - function () { return window.history.state; })).redirectUrl || (_this.options || {}).redirectUrl || '/'; - _this.store.dispatch(new Navigate([redirectUrl])); - })), catchError((/** - * @param {?} err - * @return {?} - */ - function (err) { - _this.toasterService.error(snq((/** - * @return {?} - */ - function () { return err.error.error_description; })) || - snq((/** - * @return {?} - */ - function () { return err.error.error.message; }), 'AbpAccount::DefaultErrorMessage'), 'Error', { life: 7000 }); - return throwError(err); - })), finalize((/** - * @return {?} - */ - function () { return (_this.inProgress = false); }))) - .subscribe(); - }; - LoginComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-login', - template: "\r\n \r\n

{{ 'AbpAccount::Login' | abpLocalization }}

\r\n \r\n {{ 'AbpAccount::AreYouANewUser' | abpLocalization }}\r\n {{ 'AbpAccount::Register' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n {{ 'AbpAccount::Login' | abpLocalization }}\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n" - }] } - ]; - /** @nocollapse */ - LoginComponent.ctorParameters = function () { return [ - { type: FormBuilder }, - { type: OAuthService }, - { type: Store }, - { type: ToasterService }, - { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: ['ACCOUNT_OPTIONS',] }] } - ]; }; - return LoginComponent; -}()); -if (false) { - /** @type {?} */ - LoginComponent.prototype.form; - /** @type {?} */ - LoginComponent.prototype.inProgress; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.fb; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.oauthService; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.store; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.toasterService; - /** - * @type {?} - * @private - */ - LoginComponent.prototype.options; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/manage-profile/manage-profile.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ManageProfileComponent = /** @class */ (function () { - function ManageProfileComponent() { - this.selectedTab = 0; - } - ManageProfileComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-manage-profile', - template: "
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

\r\n {{ 'AbpIdentity::ChangePassword' | abpLocalization }}\r\n
\r\n

\r\n \r\n
\r\n
\r\n
\r\n
\r\n

\r\n {{ 'AbpIdentity::PersonalSettings' | abpLocalization }}\r\n
\r\n

\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n", - animations: [trigger('fadeIn', [transition(':enter', useAnimation(fadeIn))])] - }] } - ]; - return ManageProfileComponent; -}()); -if (false) { - /** @type {?} */ - ManageProfileComponent.prototype.selectedTab; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/account.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var AccountService = /** @class */ (function () { - function AccountService(rest) { - this.rest = rest; - } - /** - * @param {?} tenantName - * @return {?} - */ - AccountService.prototype.findTenant = /** - * @param {?} tenantName - * @return {?} - */ - function (tenantName) { - /** @type {?} */ - var request = { - method: 'GET', - url: "/api/abp/multi-tenancy/tenants/by-name/" + tenantName, - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - AccountService.prototype.register = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var request = { - method: 'POST', - url: '/api/account/register', - body: body, - }; - return this.rest.request(request, { skipHandleError: true }); - }; - AccountService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - AccountService.ctorParameters = function () { return [ - { type: RestService } - ]; }; - /** @nocollapse */ AccountService.ngInjectableDef = ɵɵdefineInjectable({ factory: function AccountService_Factory() { return new AccountService(ɵɵinject(RestService)); }, token: AccountService, providedIn: "root" }); - return AccountService; -}()); -if (false) { - /** - * @type {?} - * @private - */ - AccountService.prototype.rest; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/register/register.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var maxLength$1 = Validators.maxLength, minLength$1 = Validators.minLength, required$1 = Validators.required, email = Validators.email; -var RegisterComponent = /** @class */ (function () { - function RegisterComponent(fb, accountService, oauthService, store, toasterService) { - this.fb = fb; - this.accountService = accountService; - this.oauthService = oauthService; - this.store = store; - this.toasterService = toasterService; - this.oauthService.configure(this.store.selectSnapshot(ConfigState.getOne('environment')).oAuthConfig); - this.oauthService.loadDiscoveryDocument(); - } - /** - * @return {?} - */ - RegisterComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - /** @type {?} */ - var passwordRules = this.store.selectSnapshot(ConfigState.getSettings('Identity.Password')); - /** @type {?} */ - var passwordRulesArr = (/** @type {?} */ ([])); - /** @type {?} */ - var requiredLength = 1; - if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('number'); - } - if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('small'); - } - if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('capital'); - } - if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) { - passwordRulesArr.push('special'); - } - if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) { - requiredLength = +passwordRules['Abp.Identity.Password.RequiredLength']; - } - this.form = this.fb.group({ - username: ['', [required$1, maxLength$1(255)]], - password: [ - '', - [required$1, validatePassword(passwordRulesArr), minLength$1(requiredLength), maxLength$1(32)], - ], - email: ['', [required$1, email]], - }); - }; - /** - * @return {?} - */ - RegisterComponent.prototype.onSubmit = /** - * @return {?} - */ - function () { - var _this = this; - if (this.form.invalid) - return; - this.inProgress = true; - /** @type {?} */ - var newUser = (/** @type {?} */ ({ - userName: this.form.get('username').value, - password: this.form.get('password').value, - emailAddress: this.form.get('email').value, - appName: 'Angular', - })); - /** @type {?} */ - var tenant = this.store.selectSnapshot(SessionState.getTenant); - this.accountService - .register(newUser) - .pipe(switchMap((/** - * @return {?} - */ - function () { - return from(_this.oauthService.fetchTokenUsingPasswordFlow(newUser.userName, newUser.password, new HttpHeaders(__assign({}, (tenant && tenant.id && { __tenant: tenant.id }))))); - })), switchMap((/** - * @return {?} - */ - function () { return _this.store.dispatch(new GetAppConfiguration()); })), tap((/** - * @return {?} - */ - function () { return _this.store.dispatch(new Navigate(['/'])); })), take(1), catchError((/** - * @param {?} err - * @return {?} - */ - function (err) { - _this.toasterService.error(snq((/** - * @return {?} - */ - function () { return err.error.error_description; })) || - snq((/** - * @return {?} - */ - function () { return err.error.error.message; }), 'AbpAccount::DefaultErrorMessage'), 'Error', { life: 7000 }); - return throwError(err); - })), finalize((/** - * @return {?} - */ - function () { return (_this.inProgress = false); }))) - .subscribe(); - }; - RegisterComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-register', - template: "\r\n \r\n

{{ 'AbpAccount::Register' | abpLocalization }}

\r\n \r\n {{ 'AbpAccount::AlreadyRegistered' | abpLocalization }}\r\n {{ 'AbpAccount::Login' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ 'AbpAccount::Register' | abpLocalization }}\r\n \r\n \r\n
\r\n
\r\n" - }] } - ]; - /** @nocollapse */ - RegisterComponent.ctorParameters = function () { return [ - { type: FormBuilder }, - { type: AccountService }, - { type: OAuthService }, - { type: Store }, - { type: ToasterService } - ]; }; - return RegisterComponent; -}()); -if (false) { - /** @type {?} */ - RegisterComponent.prototype.form; - /** @type {?} */ - RegisterComponent.prototype.inProgress; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.fb; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.accountService; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.oauthService; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.store; - /** - * @type {?} - * @private - */ - RegisterComponent.prototype.toasterService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/account-routing.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @type {?} */ -var routes = [ - { path: '', pathMatch: 'full', redirectTo: 'login' }, - { - path: '', - component: DynamicLayoutComponent, - children: [ - { path: 'login', component: LoginComponent }, - { path: 'register', component: RegisterComponent }, - { - path: 'manage-profile', - component: ManageProfileComponent, - }, - ], - }, -]; -var AccountRoutingModule = /** @class */ (function () { - function AccountRoutingModule() { - } - AccountRoutingModule.decorators = [ - { type: NgModule, args: [{ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule], - },] } - ]; - return AccountRoutingModule; -}()); - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/change-password/change-password.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var minLength$2 = Validators.minLength, required$2 = Validators.required, maxLength$2 = Validators.maxLength; -/** @type {?} */ -var PASSWORD_FIELDS = ['newPassword', 'repeatNewPassword']; -var ChangePasswordComponent = /** @class */ (function () { - function ChangePasswordComponent(fb, store, toasterService) { - this.fb = fb; - this.store = store; - this.toasterService = toasterService; - this.mapErrorsFn = (/** - * @param {?} errors - * @param {?} groupErrors - * @param {?} control - * @return {?} - */ - function (errors, groupErrors, control) { - if (PASSWORD_FIELDS.indexOf(control.name) < 0) - return errors; - return errors.concat(groupErrors.filter((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var key = _a.key; - return key === 'passwordMismatch'; - }))); - }); - } - /** - * @return {?} - */ - ChangePasswordComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - /** @type {?} */ - var passwordRules = this.store.selectSnapshot(ConfigState.getSettings('Identity.Password')); - /** @type {?} */ - var passwordRulesArr = (/** @type {?} */ ([])); - /** @type {?} */ - var requiredLength = 1; - if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('number'); - } - if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('small'); - } - if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') { - passwordRulesArr.push('capital'); - } - if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) { - passwordRulesArr.push('special'); - } - if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) { - requiredLength = +passwordRules['Abp.Identity.Password.RequiredLength']; - } - this.form = this.fb.group({ - password: ['', required$2], - newPassword: [ - '', - { - validators: [required$2, validatePassword(passwordRulesArr), minLength$2(requiredLength), maxLength$2(32)], - }, - ], - repeatNewPassword: [ - '', - { validators: [required$2, validatePassword(passwordRulesArr), minLength$2(requiredLength), maxLength$2(32)] }, - ], - }, { - validators: [comparePasswords(PASSWORD_FIELDS)], - }); - }; - /** - * @return {?} - */ - ChangePasswordComponent.prototype.onSubmit = /** - * @return {?} - */ - function () { - var _this = this; - if (this.form.invalid) - return; - this.inProgress = true; - this.store - .dispatch(new ChangePassword({ - currentPassword: this.form.get('password').value, - newPassword: this.form.get('newPassword').value, - })) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.inProgress = false); }))) - .subscribe({ - next: (/** - * @return {?} - */ - function () { - _this.form.reset(); - _this.toasterService.success('AbpAccount::PasswordChangedMessage', 'Success', { life: 5000 }); - }), - error: (/** - * @param {?} err - * @return {?} - */ - function (err) { - _this.toasterService.error(snq((/** - * @return {?} - */ - function () { return err.error.error.message; }), 'AbpAccount::DefaultErrorMessage'), 'Error', { - life: 7000, - }); - }), - }); - }; - ChangePasswordComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-change-password-form', - template: "
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ 'AbpIdentity::Save' | abpLocalization }}\r\n
\r\n" - }] } - ]; - /** @nocollapse */ - ChangePasswordComponent.ctorParameters = function () { return [ - { type: FormBuilder }, - { type: Store }, - { type: ToasterService } - ]; }; - return ChangePasswordComponent; -}()); -if (false) { - /** @type {?} */ - ChangePasswordComponent.prototype.form; - /** @type {?} */ - ChangePasswordComponent.prototype.inProgress; - /** @type {?} */ - ChangePasswordComponent.prototype.mapErrorsFn; - /** - * @type {?} - * @private - */ - ChangePasswordComponent.prototype.fb; - /** - * @type {?} - * @private - */ - ChangePasswordComponent.prototype.store; - /** - * @type {?} - * @private - */ - ChangePasswordComponent.prototype.toasterService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/personal-settings/personal-settings.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var maxLength$3 = Validators.maxLength, required$3 = Validators.required, email$1 = Validators.email; -var PersonalSettingsComponent = /** @class */ (function () { - function PersonalSettingsComponent(fb, store, toasterService) { - this.fb = fb; - this.store = store; - this.toasterService = toasterService; - } - /** - * @return {?} - */ - PersonalSettingsComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.buildForm(); - }; - /** - * @return {?} - */ - PersonalSettingsComponent.prototype.buildForm = /** - * @return {?} - */ - function () { - var _this = this; - this.store - .dispatch(new GetProfile()) - .pipe(withLatestFrom(this.profile$), take(1)) - .subscribe((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var _b = __read(_a, 2), profile = _b[1]; - _this.form = _this.fb.group({ - userName: [profile.userName, [required$3, maxLength$3(256)]], - email: [profile.email, [required$3, email$1, maxLength$3(256)]], - name: [profile.name || '', [maxLength$3(64)]], - surname: [profile.surname || '', [maxLength$3(64)]], - phoneNumber: [profile.phoneNumber || '', [maxLength$3(16)]], - }); - })); - }; - /** - * @return {?} - */ - PersonalSettingsComponent.prototype.submit = /** - * @return {?} - */ - function () { - var _this = this; - if (this.form.invalid) - return; - this.inProgress = true; - this.store - .dispatch(new UpdateProfile(this.form.value)) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.inProgress = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.toasterService.success('AbpAccount::PersonalSettingsSaved', 'Success', { life: 5000 }); - })); - }; - PersonalSettingsComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-personal-settings-form', - template: "
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ 'AbpIdentity::Save' | abpLocalization }}\r\n
\r\n" - }] } - ]; - /** @nocollapse */ - PersonalSettingsComponent.ctorParameters = function () { return [ - { type: FormBuilder }, - { type: Store }, - { type: ToasterService } - ]; }; - __decorate([ - Select(ProfileState.getProfile), - __metadata("design:type", Observable) - ], PersonalSettingsComponent.prototype, "profile$", void 0); - return PersonalSettingsComponent; -}()); -if (false) { - /** @type {?} */ - PersonalSettingsComponent.prototype.profile$; - /** @type {?} */ - PersonalSettingsComponent.prototype.form; - /** @type {?} */ - PersonalSettingsComponent.prototype.inProgress; - /** - * @type {?} - * @private - */ - PersonalSettingsComponent.prototype.fb; - /** - * @type {?} - * @private - */ - PersonalSettingsComponent.prototype.store; - /** - * @type {?} - * @private - */ - PersonalSettingsComponent.prototype.toasterService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/tenant-box/tenant-box.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var TenantBoxComponent = /** @class */ (function () { - function TenantBoxComponent(store, toasterService, accountService) { - this.store = store; - this.toasterService = toasterService; - this.accountService = accountService; - this.tenant = (/** @type {?} */ ({})); - } - /** - * @return {?} - */ - TenantBoxComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.tenant = this.store.selectSnapshot(SessionState.getTenant) || ((/** @type {?} */ ({}))); - this.tenantName = this.tenant.name || ''; - }; - /** - * @return {?} - */ - TenantBoxComponent.prototype.onSwitch = /** - * @return {?} - */ - function () { - this.isModalVisible = true; - }; - /** - * @return {?} - */ - TenantBoxComponent.prototype.save = /** - * @return {?} - */ - function () { - var _this = this; - if (this.tenant.name && !this.inProgress) { - this.inProgress = true; - this.accountService - .findTenant(this.tenant.name) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.inProgress = false); })), take(1), catchError((/** - * @param {?} err - * @return {?} - */ - function (err) { - _this.toasterService.error(snq((/** - * @return {?} - */ - function () { return err.error.error_description; }), 'AbpUi::DefaultErrorMessage'), 'AbpUi::Error'); - return throwError(err); - }))) - .subscribe((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var success = _a.success, tenantId = _a.tenantId; - if (success) { - _this.tenant = { - id: tenantId, - name: _this.tenant.name, - }; - _this.tenantName = _this.tenant.name; - _this.isModalVisible = false; - } - else { - _this.toasterService.error('AbpUiMultiTenancy::GivenTenantIsNotAvailable', 'AbpUi::Error', { - messageLocalizationParams: [_this.tenant.name], - }); - _this.tenant = (/** @type {?} */ ({})); - } - _this.store.dispatch(new SetTenant(success ? _this.tenant : null)); - })); - } - else { - this.store.dispatch(new SetTenant(null)); - this.tenantName = null; - this.isModalVisible = false; - } - }; - TenantBoxComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-tenant-box', - template: "
\r\n
\r\n
\r\n
\r\n {{\r\n 'AbpUiMultiTenancy::Tenant' | abpLocalization\r\n }}
\r\n
\r\n \r\n {{ tenantName || ('AbpUiMultiTenancy::NotSelected' | abpLocalization) }}\r\n \r\n
\r\n
\r\n
\r\n {{ 'AbpUiMultiTenancy::Switch' | abpLocalization }}\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
Switch Tenant
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n

{{ 'AbpUiMultiTenancy::SwitchTenantHint' | abpLocalization }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {{ 'AbpTenantManagement::Save' | abpLocalization }}\r\n \r\n \r\n
\r\n" - }] } - ]; - /** @nocollapse */ - TenantBoxComponent.ctorParameters = function () { return [ - { type: Store }, - { type: ToasterService }, - { type: AccountService } - ]; }; - return TenantBoxComponent; -}()); -if (false) { - /** @type {?} */ - TenantBoxComponent.prototype.tenant; - /** @type {?} */ - TenantBoxComponent.prototype.tenantName; - /** @type {?} */ - TenantBoxComponent.prototype.isModalVisible; - /** @type {?} */ - TenantBoxComponent.prototype.inProgress; - /** - * @type {?} - * @private - */ - TenantBoxComponent.prototype.store; - /** - * @type {?} - * @private - */ - TenantBoxComponent.prototype.toasterService; - /** - * @type {?} - * @private - */ - TenantBoxComponent.prototype.accountService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/tokens/options.token.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?} options - * @return {?} - */ -function optionsFactory(options) { - return __assign({ redirectUrl: '/' }, options); -} -/** @type {?} */ -var ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS'); - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/auth-wrapper/auth-wrapper.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var AuthWrapperComponent = /** @class */ (function () { - function AuthWrapperComponent() { - } - AuthWrapperComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-auth-wrapper', - template: "
\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n" - }] } - ]; - AuthWrapperComponent.propDecorators = { - mainContentRef: [{ type: Input }], - cancelContentRef: [{ type: Input }] - }; - return AuthWrapperComponent; -}()); -if (false) { - /** @type {?} */ - AuthWrapperComponent.prototype.mainContentRef; - /** @type {?} */ - AuthWrapperComponent.prototype.cancelContentRef; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/account.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var AccountModule = /** @class */ (function () { - function AccountModule() { - } - AccountModule.decorators = [ - { type: NgModule, args: [{ - declarations: [ - AuthWrapperComponent, - LoginComponent, - RegisterComponent, - TenantBoxComponent, - ChangePasswordComponent, - ManageProfileComponent, - PersonalSettingsComponent, - ], - imports: [CoreModule, AccountRoutingModule, ThemeSharedModule, TableModule, NgbDropdownModule, NgxValidateCoreModule], - exports: [], - },] } - ]; - return AccountModule; -}()); -/** - * - * @deprecated since version 0.9 - * @param {?=} options - * @return {?} - */ -function AccountProviders(options) { - if (options === void 0) { options = (/** @type {?} */ ({})); } - return [ - { provide: ACCOUNT_OPTIONS, useValue: options }, - { - provide: 'ACCOUNT_OPTIONS', - useFactory: optionsFactory, - deps: [ACCOUNT_OPTIONS], - }, - ]; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/routes.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * - * @deprecated since version 0.9 - * @type {?} - */ -var ACCOUNT_ROUTES = { - routes: (/** @type {?} */ ([ - { - name: 'Account', - path: 'account', - invisible: true, - layout: "application" /* application */, - children: [{ path: 'login', name: 'Login', order: 1 }, { path: 'register', name: 'Register', order: 2 }], - }, - ])), -}; - -/** - * @fileoverview added by tsickle - * Generated from: lib/tokens/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/options.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -function Options() { } -if (false) { - /** @type {?|undefined} */ - Options.prototype.redirectUrl; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/user.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -function RegisterRequest() { } -if (false) { - /** @type {?} */ - RegisterRequest.prototype.userName; - /** @type {?} */ - RegisterRequest.prototype.emailAddress; - /** @type {?} */ - RegisterRequest.prototype.password; - /** @type {?|undefined} */ - RegisterRequest.prototype.appName; -} -/** - * @record - */ -function RegisterResponse() { } -if (false) { - /** @type {?} */ - RegisterResponse.prototype.tenantId; - /** @type {?} */ - RegisterResponse.prototype.userName; - /** @type {?} */ - RegisterResponse.prototype.name; - /** @type {?} */ - RegisterResponse.prototype.surname; - /** @type {?} */ - RegisterResponse.prototype.email; - /** @type {?} */ - RegisterResponse.prototype.emailConfirmed; - /** @type {?} */ - RegisterResponse.prototype.phoneNumber; - /** @type {?} */ - RegisterResponse.prototype.phoneNumberConfirmed; - /** @type {?} */ - RegisterResponse.prototype.twoFactorEnabled; - /** @type {?} */ - RegisterResponse.prototype.lockoutEnabled; - /** @type {?} */ - RegisterResponse.prototype.lockoutEnd; - /** @type {?} */ - RegisterResponse.prototype.concurrencyStamp; - /** @type {?} */ - RegisterResponse.prototype.isDeleted; - /** @type {?} */ - RegisterResponse.prototype.deleterId; - /** @type {?} */ - RegisterResponse.prototype.deletionTime; - /** @type {?} */ - RegisterResponse.prototype.lastModificationTime; - /** @type {?} */ - RegisterResponse.prototype.lastModifierId; - /** @type {?} */ - RegisterResponse.prototype.creationTime; - /** @type {?} */ - RegisterResponse.prototype.creatorId; - /** @type {?} */ - RegisterResponse.prototype.id; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/tenant.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -function TenantIdResponse() { } -if (false) { - /** @type {?} */ - TenantIdResponse.prototype.success; - /** @type {?} */ - TenantIdResponse.prototype.tenantId; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.account.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { ACCOUNT_OPTIONS, ACCOUNT_ROUTES, AccountModule, AccountProviders, ChangePasswordComponent, LoginComponent, ManageProfileComponent, PersonalSettingsComponent, RegisterComponent, optionsFactory, AuthWrapperComponent as ɵa, LoginComponent as ɵb, RegisterComponent as ɵd, AccountService as ɵe, TenantBoxComponent as ɵf, ChangePasswordComponent as ɵg, ManageProfileComponent as ɵh, PersonalSettingsComponent as ɵi, AccountRoutingModule as ɵj, optionsFactory as ɵk, ACCOUNT_OPTIONS as ɵl }; -//# sourceMappingURL=abp-ng.account.js.map diff --git a/npm/ng-packs/dist/account/fesm5/abp-ng.account.js.map b/npm/ng-packs/dist/account/fesm5/abp-ng.account.js.map deleted file mode 100644 index 8c7c951a6dc..00000000000 --- a/npm/ng-packs/dist/account/fesm5/abp-ng.account.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.account.js","sources":["ng://@abp/ng.account/lib/components/login/login.component.ts","ng://@abp/ng.account/lib/components/manage-profile/manage-profile.component.ts","ng://@abp/ng.account/lib/services/account.service.ts","ng://@abp/ng.account/lib/components/register/register.component.ts","ng://@abp/ng.account/lib/account-routing.module.ts","ng://@abp/ng.account/lib/components/change-password/change-password.component.ts","ng://@abp/ng.account/lib/components/personal-settings/personal-settings.component.ts","ng://@abp/ng.account/lib/components/tenant-box/tenant-box.component.ts","ng://@abp/ng.account/lib/tokens/options.token.ts","ng://@abp/ng.account/lib/components/auth-wrapper/auth-wrapper.component.ts","ng://@abp/ng.account/lib/account.module.ts","ng://@abp/ng.account/lib/constants/routes.ts","ng://@abp/ng.account/lib/models/options.ts","ng://@abp/ng.account/lib/models/user.ts","ng://@abp/ng.account/lib/models/tenant.ts"],"sourcesContent":["import { GetAppConfiguration, ConfigState, SessionState } from '@abp/ng.core';\r\nimport { Component, Inject, Optional } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Navigate } from '@ngxs/router-plugin';\r\nimport { Store } from '@ngxs/store';\r\nimport { OAuthService } from 'angular-oauth2-oidc';\r\nimport { from, throwError } from 'rxjs';\r\nimport { Options } from '../../models/options';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { catchError, finalize, switchMap, tap } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport { HttpHeaders } from '@angular/common/http';\r\n\r\nconst { maxLength, minLength, required } = Validators;\r\n\r\n@Component({\r\n selector: 'abp-login',\r\n templateUrl: './login.component.html',\r\n})\r\nexport class LoginComponent {\r\n form: FormGroup;\r\n\r\n inProgress: boolean;\r\n\r\n constructor(\r\n private fb: FormBuilder,\r\n private oauthService: OAuthService,\r\n private store: Store,\r\n private toasterService: ToasterService,\r\n @Optional() @Inject('ACCOUNT_OPTIONS') private options: Options,\r\n ) {\r\n this.oauthService.configure(this.store.selectSnapshot(ConfigState.getOne('environment')).oAuthConfig);\r\n this.oauthService.loadDiscoveryDocument();\r\n\r\n this.form = this.fb.group({\r\n username: ['', [required, maxLength(255)]],\r\n password: ['', [required, maxLength(32)]],\r\n remember: [false],\r\n });\r\n }\r\n\r\n onSubmit() {\r\n if (this.form.invalid) return;\r\n // this.oauthService.setStorage(this.form.value.remember ? localStorage : sessionStorage);\r\n\r\n this.inProgress = true;\r\n const tenant = this.store.selectSnapshot(SessionState.getTenant);\r\n from(\r\n this.oauthService.fetchTokenUsingPasswordFlow(\r\n this.form.get('username').value,\r\n this.form.get('password').value,\r\n new HttpHeaders({ ...(tenant && tenant.id && { __tenant: tenant.id }) }),\r\n ),\r\n )\r\n .pipe(\r\n switchMap(() => this.store.dispatch(new GetAppConfiguration())),\r\n tap(() => {\r\n const redirectUrl = snq(() => window.history.state).redirectUrl || (this.options || {}).redirectUrl || '/';\r\n this.store.dispatch(new Navigate([redirectUrl]));\r\n }),\r\n catchError(err => {\r\n this.toasterService.error(\r\n snq(() => err.error.error_description) ||\r\n snq(() => err.error.error.message, 'AbpAccount::DefaultErrorMessage'),\r\n 'Error',\r\n { life: 7000 },\r\n );\r\n return throwError(err);\r\n }),\r\n finalize(() => (this.inProgress = false)),\r\n )\r\n .subscribe();\r\n }\r\n}\r\n","import { fadeIn } from '@abp/ng.theme.shared';\r\nimport { transition, trigger, useAnimation } from '@angular/animations';\r\nimport { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-manage-profile',\r\n templateUrl: './manage-profile.component.html',\r\n animations: [trigger('fadeIn', [transition(':enter', useAnimation(fadeIn))])],\r\n})\r\nexport class ManageProfileComponent {\r\n selectedTab = 0;\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport { RegisterResponse, RegisterRequest, TenantIdResponse } from '../models';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AccountService {\r\n constructor(private rest: RestService) {}\r\n\r\n findTenant(tenantName: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: `/api/abp/multi-tenancy/tenants/by-name/${tenantName}`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n register(body: RegisterRequest): Observable {\r\n const request: Rest.Request = {\r\n method: 'POST',\r\n url: '/api/account/register',\r\n body,\r\n };\r\n\r\n return this.rest.request(request, { skipHandleError: true });\r\n }\r\n}\r\n","import { ConfigState, GetAppConfiguration, ABP, SessionState } from '@abp/ng.core';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Navigate } from '@ngxs/router-plugin';\r\nimport { Store } from '@ngxs/store';\r\nimport { OAuthService } from 'angular-oauth2-oidc';\r\nimport { from, throwError } from 'rxjs';\r\nimport { catchError, finalize, switchMap, take, tap } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport { RegisterRequest } from '../../models';\r\nimport { AccountService } from '../../services/account.service';\r\nimport { PasswordRules, validatePassword } from '@ngx-validate/core';\r\nimport { HttpHeaders } from '@angular/common/http';\r\nconst { maxLength, minLength, required, email } = Validators;\r\n\r\n@Component({\r\n selector: 'abp-register',\r\n templateUrl: './register.component.html',\r\n})\r\nexport class RegisterComponent implements OnInit {\r\n form: FormGroup;\r\n\r\n inProgress: boolean;\r\n\r\n constructor(\r\n private fb: FormBuilder,\r\n private accountService: AccountService,\r\n private oauthService: OAuthService,\r\n private store: Store,\r\n private toasterService: ToasterService,\r\n ) {\r\n this.oauthService.configure(\r\n this.store.selectSnapshot(ConfigState.getOne('environment')).oAuthConfig,\r\n );\r\n this.oauthService.loadDiscoveryDocument();\r\n }\r\n\r\n ngOnInit() {\r\n const passwordRules: ABP.Dictionary = this.store.selectSnapshot(\r\n ConfigState.getSettings('Identity.Password'),\r\n );\r\n const passwordRulesArr = [] as PasswordRules;\r\n let requiredLength = 1;\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('number');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('small');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('capital');\r\n }\r\n\r\n if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) {\r\n passwordRulesArr.push('special');\r\n }\r\n\r\n if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) {\r\n requiredLength = +passwordRules['Abp.Identity.Password.RequiredLength'];\r\n }\r\n\r\n this.form = this.fb.group({\r\n username: ['', [required, maxLength(255)]],\r\n password: [\r\n '',\r\n [required, validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(32)],\r\n ],\r\n email: ['', [required, email]],\r\n });\r\n }\r\n\r\n onSubmit() {\r\n if (this.form.invalid) return;\r\n\r\n this.inProgress = true;\r\n\r\n const newUser = {\r\n userName: this.form.get('username').value,\r\n password: this.form.get('password').value,\r\n emailAddress: this.form.get('email').value,\r\n appName: 'Angular',\r\n } as RegisterRequest;\r\n\r\n const tenant = this.store.selectSnapshot(SessionState.getTenant);\r\n\r\n this.accountService\r\n .register(newUser)\r\n .pipe(\r\n switchMap(() =>\r\n from(\r\n this.oauthService.fetchTokenUsingPasswordFlow(\r\n newUser.userName,\r\n newUser.password,\r\n new HttpHeaders({\r\n ...(tenant && tenant.id && { __tenant: tenant.id }),\r\n }),\r\n ),\r\n ),\r\n ),\r\n switchMap(() => this.store.dispatch(new GetAppConfiguration())),\r\n tap(() => this.store.dispatch(new Navigate(['/']))),\r\n take(1),\r\n catchError(err => {\r\n this.toasterService.error(\r\n snq(() => err.error.error_description) ||\r\n snq(() => err.error.error.message, 'AbpAccount::DefaultErrorMessage'),\r\n 'Error',\r\n { life: 7000 },\r\n );\r\n return throwError(err);\r\n }),\r\n finalize(() => (this.inProgress = false)),\r\n )\r\n .subscribe();\r\n }\r\n}\r\n","import { DynamicLayoutComponent } from '@abp/ng.core';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { LoginComponent } from './components/login/login.component';\r\nimport { ManageProfileComponent } from './components/manage-profile/manage-profile.component';\r\nimport { RegisterComponent } from './components/register/register.component';\r\n\r\nconst routes: Routes = [\r\n { path: '', pathMatch: 'full', redirectTo: 'login' },\r\n {\r\n path: '',\r\n component: DynamicLayoutComponent,\r\n children: [\r\n { path: 'login', component: LoginComponent },\r\n { path: 'register', component: RegisterComponent },\r\n {\r\n path: 'manage-profile',\r\n component: ManageProfileComponent,\r\n },\r\n ],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class AccountRoutingModule {}\r\n","import { ChangePassword, ConfigState, ABP } from '@abp/ng.core';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { comparePasswords, Validation, PasswordRules, validatePassword } from '@ngx-validate/core';\r\nimport { Store } from '@ngxs/store';\r\nimport snq from 'snq';\r\nimport { finalize } from 'rxjs/operators';\r\n\r\nconst { minLength, required, maxLength } = Validators;\r\n\r\nconst PASSWORD_FIELDS = ['newPassword', 'repeatNewPassword'];\r\n\r\n@Component({\r\n selector: 'abp-change-password-form',\r\n templateUrl: './change-password.component.html',\r\n})\r\nexport class ChangePasswordComponent implements OnInit {\r\n form: FormGroup;\r\n\r\n inProgress: boolean;\r\n\r\n mapErrorsFn: Validation.MapErrorsFn = (errors, groupErrors, control) => {\r\n if (PASSWORD_FIELDS.indexOf(control.name) < 0) return errors;\r\n\r\n return errors.concat(groupErrors.filter(({ key }) => key === 'passwordMismatch'));\r\n };\r\n\r\n constructor(private fb: FormBuilder, private store: Store, private toasterService: ToasterService) {}\r\n\r\n ngOnInit(): void {\r\n const passwordRules: ABP.Dictionary = this.store.selectSnapshot(\r\n ConfigState.getSettings('Identity.Password'),\r\n );\r\n const passwordRulesArr = [] as PasswordRules;\r\n let requiredLength = 1;\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('number');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('small');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') {\r\n passwordRulesArr.push('capital');\r\n }\r\n\r\n if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) {\r\n passwordRulesArr.push('special');\r\n }\r\n\r\n if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) {\r\n requiredLength = +passwordRules['Abp.Identity.Password.RequiredLength'];\r\n }\r\n\r\n this.form = this.fb.group(\r\n {\r\n password: ['', required],\r\n newPassword: [\r\n '',\r\n {\r\n validators: [required, validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(32)],\r\n },\r\n ],\r\n repeatNewPassword: [\r\n '',\r\n { validators: [required, validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(32)] },\r\n ],\r\n },\r\n {\r\n validators: [comparePasswords(PASSWORD_FIELDS)],\r\n },\r\n );\r\n }\r\n\r\n onSubmit() {\r\n if (this.form.invalid) return;\r\n this.inProgress = true;\r\n this.store\r\n .dispatch(\r\n new ChangePassword({\r\n currentPassword: this.form.get('password').value,\r\n newPassword: this.form.get('newPassword').value,\r\n }),\r\n )\r\n .pipe(finalize(() => (this.inProgress = false)))\r\n .subscribe({\r\n next: () => {\r\n this.form.reset();\r\n this.toasterService.success('AbpAccount::PasswordChangedMessage', 'Success', { life: 5000 });\r\n },\r\n error: err => {\r\n this.toasterService.error(snq(() => err.error.error.message, 'AbpAccount::DefaultErrorMessage'), 'Error', {\r\n life: 7000,\r\n });\r\n },\r\n });\r\n }\r\n}\r\n","import { GetProfile, Profile, ProfileState, UpdateProfile } from '@abp/ng.core';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { take, withLatestFrom, finalize } from 'rxjs/operators';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\n\r\nconst { maxLength, required, email } = Validators;\r\n\r\n@Component({\r\n selector: 'abp-personal-settings-form',\r\n templateUrl: './personal-settings.component.html',\r\n})\r\nexport class PersonalSettingsComponent implements OnInit {\r\n @Select(ProfileState.getProfile)\r\n profile$: Observable;\r\n\r\n form: FormGroup;\r\n\r\n inProgress: boolean;\r\n\r\n constructor(private fb: FormBuilder, private store: Store, private toasterService: ToasterService) {}\r\n\r\n ngOnInit() {\r\n this.buildForm();\r\n }\r\n\r\n buildForm() {\r\n this.store\r\n .dispatch(new GetProfile())\r\n .pipe(\r\n withLatestFrom(this.profile$),\r\n take(1),\r\n )\r\n .subscribe(([, profile]) => {\r\n this.form = this.fb.group({\r\n userName: [profile.userName, [required, maxLength(256)]],\r\n email: [profile.email, [required, email, maxLength(256)]],\r\n name: [profile.name || '', [maxLength(64)]],\r\n surname: [profile.surname || '', [maxLength(64)]],\r\n phoneNumber: [profile.phoneNumber || '', [maxLength(16)]],\r\n });\r\n });\r\n }\r\n\r\n submit() {\r\n if (this.form.invalid) return;\r\n this.inProgress = true;\r\n this.store\r\n .dispatch(new UpdateProfile(this.form.value))\r\n .pipe(finalize(() => (this.inProgress = false)))\r\n .subscribe(() => {\r\n this.toasterService.success('AbpAccount::PersonalSettingsSaved', 'Success', { life: 5000 });\r\n });\r\n }\r\n}\r\n","import { ABP, SetTenant, SessionState } from '@abp/ng.core';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { throwError } from 'rxjs';\r\nimport { catchError, take, finalize } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport { AccountService } from '../../services/account.service';\r\n\r\n@Component({\r\n selector: 'abp-tenant-box',\r\n templateUrl: './tenant-box.component.html',\r\n})\r\nexport class TenantBoxComponent implements OnInit {\r\n tenant = {} as ABP.BasicItem;\r\n\r\n tenantName: string;\r\n\r\n isModalVisible: boolean;\r\n\r\n inProgress: boolean;\r\n\r\n constructor(private store: Store, private toasterService: ToasterService, private accountService: AccountService) {}\r\n\r\n ngOnInit() {\r\n this.tenant = this.store.selectSnapshot(SessionState.getTenant) || ({} as ABP.BasicItem);\r\n this.tenantName = this.tenant.name || '';\r\n }\r\n\r\n onSwitch() {\r\n this.isModalVisible = true;\r\n }\r\n\r\n save() {\r\n if (this.tenant.name && !this.inProgress) {\r\n this.inProgress = true;\r\n this.accountService\r\n .findTenant(this.tenant.name)\r\n .pipe(\r\n finalize(() => (this.inProgress = false)),\r\n take(1),\r\n catchError(err => {\r\n this.toasterService.error(\r\n snq(() => err.error.error_description, 'AbpUi::DefaultErrorMessage'),\r\n 'AbpUi::Error',\r\n );\r\n return throwError(err);\r\n }),\r\n )\r\n .subscribe(({ success, tenantId }) => {\r\n if (success) {\r\n this.tenant = {\r\n id: tenantId,\r\n name: this.tenant.name,\r\n };\r\n this.tenantName = this.tenant.name;\r\n this.isModalVisible = false;\r\n } else {\r\n this.toasterService.error('AbpUiMultiTenancy::GivenTenantIsNotAvailable', 'AbpUi::Error', {\r\n messageLocalizationParams: [this.tenant.name],\r\n });\r\n this.tenant = {} as ABP.BasicItem;\r\n }\r\n this.store.dispatch(new SetTenant(success ? this.tenant : null));\r\n });\r\n } else {\r\n this.store.dispatch(new SetTenant(null));\r\n this.tenantName = null;\r\n this.isModalVisible = false;\r\n }\r\n }\r\n}\r\n","import { InjectionToken } from '@angular/core';\r\nimport { Options } from '../models/options';\r\n\r\nexport function optionsFactory(options: Options) {\r\n return {\r\n redirectUrl: '/',\r\n ...options,\r\n };\r\n}\r\n\r\nexport const ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS');\r\n","import { Component, Input, TemplateRef } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-auth-wrapper',\r\n templateUrl: './auth-wrapper.component.html',\r\n})\r\nexport class AuthWrapperComponent {\r\n @Input()\r\n mainContentRef: TemplateRef;\r\n\r\n @Input()\r\n cancelContentRef: TemplateRef;\r\n}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule, Provider } from '@angular/core';\r\nimport { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\nimport { TableModule } from 'primeng/table';\r\nimport { AccountRoutingModule } from './account-routing.module';\r\nimport { ChangePasswordComponent } from './components/change-password/change-password.component';\r\nimport { LoginComponent } from './components/login/login.component';\r\nimport { ManageProfileComponent } from './components/manage-profile/manage-profile.component';\r\nimport { PersonalSettingsComponent } from './components/personal-settings/personal-settings.component';\r\nimport { RegisterComponent } from './components/register/register.component';\r\nimport { TenantBoxComponent } from './components/tenant-box/tenant-box.component';\r\nimport { Options } from './models/options';\r\nimport { ACCOUNT_OPTIONS, optionsFactory } from './tokens/options.token';\r\nimport { AuthWrapperComponent } from './components/auth-wrapper/auth-wrapper.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n AuthWrapperComponent,\r\n LoginComponent,\r\n RegisterComponent,\r\n TenantBoxComponent,\r\n ChangePasswordComponent,\r\n ManageProfileComponent,\r\n PersonalSettingsComponent,\r\n ],\r\n imports: [CoreModule, AccountRoutingModule, ThemeSharedModule, TableModule, NgbDropdownModule, NgxValidateCoreModule],\r\n exports: [],\r\n})\r\nexport class AccountModule {}\r\n\r\n/**\r\n *\r\n * @deprecated since version 0.9\r\n */\r\nexport function AccountProviders(options = {} as Options): Provider[] {\r\n return [\r\n { provide: ACCOUNT_OPTIONS, useValue: options },\r\n {\r\n provide: 'ACCOUNT_OPTIONS',\r\n useFactory: optionsFactory,\r\n deps: [ACCOUNT_OPTIONS],\r\n },\r\n ];\r\n}\r\n","import { ABP, eLayoutType } from '@abp/ng.core';\r\n\r\n/**\r\n *\r\n * @deprecated since version 0.9\r\n */\r\nexport const ACCOUNT_ROUTES = {\r\n routes: [\r\n {\r\n name: 'Account',\r\n path: 'account',\r\n invisible: true,\r\n layout: eLayoutType.application,\r\n children: [{ path: 'login', name: 'Login', order: 1 }, { path: 'register', name: 'Register', order: 2 }],\r\n },\r\n ] as ABP.FullRoute[],\r\n};\r\n","export interface Options {\r\n redirectUrl?: string;\r\n}\r\n","export interface RegisterRequest {\r\n userName: string;\r\n emailAddress: string;\r\n password: string;\r\n appName?: string;\r\n}\r\n\r\nexport interface RegisterResponse {\r\n tenantId: string;\r\n userName: string;\r\n name: string;\r\n surname: string;\r\n email: string;\r\n emailConfirmed: boolean;\r\n phoneNumber: string;\r\n phoneNumberConfirmed: boolean;\r\n twoFactorEnabled: boolean;\r\n lockoutEnabled: boolean;\r\n lockoutEnd: string;\r\n concurrencyStamp: string;\r\n isDeleted: boolean;\r\n deleterId: string;\r\n deletionTime: string;\r\n lastModificationTime: string;\r\n lastModifierId: string;\r\n creationTime: string;\r\n creatorId: string;\r\n id: string;\r\n}\r\n","export interface TenantIdResponse {\r\n success: boolean;\r\n tenantId: string;\r\n}\r\n"],"names":["maxLength","minLength","required","email","tslib_1.__decorate"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAaQ,IAAA,gCAAS,EAAE,gCAAS,EAAE,8BAAQ;AAEtC;IASE,wBACU,EAAe,EACf,YAA0B,EAC1B,KAAY,EACZ,cAA8B,EACS,OAAgB;QAJvD,OAAE,GAAF,EAAE,CAAa;QACf,iBAAY,GAAZ,YAAY,CAAc;QAC1B,UAAK,GAAL,KAAK,CAAO;QACZ,mBAAc,GAAd,cAAc,CAAgB;QACS,YAAO,GAAP,OAAO,CAAS;QAE/D,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,W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ACN,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;SACzG;KACF,EAAmB;CACrB;;;;;;;;;;;;;;;;AChBD,sBAEC;;;IADC,8BAAqB;;;;;;;;;;;ACDvB,8BAKC;;;IAJC,mCAAiB;;IACjB,uCAAqB;;IACrB,mCAAiB;;IACjB,kCAAiB;;;;;AAGnB,+BAqBC;;;IApBC,oCAAiB;;IACjB,oCAAiB;;IACjB,gCAAa;;IACb,mCAAgB;;IAChB,iCAAc;;IACd,0CAAwB;;IACxB,uCAAoB;;IACpB,gDAA8B;;IAC9B,4CAA0B;;IAC1B,0CAAwB;;IACxB,sCAAmB;;IACnB,4CAAyB;;IACzB,qCAAmB;;IACnB,qCAAkB;;IAClB,wCAAqB;;IACrB,gDAA6B;;IAC7B,0CAAuB;;IACvB,wCAAqB;;IACrB,qCAAkB;;IAClB,8BAAW;;;;;;;;;;;AC3Bb,+BAGC;;;IAFC,mCAAiB;;IACjB,oCAAiB;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/account/lib/account-routing.module.d.ts b/npm/ng-packs/dist/account/lib/account-routing.module.d.ts deleted file mode 100644 index 7909dc0d719..00000000000 --- a/npm/ng-packs/dist/account/lib/account-routing.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class AccountRoutingModule { -} diff --git a/npm/ng-packs/dist/account/lib/account.module.d.ts b/npm/ng-packs/dist/account/lib/account.module.d.ts deleted file mode 100644 index b72aa74476d..00000000000 --- a/npm/ng-packs/dist/account/lib/account.module.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Provider } from '@angular/core'; -import { Options } from './models/options'; -export declare class AccountModule { -} -/** - * - * @deprecated since version 0.9 - */ -export declare function AccountProviders(options?: Options): Provider[]; diff --git a/npm/ng-packs/dist/account/lib/components/auth-wrapper/auth-wrapper.component.d.ts b/npm/ng-packs/dist/account/lib/components/auth-wrapper/auth-wrapper.component.d.ts deleted file mode 100644 index 0ae1c4e29d5..00000000000 --- a/npm/ng-packs/dist/account/lib/components/auth-wrapper/auth-wrapper.component.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { TemplateRef } from '@angular/core'; -export declare class AuthWrapperComponent { - mainContentRef: TemplateRef; - cancelContentRef: TemplateRef; -} diff --git a/npm/ng-packs/dist/account/lib/components/change-password/change-password.component.d.ts b/npm/ng-packs/dist/account/lib/components/change-password/change-password.component.d.ts deleted file mode 100644 index abb884561b2..00000000000 --- a/npm/ng-packs/dist/account/lib/components/change-password/change-password.component.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { ToasterService } from '@abp/ng.theme.shared'; -import { OnInit } from '@angular/core'; -import { FormBuilder, FormGroup } from '@angular/forms'; -import { Validation } from '@ngx-validate/core'; -import { Store } from '@ngxs/store'; -export declare class ChangePasswordComponent implements OnInit { - private fb; - private store; - private toasterService; - form: FormGroup; - inProgress: boolean; - mapErrorsFn: Validation.MapErrorsFn; - constructor(fb: FormBuilder, store: Store, toasterService: ToasterService); - ngOnInit(): void; - onSubmit(): void; -} diff --git a/npm/ng-packs/dist/account/lib/components/index.d.ts b/npm/ng-packs/dist/account/lib/components/index.d.ts deleted file mode 100644 index a852329e4ed..00000000000 --- a/npm/ng-packs/dist/account/lib/components/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export * from './change-password/change-password.component'; -export * from './login/login.component'; -export * from './manage-profile/manage-profile.component'; -export * from './register/register.component'; -export * from './personal-settings/personal-settings.component'; diff --git a/npm/ng-packs/dist/account/lib/components/login/login.component.d.ts b/npm/ng-packs/dist/account/lib/components/login/login.component.d.ts deleted file mode 100644 index 16cfcad9a15..00000000000 --- a/npm/ng-packs/dist/account/lib/components/login/login.component.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { FormBuilder, FormGroup } from '@angular/forms'; -import { Store } from '@ngxs/store'; -import { OAuthService } from 'angular-oauth2-oidc'; -import { Options } from '../../models/options'; -import { ToasterService } from '@abp/ng.theme.shared'; -export declare class LoginComponent { - private fb; - private oauthService; - private store; - private toasterService; - private options; - form: FormGroup; - inProgress: boolean; - constructor(fb: FormBuilder, oauthService: OAuthService, store: Store, toasterService: ToasterService, options: Options); - onSubmit(): void; -} diff --git a/npm/ng-packs/dist/account/lib/components/manage-profile/manage-profile.component.d.ts b/npm/ng-packs/dist/account/lib/components/manage-profile/manage-profile.component.d.ts deleted file mode 100644 index acbea831030..00000000000 --- a/npm/ng-packs/dist/account/lib/components/manage-profile/manage-profile.component.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare class ManageProfileComponent { - selectedTab: number; -} diff --git a/npm/ng-packs/dist/account/lib/components/personal-settings/personal-settings.component.d.ts b/npm/ng-packs/dist/account/lib/components/personal-settings/personal-settings.component.d.ts deleted file mode 100644 index b96cdb94e37..00000000000 --- a/npm/ng-packs/dist/account/lib/components/personal-settings/personal-settings.component.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Profile } from '@abp/ng.core'; -import { OnInit } from '@angular/core'; -import { FormBuilder, FormGroup } from '@angular/forms'; -import { Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { ToasterService } from '@abp/ng.theme.shared'; -export declare class PersonalSettingsComponent implements OnInit { - private fb; - private store; - private toasterService; - profile$: Observable; - form: FormGroup; - inProgress: boolean; - constructor(fb: FormBuilder, store: Store, toasterService: ToasterService); - ngOnInit(): void; - buildForm(): void; - submit(): void; -} diff --git a/npm/ng-packs/dist/account/lib/components/register/register.component.d.ts b/npm/ng-packs/dist/account/lib/components/register/register.component.d.ts deleted file mode 100644 index a57cdb485c4..00000000000 --- a/npm/ng-packs/dist/account/lib/components/register/register.component.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { ToasterService } from '@abp/ng.theme.shared'; -import { OnInit } from '@angular/core'; -import { FormBuilder, FormGroup } from '@angular/forms'; -import { Store } from '@ngxs/store'; -import { OAuthService } from 'angular-oauth2-oidc'; -import { AccountService } from '../../services/account.service'; -export declare class RegisterComponent implements OnInit { - private fb; - private accountService; - private oauthService; - private store; - private toasterService; - form: FormGroup; - inProgress: boolean; - constructor(fb: FormBuilder, accountService: AccountService, oauthService: OAuthService, store: Store, toasterService: ToasterService); - ngOnInit(): void; - onSubmit(): void; -} diff --git a/npm/ng-packs/dist/account/lib/components/tenant-box/tenant-box.component.d.ts b/npm/ng-packs/dist/account/lib/components/tenant-box/tenant-box.component.d.ts deleted file mode 100644 index 45e8f0efbd4..00000000000 --- a/npm/ng-packs/dist/account/lib/components/tenant-box/tenant-box.component.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { ABP } from '@abp/ng.core'; -import { ToasterService } from '@abp/ng.theme.shared'; -import { OnInit } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { AccountService } from '../../services/account.service'; -export declare class TenantBoxComponent implements OnInit { - private store; - private toasterService; - private accountService; - tenant: ABP.BasicItem; - tenantName: string; - isModalVisible: boolean; - inProgress: boolean; - constructor(store: Store, toasterService: ToasterService, accountService: AccountService); - ngOnInit(): void; - onSwitch(): void; - save(): void; -} diff --git a/npm/ng-packs/dist/account/lib/constants/routes.d.ts b/npm/ng-packs/dist/account/lib/constants/routes.d.ts deleted file mode 100644 index 5400f215fe0..00000000000 --- a/npm/ng-packs/dist/account/lib/constants/routes.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { ABP } from '@abp/ng.core'; -/** - * - * @deprecated since version 0.9 - */ -export declare const ACCOUNT_ROUTES: { - routes: ABP.FullRoute[]; -}; diff --git a/npm/ng-packs/dist/account/lib/models/index.d.ts b/npm/ng-packs/dist/account/lib/models/index.d.ts deleted file mode 100644 index 4dcd63408e2..00000000000 --- a/npm/ng-packs/dist/account/lib/models/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './options'; -export * from './user'; -export * from './tenant'; diff --git a/npm/ng-packs/dist/account/lib/models/options.d.ts b/npm/ng-packs/dist/account/lib/models/options.d.ts deleted file mode 100644 index 3bcfa0bb683..00000000000 --- a/npm/ng-packs/dist/account/lib/models/options.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface Options { - redirectUrl?: string; -} diff --git a/npm/ng-packs/dist/account/lib/models/tenant.d.ts b/npm/ng-packs/dist/account/lib/models/tenant.d.ts deleted file mode 100644 index eeaef93d495..00000000000 --- a/npm/ng-packs/dist/account/lib/models/tenant.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface TenantIdResponse { - success: boolean; - tenantId: string; -} diff --git a/npm/ng-packs/dist/account/lib/models/user.d.ts b/npm/ng-packs/dist/account/lib/models/user.d.ts deleted file mode 100644 index 8a261ceba5a..00000000000 --- a/npm/ng-packs/dist/account/lib/models/user.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -export interface RegisterRequest { - userName: string; - emailAddress: string; - password: string; - appName?: string; -} -export interface RegisterResponse { - tenantId: string; - userName: string; - name: string; - surname: string; - email: string; - emailConfirmed: boolean; - phoneNumber: string; - phoneNumberConfirmed: boolean; - twoFactorEnabled: boolean; - lockoutEnabled: boolean; - lockoutEnd: string; - concurrencyStamp: string; - isDeleted: boolean; - deleterId: string; - deletionTime: string; - lastModificationTime: string; - lastModifierId: string; - creationTime: string; - creatorId: string; - id: string; -} diff --git a/npm/ng-packs/dist/account/lib/services/account.service.d.ts b/npm/ng-packs/dist/account/lib/services/account.service.d.ts deleted file mode 100644 index e68f35b3239..00000000000 --- a/npm/ng-packs/dist/account/lib/services/account.service.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Observable } from 'rxjs'; -import { RestService } from '@abp/ng.core'; -import { RegisterResponse, RegisterRequest, TenantIdResponse } from '../models'; -export declare class AccountService { - private rest; - constructor(rest: RestService); - findTenant(tenantName: string): Observable; - register(body: RegisterRequest): Observable; -} diff --git a/npm/ng-packs/dist/account/lib/tokens/index.d.ts b/npm/ng-packs/dist/account/lib/tokens/index.d.ts deleted file mode 100644 index 683bc4b3dba..00000000000 --- a/npm/ng-packs/dist/account/lib/tokens/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './options.token'; diff --git a/npm/ng-packs/dist/account/lib/tokens/options.token.d.ts b/npm/ng-packs/dist/account/lib/tokens/options.token.d.ts deleted file mode 100644 index ca9146b0bca..00000000000 --- a/npm/ng-packs/dist/account/lib/tokens/options.token.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { InjectionToken } from '@angular/core'; -import { Options } from '../models/options'; -export declare function optionsFactory(options: Options): { - redirectUrl: string; -}; -export declare const ACCOUNT_OPTIONS: InjectionToken; diff --git a/npm/ng-packs/dist/account/package.json b/npm/ng-packs/dist/account/package.json deleted file mode 100644 index 1f919ac1549..00000000000 --- a/npm/ng-packs/dist/account/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "@abp/ng.account", - "version": "1.1.0", - "dependencies": { - "@abp/ng.account.config": "^1.1.0", - "@abp/ng.theme.shared": "^1.1.0", - "tslib": "^1.9.0" - }, - "publishConfig": { - "access": "public" - }, - "main": "bundles/abp-ng.account.umd.js", - "module": "fesm5/abp-ng.account.js", - "es2015": "fesm2015/abp-ng.account.js", - "esm5": "esm5/abp-ng.account.js", - "esm2015": "esm2015/abp-ng.account.js", - "fesm5": "fesm5/abp-ng.account.js", - "fesm2015": "fesm2015/abp-ng.account.js", - "typings": "abp-ng.account.d.ts", - "metadata": "abp-ng.account.metadata.json", - "sideEffects": false, - "gitHead": "42d9eb857fca97c046ebac4286b6831c8b8c1887" -} diff --git a/npm/ng-packs/dist/account/public-api.d.ts b/npm/ng-packs/dist/account/public-api.d.ts deleted file mode 100644 index 0e845f07688..00000000000 --- a/npm/ng-packs/dist/account/public-api.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export * from './lib/account.module'; -export * from './lib/components'; -export * from './lib/constants/routes'; -export * from './lib/tokens'; -export * from './lib/models'; diff --git a/npm/ng-packs/dist/core/README.md b/npm/ng-packs/dist/core/README.md deleted file mode 100644 index 9c1a869583d..00000000000 --- a/npm/ng-packs/dist/core/README.md +++ /dev/null @@ -1,3 +0,0 @@ -

@abp/ng.core

- -[docs.abp.io](https://docs.abp.io) diff --git a/npm/ng-packs/dist/core/abp-ng.core.d.ts b/npm/ng-packs/dist/core/abp-ng.core.d.ts deleted file mode 100644 index 21bf7bc0133..00000000000 --- a/npm/ng-packs/dist/core/abp-ng.core.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * Generated bundle index. Do not edit. - */ -export * from './public-api'; -export { AbstractNgModelComponent as ɵbc } from './lib/abstracts/ng-model.component'; -export { GetAppConfiguration as ɵp, PatchRouteByName as ɵo } from './lib/actions/config.actions'; -export { ChangePassword as ɵf, GetProfile as ɵd, UpdateProfile as ɵe } from './lib/actions/profile.actions'; -export { SetLanguage as ɵj, SetTenant as ɵk } from './lib/actions/session.actions'; -export { DynamicLayoutComponent as ɵr } from './lib/components/dynamic-layout.component'; -export { RouterOutletComponent as ɵq } from './lib/components/router-outlet.component'; -export { AutofocusDirective as ɵs } from './lib/directives/autofocus.directive'; -export { InputEventDebounceDirective as ɵba } from './lib/directives/debounce.directive'; -export { EllipsisDirective as ɵt } from './lib/directives/ellipsis.directive'; -export { ForDirective as ɵu } from './lib/directives/for.directive'; -export { FormSubmitDirective as ɵv } from './lib/directives/form-submit.directive'; -export { PermissionDirective as ɵy } from './lib/directives/permission.directive'; -export { ClickEventStopPropagationDirective as ɵbb } from './lib/directives/stop-propagation.directive'; -export { VisibilityDirective as ɵz } from './lib/directives/visibility.directive'; -export { ApiInterceptor as ɵbh } from './lib/interceptors/api.interceptor'; -export { ABP as ɵl, Profile as ɵg } from './lib/models'; -export { LocalizationPipe as ɵw } from './lib/pipes/localization.pipe'; -export { SortPipe as ɵx } from './lib/pipes/sort.pipe'; -export { ConfigPlugin as ɵbg, NGXS_CONFIG_PLUGIN_OPTIONS as ɵbf } from './lib/plugins/config.plugin'; -export { LocaleId as ɵbd, LocaleProvider as ɵbe } from './lib/providers/locale.provider'; -export { ApplicationConfigurationService as ɵn } from './lib/services/application-configuration.service'; -export { LocalizationService as ɵi } from './lib/services/localization.service'; -export { ProfileService as ɵb } from './lib/services/profile.service'; -export { RestService as ɵc } from './lib/services/rest.service'; -export { ConfigState as ɵm } from './lib/states/config.state'; -export { ProfileState as ɵa } from './lib/states/profile.state'; -export { SessionState as ɵh } from './lib/states/session.state'; -export { getInitialData as ɵbi, localeInitializer as ɵbj } from './lib/utils/initial-utils'; diff --git a/npm/ng-packs/dist/core/abp-ng.core.metadata.json b/npm/ng-packs/dist/core/abp-ng.core.metadata.json deleted file mode 100644 index dd23a606b79..00000000000 --- a/npm/ng-packs/dist/core/abp-ng.core.metadata.json +++ /dev/null @@ -1 +0,0 @@ -{"__symbolic":"module","version":4,"exports":[{"from":"./lib/common-utils"},{"from":"./lib/generator-utils"},{"from":"./lib/initial-utils"},{"from":"./lib/route-utils"},{"from":"./lib/rxjs-utils"},{"from":"./lib/rest.service"},{"from":"./lib/profile-state.service"},{"from":"./lib/session-state.service"}],"metadata":{"CoreModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":32,"character":1},"arguments":[{"imports":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"NgxsModule","line":34,"character":4},"member":"forFeature"},"arguments":[[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵh"},{"__symbolic":"reference","name":"ɵm"}]]},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngxs/router-plugin","name":"NgxsRouterPluginModule","line":35,"character":4},"member":"forRoot"}},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngxs/storage-plugin","name":"NgxsStoragePluginModule","line":36,"character":4},"member":"forRoot"},"arguments":[{"key":["SessionState"]}]},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"angular-oauth2-oidc","name":"OAuthModule","line":37,"character":4},"member":"forRoot"}},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":38,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":39,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":40,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":41,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":42,"character":4}],"declarations":[{"__symbolic":"reference","name":"ɵq"},{"__symbolic":"reference","name":"ɵr"},{"__symbolic":"reference","name":"ɵs"},{"__symbolic":"reference","name":"ɵt"},{"__symbolic":"reference","name":"ɵu"},{"__symbolic":"reference","name":"ɵv"},{"__symbolic":"reference","name":"ɵw"},{"__symbolic":"reference","name":"ɵx"},{"__symbolic":"reference","name":"ɵy"},{"__symbolic":"reference","name":"ɵz"},{"__symbolic":"reference","name":"ɵba"},{"__symbolic":"reference","name":"ɵbb"},{"__symbolic":"reference","name":"ɵbc"}],"exports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":60,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":61,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":62,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":63,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":64,"character":4},{"__symbolic":"reference","name":"ɵq"},{"__symbolic":"reference","name":"ɵr"},{"__symbolic":"reference","name":"ɵs"},{"__symbolic":"reference","name":"ɵt"},{"__symbolic":"reference","name":"ɵu"},{"__symbolic":"reference","name":"ɵv"},{"__symbolic":"reference","name":"ɵw"},{"__symbolic":"reference","name":"ɵx"},{"__symbolic":"reference","name":"ɵy"},{"__symbolic":"reference","name":"ɵz"},{"__symbolic":"reference","name":"ɵba"},{"__symbolic":"reference","name":"ɵw"},{"__symbolic":"reference","name":"ɵbb"},{"__symbolic":"reference","name":"ɵbc"}],"providers":[{"__symbolic":"reference","name":"ɵw"}],"entryComponents":[{"__symbolic":"reference","name":"ɵq"},{"__symbolic":"reference","name":"ɵr"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["options"],"defaults":[{}],"value":{"ngModule":{"__symbolic":"reference","name":"CoreModule"},"providers":[{"__symbolic":"reference","name":"ɵbe"},{"provide":{"__symbolic":"reference","module":"@ngxs/store","name":"NGXS_PLUGINS","line":90,"character":19},"useClass":{"__symbolic":"reference","name":"ɵbg"},"multi":true},{"provide":{"__symbolic":"reference","name":"ɵbf"},"useValue":{"__symbolic":"reference","name":"options"}},{"provide":{"__symbolic":"reference","module":"@angular/common/http","name":"HTTP_INTERCEPTORS","line":99,"character":19},"useClass":{"__symbolic":"reference","name":"ɵbh"},"multi":true},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_INITIALIZER","line":104,"character":19},"multi":true,"deps":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":106,"character":17}],"useFactory":{"__symbolic":"reference","name":"ɵbi"}},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_INITIALIZER","line":110,"character":19},"multi":true,"deps":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":112,"character":17}],"useFactory":{"__symbolic":"reference","name":"ɵbj"}}]}}}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"State","line":6,"character":1},"arguments":[{"name":"ProfileState","defaults":{}}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵb"}]}],"getProfile":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":18,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵd"}]}]}],"updateProfile":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":29,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵe"}]}]}],"changePassword":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":40,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵf"}]}]}]},"statics":{"getProfile":{"__symbolic":"function","parameters":["profile"],"value":{"__symbolic":"reference","name":"profile"}}}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵc"}]}],"get":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"changePassword":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":9,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":13,"character":28},{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":13,"character":55}]}],"handleError":[{"__symbolic":"method"}],"request":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵd":{"__symbolic":"class","members":{},"statics":{"type":"[Profile] Get"}},"ɵe":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵg"},"member":"Response"}]}]},"statics":{"type":"[Profile] Update"}},"ɵf":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵg"},"member":"ChangePasswordRequest"}]}]},"statics":{"type":"[Profile] Change Password"}},"ɵh":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"State","line":8,"character":1},"arguments":[{"name":"SessionState","defaults":{}}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵi"}]}],"setLanguage":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":25,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵj"}]}]}],"setTenant":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":36,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵk"}]}]}]},"statics":{"getLanguage":{"__symbolic":"function","parameters":["language"],"value":{"__symbolic":"reference","name":"language"}},"getTenant":{"__symbolic":"function","parameters":["tenant"],"value":{"__symbolic":"reference","name":"tenant"}}}},"ɵi":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":10,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":20,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf","line":21,"character":5}}]],"parameters":[{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":17,"character":19},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":18,"character":20},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":19,"character":20},{"__symbolic":"reference","name":"ɵi"}]}],"setRouteReuse":[{"__symbolic":"method"}],"registerLocale":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"instant":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵj":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]},"statics":{"type":"[Session] Set Language"}},"ɵk":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵl"},"member":"BasicItem"}]}]},"statics":{"type":"[Session] Set Tenant"}},"ɵm":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"State","line":22,"character":1},"arguments":[{"name":"ConfigState","defaults":{}}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵn"},{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":215,"character":19}]}],"addData":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":218,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵp"}]}]}],"patchRoute":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":241,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵo"}]}]}]},"statics":{"getAll":{"__symbolic":"function","parameters":["state"],"value":{"__symbolic":"reference","name":"state"}},"getApplicationInfo":{"__symbolic":"function","parameters":["state"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"state"},"member":"environment"},"member":"application"},"right":{}}}}},"ɵn":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":6,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵc"}]}],"getConfiguration":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵo":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Could not resolve type","line":4,"character":52,"context":{"typeName":"Partial"},"module":"./lib/actions/config.actions"}]}]},"statics":{"type":"[Config] Patch Route By Name"}},"ɵp":{"__symbolic":"class","members":{},"statics":{"type":"[Config] Get App Configuration"}},"ɵq":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"abp-router-outlet","template":"\n \n "}]}],"members":{}},"ɵr":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":11,"character":1},"arguments":[{"selector":"abp-dynamic-layout","template":"\n \n \n \n "}]}],"members":{"requirements$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Select","line":20,"character":3},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵm"},"member":"getOne"},"arguments":["requirements"]}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":24,"character":30},{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":24,"character":53},{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":24,"character":84}]}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ɵs":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"[autofocus]"}]}],"members":{"delay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":7,"character":3},"arguments":["autofocus"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":10,"character":29}]}],"ngAfterViewInit":[{"__symbolic":"method"}]}},"ɵt":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"[abpEllipsis]"}]}],"members":{"width":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":6,"character":3},"arguments":["abpEllipsis"]}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":9,"character":3},"arguments":["title"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"enabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3},"arguments":["abpEllipsisEnabled"]}]}],"inlineClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":16,"character":3},"arguments":["class.abp-ellipsis-inline"]}]}],"class":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":21,"character":3},"arguments":["class.abp-ellipsis"]}]}],"maxWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":26,"character":3},"arguments":["style.max-width"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":31,"character":29},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":31,"character":63}]}],"ngAfterViewInit":[{"__symbolic":"method"}]}},"ɵu":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":26,"character":1},"arguments":[{"selector":"[abpFor]"}]}],"members":{"items":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3},"arguments":["abpForOf"]}]}],"orderBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3},"arguments":["abpForOrderBy"]}]}],"orderDir":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3},"arguments":["abpForOrderDir"]}]}],"filterBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":3},"arguments":["abpForFilterBy"]}]}],"filterVal":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":3},"arguments":["abpForFilterVal"]}]}],"trackBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3},"arguments":["abpForTrackBy"]}]}],"compareBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3},"arguments":["abpForCompareBy"]}]}],"emptyRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":3},"arguments":["abpForEmptyRef"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Reference to non-exported class","line":18,"character":0,"context":{"className":"AbpForContext"},"module":"./lib/directives/for.directive"}]},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":68,"character":19},{"__symbolic":"reference","module":"@angular/core","name":"IterableDiffers","line":69,"character":21}]}],"iterateOverAppliedOperations":[{"__symbolic":"method"}],"iterateOverAttachedViews":[{"__symbolic":"method"}],"projectItems":[{"__symbolic":"method"}],"sortItems":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}]}},"ɵv":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":18,"character":1},"arguments":[{"selector":"form[ngSubmit][formGroup]"}]}],"members":{"debounce":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"notValidateOnSubmit":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"ngSubmit":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":29,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Self","line":34,"character":5}}],null,null],"parameters":[{"__symbolic":"reference","module":"@angular/forms","name":"FormGroupDirective","line":34,"character":40},{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":35,"character":29,"context":{"typeName":"HTMLFormElement"},"module":"./lib/directives/form-submit.directive"}]},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":36,"character":19}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"markAsDirty":[{"__symbolic":"method"}]}},"ɵw":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":6,"character":1},"arguments":[{"name":"abpLocalization"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":10,"character":29}]}],"transform":[{"__symbolic":"method"}]}},"ɵx":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":2,"character":1}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":3,"character":1},"arguments":[{"name":"abpSort"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"ɵy":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":18,"character":1},"arguments":[{"selector":"[abpPermission]"}]}],"members":{"condition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3},"arguments":["abpPermission"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":30,"character":5}}],null],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":27,"character":19},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":28,"character":22},{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":29,"character":19},{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":31,"character":19}]}],"check":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}]}},"ɵz":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"[abpVisibility]"}]}],"members":{"focusedElement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":3},"arguments":["abpVisibility"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":13,"character":15}}],null],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":13,"character":41},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":13,"character":71}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"disconnect":[{"__symbolic":"method"}],"removeFromDOM":[{"__symbolic":"method"}]}},"ɵba":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":5,"character":1},"arguments":[{"selector":"[input.debounce]"}]}],"members":{"debounce":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"debounceEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":12,"character":3},"arguments":["input.debounce"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":14,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ɵbb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"[click.stop]"}]}],"members":{"stopPropEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":9,"character":3},"arguments":["click.stop"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":11,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ɵbc":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"abp-abstract-ng-model","template":""}]}],"members":{"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":5,"character":3}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":7,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":22,"character":31}]}],"notifyValueChange":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"setDisabledState":[{"__symbolic":"method"}]}},"ɵbd":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"String"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵi"}]}],"toString":[{"__symbolic":"method"}],"valueOf":[{"__symbolic":"method"}]}},"ɵbe":{"provide":{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID","line":20,"character":11},"useClass":{"__symbolic":"reference","name":"ɵbd"},"deps":[{"__symbolic":"reference","name":"ɵi"}]},"ɵbf":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":8,"character":46},"arguments":["NGXS_CONFIG_PLUGIN_OPTIONS"]},"ɵbg":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":10,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":14,"character":15},"arguments":[{"__symbolic":"reference","name":"ɵbf"}]}],null],"parameters":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵl"},"member":"Root"},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":14,"character":93}]}],"handle":[{"__symbolic":"method"}]}},"ɵbh":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":8,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"angular-oauth2-oidc","name":"OAuthService","line":10,"character":36},{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":10,"character":65}]}],"intercept":[{"__symbolic":"method"}]}},"ɵbi":{"__symbolic":"function"},"ɵbj":{"__symbolic":"function"}},"origins":{"CoreModule":"./lib/core.module","ɵa":"./lib/states/profile.state","ɵb":"./lib/services/profile.service","ɵc":"./lib/services/rest.service","ɵd":"./lib/actions/profile.actions","ɵe":"./lib/actions/profile.actions","ɵf":"./lib/actions/profile.actions","ɵg":"./lib/models","ɵh":"./lib/states/session.state","ɵi":"./lib/services/localization.service","ɵj":"./lib/actions/session.actions","ɵk":"./lib/actions/session.actions","ɵl":"./lib/models","ɵm":"./lib/states/config.state","ɵn":"./lib/services/application-configuration.service","ɵo":"./lib/actions/config.actions","ɵp":"./lib/actions/config.actions","ɵq":"./lib/components/router-outlet.component","ɵr":"./lib/components/dynamic-layout.component","ɵs":"./lib/directives/autofocus.directive","ɵt":"./lib/directives/ellipsis.directive","ɵu":"./lib/directives/for.directive","ɵv":"./lib/directives/form-submit.directive","ɵw":"./lib/pipes/localization.pipe","ɵx":"./lib/pipes/sort.pipe","ɵy":"./lib/directives/permission.directive","ɵz":"./lib/directives/visibility.directive","ɵba":"./lib/directives/debounce.directive","ɵbb":"./lib/directives/stop-propagation.directive","ɵbc":"./lib/abstracts/ng-model.component","ɵbd":"./lib/providers/locale.provider","ɵbe":"./lib/providers/locale.provider","ɵbf":"./lib/plugins/config.plugin","ɵbg":"./lib/plugins/config.plugin","ɵbh":"./lib/interceptors/api.interceptor","ɵbi":"./lib/utils/initial-utils","ɵbj":"./lib/utils/initial-utils"},"importAs":"@abp/ng.core"} \ No newline at end of file diff --git a/npm/ng-packs/dist/core/bundles/abp-ng.core.umd.js b/npm/ng-packs/dist/core/bundles/abp-ng.core.umd.js deleted file mode 100644 index a4b6655fade..00000000000 --- a/npm/ng-packs/dist/core/bundles/abp-ng.core.umd.js +++ /dev/null @@ -1,4644 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/router'), require('@ngxs/store'), require('rxjs'), require('snq'), require('rxjs/operators'), require('@angular/common/http'), require('@angular/common'), require('just-compare'), require('just-clone'), require('@angular/forms'), require('angular-oauth2-oidc'), require('@ngxs/router-plugin'), require('@ngxs/storage-plugin'), require('@ngx-validate/core')) : - typeof define === 'function' && define.amd ? define('@abp/ng.core', ['exports', '@angular/core', '@angular/router', '@ngxs/store', 'rxjs', 'snq', 'rxjs/operators', '@angular/common/http', '@angular/common', 'just-compare', 'just-clone', '@angular/forms', 'angular-oauth2-oidc', '@ngxs/router-plugin', '@ngxs/storage-plugin', '@ngx-validate/core'], factory) : - (global = global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng.core = {}), global.ng.core, global.ng.router, global.store, global.rxjs, global.snq, global.rxjs.operators, global.ng.common.http, global.ng.common, global.compare, global.clone, global.ng.forms, global.angularOauth2Oidc, global.routerPlugin, global.storagePlugin, global.core$1)); -}(this, (function (exports, core, router, store, rxjs, snq, operators, http, common, compare, clone, forms, angularOauth2Oidc, routerPlugin, storagePlugin, core$1) { 'use strict'; - - snq = snq && snq.hasOwnProperty('default') ? snq['default'] : snq; - compare = compare && compare.hasOwnProperty('default') ? compare['default'] : compare; - clone = clone && clone.hasOwnProperty('default') ? clone['default'] : clone; - - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ - /* global Reflect, Promise */ - - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - - function __extends(d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - } - - var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); - }; - - function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; - } - - function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; - } - - function __param(paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } - } - - function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); - } - - function __awaiter(thisArg, _arguments, P, generator) { - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - } - - function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (_) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } - } - - function __exportStar(m, exports) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; - } - - function __values(o) { - var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0; - if (m) return m.call(o); - return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; - } - - function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; - } - - function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; - } - - function __spreadArrays() { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; - for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; - return r; - }; - - function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); - } - - function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } - } - - function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } - } - - function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); - function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } - } - - function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; - }; - - function __importStar(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result.default = mod; - return result; - } - - function __importDefault(mod) { - return (mod && mod.__esModule) ? mod : { default: mod }; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/abstracts/ng-model.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * @template T - */ - var AbstractNgModelComponent = /** @class */ (function () { - function AbstractNgModelComponent(injector) { - this.injector = injector; - this.cdRef = injector.get((/** @type {?} */ (core.ChangeDetectorRef))); - } - Object.defineProperty(AbstractNgModelComponent.prototype, "value", { - get: /** - * @return {?} - */ - function () { - return this._value; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - this._value = value; - this.notifyValueChange(); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - AbstractNgModelComponent.prototype.notifyValueChange = /** - * @return {?} - */ - function () { - if (this.onChange) { - this.onChange(this.value); - } - }; - /** - * @param {?} value - * @return {?} - */ - AbstractNgModelComponent.prototype.writeValue = /** - * @param {?} value - * @return {?} - */ - function (value) { - var _this = this; - this._value = value; - setTimeout((/** - * @return {?} - */ - function () { return _this.cdRef.detectChanges(); }), 0); - }; - /** - * @param {?} fn - * @return {?} - */ - AbstractNgModelComponent.prototype.registerOnChange = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - this.onChange = fn; - }; - /** - * @param {?} fn - * @return {?} - */ - AbstractNgModelComponent.prototype.registerOnTouched = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - this.onTouched = fn; - }; - /** - * @param {?} isDisabled - * @return {?} - */ - AbstractNgModelComponent.prototype.setDisabledState = /** - * @param {?} isDisabled - * @return {?} - */ - function (isDisabled) { - this.disabled = isDisabled; - }; - AbstractNgModelComponent.decorators = [ - { type: core.Component, args: [{ selector: 'abp-abstract-ng-model', template: '' }] } - ]; - /** @nocollapse */ - AbstractNgModelComponent.ctorParameters = function () { return [ - { type: core.Injector } - ]; }; - AbstractNgModelComponent.propDecorators = { - disabled: [{ type: core.Input }], - value: [{ type: core.Input }] - }; - return AbstractNgModelComponent; - }()); - if (false) { - /** @type {?} */ - AbstractNgModelComponent.prototype.disabled; - /** @type {?} */ - AbstractNgModelComponent.prototype.onChange; - /** @type {?} */ - AbstractNgModelComponent.prototype.onTouched; - /** - * @type {?} - * @protected - */ - AbstractNgModelComponent.prototype._value; - /** - * @type {?} - * @protected - */ - AbstractNgModelComponent.prototype.cdRef; - /** @type {?} */ - AbstractNgModelComponent.prototype.injector; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/abstracts/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/actions/config.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var PatchRouteByName = /** @class */ (function () { - function PatchRouteByName(name, newValue) { - this.name = name; - this.newValue = newValue; - } - PatchRouteByName.type = '[Config] Patch Route By Name'; - return PatchRouteByName; - }()); - if (false) { - /** @type {?} */ - PatchRouteByName.type; - /** @type {?} */ - PatchRouteByName.prototype.name; - /** @type {?} */ - PatchRouteByName.prototype.newValue; - } - var GetAppConfiguration = /** @class */ (function () { - function GetAppConfiguration() { - } - GetAppConfiguration.type = '[Config] Get App Configuration'; - return GetAppConfiguration; - }()); - if (false) { - /** @type {?} */ - GetAppConfiguration.type; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/actions/loader.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var StartLoader = /** @class */ (function () { - function StartLoader(payload) { - this.payload = payload; - } - StartLoader.type = '[Loader] Start'; - return StartLoader; - }()); - if (false) { - /** @type {?} */ - StartLoader.type; - /** @type {?} */ - StartLoader.prototype.payload; - } - var StopLoader = /** @class */ (function () { - function StopLoader(payload) { - this.payload = payload; - } - StopLoader.type = '[Loader] Stop'; - return StopLoader; - }()); - if (false) { - /** @type {?} */ - StopLoader.type; - /** @type {?} */ - StopLoader.prototype.payload; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/actions/profile.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var GetProfile = /** @class */ (function () { - function GetProfile() { - } - GetProfile.type = '[Profile] Get'; - return GetProfile; - }()); - if (false) { - /** @type {?} */ - GetProfile.type; - } - var UpdateProfile = /** @class */ (function () { - function UpdateProfile(payload) { - this.payload = payload; - } - UpdateProfile.type = '[Profile] Update'; - return UpdateProfile; - }()); - if (false) { - /** @type {?} */ - UpdateProfile.type; - /** @type {?} */ - UpdateProfile.prototype.payload; - } - var ChangePassword = /** @class */ (function () { - function ChangePassword(payload) { - this.payload = payload; - } - ChangePassword.type = '[Profile] Change Password'; - return ChangePassword; - }()); - if (false) { - /** @type {?} */ - ChangePassword.type; - /** @type {?} */ - ChangePassword.prototype.payload; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/actions/rest.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var RestOccurError = /** @class */ (function () { - function RestOccurError(payload) { - this.payload = payload; - } - RestOccurError.type = '[Rest] Error'; - return RestOccurError; - }()); - if (false) { - /** @type {?} */ - RestOccurError.type; - /** @type {?} */ - RestOccurError.prototype.payload; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/actions/session.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var SetLanguage = /** @class */ (function () { - function SetLanguage(payload) { - this.payload = payload; - } - SetLanguage.type = '[Session] Set Language'; - return SetLanguage; - }()); - if (false) { - /** @type {?} */ - SetLanguage.type; - /** @type {?} */ - SetLanguage.prototype.payload; - } - var SetTenant = /** @class */ (function () { - function SetTenant(payload) { - this.payload = payload; - } - SetTenant.type = '[Session] Set Tenant'; - return SetTenant; - }()); - if (false) { - /** @type {?} */ - SetTenant.type; - /** @type {?} */ - SetTenant.prototype.payload; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/rest.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var RestService = /** @class */ (function () { - function RestService(http, store) { - this.http = http; - this.store = store; - } - /** - * @param {?} err - * @return {?} - */ - RestService.prototype.handleError = /** - * @param {?} err - * @return {?} - */ - function (err) { - this.store.dispatch(new RestOccurError(err)); - console.error(err); - return rxjs.throwError(err); - }; - /** - * @template T, R - * @param {?} request - * @param {?=} config - * @param {?=} api - * @return {?} - */ - RestService.prototype.request = /** - * @template T, R - * @param {?} request - * @param {?=} config - * @param {?=} api - * @return {?} - */ - function (request, config, api) { - var _this = this; - config = config || ((/** @type {?} */ ({}))); - var _a = config.observe, observe = _a === void 0 ? "body" /* Body */ : _a, skipHandleError = config.skipHandleError; - /** @type {?} */ - var url = (api || this.store.selectSnapshot(ConfigState.getApiUrl())) + request.url; - var method = request.method, params = request.params, options = __rest(request, ["method", "params"]); - return this.http - .request(method, url, (/** @type {?} */ (__assign({ observe: observe }, (params && { - params: Object.keys(params).reduce((/** - * @param {?} acc - * @param {?} key - * @return {?} - */ - function (acc, key) { - var _a; - return (__assign({}, acc, (typeof params[key] !== 'undefined' && params[key] !== '' && (_a = {}, _a[key] = params[key], _a)))); - }), {}), - }), options)))) - .pipe(observe === "body" /* Body */ ? operators.take(1) : operators.tap(), operators.catchError((/** - * @param {?} err - * @return {?} - */ - function (err) { - if (skipHandleError) { - return rxjs.throwError(err); - } - return _this.handleError(err); - }))); - }; - RestService.decorators = [ - { type: core.Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - RestService.ctorParameters = function () { return [ - { type: http.HttpClient }, - { type: store.Store } - ]; }; - /** @nocollapse */ RestService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function RestService_Factory() { return new RestService(core.ɵɵinject(http.HttpClient), core.ɵɵinject(store.Store)); }, token: RestService, providedIn: "root" }); - return RestService; - }()); - if (false) { - /** - * @type {?} - * @private - */ - RestService.prototype.http; - /** - * @type {?} - * @private - */ - RestService.prototype.store; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/application-configuration.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ApplicationConfigurationService = /** @class */ (function () { - function ApplicationConfigurationService(rest) { - this.rest = rest; - } - /** - * @return {?} - */ - ApplicationConfigurationService.prototype.getConfiguration = /** - * @return {?} - */ - function () { - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/abp/application-configuration', - }; - return this.rest.request(request); - }; - ApplicationConfigurationService.decorators = [ - { type: core.Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - ApplicationConfigurationService.ctorParameters = function () { return [ - { type: RestService } - ]; }; - /** @nocollapse */ ApplicationConfigurationService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function ApplicationConfigurationService_Factory() { return new ApplicationConfigurationService(core.ɵɵinject(RestService)); }, token: ApplicationConfigurationService, providedIn: "root" }); - return ApplicationConfigurationService; - }()); - if (false) { - /** - * @type {?} - * @private - */ - ApplicationConfigurationService.prototype.rest; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/utils/route-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * @param {?} routes - * @param {?=} wrappers - * @param {?=} parentNameArr - * @param {?=} parentName - * @return {?} - */ - function organizeRoutes(routes, wrappers, parentNameArr, parentName) { - if (wrappers === void 0) { wrappers = []; } - if (parentNameArr === void 0) { parentNameArr = (/** @type {?} */ ([])); } - if (parentName === void 0) { parentName = null; } - /** @type {?} */ - var filter = (/** - * @param {?} route - * @return {?} - */ - function (route) { - if (route.children && route.children.length) { - route.children = organizeRoutes(route.children, wrappers, parentNameArr, route.name); - } - if (route.parentName && route.parentName !== parentName) { - parentNameArr.push(route); - return false; - } - return true; - }); - if (parentName) { - // recursive block - return routes.filter(filter); - } - /** @type {?} */ - var filteredRoutes = routes.filter(filter); - if (parentNameArr.length) { - return sortRoutes(setChildRoute(__spread(filteredRoutes, wrappers), parentNameArr)); - } - return filteredRoutes; - } - /** - * @param {?} routes - * @param {?} parentNameArr - * @return {?} - */ - function setChildRoute(routes, parentNameArr) { - return routes.map((/** - * @param {?} route - * @return {?} - */ - function (route) { - if (route.children && route.children.length) { - route.children = setChildRoute(route.children, parentNameArr); - } - /** @type {?} */ - var foundedChildren = parentNameArr.filter((/** - * @param {?} parent - * @return {?} - */ - function (parent) { return parent.parentName === route.name; })); - if (foundedChildren && foundedChildren.length) { - route.children = __spread((route.children || []), foundedChildren); - } - return route; - })); - } - /** - * @param {?=} routes - * @return {?} - */ - function sortRoutes(routes) { - if (routes === void 0) { routes = []; } - if (!routes.length) - return []; - return routes - .map((/** - * @param {?} route - * @param {?} index - * @return {?} - */ - function (route, index) { - return __assign({}, route, { order: typeof route.order === 'undefined' ? index + 1 : route.order }); - })) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - function (a, b) { return a.order - b.order; })) - .map((/** - * @param {?} route - * @return {?} - */ - function (route) { - if (route.children && route.children.length) { - route.children = sortRoutes(route.children); - } - return route; - })); - } - /** @type {?} */ - var ABP_ROUTES = (/** @type {?} */ ([])); - /** - * @param {?} routes - * @return {?} - */ - function addAbpRoutes(routes) { - if (!Array.isArray(routes)) { - routes = [routes]; - } - ABP_ROUTES.push.apply(ABP_ROUTES, __spread(routes)); - } - /** - * @return {?} - */ - function getAbpRoutes() { - return ABP_ROUTES; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/constants/different-locales.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - // Different locales from .NET - // Key is .NET locale, value is Angular locale - var localesMapping = { - 'ar-sa': 'ar-SA', - 'ca-ES-valencia': 'ca-ES-VALENCIA', - 'de-de': 'de', - 'es-ES': 'es', - 'en-US': 'en', - 'fil-Latn': 'en', - 'ku-Arab': 'en', - 'ky-Cyrl': 'en', - 'mi-Latn': 'en', - 'prs-Arab': 'en', - 'qut-Latn': 'en', - nso: 'en', - quz: 'en', - 'fr-FR': 'fr', - 'gd-Latn': 'gd', - 'ha-Latn': 'ha', - 'ig-Latn': 'ig', - 'it-it': 'it', - 'mn-Cyrl': 'mn', - 'pt-BR': 'pt', - 'sd-Arab': 'pa-Arab', - 'sr-Cyrl-RS': 'sr-Cyrl', - 'sr-Latn-RS': 'sr-Latn', - 'tg-Cyrl': 'tg', - 'tk-Latn': 'tk', - 'tt-Cyrl': 'tt', - 'ug-Arab': 'ug', - 'yo-Latn': 'yo', - }; - - /** - * @fileoverview added by tsickle - * Generated from: lib/utils/initial-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * @param {?} injector - * @return {?} - */ - function getInitialData(injector) { - /** @type {?} */ - var fn = (/** - * @return {?} - */ - function () { - /** @type {?} */ - var store$1 = injector.get(store.Store); - return store$1.dispatch(new GetAppConfiguration()).toPromise(); - }); - return fn; - } - /** - * @param {?} injector - * @return {?} - */ - function localeInitializer(injector) { - /** @type {?} */ - var fn = (/** - * @return {?} - */ - function () { - /** @type {?} */ - var store$1 = injector.get(store.Store); - /** @type {?} */ - var lang = store$1.selectSnapshot((/** - * @param {?} state - * @return {?} - */ - function (state) { return state.SessionState.language; })) || 'en'; - return new Promise((/** - * @param {?} resolve - * @param {?} reject - * @return {?} - */ - function (resolve, reject) { - registerLocale(lang).then((/** - * @return {?} - */ - function () { return resolve('resolved'); }), reject); - })); - }); - return fn; - } - /** - * @param {?} locale - * @return {?} - */ - function registerLocale(locale) { - return import( - /* webpackInclude: /(af|am|ar-SA|as|az-Latn|be|bg|bn-BD|bn-IN|bs|ca|ca-ES-VALENCIA|cs|cy|da|de|de|el|en-GB|en|es|en|es-US|es-MX|et|eu|fa|fi|en|fr|fr|fr-CA|ga|gd|gl|gu|ha|he|hi|hr|hu|hy|id|ig|is|it|it|ja|ka|kk|km|kn|ko|kok|en|en|lb|lt|lv|en|mk|ml|mn|mr|ms|mt|nb|ne|nl|nl-BE|nn|en|or|pa|pa-Arab|pl|en|pt|pt-PT|en|en|ro|ru|rw|pa-Arab|si|sk|sl|sq|sr-Cyrl-BA|sr-Cyrl|sr-Latn|sv|sw|ta|te|tg|th|ti|tk|tn|tr|tt|ug|uk|ur|uz-Latn|vi|wo|xh|yo|zh-Hans|zh-Hant|zu)\.js$/ */ - "@angular/common/locales/" + (localesMapping[locale] || locale) + ".js").then((/** - * @param {?} module - * @return {?} - */ - function (module) { - common.registerLocaleData(module.default); - })); - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/localization.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var LocalizationService = /** @class */ (function () { - function LocalizationService(store, router, ngZone, otherInstance) { - this.store = store; - this.router = router; - this.ngZone = ngZone; - if (otherInstance) - throw new Error('LocalizationService should have only one instance.'); - } - Object.defineProperty(LocalizationService.prototype, "currentLang", { - get: /** - * @return {?} - */ - function () { - return this.store.selectSnapshot((/** - * @param {?} state - * @return {?} - */ - function (state) { return state.SessionState.language; })); - }, - enumerable: true, - configurable: true - }); - /** - * @param {?} reuse - * @return {?} - */ - LocalizationService.prototype.setRouteReuse = /** - * @param {?} reuse - * @return {?} - */ - function (reuse) { - this.router.routeReuseStrategy.shouldReuseRoute = reuse; - }; - /** - * @param {?} locale - * @return {?} - */ - LocalizationService.prototype.registerLocale = /** - * @param {?} locale - * @return {?} - */ - function (locale) { - var _this = this; - var shouldReuseRoute = this.router.routeReuseStrategy.shouldReuseRoute; - this.setRouteReuse((/** - * @return {?} - */ - function () { return false; })); - this.router.navigated = false; - return registerLocale(locale).then((/** - * @return {?} - */ - function () { - _this.ngZone.run((/** - * @return {?} - */ - function () { return __awaiter(_this, void 0, void 0, function () { - return __generator(this, function (_a) { - switch (_a.label) { - case 0: return [4 /*yield*/, this.router.navigateByUrl(this.router.url).catch(rxjs.noop)]; - case 1: - _a.sent(); - this.setRouteReuse(shouldReuseRoute); - return [2 /*return*/]; - } - }); - }); })); - })); - }; - /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - LocalizationService.prototype.get = /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - function (key) { - var interpolateParams = []; - for (var _i = 1; _i < arguments.length; _i++) { - interpolateParams[_i - 1] = arguments[_i]; - } - return this.store.select(ConfigState.getLocalization.apply(ConfigState, __spread([key], interpolateParams))); - }; - /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - LocalizationService.prototype.instant = /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - function (key) { - var interpolateParams = []; - for (var _i = 1; _i < arguments.length; _i++) { - interpolateParams[_i - 1] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getLocalization.apply(ConfigState, __spread([key], interpolateParams))); - }; - LocalizationService.decorators = [ - { type: core.Injectable, args: [{ providedIn: 'root' },] } - ]; - /** @nocollapse */ - LocalizationService.ctorParameters = function () { return [ - { type: store.Store }, - { type: router.Router }, - { type: core.NgZone }, - { type: LocalizationService, decorators: [{ type: core.Optional }, { type: core.SkipSelf }] } - ]; }; - /** @nocollapse */ LocalizationService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function LocalizationService_Factory() { return new LocalizationService(core.ɵɵinject(store.Store), core.ɵɵinject(router.Router), core.ɵɵinject(core.NgZone), core.ɵɵinject(LocalizationService, 12)); }, token: LocalizationService, providedIn: "root" }); - return LocalizationService; - }()); - if (false) { - /** - * @type {?} - * @private - */ - LocalizationService.prototype.store; - /** - * @type {?} - * @private - */ - LocalizationService.prototype.router; - /** - * @type {?} - * @private - */ - LocalizationService.prototype.ngZone; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/states/session.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var SessionState = /** @class */ (function () { - function SessionState(localizationService) { - this.localizationService = localizationService; - } - /** - * @param {?} __0 - * @return {?} - */ - SessionState.getLanguage = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var language = _a.language; - return language; - }; - /** - * @param {?} __0 - * @return {?} - */ - SessionState.getTenant = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var tenant = _a.tenant; - return tenant; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - SessionState.prototype.setLanguage = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var _this = this; - var patchState = _a.patchState, dispatch = _a.dispatch; - var payload = _b.payload; - patchState({ - language: payload, - }); - return dispatch(new GetAppConfiguration()).pipe(operators.switchMap((/** - * @return {?} - */ - function () { return rxjs.from(_this.localizationService.registerLocale(payload)); }))); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - SessionState.prototype.setTenant = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - patchState({ - tenant: payload, - }); - }; - SessionState.ctorParameters = function () { return [ - { type: LocalizationService } - ]; }; - __decorate([ - store.Action(SetLanguage), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, SetLanguage]), - __metadata("design:returntype", void 0) - ], SessionState.prototype, "setLanguage", null); - __decorate([ - store.Action(SetTenant), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, SetTenant]), - __metadata("design:returntype", void 0) - ], SessionState.prototype, "setTenant", null); - __decorate([ - store.Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", String) - ], SessionState, "getLanguage", null); - __decorate([ - store.Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Object) - ], SessionState, "getTenant", null); - SessionState = __decorate([ - store.State({ - name: 'SessionState', - defaults: (/** @type {?} */ ({})), - }), - __metadata("design:paramtypes", [LocalizationService]) - ], SessionState); - return SessionState; - }()); - if (false) { - /** - * @type {?} - * @private - */ - SessionState.prototype.localizationService; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/states/config.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ConfigState = /** @class */ (function () { - function ConfigState(appConfigurationService, store) { - this.appConfigurationService = appConfigurationService; - this.store = store; - } - ConfigState_1 = ConfigState; - /** - * @param {?} state - * @return {?} - */ - ConfigState.getAll = /** - * @param {?} state - * @return {?} - */ - function (state) { - return state; - }; - /** - * @param {?} state - * @return {?} - */ - ConfigState.getApplicationInfo = /** - * @param {?} state - * @return {?} - */ - function (state) { - return state.environment.application || ((/** @type {?} */ ({}))); - }; - /** - * @param {?} key - * @return {?} - */ - ConfigState.getOne = /** - * @param {?} key - * @return {?} - */ - function (key) { - /** @type {?} */ - var selector = store.createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - return state[key]; - })); - return selector; - }; - /** - * @param {?} keys - * @return {?} - */ - ConfigState.getDeep = /** - * @param {?} keys - * @return {?} - */ - function (keys) { - if (typeof keys === 'string') { - keys = keys.split('.'); - } - if (!Array.isArray(keys)) { - throw new Error('The argument must be a dot string or an string array.'); - } - /** @type {?} */ - var selector = store.createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - return ((/** @type {?} */ (keys))).reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { - if (acc) { - return acc[val]; - } - return undefined; - }), state); - })); - return selector; - }; - /** - * @param {?=} path - * @param {?=} name - * @param {?=} url - * @return {?} - */ - ConfigState.getRoute = /** - * @param {?=} path - * @param {?=} name - * @param {?=} url - * @return {?} - */ - function (path, name, url) { - /** @type {?} */ - var selector = store.createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - var flattedRoutes = state.flattedRoutes; - return ((/** @type {?} */ (flattedRoutes))).find((/** - * @param {?} route - * @return {?} - */ - function (route) { - if (path && route.path === path) { - return route; - } - else if (name && route.name === name) { - return route; - } - else if (url && route.url === url) { - return route; - } - })); - })); - return selector; - }; - /** - * @param {?=} key - * @return {?} - */ - ConfigState.getApiUrl = /** - * @param {?=} key - * @return {?} - */ - function (key) { - /** @type {?} */ - var selector = store.createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - return state.environment.apis[key || 'default'].url; - })); - return selector; - }; - /** - * @param {?} key - * @return {?} - */ - ConfigState.getSetting = /** - * @param {?} key - * @return {?} - */ - function (key) { - /** @type {?} */ - var selector = store.createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - return snq((/** - * @return {?} - */ - function () { return state.setting.values[key]; })); - })); - return selector; - }; - /** - * @param {?=} keyword - * @return {?} - */ - ConfigState.getSettings = /** - * @param {?=} keyword - * @return {?} - */ - function (keyword) { - /** @type {?} */ - var selector = store.createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - if (keyword) { - /** @type {?} */ - var keys = snq((/** - * @return {?} - */ - function () { - return Object.keys(state.setting.values).filter((/** - * @param {?} key - * @return {?} - */ - function (key) { return key.indexOf(keyword) > -1; })); - }), []); - if (keys.length) { - return keys.reduce((/** - * @param {?} acc - * @param {?} key - * @return {?} - */ - function (acc, key) { - var _a; - return (__assign({}, acc, (_a = {}, _a[key] = state.setting.values[key], _a))); - }), {}); - } - } - return snq((/** - * @return {?} - */ - function () { return state.setting.values; }), {}); - })); - return selector; - }; - /** - * @param {?} key - * @return {?} - */ - ConfigState.getGrantedPolicy = /** - * @param {?} key - * @return {?} - */ - function (key) { - /** @type {?} */ - var selector = store.createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - if (!key) - return true; - /** @type {?} */ - var getPolicy = (/** - * @param {?} k - * @return {?} - */ - function (k) { return snq((/** - * @return {?} - */ - function () { return state.auth.grantedPolicies[k]; }), false); }); - /** @type {?} */ - var orRegexp = /\|\|/g; - /** @type {?} */ - var andRegexp = /&&/g; - if (orRegexp.test(key)) { - /** @type {?} */ - var keys = key.split('||').filter((/** - * @param {?} k - * @return {?} - */ - function (k) { return !!k; })); - if (keys.length !== 2) - return false; - return getPolicy(keys[0].trim()) || getPolicy(keys[1].trim()); - } - else if (andRegexp.test(key)) { - /** @type {?} */ - var keys = key.split('&&').filter((/** - * @param {?} k - * @return {?} - */ - function (k) { return !!k; })); - if (keys.length !== 2) - return false; - return getPolicy(keys[0].trim()) && getPolicy(keys[1].trim()); - } - return getPolicy(key); - })); - return selector; - }; - /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - ConfigState.getLocalization = /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - function (key) { - var interpolateParams = []; - for (var _i = 1; _i < arguments.length; _i++) { - interpolateParams[_i - 1] = arguments[_i]; - } - /** @type {?} */ - var defaultValue; - if (typeof key !== 'string') { - defaultValue = key.defaultValue; - key = key.key; - } - if (!key) - key = ''; - /** @type {?} */ - var keys = (/** @type {?} */ (key.split('::'))); - /** @type {?} */ - var selector = store.createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - if (!state.localization) - return defaultValue || key; - var defaultResourceName = state.environment.localization.defaultResourceName; - if (keys[0] === '') { - if (!defaultResourceName) { - throw new Error("Please check your environment. May you forget set defaultResourceName?\n Here is the example:\n { production: false,\n localization: {\n defaultResourceName: 'MyProjectName'\n }\n }"); - } - keys[0] = snq((/** - * @return {?} - */ - function () { return defaultResourceName; })); - } - /** @type {?} */ - var localization = ((/** @type {?} */ (keys))).reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { - if (acc) { - return acc[val]; - } - return undefined; - }), state.localization.values); - interpolateParams = interpolateParams.filter((/** - * @param {?} params - * @return {?} - */ - function (params) { return params != null; })); - if (localization && interpolateParams && interpolateParams.length) { - interpolateParams.forEach((/** - * @param {?} param - * @return {?} - */ - function (param) { - localization = localization.replace(/[\'\"]?\{[\d]+\}[\'\"]?/, param); - })); - } - if (typeof localization !== 'string') - localization = ''; - return localization || defaultValue || key; - })); - return selector; - }; - /** - * @param {?} __0 - * @return {?} - */ - ConfigState.prototype.addData = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var _this = this; - var patchState = _a.patchState, dispatch = _a.dispatch; - return this.appConfigurationService.getConfiguration().pipe(operators.tap((/** - * @param {?} configuration - * @return {?} - */ - function (configuration) { - return patchState(__assign({}, configuration)); - })), operators.switchMap((/** - * @param {?} configuration - * @return {?} - */ - function (configuration) { - /** @type {?} */ - var defaultLang = configuration.setting.values['Abp.Localization.DefaultLanguage']; - if (defaultLang.includes(';')) { - defaultLang = defaultLang.split(';')[0]; - } - return _this.store.selectSnapshot(SessionState.getLanguage) - ? rxjs.of(null) - : dispatch(new SetLanguage(defaultLang)); - }))); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - ConfigState.prototype.patchRoute = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState, getState = _a.getState; - var name = _b.name, newValue = _b.newValue; - /** @type {?} */ - var routes = getState().routes; - /** @type {?} */ - var index = routes.findIndex((/** - * @param {?} route - * @return {?} - */ - function (route) { return route.name === name; })); - routes = patchRouteDeep(routes, name, newValue); - return patchState({ - routes: routes, - }); - }; - var ConfigState_1; - ConfigState.ctorParameters = function () { return [ - { type: ApplicationConfigurationService }, - { type: store.Store } - ]; }; - __decorate([ - store.Action(GetAppConfiguration), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", void 0) - ], ConfigState.prototype, "addData", null); - __decorate([ - store.Action(PatchRouteByName), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, PatchRouteByName]), - __metadata("design:returntype", void 0) - ], ConfigState.prototype, "patchRoute", null); - __decorate([ - store.Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", void 0) - ], ConfigState, "getAll", null); - __decorate([ - store.Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Object) - ], ConfigState, "getApplicationInfo", null); - ConfigState = ConfigState_1 = __decorate([ - store.State({ - name: 'ConfigState', - defaults: (/** @type {?} */ ({})), - }), - __metadata("design:paramtypes", [ApplicationConfigurationService, - store.Store]) - ], ConfigState); - return ConfigState; - }()); - if (false) { - /** - * @type {?} - * @private - */ - ConfigState.prototype.appConfigurationService; - /** - * @type {?} - * @private - */ - ConfigState.prototype.store; - } - /** - * @param {?} routes - * @param {?} name - * @param {?} newValue - * @param {?=} parentUrl - * @return {?} - */ - function patchRouteDeep(routes, name, newValue, parentUrl) { - if (parentUrl === void 0) { parentUrl = ''; } - routes = routes.map((/** - * @param {?} route - * @return {?} - */ - function (route) { - if (route.name === name) { - newValue.url = parentUrl + "/" + ((!newValue.path && newValue.path === '' - ? route.path - : newValue.path) || ''); - if (newValue.children && newValue.children.length) { - newValue.children = newValue.children.map((/** - * @param {?} child - * @return {?} - */ - function (child) { return (__assign({}, child, { url: (newValue.url + "/" + child.path).replace('//', '/') })); })); - } - return __assign({}, route, newValue); - } - else if (route.children && route.children.length) { - route.children = patchRouteDeep(route.children, name, newValue, (parentUrl || '/') + route.path); - } - return route; - })); - if (parentUrl) { - // recursive block - return routes; - } - return organizeRoutes(routes); - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/utils/rxjs-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * @param {?} value - * @return {?} - */ - function isFunction(value) { - return typeof value === 'function'; - } - /** @type {?} */ - var takeUntilDestroy = (/** - * @param {?} componentInstance - * @param {?=} destroyMethodName - * @return {?} - */ - function (componentInstance, destroyMethodName) { - if (destroyMethodName === void 0) { destroyMethodName = 'ngOnDestroy'; } - return (/** - * @template T - * @param {?} source - * @return {?} - */ - function (source) { - /** @type {?} */ - var originalDestroy = componentInstance[destroyMethodName]; - if (isFunction(originalDestroy) === false) { - throw new Error(componentInstance.constructor.name + " is using untilDestroyed but doesn't implement " + destroyMethodName); - } - if (!componentInstance['__takeUntilDestroy']) { - componentInstance['__takeUntilDestroy'] = new rxjs.Subject(); - componentInstance[destroyMethodName] = (/** - * @return {?} - */ - function () { - // tslint:disable-next-line: no-unused-expression - isFunction(originalDestroy) && originalDestroy.apply(this, arguments); - componentInstance['__takeUntilDestroy'].next(true); - componentInstance['__takeUntilDestroy'].complete(); - }); - } - return source.pipe(operators.takeUntil(componentInstance['__takeUntilDestroy'])); - }); - }); - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/dynamic-layout.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var DynamicLayoutComponent = /** @class */ (function () { - function DynamicLayoutComponent(router$1, route, store) { - var _this = this; - this.router = router$1; - this.route = route; - this.store = store; - var _a = this.store.selectSnapshot(ConfigState.getAll), layouts = _a.requirements.layouts, routes = _a.routes; - if ((this.route.snapshot.data || {}).layout) { - this.layout = layouts - .filter((/** - * @param {?} l - * @return {?} - */ - function (l) { return !!l; })) - .find((/** - * @param {?} l - * @return {?} - */ - function (l) { return snq((/** - * @return {?} - */ - function () { return l.type.toLowerCase().indexOf(_this.route.snapshot.data.layout); }), -1) > -1; })); - } - this.router.events.pipe(takeUntilDestroy(this)).subscribe((/** - * @param {?} event - * @return {?} - */ - function (event) { - if (event instanceof router.NavigationEnd) { - var segments = _this.router.parseUrl(event.url).root.children.primary.segments; - /** @type {?} */ - var layout_1 = (_this.route.snapshot.data || {}).layout || findLayout(segments, routes); - _this.layout = layouts - .filter((/** - * @param {?} l - * @return {?} - */ - function (l) { return !!l; })) - .find((/** - * @param {?} l - * @return {?} - */ - function (l) { return snq((/** - * @return {?} - */ - function () { return l.type.toLowerCase().indexOf(layout_1); }), -1) > -1; })); - } - })); - } - /** - * @return {?} - */ - DynamicLayoutComponent.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - DynamicLayoutComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-dynamic-layout', - template: "\n \n \n \n " - }] } - ]; - /** @nocollapse */ - DynamicLayoutComponent.ctorParameters = function () { return [ - { type: router.Router }, - { type: router.ActivatedRoute }, - { type: store.Store } - ]; }; - __decorate([ - store.Select(ConfigState.getOne('requirements')), - __metadata("design:type", rxjs.Observable) - ], DynamicLayoutComponent.prototype, "requirements$", void 0); - return DynamicLayoutComponent; - }()); - if (false) { - /** @type {?} */ - DynamicLayoutComponent.prototype.requirements$; - /** @type {?} */ - DynamicLayoutComponent.prototype.layout; - /** - * @type {?} - * @private - */ - DynamicLayoutComponent.prototype.router; - /** - * @type {?} - * @private - */ - DynamicLayoutComponent.prototype.route; - /** - * @type {?} - * @private - */ - DynamicLayoutComponent.prototype.store; - } - /** - * @param {?} segments - * @param {?} routes - * @return {?} - */ - function findLayout(segments, routes) { - /** @type {?} */ - var layout = "empty" /* empty */; - /** @type {?} */ - var route = routes - .reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { return (val.wrapper ? __spread(acc, val.children) : __spread(acc, [val])); }), []) - .find((/** - * @param {?} r - * @return {?} - */ - function (r) { return r.path === segments[0].path; })); - if (route) { - if (route.layout) { - layout = route.layout; - } - if (route.children && route.children.length && segments.length > 1) { - /** @type {?} */ - var child = route.children.find((/** - * @param {?} c - * @return {?} - */ - function (c) { return c.path === segments[1].path; })); - if (child && child.layout) { - layout = child.layout; - } - } - } - return layout; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/router-outlet.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var RouterOutletComponent = /** @class */ (function () { - function RouterOutletComponent() { - } - RouterOutletComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-router-outlet', - template: "\n \n " - }] } - ]; - return RouterOutletComponent; - }()); - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/constants/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/directives/autofocus.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var AutofocusDirective = /** @class */ (function () { - function AutofocusDirective(elRef) { - this.elRef = elRef; - this.delay = 0; - } - /** - * @return {?} - */ - AutofocusDirective.prototype.ngAfterViewInit = /** - * @return {?} - */ - function () { - var _this = this; - setTimeout((/** - * @return {?} - */ - function () { return _this.elRef.nativeElement.focus(); }), this.delay); - }; - AutofocusDirective.decorators = [ - { type: core.Directive, args: [{ - // tslint:disable-next-line: directive-selector - selector: '[autofocus]' - },] } - ]; - /** @nocollapse */ - AutofocusDirective.ctorParameters = function () { return [ - { type: core.ElementRef } - ]; }; - AutofocusDirective.propDecorators = { - delay: [{ type: core.Input, args: ['autofocus',] }] - }; - return AutofocusDirective; - }()); - if (false) { - /** @type {?} */ - AutofocusDirective.prototype.delay; - /** - * @type {?} - * @private - */ - AutofocusDirective.prototype.elRef; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/directives/ellipsis.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var EllipsisDirective = /** @class */ (function () { - function EllipsisDirective(cdRef, elRef) { - this.cdRef = cdRef; - this.elRef = elRef; - this.enabled = true; - } - Object.defineProperty(EllipsisDirective.prototype, "inlineClass", { - get: /** - * @return {?} - */ - function () { - return this.enabled && this.width; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(EllipsisDirective.prototype, "class", { - get: /** - * @return {?} - */ - function () { - return this.enabled && !this.width; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(EllipsisDirective.prototype, "maxWidth", { - get: /** - * @return {?} - */ - function () { - return this.enabled && this.width ? this.width || '170px' : undefined; - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - EllipsisDirective.prototype.ngAfterViewInit = /** - * @return {?} - */ - function () { - this.title = this.title || ((/** @type {?} */ (this.elRef.nativeElement))).innerText; - this.cdRef.detectChanges(); - }; - EllipsisDirective.decorators = [ - { type: core.Directive, args: [{ - selector: '[abpEllipsis]', - },] } - ]; - /** @nocollapse */ - EllipsisDirective.ctorParameters = function () { return [ - { type: core.ChangeDetectorRef }, - { type: core.ElementRef } - ]; }; - EllipsisDirective.propDecorators = { - width: [{ type: core.Input, args: ['abpEllipsis',] }], - title: [{ type: core.HostBinding, args: ['title',] }, { type: core.Input }], - enabled: [{ type: core.Input, args: ['abpEllipsisEnabled',] }], - inlineClass: [{ type: core.HostBinding, args: ['class.abp-ellipsis-inline',] }], - class: [{ type: core.HostBinding, args: ['class.abp-ellipsis',] }], - maxWidth: [{ type: core.HostBinding, args: ['style.max-width',] }] - }; - return EllipsisDirective; - }()); - if (false) { - /** @type {?} */ - EllipsisDirective.prototype.width; - /** @type {?} */ - EllipsisDirective.prototype.title; - /** @type {?} */ - EllipsisDirective.prototype.enabled; - /** - * @type {?} - * @private - */ - EllipsisDirective.prototype.cdRef; - /** - * @type {?} - * @private - */ - EllipsisDirective.prototype.elRef; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/directives/for.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var AbpForContext = /** @class */ (function () { - function AbpForContext($implicit, index, count, list) { - this.$implicit = $implicit; - this.index = index; - this.count = count; - this.list = list; - } - return AbpForContext; - }()); - if (false) { - /** @type {?} */ - AbpForContext.prototype.$implicit; - /** @type {?} */ - AbpForContext.prototype.index; - /** @type {?} */ - AbpForContext.prototype.count; - /** @type {?} */ - AbpForContext.prototype.list; - } - var RecordView = /** @class */ (function () { - function RecordView(record, view) { - this.record = record; - this.view = view; - } - return RecordView; - }()); - if (false) { - /** @type {?} */ - RecordView.prototype.record; - /** @type {?} */ - RecordView.prototype.view; - } - var ForDirective = /** @class */ (function () { - function ForDirective(tempRef, vcRef, differs) { - this.tempRef = tempRef; - this.vcRef = vcRef; - this.differs = differs; - } - Object.defineProperty(ForDirective.prototype, "compareFn", { - get: /** - * @return {?} - */ - function () { - return this.compareBy || compare; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ForDirective.prototype, "trackByFn", { - get: /** - * @return {?} - */ - function () { - return this.trackBy || ((/** - * @param {?} index - * @param {?} item - * @return {?} - */ - function (index, item) { return ((/** @type {?} */ (item))).id || index; })); - }, - enumerable: true, - configurable: true - }); - /** - * @private - * @param {?} changes - * @return {?} - */ - ForDirective.prototype.iterateOverAppliedOperations = /** - * @private - * @param {?} changes - * @return {?} - */ - function (changes) { - var _this = this; - /** @type {?} */ - var rw = []; - changes.forEachOperation((/** - * @param {?} record - * @param {?} previousIndex - * @param {?} currentIndex - * @return {?} - */ - function (record, previousIndex, currentIndex) { - if (record.previousIndex == null) { - /** @type {?} */ - var view = _this.vcRef.createEmbeddedView(_this.tempRef, new AbpForContext(null, -1, -1, _this.items), currentIndex); - rw.push(new RecordView(record, view)); - } - else if (currentIndex == null) { - _this.vcRef.remove(previousIndex); - } - else { - /** @type {?} */ - var view = _this.vcRef.get(previousIndex); - _this.vcRef.move(view, currentIndex); - rw.push(new RecordView(record, (/** @type {?} */ (view)))); - } - })); - for (var i = 0, l = rw.length; i < l; i++) { - rw[i].view.context.$implicit = rw[i].record.item; - } - }; - /** - * @private - * @param {?} changes - * @return {?} - */ - ForDirective.prototype.iterateOverAttachedViews = /** - * @private - * @param {?} changes - * @return {?} - */ - function (changes) { - var _this = this; - for (var i = 0, l = this.vcRef.length; i < l; i++) { - /** @type {?} */ - var viewRef = (/** @type {?} */ (this.vcRef.get(i))); - viewRef.context.index = i; - viewRef.context.count = l; - viewRef.context.list = this.items; - } - changes.forEachIdentityChange((/** - * @param {?} record - * @return {?} - */ - function (record) { - /** @type {?} */ - var viewRef = (/** @type {?} */ (_this.vcRef.get(record.currentIndex))); - viewRef.context.$implicit = record.item; - })); - }; - /** - * @private - * @param {?} items - * @return {?} - */ - ForDirective.prototype.projectItems = /** - * @private - * @param {?} items - * @return {?} - */ - function (items) { - if (!items.length && this.emptyRef) { - this.vcRef.clear(); - // tslint:disable-next-line: no-unused-expression - this.vcRef.createEmbeddedView(this.emptyRef).rootNodes; - this.isShowEmptyRef = true; - this.differ = null; - return; - } - if (this.emptyRef && this.isShowEmptyRef) { - this.vcRef.clear(); - this.isShowEmptyRef = false; - } - if (!this.differ && items) { - this.differ = this.differs.find(items).create(this.trackByFn); - } - if (this.differ) { - /** @type {?} */ - var changes = this.differ.diff(items); - if (changes) { - this.iterateOverAppliedOperations(changes); - this.iterateOverAttachedViews(changes); - } - } - }; - /** - * @private - * @param {?} items - * @return {?} - */ - ForDirective.prototype.sortItems = /** - * @private - * @param {?} items - * @return {?} - */ - function (items) { - var _this = this; - if (this.orderBy) { - items.sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - function (a, b) { return (a[_this.orderBy] > b[_this.orderBy] ? 1 : a[_this.orderBy] < b[_this.orderBy] ? -1 : 0); })); - } - else { - items.sort(); - } - }; - /** - * @return {?} - */ - ForDirective.prototype.ngOnChanges = /** - * @return {?} - */ - function () { - var _this = this; - /** @type {?} */ - var items = (/** @type {?} */ (clone(this.items))); - if (!Array.isArray(items)) - return; - /** @type {?} */ - var compareFn = this.compareFn; - if (typeof this.filterBy !== 'undefined' && typeof this.filterVal !== 'undefined' && this.filterVal !== '') { - items = items.filter((/** - * @param {?} item - * @return {?} - */ - function (item) { return compareFn(item[_this.filterBy], _this.filterVal); })); - } - switch (this.orderDir) { - case 'ASC': - this.sortItems(items); - this.projectItems(items); - break; - case 'DESC': - this.sortItems(items); - items.reverse(); - this.projectItems(items); - break; - default: - this.projectItems(items); - } - }; - ForDirective.decorators = [ - { type: core.Directive, args: [{ - selector: '[abpFor]', - },] } - ]; - /** @nocollapse */ - ForDirective.ctorParameters = function () { return [ - { type: core.TemplateRef }, - { type: core.ViewContainerRef }, - { type: core.IterableDiffers } - ]; }; - ForDirective.propDecorators = { - items: [{ type: core.Input, args: ['abpForOf',] }], - orderBy: [{ type: core.Input, args: ['abpForOrderBy',] }], - orderDir: [{ type: core.Input, args: ['abpForOrderDir',] }], - filterBy: [{ type: core.Input, args: ['abpForFilterBy',] }], - filterVal: [{ type: core.Input, args: ['abpForFilterVal',] }], - trackBy: [{ type: core.Input, args: ['abpForTrackBy',] }], - compareBy: [{ type: core.Input, args: ['abpForCompareBy',] }], - emptyRef: [{ type: core.Input, args: ['abpForEmptyRef',] }] - }; - return ForDirective; - }()); - if (false) { - /** @type {?} */ - ForDirective.prototype.items; - /** @type {?} */ - ForDirective.prototype.orderBy; - /** @type {?} */ - ForDirective.prototype.orderDir; - /** @type {?} */ - ForDirective.prototype.filterBy; - /** @type {?} */ - ForDirective.prototype.filterVal; - /** @type {?} */ - ForDirective.prototype.trackBy; - /** @type {?} */ - ForDirective.prototype.compareBy; - /** @type {?} */ - ForDirective.prototype.emptyRef; - /** - * @type {?} - * @private - */ - ForDirective.prototype.differ; - /** - * @type {?} - * @private - */ - ForDirective.prototype.isShowEmptyRef; - /** - * @type {?} - * @private - */ - ForDirective.prototype.tempRef; - /** - * @type {?} - * @private - */ - ForDirective.prototype.vcRef; - /** - * @type {?} - * @private - */ - ForDirective.prototype.differs; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/utils/common-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * @return {?} - */ - function noop() { - // tslint:disable-next-line: only-arrow-functions - /** @type {?} */ - var fn = (/** - * @return {?} - */ - function () { }); - return fn; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/utils/generator-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * @param {?=} a - * @return {?} - */ - function uuid(a) { - return a - ? // tslint:disable-next-line: no-bitwise - (a ^ ((Math.random() * 16) >> (a / 4))).toString(16) - : ('' + 1e7 + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, uuid); - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/utils/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/directives/form-submit.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var FormSubmitDirective = /** @class */ (function () { - function FormSubmitDirective(formGroupDirective, host, cdRef) { - this.formGroupDirective = formGroupDirective; - this.host = host; - this.cdRef = cdRef; - this.debounce = 200; - this.ngSubmit = new core.EventEmitter(); - this.executedNgSubmit = false; - } - /** - * @return {?} - */ - FormSubmitDirective.prototype.ngOnInit = /** - * @return {?} - */ - function () { - var _this = this; - this.formGroupDirective.ngSubmit.pipe(takeUntilDestroy(this)).subscribe((/** - * @return {?} - */ - function () { - _this.markAsDirty(); - _this.executedNgSubmit = true; - })); - rxjs.fromEvent((/** @type {?} */ (this.host.nativeElement)), 'keyup') - .pipe(operators.debounceTime(this.debounce), operators.filter((/** - * @param {?} key - * @return {?} - */ - function (key) { return key && key.key === 'Enter'; })), takeUntilDestroy(this)) - .subscribe((/** - * @return {?} - */ - function () { - if (!_this.executedNgSubmit) { - _this.host.nativeElement.dispatchEvent(new Event('submit', { bubbles: true, cancelable: true })); - } - _this.executedNgSubmit = false; - })); - }; - /** - * @return {?} - */ - FormSubmitDirective.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - /** - * @return {?} - */ - FormSubmitDirective.prototype.markAsDirty = /** - * @return {?} - */ - function () { - var form = this.formGroupDirective.form; - setDirty((/** @type {?} */ (form.controls))); - form.markAsDirty(); - this.cdRef.detectChanges(); - }; - FormSubmitDirective.decorators = [ - { type: core.Directive, args: [{ - // tslint:disable-next-line: directive-selector - selector: 'form[ngSubmit][formGroup]', - },] } - ]; - /** @nocollapse */ - FormSubmitDirective.ctorParameters = function () { return [ - { type: forms.FormGroupDirective, decorators: [{ type: core.Self }] }, - { type: core.ElementRef }, - { type: core.ChangeDetectorRef } - ]; }; - FormSubmitDirective.propDecorators = { - debounce: [{ type: core.Input }], - notValidateOnSubmit: [{ type: core.Input }], - ngSubmit: [{ type: core.Output }] - }; - return FormSubmitDirective; - }()); - if (false) { - /** @type {?} */ - FormSubmitDirective.prototype.debounce; - /** @type {?} */ - FormSubmitDirective.prototype.notValidateOnSubmit; - /** @type {?} */ - FormSubmitDirective.prototype.ngSubmit; - /** @type {?} */ - FormSubmitDirective.prototype.executedNgSubmit; - /** - * @type {?} - * @private - */ - FormSubmitDirective.prototype.formGroupDirective; - /** - * @type {?} - * @private - */ - FormSubmitDirective.prototype.host; - /** - * @type {?} - * @private - */ - FormSubmitDirective.prototype.cdRef; - } - /** - * @param {?} controls - * @return {?} - */ - function setDirty(controls) { - if (Array.isArray(controls)) { - controls.forEach((/** - * @param {?} group - * @return {?} - */ - function (group) { - setDirty((/** @type {?} */ (group.controls))); - })); - return; - } - Object.keys(controls).forEach((/** - * @param {?} key - * @return {?} - */ - function (key) { - controls[key].markAsDirty(); - controls[key].updateValueAndValidity(); - })); - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/profile.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ProfileService = /** @class */ (function () { - function ProfileService(rest) { - this.rest = rest; - } - /** - * @return {?} - */ - ProfileService.prototype.get = /** - * @return {?} - */ - function () { - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/identity/my-profile', - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - ProfileService.prototype.update = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var request = { - method: 'PUT', - url: '/api/identity/my-profile', - body: body, - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @param {?=} skipHandleError - * @return {?} - */ - ProfileService.prototype.changePassword = /** - * @param {?} body - * @param {?=} skipHandleError - * @return {?} - */ - function (body, skipHandleError) { - if (skipHandleError === void 0) { skipHandleError = false; } - /** @type {?} */ - var request = { - method: 'POST', - url: '/api/identity/my-profile/change-password', - body: body, - }; - return this.rest.request(request, { skipHandleError: skipHandleError }); - }; - ProfileService.decorators = [ - { type: core.Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - ProfileService.ctorParameters = function () { return [ - { type: RestService } - ]; }; - /** @nocollapse */ ProfileService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function ProfileService_Factory() { return new ProfileService(core.ɵɵinject(RestService)); }, token: ProfileService, providedIn: "root" }); - return ProfileService; - }()); - if (false) { - /** - * @type {?} - * @private - */ - ProfileService.prototype.rest; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/states/profile.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ProfileState = /** @class */ (function () { - function ProfileState(profileService) { - this.profileService = profileService; - } - /** - * @param {?} __0 - * @return {?} - */ - ProfileState.getProfile = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var profile = _a.profile; - return profile; - }; - /** - * @param {?} __0 - * @return {?} - */ - ProfileState.prototype.getProfile = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var patchState = _a.patchState; - return this.profileService.get().pipe(operators.tap((/** - * @param {?} profile - * @return {?} - */ - function (profile) { - return patchState({ - profile: profile, - }); - }))); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - ProfileState.prototype.updateProfile = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.profileService.update(payload).pipe(operators.tap((/** - * @param {?} profile - * @return {?} - */ - function (profile) { - return patchState({ - profile: profile, - }); - }))); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - ProfileState.prototype.changePassword = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.profileService.changePassword(payload, true); - }; - ProfileState.ctorParameters = function () { return [ - { type: ProfileService } - ]; }; - __decorate([ - store.Action(GetProfile), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", void 0) - ], ProfileState.prototype, "getProfile", null); - __decorate([ - store.Action(UpdateProfile), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, UpdateProfile]), - __metadata("design:returntype", void 0) - ], ProfileState.prototype, "updateProfile", null); - __decorate([ - store.Action(ChangePassword), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, ChangePassword]), - __metadata("design:returntype", void 0) - ], ProfileState.prototype, "changePassword", null); - __decorate([ - store.Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Object) - ], ProfileState, "getProfile", null); - ProfileState = __decorate([ - store.State({ - name: 'ProfileState', - defaults: (/** @type {?} */ ({})), - }), - __metadata("design:paramtypes", [ProfileService]) - ], ProfileState); - return ProfileState; - }()); - if (false) { - /** - * @type {?} - * @private - */ - ProfileState.prototype.profileService; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/directives/permission.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var PermissionDirective = /** @class */ (function () { - function PermissionDirective(elRef, renderer, store, templateRef, vcRef) { - this.elRef = elRef; - this.renderer = renderer; - this.store = store; - this.templateRef = templateRef; - this.vcRef = vcRef; - } - /** - * @private - * @return {?} - */ - PermissionDirective.prototype.check = /** - * @private - * @return {?} - */ - function () { - var _this = this; - if (this.subscription) { - this.subscription.unsubscribe(); - } - this.subscription = this.store - .select(ConfigState.getGrantedPolicy(this.condition)) - .pipe(takeUntilDestroy(this)) - .subscribe((/** - * @param {?} isGranted - * @return {?} - */ - function (isGranted) { - if (_this.templateRef && isGranted) { - _this.vcRef.clear(); - _this.vcRef.createEmbeddedView(_this.templateRef); - } - else if (_this.templateRef && !isGranted) { - _this.vcRef.clear(); - } - else if (!isGranted && !_this.templateRef) { - _this.renderer.removeChild(((/** @type {?} */ (_this.elRef.nativeElement))).parentElement, _this.elRef.nativeElement); - } - })); - }; - /** - * @return {?} - */ - PermissionDirective.prototype.ngOnInit = /** - * @return {?} - */ - function () { - if (this.templateRef && !this.condition) { - this.vcRef.createEmbeddedView(this.templateRef); - } - }; - /** - * @return {?} - */ - PermissionDirective.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - /** - * @param {?} __0 - * @return {?} - */ - PermissionDirective.prototype.ngOnChanges = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var condition = _a.condition; - if ((condition || { currentValue: null }).currentValue) { - this.check(); - } - }; - PermissionDirective.decorators = [ - { type: core.Directive, args: [{ - selector: '[abpPermission]', - },] } - ]; - /** @nocollapse */ - PermissionDirective.ctorParameters = function () { return [ - { type: core.ElementRef }, - { type: core.Renderer2 }, - { type: store.Store }, - { type: core.TemplateRef, decorators: [{ type: core.Optional }] }, - { type: core.ViewContainerRef } - ]; }; - PermissionDirective.propDecorators = { - condition: [{ type: core.Input, args: ['abpPermission',] }] - }; - return PermissionDirective; - }()); - if (false) { - /** @type {?} */ - PermissionDirective.prototype.condition; - /** @type {?} */ - PermissionDirective.prototype.subscription; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.elRef; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.renderer; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.store; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.templateRef; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.vcRef; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/directives/visibility.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var VisibilityDirective = /** @class */ (function () { - function VisibilityDirective(elRef, renderer) { - this.elRef = elRef; - this.renderer = renderer; - this.completed$ = new rxjs.Subject(); - } - /** - * @return {?} - */ - VisibilityDirective.prototype.ngAfterViewInit = /** - * @return {?} - */ - function () { - var _this = this; - if (!this.focusedElement && this.elRef) { - this.focusedElement = this.elRef.nativeElement; - } - /** @type {?} */ - var observer; - observer = new MutationObserver((/** - * @param {?} mutations - * @return {?} - */ - function (mutations) { - mutations.forEach((/** - * @param {?} mutation - * @return {?} - */ - function (mutation) { - if (!mutation.target) - return; - /** @type {?} */ - var htmlNodes = snq((/** - * @return {?} - */ - function () { return Array.from(mutation.target.childNodes).filter((/** - * @param {?} node - * @return {?} - */ - function (node) { return node instanceof HTMLElement; })); }), []); - if (!htmlNodes.length) { - _this.removeFromDOM(); - } - })); - })); - observer.observe(this.focusedElement, { - childList: true, - }); - setTimeout((/** - * @return {?} - */ - function () { - /** @type {?} */ - var htmlNodes = snq((/** - * @return {?} - */ - function () { return Array.from(_this.focusedElement.childNodes).filter((/** - * @param {?} node - * @return {?} - */ - function (node) { return node instanceof HTMLElement; })); }), []); - if (!htmlNodes.length) - _this.removeFromDOM(); - }), 0); - this.completed$.subscribe((/** - * @return {?} - */ - function () { return observer.disconnect(); })); - }; - /** - * @return {?} - */ - VisibilityDirective.prototype.disconnect = /** - * @return {?} - */ - function () { - this.completed$.next(); - this.completed$.complete(); - }; - /** - * @return {?} - */ - VisibilityDirective.prototype.removeFromDOM = /** - * @return {?} - */ - function () { - if (!this.elRef.nativeElement) - return; - this.renderer.removeChild(this.elRef.nativeElement.parentElement, this.elRef.nativeElement); - this.disconnect(); - }; - VisibilityDirective.decorators = [ - { type: core.Directive, args: [{ - selector: '[abpVisibility]', - },] } - ]; - /** @nocollapse */ - VisibilityDirective.ctorParameters = function () { return [ - { type: core.ElementRef, decorators: [{ type: core.Optional }] }, - { type: core.Renderer2 } - ]; }; - VisibilityDirective.propDecorators = { - focusedElement: [{ type: core.Input, args: ['abpVisibility',] }] - }; - return VisibilityDirective; - }()); - if (false) { - /** @type {?} */ - VisibilityDirective.prototype.focusedElement; - /** @type {?} */ - VisibilityDirective.prototype.completed$; - /** - * @type {?} - * @private - */ - VisibilityDirective.prototype.elRef; - /** - * @type {?} - * @private - */ - VisibilityDirective.prototype.renderer; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/directives/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/enums/common.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** @enum {string} */ - var eLayoutType = { - account: "account", - application: "application", - empty: "empty", - /** - * @deprecated since version 0.9.0 - */ - setting: "setting", - }; - - /** - * @fileoverview added by tsickle - * Generated from: lib/enums/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/guards/auth.guard.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var AuthGuard = /** @class */ (function () { - function AuthGuard(oauthService, router) { - this.oauthService = oauthService; - this.router = router; - } - /** - * @param {?} _ - * @param {?} state - * @return {?} - */ - AuthGuard.prototype.canActivate = /** - * @param {?} _ - * @param {?} state - * @return {?} - */ - function (_, state) { - /** @type {?} */ - var hasValidAccessToken = this.oauthService.hasValidAccessToken(); - if (hasValidAccessToken) { - return hasValidAccessToken; - } - return this.router.createUrlTree(['/account/login'], { state: { redirectUrl: state.url } }); - }; - AuthGuard.decorators = [ - { type: core.Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - AuthGuard.ctorParameters = function () { return [ - { type: angularOauth2Oidc.OAuthService }, - { type: router.Router } - ]; }; - /** @nocollapse */ AuthGuard.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function AuthGuard_Factory() { return new AuthGuard(core.ɵɵinject(angularOauth2Oidc.OAuthService), core.ɵɵinject(router.Router)); }, token: AuthGuard, providedIn: "root" }); - return AuthGuard; - }()); - if (false) { - /** - * @type {?} - * @private - */ - AuthGuard.prototype.oauthService; - /** - * @type {?} - * @private - */ - AuthGuard.prototype.router; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/guards/permission.guard.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var PermissionGuard = /** @class */ (function () { - function PermissionGuard(store) { - this.store = store; - } - /** - * @param {?} route - * @param {?} state - * @return {?} - */ - PermissionGuard.prototype.canActivate = /** - * @param {?} route - * @param {?} state - * @return {?} - */ - function (route, state) { - var _this = this; - /** @type {?} */ - var resource = snq((/** - * @return {?} - */ - function () { return route.data.routes.requiredPolicy; })) || snq((/** - * @return {?} - */ - function () { return (/** @type {?} */ (route.data.requiredPolicy)); })); - if (!resource) { - resource = snq((/** - * @return {?} - */ - function () { return route.routeConfig.children.find((/** - * @param {?} child - * @return {?} - */ - function (child) { return state.url.indexOf(child.path) > -1; })).data.requiredPolicy; })); - } - return this.store.select(ConfigState.getGrantedPolicy(resource)).pipe(operators.tap((/** - * @param {?} access - * @return {?} - */ - function (access) { - if (!access) { - _this.store.dispatch(new RestOccurError({ status: 403 })); - } - }))); - }; - PermissionGuard.decorators = [ - { type: core.Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - PermissionGuard.ctorParameters = function () { return [ - { type: store.Store } - ]; }; - /** @nocollapse */ PermissionGuard.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function PermissionGuard_Factory() { return new PermissionGuard(core.ɵɵinject(store.Store)); }, token: PermissionGuard, providedIn: "root" }); - return PermissionGuard; - }()); - if (false) { - /** - * @type {?} - * @private - */ - PermissionGuard.prototype.store; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/guards/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/interceptors/api.interceptor.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ApiInterceptor = /** @class */ (function () { - function ApiInterceptor(oAuthService, store) { - this.oAuthService = oAuthService; - this.store = store; - } - /** - * @param {?} request - * @param {?} next - * @return {?} - */ - ApiInterceptor.prototype.intercept = /** - * @param {?} request - * @param {?} next - * @return {?} - */ - function (request, next) { - var _this = this; - this.store.dispatch(new StartLoader(request)); - /** @type {?} */ - var headers = (/** @type {?} */ ({})); - /** @type {?} */ - var token = this.oAuthService.getAccessToken(); - if (!request.headers.has('Authorization') && token) { - headers['Authorization'] = "Bearer " + token; - } - /** @type {?} */ - var lang = this.store.selectSnapshot(SessionState.getLanguage); - if (!request.headers.has('Accept-Language') && lang) { - headers['Accept-Language'] = lang; - } - /** @type {?} */ - var tenant = this.store.selectSnapshot(SessionState.getTenant); - if (!request.headers.has('__tenant') && tenant) { - headers['__tenant'] = tenant.id; - } - return next - .handle(request.clone({ - setHeaders: headers, - })) - .pipe(operators.finalize((/** - * @return {?} - */ - function () { return _this.store.dispatch(new StopLoader(request)); }))); - }; - ApiInterceptor.decorators = [ - { type: core.Injectable } - ]; - /** @nocollapse */ - ApiInterceptor.ctorParameters = function () { return [ - { type: angularOauth2Oidc.OAuthService }, - { type: store.Store } - ]; }; - return ApiInterceptor; - }()); - if (false) { - /** - * @type {?} - * @private - */ - ApiInterceptor.prototype.oAuthService; - /** - * @type {?} - * @private - */ - ApiInterceptor.prototype.store; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/interceptors/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/application-configuration.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ApplicationConfiguration; - (function (ApplicationConfiguration) { - /** - * @record - */ - function Response() { } - ApplicationConfiguration.Response = Response; - if (false) { - /** @type {?} */ - Response.prototype.localization; - /** @type {?} */ - Response.prototype.auth; - /** @type {?} */ - Response.prototype.setting; - /** @type {?} */ - Response.prototype.currentUser; - /** @type {?} */ - Response.prototype.features; - } - /** - * @record - */ - function Localization() { } - ApplicationConfiguration.Localization = Localization; - if (false) { - /** @type {?} */ - Localization.prototype.values; - /** @type {?} */ - Localization.prototype.languages; - } - /** - * @record - */ - function LocalizationValue() { } - ApplicationConfiguration.LocalizationValue = LocalizationValue; - /** - * @record - */ - function Language() { } - ApplicationConfiguration.Language = Language; - if (false) { - /** @type {?} */ - Language.prototype.cultureName; - /** @type {?} */ - Language.prototype.uiCultureName; - /** @type {?} */ - Language.prototype.displayName; - /** @type {?} */ - Language.prototype.flagIcon; - } - /** - * @record - */ - function Auth() { } - ApplicationConfiguration.Auth = Auth; - if (false) { - /** @type {?} */ - Auth.prototype.policies; - /** @type {?} */ - Auth.prototype.grantedPolicies; - } - /** - * @record - */ - function Policy() { } - ApplicationConfiguration.Policy = Policy; - /** - * @record - */ - function Value() { } - ApplicationConfiguration.Value = Value; - if (false) { - /** @type {?} */ - Value.prototype.values; - } - /** - * @record - */ - function CurrentUser() { } - ApplicationConfiguration.CurrentUser = CurrentUser; - if (false) { - /** @type {?} */ - CurrentUser.prototype.isAuthenticated; - /** @type {?} */ - CurrentUser.prototype.id; - /** @type {?} */ - CurrentUser.prototype.tenantId; - /** @type {?} */ - CurrentUser.prototype.userName; - } - })(ApplicationConfiguration || (ApplicationConfiguration = {})); - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/common.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ABP; - (function (ABP) { - /** - * @record - */ - function Root() { } - ABP.Root = Root; - if (false) { - /** @type {?} */ - Root.prototype.environment; - /** @type {?} */ - Root.prototype.requirements; - } - /** - * @record - * @template T - */ - function PagedItemsResponse() { } - ABP.PagedItemsResponse = PagedItemsResponse; - if (false) { - /** @type {?} */ - PagedItemsResponse.prototype.items; - } - /** - * @record - */ - function PageQueryParams() { } - ABP.PageQueryParams = PageQueryParams; - if (false) { - /** @type {?|undefined} */ - PageQueryParams.prototype.filter; - /** @type {?|undefined} */ - PageQueryParams.prototype.sorting; - /** @type {?|undefined} */ - PageQueryParams.prototype.skipCount; - /** @type {?|undefined} */ - PageQueryParams.prototype.maxResultCount; - } - /** - * @record - */ - function Route() { } - ABP.Route = Route; - if (false) { - /** @type {?|undefined} */ - Route.prototype.children; - /** @type {?|undefined} */ - Route.prototype.invisible; - /** @type {?|undefined} */ - Route.prototype.layout; - /** @type {?} */ - Route.prototype.name; - /** @type {?|undefined} */ - Route.prototype.order; - /** @type {?|undefined} */ - Route.prototype.parentName; - /** @type {?} */ - Route.prototype.path; - /** @type {?|undefined} */ - Route.prototype.requiredPolicy; - /** @type {?|undefined} */ - Route.prototype.iconClass; - } - /** - * @record - */ - function FullRoute() { } - ABP.FullRoute = FullRoute; - if (false) { - /** @type {?|undefined} */ - FullRoute.prototype.url; - /** @type {?|undefined} */ - FullRoute.prototype.wrapper; - } - /** - * @record - */ - function BasicItem() { } - ABP.BasicItem = BasicItem; - if (false) { - /** @type {?} */ - BasicItem.prototype.id; - /** @type {?} */ - BasicItem.prototype.name; - } - /** - * @record - * @template T - */ - function Dictionary() { } - ABP.Dictionary = Dictionary; - })(ABP || (ABP = {})); - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var Config; - (function (Config) { - /** - * @record - */ - function Environment() { } - Config.Environment = Environment; - if (false) { - /** @type {?} */ - Environment.prototype.application; - /** @type {?} */ - Environment.prototype.production; - /** @type {?} */ - Environment.prototype.oAuthConfig; - /** @type {?} */ - Environment.prototype.apis; - /** @type {?} */ - Environment.prototype.localization; - } - /** - * @record - */ - function Application() { } - Config.Application = Application; - if (false) { - /** @type {?} */ - Application.prototype.name; - /** @type {?|undefined} */ - Application.prototype.logoUrl; - } - /** - * @record - */ - function Apis() { } - Config.Apis = Apis; - /** - * @record - */ - function Requirements() { } - Config.Requirements = Requirements; - if (false) { - /** @type {?} */ - Requirements.prototype.layouts; - } - /** - * @record - */ - function LocalizationWithDefault() { } - Config.LocalizationWithDefault = LocalizationWithDefault; - if (false) { - /** @type {?} */ - LocalizationWithDefault.prototype.key; - /** @type {?} */ - LocalizationWithDefault.prototype.defaultValue; - } - })(Config || (Config = {})); - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/rest.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - (function (Rest) { - /** - * @record - */ - function Config() { } - Rest.Config = Config; - if (false) { - /** @type {?|undefined} */ - Config.prototype.skipHandleError; - /** @type {?|undefined} */ - Config.prototype.observe; - } - /** - * @record - * @template T - */ - function Request() { } - Rest.Request = Request; - if (false) { - /** @type {?|undefined} */ - Request.prototype.body; - /** @type {?|undefined} */ - Request.prototype.headers; - /** @type {?} */ - Request.prototype.method; - /** @type {?|undefined} */ - Request.prototype.params; - /** @type {?|undefined} */ - Request.prototype.reportProgress; - /** @type {?|undefined} */ - Request.prototype.responseType; - /** @type {?} */ - Request.prototype.url; - /** @type {?|undefined} */ - Request.prototype.withCredentials; - } - })(exports.Rest || (exports.Rest = {})); - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/session.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var Session; - (function (Session) { - /** - * @record - */ - function State() { } - Session.State = State; - if (false) { - /** @type {?} */ - State.prototype.language; - /** @type {?} */ - State.prototype.tenant; - } - })(Session || (Session = {})); - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/profile.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var Profile; - (function (Profile) { - /** - * @record - */ - function State() { } - Profile.State = State; - if (false) { - /** @type {?} */ - State.prototype.profile; - } - /** - * @record - */ - function Response() { } - Profile.Response = Response; - if (false) { - /** @type {?} */ - Response.prototype.userName; - /** @type {?} */ - Response.prototype.email; - /** @type {?} */ - Response.prototype.name; - /** @type {?} */ - Response.prototype.surname; - /** @type {?} */ - Response.prototype.phoneNumber; - } - /** - * @record - */ - function ChangePasswordRequest() { } - Profile.ChangePasswordRequest = ChangePasswordRequest; - if (false) { - /** @type {?} */ - ChangePasswordRequest.prototype.currentPassword; - /** @type {?} */ - ChangePasswordRequest.prototype.newPassword; - } - })(Profile || (Profile = {})); - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/pipes/localization.pipe.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var LocalizationPipe = /** @class */ (function () { - function LocalizationPipe(store) { - this.store = store; - } - /** - * @param {?=} value - * @param {...?} interpolateParams - * @return {?} - */ - LocalizationPipe.prototype.transform = /** - * @param {?=} value - * @param {...?} interpolateParams - * @return {?} - */ - function (value) { - if (value === void 0) { value = ''; } - var interpolateParams = []; - for (var _i = 1; _i < arguments.length; _i++) { - interpolateParams[_i - 1] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getLocalization.apply(ConfigState, __spread([value], interpolateParams.reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { return (Array.isArray(val) ? __spread(acc, val) : __spread(acc, [val])); }), [])))); - }; - LocalizationPipe.decorators = [ - { type: core.Injectable }, - { type: core.Pipe, args: [{ - name: 'abpLocalization', - },] } - ]; - /** @nocollapse */ - LocalizationPipe.ctorParameters = function () { return [ - { type: store.Store } - ]; }; - return LocalizationPipe; - }()); - if (false) { - /** - * @type {?} - * @private - */ - LocalizationPipe.prototype.store; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/pipes/sort.pipe.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var SortPipe = /** @class */ (function () { - function SortPipe() { - } - /** - * @param {?} value - * @param {?=} sortOrder - * @param {?=} sortKey - * @return {?} - */ - SortPipe.prototype.transform = /** - * @param {?} value - * @param {?=} sortOrder - * @param {?=} sortKey - * @return {?} - */ - function (value, sortOrder, sortKey) { - if (sortOrder === void 0) { sortOrder = 'asc'; } - sortOrder = sortOrder && ((/** @type {?} */ (sortOrder.toLowerCase()))); - if (!value || (sortOrder !== 'asc' && sortOrder !== 'desc')) - return value; - /** @type {?} */ - var numberArray = []; - /** @type {?} */ - var stringArray = []; - if (!sortKey) { - numberArray = value.filter((/** - * @param {?} item - * @return {?} - */ - function (item) { return typeof item === 'number'; })).sort(); - stringArray = value.filter((/** - * @param {?} item - * @return {?} - */ - function (item) { return typeof item === 'string'; })).sort(); - } - else { - numberArray = value - .filter((/** - * @param {?} item - * @return {?} - */ - function (item) { return typeof item[sortKey] === 'number'; })) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - function (a, b) { return a[sortKey] - b[sortKey]; })); - stringArray = value - .filter((/** - * @param {?} item - * @return {?} - */ - function (item) { return typeof item[sortKey] === 'string'; })) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - function (a, b) { - if (a[sortKey] < b[sortKey]) - return -1; - else if (a[sortKey] > b[sortKey]) - return 1; - else - return 0; - })); - } - /** @type {?} */ - var sorted = __spread(numberArray, stringArray, value.filter((/** - * @param {?} item - * @return {?} - */ - function (item) { - return typeof (sortKey ? item[sortKey] : item) !== 'number' && - typeof (sortKey ? item[sortKey] : item) !== 'string'; - }))); - return sortOrder === 'asc' ? sorted : sorted.reverse(); - }; - SortPipe.decorators = [ - { type: core.Injectable }, - { type: core.Pipe, args: [{ - name: 'abpSort', - },] } - ]; - return SortPipe; - }()); - - /** - * @fileoverview added by tsickle - * Generated from: lib/pipes/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/plugins/config.plugin.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** @type {?} */ - var NGXS_CONFIG_PLUGIN_OPTIONS = new core.InjectionToken('NGXS_CONFIG_PLUGIN_OPTIONS'); - var ConfigPlugin = /** @class */ (function () { - function ConfigPlugin(options, router) { - this.options = options; - this.router = router; - this.initialized = false; - } - /** - * @param {?} state - * @param {?} event - * @param {?} next - * @return {?} - */ - ConfigPlugin.prototype.handle = /** - * @param {?} state - * @param {?} event - * @param {?} next - * @return {?} - */ - function (state, event, next) { - /** @type {?} */ - var matches = store.actionMatcher(event); - /** @type {?} */ - var isInitAction = matches(store.InitState) || matches(store.UpdateState); - if (isInitAction && !this.initialized) { - /** @type {?} */ - var transformedRoutes = transformRoutes(this.router.config); - var routes = transformedRoutes.routes; - var wrappers = transformedRoutes.wrappers; - routes = organizeRoutes(routes, wrappers); - /** @type {?} */ - var flattedRoutes = flatRoutes(clone(routes)); - state = store.setValue(state, 'ConfigState', __assign({}, (state.ConfigState && __assign({}, state.ConfigState)), this.options, { routes: routes, - flattedRoutes: flattedRoutes })); - this.initialized = true; - } - return next(state, event); - }; - ConfigPlugin.decorators = [ - { type: core.Injectable } - ]; - /** @nocollapse */ - ConfigPlugin.ctorParameters = function () { return [ - { type: undefined, decorators: [{ type: core.Inject, args: [NGXS_CONFIG_PLUGIN_OPTIONS,] }] }, - { type: router.Router } - ]; }; - return ConfigPlugin; - }()); - if (false) { - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.initialized; - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.options; - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.router; - } - /** - * @param {?=} routes - * @param {?=} wrappers - * @return {?} - */ - function transformRoutes(routes, wrappers) { - if (routes === void 0) { routes = []; } - if (wrappers === void 0) { wrappers = []; } - // TODO: remove in v1 - /** @type {?} */ - var oldAbpRoutes = routes - .filter((/** - * @param {?} route - * @return {?} - */ - function (route) { - return snq((/** - * @return {?} - */ - function () { return route.data.routes.routes.find((/** - * @param {?} r - * @return {?} - */ - function (r) { return r.path === route.path; })); }), false); - })) - .reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { return __spread(acc, val.data.routes.routes); }), []); - // tslint:disable-next-line: deprecation - /** @type {?} */ - var abpRoutes = __spread(getAbpRoutes(), oldAbpRoutes); - wrappers = abpRoutes.filter((/** - * @param {?} ar - * @return {?} - */ - function (ar) { return ar.wrapper; })); - /** @type {?} */ - var transformed = (/** @type {?} */ ([])); - routes - .filter((/** - * @param {?} route - * @return {?} - */ - function (route) { return route.component || route.loadChildren; })) - .forEach((/** - * @param {?} route - * @return {?} - */ - function (route) { - /** @type {?} */ - var abpPackage = abpRoutes.find((/** - * @param {?} abp - * @return {?} - */ - function (abp) { return abp.path.toLowerCase() === route.path.toLowerCase() && !abp.wrapper; })); - var length = transformed.length; - if (abpPackage) { - transformed.push(abpPackage); - } - if (transformed.length === length && (route.data || {}).routes) { - transformed.push((/** @type {?} */ (__assign({}, route.data.routes, { path: route.path, name: snq((/** - * @return {?} - */ - function () { return route.data.routes.name; }), route.path), children: route.data.routes.children || [] })))); - } - })); - return { routes: setUrls(transformed), wrappers: wrappers }; - } - /** - * @param {?} routes - * @param {?=} parentUrl - * @return {?} - */ - function setUrls(routes, parentUrl) { - if (parentUrl) { - // this if block using for only recursive call - return routes.map((/** - * @param {?} route - * @return {?} - */ - function (route) { return (__assign({}, route, { url: parentUrl + "/" + route.path }, (route.children && - route.children.length && { - children: setUrls(route.children, parentUrl + "/" + route.path), - }))); })); - } - return routes.map((/** - * @param {?} route - * @return {?} - */ - function (route) { return (__assign({}, route, { url: "/" + route.path }, (route.children && - route.children.length && { - children: setUrls(route.children, "/" + route.path), - }))); })); - } - /** - * @param {?} routes - * @return {?} - */ - function flatRoutes(routes) { - /** @type {?} */ - var flat = (/** - * @param {?} r - * @return {?} - */ - function (r) { - return r.reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { - /** @type {?} */ - var value = [val]; - if (val.children) { - value = __spread([val], flat(val.children)); - } - return __spread(acc, value); - }), []); - }); - return flat(routes); - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/plugins/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/config-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ConfigStateService = /** @class */ (function () { - function ConfigStateService(store) { - this.store = store; - } - /** - * @return {?} - */ - ConfigStateService.prototype.getAll = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(ConfigState.getAll); - }; - /** - * @return {?} - */ - ConfigStateService.prototype.getApplicationInfo = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(ConfigState.getApplicationInfo); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getOne = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getOne.apply(ConfigState, __spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getDeep = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getDeep.apply(ConfigState, __spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getRoute = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getRoute.apply(ConfigState, __spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getApiUrl = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getApiUrl.apply(ConfigState, __spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getSetting = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getSetting.apply(ConfigState, __spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getSettings = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getSettings.apply(ConfigState, __spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getGrantedPolicy = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getGrantedPolicy.apply(ConfigState, __spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getLocalization = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getLocalization.apply(ConfigState, __spread(args))); - }; - ConfigStateService.decorators = [ - { type: core.Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - ConfigStateService.ctorParameters = function () { return [ - { type: store.Store } - ]; }; - /** @nocollapse */ ConfigStateService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function ConfigStateService_Factory() { return new ConfigStateService(core.ɵɵinject(store.Store)); }, token: ConfigStateService, providedIn: "root" }); - return ConfigStateService; - }()); - if (false) { - /** - * @type {?} - * @private - */ - ConfigStateService.prototype.store; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/lazy-load.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var LazyLoadService = /** @class */ (function () { - function LazyLoadService() { - this.loadedLibraries = {}; - } - /** - * @param {?} urlOrUrls - * @param {?} type - * @param {?=} content - * @param {?=} targetQuery - * @param {?=} position - * @return {?} - */ - LazyLoadService.prototype.load = /** - * @param {?} urlOrUrls - * @param {?} type - * @param {?=} content - * @param {?=} targetQuery - * @param {?=} position - * @return {?} - */ - function (urlOrUrls, type, content, targetQuery, position) { - var _this = this; - if (content === void 0) { content = ''; } - if (targetQuery === void 0) { targetQuery = 'body'; } - if (position === void 0) { position = 'beforeend'; } - if (!urlOrUrls && !content) { - return rxjs.throwError('Should pass url or content'); - } - else if (!urlOrUrls && content) { - urlOrUrls = [null]; - } - if (!Array.isArray(urlOrUrls)) { - urlOrUrls = [urlOrUrls]; - } - return new rxjs.Observable((/** - * @param {?} subscriber - * @return {?} - */ - function (subscriber) { - ((/** @type {?} */ (urlOrUrls))).forEach((/** - * @param {?} url - * @param {?} index - * @return {?} - */ - function (url, index) { - /** @type {?} */ - var key = url ? url.slice(url.lastIndexOf('/') + 1) : uuid(); - if (_this.loadedLibraries[key]) { - subscriber.next(); - subscriber.complete(); - return; - } - _this.loadedLibraries[key] = new rxjs.ReplaySubject(); - /** @type {?} */ - var library; - if (type === 'script') { - library = document.createElement('script'); - library.type = 'text/javascript'; - if (url) { - ((/** @type {?} */ (library))).src = url; - } - ((/** @type {?} */ (library))).text = content; - } - else if (url) { - library = document.createElement('link'); - library.type = 'text/css'; - ((/** @type {?} */ (library))).rel = 'stylesheet'; - if (url) { - ((/** @type {?} */ (library))).href = url; - } - } - else { - library = document.createElement('style'); - ((/** @type {?} */ (library))).textContent = content; - } - library.onload = (/** - * @return {?} - */ - function () { - _this.loadedLibraries[key].next(); - _this.loadedLibraries[key].complete(); - if (index === urlOrUrls.length - 1) { - subscriber.next(); - subscriber.complete(); - } - }); - document.querySelector(targetQuery).insertAdjacentElement(position, library); - })); - })); - }; - LazyLoadService.decorators = [ - { type: core.Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ LazyLoadService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function LazyLoadService_Factory() { return new LazyLoadService(); }, token: LazyLoadService, providedIn: "root" }); - return LazyLoadService; - }()); - if (false) { - /** @type {?} */ - LazyLoadService.prototype.loadedLibraries; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/profile-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ProfileStateService = /** @class */ (function () { - function ProfileStateService(store) { - this.store = store; - } - /** - * @return {?} - */ - ProfileStateService.prototype.getProfile = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(ProfileState.getProfile); - }; - ProfileStateService.decorators = [ - { type: core.Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - ProfileStateService.ctorParameters = function () { return [ - { type: store.Store } - ]; }; - /** @nocollapse */ ProfileStateService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function ProfileStateService_Factory() { return new ProfileStateService(core.ɵɵinject(store.Store)); }, token: ProfileStateService, providedIn: "root" }); - return ProfileStateService; - }()); - if (false) { - /** - * @type {?} - * @private - */ - ProfileStateService.prototype.store; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/session-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var SessionStateService = /** @class */ (function () { - function SessionStateService(store) { - this.store = store; - } - /** - * @return {?} - */ - SessionStateService.prototype.getLanguage = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(SessionState.getLanguage); - }; - /** - * @return {?} - */ - SessionStateService.prototype.getTenant = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(SessionState.getTenant); - }; - SessionStateService.decorators = [ - { type: core.Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - SessionStateService.ctorParameters = function () { return [ - { type: store.Store } - ]; }; - /** @nocollapse */ SessionStateService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function SessionStateService_Factory() { return new SessionStateService(core.ɵɵinject(store.Store)); }, token: SessionStateService, providedIn: "root" }); - return SessionStateService; - }()); - if (false) { - /** - * @type {?} - * @private - */ - SessionStateService.prototype.store; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/tokens/common.token.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * @param {?} environment - * @return {?} - */ - function environmentFactory(environment) { - return __assign({}, environment); - } - /** - * @param {?} config - * @return {?} - */ - function configFactory(config) { - return __assign({}, config); - } - /** @type {?} */ - var ENVIRONMENT = new core.InjectionToken('ENVIRONMENT'); - /** @type {?} */ - var CONFIG = new core.InjectionToken('CONFIG'); - - /** - * @fileoverview added by tsickle - * Generated from: lib/tokens/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/directives/debounce.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var InputEventDebounceDirective = /** @class */ (function () { - function InputEventDebounceDirective(el) { - this.el = el; - this.debounce = 300; - this.debounceEvent = new core.EventEmitter(); - } - /** - * @return {?} - */ - InputEventDebounceDirective.prototype.ngOnInit = /** - * @return {?} - */ - function () { - var _this = this; - rxjs.fromEvent(this.el.nativeElement, 'input') - .pipe(operators.debounceTime(this.debounce), core$1.takeUntilDestroy(this)) - .subscribe((/** - * @param {?} event - * @return {?} - */ - function (event) { - _this.debounceEvent.emit(event); - })); - }; - /** - * @return {?} - */ - InputEventDebounceDirective.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - InputEventDebounceDirective.decorators = [ - { type: core.Directive, args: [{ - // tslint:disable-next-line: directive-selector - selector: '[input.debounce]', - },] } - ]; - /** @nocollapse */ - InputEventDebounceDirective.ctorParameters = function () { return [ - { type: core.ElementRef } - ]; }; - InputEventDebounceDirective.propDecorators = { - debounce: [{ type: core.Input }], - debounceEvent: [{ type: core.Output, args: ['input.debounce',] }] - }; - return InputEventDebounceDirective; - }()); - if (false) { - /** @type {?} */ - InputEventDebounceDirective.prototype.debounce; - /** @type {?} */ - InputEventDebounceDirective.prototype.debounceEvent; - /** - * @type {?} - * @private - */ - InputEventDebounceDirective.prototype.el; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/directives/stop-propagation.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ClickEventStopPropagationDirective = /** @class */ (function () { - function ClickEventStopPropagationDirective(el) { - this.el = el; - this.stopPropEvent = new core.EventEmitter(); - } - /** - * @return {?} - */ - ClickEventStopPropagationDirective.prototype.ngOnInit = /** - * @return {?} - */ - function () { - var _this = this; - rxjs.fromEvent(this.el.nativeElement, 'click') - .pipe(takeUntilDestroy(this)) - .subscribe((/** - * @param {?} event - * @return {?} - */ - function (event) { - event.stopPropagation(); - _this.stopPropEvent.emit(event); - })); - }; - /** - * @return {?} - */ - ClickEventStopPropagationDirective.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - ClickEventStopPropagationDirective.decorators = [ - { type: core.Directive, args: [{ - // tslint:disable-next-line: directive-selector - selector: '[click.stop]', - },] } - ]; - /** @nocollapse */ - ClickEventStopPropagationDirective.ctorParameters = function () { return [ - { type: core.ElementRef } - ]; }; - ClickEventStopPropagationDirective.propDecorators = { - stopPropEvent: [{ type: core.Output, args: ['click.stop',] }] - }; - return ClickEventStopPropagationDirective; - }()); - if (false) { - /** @type {?} */ - ClickEventStopPropagationDirective.prototype.stopPropEvent; - /** - * @type {?} - * @private - */ - ClickEventStopPropagationDirective.prototype.el; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/providers/locale.provider.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var LocaleId = /** @class */ (function (_super) { - __extends(LocaleId, _super); - function LocaleId(localizationService) { - var _this = _super.call(this) || this; - _this.localizationService = localizationService; - return _this; - } - /** - * @return {?} - */ - LocaleId.prototype.toString = /** - * @return {?} - */ - function () { - var currentLang = this.localizationService.currentLang; - return localesMapping[currentLang] || currentLang; - }; - /** - * @return {?} - */ - LocaleId.prototype.valueOf = /** - * @return {?} - */ - function () { - return this.toString(); - }; - return LocaleId; - }(String)); - if (false) { - /** - * @type {?} - * @private - */ - LocaleId.prototype.localizationService; - } - /** @type {?} */ - var LocaleProvider = { - provide: core.LOCALE_ID, - useClass: LocaleId, - deps: [LocalizationService], - }; - - /** - * @fileoverview added by tsickle - * Generated from: lib/utils/date-extensions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - Date.prototype.toLocalISOString = (/** - * @this {?} - * @return {?} - */ - function () { - /** @type {?} */ - var timezoneOffset = this.getTimezoneOffset(); - return new Date(this.getTime() - timezoneOffset * 60000).toISOString(); - }); - - /** - * @fileoverview added by tsickle - * Generated from: lib/core.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var CoreModule = /** @class */ (function () { - function CoreModule() { - } - /** - * @param {?=} options - * @return {?} - */ - CoreModule.forRoot = /** - * @param {?=} options - * @return {?} - */ - function (options) { - if (options === void 0) { options = (/** @type {?} */ ({})); } - return { - ngModule: CoreModule, - providers: [ - LocaleProvider, - { - provide: store.NGXS_PLUGINS, - useClass: ConfigPlugin, - multi: true, - }, - { - provide: NGXS_CONFIG_PLUGIN_OPTIONS, - useValue: options, - }, - { - provide: http.HTTP_INTERCEPTORS, - useClass: ApiInterceptor, - multi: true, - }, - { - provide: core.APP_INITIALIZER, - multi: true, - deps: [core.Injector], - useFactory: getInitialData, - }, - { - provide: core.APP_INITIALIZER, - multi: true, - deps: [core.Injector], - useFactory: localeInitializer, - }, - ], - }; - }; - CoreModule.decorators = [ - { type: core.NgModule, args: [{ - imports: [ - store.NgxsModule.forFeature([ProfileState, SessionState, ConfigState]), - routerPlugin.NgxsRouterPluginModule.forRoot(), - storagePlugin.NgxsStoragePluginModule.forRoot({ key: ['SessionState'] }), - angularOauth2Oidc.OAuthModule.forRoot(), - common.CommonModule, - http.HttpClientModule, - forms.FormsModule, - forms.ReactiveFormsModule, - router.RouterModule, - ], - declarations: [ - RouterOutletComponent, - DynamicLayoutComponent, - AutofocusDirective, - EllipsisDirective, - ForDirective, - FormSubmitDirective, - LocalizationPipe, - SortPipe, - PermissionDirective, - VisibilityDirective, - InputEventDebounceDirective, - ClickEventStopPropagationDirective, - AbstractNgModelComponent, - ], - exports: [ - common.CommonModule, - http.HttpClientModule, - forms.FormsModule, - forms.ReactiveFormsModule, - router.RouterModule, - RouterOutletComponent, - DynamicLayoutComponent, - AutofocusDirective, - EllipsisDirective, - ForDirective, - FormSubmitDirective, - LocalizationPipe, - SortPipe, - PermissionDirective, - VisibilityDirective, - InputEventDebounceDirective, - LocalizationPipe, - ClickEventStopPropagationDirective, - AbstractNgModelComponent, - ], - providers: [LocalizationPipe], - entryComponents: [RouterOutletComponent, DynamicLayoutComponent], - },] } - ]; - return CoreModule; - }()); - - exports.AbstractNgModelComponent = AbstractNgModelComponent; - exports.ApiInterceptor = ApiInterceptor; - exports.ApplicationConfigurationService = ApplicationConfigurationService; - exports.AuthGuard = AuthGuard; - exports.AutofocusDirective = AutofocusDirective; - exports.CONFIG = CONFIG; - exports.ChangePassword = ChangePassword; - exports.ConfigPlugin = ConfigPlugin; - exports.ConfigState = ConfigState; - exports.ConfigStateService = ConfigStateService; - exports.CoreModule = CoreModule; - exports.DynamicLayoutComponent = DynamicLayoutComponent; - exports.ENVIRONMENT = ENVIRONMENT; - exports.EllipsisDirective = EllipsisDirective; - exports.ForDirective = ForDirective; - exports.FormSubmitDirective = FormSubmitDirective; - exports.GetAppConfiguration = GetAppConfiguration; - exports.GetProfile = GetProfile; - exports.LazyLoadService = LazyLoadService; - exports.LocalizationPipe = LocalizationPipe; - exports.LocalizationService = LocalizationService; - exports.NGXS_CONFIG_PLUGIN_OPTIONS = NGXS_CONFIG_PLUGIN_OPTIONS; - exports.PatchRouteByName = PatchRouteByName; - exports.PermissionDirective = PermissionDirective; - exports.PermissionGuard = PermissionGuard; - exports.ProfileService = ProfileService; - exports.ProfileState = ProfileState; - exports.ProfileStateService = ProfileStateService; - exports.RestOccurError = RestOccurError; - exports.RestService = RestService; - exports.RouterOutletComponent = RouterOutletComponent; - exports.SessionState = SessionState; - exports.SessionStateService = SessionStateService; - exports.SetLanguage = SetLanguage; - exports.SetTenant = SetTenant; - exports.SortPipe = SortPipe; - exports.StartLoader = StartLoader; - exports.StopLoader = StopLoader; - exports.UpdateProfile = UpdateProfile; - exports.VisibilityDirective = VisibilityDirective; - exports.addAbpRoutes = addAbpRoutes; - exports.configFactory = configFactory; - exports.environmentFactory = environmentFactory; - exports.getAbpRoutes = getAbpRoutes; - exports.getInitialData = getInitialData; - exports.localeInitializer = localeInitializer; - exports.noop = noop; - exports.organizeRoutes = organizeRoutes; - exports.registerLocale = registerLocale; - exports.setChildRoute = setChildRoute; - exports.sortRoutes = sortRoutes; - exports.takeUntilDestroy = takeUntilDestroy; - exports.uuid = uuid; - exports.ɵa = ProfileState; - exports.ɵb = ProfileService; - exports.ɵba = InputEventDebounceDirective; - exports.ɵbb = ClickEventStopPropagationDirective; - exports.ɵbc = AbstractNgModelComponent; - exports.ɵbd = LocaleId; - exports.ɵbe = LocaleProvider; - exports.ɵbf = NGXS_CONFIG_PLUGIN_OPTIONS; - exports.ɵbg = ConfigPlugin; - exports.ɵbh = ApiInterceptor; - exports.ɵbi = getInitialData; - exports.ɵbj = localeInitializer; - exports.ɵc = RestService; - exports.ɵd = GetProfile; - exports.ɵe = UpdateProfile; - exports.ɵf = ChangePassword; - exports.ɵh = SessionState; - exports.ɵi = LocalizationService; - exports.ɵj = SetLanguage; - exports.ɵk = SetTenant; - exports.ɵm = ConfigState; - exports.ɵn = ApplicationConfigurationService; - exports.ɵo = PatchRouteByName; - exports.ɵp = GetAppConfiguration; - exports.ɵq = RouterOutletComponent; - exports.ɵr = DynamicLayoutComponent; - exports.ɵs = AutofocusDirective; - exports.ɵt = EllipsisDirective; - exports.ɵu = ForDirective; - exports.ɵv = FormSubmitDirective; - exports.ɵw = LocalizationPipe; - exports.ɵx = SortPipe; - exports.ɵy = PermissionDirective; - exports.ɵz = VisibilityDirective; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); -//# sourceMappingURL=abp-ng.core.umd.js.map diff --git a/npm/ng-packs/dist/core/bundles/abp-ng.core.umd.js.map b/npm/ng-packs/dist/core/bundles/abp-ng.core.umd.js.map deleted file mode 100644 index 6ef11b16cc1..00000000000 --- a/npm/ng-packs/dist/core/bundles/abp-ng.core.umd.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.core.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","ng://@abp/ng.core/lib/abstracts/ng-model.component.ts","ng://@abp/ng.core/lib/actions/config.actions.ts","ng://@abp/ng.core/lib/actions/loader.actions.ts","ng://@abp/ng.core/lib/actions/profile.actions.ts","ng://@abp/ng.core/lib/actions/rest.actions.ts","ng://@abp/ng.core/lib/actions/session.actions.ts","ng://@abp/ng.core/lib/services/rest.service.ts","ng://@abp/ng.core/lib/services/application-configuration.service.ts","ng://@abp/ng.core/lib/utils/route-utils.ts","ng://@abp/ng.core/lib/constants/different-locales.ts","ng://@abp/ng.core/lib/utils/initial-utils.ts","ng://@abp/ng.core/lib/services/localization.service.ts","ng://@abp/ng.core/lib/states/session.state.ts","ng://@abp/ng.core/lib/states/config.state.ts","ng://@abp/ng.core/lib/utils/rxjs-utils.ts","ng://@abp/ng.core/lib/components/dynamic-layout.component.ts","ng://@abp/ng.core/lib/components/router-outlet.component.ts","ng://@abp/ng.core/lib/directives/autofocus.directive.ts","ng://@abp/ng.core/lib/directives/ellipsis.directive.ts","ng://@abp/ng.core/lib/directives/for.directive.ts","ng://@abp/ng.core/lib/utils/common-utils.ts","ng://@abp/ng.core/lib/utils/generator-utils.ts","ng://@abp/ng.core/lib/directives/form-submit.directive.ts","ng://@abp/ng.core/lib/services/profile.service.ts","ng://@abp/ng.core/lib/states/profile.state.ts","ng://@abp/ng.core/lib/directives/permission.directive.ts","ng://@abp/ng.core/lib/directives/visibility.directive.ts","ng://@abp/ng.core/lib/enums/common.ts","ng://@abp/ng.core/lib/guards/auth.guard.ts","ng://@abp/ng.core/lib/guards/permission.guard.ts","ng://@abp/ng.core/lib/interceptors/api.interceptor.ts","ng://@abp/ng.core/lib/models/application-configuration.ts","ng://@abp/ng.core/lib/models/common.ts","ng://@abp/ng.core/lib/models/config.ts","ng://@abp/ng.core/lib/models/rest.ts","ng://@abp/ng.core/lib/models/session.ts","ng://@abp/ng.core/lib/models/profile.ts","ng://@abp/ng.core/lib/pipes/localization.pipe.ts","ng://@abp/ng.core/lib/pipes/sort.pipe.ts","ng://@abp/ng.core/lib/plugins/config.plugin.ts","ng://@abp/ng.core/lib/services/config-state.service.ts","ng://@abp/ng.core/lib/services/lazy-load.service.ts","ng://@abp/ng.core/lib/services/profile-state.service.ts","ng://@abp/ng.core/lib/services/session-state.service.ts","ng://@abp/ng.core/lib/tokens/common.token.ts","ng://@abp/ng.core/lib/directives/debounce.directive.ts","ng://@abp/ng.core/lib/directives/stop-propagation.directive.ts","ng://@abp/ng.core/lib/providers/locale.provider.ts","ng://@abp/ng.core/lib/utils/date-extensions.ts","ng://@abp/ng.core/lib/core.module.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { ControlValueAccessor } from '@angular/forms';\r\nimport { ChangeDetectorRef, Component, Injector, Input, Type } from '@angular/core';\r\n\r\n@Component({ selector: 'abp-abstract-ng-model', template: '' })\r\nexport class AbstractNgModelComponent implements ControlValueAccessor {\r\n @Input() disabled: boolean;\r\n\r\n @Input() set value(value: T) {\r\n this._value = value;\r\n this.notifyValueChange();\r\n }\r\n\r\n get value(): T {\r\n return this._value;\r\n }\r\n\r\n onChange: (value: T) => {};\r\n onTouched: () => {};\r\n\r\n protected _value: T;\r\n protected cdRef: ChangeDetectorRef;\r\n\r\n constructor(public injector: Injector) {\r\n this.cdRef = injector.get(ChangeDetectorRef as Type);\r\n }\r\n\r\n notifyValueChange(): void {\r\n if (this.onChange) {\r\n this.onChange(this.value);\r\n }\r\n }\r\n\r\n writeValue(value: T): void {\r\n this._value = value;\r\n setTimeout(() => this.cdRef.detectChanges(), 0);\r\n }\r\n\r\n registerOnChange(fn: any): void {\r\n this.onChange = fn;\r\n }\r\n\r\n registerOnTouched(fn: any): void {\r\n this.onTouched = fn;\r\n }\r\n\r\n setDisabledState(isDisabled: boolean): void {\r\n this.disabled = isDisabled;\r\n }\r\n}\r\n","import { ABP } from '../models';\r\n\r\nexport class PatchRouteByName {\r\n static readonly type = '[Config] Patch Route By Name';\r\n constructor(public name: string, public newValue: Partial) {}\r\n}\r\n\r\nexport class GetAppConfiguration {\r\n static readonly type = '[Config] Get App Configuration';\r\n}\r\n","import { HttpRequest } from '@angular/common/http';\r\n\r\nexport class StartLoader {\r\n static readonly type = '[Loader] Start';\r\n constructor(public payload: HttpRequest) {}\r\n}\r\n\r\nexport class StopLoader {\r\n static readonly type = '[Loader] Stop';\r\n constructor(public payload: HttpRequest) {}\r\n}\r\n","import { Profile } from '../models';\r\n\r\nexport class GetProfile {\r\n static readonly type = '[Profile] Get';\r\n}\r\n\r\nexport class UpdateProfile {\r\n static readonly type = '[Profile] Update';\r\n constructor(public payload: Profile.Response) {}\r\n}\r\n\r\nexport class ChangePassword {\r\n static readonly type = '[Profile] Change Password';\r\n constructor(public payload: Profile.ChangePasswordRequest) {}\r\n}\r\n","import { HttpErrorResponse } from '@angular/common/http';\r\n\r\nexport class RestOccurError {\r\n static readonly type = '[Rest] Error';\r\n constructor(public payload: HttpErrorResponse | any) {}\r\n}\r\n","import { ABP } from '../models';\r\n\r\nexport class SetLanguage {\r\n static readonly type = '[Session] Set Language';\r\n constructor(public payload: string) {}\r\n}\r\nexport class SetTenant {\r\n static readonly type = '[Session] Set Tenant';\r\n constructor(public payload: ABP.BasicItem) {}\r\n}\r\n","import { HttpClient, HttpRequest } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { catchError, take, tap } from 'rxjs/operators';\r\nimport { RestOccurError } from '../actions/rest.actions';\r\nimport { Rest } from '../models/rest';\r\nimport { ConfigState } from '../states/config.state';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class RestService {\r\n constructor(private http: HttpClient, private store: Store) {}\r\n\r\n handleError(err: any): Observable {\r\n this.store.dispatch(new RestOccurError(err));\r\n console.error(err);\r\n return throwError(err);\r\n }\r\n\r\n request(request: HttpRequest | Rest.Request, config?: Rest.Config, api?: string): Observable {\r\n config = config || ({} as Rest.Config);\r\n const { observe = Rest.Observe.Body, skipHandleError } = config;\r\n const url = (api || this.store.selectSnapshot(ConfigState.getApiUrl())) + request.url;\r\n const { method, params, ...options } = request;\r\n\r\n return this.http\r\n .request(method, url, {\r\n observe,\r\n ...(params && {\r\n params: Object.keys(params).reduce(\r\n (acc, key) => ({\r\n ...acc,\r\n ...(typeof params[key] !== 'undefined' && params[key] !== '' && { [key]: params[key] }),\r\n }),\r\n {},\r\n ),\r\n }),\r\n ...options,\r\n } as any)\r\n .pipe(\r\n observe === Rest.Observe.Body ? take(1) : tap(),\r\n catchError(err => {\r\n if (skipHandleError) {\r\n return throwError(err);\r\n }\r\n\r\n return this.handleError(err);\r\n }),\r\n );\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { Rest } from '../models/rest';\r\nimport { ApplicationConfiguration } from '../models/application-configuration';\r\nimport { RestService } from './rest.service';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ApplicationConfigurationService {\r\n constructor(private rest: RestService) {}\r\n\r\n getConfiguration(): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/abp/application-configuration',\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n}\r\n","import { ABP } from '../models';\r\n\r\nexport function organizeRoutes(\r\n routes: ABP.FullRoute[],\r\n wrappers: ABP.FullRoute[] = [],\r\n parentNameArr = [] as ABP.FullRoute[],\r\n parentName: string = null,\r\n): ABP.FullRoute[] {\r\n const filter = route => {\r\n if (route.children && route.children.length) {\r\n route.children = organizeRoutes(route.children, wrappers, parentNameArr, route.name);\r\n }\r\n\r\n if (route.parentName && route.parentName !== parentName) {\r\n parentNameArr.push(route);\r\n return false;\r\n }\r\n\r\n return true;\r\n };\r\n\r\n if (parentName) {\r\n // recursive block\r\n return routes.filter(filter);\r\n }\r\n\r\n const filteredRoutes = routes.filter(filter);\r\n\r\n if (parentNameArr.length) {\r\n return sortRoutes(setChildRoute([...filteredRoutes, ...wrappers], parentNameArr));\r\n }\r\n\r\n return filteredRoutes;\r\n}\r\n\r\nexport function setChildRoute(routes: ABP.FullRoute[], parentNameArr: ABP.FullRoute[]): ABP.FullRoute[] {\r\n return routes.map(route => {\r\n if (route.children && route.children.length) {\r\n route.children = setChildRoute(route.children, parentNameArr);\r\n }\r\n\r\n const foundedChildren = parentNameArr.filter(parent => parent.parentName === route.name);\r\n if (foundedChildren && foundedChildren.length) {\r\n route.children = [...(route.children || []), ...foundedChildren];\r\n }\r\n\r\n return route;\r\n });\r\n}\r\n\r\nexport function sortRoutes(routes: ABP.FullRoute[] = []): ABP.FullRoute[] {\r\n if (!routes.length) return [];\r\n return routes\r\n .map((route, index) => {\r\n return {\r\n ...route,\r\n order: typeof route.order === 'undefined' ? index + 1 : route.order,\r\n };\r\n })\r\n .sort((a, b) => a.order - b.order)\r\n .map(route => {\r\n if (route.children && route.children.length) {\r\n route.children = sortRoutes(route.children);\r\n }\r\n\r\n return route;\r\n });\r\n}\r\n\r\nconst ABP_ROUTES = [] as ABP.FullRoute[];\r\n\r\nexport function addAbpRoutes(routes: ABP.FullRoute | ABP.FullRoute[]): void {\r\n if (!Array.isArray(routes)) {\r\n routes = [routes];\r\n }\r\n\r\n ABP_ROUTES.push(...routes);\r\n}\r\n\r\nexport function getAbpRoutes(): ABP.FullRoute[] {\r\n return ABP_ROUTES;\r\n}\r\n","// Different locales from .NET\r\n// Key is .NET locale, value is Angular locale\r\n\r\nexport default {\r\n 'ar-sa': 'ar-SA',\r\n 'ca-ES-valencia': 'ca-ES-VALENCIA',\r\n 'de-de': 'de',\r\n 'es-ES': 'es',\r\n 'en-US': 'en',\r\n 'fil-Latn': 'en',\r\n 'ku-Arab': 'en',\r\n 'ky-Cyrl': 'en',\r\n 'mi-Latn': 'en',\r\n 'prs-Arab': 'en',\r\n 'qut-Latn': 'en',\r\n nso: 'en',\r\n quz: 'en',\r\n 'fr-FR': 'fr',\r\n 'gd-Latn': 'gd',\r\n 'ha-Latn': 'ha',\r\n 'ig-Latn': 'ig',\r\n 'it-it': 'it',\r\n 'mn-Cyrl': 'mn',\r\n 'pt-BR': 'pt',\r\n 'sd-Arab': 'pa-Arab',\r\n 'sr-Cyrl-RS': 'sr-Cyrl',\r\n 'sr-Latn-RS': 'sr-Latn',\r\n 'tg-Cyrl': 'tg',\r\n 'tk-Latn': 'tk',\r\n 'tt-Cyrl': 'tt',\r\n 'ug-Arab': 'ug',\r\n 'yo-Latn': 'yo',\r\n};\r\n","import { registerLocaleData } from '@angular/common';\r\nimport { Injector } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { GetAppConfiguration } from '../actions/config.actions';\r\nimport differentLocales from '../constants/different-locales';\r\n\r\nexport function getInitialData(injector: Injector) {\r\n const fn = () => {\r\n const store: Store = injector.get(Store);\r\n\r\n return store.dispatch(new GetAppConfiguration()).toPromise();\r\n };\r\n\r\n return fn;\r\n}\r\n\r\nexport function localeInitializer(injector: Injector) {\r\n const fn = () => {\r\n const store: Store = injector.get(Store);\r\n\r\n const lang = store.selectSnapshot(state => state.SessionState.language) || 'en';\r\n\r\n return new Promise((resolve, reject) => {\r\n registerLocale(lang).then(() => resolve('resolved'), reject);\r\n });\r\n };\r\n\r\n return fn;\r\n}\r\n\r\nexport function registerLocale(locale: string) {\r\n return import(\r\n /* webpackInclude: /(af|am|ar-SA|as|az-Latn|be|bg|bn-BD|bn-IN|bs|ca|ca-ES-VALENCIA|cs|cy|da|de|de|el|en-GB|en|es|en|es-US|es-MX|et|eu|fa|fi|en|fr|fr|fr-CA|ga|gd|gl|gu|ha|he|hi|hr|hu|hy|id|ig|is|it|it|ja|ka|kk|km|kn|ko|kok|en|en|lb|lt|lv|en|mk|ml|mn|mr|ms|mt|nb|ne|nl|nl-BE|nn|en|or|pa|pa-Arab|pl|en|pt|pt-PT|en|en|ro|ru|rw|pa-Arab|si|sk|sl|sq|sr-Cyrl-BA|sr-Cyrl|sr-Latn|sv|sw|ta|te|tg|th|ti|tk|tn|tr|tt|ug|uk|ur|uz-Latn|vi|wo|xh|yo|zh-Hans|zh-Hant|zu)\\.js$/ */\r\n `@angular/common/locales/${differentLocales[locale] || locale}.js`\r\n ).then(module => {\r\n registerLocaleData(module.default);\r\n });\r\n}\r\n","import { Injectable, NgZone, Optional, SkipSelf } from '@angular/core';\r\nimport { ActivatedRouteSnapshot, Router } from '@angular/router';\r\nimport { Store } from '@ngxs/store';\r\nimport { noop, Observable } from 'rxjs';\r\nimport { ConfigState } from '../states/config.state';\r\nimport { registerLocale } from '../utils/initial-utils';\r\nimport { Config } from '../models/config';\r\n\r\ntype ShouldReuseRoute = (future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot) => boolean;\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class LocalizationService {\r\n get currentLang(): string {\r\n return this.store.selectSnapshot(state => state.SessionState.language);\r\n }\r\n\r\n constructor(\r\n private store: Store,\r\n private router: Router,\r\n private ngZone: NgZone,\r\n @Optional()\r\n @SkipSelf()\r\n otherInstance: LocalizationService,\r\n ) {\r\n if (otherInstance) throw new Error('LocalizationService should have only one instance.');\r\n }\r\n\r\n setRouteReuse(reuse: ShouldReuseRoute) {\r\n this.router.routeReuseStrategy.shouldReuseRoute = reuse;\r\n }\r\n\r\n registerLocale(locale: string) {\r\n const { shouldReuseRoute } = this.router.routeReuseStrategy;\r\n this.setRouteReuse(() => false);\r\n this.router.navigated = false;\r\n\r\n return registerLocale(locale).then(() => {\r\n this.ngZone.run(async () => {\r\n await this.router.navigateByUrl(this.router.url).catch(noop);\r\n this.setRouteReuse(shouldReuseRoute);\r\n });\r\n });\r\n }\r\n\r\n get(\r\n key: string | Config.LocalizationWithDefault,\r\n ...interpolateParams: string[]\r\n ): Observable {\r\n return this.store.select(ConfigState.getLocalization(key, ...interpolateParams));\r\n }\r\n\r\n instant(key: string | Config.LocalizationWithDefault, ...interpolateParams: string[]): string {\r\n return this.store.selectSnapshot(ConfigState.getLocalization(key, ...interpolateParams));\r\n }\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { from } from 'rxjs';\r\nimport { switchMap } from 'rxjs/operators';\r\nimport { GetAppConfiguration } from '../actions/config.actions';\r\nimport { SetLanguage, SetTenant } from '../actions/session.actions';\r\nimport { ABP, Session } from '../models';\r\nimport { LocalizationService } from '../services/localization.service';\r\n\r\n@State({\r\n name: 'SessionState',\r\n defaults: {} as Session.State,\r\n})\r\nexport class SessionState {\r\n @Selector()\r\n static getLanguage({ language }: Session.State): string {\r\n return language;\r\n }\r\n\r\n @Selector()\r\n static getTenant({ tenant }: Session.State): ABP.BasicItem {\r\n return tenant;\r\n }\r\n\r\n constructor(private localizationService: LocalizationService) {}\r\n\r\n @Action(SetLanguage)\r\n setLanguage({ patchState, dispatch }: StateContext, { payload }: SetLanguage) {\r\n patchState({\r\n language: payload,\r\n });\r\n\r\n return dispatch(new GetAppConfiguration()).pipe(\r\n switchMap(() => from(this.localizationService.registerLocale(payload))),\r\n );\r\n }\r\n\r\n @Action(SetTenant)\r\n setTenant({ patchState }: StateContext, { payload }: SetTenant) {\r\n patchState({\r\n tenant: payload,\r\n });\r\n }\r\n}\r\n","import {\r\n Action,\r\n createSelector,\r\n Selector,\r\n State,\r\n StateContext,\r\n Store,\r\n} from '@ngxs/store';\r\nimport { of } from 'rxjs';\r\nimport { switchMap, tap } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport {\r\n GetAppConfiguration,\r\n PatchRouteByName,\r\n} from '../actions/config.actions';\r\nimport { SetLanguage } from '../actions/session.actions';\r\nimport { ABP } from '../models/common';\r\nimport { Config } from '../models/config';\r\nimport { ApplicationConfigurationService } from '../services/application-configuration.service';\r\nimport { organizeRoutes } from '../utils/route-utils';\r\nimport { SessionState } from './session.state';\r\n\r\n@State({\r\n name: 'ConfigState',\r\n defaults: {} as Config.State,\r\n})\r\nexport class ConfigState {\r\n @Selector()\r\n static getAll(state: Config.State) {\r\n return state;\r\n }\r\n\r\n @Selector()\r\n static getApplicationInfo(state: Config.State): Config.Application {\r\n return state.environment.application || ({} as Config.Application);\r\n }\r\n\r\n static getOne(key: string) {\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n return state[key];\r\n });\r\n\r\n return selector;\r\n }\r\n\r\n static getDeep(keys: string[] | string) {\r\n if (typeof keys === 'string') {\r\n keys = keys.split('.');\r\n }\r\n\r\n if (!Array.isArray(keys)) {\r\n throw new Error('The argument must be a dot string or an string array.');\r\n }\r\n\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n return (keys as string[]).reduce((acc, val) => {\r\n if (acc) {\r\n return acc[val];\r\n }\r\n\r\n return undefined;\r\n }, state);\r\n });\r\n\r\n return selector;\r\n }\r\n\r\n static getRoute(path?: string, name?: string, url?: string) {\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n const { flattedRoutes } = state;\r\n return (flattedRoutes as ABP.FullRoute[]).find(route => {\r\n if (path && route.path === path) {\r\n return route;\r\n } else if (name && route.name === name) {\r\n return route;\r\n } else if (url && route.url === url) {\r\n return route;\r\n }\r\n });\r\n });\r\n\r\n return selector;\r\n }\r\n\r\n static getApiUrl(key?: string) {\r\n const selector = createSelector(\r\n [ConfigState],\r\n (state: Config.State): string => {\r\n return state.environment.apis[key || 'default'].url;\r\n },\r\n );\r\n\r\n return selector;\r\n }\r\n\r\n static getSetting(key: string) {\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n return snq(() => state.setting.values[key]);\r\n });\r\n return selector;\r\n }\r\n\r\n static getSettings(keyword?: string) {\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n if (keyword) {\r\n const keys = snq(\r\n () =>\r\n Object.keys(state.setting.values).filter(\r\n key => key.indexOf(keyword) > -1,\r\n ),\r\n [],\r\n );\r\n\r\n if (keys.length) {\r\n return keys.reduce(\r\n (acc, key) => ({ ...acc, [key]: state.setting.values[key] }),\r\n {},\r\n );\r\n }\r\n }\r\n\r\n return snq(() => state.setting.values, {});\r\n });\r\n return selector;\r\n }\r\n\r\n static getGrantedPolicy(key: string) {\r\n const selector = createSelector(\r\n [ConfigState],\r\n (state: Config.State): boolean => {\r\n if (!key) return true;\r\n const getPolicy = k => snq(() => state.auth.grantedPolicies[k], false);\r\n\r\n const orRegexp = /\\|\\|/g;\r\n const andRegexp = /&&/g;\r\n\r\n if (orRegexp.test(key)) {\r\n const keys = key.split('||').filter(k => !!k);\r\n\r\n if (keys.length !== 2) return false;\r\n\r\n return getPolicy(keys[0].trim()) || getPolicy(keys[1].trim());\r\n } else if (andRegexp.test(key)) {\r\n const keys = key.split('&&').filter(k => !!k);\r\n\r\n if (keys.length !== 2) return false;\r\n\r\n return getPolicy(keys[0].trim()) && getPolicy(keys[1].trim());\r\n }\r\n\r\n return getPolicy(key);\r\n },\r\n );\r\n\r\n return selector;\r\n }\r\n\r\n static getLocalization(\r\n key: string | Config.LocalizationWithDefault,\r\n ...interpolateParams: string[]\r\n ) {\r\n let defaultValue: string;\r\n\r\n if (typeof key !== 'string') {\r\n defaultValue = key.defaultValue;\r\n key = key.key;\r\n }\r\n\r\n if (!key) key = '';\r\n\r\n const keys = key.split('::') as string[];\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n if (!state.localization) return defaultValue || key;\r\n\r\n const { defaultResourceName } = state.environment.localization;\r\n if (keys[0] === '') {\r\n if (!defaultResourceName) {\r\n throw new Error(\r\n `Please check your environment. May you forget set defaultResourceName?\r\n Here is the example:\r\n { production: false,\r\n localization: {\r\n defaultResourceName: 'MyProjectName'\r\n }\r\n }`,\r\n );\r\n }\r\n\r\n keys[0] = snq(() => defaultResourceName);\r\n }\r\n\r\n let localization = (keys as any).reduce((acc, val) => {\r\n if (acc) {\r\n return acc[val];\r\n }\r\n\r\n return undefined;\r\n }, state.localization.values);\r\n\r\n interpolateParams = interpolateParams.filter(params => params != null);\r\n if (localization && interpolateParams && interpolateParams.length) {\r\n interpolateParams.forEach(param => {\r\n localization = localization.replace(/[\\'\\\"]?\\{[\\d]+\\}[\\'\\\"]?/, param);\r\n });\r\n }\r\n\r\n if (typeof localization !== 'string') localization = '';\r\n return localization || defaultValue || key;\r\n });\r\n\r\n return selector;\r\n }\r\n\r\n constructor(\r\n private appConfigurationService: ApplicationConfigurationService,\r\n private store: Store,\r\n ) {}\r\n\r\n @Action(GetAppConfiguration)\r\n addData({ patchState, dispatch }: StateContext) {\r\n return this.appConfigurationService.getConfiguration().pipe(\r\n tap(configuration =>\r\n patchState({\r\n ...configuration,\r\n }),\r\n ),\r\n switchMap(configuration => {\r\n let defaultLang: string =\r\n configuration.setting.values['Abp.Localization.DefaultLanguage'];\r\n\r\n if (defaultLang.includes(';')) {\r\n defaultLang = defaultLang.split(';')[0];\r\n }\r\n\r\n return this.store.selectSnapshot(SessionState.getLanguage)\r\n ? of(null)\r\n : dispatch(new SetLanguage(defaultLang));\r\n }),\r\n );\r\n }\r\n\r\n @Action(PatchRouteByName)\r\n patchRoute(\r\n { patchState, getState }: StateContext,\r\n { name, newValue }: PatchRouteByName,\r\n ) {\r\n let routes: ABP.FullRoute[] = getState().routes;\r\n\r\n const index = routes.findIndex(route => route.name === name);\r\n\r\n routes = patchRouteDeep(routes, name, newValue);\r\n\r\n return patchState({\r\n routes,\r\n });\r\n }\r\n}\r\n\r\nfunction patchRouteDeep(\r\n routes: ABP.FullRoute[],\r\n name: string,\r\n newValue: Partial,\r\n parentUrl: string = '',\r\n): ABP.FullRoute[] {\r\n routes = routes.map(route => {\r\n if (route.name === name) {\r\n newValue.url = `${parentUrl}/${(!newValue.path && newValue.path === ''\r\n ? route.path\r\n : newValue.path) || ''}`;\r\n\r\n if (newValue.children && newValue.children.length) {\r\n newValue.children = newValue.children.map(child => ({\r\n ...child,\r\n url: `${newValue.url}/${child.path}`.replace('//', '/'),\r\n }));\r\n }\r\n\r\n return { ...route, ...newValue };\r\n } else if (route.children && route.children.length) {\r\n route.children = patchRouteDeep(\r\n route.children,\r\n name,\r\n newValue,\r\n (parentUrl || '/') + route.path,\r\n );\r\n }\r\n\r\n return route;\r\n });\r\n\r\n if (parentUrl) {\r\n // recursive block\r\n return routes;\r\n }\r\n\r\n return organizeRoutes(routes);\r\n}\r\n","import { Observable, Subject } from 'rxjs';\r\nimport { takeUntil } from 'rxjs/operators';\r\n\r\nfunction isFunction(value) {\r\n return typeof value === 'function';\r\n}\r\n\r\nexport const takeUntilDestroy = (componentInstance, destroyMethodName = 'ngOnDestroy') => (\r\n source: Observable\r\n) => {\r\n const originalDestroy = componentInstance[destroyMethodName];\r\n if (isFunction(originalDestroy) === false) {\r\n throw new Error(\r\n `${componentInstance.constructor.name} is using untilDestroyed but doesn't implement ${destroyMethodName}`\r\n );\r\n }\r\n if (!componentInstance['__takeUntilDestroy']) {\r\n componentInstance['__takeUntilDestroy'] = new Subject();\r\n\r\n componentInstance[destroyMethodName] = function() {\r\n // tslint:disable-next-line: no-unused-expression\r\n isFunction(originalDestroy) && originalDestroy.apply(this, arguments);\r\n componentInstance['__takeUntilDestroy'].next(true);\r\n componentInstance['__takeUntilDestroy'].complete();\r\n };\r\n }\r\n return source.pipe(takeUntil(componentInstance['__takeUntilDestroy']));\r\n};\r\n","import { Component, Input, OnDestroy, Type } from '@angular/core';\r\nimport { ActivatedRoute, NavigationEnd, Router, UrlSegment } from '@angular/router';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport snq from 'snq';\r\nimport { eLayoutType } from '../enums/common';\r\nimport { Config } from '../models/config';\r\nimport { ABP } from '../models/common';\r\nimport { ConfigState } from '../states/config.state';\r\nimport { takeUntilDestroy } from '../utils/rxjs-utils';\r\n\r\n@Component({\r\n selector: 'abp-dynamic-layout',\r\n template: `\r\n \r\n \r\n \r\n `\r\n})\r\nexport class DynamicLayoutComponent implements OnDestroy {\r\n @Select(ConfigState.getOne('requirements')) requirements$: Observable;\r\n\r\n layout: Type;\r\n\r\n constructor(private router: Router, private route: ActivatedRoute, private store: Store) {\r\n const {\r\n requirements: { layouts },\r\n routes\r\n } = this.store.selectSnapshot(ConfigState.getAll);\r\n\r\n if ((this.route.snapshot.data || {}).layout) {\r\n this.layout = layouts\r\n .filter(l => !!l)\r\n .find((l: any) => snq(() => l.type.toLowerCase().indexOf(this.route.snapshot.data.layout), -1) > -1);\r\n }\r\n\r\n this.router.events.pipe(takeUntilDestroy(this)).subscribe(event => {\r\n if (event instanceof NavigationEnd) {\r\n const { segments } = this.router.parseUrl(event.url).root.children.primary;\r\n\r\n const layout = (this.route.snapshot.data || {}).layout || findLayout(segments, routes);\r\n\r\n this.layout = layouts\r\n .filter(l => !!l)\r\n .find((l: any) => snq(() => l.type.toLowerCase().indexOf(layout), -1) > -1);\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy() {}\r\n}\r\n\r\nfunction findLayout(segments: UrlSegment[], routes: ABP.FullRoute[]): eLayoutType {\r\n let layout = eLayoutType.empty;\r\n\r\n const route = routes\r\n .reduce((acc, val) => (val.wrapper ? [...acc, ...val.children] : [...acc, val]), [])\r\n .find(r => r.path === segments[0].path);\r\n\r\n if (route) {\r\n if (route.layout) {\r\n layout = route.layout;\r\n }\r\n\r\n if (route.children && route.children.length && segments.length > 1) {\r\n const child = route.children.find(c => c.path === segments[1].path);\r\n\r\n if (child && child.layout) {\r\n layout = child.layout;\r\n }\r\n }\r\n }\r\n\r\n return layout;\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-router-outlet',\r\n template: `\r\n \r\n `,\r\n})\r\nexport class RouterOutletComponent {}\r\n","import { Directive, ElementRef, Input, AfterViewInit } from '@angular/core';\r\n\r\n@Directive({\r\n // tslint:disable-next-line: directive-selector\r\n selector: '[autofocus]'\r\n})\r\nexport class AutofocusDirective implements AfterViewInit {\r\n @Input('autofocus')\r\n delay = 0;\r\n\r\n constructor(private elRef: ElementRef) {}\r\n\r\n ngAfterViewInit(): void {\r\n setTimeout(() => this.elRef.nativeElement.focus(), this.delay);\r\n }\r\n}\r\n","import { AfterViewInit, ChangeDetectorRef, Directive, ElementRef, HostBinding, Input } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[abpEllipsis]',\r\n})\r\nexport class EllipsisDirective implements AfterViewInit {\r\n @Input('abpEllipsis')\r\n width: string;\r\n\r\n @HostBinding('title')\r\n @Input()\r\n title: string;\r\n\r\n @Input('abpEllipsisEnabled')\r\n enabled = true;\r\n\r\n @HostBinding('class.abp-ellipsis-inline')\r\n get inlineClass() {\r\n return this.enabled && this.width;\r\n }\r\n\r\n @HostBinding('class.abp-ellipsis')\r\n get class() {\r\n return this.enabled && !this.width;\r\n }\r\n\r\n @HostBinding('style.max-width')\r\n get maxWidth() {\r\n return this.enabled && this.width ? this.width || '170px' : undefined;\r\n }\r\n\r\n constructor(private cdRef: ChangeDetectorRef, private elRef: ElementRef) {}\r\n\r\n ngAfterViewInit() {\r\n this.title = this.title || (this.elRef.nativeElement as HTMLElement).innerText;\r\n this.cdRef.detectChanges();\r\n }\r\n}\r\n","import {\r\n Directive,\r\n EmbeddedViewRef,\r\n Input,\r\n IterableChangeRecord,\r\n IterableChanges,\r\n IterableDiffer,\r\n IterableDiffers,\r\n OnChanges,\r\n TemplateRef,\r\n TrackByFunction,\r\n ViewContainerRef,\r\n} from '@angular/core';\r\nimport compare from 'just-compare';\r\nimport clone from 'just-clone';\r\n\r\nexport type CompareFn = (value: T, comparison: T) => boolean;\r\n\r\nclass AbpForContext {\r\n constructor(public $implicit: any, public index: number, public count: number, public list: any[]) {}\r\n}\r\n\r\nclass RecordView {\r\n constructor(public record: IterableChangeRecord, public view: EmbeddedViewRef) {}\r\n}\r\n\r\n@Directive({\r\n selector: '[abpFor]',\r\n})\r\nexport class ForDirective implements OnChanges {\r\n @Input('abpForOf')\r\n items: any[];\r\n\r\n @Input('abpForOrderBy')\r\n orderBy: string;\r\n\r\n @Input('abpForOrderDir')\r\n orderDir: 'ASC' | 'DESC';\r\n\r\n @Input('abpForFilterBy')\r\n filterBy: string;\r\n\r\n @Input('abpForFilterVal')\r\n filterVal: any;\r\n\r\n @Input('abpForTrackBy')\r\n trackBy;\r\n\r\n @Input('abpForCompareBy')\r\n compareBy: CompareFn;\r\n\r\n @Input('abpForEmptyRef')\r\n emptyRef: TemplateRef;\r\n\r\n private differ: IterableDiffer;\r\n\r\n private isShowEmptyRef: boolean;\r\n\r\n get compareFn(): CompareFn {\r\n return this.compareBy || compare;\r\n }\r\n\r\n get trackByFn(): TrackByFunction {\r\n return this.trackBy || ((index: number, item: any) => (item as any).id || index);\r\n }\r\n\r\n constructor(\r\n private tempRef: TemplateRef,\r\n private vcRef: ViewContainerRef,\r\n private differs: IterableDiffers,\r\n ) {}\r\n\r\n private iterateOverAppliedOperations(changes: IterableChanges) {\r\n const rw: RecordView[] = [];\r\n\r\n changes.forEachOperation((record: IterableChangeRecord, previousIndex: number, currentIndex: number) => {\r\n if (record.previousIndex == null) {\r\n const view = this.vcRef.createEmbeddedView(\r\n this.tempRef,\r\n new AbpForContext(null, -1, -1, this.items),\r\n currentIndex,\r\n );\r\n\r\n rw.push(new RecordView(record, view));\r\n } else if (currentIndex == null) {\r\n this.vcRef.remove(previousIndex);\r\n } else {\r\n const view = this.vcRef.get(previousIndex);\r\n this.vcRef.move(view, currentIndex);\r\n\r\n rw.push(new RecordView(record, view as EmbeddedViewRef));\r\n }\r\n });\r\n\r\n for (let i = 0, l = rw.length; i < l; i++) {\r\n rw[i].view.context.$implicit = rw[i].record.item;\r\n }\r\n }\r\n\r\n private iterateOverAttachedViews(changes: IterableChanges) {\r\n for (let i = 0, l = this.vcRef.length; i < l; i++) {\r\n const viewRef = this.vcRef.get(i) as EmbeddedViewRef;\r\n viewRef.context.index = i;\r\n viewRef.context.count = l;\r\n viewRef.context.list = this.items;\r\n }\r\n\r\n changes.forEachIdentityChange((record: IterableChangeRecord) => {\r\n const viewRef = this.vcRef.get(record.currentIndex) as EmbeddedViewRef;\r\n viewRef.context.$implicit = record.item;\r\n });\r\n }\r\n\r\n private projectItems(items: any[]): void {\r\n if (!items.length && this.emptyRef) {\r\n this.vcRef.clear();\r\n // tslint:disable-next-line: no-unused-expression\r\n this.vcRef.createEmbeddedView(this.emptyRef).rootNodes;\r\n this.isShowEmptyRef = true;\r\n this.differ = null;\r\n\r\n return;\r\n }\r\n\r\n if (this.emptyRef && this.isShowEmptyRef) {\r\n this.vcRef.clear();\r\n this.isShowEmptyRef = false;\r\n }\r\n\r\n if (!this.differ && items) {\r\n this.differ = this.differs.find(items).create(this.trackByFn);\r\n }\r\n\r\n if (this.differ) {\r\n const changes = this.differ.diff(items);\r\n\r\n if (changes) {\r\n this.iterateOverAppliedOperations(changes);\r\n this.iterateOverAttachedViews(changes);\r\n }\r\n }\r\n }\r\n\r\n private sortItems(items: any[]) {\r\n if (this.orderBy) {\r\n items.sort((a, b) => (a[this.orderBy] > b[this.orderBy] ? 1 : a[this.orderBy] < b[this.orderBy] ? -1 : 0));\r\n } else {\r\n items.sort();\r\n }\r\n }\r\n\r\n ngOnChanges() {\r\n let items = clone(this.items) as any[];\r\n if (!Array.isArray(items)) return;\r\n\r\n const compareFn = this.compareFn;\r\n\r\n if (typeof this.filterBy !== 'undefined' && typeof this.filterVal !== 'undefined' && this.filterVal !== '') {\r\n items = items.filter(item => compareFn(item[this.filterBy], this.filterVal));\r\n }\r\n\r\n switch (this.orderDir) {\r\n case 'ASC':\r\n this.sortItems(items);\r\n this.projectItems(items);\r\n break;\r\n\r\n case 'DESC':\r\n this.sortItems(items);\r\n items.reverse();\r\n this.projectItems(items);\r\n break;\r\n\r\n default:\r\n this.projectItems(items);\r\n }\r\n }\r\n}\r\n","export function noop() {\r\n // tslint:disable-next-line: only-arrow-functions\r\n const fn = function() {};\r\n return fn;\r\n}\r\n","export function uuid(a?: any): string {\r\n return a\r\n ? // tslint:disable-next-line: no-bitwise\r\n (a ^ ((Math.random() * 16) >> (a / 4))).toString(16)\r\n : ('' + 1e7 + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, uuid);\r\n}\r\n","import {\r\n ChangeDetectorRef,\r\n Directive,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n OnDestroy,\r\n OnInit,\r\n Output,\r\n Self,\r\n} from '@angular/core';\r\nimport { FormControl, FormGroup, FormGroupDirective } from '@angular/forms';\r\nimport { fromEvent } from 'rxjs';\r\nimport { debounceTime, filter } from 'rxjs/operators';\r\nimport { takeUntilDestroy } from '../utils';\r\n\r\ntype Controls = { [key: string]: FormControl } | FormGroup[];\r\n\r\n@Directive({\r\n // tslint:disable-next-line: directive-selector\r\n selector: 'form[ngSubmit][formGroup]',\r\n})\r\nexport class FormSubmitDirective implements OnInit, OnDestroy {\r\n @Input()\r\n debounce = 200;\r\n\r\n @Input()\r\n notValidateOnSubmit: string | boolean;\r\n\r\n @Output() readonly ngSubmit = new EventEmitter();\r\n\r\n executedNgSubmit = false;\r\n\r\n constructor(\r\n @Self() private formGroupDirective: FormGroupDirective,\r\n private host: ElementRef,\r\n private cdRef: ChangeDetectorRef,\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.formGroupDirective.ngSubmit.pipe(takeUntilDestroy(this)).subscribe(() => {\r\n this.markAsDirty();\r\n this.executedNgSubmit = true;\r\n });\r\n\r\n fromEvent(this.host.nativeElement as HTMLElement, 'keyup')\r\n .pipe(\r\n debounceTime(this.debounce),\r\n filter((key: KeyboardEvent) => key && key.key === 'Enter'),\r\n takeUntilDestroy(this),\r\n )\r\n .subscribe(() => {\r\n if (!this.executedNgSubmit) {\r\n this.host.nativeElement.dispatchEvent(new Event('submit', { bubbles: true, cancelable: true }));\r\n }\r\n\r\n this.executedNgSubmit = false;\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {}\r\n\r\n markAsDirty() {\r\n const { form } = this.formGroupDirective;\r\n\r\n setDirty(form.controls as { [key: string]: FormControl });\r\n form.markAsDirty();\r\n\r\n this.cdRef.detectChanges();\r\n }\r\n}\r\n\r\nfunction setDirty(controls: Controls) {\r\n if (Array.isArray(controls)) {\r\n controls.forEach(group => {\r\n setDirty(group.controls as { [key: string]: FormControl });\r\n });\r\n return;\r\n }\r\n\r\n Object.keys(controls).forEach(key => {\r\n controls[key].markAsDirty();\r\n controls[key].updateValueAndValidity();\r\n });\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RestService } from './rest.service';\r\nimport { Profile, Rest } from '../models';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ProfileService {\r\n constructor(private rest: RestService) {}\r\n\r\n get(): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/identity/my-profile',\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n update(body: Profile.Response): Observable {\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url: '/api/identity/my-profile',\r\n body,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n changePassword(body: Profile.ChangePasswordRequest, skipHandleError: boolean = false): Observable {\r\n const request: Rest.Request = {\r\n method: 'POST',\r\n url: '/api/identity/my-profile/change-password',\r\n body,\r\n };\r\n\r\n return this.rest.request(request, { skipHandleError });\r\n }\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { tap } from 'rxjs/operators';\r\nimport { ChangePassword, GetProfile, UpdateProfile } from '../actions/profile.actions';\r\nimport { Profile } from '../models/profile';\r\nimport { ProfileService } from '../services/profile.service';\r\n\r\n@State({\r\n name: 'ProfileState',\r\n defaults: {} as Profile.State,\r\n})\r\nexport class ProfileState {\r\n @Selector()\r\n static getProfile({ profile }: Profile.State): Profile.Response {\r\n return profile;\r\n }\r\n\r\n constructor(private profileService: ProfileService) {}\r\n\r\n @Action(GetProfile)\r\n getProfile({ patchState }: StateContext) {\r\n return this.profileService.get().pipe(\r\n tap(profile =>\r\n patchState({\r\n profile,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(UpdateProfile)\r\n updateProfile({ patchState }: StateContext, { payload }: UpdateProfile) {\r\n return this.profileService.update(payload).pipe(\r\n tap(profile =>\r\n patchState({\r\n profile,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(ChangePassword)\r\n changePassword(_, { payload }: ChangePassword) {\r\n return this.profileService.changePassword(payload, true);\r\n }\r\n}\r\n","import {\r\n Directive,\r\n ElementRef,\r\n Input,\r\n OnDestroy,\r\n OnInit,\r\n Renderer2,\r\n ViewContainerRef,\r\n TemplateRef,\r\n Optional,\r\n SimpleChanges,\r\n OnChanges,\r\n} from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { ConfigState } from '../states';\r\nimport { takeUntilDestroy } from '../utils';\r\nimport { Subscription } from 'rxjs';\r\n\r\n@Directive({\r\n selector: '[abpPermission]',\r\n})\r\nexport class PermissionDirective implements OnInit, OnDestroy, OnChanges {\r\n @Input('abpPermission') condition: string;\r\n\r\n subscription: Subscription;\r\n\r\n constructor(\r\n private elRef: ElementRef,\r\n private renderer: Renderer2,\r\n private store: Store,\r\n @Optional() private templateRef: TemplateRef,\r\n private vcRef: ViewContainerRef,\r\n ) {}\r\n\r\n private check() {\r\n if (this.subscription) {\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n this.subscription = this.store\r\n .select(ConfigState.getGrantedPolicy(this.condition))\r\n .pipe(takeUntilDestroy(this))\r\n .subscribe(isGranted => {\r\n if (this.templateRef && isGranted) {\r\n this.vcRef.clear();\r\n this.vcRef.createEmbeddedView(this.templateRef);\r\n } else if (this.templateRef && !isGranted) {\r\n this.vcRef.clear();\r\n } else if (!isGranted && !this.templateRef) {\r\n this.renderer.removeChild((this.elRef.nativeElement as HTMLElement).parentElement, this.elRef.nativeElement);\r\n }\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n if (this.templateRef && !this.condition) {\r\n this.vcRef.createEmbeddedView(this.templateRef);\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {}\r\n\r\n ngOnChanges({ condition }: SimpleChanges) {\r\n if ((condition || { currentValue: null }).currentValue) {\r\n this.check();\r\n }\r\n }\r\n}\r\n","import { Directive, Input, Optional, ElementRef, Renderer2, AfterViewInit } from '@angular/core';\r\nimport { Subject } from 'rxjs';\r\nimport snq from 'snq';\r\n\r\n@Directive({\r\n selector: '[abpVisibility]',\r\n})\r\nexport class VisibilityDirective implements AfterViewInit {\r\n @Input('abpVisibility')\r\n focusedElement: HTMLElement;\r\n\r\n completed$ = new Subject();\r\n\r\n constructor(@Optional() private elRef: ElementRef, private renderer: Renderer2) {}\r\n\r\n ngAfterViewInit() {\r\n if (!this.focusedElement && this.elRef) {\r\n this.focusedElement = this.elRef.nativeElement;\r\n }\r\n\r\n let observer: MutationObserver;\r\n observer = new MutationObserver(mutations => {\r\n mutations.forEach(mutation => {\r\n if (!mutation.target) return;\r\n\r\n const htmlNodes = snq(\r\n () => Array.from(mutation.target.childNodes).filter(node => node instanceof HTMLElement),\r\n [],\r\n );\r\n\r\n if (!htmlNodes.length) {\r\n this.removeFromDOM();\r\n }\r\n });\r\n });\r\n\r\n observer.observe(this.focusedElement, {\r\n childList: true,\r\n });\r\n\r\n setTimeout(() => {\r\n const htmlNodes = snq(\r\n () => Array.from(this.focusedElement.childNodes).filter(node => node instanceof HTMLElement),\r\n [],\r\n );\r\n\r\n if (!htmlNodes.length) this.removeFromDOM();\r\n }, 0);\r\n\r\n this.completed$.subscribe(() => observer.disconnect());\r\n }\r\n\r\n disconnect() {\r\n this.completed$.next();\r\n this.completed$.complete();\r\n }\r\n\r\n removeFromDOM() {\r\n if (!this.elRef.nativeElement) return;\r\n\r\n this.renderer.removeChild(this.elRef.nativeElement.parentElement, this.elRef.nativeElement);\r\n this.disconnect();\r\n }\r\n}\r\n","export const enum eLayoutType {\r\n account = 'account',\r\n application = 'application',\r\n empty = 'empty',\r\n /**\r\n * @deprecated since version 0.9.0\r\n */\r\n setting = 'setting',\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot, UrlTree } from '@angular/router';\r\nimport { OAuthService } from 'angular-oauth2-oidc';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AuthGuard implements CanActivate {\r\n constructor(private oauthService: OAuthService, private router: Router) {}\r\n\r\n canActivate(_: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable | boolean | UrlTree {\r\n const hasValidAccessToken = this.oauthService.hasValidAccessToken();\r\n if (hasValidAccessToken) {\r\n return hasValidAccessToken;\r\n }\r\n\r\n return this.router.createUrlTree(['/account/login'], { state: { redirectUrl: state.url } });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ActivatedRouteSnapshot, CanActivate, RouterStateSnapshot } from '@angular/router';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { tap } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport { RestOccurError } from '../actions';\r\nimport { ConfigState } from '../states';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PermissionGuard implements CanActivate {\r\n constructor(private store: Store) {}\r\n\r\n canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable {\r\n let resource = snq(() => route.data.routes.requiredPolicy) || snq(() => route.data.requiredPolicy as string);\r\n if (!resource) {\r\n resource = snq(\r\n () => route.routeConfig.children.find(child => state.url.indexOf(child.path) > -1).data.requiredPolicy,\r\n );\r\n }\r\n\r\n return this.store.select(ConfigState.getGrantedPolicy(resource)).pipe(\r\n tap(access => {\r\n if (!access) {\r\n this.store.dispatch(new RestOccurError({ status: 403 }));\r\n }\r\n }),\r\n );\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http';\r\nimport { OAuthService } from 'angular-oauth2-oidc';\r\nimport { Store } from '@ngxs/store';\r\nimport { SessionState } from '../states';\r\nimport { StartLoader, StopLoader } from '../actions/loader.actions';\r\nimport { finalize } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class ApiInterceptor implements HttpInterceptor {\r\n constructor(private oAuthService: OAuthService, private store: Store) {}\r\n\r\n intercept(request: HttpRequest, next: HttpHandler) {\r\n this.store.dispatch(new StartLoader(request));\r\n\r\n const headers = {} as any;\r\n\r\n const token = this.oAuthService.getAccessToken();\r\n if (!request.headers.has('Authorization') && token) {\r\n headers['Authorization'] = `Bearer ${token}`;\r\n }\r\n\r\n const lang = this.store.selectSnapshot(SessionState.getLanguage);\r\n if (!request.headers.has('Accept-Language') && lang) {\r\n headers['Accept-Language'] = lang;\r\n }\r\n\r\n const tenant = this.store.selectSnapshot(SessionState.getTenant);\r\n if (!request.headers.has('__tenant') && tenant) {\r\n headers['__tenant'] = tenant.id;\r\n }\r\n\r\n return next\r\n .handle(\r\n request.clone({\r\n setHeaders: headers,\r\n }),\r\n )\r\n .pipe(finalize(() => this.store.dispatch(new StopLoader(request))));\r\n }\r\n}\r\n","import { ABP } from './common';\r\n\r\nexport namespace ApplicationConfiguration {\r\n export interface Response {\r\n localization: Localization;\r\n auth: Auth;\r\n setting: Value;\r\n currentUser: CurrentUser;\r\n features: Value;\r\n }\r\n\r\n export interface Localization {\r\n values: LocalizationValue;\r\n languages: Language[];\r\n }\r\n\r\n export interface LocalizationValue {\r\n [key: string]: { [key: string]: string };\r\n }\r\n\r\n export interface Language {\r\n cultureName: string;\r\n uiCultureName: string;\r\n displayName: string;\r\n flagIcon: string;\r\n }\r\n\r\n export interface Auth {\r\n policies: Policy;\r\n grantedPolicies: Policy;\r\n }\r\n\r\n export interface Policy {\r\n [key: string]: boolean;\r\n }\r\n\r\n export interface Value {\r\n values: ABP.Dictionary;\r\n }\r\n\r\n export interface CurrentUser {\r\n isAuthenticated: boolean;\r\n id: string;\r\n tenantId: string;\r\n userName: string;\r\n }\r\n}\r\n","import { Config } from './config';\r\nimport { eLayoutType } from '../enums/common';\r\n\r\nexport namespace ABP {\r\n export interface Root {\r\n environment: Partial;\r\n requirements: Config.Requirements;\r\n }\r\n\r\n export type PagedResponse = {\r\n totalCount: number;\r\n } & PagedItemsResponse;\r\n\r\n export interface PagedItemsResponse {\r\n items: T[];\r\n }\r\n\r\n export interface PageQueryParams {\r\n filter?: string;\r\n sorting?: string;\r\n skipCount?: number;\r\n maxResultCount?: number;\r\n }\r\n\r\n export interface Route {\r\n children?: Route[];\r\n invisible?: boolean;\r\n layout?: eLayoutType;\r\n name: string;\r\n order?: number;\r\n parentName?: string;\r\n path: string;\r\n requiredPolicy?: string;\r\n iconClass?: string;\r\n }\r\n\r\n export interface FullRoute extends Route {\r\n url?: string;\r\n wrapper?: boolean;\r\n }\r\n\r\n export interface BasicItem {\r\n id: string;\r\n name: string;\r\n }\r\n\r\n export interface Dictionary {\r\n [key: string]: T;\r\n }\r\n}\r\n","import { AuthConfig } from 'angular-oauth2-oidc';\r\nimport { Type } from '@angular/core';\r\nimport { ApplicationConfiguration } from './application-configuration';\r\nimport { ABP } from './common';\r\n\r\nexport namespace Config {\r\n export type State = ApplicationConfiguration.Response &\r\n ABP.Root & { environment: Environment } & {\r\n routes: ABP.FullRoute[];\r\n flattedRoutes: ABP.FullRoute[];\r\n };\r\n\r\n export interface Environment {\r\n application: Application;\r\n production: boolean;\r\n oAuthConfig: AuthConfig;\r\n apis: Apis;\r\n localization: { defaultResourceName: string };\r\n }\r\n\r\n export interface Application {\r\n name: string;\r\n logoUrl?: string;\r\n }\r\n\r\n export interface Apis {\r\n [key: string]: { [key: string]: string };\r\n }\r\n\r\n export interface Requirements {\r\n layouts: Type[];\r\n }\r\n\r\n export interface LocalizationWithDefault {\r\n key: string;\r\n defaultValue: string;\r\n }\r\n\r\n export type LocalizationParam = string | LocalizationWithDefault;\r\n}\r\n","import { HttpHeaders, HttpParams } from '@angular/common/http';\r\n\r\nexport namespace Rest {\r\n export interface Config {\r\n skipHandleError?: boolean;\r\n observe?: Observe;\r\n }\r\n\r\n export const enum Observe {\r\n Body = 'body',\r\n Events = 'events',\r\n Response = 'response',\r\n }\r\n\r\n export const enum ResponseType {\r\n ArrayBuffer = 'arraybuffer',\r\n Blob = 'blob',\r\n JSON = 'json',\r\n Text = 'text',\r\n }\r\n\r\n export interface Request {\r\n body?: T;\r\n headers?:\r\n | HttpHeaders\r\n | {\r\n [header: string]: string | string[];\r\n };\r\n method: string;\r\n params?:\r\n | HttpParams\r\n | {\r\n [param: string]: any;\r\n };\r\n reportProgress?: boolean;\r\n responseType?: ResponseType;\r\n url: string;\r\n withCredentials?: boolean;\r\n }\r\n}\r\n","import { ABP } from '../models';\r\n\r\nexport namespace Session {\r\n export interface State {\r\n language: string;\r\n tenant: ABP.BasicItem;\r\n }\r\n}\r\n","export namespace Profile {\r\n export interface State {\r\n profile: Response;\r\n }\r\n\r\n export interface Response {\r\n userName: string;\r\n email: string;\r\n name: string;\r\n surname: string;\r\n phoneNumber: string;\r\n }\r\n\r\n export interface ChangePasswordRequest {\r\n currentPassword: string;\r\n newPassword: string;\r\n }\r\n}\r\n","import { Pipe, PipeTransform, Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { Config } from '../models';\r\nimport { ConfigState } from '../states';\r\n\r\n@Injectable()\r\n@Pipe({\r\n name: 'abpLocalization',\r\n})\r\nexport class LocalizationPipe implements PipeTransform {\r\n constructor(private store: Store) {}\r\n\r\n transform(value: string | Config.LocalizationWithDefault = '', ...interpolateParams: string[]): string {\r\n return this.store.selectSnapshot(\r\n ConfigState.getLocalization(\r\n value,\r\n ...interpolateParams.reduce((acc, val) => (Array.isArray(val) ? [...acc, ...val] : [...acc, val]), []),\r\n ),\r\n );\r\n }\r\n}\r\n","import { Injectable, Pipe, PipeTransform } from '@angular/core';\r\nexport type SortOrder = 'asc' | 'desc';\r\n@Injectable()\r\n@Pipe({\r\n name: 'abpSort',\r\n})\r\nexport class SortPipe implements PipeTransform {\r\n transform(\r\n value: any[],\r\n sortOrder: SortOrder | string = 'asc',\r\n sortKey?: string,\r\n ): any {\r\n sortOrder = sortOrder && (sortOrder.toLowerCase() as any);\r\n\r\n if (!value || (sortOrder !== 'asc' && sortOrder !== 'desc')) return value;\r\n\r\n let numberArray = [];\r\n let stringArray = [];\r\n\r\n if (!sortKey) {\r\n numberArray = value.filter(item => typeof item === 'number').sort();\r\n stringArray = value.filter(item => typeof item === 'string').sort();\r\n } else {\r\n numberArray = value\r\n .filter(item => typeof item[sortKey] === 'number')\r\n .sort((a, b) => a[sortKey] - b[sortKey]);\r\n stringArray = value\r\n .filter(item => typeof item[sortKey] === 'string')\r\n .sort((a, b) => {\r\n if (a[sortKey] < b[sortKey]) return -1;\r\n else if (a[sortKey] > b[sortKey]) return 1;\r\n else return 0;\r\n });\r\n }\r\n const sorted = [\r\n ...numberArray,\r\n ...stringArray,\r\n ...value.filter(\r\n item =>\r\n typeof (sortKey ? item[sortKey] : item) !== 'number' &&\r\n typeof (sortKey ? item[sortKey] : item) !== 'string',\r\n ),\r\n ];\r\n return sortOrder === 'asc' ? sorted : sorted.reverse();\r\n }\r\n}\r\n","import { Inject, Injectable, InjectionToken } from '@angular/core';\r\nimport { Router, Routes } from '@angular/router';\r\nimport { actionMatcher, InitState, NgxsNextPluginFn, NgxsPlugin, setValue, UpdateState } from '@ngxs/store';\r\nimport snq from 'snq';\r\nimport { ABP } from '../models';\r\nimport { organizeRoutes, getAbpRoutes } from '../utils/route-utils';\r\nimport clone from 'just-clone';\r\n\r\nexport const NGXS_CONFIG_PLUGIN_OPTIONS = new InjectionToken('NGXS_CONFIG_PLUGIN_OPTIONS');\r\n\r\n@Injectable()\r\nexport class ConfigPlugin implements NgxsPlugin {\r\n private initialized = false;\r\n\r\n constructor(@Inject(NGXS_CONFIG_PLUGIN_OPTIONS) private options: ABP.Root, private router: Router) {}\r\n\r\n handle(state: any, event: any, next: NgxsNextPluginFn) {\r\n const matches = actionMatcher(event);\r\n const isInitAction = matches(InitState) || matches(UpdateState);\r\n\r\n if (isInitAction && !this.initialized) {\r\n const transformedRoutes = transformRoutes(this.router.config);\r\n let { routes } = transformedRoutes;\r\n const { wrappers } = transformedRoutes;\r\n\r\n routes = organizeRoutes(routes, wrappers);\r\n const flattedRoutes = flatRoutes(clone(routes));\r\n state = setValue(state, 'ConfigState', {\r\n ...(state.ConfigState && { ...state.ConfigState }),\r\n ...this.options,\r\n routes,\r\n flattedRoutes,\r\n });\r\n\r\n this.initialized = true;\r\n }\r\n\r\n return next(state, event);\r\n }\r\n}\r\n\r\nfunction transformRoutes(routes: Routes = [], wrappers: ABP.FullRoute[] = []): any {\r\n // TODO: remove in v1\r\n const oldAbpRoutes: ABP.FullRoute[] = routes\r\n .filter(route => {\r\n return snq(() => route.data.routes.routes.find(r => r.path === route.path), false);\r\n })\r\n .reduce((acc, val) => [...acc, ...val.data.routes.routes], []);\r\n // tslint:disable-next-line: deprecation\r\n const abpRoutes = [...getAbpRoutes(), ...oldAbpRoutes];\r\n\r\n wrappers = abpRoutes.filter(ar => ar.wrapper);\r\n const transformed = [] as ABP.FullRoute[];\r\n routes\r\n .filter(route => route.component || route.loadChildren)\r\n .forEach(route => {\r\n const abpPackage = abpRoutes.find(abp => abp.path.toLowerCase() === route.path.toLowerCase() && !abp.wrapper);\r\n\r\n const { length } = transformed;\r\n\r\n if (abpPackage) {\r\n transformed.push(abpPackage);\r\n }\r\n\r\n if (transformed.length === length && (route.data || {}).routes) {\r\n transformed.push({\r\n ...route.data.routes,\r\n path: route.path,\r\n name: snq(() => route.data.routes.name, route.path),\r\n children: route.data.routes.children || [],\r\n } as ABP.FullRoute);\r\n }\r\n });\r\n\r\n return { routes: setUrls(transformed), wrappers };\r\n}\r\n\r\nfunction setUrls(routes: ABP.FullRoute[], parentUrl?: string): ABP.FullRoute[] {\r\n if (parentUrl) {\r\n // this if block using for only recursive call\r\n\r\n return routes.map(route => ({\r\n ...route,\r\n url: `${parentUrl}/${route.path}`,\r\n ...(route.children &&\r\n route.children.length && {\r\n children: setUrls(route.children, `${parentUrl}/${route.path}`),\r\n }),\r\n }));\r\n }\r\n\r\n return routes.map(route => ({\r\n ...route,\r\n url: `/${route.path}`,\r\n ...(route.children &&\r\n route.children.length && {\r\n children: setUrls(route.children, `/${route.path}`),\r\n }),\r\n }));\r\n}\r\n\r\nfunction flatRoutes(routes: ABP.FullRoute[]): ABP.FullRoute[] {\r\n const flat = (r: ABP.FullRoute[]) => {\r\n return r.reduce((acc, val) => {\r\n let value: ABP.FullRoute[] = [val];\r\n if (val.children) {\r\n value = [val, ...flat(val.children)];\r\n }\r\n\r\n return [...acc, ...value];\r\n }, []);\r\n };\r\n\r\n return flat(routes);\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { ConfigState } from '../states';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ConfigStateService {\r\n constructor(private store: Store) {}\r\n\r\n getAll() {\r\n return this.store.selectSnapshot(ConfigState.getAll);\r\n }\r\n\r\n getApplicationInfo() {\r\n return this.store.selectSnapshot(ConfigState.getApplicationInfo);\r\n }\r\n\r\n getOne(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getOne(...args));\r\n }\r\n\r\n getDeep(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getDeep(...args));\r\n }\r\n\r\n getRoute(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getRoute(...args));\r\n }\r\n\r\n getApiUrl(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getApiUrl(...args));\r\n }\r\n\r\n getSetting(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getSetting(...args));\r\n }\r\n\r\n getSettings(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getSettings(...args));\r\n }\r\n\r\n getGrantedPolicy(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getGrantedPolicy(...args));\r\n }\r\n\r\n getLocalization(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getLocalization(...args));\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable, ReplaySubject, throwError } from 'rxjs';\r\nimport { uuid } from '../utils';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class LazyLoadService {\r\n loadedLibraries: { [url: string]: ReplaySubject } = {};\r\n\r\n load(\r\n urlOrUrls: string | string[],\r\n type: 'script' | 'style',\r\n content: string = '',\r\n targetQuery: string = 'body',\r\n position: InsertPosition = 'beforeend',\r\n ): Observable {\r\n if (!urlOrUrls && !content) {\r\n return throwError('Should pass url or content');\r\n } else if (!urlOrUrls && content) {\r\n urlOrUrls = [null];\r\n }\r\n\r\n if (!Array.isArray(urlOrUrls)) {\r\n urlOrUrls = [urlOrUrls];\r\n }\r\n\r\n return new Observable(subscriber => {\r\n (urlOrUrls as string[]).forEach((url, index) => {\r\n const key = url ? url.slice(url.lastIndexOf('/') + 1) : uuid();\r\n\r\n if (this.loadedLibraries[key]) {\r\n subscriber.next();\r\n subscriber.complete();\r\n return;\r\n }\r\n\r\n this.loadedLibraries[key] = new ReplaySubject();\r\n\r\n let library;\r\n if (type === 'script') {\r\n library = document.createElement('script');\r\n library.type = 'text/javascript';\r\n if (url) {\r\n (library as HTMLScriptElement).src = url;\r\n }\r\n\r\n (library as HTMLScriptElement).text = content;\r\n } else if (url) {\r\n library = document.createElement('link');\r\n library.type = 'text/css';\r\n (library as HTMLLinkElement).rel = 'stylesheet';\r\n\r\n if (url) {\r\n (library as HTMLLinkElement).href = url;\r\n }\r\n } else {\r\n library = document.createElement('style');\r\n (library as HTMLStyleElement).textContent = content;\r\n }\r\n\r\n library.onload = () => {\r\n this.loadedLibraries[key].next();\r\n this.loadedLibraries[key].complete();\r\n\r\n if (index === urlOrUrls.length - 1) {\r\n subscriber.next();\r\n subscriber.complete();\r\n }\r\n };\r\n\r\n document.querySelector(targetQuery).insertAdjacentElement(position, library);\r\n });\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { ProfileState } from '../states';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ProfileStateService {\r\n constructor(private store: Store) {}\r\n\r\n getProfile() {\r\n return this.store.selectSnapshot(ProfileState.getProfile);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { SessionState } from '../states';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class SessionStateService {\r\n constructor(private store: Store) {}\r\n\r\n getLanguage() {\r\n return this.store.selectSnapshot(SessionState.getLanguage);\r\n }\r\n\r\n getTenant() {\r\n return this.store.selectSnapshot(SessionState.getTenant);\r\n }\r\n}\r\n","import { InjectionToken } from '@angular/core';\r\nimport { Config } from '../models';\r\n\r\nexport function environmentFactory(environment: Config.Environment) {\r\n return {\r\n ...environment,\r\n };\r\n}\r\n\r\nexport function configFactory(config: Config.Requirements) {\r\n return {\r\n ...config,\r\n };\r\n}\r\n\r\nexport const ENVIRONMENT = new InjectionToken('ENVIRONMENT');\r\n\r\nexport const CONFIG = new InjectionToken('CONFIG');\r\n","import { Directive, ElementRef, EventEmitter, Input, OnDestroy, OnInit, Output } from '@angular/core';\r\nimport { takeUntilDestroy } from '@ngx-validate/core';\r\nimport { fromEvent } from 'rxjs';\r\nimport { debounceTime } from 'rxjs/operators';\r\n\r\n@Directive({\r\n // tslint:disable-next-line: directive-selector\r\n selector: '[input.debounce]',\r\n})\r\nexport class InputEventDebounceDirective implements OnInit, OnDestroy {\r\n @Input() debounce = 300;\r\n\r\n @Output('input.debounce') readonly debounceEvent = new EventEmitter();\r\n\r\n constructor(private el: ElementRef) {}\r\n\r\n ngOnInit(): void {\r\n fromEvent(this.el.nativeElement, 'input')\r\n .pipe(\r\n debounceTime(this.debounce),\r\n takeUntilDestroy(this),\r\n )\r\n .subscribe((event: Event) => {\r\n this.debounceEvent.emit(event);\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {}\r\n}\r\n","import { Directive, ElementRef, EventEmitter, OnInit, Output, OnDestroy } from '@angular/core';\r\nimport { fromEvent } from 'rxjs';\r\nimport { takeUntilDestroy } from '../utils/rxjs-utils';\r\n\r\n@Directive({\r\n // tslint:disable-next-line: directive-selector\r\n selector: '[click.stop]',\r\n})\r\nexport class ClickEventStopPropagationDirective implements OnInit, OnDestroy {\r\n @Output('click.stop') readonly stopPropEvent = new EventEmitter();\r\n\r\n constructor(private el: ElementRef) {}\r\n\r\n ngOnInit(): void {\r\n fromEvent(this.el.nativeElement, 'click')\r\n .pipe(takeUntilDestroy(this))\r\n .subscribe((event: MouseEvent) => {\r\n event.stopPropagation();\r\n this.stopPropEvent.emit(event);\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {}\r\n}\r\n","import { LOCALE_ID, Provider } from '@angular/core';\r\nimport localesMapping from '../constants/different-locales';\r\nimport { LocalizationService } from '../services/localization.service';\r\n\r\nexport class LocaleId extends String {\r\n constructor(private localizationService: LocalizationService) {\r\n super();\r\n }\r\n\r\n toString(): string {\r\n const { currentLang } = this.localizationService;\r\n return localesMapping[currentLang] || currentLang;\r\n }\r\n\r\n valueOf(): string {\r\n return this.toString();\r\n }\r\n}\r\n\r\nexport const LocaleProvider: Provider = {\r\n provide: LOCALE_ID,\r\n useClass: LocaleId,\r\n deps: [LocalizationService],\r\n};\r\n","export {};\r\n\r\ndeclare global {\r\n interface Date {\r\n toLocalISOString(): string;\r\n }\r\n}\r\n\r\nDate.prototype.toLocalISOString = function(this: Date): string {\r\n const timezoneOffset = this.getTimezoneOffset();\r\n\r\n return new Date(this.getTime() - timezoneOffset * 60000).toISOString();\r\n};\r\n","import { CommonModule } from '@angular/common';\r\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { APP_INITIALIZER, Injector, ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { RouterModule } from '@angular/router';\r\nimport { NgxsRouterPluginModule } from '@ngxs/router-plugin';\r\nimport { NgxsStoragePluginModule } from '@ngxs/storage-plugin';\r\nimport { NgxsModule, NGXS_PLUGINS } from '@ngxs/store';\r\nimport { OAuthModule } from 'angular-oauth2-oidc';\r\nimport { AbstractNgModelComponent } from './abstracts/ng-model.component';\r\nimport { DynamicLayoutComponent } from './components/dynamic-layout.component';\r\nimport { RouterOutletComponent } from './components/router-outlet.component';\r\nimport { AutofocusDirective } from './directives/autofocus.directive';\r\nimport { InputEventDebounceDirective } from './directives/debounce.directive';\r\nimport { EllipsisDirective } from './directives/ellipsis.directive';\r\nimport { ForDirective } from './directives/for.directive';\r\nimport { FormSubmitDirective } from './directives/form-submit.directive';\r\nimport { PermissionDirective } from './directives/permission.directive';\r\nimport { ClickEventStopPropagationDirective } from './directives/stop-propagation.directive';\r\nimport { VisibilityDirective } from './directives/visibility.directive';\r\nimport { ApiInterceptor } from './interceptors/api.interceptor';\r\nimport { ABP } from './models/common';\r\nimport { LocalizationPipe } from './pipes/localization.pipe';\r\nimport { SortPipe } from './pipes/sort.pipe';\r\nimport { ConfigPlugin, NGXS_CONFIG_PLUGIN_OPTIONS } from './plugins/config.plugin';\r\nimport { LocaleProvider } from './providers/locale.provider';\r\nimport { ConfigState } from './states/config.state';\r\nimport { ProfileState } from './states/profile.state';\r\nimport { SessionState } from './states/session.state';\r\nimport { getInitialData, localeInitializer } from './utils/initial-utils';\r\nimport './utils/date-extensions';\r\n\r\n@NgModule({\r\n imports: [\r\n NgxsModule.forFeature([ProfileState, SessionState, ConfigState]),\r\n NgxsRouterPluginModule.forRoot(),\r\n NgxsStoragePluginModule.forRoot({ key: ['SessionState'] }),\r\n OAuthModule.forRoot(),\r\n CommonModule,\r\n HttpClientModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n RouterModule,\r\n ],\r\n declarations: [\r\n RouterOutletComponent,\r\n DynamicLayoutComponent,\r\n AutofocusDirective,\r\n EllipsisDirective,\r\n ForDirective,\r\n FormSubmitDirective,\r\n LocalizationPipe,\r\n SortPipe,\r\n PermissionDirective,\r\n VisibilityDirective,\r\n InputEventDebounceDirective,\r\n ClickEventStopPropagationDirective,\r\n AbstractNgModelComponent,\r\n ],\r\n exports: [\r\n CommonModule,\r\n HttpClientModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n RouterModule,\r\n RouterOutletComponent,\r\n DynamicLayoutComponent,\r\n AutofocusDirective,\r\n EllipsisDirective,\r\n ForDirective,\r\n FormSubmitDirective,\r\n LocalizationPipe,\r\n SortPipe,\r\n PermissionDirective,\r\n VisibilityDirective,\r\n InputEventDebounceDirective,\r\n LocalizationPipe,\r\n ClickEventStopPropagationDirective,\r\n AbstractNgModelComponent,\r\n ],\r\n providers: [LocalizationPipe],\r\n entryComponents: [RouterOutletComponent, DynamicLayoutComponent],\r\n})\r\nexport class CoreModule {\r\n static forRoot(options = {} as ABP.Root): ModuleWithProviders {\r\n return {\r\n ngModule: CoreModule,\r\n providers: [\r\n LocaleProvider,\r\n {\r\n provide: NGXS_PLUGINS,\r\n useClass: ConfigPlugin,\r\n multi: true,\r\n },\r\n {\r\n provide: NGXS_CONFIG_PLUGIN_OPTIONS,\r\n useValue: options,\r\n },\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: ApiInterceptor,\r\n multi: true,\r\n },\r\n {\r\n provide: APP_INITIALIZER,\r\n multi: true,\r\n deps: [Injector],\r\n useFactory: getInitialData,\r\n },\r\n {\r\n provide: APP_INITIALIZER,\r\n multi: true,\r\n deps: [Injector],\r\n useFactory: localeInitializer,\r\n },\r\n ],\r\n };\r\n }\r\n}\r\n"],"names":["ChangeDetectorRef","Component","Injector","Input","throwError","take","tap","catchError","Injectable","HttpClient","Store","store","differentLocales","registerLocaleData","noop","Router","NgZone","Optional","SkipSelf","switchMap","from","tslib_1.__decorate","Action","Selector","State","createSelector","of","Subject","takeUntil","router","NavigationEnd","ActivatedRoute","Select","Observable","Directive","ElementRef","HostBinding","TemplateRef","ViewContainerRef","IterableDiffers","EventEmitter","fromEvent","debounceTime","filter","FormGroupDirective","Self","Output","Renderer2","OAuthService","finalize","Rest","Pipe","InjectionToken","actionMatcher","InitState","UpdateState","setValue","Inject","ReplaySubject","takeUntilDestroy","tslib_1.__extends","LOCALE_ID","NGXS_PLUGINS","HTTP_INTERCEPTORS","APP_INITIALIZER","NgModule","NgxsModule","NgxsRouterPluginModule","NgxsStoragePluginModule","OAuthModule","CommonModule","HttpClientModule","FormsModule","ReactiveFormsModule","RouterModule"],"mappings":";;;;;;;;;;IAAA;IACA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACnF,IAAI,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;;AAEF,IAAO,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;IAChC,IAAI,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACxB,IAAI,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE;IAC3C,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,KAAK,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,GAAG,CAAC,CAAC,SAAS,EAAE,IAAI,EAAE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B;4BACrB,sBAAsB;4BACtB,kBAAkB;4BAClB,iBAAiB;4BACjB,YAAY;4BACZ,mBAAmB;4BACnB,gBAAgB;4BAChB,QAAQ;4BACR,mBAAmB;4BACnB,mBAAmB;4BACnB,2BAA2B;4BAC3B,gBAAgB;4BAChB,kCAAkC;4BAClC,wBAAwB;yBACzB;wBACD,SAAS,EAAE,CAAC,gBAAgB,CAAC;wBAC7B,eAAe,EAAE,CAAC,qBAAqB,EAAE,sBAAsB,CAAC;qBACjE;;QAoCD,iBAAC;KAtFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/core/bundles/abp-ng.core.umd.min.js b/npm/ng-packs/dist/core/bundles/abp-ng.core.umd.min.js deleted file mode 100644 index dabe31f159f..00000000000 --- a/npm/ng-packs/dist/core/bundles/abp-ng.core.umd.min.js +++ /dev/null @@ -1,17 +0,0 @@ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/router"),require("@ngxs/store"),require("rxjs"),require("snq"),require("rxjs/operators"),require("@angular/common/http"),require("@angular/common"),require("just-compare"),require("just-clone"),require("@angular/forms"),require("angular-oauth2-oidc"),require("@ngxs/router-plugin"),require("@ngxs/storage-plugin"),require("@ngx-validate/core")):"function"==typeof define&&define.amd?define("@abp/ng.core",["exports","@angular/core","@angular/router","@ngxs/store","rxjs","snq","rxjs/operators","@angular/common/http","@angular/common","just-compare","just-clone","@angular/forms","angular-oauth2-oidc","@ngxs/router-plugin","@ngxs/storage-plugin","@ngx-validate/core"],e):e(((t=t||self).abp=t.abp||{},t.abp.ng=t.abp.ng||{},t.abp.ng.core={}),t.ng.core,t.ng.router,t.store,t.rxjs,t.snq,t.rxjs.operators,t.ng.common.http,t.ng.common,t.compare,t.clone,t.ng.forms,t.angularOauth2Oidc,t.routerPlugin,t.storagePlugin,t.core$1)}(this,(function(t,e,n,r,o,i,a,u,c,s,p,l,f,d,h,y){"use strict";i=i&&i.hasOwnProperty("default")?i.default:i,s=s&&s.hasOwnProperty("default")?s.default:s,p=p&&p.hasOwnProperty("default")?p.default:p; -/*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ -var g=function(t,e){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var v=function(){return(v=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0;u--)(o=t[u])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}function b(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function S(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function I(){for(var t=[],e=0;e-1}))}),[]);if(n.length)return n.reduce((function(t,n){var r;return v({},t,((r={})[n]=e.setting.values[n],r))}),{})}return i((function(){return e.setting.values}),{})}))},t.getGrantedPolicy=function(t){return r.createSelector([e],(function(e){if(!t)return!0;var n,r=function(t){return i((function(){return e.auth.grantedPolicies[t]}),!1)};return/\|\|/g.test(t)?2===(n=t.split("||").filter((function(t){return!!t}))).length&&(r(n[0].trim())||r(n[1].trim())):/&&/g.test(t)?2===(n=t.split("&&").filter((function(t){return!!t}))).length&&(r(n[0].trim())&&r(n[1].trim())):r(t)}))},t.getLocalization=function(t){for(var n,o=[],a=1;a-1}))),this.router.events.pipe(X(this)).subscribe((function(t){if(t instanceof n.NavigationEnd){var e=o.router.parseUrl(t.url).root.children.primary.segments,r=(o.route.snapshot.data||{}).layout||function(t,e){var n="empty",r=e.reduce((function(t,e){return e.wrapper?I(t,e.children):I(t,[e])}),[]).find((function(e){return e.path===t[0].path}));if(r&&(r.layout&&(n=r.layout),r.children&&r.children.length&&t.length>1)){var o=r.children.find((function(e){return e.path===t[1].path}));o&&o.layout&&(n=o.layout)}return n}(e,c);o.layout=u.filter((function(t){return!!t})).find((function(t){return i((function(){return t.type.toLowerCase().indexOf(r)}),-1)>-1}))}}))}return t.prototype.ngOnDestroy=function(){},t.decorators=[{type:e.Component,args:[{selector:"abp-dynamic-layout",template:'\n \n \n \n '}]}],t.ctorParameters=function(){return[{type:n.Router},{type:n.ActivatedRoute},{type:r.Store}]},m([r.Select(Z.getOne("requirements")),b("design:type",o.Observable)],t.prototype,"requirements$",void 0),t}();var J=function(){function t(){}return t.decorators=[{type:e.Component,args:[{selector:"abp-router-outlet",template:"\n \n "}]}],t}(),K=function(){function t(t){this.elRef=t,this.delay=0}return t.prototype.ngAfterViewInit=function(){var t=this;setTimeout((function(){return t.elRef.nativeElement.focus()}),this.delay)},t.decorators=[{type:e.Directive,args:[{selector:"[autofocus]"}]}],t.ctorParameters=function(){return[{type:e.ElementRef}]},t.propDecorators={delay:[{type:e.Input,args:["autofocus"]}]},t}();var Y=function(){function t(t,e){this.cdRef=t,this.elRef=e,this.enabled=!0}return Object.defineProperty(t.prototype,"inlineClass",{get:function(){return this.enabled&&this.width},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"class",{get:function(){return this.enabled&&!this.width},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxWidth",{get:function(){return this.enabled&&this.width?this.width||"170px":void 0},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){this.title=this.title||this.elRef.nativeElement.innerText,this.cdRef.detectChanges()},t.decorators=[{type:e.Directive,args:[{selector:"[abpEllipsis]"}]}],t.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef}]},t.propDecorators={width:[{type:e.Input,args:["abpEllipsis"]}],title:[{type:e.HostBinding,args:["title"]},{type:e.Input}],enabled:[{type:e.Input,args:["abpEllipsisEnabled"]}],inlineClass:[{type:e.HostBinding,args:["class.abp-ellipsis-inline"]}],class:[{type:e.HostBinding,args:["class.abp-ellipsis"]}],maxWidth:[{type:e.HostBinding,args:["style.max-width"]}]},t}();var tt=function(t,e,n,r){this.$implicit=t,this.index=e,this.count=n,this.list=r};var et=function(t,e){this.record=t,this.view=e};var nt=function(){function t(t,e,n){this.tempRef=t,this.vcRef=e,this.differs=n}return Object.defineProperty(t.prototype,"compareFn",{get:function(){return this.compareBy||s},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"trackByFn",{get:function(){return this.trackBy||function(t,e){return e.id||t}},enumerable:!0,configurable:!0}),t.prototype.iterateOverAppliedOperations=function(t){var e=this,n=[];t.forEachOperation((function(t,r,o){if(null==t.previousIndex){var i=e.vcRef.createEmbeddedView(e.tempRef,new tt(null,-1,-1,e.items),o);n.push(new et(t,i))}else if(null==o)e.vcRef.remove(r);else{i=e.vcRef.get(r);e.vcRef.move(i,o),n.push(new et(t,i))}}));for(var r=0,o=n.length;rn[e.orderBy]?1:t[e.orderBy]>t/4).toString(16):(""+1e7+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,rt)}var ot=function(){function t(t,n,r){this.formGroupDirective=t,this.host=n,this.cdRef=r,this.debounce=200,this.ngSubmit=new e.EventEmitter,this.executedNgSubmit=!1}return t.prototype.ngOnInit=function(){var t=this;this.formGroupDirective.ngSubmit.pipe(X(this)).subscribe((function(){t.markAsDirty(),t.executedNgSubmit=!0})),o.fromEvent(this.host.nativeElement,"keyup").pipe(a.debounceTime(this.debounce),a.filter((function(t){return t&&"Enter"===t.key})),X(this)).subscribe((function(){t.executedNgSubmit||t.host.nativeElement.dispatchEvent(new Event("submit",{bubbles:!0,cancelable:!0})),t.executedNgSubmit=!1}))},t.prototype.ngOnDestroy=function(){},t.prototype.markAsDirty=function(){var t=this.formGroupDirective.form;!function t(e){if(Array.isArray(e))return void e.forEach((function(e){t(e.controls)}));Object.keys(e).forEach((function(t){e[t].markAsDirty(),e[t].updateValueAndValidity()}))}(t.controls),t.markAsDirty(),this.cdRef.detectChanges()},t.decorators=[{type:e.Directive,args:[{selector:"form[ngSubmit][formGroup]"}]}],t.ctorParameters=function(){return[{type:l.FormGroupDirective,decorators:[{type:e.Self}]},{type:e.ElementRef},{type:e.ChangeDetectorRef}]},t.propDecorators={debounce:[{type:e.Input}],notValidateOnSubmit:[{type:e.Input}],ngSubmit:[{type:e.Output}]},t}();var it=function(){function t(t){this.rest=t}return t.prototype.get=function(){return this.rest.request({method:"GET",url:"/api/identity/my-profile"})},t.prototype.update=function(t){var e={method:"PUT",url:"/api/identity/my-profile",body:t};return this.rest.request(e)},t.prototype.changePassword=function(t,e){void 0===e&&(e=!1);var n={method:"POST",url:"/api/identity/my-profile/change-password",body:t};return this.rest.request(n,{skipHandleError:e})},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:F}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(F))},token:t,providedIn:"root"}),t}();var at=function(){function t(t){this.profileService=t}return t.getProfile=function(t){return t.profile},t.prototype.getProfile=function(t){var e=t.patchState;return this.profileService.get().pipe(a.tap((function(t){return e({profile:t})})))},t.prototype.updateProfile=function(t,e){var n=t.patchState,r=e.payload;return this.profileService.update(r).pipe(a.tap((function(t){return n({profile:t})})))},t.prototype.changePassword=function(t,e){var n=e.payload;return this.profileService.changePassword(n,!0)},t.ctorParameters=function(){return[{type:it}]},m([r.Action(A),b("design:type",Function),b("design:paramtypes",[Object]),b("design:returntype",void 0)],t.prototype,"getProfile",null),m([r.Action(C),b("design:type",Function),b("design:paramtypes",[Object,C]),b("design:returntype",void 0)],t.prototype,"updateProfile",null),m([r.Action(D),b("design:type",Function),b("design:paramtypes",[Object,D]),b("design:returntype",void 0)],t.prototype,"changePassword",null),m([r.Selector(),b("design:type",Function),b("design:paramtypes",[Object]),b("design:returntype",Object)],t,"getProfile",null),t=m([r.State({name:"ProfileState",defaults:{}}),b("design:paramtypes",[it])],t)}();var ut=function(){function t(t,e,n,r,o){this.elRef=t,this.renderer=e,this.store=n,this.templateRef=r,this.vcRef=o}return t.prototype.check=function(){var t=this;this.subscription&&this.subscription.unsubscribe(),this.subscription=this.store.select(Z.getGrantedPolicy(this.condition)).pipe(X(this)).subscribe((function(e){t.templateRef&&e?(t.vcRef.clear(),t.vcRef.createEmbeddedView(t.templateRef)):t.templateRef&&!e?t.vcRef.clear():e||t.templateRef||t.renderer.removeChild(t.elRef.nativeElement.parentElement,t.elRef.nativeElement)}))},t.prototype.ngOnInit=function(){this.templateRef&&!this.condition&&this.vcRef.createEmbeddedView(this.templateRef)},t.prototype.ngOnDestroy=function(){},t.prototype.ngOnChanges=function(t){(t.condition||{currentValue:null}).currentValue&&this.check()},t.decorators=[{type:e.Directive,args:[{selector:"[abpPermission]"}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2},{type:r.Store},{type:e.TemplateRef,decorators:[{type:e.Optional}]},{type:e.ViewContainerRef}]},t.propDecorators={condition:[{type:e.Input,args:["abpPermission"]}]},t}();var ct=function(){function t(t,e){this.elRef=t,this.renderer=e,this.completed$=new o.Subject}return t.prototype.ngAfterViewInit=function(){var t,e=this;!this.focusedElement&&this.elRef&&(this.focusedElement=this.elRef.nativeElement),(t=new MutationObserver((function(t){t.forEach((function(t){t.target&&(i((function(){return Array.from(t.target.childNodes).filter((function(t){return t instanceof HTMLElement}))}),[]).length||e.removeFromDOM())}))}))).observe(this.focusedElement,{childList:!0}),setTimeout((function(){i((function(){return Array.from(e.focusedElement.childNodes).filter((function(t){return t instanceof HTMLElement}))}),[]).length||e.removeFromDOM()}),0),this.completed$.subscribe((function(){return t.disconnect()}))},t.prototype.disconnect=function(){this.completed$.next(),this.completed$.complete()},t.prototype.removeFromDOM=function(){this.elRef.nativeElement&&(this.renderer.removeChild(this.elRef.nativeElement.parentElement,this.elRef.nativeElement),this.disconnect())},t.decorators=[{type:e.Directive,args:[{selector:"[abpVisibility]"}]}],t.ctorParameters=function(){return[{type:e.ElementRef,decorators:[{type:e.Optional}]},{type:e.Renderer2}]},t.propDecorators={focusedElement:[{type:e.Input,args:["abpVisibility"]}]},t}();var st=function(){function t(t,e){this.oauthService=t,this.router=e}return t.prototype.canActivate=function(t,e){var n=this.oauthService.hasValidAccessToken();return n||this.router.createUrlTree(["/account/login"],{state:{redirectUrl:e.url}})},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:f.OAuthService},{type:n.Router}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(f.OAuthService),e.ɵɵinject(n.Router))},token:t,providedIn:"root"}),t}();var pt=function(){function t(t){this.store=t}return t.prototype.canActivate=function(t,e){var n=this,r=i((function(){return t.data.routes.requiredPolicy}))||i((function(){return t.data.requiredPolicy}));return r||(r=i((function(){return t.routeConfig.children.find((function(t){return e.url.indexOf(t.path)>-1})).data.requiredPolicy}))),this.store.select(Z.getGrantedPolicy(r)).pipe(a.tap((function(t){t||n.store.dispatch(new L({status:403}))})))},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:r.Store}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(r.Store))},token:t,providedIn:"root"}),t}();var lt,ft,dt,ht,yt,gt=function(){function t(t,e){this.oAuthService=t,this.store=e}return t.prototype.intercept=function(t,e){var n=this;this.store.dispatch(new w(t));var r={},o=this.oAuthService.getAccessToken();!t.headers.has("Authorization")&&o&&(r.Authorization="Bearer "+o);var i=this.store.selectSnapshot($.getLanguage);!t.headers.has("Accept-Language")&&i&&(r["Accept-Language"]=i);var u=this.store.selectSnapshot($.getTenant);return!t.headers.has("__tenant")&&u&&(r.__tenant=u.id),e.handle(t.clone({setHeaders:r})).pipe(a.finalize((function(){return n.store.dispatch(new E(t))})))},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:f.OAuthService},{type:r.Store}]},t}();(function(t){function e(){}function n(){}function r(){}function o(){}function i(){}function a(){}t.Response=e,t.Localization=n,t.LocalizationValue=function(){},t.Language=r,t.Auth=o,t.Policy=function(){},t.Value=i,t.CurrentUser=a})(lt||(lt={})),function(t){function e(){}function n(){}function r(){}function o(){}function i(){}function a(){}t.Root=e,t.PagedItemsResponse=n,t.PageQueryParams=r,t.Route=o,t.FullRoute=i,t.BasicItem=a,t.Dictionary=function(){}}(ft||(ft={})),function(t){function e(){}function n(){}function r(){}function o(){}t.Environment=e,t.Application=n,t.Apis=function(){},t.Requirements=r,t.LocalizationWithDefault=o}(dt||(dt={})),function(t){function e(){}function n(){}t.Config=e,t.Request=n}(t.Rest||(t.Rest={})),function(t){function e(){}t.State=e}(ht||(ht={})),function(t){function e(){}function n(){}function r(){}t.State=e,t.Response=n,t.ChangePasswordRequest=r}(yt||(yt={}));var vt=function(){function t(t){this.store=t}return t.prototype.transform=function(t){void 0===t&&(t="");for(var e=[],n=1;ne[n]?1:0}))):(r=t.filter((function(t){return"number"==typeof t})).sort(),o=t.filter((function(t){return"string"==typeof t})).sort());var i=I(r,o,t.filter((function(t){return"number"!=typeof(n?t[n]:t)&&"string"!=typeof(n?t[n]:t)})));return"asc"===e?i:i.reverse()},t.decorators=[{type:e.Injectable},{type:e.Pipe,args:[{name:"abpSort"}]}],t}(),bt=new e.InjectionToken("NGXS_CONFIG_PLUGIN_OPTIONS"),St=function(){function t(t,e){this.options=t,this.router=e,this.initialized=!1}return t.prototype.handle=function(t,e,n){var o=r.actionMatcher(e);if((o(r.InitState)||o(r.UpdateState))&&!this.initialized){var a=function(t,e){void 0===t&&(t=[]);void 0===e&&(e=[]);var n=t.filter((function(t){return i((function(){return t.data.routes.routes.find((function(e){return e.path===t.path}))}),!1)})).reduce((function(t,e){return I(t,e.data.routes.routes)}),[]),r=I(z(),n);e=r.filter((function(t){return t.wrapper}));var o=[];return t.filter((function(t){return t.component||t.loadChildren})).forEach((function(t){var e=r.find((function(e){return e.path.toLowerCase()===t.path.toLowerCase()&&!e.wrapper})),n=o.length;e&&o.push(e),o.length===n&&(t.data||{}).routes&&o.push(v({},t.data.routes,{path:t.path,name:i((function(){return t.data.routes.name}),t.path),children:t.data.routes.children||[]}))})),{routes:Rt(o),wrappers:e}}(this.router.config),u=a.routes;u=N(u,a.wrappers);var c=function(t){var e=function(t){return t.reduce((function(t,n){var r=[n];return n.children&&(r=I([n],e(n.children))),I(t,r)}),[])};return e(t)}(p(u));t=r.setValue(t,"ConfigState",v({},t.ConfigState&&v({},t.ConfigState),this.options,{routes:u,flattedRoutes:c})),this.initialized=!0}return n(t,e)},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[bt]}]},{type:n.Router}]},t}();function Rt(t,e){return e?t.map((function(t){return v({},t,{url:e+"/"+t.path},t.children&&t.children.length&&{children:Rt(t.children,e+"/"+t.path)})})):t.map((function(t){return v({},t,{url:"/"+t.path},t.children&&t.children.length&&{children:Rt(t.children,"/"+t.path)})}))}var It=function(){function t(t){this.store=t}return t.prototype.getAll=function(){return this.store.selectSnapshot(Z.getAll)},t.prototype.getApplicationInfo=function(){return this.store.selectSnapshot(Z.getApplicationInfo)},t.prototype.getOne=function(){for(var t=[],e=0;e= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { ControlValueAccessor } from '@angular/forms';\r\nimport { ChangeDetectorRef, Component, Injector, Input, Type } from '@angular/core';\r\n\r\n@Component({ selector: 'abp-abstract-ng-model', template: '' })\r\nexport class AbstractNgModelComponent implements ControlValueAccessor {\r\n @Input() disabled: boolean;\r\n\r\n @Input() set value(value: T) {\r\n this._value = value;\r\n this.notifyValueChange();\r\n }\r\n\r\n get value(): T {\r\n return this._value;\r\n }\r\n\r\n onChange: (value: T) => {};\r\n onTouched: () => {};\r\n\r\n protected _value: T;\r\n protected cdRef: ChangeDetectorRef;\r\n\r\n constructor(public injector: Injector) {\r\n this.cdRef = injector.get(ChangeDetectorRef as Type);\r\n }\r\n\r\n notifyValueChange(): void {\r\n if (this.onChange) {\r\n this.onChange(this.value);\r\n }\r\n }\r\n\r\n writeValue(value: T): void {\r\n this._value = value;\r\n setTimeout(() => this.cdRef.detectChanges(), 0);\r\n }\r\n\r\n registerOnChange(fn: any): void {\r\n this.onChange = fn;\r\n }\r\n\r\n registerOnTouched(fn: any): void {\r\n this.onTouched = fn;\r\n }\r\n\r\n setDisabledState(isDisabled: boolean): void {\r\n this.disabled = isDisabled;\r\n }\r\n}\r\n","import { ABP } from '../models';\r\n\r\nexport class PatchRouteByName {\r\n static readonly type = '[Config] Patch Route By Name';\r\n constructor(public name: string, public newValue: Partial) {}\r\n}\r\n\r\nexport class GetAppConfiguration {\r\n static readonly type = '[Config] Get App Configuration';\r\n}\r\n","import { HttpRequest } from '@angular/common/http';\r\n\r\nexport class StartLoader {\r\n static readonly type = '[Loader] Start';\r\n constructor(public payload: HttpRequest) {}\r\n}\r\n\r\nexport class StopLoader {\r\n static readonly type = '[Loader] Stop';\r\n constructor(public payload: HttpRequest) {}\r\n}\r\n","import { Profile } from '../models';\r\n\r\nexport class GetProfile {\r\n static readonly type = '[Profile] Get';\r\n}\r\n\r\nexport class UpdateProfile {\r\n static readonly type = '[Profile] Update';\r\n constructor(public payload: Profile.Response) {}\r\n}\r\n\r\nexport class ChangePassword {\r\n static readonly type = '[Profile] Change Password';\r\n constructor(public payload: Profile.ChangePasswordRequest) {}\r\n}\r\n","import { HttpErrorResponse } from '@angular/common/http';\r\n\r\nexport class RestOccurError {\r\n static readonly type = '[Rest] Error';\r\n constructor(public payload: HttpErrorResponse | any) {}\r\n}\r\n","import { ABP } from '../models';\r\n\r\nexport class SetLanguage {\r\n static readonly type = '[Session] Set Language';\r\n constructor(public payload: string) {}\r\n}\r\nexport class SetTenant {\r\n static readonly type = '[Session] Set Tenant';\r\n constructor(public payload: ABP.BasicItem) {}\r\n}\r\n","import { HttpClient, HttpRequest } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { catchError, take, tap } from 'rxjs/operators';\r\nimport { RestOccurError } from '../actions/rest.actions';\r\nimport { Rest } from '../models/rest';\r\nimport { ConfigState } from '../states/config.state';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class RestService {\r\n constructor(private http: HttpClient, private store: Store) {}\r\n\r\n handleError(err: any): Observable {\r\n this.store.dispatch(new RestOccurError(err));\r\n console.error(err);\r\n return throwError(err);\r\n }\r\n\r\n request(request: HttpRequest | Rest.Request, config?: Rest.Config, api?: string): Observable {\r\n config = config || ({} as Rest.Config);\r\n const { observe = Rest.Observe.Body, skipHandleError } = config;\r\n const url = (api || this.store.selectSnapshot(ConfigState.getApiUrl())) + request.url;\r\n const { method, params, ...options } = request;\r\n\r\n return this.http\r\n .request(method, url, {\r\n observe,\r\n ...(params && {\r\n params: Object.keys(params).reduce(\r\n (acc, key) => ({\r\n ...acc,\r\n ...(typeof params[key] !== 'undefined' && params[key] !== '' && { [key]: params[key] }),\r\n }),\r\n {},\r\n ),\r\n }),\r\n ...options,\r\n } as any)\r\n .pipe(\r\n observe === Rest.Observe.Body ? take(1) : tap(),\r\n catchError(err => {\r\n if (skipHandleError) {\r\n return throwError(err);\r\n }\r\n\r\n return this.handleError(err);\r\n }),\r\n );\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { Rest } from '../models/rest';\r\nimport { ApplicationConfiguration } from '../models/application-configuration';\r\nimport { RestService } from './rest.service';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ApplicationConfigurationService {\r\n constructor(private rest: RestService) {}\r\n\r\n getConfiguration(): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/abp/application-configuration',\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n}\r\n","import { ABP } from '../models';\r\n\r\nexport function organizeRoutes(\r\n routes: ABP.FullRoute[],\r\n wrappers: ABP.FullRoute[] = [],\r\n parentNameArr = [] as ABP.FullRoute[],\r\n parentName: string = null,\r\n): ABP.FullRoute[] {\r\n const filter = route => {\r\n if (route.children && route.children.length) {\r\n route.children = organizeRoutes(route.children, wrappers, parentNameArr, route.name);\r\n }\r\n\r\n if (route.parentName && route.parentName !== parentName) {\r\n parentNameArr.push(route);\r\n return false;\r\n }\r\n\r\n return true;\r\n };\r\n\r\n if (parentName) {\r\n // recursive block\r\n return routes.filter(filter);\r\n }\r\n\r\n const filteredRoutes = routes.filter(filter);\r\n\r\n if (parentNameArr.length) {\r\n return sortRoutes(setChildRoute([...filteredRoutes, ...wrappers], parentNameArr));\r\n }\r\n\r\n return filteredRoutes;\r\n}\r\n\r\nexport function setChildRoute(routes: ABP.FullRoute[], parentNameArr: ABP.FullRoute[]): ABP.FullRoute[] {\r\n return routes.map(route => {\r\n if (route.children && route.children.length) {\r\n route.children = setChildRoute(route.children, parentNameArr);\r\n }\r\n\r\n const foundedChildren = parentNameArr.filter(parent => parent.parentName === route.name);\r\n if (foundedChildren && foundedChildren.length) {\r\n route.children = [...(route.children || []), ...foundedChildren];\r\n }\r\n\r\n return route;\r\n });\r\n}\r\n\r\nexport function sortRoutes(routes: ABP.FullRoute[] = []): ABP.FullRoute[] {\r\n if (!routes.length) return [];\r\n return routes\r\n .map((route, index) => {\r\n return {\r\n ...route,\r\n order: typeof route.order === 'undefined' ? index + 1 : route.order,\r\n };\r\n })\r\n .sort((a, b) => a.order - b.order)\r\n .map(route => {\r\n if (route.children && route.children.length) {\r\n route.children = sortRoutes(route.children);\r\n }\r\n\r\n return route;\r\n });\r\n}\r\n\r\nconst ABP_ROUTES = [] as ABP.FullRoute[];\r\n\r\nexport function addAbpRoutes(routes: ABP.FullRoute | ABP.FullRoute[]): void {\r\n if (!Array.isArray(routes)) {\r\n routes = [routes];\r\n }\r\n\r\n ABP_ROUTES.push(...routes);\r\n}\r\n\r\nexport function getAbpRoutes(): ABP.FullRoute[] {\r\n return ABP_ROUTES;\r\n}\r\n","// Different locales from .NET\r\n// Key is .NET locale, value is Angular locale\r\n\r\nexport default {\r\n 'ar-sa': 'ar-SA',\r\n 'ca-ES-valencia': 'ca-ES-VALENCIA',\r\n 'de-de': 'de',\r\n 'es-ES': 'es',\r\n 'en-US': 'en',\r\n 'fil-Latn': 'en',\r\n 'ku-Arab': 'en',\r\n 'ky-Cyrl': 'en',\r\n 'mi-Latn': 'en',\r\n 'prs-Arab': 'en',\r\n 'qut-Latn': 'en',\r\n nso: 'en',\r\n quz: 'en',\r\n 'fr-FR': 'fr',\r\n 'gd-Latn': 'gd',\r\n 'ha-Latn': 'ha',\r\n 'ig-Latn': 'ig',\r\n 'it-it': 'it',\r\n 'mn-Cyrl': 'mn',\r\n 'pt-BR': 'pt',\r\n 'sd-Arab': 'pa-Arab',\r\n 'sr-Cyrl-RS': 'sr-Cyrl',\r\n 'sr-Latn-RS': 'sr-Latn',\r\n 'tg-Cyrl': 'tg',\r\n 'tk-Latn': 'tk',\r\n 'tt-Cyrl': 'tt',\r\n 'ug-Arab': 'ug',\r\n 'yo-Latn': 'yo',\r\n};\r\n","import { registerLocaleData } from '@angular/common';\r\nimport { Injector } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { GetAppConfiguration } from '../actions/config.actions';\r\nimport differentLocales from '../constants/different-locales';\r\n\r\nexport function getInitialData(injector: Injector) {\r\n const fn = () => {\r\n const store: Store = injector.get(Store);\r\n\r\n return store.dispatch(new GetAppConfiguration()).toPromise();\r\n };\r\n\r\n return fn;\r\n}\r\n\r\nexport function localeInitializer(injector: Injector) {\r\n const fn = () => {\r\n const store: Store = injector.get(Store);\r\n\r\n const lang = store.selectSnapshot(state => state.SessionState.language) || 'en';\r\n\r\n return new Promise((resolve, reject) => {\r\n registerLocale(lang).then(() => resolve('resolved'), reject);\r\n });\r\n };\r\n\r\n return fn;\r\n}\r\n\r\nexport function registerLocale(locale: string) {\r\n return import(\r\n /* webpackInclude: /(af|am|ar-SA|as|az-Latn|be|bg|bn-BD|bn-IN|bs|ca|ca-ES-VALENCIA|cs|cy|da|de|de|el|en-GB|en|es|en|es-US|es-MX|et|eu|fa|fi|en|fr|fr|fr-CA|ga|gd|gl|gu|ha|he|hi|hr|hu|hy|id|ig|is|it|it|ja|ka|kk|km|kn|ko|kok|en|en|lb|lt|lv|en|mk|ml|mn|mr|ms|mt|nb|ne|nl|nl-BE|nn|en|or|pa|pa-Arab|pl|en|pt|pt-PT|en|en|ro|ru|rw|pa-Arab|si|sk|sl|sq|sr-Cyrl-BA|sr-Cyrl|sr-Latn|sv|sw|ta|te|tg|th|ti|tk|tn|tr|tt|ug|uk|ur|uz-Latn|vi|wo|xh|yo|zh-Hans|zh-Hant|zu)\\.js$/ */\r\n `@angular/common/locales/${differentLocales[locale] || locale}.js`\r\n ).then(module => {\r\n registerLocaleData(module.default);\r\n });\r\n}\r\n","import { Injectable, NgZone, Optional, SkipSelf } from '@angular/core';\r\nimport { ActivatedRouteSnapshot, Router } from '@angular/router';\r\nimport { Store } from '@ngxs/store';\r\nimport { noop, Observable } from 'rxjs';\r\nimport { ConfigState } from '../states/config.state';\r\nimport { registerLocale } from '../utils/initial-utils';\r\nimport { Config } from '../models/config';\r\n\r\ntype ShouldReuseRoute = (future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot) => boolean;\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class LocalizationService {\r\n get currentLang(): string {\r\n return this.store.selectSnapshot(state => state.SessionState.language);\r\n }\r\n\r\n constructor(\r\n private store: Store,\r\n private router: Router,\r\n private ngZone: NgZone,\r\n @Optional()\r\n @SkipSelf()\r\n otherInstance: LocalizationService,\r\n ) {\r\n if (otherInstance) throw new Error('LocalizationService should have only one instance.');\r\n }\r\n\r\n setRouteReuse(reuse: ShouldReuseRoute) {\r\n this.router.routeReuseStrategy.shouldReuseRoute = reuse;\r\n }\r\n\r\n registerLocale(locale: string) {\r\n const { shouldReuseRoute } = this.router.routeReuseStrategy;\r\n this.setRouteReuse(() => false);\r\n this.router.navigated = false;\r\n\r\n return registerLocale(locale).then(() => {\r\n this.ngZone.run(async () => {\r\n await this.router.navigateByUrl(this.router.url).catch(noop);\r\n this.setRouteReuse(shouldReuseRoute);\r\n });\r\n });\r\n }\r\n\r\n get(\r\n key: string | Config.LocalizationWithDefault,\r\n ...interpolateParams: string[]\r\n ): Observable {\r\n return this.store.select(ConfigState.getLocalization(key, ...interpolateParams));\r\n }\r\n\r\n instant(key: string | Config.LocalizationWithDefault, ...interpolateParams: string[]): string {\r\n return this.store.selectSnapshot(ConfigState.getLocalization(key, ...interpolateParams));\r\n }\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { from } from 'rxjs';\r\nimport { switchMap } from 'rxjs/operators';\r\nimport { GetAppConfiguration } from '../actions/config.actions';\r\nimport { SetLanguage, SetTenant } from '../actions/session.actions';\r\nimport { ABP, Session } from '../models';\r\nimport { LocalizationService } from '../services/localization.service';\r\n\r\n@State({\r\n name: 'SessionState',\r\n defaults: {} as Session.State,\r\n})\r\nexport class SessionState {\r\n @Selector()\r\n static getLanguage({ language }: Session.State): string {\r\n return language;\r\n }\r\n\r\n @Selector()\r\n static getTenant({ tenant }: Session.State): ABP.BasicItem {\r\n return tenant;\r\n }\r\n\r\n constructor(private localizationService: LocalizationService) {}\r\n\r\n @Action(SetLanguage)\r\n setLanguage({ patchState, dispatch }: StateContext, { payload }: SetLanguage) {\r\n patchState({\r\n language: payload,\r\n });\r\n\r\n return dispatch(new GetAppConfiguration()).pipe(\r\n switchMap(() => from(this.localizationService.registerLocale(payload))),\r\n );\r\n }\r\n\r\n @Action(SetTenant)\r\n setTenant({ patchState }: StateContext, { payload }: SetTenant) {\r\n patchState({\r\n tenant: payload,\r\n });\r\n }\r\n}\r\n","import {\r\n Action,\r\n createSelector,\r\n Selector,\r\n State,\r\n StateContext,\r\n Store,\r\n} from '@ngxs/store';\r\nimport { of } from 'rxjs';\r\nimport { switchMap, tap } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport {\r\n GetAppConfiguration,\r\n PatchRouteByName,\r\n} from '../actions/config.actions';\r\nimport { SetLanguage } from '../actions/session.actions';\r\nimport { ABP } from '../models/common';\r\nimport { Config } from '../models/config';\r\nimport { ApplicationConfigurationService } from '../services/application-configuration.service';\r\nimport { organizeRoutes } from '../utils/route-utils';\r\nimport { SessionState } from './session.state';\r\n\r\n@State({\r\n name: 'ConfigState',\r\n defaults: {} as Config.State,\r\n})\r\nexport class ConfigState {\r\n @Selector()\r\n static getAll(state: Config.State) {\r\n return state;\r\n }\r\n\r\n @Selector()\r\n static getApplicationInfo(state: Config.State): Config.Application {\r\n return state.environment.application || ({} as Config.Application);\r\n }\r\n\r\n static getOne(key: string) {\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n return state[key];\r\n });\r\n\r\n return selector;\r\n }\r\n\r\n static getDeep(keys: string[] | string) {\r\n if (typeof keys === 'string') {\r\n keys = keys.split('.');\r\n }\r\n\r\n if (!Array.isArray(keys)) {\r\n throw new Error('The argument must be a dot string or an string array.');\r\n }\r\n\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n return (keys as string[]).reduce((acc, val) => {\r\n if (acc) {\r\n return acc[val];\r\n }\r\n\r\n return undefined;\r\n }, state);\r\n });\r\n\r\n return selector;\r\n }\r\n\r\n static getRoute(path?: string, name?: string, url?: string) {\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n const { flattedRoutes } = state;\r\n return (flattedRoutes as ABP.FullRoute[]).find(route => {\r\n if (path && route.path === path) {\r\n return route;\r\n } else if (name && route.name === name) {\r\n return route;\r\n } else if (url && route.url === url) {\r\n return route;\r\n }\r\n });\r\n });\r\n\r\n return selector;\r\n }\r\n\r\n static getApiUrl(key?: string) {\r\n const selector = createSelector(\r\n [ConfigState],\r\n (state: Config.State): string => {\r\n return state.environment.apis[key || 'default'].url;\r\n },\r\n );\r\n\r\n return selector;\r\n }\r\n\r\n static getSetting(key: string) {\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n return snq(() => state.setting.values[key]);\r\n });\r\n return selector;\r\n }\r\n\r\n static getSettings(keyword?: string) {\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n if (keyword) {\r\n const keys = snq(\r\n () =>\r\n Object.keys(state.setting.values).filter(\r\n key => key.indexOf(keyword) > -1,\r\n ),\r\n [],\r\n );\r\n\r\n if (keys.length) {\r\n return keys.reduce(\r\n (acc, key) => ({ ...acc, [key]: state.setting.values[key] }),\r\n {},\r\n );\r\n }\r\n }\r\n\r\n return snq(() => state.setting.values, {});\r\n });\r\n return selector;\r\n }\r\n\r\n static getGrantedPolicy(key: string) {\r\n const selector = createSelector(\r\n [ConfigState],\r\n (state: Config.State): boolean => {\r\n if (!key) return true;\r\n const getPolicy = k => snq(() => state.auth.grantedPolicies[k], false);\r\n\r\n const orRegexp = /\\|\\|/g;\r\n const andRegexp = /&&/g;\r\n\r\n if (orRegexp.test(key)) {\r\n const keys = key.split('||').filter(k => !!k);\r\n\r\n if (keys.length !== 2) return false;\r\n\r\n return getPolicy(keys[0].trim()) || getPolicy(keys[1].trim());\r\n } else if (andRegexp.test(key)) {\r\n const keys = key.split('&&').filter(k => !!k);\r\n\r\n if (keys.length !== 2) return false;\r\n\r\n return getPolicy(keys[0].trim()) && getPolicy(keys[1].trim());\r\n }\r\n\r\n return getPolicy(key);\r\n },\r\n );\r\n\r\n return selector;\r\n }\r\n\r\n static getLocalization(\r\n key: string | Config.LocalizationWithDefault,\r\n ...interpolateParams: string[]\r\n ) {\r\n let defaultValue: string;\r\n\r\n if (typeof key !== 'string') {\r\n defaultValue = key.defaultValue;\r\n key = key.key;\r\n }\r\n\r\n if (!key) key = '';\r\n\r\n const keys = key.split('::') as string[];\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n if (!state.localization) return defaultValue || key;\r\n\r\n const { defaultResourceName } = state.environment.localization;\r\n if (keys[0] === '') {\r\n if (!defaultResourceName) {\r\n throw new Error(\r\n `Please check your environment. May you forget set defaultResourceName?\r\n Here is the example:\r\n { production: false,\r\n localization: {\r\n defaultResourceName: 'MyProjectName'\r\n }\r\n }`,\r\n );\r\n }\r\n\r\n keys[0] = snq(() => defaultResourceName);\r\n }\r\n\r\n let localization = (keys as any).reduce((acc, val) => {\r\n if (acc) {\r\n return acc[val];\r\n }\r\n\r\n return undefined;\r\n }, state.localization.values);\r\n\r\n interpolateParams = interpolateParams.filter(params => params != null);\r\n if (localization && interpolateParams && interpolateParams.length) {\r\n interpolateParams.forEach(param => {\r\n localization = localization.replace(/[\\'\\\"]?\\{[\\d]+\\}[\\'\\\"]?/, param);\r\n });\r\n }\r\n\r\n if (typeof localization !== 'string') localization = '';\r\n return localization || defaultValue || key;\r\n });\r\n\r\n return selector;\r\n }\r\n\r\n constructor(\r\n private appConfigurationService: ApplicationConfigurationService,\r\n private store: Store,\r\n ) {}\r\n\r\n @Action(GetAppConfiguration)\r\n addData({ patchState, dispatch }: StateContext) {\r\n return this.appConfigurationService.getConfiguration().pipe(\r\n tap(configuration =>\r\n patchState({\r\n ...configuration,\r\n }),\r\n ),\r\n switchMap(configuration => {\r\n let defaultLang: string =\r\n configuration.setting.values['Abp.Localization.DefaultLanguage'];\r\n\r\n if (defaultLang.includes(';')) {\r\n defaultLang = defaultLang.split(';')[0];\r\n }\r\n\r\n return this.store.selectSnapshot(SessionState.getLanguage)\r\n ? of(null)\r\n : dispatch(new SetLanguage(defaultLang));\r\n }),\r\n );\r\n }\r\n\r\n @Action(PatchRouteByName)\r\n patchRoute(\r\n { patchState, getState }: StateContext,\r\n { name, newValue }: PatchRouteByName,\r\n ) {\r\n let routes: ABP.FullRoute[] = getState().routes;\r\n\r\n const index = routes.findIndex(route => route.name === name);\r\n\r\n routes = patchRouteDeep(routes, name, newValue);\r\n\r\n return patchState({\r\n routes,\r\n });\r\n }\r\n}\r\n\r\nfunction patchRouteDeep(\r\n routes: ABP.FullRoute[],\r\n name: string,\r\n newValue: Partial,\r\n parentUrl: string = '',\r\n): ABP.FullRoute[] {\r\n routes = routes.map(route => {\r\n if (route.name === name) {\r\n newValue.url = `${parentUrl}/${(!newValue.path && newValue.path === ''\r\n ? route.path\r\n : newValue.path) || ''}`;\r\n\r\n if (newValue.children && newValue.children.length) {\r\n newValue.children = newValue.children.map(child => ({\r\n ...child,\r\n url: `${newValue.url}/${child.path}`.replace('//', '/'),\r\n }));\r\n }\r\n\r\n return { ...route, ...newValue };\r\n } else if (route.children && route.children.length) {\r\n route.children = patchRouteDeep(\r\n route.children,\r\n name,\r\n newValue,\r\n (parentUrl || '/') + route.path,\r\n );\r\n }\r\n\r\n return route;\r\n });\r\n\r\n if (parentUrl) {\r\n // recursive block\r\n return routes;\r\n }\r\n\r\n return organizeRoutes(routes);\r\n}\r\n","import { Observable, Subject } from 'rxjs';\r\nimport { takeUntil } from 'rxjs/operators';\r\n\r\nfunction isFunction(value) {\r\n return typeof value === 'function';\r\n}\r\n\r\nexport const takeUntilDestroy = (componentInstance, destroyMethodName = 'ngOnDestroy') => (\r\n source: Observable\r\n) => {\r\n const originalDestroy = componentInstance[destroyMethodName];\r\n if (isFunction(originalDestroy) === false) {\r\n throw new Error(\r\n `${componentInstance.constructor.name} is using untilDestroyed but doesn't implement ${destroyMethodName}`\r\n );\r\n }\r\n if (!componentInstance['__takeUntilDestroy']) {\r\n componentInstance['__takeUntilDestroy'] = new Subject();\r\n\r\n componentInstance[destroyMethodName] = function() {\r\n // tslint:disable-next-line: no-unused-expression\r\n isFunction(originalDestroy) && originalDestroy.apply(this, arguments);\r\n componentInstance['__takeUntilDestroy'].next(true);\r\n componentInstance['__takeUntilDestroy'].complete();\r\n };\r\n }\r\n return source.pipe(takeUntil(componentInstance['__takeUntilDestroy']));\r\n};\r\n","import { Component, Input, OnDestroy, Type } from '@angular/core';\r\nimport { ActivatedRoute, NavigationEnd, Router, UrlSegment } from '@angular/router';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport snq from 'snq';\r\nimport { eLayoutType } from '../enums/common';\r\nimport { Config } from '../models/config';\r\nimport { ABP } from '../models/common';\r\nimport { ConfigState } from '../states/config.state';\r\nimport { takeUntilDestroy } from '../utils/rxjs-utils';\r\n\r\n@Component({\r\n selector: 'abp-dynamic-layout',\r\n template: `\r\n \r\n \r\n \r\n `\r\n})\r\nexport class DynamicLayoutComponent implements OnDestroy {\r\n @Select(ConfigState.getOne('requirements')) requirements$: Observable;\r\n\r\n layout: Type;\r\n\r\n constructor(private router: Router, private route: ActivatedRoute, private store: Store) {\r\n const {\r\n requirements: { layouts },\r\n routes\r\n } = this.store.selectSnapshot(ConfigState.getAll);\r\n\r\n if ((this.route.snapshot.data || {}).layout) {\r\n this.layout = layouts\r\n .filter(l => !!l)\r\n .find((l: any) => snq(() => l.type.toLowerCase().indexOf(this.route.snapshot.data.layout), -1) > -1);\r\n }\r\n\r\n this.router.events.pipe(takeUntilDestroy(this)).subscribe(event => {\r\n if (event instanceof NavigationEnd) {\r\n const { segments } = this.router.parseUrl(event.url).root.children.primary;\r\n\r\n const layout = (this.route.snapshot.data || {}).layout || findLayout(segments, routes);\r\n\r\n this.layout = layouts\r\n .filter(l => !!l)\r\n .find((l: any) => snq(() => l.type.toLowerCase().indexOf(layout), -1) > -1);\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy() {}\r\n}\r\n\r\nfunction findLayout(segments: UrlSegment[], routes: ABP.FullRoute[]): eLayoutType {\r\n let layout = eLayoutType.empty;\r\n\r\n const route = routes\r\n .reduce((acc, val) => (val.wrapper ? [...acc, ...val.children] : [...acc, val]), [])\r\n .find(r => r.path === segments[0].path);\r\n\r\n if (route) {\r\n if (route.layout) {\r\n layout = route.layout;\r\n }\r\n\r\n if (route.children && route.children.length && segments.length > 1) {\r\n const child = route.children.find(c => c.path === segments[1].path);\r\n\r\n if (child && child.layout) {\r\n layout = child.layout;\r\n }\r\n }\r\n }\r\n\r\n return layout;\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-router-outlet',\r\n template: `\r\n \r\n `,\r\n})\r\nexport class RouterOutletComponent {}\r\n","import { Directive, ElementRef, Input, AfterViewInit } from '@angular/core';\r\n\r\n@Directive({\r\n // tslint:disable-next-line: directive-selector\r\n selector: '[autofocus]'\r\n})\r\nexport class AutofocusDirective implements AfterViewInit {\r\n @Input('autofocus')\r\n delay = 0;\r\n\r\n constructor(private elRef: ElementRef) {}\r\n\r\n ngAfterViewInit(): void {\r\n setTimeout(() => this.elRef.nativeElement.focus(), this.delay);\r\n }\r\n}\r\n","import { AfterViewInit, ChangeDetectorRef, Directive, ElementRef, HostBinding, Input } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[abpEllipsis]',\r\n})\r\nexport class EllipsisDirective implements AfterViewInit {\r\n @Input('abpEllipsis')\r\n width: string;\r\n\r\n @HostBinding('title')\r\n @Input()\r\n title: string;\r\n\r\n @Input('abpEllipsisEnabled')\r\n enabled = true;\r\n\r\n @HostBinding('class.abp-ellipsis-inline')\r\n get inlineClass() {\r\n return this.enabled && this.width;\r\n }\r\n\r\n @HostBinding('class.abp-ellipsis')\r\n get class() {\r\n return this.enabled && !this.width;\r\n }\r\n\r\n @HostBinding('style.max-width')\r\n get maxWidth() {\r\n return this.enabled && this.width ? this.width || '170px' : undefined;\r\n }\r\n\r\n constructor(private cdRef: ChangeDetectorRef, private elRef: ElementRef) {}\r\n\r\n ngAfterViewInit() {\r\n this.title = this.title || (this.elRef.nativeElement as HTMLElement).innerText;\r\n this.cdRef.detectChanges();\r\n }\r\n}\r\n","import {\r\n Directive,\r\n EmbeddedViewRef,\r\n Input,\r\n IterableChangeRecord,\r\n IterableChanges,\r\n IterableDiffer,\r\n IterableDiffers,\r\n OnChanges,\r\n TemplateRef,\r\n TrackByFunction,\r\n ViewContainerRef,\r\n} from '@angular/core';\r\nimport compare from 'just-compare';\r\nimport clone from 'just-clone';\r\n\r\nexport type CompareFn = (value: T, comparison: T) => boolean;\r\n\r\nclass AbpForContext {\r\n constructor(public $implicit: any, public index: number, public count: number, public list: any[]) {}\r\n}\r\n\r\nclass RecordView {\r\n constructor(public record: IterableChangeRecord, public view: EmbeddedViewRef) {}\r\n}\r\n\r\n@Directive({\r\n selector: '[abpFor]',\r\n})\r\nexport class ForDirective implements OnChanges {\r\n @Input('abpForOf')\r\n items: any[];\r\n\r\n @Input('abpForOrderBy')\r\n orderBy: string;\r\n\r\n @Input('abpForOrderDir')\r\n orderDir: 'ASC' | 'DESC';\r\n\r\n @Input('abpForFilterBy')\r\n filterBy: string;\r\n\r\n @Input('abpForFilterVal')\r\n filterVal: any;\r\n\r\n @Input('abpForTrackBy')\r\n trackBy;\r\n\r\n @Input('abpForCompareBy')\r\n compareBy: CompareFn;\r\n\r\n @Input('abpForEmptyRef')\r\n emptyRef: TemplateRef;\r\n\r\n private differ: IterableDiffer;\r\n\r\n private isShowEmptyRef: boolean;\r\n\r\n get compareFn(): CompareFn {\r\n return this.compareBy || compare;\r\n }\r\n\r\n get trackByFn(): TrackByFunction {\r\n return this.trackBy || ((index: number, item: any) => (item as any).id || index);\r\n }\r\n\r\n constructor(\r\n private tempRef: TemplateRef,\r\n private vcRef: ViewContainerRef,\r\n private differs: IterableDiffers,\r\n ) {}\r\n\r\n private iterateOverAppliedOperations(changes: IterableChanges) {\r\n const rw: RecordView[] = [];\r\n\r\n changes.forEachOperation((record: IterableChangeRecord, previousIndex: number, currentIndex: number) => {\r\n if (record.previousIndex == null) {\r\n const view = this.vcRef.createEmbeddedView(\r\n this.tempRef,\r\n new AbpForContext(null, -1, -1, this.items),\r\n currentIndex,\r\n );\r\n\r\n rw.push(new RecordView(record, view));\r\n } else if (currentIndex == null) {\r\n this.vcRef.remove(previousIndex);\r\n } else {\r\n const view = this.vcRef.get(previousIndex);\r\n this.vcRef.move(view, currentIndex);\r\n\r\n rw.push(new RecordView(record, view as EmbeddedViewRef));\r\n }\r\n });\r\n\r\n for (let i = 0, l = rw.length; i < l; i++) {\r\n rw[i].view.context.$implicit = rw[i].record.item;\r\n }\r\n }\r\n\r\n private iterateOverAttachedViews(changes: IterableChanges) {\r\n for (let i = 0, l = this.vcRef.length; i < l; i++) {\r\n const viewRef = this.vcRef.get(i) as EmbeddedViewRef;\r\n viewRef.context.index = i;\r\n viewRef.context.count = l;\r\n viewRef.context.list = this.items;\r\n }\r\n\r\n changes.forEachIdentityChange((record: IterableChangeRecord) => {\r\n const viewRef = this.vcRef.get(record.currentIndex) as EmbeddedViewRef;\r\n viewRef.context.$implicit = record.item;\r\n });\r\n }\r\n\r\n private projectItems(items: any[]): void {\r\n if (!items.length && this.emptyRef) {\r\n this.vcRef.clear();\r\n // tslint:disable-next-line: no-unused-expression\r\n this.vcRef.createEmbeddedView(this.emptyRef).rootNodes;\r\n this.isShowEmptyRef = true;\r\n this.differ = null;\r\n\r\n return;\r\n }\r\n\r\n if (this.emptyRef && this.isShowEmptyRef) {\r\n this.vcRef.clear();\r\n this.isShowEmptyRef = false;\r\n }\r\n\r\n if (!this.differ && items) {\r\n this.differ = this.differs.find(items).create(this.trackByFn);\r\n }\r\n\r\n if (this.differ) {\r\n const changes = this.differ.diff(items);\r\n\r\n if (changes) {\r\n this.iterateOverAppliedOperations(changes);\r\n this.iterateOverAttachedViews(changes);\r\n }\r\n }\r\n }\r\n\r\n private sortItems(items: any[]) {\r\n if (this.orderBy) {\r\n items.sort((a, b) => (a[this.orderBy] > b[this.orderBy] ? 1 : a[this.orderBy] < b[this.orderBy] ? -1 : 0));\r\n } else {\r\n items.sort();\r\n }\r\n }\r\n\r\n ngOnChanges() {\r\n let items = clone(this.items) as any[];\r\n if (!Array.isArray(items)) return;\r\n\r\n const compareFn = this.compareFn;\r\n\r\n if (typeof this.filterBy !== 'undefined' && typeof this.filterVal !== 'undefined' && this.filterVal !== '') {\r\n items = items.filter(item => compareFn(item[this.filterBy], this.filterVal));\r\n }\r\n\r\n switch (this.orderDir) {\r\n case 'ASC':\r\n this.sortItems(items);\r\n this.projectItems(items);\r\n break;\r\n\r\n case 'DESC':\r\n this.sortItems(items);\r\n items.reverse();\r\n this.projectItems(items);\r\n break;\r\n\r\n default:\r\n this.projectItems(items);\r\n }\r\n }\r\n}\r\n","export function uuid(a?: any): string {\r\n return a\r\n ? // tslint:disable-next-line: no-bitwise\r\n (a ^ ((Math.random() * 16) >> (a / 4))).toString(16)\r\n : ('' + 1e7 + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, uuid);\r\n}\r\n","import {\r\n ChangeDetectorRef,\r\n Directive,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n OnDestroy,\r\n OnInit,\r\n Output,\r\n Self,\r\n} from '@angular/core';\r\nimport { FormControl, FormGroup, FormGroupDirective } from '@angular/forms';\r\nimport { fromEvent } from 'rxjs';\r\nimport { debounceTime, filter } from 'rxjs/operators';\r\nimport { takeUntilDestroy } from '../utils';\r\n\r\ntype Controls = { [key: string]: FormControl } | FormGroup[];\r\n\r\n@Directive({\r\n // tslint:disable-next-line: directive-selector\r\n selector: 'form[ngSubmit][formGroup]',\r\n})\r\nexport class FormSubmitDirective implements OnInit, OnDestroy {\r\n @Input()\r\n debounce = 200;\r\n\r\n @Input()\r\n notValidateOnSubmit: string | boolean;\r\n\r\n @Output() readonly ngSubmit = new EventEmitter();\r\n\r\n executedNgSubmit = false;\r\n\r\n constructor(\r\n @Self() private formGroupDirective: FormGroupDirective,\r\n private host: ElementRef,\r\n private cdRef: ChangeDetectorRef,\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.formGroupDirective.ngSubmit.pipe(takeUntilDestroy(this)).subscribe(() => {\r\n this.markAsDirty();\r\n this.executedNgSubmit = true;\r\n });\r\n\r\n fromEvent(this.host.nativeElement as HTMLElement, 'keyup')\r\n .pipe(\r\n debounceTime(this.debounce),\r\n filter((key: KeyboardEvent) => key && key.key === 'Enter'),\r\n takeUntilDestroy(this),\r\n )\r\n .subscribe(() => {\r\n if (!this.executedNgSubmit) {\r\n this.host.nativeElement.dispatchEvent(new Event('submit', { bubbles: true, cancelable: true }));\r\n }\r\n\r\n this.executedNgSubmit = false;\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {}\r\n\r\n markAsDirty() {\r\n const { form } = this.formGroupDirective;\r\n\r\n setDirty(form.controls as { [key: string]: FormControl });\r\n form.markAsDirty();\r\n\r\n this.cdRef.detectChanges();\r\n }\r\n}\r\n\r\nfunction setDirty(controls: Controls) {\r\n if (Array.isArray(controls)) {\r\n controls.forEach(group => {\r\n setDirty(group.controls as { [key: string]: FormControl });\r\n });\r\n return;\r\n }\r\n\r\n Object.keys(controls).forEach(key => {\r\n controls[key].markAsDirty();\r\n controls[key].updateValueAndValidity();\r\n });\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RestService } from './rest.service';\r\nimport { Profile, Rest } from '../models';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ProfileService {\r\n constructor(private rest: RestService) {}\r\n\r\n get(): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/identity/my-profile',\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n update(body: Profile.Response): Observable {\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url: '/api/identity/my-profile',\r\n body,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n changePassword(body: Profile.ChangePasswordRequest, skipHandleError: boolean = false): Observable {\r\n const request: Rest.Request = {\r\n method: 'POST',\r\n url: '/api/identity/my-profile/change-password',\r\n body,\r\n };\r\n\r\n return this.rest.request(request, { skipHandleError });\r\n }\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { tap } from 'rxjs/operators';\r\nimport { ChangePassword, GetProfile, UpdateProfile } from '../actions/profile.actions';\r\nimport { Profile } from '../models/profile';\r\nimport { ProfileService } from '../services/profile.service';\r\n\r\n@State({\r\n name: 'ProfileState',\r\n defaults: {} as Profile.State,\r\n})\r\nexport class ProfileState {\r\n @Selector()\r\n static getProfile({ profile }: Profile.State): Profile.Response {\r\n return profile;\r\n }\r\n\r\n constructor(private profileService: ProfileService) {}\r\n\r\n @Action(GetProfile)\r\n getProfile({ patchState }: StateContext) {\r\n return this.profileService.get().pipe(\r\n tap(profile =>\r\n patchState({\r\n profile,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(UpdateProfile)\r\n updateProfile({ patchState }: StateContext, { payload }: UpdateProfile) {\r\n return this.profileService.update(payload).pipe(\r\n tap(profile =>\r\n patchState({\r\n profile,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(ChangePassword)\r\n changePassword(_, { payload }: ChangePassword) {\r\n return this.profileService.changePassword(payload, true);\r\n }\r\n}\r\n","import {\r\n Directive,\r\n ElementRef,\r\n Input,\r\n OnDestroy,\r\n OnInit,\r\n Renderer2,\r\n ViewContainerRef,\r\n TemplateRef,\r\n Optional,\r\n SimpleChanges,\r\n OnChanges,\r\n} from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { ConfigState } from '../states';\r\nimport { takeUntilDestroy } from '../utils';\r\nimport { Subscription } from 'rxjs';\r\n\r\n@Directive({\r\n selector: '[abpPermission]',\r\n})\r\nexport class PermissionDirective implements OnInit, OnDestroy, OnChanges {\r\n @Input('abpPermission') condition: string;\r\n\r\n subscription: Subscription;\r\n\r\n constructor(\r\n private elRef: ElementRef,\r\n private renderer: Renderer2,\r\n private store: Store,\r\n @Optional() private templateRef: TemplateRef,\r\n private vcRef: ViewContainerRef,\r\n ) {}\r\n\r\n private check() {\r\n if (this.subscription) {\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n this.subscription = this.store\r\n .select(ConfigState.getGrantedPolicy(this.condition))\r\n .pipe(takeUntilDestroy(this))\r\n .subscribe(isGranted => {\r\n if (this.templateRef && isGranted) {\r\n this.vcRef.clear();\r\n this.vcRef.createEmbeddedView(this.templateRef);\r\n } else if (this.templateRef && !isGranted) {\r\n this.vcRef.clear();\r\n } else if (!isGranted && !this.templateRef) {\r\n this.renderer.removeChild((this.elRef.nativeElement as HTMLElement).parentElement, this.elRef.nativeElement);\r\n }\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n if (this.templateRef && !this.condition) {\r\n this.vcRef.createEmbeddedView(this.templateRef);\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {}\r\n\r\n ngOnChanges({ condition }: SimpleChanges) {\r\n if ((condition || { currentValue: null }).currentValue) {\r\n this.check();\r\n }\r\n }\r\n}\r\n","import { Directive, Input, Optional, ElementRef, Renderer2, AfterViewInit } from '@angular/core';\r\nimport { Subject } from 'rxjs';\r\nimport snq from 'snq';\r\n\r\n@Directive({\r\n selector: '[abpVisibility]',\r\n})\r\nexport class VisibilityDirective implements AfterViewInit {\r\n @Input('abpVisibility')\r\n focusedElement: HTMLElement;\r\n\r\n completed$ = new Subject();\r\n\r\n constructor(@Optional() private elRef: ElementRef, private renderer: Renderer2) {}\r\n\r\n ngAfterViewInit() {\r\n if (!this.focusedElement && this.elRef) {\r\n this.focusedElement = this.elRef.nativeElement;\r\n }\r\n\r\n let observer: MutationObserver;\r\n observer = new MutationObserver(mutations => {\r\n mutations.forEach(mutation => {\r\n if (!mutation.target) return;\r\n\r\n const htmlNodes = snq(\r\n () => Array.from(mutation.target.childNodes).filter(node => node instanceof HTMLElement),\r\n [],\r\n );\r\n\r\n if (!htmlNodes.length) {\r\n this.removeFromDOM();\r\n }\r\n });\r\n });\r\n\r\n observer.observe(this.focusedElement, {\r\n childList: true,\r\n });\r\n\r\n setTimeout(() => {\r\n const htmlNodes = snq(\r\n () => Array.from(this.focusedElement.childNodes).filter(node => node instanceof HTMLElement),\r\n [],\r\n );\r\n\r\n if (!htmlNodes.length) this.removeFromDOM();\r\n }, 0);\r\n\r\n this.completed$.subscribe(() => observer.disconnect());\r\n }\r\n\r\n disconnect() {\r\n this.completed$.next();\r\n this.completed$.complete();\r\n }\r\n\r\n removeFromDOM() {\r\n if (!this.elRef.nativeElement) return;\r\n\r\n this.renderer.removeChild(this.elRef.nativeElement.parentElement, this.elRef.nativeElement);\r\n this.disconnect();\r\n }\r\n}\r\n","export const enum eLayoutType {\r\n account = 'account',\r\n application = 'application',\r\n empty = 'empty',\r\n /**\r\n * @deprecated since version 0.9.0\r\n */\r\n setting = 'setting',\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot, UrlTree } from '@angular/router';\r\nimport { OAuthService } from 'angular-oauth2-oidc';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AuthGuard implements CanActivate {\r\n constructor(private oauthService: OAuthService, private router: Router) {}\r\n\r\n canActivate(_: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable | boolean | UrlTree {\r\n const hasValidAccessToken = this.oauthService.hasValidAccessToken();\r\n if (hasValidAccessToken) {\r\n return hasValidAccessToken;\r\n }\r\n\r\n return this.router.createUrlTree(['/account/login'], { state: { redirectUrl: state.url } });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ActivatedRouteSnapshot, CanActivate, RouterStateSnapshot } from '@angular/router';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { tap } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport { RestOccurError } from '../actions';\r\nimport { ConfigState } from '../states';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PermissionGuard implements CanActivate {\r\n constructor(private store: Store) {}\r\n\r\n canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable {\r\n let resource = snq(() => route.data.routes.requiredPolicy) || snq(() => route.data.requiredPolicy as string);\r\n if (!resource) {\r\n resource = snq(\r\n () => route.routeConfig.children.find(child => state.url.indexOf(child.path) > -1).data.requiredPolicy,\r\n );\r\n }\r\n\r\n return this.store.select(ConfigState.getGrantedPolicy(resource)).pipe(\r\n tap(access => {\r\n if (!access) {\r\n this.store.dispatch(new RestOccurError({ status: 403 }));\r\n }\r\n }),\r\n );\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http';\r\nimport { OAuthService } from 'angular-oauth2-oidc';\r\nimport { Store } from '@ngxs/store';\r\nimport { SessionState } from '../states';\r\nimport { StartLoader, StopLoader } from '../actions/loader.actions';\r\nimport { finalize } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class ApiInterceptor implements HttpInterceptor {\r\n constructor(private oAuthService: OAuthService, private store: Store) {}\r\n\r\n intercept(request: HttpRequest, next: HttpHandler) {\r\n this.store.dispatch(new StartLoader(request));\r\n\r\n const headers = {} as any;\r\n\r\n const token = this.oAuthService.getAccessToken();\r\n if (!request.headers.has('Authorization') && token) {\r\n headers['Authorization'] = `Bearer ${token}`;\r\n }\r\n\r\n const lang = this.store.selectSnapshot(SessionState.getLanguage);\r\n if (!request.headers.has('Accept-Language') && lang) {\r\n headers['Accept-Language'] = lang;\r\n }\r\n\r\n const tenant = this.store.selectSnapshot(SessionState.getTenant);\r\n if (!request.headers.has('__tenant') && tenant) {\r\n headers['__tenant'] = tenant.id;\r\n }\r\n\r\n return next\r\n .handle(\r\n request.clone({\r\n setHeaders: headers,\r\n }),\r\n )\r\n .pipe(finalize(() => this.store.dispatch(new StopLoader(request))));\r\n }\r\n}\r\n","import { ABP } from './common';\r\n\r\nexport namespace ApplicationConfiguration {\r\n export interface Response {\r\n localization: Localization;\r\n auth: Auth;\r\n setting: Value;\r\n currentUser: CurrentUser;\r\n features: Value;\r\n }\r\n\r\n export interface Localization {\r\n values: LocalizationValue;\r\n languages: Language[];\r\n }\r\n\r\n export interface LocalizationValue {\r\n [key: string]: { [key: string]: string };\r\n }\r\n\r\n export interface Language {\r\n cultureName: string;\r\n uiCultureName: string;\r\n displayName: string;\r\n flagIcon: string;\r\n }\r\n\r\n export interface Auth {\r\n policies: Policy;\r\n grantedPolicies: Policy;\r\n }\r\n\r\n export interface Policy {\r\n [key: string]: boolean;\r\n }\r\n\r\n export interface Value {\r\n values: ABP.Dictionary;\r\n }\r\n\r\n export interface CurrentUser {\r\n isAuthenticated: boolean;\r\n id: string;\r\n tenantId: string;\r\n userName: string;\r\n }\r\n}\r\n","import { Config } from './config';\r\nimport { eLayoutType } from '../enums/common';\r\n\r\nexport namespace ABP {\r\n export interface Root {\r\n environment: Partial;\r\n requirements: Config.Requirements;\r\n }\r\n\r\n export type PagedResponse = {\r\n totalCount: number;\r\n } & PagedItemsResponse;\r\n\r\n export interface PagedItemsResponse {\r\n items: T[];\r\n }\r\n\r\n export interface PageQueryParams {\r\n filter?: string;\r\n sorting?: string;\r\n skipCount?: number;\r\n maxResultCount?: number;\r\n }\r\n\r\n export interface Route {\r\n children?: Route[];\r\n invisible?: boolean;\r\n layout?: eLayoutType;\r\n name: string;\r\n order?: number;\r\n parentName?: string;\r\n path: string;\r\n requiredPolicy?: string;\r\n iconClass?: string;\r\n }\r\n\r\n export interface FullRoute extends Route {\r\n url?: string;\r\n wrapper?: boolean;\r\n }\r\n\r\n export interface BasicItem {\r\n id: string;\r\n name: string;\r\n }\r\n\r\n export interface Dictionary {\r\n [key: string]: T;\r\n }\r\n}\r\n","import { AuthConfig } from 'angular-oauth2-oidc';\r\nimport { Type } from '@angular/core';\r\nimport { ApplicationConfiguration } from './application-configuration';\r\nimport { ABP } from './common';\r\n\r\nexport namespace Config {\r\n export type State = ApplicationConfiguration.Response &\r\n ABP.Root & { environment: Environment } & {\r\n routes: ABP.FullRoute[];\r\n flattedRoutes: ABP.FullRoute[];\r\n };\r\n\r\n export interface Environment {\r\n application: Application;\r\n production: boolean;\r\n oAuthConfig: AuthConfig;\r\n apis: Apis;\r\n localization: { defaultResourceName: string };\r\n }\r\n\r\n export interface Application {\r\n name: string;\r\n logoUrl?: string;\r\n }\r\n\r\n export interface Apis {\r\n [key: string]: { [key: string]: string };\r\n }\r\n\r\n export interface Requirements {\r\n layouts: Type[];\r\n }\r\n\r\n export interface LocalizationWithDefault {\r\n key: string;\r\n defaultValue: string;\r\n }\r\n\r\n export type LocalizationParam = string | LocalizationWithDefault;\r\n}\r\n","import { ABP } from '../models';\r\n\r\nexport namespace Session {\r\n export interface State {\r\n language: string;\r\n tenant: ABP.BasicItem;\r\n }\r\n}\r\n","export namespace Profile {\r\n export interface State {\r\n profile: Response;\r\n }\r\n\r\n export interface Response {\r\n userName: string;\r\n email: string;\r\n name: string;\r\n surname: string;\r\n phoneNumber: string;\r\n }\r\n\r\n export interface ChangePasswordRequest {\r\n currentPassword: string;\r\n newPassword: string;\r\n }\r\n}\r\n","import { HttpHeaders, HttpParams } from '@angular/common/http';\r\n\r\nexport namespace Rest {\r\n export interface Config {\r\n skipHandleError?: boolean;\r\n observe?: Observe;\r\n }\r\n\r\n export const enum Observe {\r\n Body = 'body',\r\n Events = 'events',\r\n Response = 'response',\r\n }\r\n\r\n export const enum ResponseType {\r\n ArrayBuffer = 'arraybuffer',\r\n Blob = 'blob',\r\n JSON = 'json',\r\n Text = 'text',\r\n }\r\n\r\n export interface Request {\r\n body?: T;\r\n headers?:\r\n | HttpHeaders\r\n | {\r\n [header: string]: string | string[];\r\n };\r\n method: string;\r\n params?:\r\n | HttpParams\r\n | {\r\n [param: string]: any;\r\n };\r\n reportProgress?: boolean;\r\n responseType?: ResponseType;\r\n url: string;\r\n withCredentials?: boolean;\r\n }\r\n}\r\n","import { Pipe, PipeTransform, Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { Config } from '../models';\r\nimport { ConfigState } from '../states';\r\n\r\n@Injectable()\r\n@Pipe({\r\n name: 'abpLocalization',\r\n})\r\nexport class LocalizationPipe implements PipeTransform {\r\n constructor(private store: Store) {}\r\n\r\n transform(value: string | Config.LocalizationWithDefault = '', ...interpolateParams: string[]): string {\r\n return this.store.selectSnapshot(\r\n ConfigState.getLocalization(\r\n value,\r\n ...interpolateParams.reduce((acc, val) => (Array.isArray(val) ? [...acc, ...val] : [...acc, val]), []),\r\n ),\r\n );\r\n }\r\n}\r\n","import { Injectable, Pipe, PipeTransform } from '@angular/core';\r\nexport type SortOrder = 'asc' | 'desc';\r\n@Injectable()\r\n@Pipe({\r\n name: 'abpSort',\r\n})\r\nexport class SortPipe implements PipeTransform {\r\n transform(\r\n value: any[],\r\n sortOrder: SortOrder | string = 'asc',\r\n sortKey?: string,\r\n ): any {\r\n sortOrder = sortOrder && (sortOrder.toLowerCase() as any);\r\n\r\n if (!value || (sortOrder !== 'asc' && sortOrder !== 'desc')) return value;\r\n\r\n let numberArray = [];\r\n let stringArray = [];\r\n\r\n if (!sortKey) {\r\n numberArray = value.filter(item => typeof item === 'number').sort();\r\n stringArray = value.filter(item => typeof item === 'string').sort();\r\n } else {\r\n numberArray = value\r\n .filter(item => typeof item[sortKey] === 'number')\r\n .sort((a, b) => a[sortKey] - b[sortKey]);\r\n stringArray = value\r\n .filter(item => typeof item[sortKey] === 'string')\r\n .sort((a, b) => {\r\n if (a[sortKey] < b[sortKey]) return -1;\r\n else if (a[sortKey] > b[sortKey]) return 1;\r\n else return 0;\r\n });\r\n }\r\n const sorted = [\r\n ...numberArray,\r\n ...stringArray,\r\n ...value.filter(\r\n item =>\r\n typeof (sortKey ? item[sortKey] : item) !== 'number' &&\r\n typeof (sortKey ? item[sortKey] : item) !== 'string',\r\n ),\r\n ];\r\n return sortOrder === 'asc' ? sorted : sorted.reverse();\r\n }\r\n}\r\n","import { Inject, Injectable, InjectionToken } from '@angular/core';\r\nimport { Router, Routes } from '@angular/router';\r\nimport { actionMatcher, InitState, NgxsNextPluginFn, NgxsPlugin, setValue, UpdateState } from '@ngxs/store';\r\nimport snq from 'snq';\r\nimport { ABP } from '../models';\r\nimport { organizeRoutes, getAbpRoutes } from '../utils/route-utils';\r\nimport clone from 'just-clone';\r\n\r\nexport const NGXS_CONFIG_PLUGIN_OPTIONS = new InjectionToken('NGXS_CONFIG_PLUGIN_OPTIONS');\r\n\r\n@Injectable()\r\nexport class ConfigPlugin implements NgxsPlugin {\r\n private initialized = false;\r\n\r\n constructor(@Inject(NGXS_CONFIG_PLUGIN_OPTIONS) private options: ABP.Root, private router: Router) {}\r\n\r\n handle(state: any, event: any, next: NgxsNextPluginFn) {\r\n const matches = actionMatcher(event);\r\n const isInitAction = matches(InitState) || matches(UpdateState);\r\n\r\n if (isInitAction && !this.initialized) {\r\n const transformedRoutes = transformRoutes(this.router.config);\r\n let { routes } = transformedRoutes;\r\n const { wrappers } = transformedRoutes;\r\n\r\n routes = organizeRoutes(routes, wrappers);\r\n const flattedRoutes = flatRoutes(clone(routes));\r\n state = setValue(state, 'ConfigState', {\r\n ...(state.ConfigState && { ...state.ConfigState }),\r\n ...this.options,\r\n routes,\r\n flattedRoutes,\r\n });\r\n\r\n this.initialized = true;\r\n }\r\n\r\n return next(state, event);\r\n }\r\n}\r\n\r\nfunction transformRoutes(routes: Routes = [], wrappers: ABP.FullRoute[] = []): any {\r\n // TODO: remove in v1\r\n const oldAbpRoutes: ABP.FullRoute[] = routes\r\n .filter(route => {\r\n return snq(() => route.data.routes.routes.find(r => r.path === route.path), false);\r\n })\r\n .reduce((acc, val) => [...acc, ...val.data.routes.routes], []);\r\n // tslint:disable-next-line: deprecation\r\n const abpRoutes = [...getAbpRoutes(), ...oldAbpRoutes];\r\n\r\n wrappers = abpRoutes.filter(ar => ar.wrapper);\r\n const transformed = [] as ABP.FullRoute[];\r\n routes\r\n .filter(route => route.component || route.loadChildren)\r\n .forEach(route => {\r\n const abpPackage = abpRoutes.find(abp => abp.path.toLowerCase() === route.path.toLowerCase() && !abp.wrapper);\r\n\r\n const { length } = transformed;\r\n\r\n if (abpPackage) {\r\n transformed.push(abpPackage);\r\n }\r\n\r\n if (transformed.length === length && (route.data || {}).routes) {\r\n transformed.push({\r\n ...route.data.routes,\r\n path: route.path,\r\n name: snq(() => route.data.routes.name, route.path),\r\n children: route.data.routes.children || [],\r\n } as ABP.FullRoute);\r\n }\r\n });\r\n\r\n return { routes: setUrls(transformed), wrappers };\r\n}\r\n\r\nfunction setUrls(routes: ABP.FullRoute[], parentUrl?: string): ABP.FullRoute[] {\r\n if (parentUrl) {\r\n // this if block using for only recursive call\r\n\r\n return routes.map(route => ({\r\n ...route,\r\n url: `${parentUrl}/${route.path}`,\r\n ...(route.children &&\r\n route.children.length && {\r\n children: setUrls(route.children, `${parentUrl}/${route.path}`),\r\n }),\r\n }));\r\n }\r\n\r\n return routes.map(route => ({\r\n ...route,\r\n url: `/${route.path}`,\r\n ...(route.children &&\r\n route.children.length && {\r\n children: setUrls(route.children, `/${route.path}`),\r\n }),\r\n }));\r\n}\r\n\r\nfunction flatRoutes(routes: ABP.FullRoute[]): ABP.FullRoute[] {\r\n const flat = (r: ABP.FullRoute[]) => {\r\n return r.reduce((acc, val) => {\r\n let value: ABP.FullRoute[] = [val];\r\n if (val.children) {\r\n value = [val, ...flat(val.children)];\r\n }\r\n\r\n return [...acc, ...value];\r\n }, []);\r\n };\r\n\r\n return flat(routes);\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { ConfigState } from '../states';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ConfigStateService {\r\n constructor(private store: Store) {}\r\n\r\n getAll() {\r\n return this.store.selectSnapshot(ConfigState.getAll);\r\n }\r\n\r\n getApplicationInfo() {\r\n return this.store.selectSnapshot(ConfigState.getApplicationInfo);\r\n }\r\n\r\n getOne(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getOne(...args));\r\n }\r\n\r\n getDeep(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getDeep(...args));\r\n }\r\n\r\n getRoute(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getRoute(...args));\r\n }\r\n\r\n getApiUrl(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getApiUrl(...args));\r\n }\r\n\r\n getSetting(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getSetting(...args));\r\n }\r\n\r\n getSettings(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getSettings(...args));\r\n }\r\n\r\n getGrantedPolicy(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getGrantedPolicy(...args));\r\n }\r\n\r\n getLocalization(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getLocalization(...args));\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable, ReplaySubject, throwError } from 'rxjs';\r\nimport { uuid } from '../utils';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class LazyLoadService {\r\n loadedLibraries: { [url: string]: ReplaySubject } = {};\r\n\r\n load(\r\n urlOrUrls: string | string[],\r\n type: 'script' | 'style',\r\n content: string = '',\r\n targetQuery: string = 'body',\r\n position: InsertPosition = 'beforeend',\r\n ): Observable {\r\n if (!urlOrUrls && !content) {\r\n return throwError('Should pass url or content');\r\n } else if (!urlOrUrls && content) {\r\n urlOrUrls = [null];\r\n }\r\n\r\n if (!Array.isArray(urlOrUrls)) {\r\n urlOrUrls = [urlOrUrls];\r\n }\r\n\r\n return new Observable(subscriber => {\r\n (urlOrUrls as string[]).forEach((url, index) => {\r\n const key = url ? url.slice(url.lastIndexOf('/') + 1) : uuid();\r\n\r\n if (this.loadedLibraries[key]) {\r\n subscriber.next();\r\n subscriber.complete();\r\n return;\r\n }\r\n\r\n this.loadedLibraries[key] = new ReplaySubject();\r\n\r\n let library;\r\n if (type === 'script') {\r\n library = document.createElement('script');\r\n library.type = 'text/javascript';\r\n if (url) {\r\n (library as HTMLScriptElement).src = url;\r\n }\r\n\r\n (library as HTMLScriptElement).text = content;\r\n } else if (url) {\r\n library = document.createElement('link');\r\n library.type = 'text/css';\r\n (library as HTMLLinkElement).rel = 'stylesheet';\r\n\r\n if (url) {\r\n (library as HTMLLinkElement).href = url;\r\n }\r\n } else {\r\n library = document.createElement('style');\r\n (library as HTMLStyleElement).textContent = content;\r\n }\r\n\r\n library.onload = () => {\r\n this.loadedLibraries[key].next();\r\n this.loadedLibraries[key].complete();\r\n\r\n if (index === urlOrUrls.length - 1) {\r\n subscriber.next();\r\n subscriber.complete();\r\n }\r\n };\r\n\r\n document.querySelector(targetQuery).insertAdjacentElement(position, library);\r\n });\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { ProfileState } from '../states';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ProfileStateService {\r\n constructor(private store: Store) {}\r\n\r\n getProfile() {\r\n return this.store.selectSnapshot(ProfileState.getProfile);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { SessionState } from '../states';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class SessionStateService {\r\n constructor(private store: Store) {}\r\n\r\n getLanguage() {\r\n return this.store.selectSnapshot(SessionState.getLanguage);\r\n }\r\n\r\n getTenant() {\r\n return this.store.selectSnapshot(SessionState.getTenant);\r\n }\r\n}\r\n","import { InjectionToken } from '@angular/core';\r\nimport { Config } from '../models';\r\n\r\nexport function environmentFactory(environment: Config.Environment) {\r\n return {\r\n ...environment,\r\n };\r\n}\r\n\r\nexport function configFactory(config: Config.Requirements) {\r\n return {\r\n ...config,\r\n };\r\n}\r\n\r\nexport const ENVIRONMENT = new InjectionToken('ENVIRONMENT');\r\n\r\nexport const CONFIG = new InjectionToken('CONFIG');\r\n","import { Directive, ElementRef, EventEmitter, Input, OnDestroy, OnInit, Output } from '@angular/core';\r\nimport { takeUntilDestroy } from '@ngx-validate/core';\r\nimport { fromEvent } from 'rxjs';\r\nimport { debounceTime } from 'rxjs/operators';\r\n\r\n@Directive({\r\n // tslint:disable-next-line: directive-selector\r\n selector: '[input.debounce]',\r\n})\r\nexport class InputEventDebounceDirective implements OnInit, OnDestroy {\r\n @Input() debounce = 300;\r\n\r\n @Output('input.debounce') readonly debounceEvent = new EventEmitter();\r\n\r\n constructor(private el: ElementRef) {}\r\n\r\n ngOnInit(): void {\r\n fromEvent(this.el.nativeElement, 'input')\r\n .pipe(\r\n debounceTime(this.debounce),\r\n takeUntilDestroy(this),\r\n )\r\n .subscribe((event: Event) => {\r\n this.debounceEvent.emit(event);\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {}\r\n}\r\n","import { Directive, ElementRef, EventEmitter, OnInit, Output, OnDestroy } from '@angular/core';\r\nimport { fromEvent } from 'rxjs';\r\nimport { takeUntilDestroy } from '../utils/rxjs-utils';\r\n\r\n@Directive({\r\n // tslint:disable-next-line: directive-selector\r\n selector: '[click.stop]',\r\n})\r\nexport class ClickEventStopPropagationDirective implements OnInit, OnDestroy {\r\n @Output('click.stop') readonly stopPropEvent = new EventEmitter();\r\n\r\n constructor(private el: ElementRef) {}\r\n\r\n ngOnInit(): void {\r\n fromEvent(this.el.nativeElement, 'click')\r\n .pipe(takeUntilDestroy(this))\r\n .subscribe((event: MouseEvent) => {\r\n event.stopPropagation();\r\n this.stopPropEvent.emit(event);\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {}\r\n}\r\n","import { LOCALE_ID, Provider } from '@angular/core';\r\nimport localesMapping from '../constants/different-locales';\r\nimport { LocalizationService } from '../services/localization.service';\r\n\r\nexport class LocaleId extends String {\r\n constructor(private localizationService: LocalizationService) {\r\n super();\r\n }\r\n\r\n toString(): string {\r\n const { currentLang } = this.localizationService;\r\n return localesMapping[currentLang] || currentLang;\r\n }\r\n\r\n valueOf(): string {\r\n return this.toString();\r\n }\r\n}\r\n\r\nexport const LocaleProvider: Provider = {\r\n provide: LOCALE_ID,\r\n useClass: LocaleId,\r\n deps: [LocalizationService],\r\n};\r\n","export {};\r\n\r\ndeclare global {\r\n interface Date {\r\n toLocalISOString(): string;\r\n }\r\n}\r\n\r\nDate.prototype.toLocalISOString = function(this: Date): string {\r\n const timezoneOffset = this.getTimezoneOffset();\r\n\r\n return new Date(this.getTime() - timezoneOffset * 60000).toISOString();\r\n};\r\n","import { CommonModule } from '@angular/common';\r\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { APP_INITIALIZER, Injector, ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { RouterModule } from '@angular/router';\r\nimport { NgxsRouterPluginModule } from '@ngxs/router-plugin';\r\nimport { NgxsStoragePluginModule } from '@ngxs/storage-plugin';\r\nimport { NgxsModule, NGXS_PLUGINS } from '@ngxs/store';\r\nimport { OAuthModule } from 'angular-oauth2-oidc';\r\nimport { AbstractNgModelComponent } from './abstracts/ng-model.component';\r\nimport { DynamicLayoutComponent } from './components/dynamic-layout.component';\r\nimport { RouterOutletComponent } from './components/router-outlet.component';\r\nimport { AutofocusDirective } from './directives/autofocus.directive';\r\nimport { InputEventDebounceDirective } from './directives/debounce.directive';\r\nimport { EllipsisDirective } from './directives/ellipsis.directive';\r\nimport { ForDirective } from './directives/for.directive';\r\nimport { FormSubmitDirective } from './directives/form-submit.directive';\r\nimport { PermissionDirective } from './directives/permission.directive';\r\nimport { ClickEventStopPropagationDirective } from './directives/stop-propagation.directive';\r\nimport { VisibilityDirective } from './directives/visibility.directive';\r\nimport { ApiInterceptor } from './interceptors/api.interceptor';\r\nimport { ABP } from './models/common';\r\nimport { LocalizationPipe } from './pipes/localization.pipe';\r\nimport { SortPipe } from './pipes/sort.pipe';\r\nimport { ConfigPlugin, NGXS_CONFIG_PLUGIN_OPTIONS } from './plugins/config.plugin';\r\nimport { LocaleProvider } from './providers/locale.provider';\r\nimport { ConfigState } from './states/config.state';\r\nimport { ProfileState } from './states/profile.state';\r\nimport { SessionState } from './states/session.state';\r\nimport { getInitialData, localeInitializer } from './utils/initial-utils';\r\nimport './utils/date-extensions';\r\n\r\n@NgModule({\r\n imports: [\r\n NgxsModule.forFeature([ProfileState, SessionState, ConfigState]),\r\n NgxsRouterPluginModule.forRoot(),\r\n NgxsStoragePluginModule.forRoot({ key: ['SessionState'] }),\r\n OAuthModule.forRoot(),\r\n CommonModule,\r\n HttpClientModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n RouterModule,\r\n ],\r\n declarations: [\r\n RouterOutletComponent,\r\n DynamicLayoutComponent,\r\n AutofocusDirective,\r\n EllipsisDirective,\r\n ForDirective,\r\n FormSubmitDirective,\r\n LocalizationPipe,\r\n SortPipe,\r\n PermissionDirective,\r\n VisibilityDirective,\r\n InputEventDebounceDirective,\r\n ClickEventStopPropagationDirective,\r\n AbstractNgModelComponent,\r\n ],\r\n exports: [\r\n CommonModule,\r\n HttpClientModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n RouterModule,\r\n RouterOutletComponent,\r\n DynamicLayoutComponent,\r\n AutofocusDirective,\r\n EllipsisDirective,\r\n ForDirective,\r\n FormSubmitDirective,\r\n LocalizationPipe,\r\n SortPipe,\r\n PermissionDirective,\r\n VisibilityDirective,\r\n InputEventDebounceDirective,\r\n LocalizationPipe,\r\n ClickEventStopPropagationDirective,\r\n AbstractNgModelComponent,\r\n ],\r\n providers: [LocalizationPipe],\r\n entryComponents: [RouterOutletComponent, DynamicLayoutComponent],\r\n})\r\nexport class CoreModule {\r\n static forRoot(options = {} as ABP.Root): ModuleWithProviders {\r\n return {\r\n ngModule: CoreModule,\r\n providers: [\r\n LocaleProvider,\r\n {\r\n provide: NGXS_PLUGINS,\r\n useClass: ConfigPlugin,\r\n multi: true,\r\n },\r\n {\r\n provide: NGXS_CONFIG_PLUGIN_OPTIONS,\r\n useValue: options,\r\n },\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: ApiInterceptor,\r\n multi: true,\r\n },\r\n {\r\n provide: APP_INITIALIZER,\r\n multi: true,\r\n deps: [Injector],\r\n useFactory: getInitialData,\r\n },\r\n {\r\n provide: APP_INITIALIZER,\r\n multi: true,\r\n deps: [Injector],\r\n useFactory: localeInitializer,\r\n },\r\n ],\r\n };\r\n }\r\n}\r\n","export function noop() {\r\n // tslint:disable-next-line: only-arrow-functions\r\n const fn = function() {};\r\n return fn;\r\n}\r\n"]} \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/abp-ng.core.js b/npm/ng-packs/dist/core/esm2015/abp-ng.core.js deleted file mode 100644 index d1a6f25963e..00000000000 --- a/npm/ng-packs/dist/core/esm2015/abp-ng.core.js +++ /dev/null @@ -1,37 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.core.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { AbstractNgModelComponent, PatchRouteByName, GetAppConfiguration, StartLoader, StopLoader, GetProfile, UpdateProfile, ChangePassword, RestOccurError, SetLanguage, SetTenant, DynamicLayoutComponent, RouterOutletComponent, AutofocusDirective, EllipsisDirective, ForDirective, FormSubmitDirective, PermissionDirective, VisibilityDirective, AuthGuard, PermissionGuard, ApiInterceptor, Rest, LocalizationPipe, SortPipe, NGXS_CONFIG_PLUGIN_OPTIONS, ConfigPlugin, ApplicationConfigurationService, ConfigStateService, LazyLoadService, LocalizationService, ProfileService, RestService, ProfileStateService, SessionStateService, ProfileState, ConfigState, SessionState, environmentFactory, configFactory, ENVIRONMENT, CONFIG, noop, uuid, getInitialData, localeInitializer, registerLocale, organizeRoutes, setChildRoute, sortRoutes, addAbpRoutes, getAbpRoutes, takeUntilDestroy, CoreModule } from './public-api'; -export { AbstractNgModelComponent as ɵbc } from './lib/abstracts/ng-model.component'; -export { GetAppConfiguration as ɵp, PatchRouteByName as ɵo } from './lib/actions/config.actions'; -export { ChangePassword as ɵf, GetProfile as ɵd, UpdateProfile as ɵe } from './lib/actions/profile.actions'; -export { SetLanguage as ɵj, SetTenant as ɵk } from './lib/actions/session.actions'; -export { DynamicLayoutComponent as ɵr } from './lib/components/dynamic-layout.component'; -export { RouterOutletComponent as ɵq } from './lib/components/router-outlet.component'; -export { AutofocusDirective as ɵs } from './lib/directives/autofocus.directive'; -export { InputEventDebounceDirective as ɵba } from './lib/directives/debounce.directive'; -export { EllipsisDirective as ɵt } from './lib/directives/ellipsis.directive'; -export { ForDirective as ɵu } from './lib/directives/for.directive'; -export { FormSubmitDirective as ɵv } from './lib/directives/form-submit.directive'; -export { PermissionDirective as ɵy } from './lib/directives/permission.directive'; -export { ClickEventStopPropagationDirective as ɵbb } from './lib/directives/stop-propagation.directive'; -export { VisibilityDirective as ɵz } from './lib/directives/visibility.directive'; -export { ApiInterceptor as ɵbh } from './lib/interceptors/api.interceptor'; -export { LocalizationPipe as ɵw } from './lib/pipes/localization.pipe'; -export { SortPipe as ɵx } from './lib/pipes/sort.pipe'; -export { ConfigPlugin as ɵbg, NGXS_CONFIG_PLUGIN_OPTIONS as ɵbf } from './lib/plugins/config.plugin'; -export { LocaleId as ɵbd, LocaleProvider as ɵbe } from './lib/providers/locale.provider'; -export { ApplicationConfigurationService as ɵn } from './lib/services/application-configuration.service'; -export { LocalizationService as ɵi } from './lib/services/localization.service'; -export { ProfileService as ɵb } from './lib/services/profile.service'; -export { RestService as ɵc } from './lib/services/rest.service'; -export { ConfigState as ɵm } from './lib/states/config.state'; -export { ProfileState as ɵa } from './lib/states/profile.state'; -export { SessionState as ɵh } from './lib/states/session.state'; -export { getInitialData as ɵbi, localeInitializer as ɵbj } from './lib/utils/initial-utils'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLmNvcmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJhYnAtbmcuY29yZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLDgzQkFBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLHdCQUF3QixJQUFJLEdBQUcsRUFBQyxNQUFNLG9DQUFvQyxDQUFDO0FBQ25GLE9BQU8sRUFBQyxtQkFBbUIsSUFBSSxFQUFFLEVBQUMsZ0JBQWdCLElBQUksRUFBRSxFQUFDLE1BQU0sOEJBQThCLENBQUM7QUFDOUYsT0FBTyxFQUFDLGNBQWMsSUFB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FsZVByb3ZpZGVyIGFzIMm1YmV9IGZyb20gJy4vbGliL3Byb3ZpZGVycy9sb2NhbGUucHJvdmlkZXInO1xuZXhwb3J0IHtBcHBsaWNhdGlvbkNvbmZpZ3VyYXRpb25TZXJ2aWNlIGFzIMm1bn0gZnJvbSAnLi9saWIvc2VydmljZXMvYXBwbGljYXRpb24tY29uZmlndXJhdGlvbi5zZXJ2aWNlJztcbmV4cG9ydCB7TG9jYWxpemF0aW9uU2VydmljZSBhcyDJtWl9IGZyb20gJy4vbGliL3NlcnZpY2VzL2xvY2FsaXphdGlvbi5zZXJ2aWNlJztcbmV4cG9ydCB7UHJvZmlsZVNlcnZpY2UgYXMgybVifSBmcm9tICcuL2xpYi9zZXJ2aWNlcy9wcm9maWxlLnNlcnZpY2UnO1xuZXhwb3J0IHtSZXN0U2VydmljZSBhcyDJtWN9IGZyb20gJy4vbGliL3NlcnZpY2VzL3Jlc3Quc2VydmljZSc7XG5leHBvcnQge0NvbmZpZ1N0YXRlIGFzIMm1bX0gZnJvbSAnLi9saWIvc3RhdGVzL2NvbmZpZy5zdGF0ZSc7XG5leHBvcnQge1Byb2ZpbGVTdGF0ZSBhcyDJtWF9IGZyb20gJy4vbGliL3N0YXRlcy9wcm9maWxlLnN0YXRlJztcbmV4cG9ydCB7U2Vzc2lvblN0YXRlIGFzIMm1aH0gZnJvbSAnLi9saWIvc3RhdGVzL3Nlc3Npb24uc3RhdGUnO1xuZXhwb3J0IHtnZXRJbml0aWFsRGF0YSBhcyDJtWJpLGxvY2FsZUluaXRpYWxpemVyIGFzIMm1Ymp9IGZyb20gJy4vbGliL3V0aWxzL2luaXRpYWwtdXRpbHMnOyJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/abstracts/index.js b/npm/ng-packs/dist/core/esm2015/lib/abstracts/index.js deleted file mode 100644 index f097350ca79..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/abstracts/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/abstracts/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { AbstractNgModelComponent } from './ng-model.component'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvYWJzdHJhY3RzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEseUNBQWMsc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL25nLW1vZGVsLmNvbXBvbmVudCc7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/abstracts/ng-model.component.js b/npm/ng-packs/dist/core/esm2015/lib/abstracts/ng-model.component.js deleted file mode 100644 index 9d3afc8146e..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/abstracts/ng-model.component.js +++ /dev/null @@ -1,104 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/abstracts/ng-model.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { ChangeDetectorRef, Component, Injector, Input } from '@angular/core'; -/** - * @template T - */ -export class AbstractNgModelComponent { - /** - * @param {?} injector - */ - constructor(injector) { - this.injector = injector; - this.cdRef = injector.get((/** @type {?} */ (ChangeDetectorRef))); - } - /** - * @param {?} value - * @return {?} - */ - set value(value) { - this._value = value; - this.notifyValueChange(); - } - /** - * @return {?} - */ - get value() { - return this._value; - } - /** - * @return {?} - */ - notifyValueChange() { - if (this.onChange) { - this.onChange(this.value); - } - } - /** - * @param {?} value - * @return {?} - */ - writeValue(value) { - this._value = value; - setTimeout((/** - * @return {?} - */ - () => this.cdRef.detectChanges()), 0); - } - /** - * @param {?} fn - * @return {?} - */ - registerOnChange(fn) { - this.onChange = fn; - } - /** - * @param {?} fn - * @return {?} - */ - registerOnTouched(fn) { - this.onTouched = fn; - } - /** - * @param {?} isDisabled - * @return {?} - */ - setDisabledState(isDisabled) { - this.disabled = isDisabled; - } -} -AbstractNgModelComponent.decorators = [ - { type: Component, args: [{ selector: 'abp-abstract-ng-model', template: '' }] } -]; -/** @nocollapse */ -AbstractNgModelComponent.ctorParameters = () => [ - { type: Injector } -]; -AbstractNgModelComponent.propDecorators = { - disabled: [{ type: Input }], - value: [{ type: Input }] -}; -if (false) { - /** @type {?} */ - AbstractNgModelComponent.prototype.disabled; - /** @type {?} */ - AbstractNgModelComponent.prototype.onChange; - /** @type {?} */ - AbstractNgModelComponent.prototype.onTouched; - /** - * @type {?} - * @protected - */ - AbstractNgModelComponent.prototype._value; - /** - * @type {?} - * @protected - */ - AbstractNgModelComponent.prototype.cdRef; - /** @type {?} */ - AbstractNgModelComponent.prototype.injector; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctbW9kZWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2Fic3RyYWN0cy9uZy1tb2RlbC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFDQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsU0FBUyxFQUFFLFFBQVEsRUFBRSxLQUFLLEVBQVEsTUFBTSxlQUFlLENBQUM7Ozs7QUFHcEYsTUFBTSxPQUFPLHdCQUF3Qjs7OztJQWtCbkMsWUFBbUIsUUFBa0I7UUFBbEIsYUFBUSxHQUFSLFFBQVEsQ0FBVTtRQUNuQyxJQUFJLENBQUMsS0FBSyxHQUFHLFFBQVEsQ0FBQyxHQUFHLENBQW9CLG1CQUFBLGlCQUFpQixFQUEyQixDQUFDLENBQ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NkUmVmID0gaW5qZWN0b3IuZ2V0PENoYW5nZURldGVjdG9yUmVmPihDaGFuZ2VEZXRlY3RvclJlZiBhcyBUeXBlPENoYW5nZURldGVjdG9yUmVmPik7XHJcbiAgfVxyXG5cclxuICBub3RpZnlWYWx1ZUNoYW5nZSgpOiB2b2lkIHtcclxuICAgIGlmICh0aGlzLm9uQ2hhbmdlKSB7XHJcbiAgICAgIHRoaXMub25DaGFuZ2UodGhpcy52YWx1ZSk7XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICB3cml0ZVZhbHVlKHZhbHVlOiBUKTogdm9pZCB7XHJcbiAgICB0aGlzLl92YWx1ZSA9IHZhbHVlO1xyXG4gICAgc2V0VGltZW91dCgoKSA9PiB0aGlzLmNkUmVmLmRldGVjdENoYW5nZXMoKSwgMCk7XHJcbiAgfVxyXG5cclxuICByZWdpc3Rlck9uQ2hhbmdlKGZuOiBhbnkpOiB2b2lkIHtcclxuICAgIHRoaXMub25DaGFuZ2UgPSBmbjtcclxuICB9XHJcblxyXG4gIHJlZ2lzdGVyT25Ub3VjaGVkKGZuOiBhbnkpOiB2b2lkIHtcclxuICAgIHRoaXMub25Ub3VjaGVkID0gZm47XHJcbiAgfVxyXG5cclxuICBzZXREaXNhYmxlZFN0YXRlKGlzRGlzYWJsZWQ6IGJvb2xlYW4pOiB2b2lkIHtcclxuICAgIHRoaXMuZGlzYWJsZWQgPSBpc0Rpc2FibGVkO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/actions/config.actions.js b/npm/ng-packs/dist/core/esm2015/lib/actions/config.actions.js deleted file mode 100644 index 8471f724b6f..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/actions/config.actions.js +++ /dev/null @@ -1,32 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/config.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export class PatchRouteByName { - /** - * @param {?} name - * @param {?} newValue - */ - constructor(name, newValue) { - this.name = name; - this.newValue = newValue; - } -} -PatchRouteByName.type = '[Config] Patch Route By Name'; -if (false) { - /** @type {?} */ - PatchRouteByName.type; - /** @type {?} */ - PatchRouteByName.prototype.name; - /** @type {?} */ - PatchRouteByName.prototype.newValue; -} -export class GetAppConfiguration { -} -GetAppConfiguration.type = '[Config] Get App Configuration'; -if (false) { - /** @type {?} */ - GetAppConfiguration.type; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLmFjdGlvbnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvYWN0aW9ucy9jb25maWcuYWN0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUVBLE1BQU0sT0FBTyxnQkFBZ0I7Ozs7O0lBRTNCLFlBQW1CLElBQVksRUFBUyxRQUE0QjtRQUFqRCxTQUFJLEdBQUosSUFBSSxDQUFRO1FBQVMsYUFBUSxHQUFSLFFBQVEsQ0FBb0I7SUFBRyxDQUFDOztBQUR4RCxxQkFBSSxHQUFHLDhCQUE4QixDQUFDOzs7SUFBdEQsc0JBQXNEOztJQUMxQyxnQ0FBbUI7O0lBQUUsb0NBQW1DOztBQUd0RSxNQUFNLE9BQU8sbUJBQW1COztBQUNkLHdCQUFJLEdBQUcsZ0NBQWdDLENBQUM7OztJQUF4RCx5QkFBd0QiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBQlAgfSBmcm9tICcuLi9tb2RlbHMnO1xyXG5cclxuZXhwb3J0IGNsYXNzIFBhdGNoUm91dGVCeU5hbWUge1xyXG4gIHN0YXRpYyByZWFkb25seSB0eXBlID0gJ1tDb25maWddIFBhdGNoIFJvdXRlIEJ5IE5hbWUnO1xyXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBuYW1lOiBzdHJpbmcsIHB1YmxpYyBuZXdWYWx1ZTogUGFydGlhbDxBQlAuUm91dGU+KSB7fVxyXG59XHJcblxyXG5leHBvcnQgY2xhc3MgR2V0QXBwQ29uZmlndXJhdGlvbiB7XHJcbiAgc3RhdGljIHJlYWRvbmx5IHR5cGUgPSAnW0NvbmZpZ10gR2V0IEFwcCBDb25maWd1cmF0aW9uJztcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/actions/index.js b/npm/ng-packs/dist/core/esm2015/lib/actions/index.js deleted file mode 100644 index 4707b748dc5..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/actions/index.js +++ /dev/null @@ -1,11 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { PatchRouteByName, GetAppConfiguration } from './config.actions'; -export { StartLoader, StopLoader } from './loader.actions'; -export { GetProfile, UpdateProfile, ChangePassword } from './profile.actions'; -export { RestOccurError } from './rest.actions'; -export { SetLanguage, SetTenant } from './session.actions'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvYWN0aW9ucy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHNEQUFjLGtCQUFrQixDQUFDO0FBQ2pDLHdDQUFjLGtCQUFrQixDQUFDO0FBQ2pDLDBEQUFjLG1CQUFtQixDQUFDO0FBQ2xDLCtCQUFjLGdCQUFnQixDQUFDO0FBQy9CLHVDQUFjLG1CQUFtQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb25maWcuYWN0aW9ucyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbG9hZGVyLmFjdGlvbnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL3Byb2ZpbGUuYWN0aW9ucyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vcmVzdC5hY3Rpb25zJztcclxuZXhwb3J0ICogZnJvbSAnLi9zZXNzaW9uLmFjdGlvbnMnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/actions/loader.actions.js b/npm/ng-packs/dist/core/esm2015/lib/actions/loader.actions.js deleted file mode 100644 index 100276dc4c7..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/actions/loader.actions.js +++ /dev/null @@ -1,36 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/loader.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export class StartLoader { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -StartLoader.type = '[Loader] Start'; -if (false) { - /** @type {?} */ - StartLoader.type; - /** @type {?} */ - StartLoader.prototype.payload; -} -export class StopLoader { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -StopLoader.type = '[Loader] Stop'; -if (false) { - /** @type {?} */ - StopLoader.type; - /** @type {?} */ - StopLoader.prototype.payload; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGVyLmFjdGlvbnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvYWN0aW9ucy9sb2FkZXIuYWN0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUVBLE1BQU0sT0FBTyxXQUFXOzs7O0lBRXRCLFlBQW1CLE9BQXlCO1FBQXpCLFlBQU8sR0FBUCxPQUFPLENBQWtCO0lBQUcsQ0FBQzs7QUFEaEMsZ0JBQUksR0FBRyxnQkFBZ0IsQ0FBQzs7O0lBQXhDLGlCQUF3Qzs7SUFDNUIsOEJBQWdDOztBQUc5QyxNQUFNLE9BQU8sVUFBVTs7OztJQUVyQixZQUFtQixPQUF5QjtRQUF6QixZQUFPLEdBQVAsT0FBTyxDQUFrQjtJQUFHLENBQUM7O0FBRGhDLGVBQUksR0FBRyxlQUFlLENBQUM7OztJQUF2QyxnQkFBdUM7O0lBQzNCLDZCQUFnQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEh0dHBSZXF1ZXN0IH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uL2h0dHAnO1xyXG5cclxuZXhwb3J0IGNsYXNzIFN0YXJ0TG9hZGVyIHtcclxuICBzdGF0aWMgcmVhZG9ubHkgdHlwZSA9ICdbTG9hZGVyXSBTdGFydCc7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IEh0dHBSZXF1ZXN0PGFueT4pIHt9XHJcbn1cclxuXHJcbmV4cG9ydCBjbGFzcyBTdG9wTG9hZGVyIHtcclxuICBzdGF0aWMgcmVhZG9ubHkgdHlwZSA9ICdbTG9hZGVyXSBTdG9wJztcclxuICBjb25zdHJ1Y3RvcihwdWJsaWMgcGF5bG9hZDogSHR0cFJlcXVlc3Q8YW55Pikge31cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/actions/profile.actions.js b/npm/ng-packs/dist/core/esm2015/lib/actions/profile.actions.js deleted file mode 100644 index b61d297b55e..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/actions/profile.actions.js +++ /dev/null @@ -1,43 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/profile.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export class GetProfile { -} -GetProfile.type = '[Profile] Get'; -if (false) { - /** @type {?} */ - GetProfile.type; -} -export class UpdateProfile { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -UpdateProfile.type = '[Profile] Update'; -if (false) { - /** @type {?} */ - UpdateProfile.type; - /** @type {?} */ - UpdateProfile.prototype.payload; -} -export class ChangePassword { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -ChangePassword.type = '[Profile] Change Password'; -if (false) { - /** @type {?} */ - ChangePassword.type; - /** @type {?} */ - ChangePassword.prototype.payload; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZmlsZS5hY3Rpb25zLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2FjdGlvbnMvcHJvZmlsZS5hY3Rpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBRUEsTUFBTSxPQUFPLFVBQVU7O0FBQ0wsZUFBSSxHQUFHLGVBQWUsQ0FBQzs7O0lBQXZDLGdCQUF1Qzs7QUFHekMsTUFBTSxPQUFPLGFBQWE7Ozs7SUFFeEIsWUFBbUIsT0FBeUI7UUFBekIsWUFBTyxHQUFQLE9BQU8sQ0FBa0I7SUFBRyxDQUFDOztBQURoQyxrQkFBSSxHQUFHLGtCQUFrQixDQUFDOzs7SUFBMUMsbUJBQTBDOztJQUM5QixnQ0FBZ0M7O0FBRzlDLE1BQU0sT0FBTyxjQUFjOzs7O0lBRXpCLFlBQW1CLE9BQXNDO1FBQXRDLFlBQU8sR0FBUCxPQUFPLENBQStCO0lBQUcsQ0FBQzs7QUFEN0MsbUJBQUksR0FBRywyQkFBMkIsQ0FBQzs7O0lBQW5ELG9CQUFtRDs7SUFDdkMsaUNBQTZDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUHJvZmlsZSB9IGZyb20gJy4uL21vZGVscyc7XHJcblxyXG5leHBvcnQgY2xhc3MgR2V0UHJvZmlsZSB7XHJcbiAgc3RhdGljIHJlYWRvbmx5IHR5cGUgPSAnW1Byb2ZpbGVdIEdldCc7XHJcbn1cclxuXHJcbmV4cG9ydCBjbGFzcyBVcGRhdGVQcm9maWxlIHtcclxuICBzdGF0aWMgcmVhZG9ubHkgdHlwZSA9ICdbUHJvZmlsZV0gVXBkYXRlJztcclxuICBjb25zdHJ1Y3RvcihwdWJsaWMgcGF5bG9hZDogUHJvZmlsZS5SZXNwb25zZSkge31cclxufVxyXG5cclxuZXhwb3J0IGNsYXNzIENoYW5nZVBhc3N3b3JkIHtcclxuICBzdGF0aWMgcmVhZG9ubHkgdHlwZSA9ICdbUHJvZmlsZV0gQ2hhbmdlIFBhc3N3b3JkJztcclxuICBjb25zdHJ1Y3RvcihwdWJsaWMgcGF5bG9hZDogUHJvZmlsZS5DaGFuZ2VQYXNzd29yZFJlcXVlc3QpIHt9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/actions/rest.actions.js b/npm/ng-packs/dist/core/esm2015/lib/actions/rest.actions.js deleted file mode 100644 index 5d9d784378f..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/actions/rest.actions.js +++ /dev/null @@ -1,21 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/rest.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export class RestOccurError { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -RestOccurError.type = '[Rest] Error'; -if (false) { - /** @type {?} */ - RestOccurError.type; - /** @type {?} */ - RestOccurError.prototype.payload; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdC5hY3Rpb25zLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2FjdGlvbnMvcmVzdC5hY3Rpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBRUEsTUFBTSxPQUFPLGNBQWM7Ozs7SUFFekIsWUFBbUIsT0FBZ0M7UUFBaEMsWUFBTyxHQUFQLE9BQU8sQ0FBeUI7SUFBRyxDQUFDOztBQUR2QyxtQkFBSSxHQUFHLGNBQWMsQ0FBQzs7O0lBQXRDLG9CQUFzQzs7SUFDMUIsaUNBQXVDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSHR0cEVycm9yUmVzcG9uc2UgfSBmcm9tICdAYW5ndWxhci9jb21tb24vaHR0cCc7XHJcblxyXG5leHBvcnQgY2xhc3MgUmVzdE9jY3VyRXJyb3Ige1xyXG4gIHN0YXRpYyByZWFkb25seSB0eXBlID0gJ1tSZXN0XSBFcnJvcic7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IEh0dHBFcnJvclJlc3BvbnNlIHwgYW55KSB7fVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/actions/session.actions.js b/npm/ng-packs/dist/core/esm2015/lib/actions/session.actions.js deleted file mode 100644 index 5aa5d74ece1..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/actions/session.actions.js +++ /dev/null @@ -1,36 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/session.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export class SetLanguage { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -SetLanguage.type = '[Session] Set Language'; -if (false) { - /** @type {?} */ - SetLanguage.type; - /** @type {?} */ - SetLanguage.prototype.payload; -} -export class SetTenant { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -SetTenant.type = '[Session] Set Tenant'; -if (false) { - /** @type {?} */ - SetTenant.type; - /** @type {?} */ - SetTenant.prototype.payload; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vzc2lvbi5hY3Rpb25zLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2FjdGlvbnMvc2Vzc2lvbi5hY3Rpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBRUEsTUFBTSxPQUFPLFdBQVc7Ozs7SUFFdEIsWUFBbUIsT0FBZTtRQUFmLFlBQU8sR0FBUCxPQUFPLENBQVE7SUFBRyxDQUFDOztBQUR0QixnQkFBSSxHQUFHLHdCQUF3QixDQUFDOzs7SUFBaEQsaUJBQWdEOztJQUNwQyw4QkFBc0I7O0FBRXBDLE1BQU0sT0FBTyxTQUFTOzs7O0lBRXBCLFlBQW1CLE9BQXNCO1FBQXRCLFlBQU8sR0FBUCxPQUFPLENBQWU7SUFBRyxDQUFDOztBQUQ3QixjQUFJLEdBQUcsc0JBQXNCLENBQUM7OztJQUE5QyxlQUE4Qzs7SUFDbEMsNEJBQTZCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQUJQIH0gZnJvbSAnLi4vbW9kZWxzJztcclxuXHJcbmV4cG9ydCBjbGFzcyBTZXRMYW5ndWFnZSB7XHJcbiAgc3RhdGljIHJlYWRvbmx5IHR5cGUgPSAnW1Nlc3Npb25dIFNldCBMYW5ndWFnZSc7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IHN0cmluZykge31cclxufVxyXG5leHBvcnQgY2xhc3MgU2V0VGVuYW50IHtcclxuICBzdGF0aWMgcmVhZG9ubHkgdHlwZSA9ICdbU2Vzc2lvbl0gU2V0IFRlbmFudCc7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IEFCUC5CYXNpY0l0ZW0pIHt9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/components/dynamic-layout.component.js b/npm/ng-packs/dist/core/esm2015/lib/components/dynamic-layout.component.js deleted file mode 100644 index ee91e2512ea..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/components/dynamic-layout.component.js +++ /dev/null @@ -1,152 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/dynamic-layout.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Component } from '@angular/core'; -import { ActivatedRoute, NavigationEnd, Router } from '@angular/router'; -import { Select, Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import snq from 'snq'; -import { ConfigState } from '../states/config.state'; -import { takeUntilDestroy } from '../utils/rxjs-utils'; -export class DynamicLayoutComponent { - /** - * @param {?} router - * @param {?} route - * @param {?} store - */ - constructor(router, route, store) { - this.router = router; - this.route = route; - this.store = store; - const { requirements: { layouts }, routes } = this.store.selectSnapshot(ConfigState.getAll); - if ((this.route.snapshot.data || {}).layout) { - this.layout = layouts - .filter((/** - * @param {?} l - * @return {?} - */ - l => !!l)) - .find((/** - * @param {?} l - * @return {?} - */ - (l) => snq((/** - * @return {?} - */ - () => l.type.toLowerCase().indexOf(this.route.snapshot.data.layout)), -1) > -1)); - } - this.router.events.pipe(takeUntilDestroy(this)).subscribe((/** - * @param {?} event - * @return {?} - */ - event => { - if (event instanceof NavigationEnd) { - const { segments } = this.router.parseUrl(event.url).root.children.primary; - /** @type {?} */ - const layout = (this.route.snapshot.data || {}).layout || findLayout(segments, routes); - this.layout = layouts - .filter((/** - * @param {?} l - * @return {?} - */ - l => !!l)) - .find((/** - * @param {?} l - * @return {?} - */ - (l) => snq((/** - * @return {?} - */ - () => l.type.toLowerCase().indexOf(layout)), -1) > -1)); - } - })); - } - /** - * @return {?} - */ - ngOnDestroy() { } -} -DynamicLayoutComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-dynamic-layout', - template: ` - - - - ` - }] } -]; -/** @nocollapse */ -DynamicLayoutComponent.ctorParameters = () => [ - { type: Router }, - { type: ActivatedRoute }, - { type: Store } -]; -tslib_1.__decorate([ - Select(ConfigState.getOne('requirements')), - tslib_1.__metadata("design:type", Observable) -], DynamicLayoutComponent.prototype, "requirements$", void 0); -if (false) { - /** @type {?} */ - DynamicLayoutComponent.prototype.requirements$; - /** @type {?} */ - DynamicLayoutComponent.prototype.layout; - /** - * @type {?} - * @private - */ - DynamicLayoutComponent.prototype.router; - /** - * @type {?} - * @private - */ - DynamicLayoutComponent.prototype.route; - /** - * @type {?} - * @private - */ - DynamicLayoutComponent.prototype.store; -} -/** - * @param {?} segments - * @param {?} routes - * @return {?} - */ -function findLayout(segments, routes) { - /** @type {?} */ - let layout = "empty" /* empty */; - /** @type {?} */ - const route = routes - .reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - (acc, val) => (val.wrapper ? [...acc, ...val.children] : [...acc, val])), []) - .find((/** - * @param {?} r - * @return {?} - */ - r => r.path === segments[0].path)); - if (route) { - if (route.layout) { - layout = route.layout; - } - if (route.children && route.children.length && segments.length > 1) { - /** @type {?} */ - const child = route.children.find((/** - * @param {?} c - * @return {?} - */ - c => c.path === segments[1].path)); - if (child && child.layout) { - layout = child.layout; - } - } - } - return layout; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHluYW1pYy1sYXlvdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvZHluYW1pYy1sYXlvdXQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQTBCLE1BQU0sZUFBZSxDQUFDO0FBQ2xFLE9BQU8sRUFBRSxjQUFjLEVBQUUsYUFBYSxFQUFFLE1BQU0sRUFBYyxNQUFNLGlCQUFpQixDQUFDO0FBQ3BGLE9BQU8sRUFBRSxNQUFNLEVBQUUsS0FBSyxFQU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9IGVMYXlvdXRUeXBlLmVtcHR5O1xyXG5cclxuICBjb25zdCByb3V0ZSA9IHJvdXRlc1xyXG4gICAgLnJlZHVjZSgoYWNjLCB2YWwpID0+ICh2YWwud3JhcHBlciA/IFsuLi5hY2MsIC4uLnZhbC5jaGlsZHJlbl0gOiBbLi4uYWNjLCB2YWxdKSwgW10pXHJcbiAgICAuZmluZChyID0+IHIucGF0aCA9PT0gc2VnbWVudHNbMF0ucGF0aCk7XHJcblxyXG4gIGlmIChyb3V0ZSkge1xyXG4gICAgaWYgKHJvdXRlLmxheW91dCkge1xyXG4gICAgICBsYXlvdXQgPSByb3V0ZS5sYXlvdXQ7XHJcbiAgICB9XHJcblxyXG4gICAgaWYgKHJvdXRlLmNoaWxkcmVuICYmIHJvdXRlLmNoaWxkcmVuLmxlbmd0aCAmJiBzZWdtZW50cy5sZW5ndGggPiAxKSB7XHJcbiAgICAgIGNvbnN0IGNoaWxkID0gcm91dGUuY2hpbGRyZW4uZmluZChjID0+IGMucGF0aCA9PT0gc2VnbWVudHNbMV0ucGF0aCk7XHJcblxyXG4gICAgICBpZiAoY2hpbGQgJiYgY2hpbGQubGF5b3V0KSB7XHJcbiAgICAgICAgbGF5b3V0ID0gY2hpbGQubGF5b3V0O1xyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICByZXR1cm4gbGF5b3V0O1xyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/components/index.js b/npm/ng-packs/dist/core/esm2015/lib/components/index.js deleted file mode 100644 index 1c17b484104..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/components/index.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { DynamicLayoutComponent } from './dynamic-layout.component'; -export { RouterOutletComponent } from './router-outlet.component'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHVDQUFjLDRCQUE0QixDQUFDO0FBQzNDLHNDQUFjLDJCQUEyQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9keW5hbWljLWxheW91dC5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL3JvdXRlci1vdXRsZXQuY29tcG9uZW50JztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/components/router-outlet.component.js b/npm/ng-packs/dist/core/esm2015/lib/components/router-outlet.component.js deleted file mode 100644 index 20bdf55dcef..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/components/router-outlet.component.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/router-outlet.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component } from '@angular/core'; -export class RouterOutletComponent { -} -RouterOutletComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-router-outlet', - template: ` - - ` - }] } -]; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGVyLW91dGxldC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9yb3V0ZXItb3V0bGV0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFRMUMsTUFBTSxPQUFPLHFCQUFxQjs7O1lBTmpDLFNBQVMsU0FBQztnQkFDVCxRQUFRLEVBQUUsbUJBQW1CO2dCQUM3QixRQUFRLEVBQUU7O0dBRVQ7YUFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgc2VsZWN0b3I6ICdhYnAtcm91dGVyLW91dGxldCcsXHJcbiAgdGVtcGxhdGU6IGBcclxuICAgIDxyb3V0ZXItb3V0bGV0Pjwvcm91dGVyLW91dGxldD5cclxuICBgLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgUm91dGVyT3V0bGV0Q29tcG9uZW50IHt9XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/constants/different-locales.js b/npm/ng-packs/dist/core/esm2015/lib/constants/different-locales.js deleted file mode 100644 index d052e26c685..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/constants/different-locales.js +++ /dev/null @@ -1,38 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/different-locales.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -// Different locales from .NET -// Key is .NET locale, value is Angular locale -export default { - 'ar-sa': 'ar-SA', - 'ca-ES-valencia': 'ca-ES-VALENCIA', - 'de-de': 'de', - 'es-ES': 'es', - 'en-US': 'en', - 'fil-Latn': 'en', - 'ku-Arab': 'en', - 'ky-Cyrl': 'en', - 'mi-Latn': 'en', - 'prs-Arab': 'en', - 'qut-Latn': 'en', - nso: 'en', - quz: 'en', - 'fr-FR': 'fr', - 'gd-Latn': 'gd', - 'ha-Latn': 'ha', - 'ig-Latn': 'ig', - 'it-it': 'it', - 'mn-Cyrl': 'mn', - 'pt-BR': 'pt', - 'sd-Arab': 'pa-Arab', - 'sr-Cyrl-RS': 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ICd1Zy1BcmFiJzogJ3VnJyxcclxuICAneW8tTGF0bic6ICd5bycsXHJcbn07XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/constants/index.js b/npm/ng-packs/dist/core/esm2015/lib/constants/index.js deleted file mode 100644 index 915907566d4..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/constants/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { default } from './different-locales'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvY29uc3RhbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsd0JBQWMscUJBQXFCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2RpZmZlcmVudC1sb2NhbGVzJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/constants/locales-mapping.js b/npm/ng-packs/dist/core/esm2015/lib/constants/locales-mapping.js deleted file mode 100644 index 5fc259373f3..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/constants/locales-mapping.js +++ /dev/null @@ -1,37 +0,0 @@ -/** - * @fileoverview added by tsickle - * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -// Different locales from .NET -// Key is .NET locale, value is Angular locale -export default { - 'ar-sa': 'ar-SA', - 'ca-ES-valencia': 'ca-ES-VALENCIA', - 'de-de': 'de', - 'en-US': 'en', - 'es-ES': 'es', - 'fil-Latn': 'en', - 'fr-FR': 'fr', - 'gd-Latn': 'gd', - 'ha-Latn': 'ha', - 'ig-Latn': 'ig', - 'it-it': 'it', - 'ku-Arab': 'en', - 'ky-Cyrl': 'en', - 'mi-Latn': 'en', - 'mn-Cyrl': 'mn', - nso: 'en', - 'prs-Arab': 'en', - 'pt-BR': 'pt', - 'qut-Latn': 'en', - quz: 'en', - 'sd-Arab': 'pa-Arab', - 'sr-Cyrl-RS': 'sr-Cyrl', - 'sr-Latn-RS': 'sr-Latn', - 'tg-Cyrl': 'tg', - 'tk-Latn': 'tk', - 'tt-Cyrl': 'tt', - 'ug-Arab': 'ug', - 'yo-Latn': 'yo', -}; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYWxlcy1tYXBwaW5nLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2NvbnN0YW50cy9sb2NhbGVzLW1hcHBpbmcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBR0EsZUFBZTtJQUNiLE9BQU8sRUFBRSxPQUFPO0lBQ2hCLGdCQUFnQixFQUFFLGdCQUFnQjtJQUNsQyxPQUFPLEVBQUUsSUFBSTtJQUNiLE9BQU8sRUFBRSxJQUFJO0lBQ2IsT0FBTyxFQUFFLElBQUk7SUFDYixVQUFVLEVBQUUsSUFBSTtJQUNoQixPQUFPLEVBQUUsSUFBSTtJQUNiLFNBQVMsRUFBRSxJQUFJO0lBQ2YsU0FBUyxFQUFFLElBQUk7SUFDZixTQUFTLEVBQUUsSUFBSTtJQUNmLE9BQU8sRUFBRSxJQUFJO0lBQ2IsU0FBUyxFQUFFLElBQUk7SUFDZixTQUFTLEVBQUUsSUFBSTtJQUNmLFNBQVMsRUFBRSxJQUFJO0lBQ2YsU0FBUyxFQUFFLElBQUk7SUFDZixHQUFHLEVBQUUsSUFBSTtJQUNULFVBQVUsRUFBRSxJQUFJO0lBQ2hCLE9BQU8sRUFBRSxJQUFJO0lBQ2IsVU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J3NyLUxhdG4nLFxuICAndGctQ3lybCc6ICd0ZycsXG4gICd0ay1MYXRuJzogJ3RrJyxcbiAgJ3R0LUN5cmwnOiAndHQnLFxuICAndWctQXJhYic6ICd1ZycsXG4gICd5by1MYXRuJzogJ3lvJyxcbn07XG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/core.module.js b/npm/ng-packs/dist/core/esm2015/lib/core.module.js deleted file mode 100644 index 13bc02e15f4..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/core.module.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/core.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { CommonModule } from '@angular/common'; -import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; -import { APP_INITIALIZER, Injector, NgModule } from '@angular/core'; -import { FormsModule, ReactiveFormsModule } from '@angular/forms'; -import { RouterModule } from '@angular/router'; -import { NgxsRouterPluginModule } from '@ngxs/router-plugin'; -import { NgxsStoragePluginModule } from '@ngxs/storage-plugin'; -import { NgxsModule, NGXS_PLUGINS } from '@ngxs/store'; -import { OAuthModule } from 'angular-oauth2-oidc'; -import { AbstractNgModelComponent } from './abstracts/ng-model.component'; -import { DynamicLayoutComponent } from './components/dynamic-layout.component'; -import { RouterOutletComponent } from './components/router-outlet.component'; -import { AutofocusDirective } from './directives/autofocus.directive'; -import { InputEventDebounceDirective } from './directives/debounce.directive'; -import { EllipsisDirective } from './directives/ellipsis.directive'; -import { ForDirective } from './directives/for.directive'; -import { FormSubmitDirective } from './directives/form-submit.directive'; -import { PermissionDirective } from './directives/permission.directive'; -import { ClickEventStopPropagationDirective } from './directives/stop-propagation.directive'; -import { VisibilityDirective } from './directives/visibility.directive'; -import { ApiInterceptor } from './interceptors/api.interceptor'; -import { LocalizationPipe } from './pipes/localization.pipe'; -import { SortPipe } from './pipes/sort.pipe'; -import { ConfigPlugin, NGXS_CONFIG_PLUGIN_OPTIONS } from './plugins/config.plugin'; -import { LocaleProvider } from './providers/locale.provider'; -import { ConfigState } from './states/config.state'; -import { ProfileState } from './states/profile.state'; -import { SessionState } from './states/session.state'; -import { getInitialData, localeInitializer } from './utils/initial-utils'; -import './utils/date-extensions'; -export class CoreModule { - /** - * @param {?=} options - * @return {?} - */ - static forRoot(options = (/** @type {?} */ ({}))) { - return { - ngModule: CoreModule, - providers: [ - LocaleProvider, - { - provide: NGXS_PLUGINS, - useClass: ConfigPlugin, - multi: true, - }, - { - provide: NGXS_CONFIG_PLUGIN_OPTIONS, - useValue: options, - }, - { - provide: HTTP_INTERCEPTORS, - useClass: ApiInterceptor, - multi: true, - }, - { - provide: APP_INITIALIZER, - multi: true, - deps: [Injector], - useFactory: getInitialData, - }, - { - provide: APP_INITIALIZER, - multi: true, - deps: [Injector], - useFactory: localeInitializer, - }, - ], - }; - } -} -CoreModule.decorators = [ - { type: NgModule, args: [{ - imports: [ - NgxsModule.forFeature([ProfileState, SessionState, ConfigState]), - NgxsRouterPluginModule.forRoot(), - NgxsStoragePluginModule.forRoot({ key: ['SessionState'] }), - OAuthModule.forRoot(), - CommonModule, - HttpClientModule, - FormsModule, - ReactiveFormsModule, - RouterModule, - ], - declarations: [ - RouterOutletComponent, - DynamicLayoutComponent, - AutofocusDirective, - EllipsisDirective, - ForDirective, - FormSubmitDirective, - LocalizationPipe, - SortPipe, - PermissionDirective, - VisibilityDirective, - InputEventDebounceDirective, - ClickEventStopPropagationDirective, - AbstractNgModelComponent, - ], - exports: [ - CommonModule, - HttpClientModule, - FormsModule, - ReactiveFormsModule, - RouterModule, - RouterOutletComponent, - DynamicLayoutComponent, - AutofocusDirective, - EllipsisDirective, - ForDirective, - FormSubmitDirective, - LocalizationPipe, - SortPipe, - PermissionDirective, - VisibilityDirective, - InputEventDebounceDirective, - LocalizationPipe, - ClickEventStopPropagationDirective, - AbstractNgModelComponent, - ], - providers: [Localization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2NhbGl6YXRpb25QaXBlLFxyXG4gICAgQ2xpY2tFdmVudFN0b3BQcm9wYWdhdGlvbkRpcmVjdGl2ZSxcclxuICAgIEFic3RyYWN0TmdNb2RlbENvbXBvbmVudCxcclxuICBdLFxyXG4gIHByb3ZpZGVyczogW0xvY2FsaXphdGlvblBpcGVdLFxyXG4gIGVudHJ5Q29tcG9uZW50czogW1JvdXRlck91dGxldENvbXBvbmVudCwgRHluYW1pY0xheW91dENvbXBvbmVudF0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBDb3JlTW9kdWxlIHtcclxuICBzdGF0aWMgZm9yUm9vdChvcHRpb25zID0ge30gYXMgQUJQLlJvb3QpOiBNb2R1bGVXaXRoUHJvdmlkZXJzIHtcclxuICAgIHJldHVybiB7XHJcbiAgICAgIG5nTW9kdWxlOiBDb3JlTW9kdWxlLFxyXG4gICAgICBwcm92aWRlcnM6IFtcclxuICAgICAgICBMb2NhbGVQcm92aWRlcixcclxuICAgICAgICB7XHJcbiAgICAgICAgICBwcm92aWRlOiBOR1hTX1BMVUdJTlMsXHJcbiAgICAgICAgICB1c2VDbGFzczogQ29uZmlnUGx1Z2luLFxyXG4gICAgICAgICAgbXVsdGk6IHRydWUsXHJcbiAgICAgICAgfSxcclxuICAgICAgICB7XHJcbiAgICAgICAgICBwcm92aWRlOiBOR1hTX0NPTkZJR19QTFVHSU5fT1BUSU9OUyxcclxuICAgICAgICAgIHVzZVZhbHVlOiBvcHRpb25zLFxyXG4gICAgICAgIH0sXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgcHJvdmlkZTogSFRUUF9JTlRFUkNFUFRPUlMsXHJcbiAgICAgICAgICB1c2VDbGFzczogQXBpSW50ZXJjZXB0b3IsXHJcbiAgICAgICAgICBtdWx0aTogdHJ1ZSxcclxuICAgICAgICB9LFxyXG4gICAgICAgIHtcclxuICAgICAgICAgIHByb3ZpZGU6IEFQUF9JTklUSUFMSVpFUixcclxuICAgICAgICAgIG11bHRpOiB0cnVlLFxyXG4gICAgICAgICAgZGVwczogW0luamVjdG9yXSxcclxuICAgICAgICAgIHVzZUZhY3Rvcnk6IGdldEluaXRpYWxEYXRhLFxyXG4gICAgICAgIH0sXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgcHJvdmlkZTogQVBQX0lOSVRJQUxJWkVSLFxyXG4gICAgICAgICAgbXVsdGk6IHRydWUsXHJcbiAgICAgICAgICBkZXBzOiBbSW5qZWN0b3JdLFxyXG4gICAgICAgICAgdXNlRmFjdG9yeTogbG9jYWxlSW5pdGlhbGl6ZXIsXHJcbiAgICAgICAgfSxcclxuICAgICAgXSxcclxuICAgIH07XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/directives/autofocus.directive.js b/npm/ng-packs/dist/core/esm2015/lib/directives/autofocus.directive.js deleted file mode 100644 index 5b7e73c2c7e..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/directives/autofocus.directive.js +++ /dev/null @@ -1,47 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/autofocus.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Directive, ElementRef, Input } from '@angular/core'; -export class AutofocusDirective { - /** - * @param {?} elRef - */ - constructor(elRef) { - this.elRef = elRef; - this.delay = 0; - } - /** - * @return {?} - */ - ngAfterViewInit() { - setTimeout((/** - * @return {?} - */ - () => this.elRef.nativeElement.focus()), this.delay); - } -} -AutofocusDirective.decorators = [ - { type: Directive, args: [{ - // tslint:disable-next-line: directive-selector - selector: '[autofocus]' - },] } -]; -/** @nocollapse */ -AutofocusDirective.ctorParameters = () => [ - { type: ElementRef } -]; -AutofocusDirective.propDecorators = { - delay: [{ type: Input, args: ['autofocus',] }] -}; -if (false) { - /** @type {?} */ - AutofocusDirective.prototype.delay; - /** - * @type {?} - * @private - */ - AutofocusDirective.prototype.elRef; -} -//# sourceMapp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59KVxyXG5leHBvcnQgY2xhc3MgQXV0b2ZvY3VzRGlyZWN0aXZlIGltcGxlbWVudHMgQWZ0ZXJWaWV3SW5pdCB7XHJcbiAgQElucHV0KCdhdXRvZm9jdXMnKVxyXG4gIGRlbGF5ID0gMDtcclxuXHJcbiAgY29uc3RydWN0b3IocHJpdmF0ZSBlbFJlZjogRWxlbWVudFJlZikge31cclxuXHJcbiAgbmdBZnRlclZpZXdJbml0KCk6IHZvaWQge1xyXG4gICAgc2V0VGltZW91dCgoKSA9PiB0aGlzLmVsUmVmLm5hdGl2ZUVsZW1lbnQuZm9jdXMoKSwgdGhpcy5kZWxheSk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/directives/debounce.directive.js b/npm/ng-packs/dist/core/esm2015/lib/directives/debounce.directive.js deleted file mode 100644 index 142ec8901b7..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/directives/debounce.directive.js +++ /dev/null @@ -1,63 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/debounce.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Directive, ElementRef, EventEmitter, Input, Output } from '@angular/core'; -import { takeUntilDestroy } from '@ngx-validate/core'; -import { fromEvent } from 'rxjs'; -import { debounceTime } from 'rxjs/operators'; -export class InputEventDebounceDirective { - /** - * @param {?} el - */ - constructor(el) { - this.el = el; - this.debounce = 300; - this.debounceEvent = new EventEmitter(); - } - /** - * @return {?} - */ - ngOnInit() { - fromEvent(this.el.nativeElement, 'input') - .pipe(debounceTime(this.debounce), takeUntilDestroy(this)) - .subscribe((/** - * @param {?} event - * @return {?} - */ - (event) => { - this.debounceEvent.emit(event); - })); - } - /** - * @return {?} - */ - ngOnDestroy() { } -} -InputEventDebounceDirective.decorators = [ - { type: Directive, args: [{ - // tslint:disable-next-line: directive-selector - selector: '[input.debounce]', - },] } -]; -/** @nocollapse */ -InputEventDebounceDirective.ctorParameters = () => [ - { type: ElementRef } -]; -InputEventDebounceDirective.propDecorators = { - debounce: [{ type: Input }], - debounceEvent: [{ type: Output, args: ['input.debounce',] }] -}; -if (false) { - /** @type {?} */ - InputEventDebounceDirective.prototype.debounce; - /** @type {?} */ - InputEventDebounceDirective.prototype.debounceEvent; - /** - * @type {?} - * @private - */ - InputEventDebounceDirective.prototype.el; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVib3VuY2UuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2RpcmVjdGl2ZXMvZGVib3VuY2UuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBcUIsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3RHLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ3RELE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDakMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBTTlDLE1BQU0sT0FBTywyQkFBMkI7Ozs7SUFLdEMsWUFBb0IsRUFBYztRQUFkLE9BQUUsR0FBRixFQUFFLENBQVk7UUFKekIsYUFBUSxHQUFHLEdBQUcsQ0FBQztRQUVXLGtCQUFhLEdBQUcsSUFBSSxZQUFZLEVBQVMsQ0FBQztJQUV4QyxDQUFDOzs7O0lBRXRDLFFBQVE7UUFDTixTQUFTLENBQUMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxhQUFhLEVBQUUsT0FBTyxDQUFDO2FBQ3RDLElBQUksQ0FDSCx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5pdCwgT25EZXN0cm95IHtcclxuICBASW5wdXQoKSBkZWJvdW5jZSA9IDMwMDtcclxuXHJcbiAgQE91dHB1dCgnaW5wdXQuZGVib3VuY2UnKSByZWFkb25seSBkZWJvdW5jZUV2ZW50ID0gbmV3IEV2ZW50RW1pdHRlcjxFdmVudD4oKTtcclxuXHJcbiAgY29uc3RydWN0b3IocHJpdmF0ZSBlbDogRWxlbWVudFJlZikge31cclxuXHJcbiAgbmdPbkluaXQoKTogdm9pZCB7XHJcbiAgICBmcm9tRXZlbnQodGhpcy5lbC5uYXRpdmVFbGVtZW50LCAnaW5wdXQnKVxyXG4gICAgICAucGlwZShcclxuICAgICAgICBkZWJvdW5jZVRpbWUodGhpcy5kZWJvdW5jZSksXHJcbiAgICAgICAgdGFrZVVudGlsRGVzdHJveSh0aGlzKSxcclxuICAgICAgKVxyXG4gICAgICAuc3Vic2NyaWJlKChldmVudDogRXZlbnQpID0+IHtcclxuICAgICAgICB0aGlzLmRlYm91bmNlRXZlbnQuZW1pdChldmVudCk7XHJcbiAgICAgIH0pO1xyXG4gIH1cclxuXHJcbiAgbmdPbkRlc3Ryb3koKTogdm9pZCB7fVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/directives/ellipsis.directive.js b/npm/ng-packs/dist/core/esm2015/lib/directives/ellipsis.directive.js deleted file mode 100644 index f2d6786f4a6..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/directives/ellipsis.directive.js +++ /dev/null @@ -1,79 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/ellipsis.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { ChangeDetectorRef, Directive, ElementRef, HostBinding, Input } from '@angular/core'; -export class EllipsisDirective { - /** - * @param {?} cdRef - * @param {?} elRef - */ - constructor(cdRef, elRef) { - this.cdRef = cdRef; - this.elRef = elRef; - this.enabled = true; - } - /** - * @return {?} - */ - get inlineClass() { - return this.enabled && this.width; - } - /** - * @return {?} - */ - get class() { - return this.enabled && !this.width; - } - /** - * @return {?} - */ - get maxWidth() { - return this.enabled && this.width ? this.width || '170px' : undefined; - } - /** - * @return {?} - */ - ngAfterViewInit() { - this.title = this.title || ((/** @type {?} */ (this.elRef.nativeElement))).innerText; - this.cdRef.detectChanges(); - } -} -EllipsisDirective.decorators = [ - { type: Directive, args: [{ - selector: '[abpEllipsis]', - },] } -]; -/** @nocollapse */ -EllipsisDirective.ctorParameters = () => [ - { type: ChangeDetectorRef }, - { type: ElementRef } -]; -EllipsisDirective.propDecorators = { - width: [{ type: Input, args: ['abpEllipsis',] }], - title: [{ type: HostBinding, args: ['title',] }, { type: Input }], - enabled: [{ type: Input, args: ['abpEllipsisEnabled',] }], - inlineClass: [{ type: HostBinding, args: ['class.abp-ellipsis-inline',] }], - class: [{ type: HostBinding, args: ['class.abp-ellipsis',] }], - maxWidth: [{ type: HostBinding, args: ['style.max-width',] }] -}; -if (false) { - /** @type {?} */ - EllipsisDirective.prototype.width; - /** @type {?} */ - EllipsisDirective.prototype.title; - /** @type {?} */ - EllipsisDirective.prototype.enabled; - /** - * @type {?} - * @private - */ - EllipsisDirective.prototype.cdRef; - /** - * @type {?} - * @private - */ - EllipsisDirective.prototype.elRef; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWxsaXBzaXMuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2RpcmVjdGl2ZXMvZWxsaXBzaXMuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFpQixpQkFBaUIsRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFLN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CaW5kaW5nKCdzdHlsZS5tYXgtd2lkdGgnKVxyXG4gIGdldCBtYXhXaWR0aCgpIHtcclxuICAgIHJldHVybiB0aGlzLmVuYWJsZWQgJiYgdGhpcy53aWR0aCA/IHRoaXMud2lkdGggfHwgJzE3MHB4JyA6IHVuZGVmaW5lZDtcclxuICB9XHJcblxyXG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgY2RSZWY6IENoYW5nZURldGVjdG9yUmVmLCBwcml2YXRlIGVsUmVmOiBFbGVtZW50UmVmKSB7fVxyXG5cclxuICBuZ0FmdGVyVmlld0luaXQoKSB7XHJcbiAgICB0aGlzLnRpdGxlID0gdGhpcy50aXRsZSB8fCAodGhpcy5lbFJlZi5uYXRpdmVFbGVtZW50IGFzIEhUTUxFbGVtZW50KS5pbm5lclRleHQ7XHJcbiAgICB0aGlzLmNkUmVmLmRldGVjdENoYW5nZXMoKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/directives/for.directive.js b/npm/ng-packs/dist/core/esm2015/lib/directives/for.directive.js deleted file mode 100644 index e265518678c..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/directives/for.directive.js +++ /dev/null @@ -1,278 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/for.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Directive, Input, IterableDiffers, TemplateRef, ViewContainerRef, } from '@angular/core'; -import compare from 'just-compare'; -import clone from 'just-clone'; -class AbpForContext { - /** - * @param {?} $implicit - * @param {?} index - * @param {?} count - * @param {?} list - */ - constructor($implicit, index, count, list) { - this.$implicit = $implicit; - this.index = index; - this.count = count; - this.list = list; - } -} -if (false) { - /** @type {?} */ - AbpForContext.prototype.$implicit; - /** @type {?} */ - AbpForContext.prototype.index; - /** @type {?} */ - AbpForContext.prototype.count; - /** @type {?} */ - AbpForContext.prototype.list; -} -class RecordView { - /** - * @param {?} record - * @param {?} view - */ - constructor(record, view) { - this.record = record; - this.view = view; - } -} -if (false) { - /** @type {?} */ - RecordView.prototype.record; - /** @type {?} */ - RecordView.prototype.view; -} -export class ForDirective { - /** - * @param {?} tempRef - * @param {?} vcRef - * @param {?} differs - */ - constructor(tempRef, vcRef, differs) { - this.tempRef = tempRef; - this.vcRef = vcRef; - this.differs = differs; - } - /** - * @return {?} - */ - get compareFn() { - return this.compareBy || compare; - } - /** - * @return {?} - */ - get trackByFn() { - return this.trackBy || ((/** - * @param {?} index - * @param {?} item - * @return {?} - */ - (index, item) => ((/** @type {?} */ (item))).id || index)); - } - /** - * @private - * @param {?} changes - * @return {?} - */ - iterateOverAppliedOperations(changes) { - /** @type {?} */ - const rw = []; - changes.forEachOperation((/** - * @param {?} record - * @param {?} previousIndex - * @param {?} currentIndex - * @return {?} - */ - (record, previousIndex, currentIndex) => { - if (record.previousIndex == null) { - /** @type {?} */ - const view = this.vcRef.createEmbeddedView(this.tempRef, new AbpForContext(null, -1, -1, this.items), currentIndex); - rw.push(new RecordView(record, view)); - } - else if (currentIndex == null) { - this.vcRef.remove(previousIndex); - } - else { - /** @type {?} */ - const view = this.vcRef.get(previousIndex); - this.vcRef.move(view, currentIndex); - rw.push(new RecordView(record, (/** @type {?} */ (view)))); - } - })); - for (let i = 0, l = rw.length; i < l; i++) { - rw[i].view.context.$implicit = rw[i].record.item; - } - } - /** - * @private - * @param {?} changes - * @return {?} - */ - iterateOverAttachedViews(changes) { - for (let i = 0, l = this.vcRef.length; i < l; i++) { - /** @type {?} */ - const viewRef = (/** @type {?} */ (this.vcRef.get(i))); - viewRef.context.index = i; - viewRef.context.count = l; - viewRef.context.list = this.items; - } - changes.forEachIdentityChange((/** - * @param {?} record - * @return {?} - */ - (record) => { - /** @type {?} */ - const viewRef = (/** @type {?} */ (this.vcRef.get(record.currentIndex))); - viewRef.context.$implicit = record.item; - })); - } - /** - * @private - * @param {?} items - * @return {?} - */ - projectItems(items) { - if (!items.length && this.emptyRef) { - this.vcRef.clear(); - // tslint:disable-next-line: no-unused-expression - this.vcRef.createEmbeddedView(this.emptyRef).rootNodes; - this.isShowEmptyRef = true; - this.differ = null; - return; - } - if (this.emptyRef && this.isShowEmptyRef) { - this.vcRef.clear(); - this.isShowEmptyRef = false; - } - if (!this.differ && items) { - this.differ = this.differs.find(items).create(this.trackByFn); - } - if (this.differ) { - /** @type {?} */ - const changes = this.differ.diff(items); - if (changes) { - this.iterateOverAppliedOperations(changes); - this.iterateOverAttachedViews(changes); - } - } - } - /** - * @private - * @param {?} items - * @return {?} - */ - sortItems(items) { - if (this.orderBy) { - items.sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - (a, b) => (a[this.orderBy] > b[this.orderBy] ? 1 : a[this.orderBy] < b[this.orderBy] ? -1 : 0))); - } - else { - items.sort(); - } - } - /** - * @return {?} - */ - ngOnChanges() { - /** @type {?} */ - let items = (/** @type {?} */ (clone(this.items))); - if (!Array.isArray(items)) - return; - /** @type {?} */ - const compareFn = this.compareFn; - if (typeof this.filterBy !== 'undefined' && typeof this.filterVal !== 'undefined' && this.filterVal !== '') { - items = items.filter((/** - * @param {?} item - * @return {?} - */ - item => compareFn(item[this.filterBy], this.filterVal))); - } - switch (this.orderDir) { - case 'ASC': - this.sortItems(items); - this.projectItems(items); - break; - case 'DESC': - this.sortItems(items); - items.reverse(); - this.projectItems(items); - break; - default: - this.projectItems(items); - } - } -} -ForDirective.decorators = [ - { type: Directive, args: [{ - selector: '[abpFor]', - },] } -]; -/** @nocollapse */ -ForDirective.ctorParameters = () => [ - { type: TemplateRef }, - { type: ViewContainerRef }, - { type: IterableDiffers } -]; -ForDirective.propDecorators = { - items: [{ type: Input, args: ['abpForOf',] }], - orderBy: [{ type: Input, args: ['abpForOrderBy',] }], - orderDir: [{ type: Input, args: ['abpForOrderDir',] }], - filterBy: [{ type: Input, args: ['abpForFilterBy',] }], - filterVal: [{ type: Input, args: ['abpForFilterVal',] }], - trackBy: [{ type: Input, args: ['abpForTrackBy',] }], - compareBy: [{ type: Input, args: ['abpForCompareBy',] }], - emptyRef: [{ type: Input, args: ['abpForEmptyRef',] }] -}; -if (false) { - /** @type {?} */ - ForDirective.prototype.items; - /** @type {?} */ - ForDirective.prototype.orderBy; - /** @type {?} */ - ForDirective.prototype.orderDir; - /** @type {?} */ - ForDirective.prototype.filterBy; - /** @type {?} */ - ForDirective.prototype.filterVal; - /** @type {?} */ - ForDirective.prototype.trackBy; - /** @type {?} */ - ForDirective.prototype.compareBy; - /** @type {?} */ - ForDirective.prototype.emptyRef; - /** - * @type {?} - * @private - */ - ForDirective.prototype.differ; - /** - * @type {?} - * @private - */ - ForDirective.prototype.isShowEmptyRef; - /** - * @type {?} - * @private - */ - ForDirective.prototype.tempRef; - /** - * @type {?} - * @private - */ - ForDirective.prototype.vcRef; - /** - * @type {?} - * @private - */ - ForDirective.prototype.differs; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9yLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi9kaXJlY3RpdmVzL2Zvci5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUVULEtBQUssRUFJTCxlQUFlLEVBRWYsV0FBVyxFQUVYLGdCQUFnQixHQUNqQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLE9BQU8sTUFBTSxjQUFjLENBQUM7QUFDbkMsT0FBTyxLQUFLLE1BQU0sWUFBWSxDQUFDO0FBSS9CLE1BQU0sYUFBYTs7Ozs7OztJQUNqQixZQUFtQixTQUFjLEVBQVMsS0FBYSxFQUFTLEtBQWEsRUFBUyxJQUFXO1FBQTlFLGNBQVMsR0FBVCxTQUFTLENBQUs7UUFBUyxVQUFLLEdBQUwsS0FBSy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cbiAgICAgICAgdGhpcy5wcm9qZWN0SXRlbXMoaXRlbXMpO1xyXG4gICAgICAgIGJyZWFrO1xyXG5cclxuICAgICAgZGVmYXVsdDpcclxuICAgICAgICB0aGlzLnByb2plY3RJdGVtcyhpdGVtcyk7XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/directives/form-submit.directive.js b/npm/ng-packs/dist/core/esm2015/lib/directives/form-submit.directive.js deleted file mode 100644 index abcc2471106..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/directives/form-submit.directive.js +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/form-submit.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { ChangeDetectorRef, Directive, ElementRef, EventEmitter, Input, Output, Self, } from '@angular/core'; -import { FormGroupDirective } from '@angular/forms'; -import { fromEvent } from 'rxjs'; -import { debounceTime, filter } from 'rxjs/operators'; -import { takeUntilDestroy } from '../utils'; -export class FormSubmitDirective { - /** - * @param {?} formGroupDirective - * @param {?} host - * @param {?} cdRef - */ - constructor(formGroupDirective, host, cdRef) { - this.formGroupDirective = formGroupDirective; - this.host = host; - this.cdRef = cdRef; - this.debounce = 200; - this.ngSubmit = new EventEmitter(); - this.executedNgSubmit = false; - } - /** - * @return {?} - */ - ngOnInit() { - this.formGroupDirective.ngSubmit.pipe(takeUntilDestroy(this)).subscribe((/** - * @return {?} - */ - () => { - this.markAsDirty(); - this.executedNgSubmit = true; - })); - fromEvent((/** @type {?} */ (this.host.nativeElement)), 'keyup') - .pipe(debounceTime(this.debounce), filter((/** - * @param {?} key - * @return {?} - */ - (key) => key && key.key === 'Enter')), takeUntilDestroy(this)) - .subscribe((/** - * @return {?} - */ - () => { - if (!this.executedNgSubmit) { - this.host.nativeElement.dispatchEvent(new Event('submit', { bubbles: true, cancelable: true })); - } - this.executedNgSubmit = false; - })); - } - /** - * @return {?} - */ - ngOnDestroy() { } - /** - * @return {?} - */ - markAsDirty() { - const { form } = this.formGroupDirective; - setDirty((/** @type {?} */ (form.controls))); - form.markAsDirty(); - this.cdRef.detectChanges(); - } -} -FormSubmitDirective.decorators = [ - { type: Directive, args: [{ - // tslint:disable-next-line: directive-selector - selector: 'form[ngSubmit][formGroup]', - },] } -]; -/** @nocollapse */ -FormSubmitDirective.ctorParameters = () => [ - { type: FormGroupDirective, decorators: [{ type: Self }] }, - { type: ElementRef }, - { type: ChangeDetectorRef } -]; -FormSubmitDirective.propDecorators = { - debounce: [{ type: Input }], - notValidateOnSubmit: [{ type: Input }], - ngSubmit: [{ type: Output }] -}; -if (false) { - /** @type {?} */ - FormSubmitDirective.prototype.debounce; - /** @type {?} */ - FormSubmitDirective.prototype.notValidateOnSubmit; - /** @type {?} */ - FormSubmitDirective.prototype.ngSubmit; - /** @type {?} */ - FormSubmitDirective.prototype.executedNgSubmit; - /** - * @type {?} - * @private - */ - FormSubmitDirective.prototype.formGroupDirective; - /** - * @type {?} - * @private - */ - FormSubmitDirective.prototype.host; - /** - * @type {?} - * @private - */ - FormSubmitDirective.prototype.cdRef; -} -/** - * @param {?} controls - * @return {?} - */ -function setDirty(controls) { - if (Array.isArray(controls)) { - controls.forEach((/** - * @param {?} group - * @return {?} - */ - group => { - setDirty((/** @type {?} */ (group.controls))); - })); - return; - } - Object.keys(controls).forEach((/** - * @param {?} key - * @return {?} - */ - key => { - controls[key].markAsDirty(); - controls[key].updateValueAndValidity(); - })); -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1zdWJtaXQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2RpcmVjdGl2ZXMvZm9ybS1zdWJtaXQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpb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zZXREaXJ0eShmb3JtLmNvbnRyb2xzIGFzIHsgW2tleTogc3RyaW5nXTogRm9ybUNvbnRyb2wgfSk7XHJcbiAgICBmb3JtLm1hcmtBc0RpcnR5KCk7XHJcblxyXG4gICAgdGhpcy5jZFJlZi5kZXRlY3RDaGFuZ2VzKCk7XHJcbiAgfVxyXG59XHJcblxyXG5mdW5jdGlvbiBzZXREaXJ0eShjb250cm9sczogQ29udHJvbHMpIHtcclxuICBpZiAoQXJyYXkuaXNBcnJheShjb250cm9scykpIHtcclxuICAgIGNvbnRyb2xzLmZvckVhY2goZ3JvdXAgPT4ge1xyXG4gICAgICBzZXREaXJ0eShncm91cC5jb250cm9scyBhcyB7IFtrZXk6IHN0cmluZ106IEZvcm1Db250cm9sIH0pO1xyXG4gICAgfSk7XHJcbiAgICByZXR1cm47XHJcbiAgfVxyXG5cclxuICBPYmplY3Qua2V5cyhjb250cm9scykuZm9yRWFjaChrZXkgPT4ge1xyXG4gICAgY29udHJvbHNba2V5XS5tYXJrQXNEaXJ0eSgpO1xyXG4gICAgY29udHJvbHNba2V5XS51cGRhdGVWYWx1ZUFuZFZhbGlkaXR5KCk7XHJcbiAgfSk7XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/directives/index.js b/npm/ng-packs/dist/core/esm2015/lib/directives/index.js deleted file mode 100644 index 87f9876fc36..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/directives/index.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { AutofocusDirective } from './autofocus.directive'; -export { EllipsisDirective } from './ellipsis.directive'; -export { ForDirective } from './for.directive'; -export { FormSubmitDirective } from './form-submit.directive'; -export { PermissionDirective } from './permission.directive'; -export { VisibilityDirective } from './visibility.directive'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvZGlyZWN0aXZlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLG1DQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGtDQUFjLHNCQUFzQixDQUFDO0FBQ3JDLDZCQUFjLGlCQUFpQixDQUFDO0FBQ2hDLG9DQUFjLHlCQUF5QixDQUFDO0FBQ3hDLG9DQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLG9DQUFjLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hdXRvZm9jdXMuZGlyZWN0aXZlJztcclxuZXhwb3J0ICogZnJvbSAnLi9lbGxpcHNpcy5kaXJlY3RpdmUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2Zvci5kaXJlY3RpdmUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2Zvcm0tc3VibWl0LmRpcmVjdGl2ZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vcGVybWlzc2lvbi5kaXJlY3RpdmUnO1xyXG5leHBvcnQgKiBmcm9tICcuL3Zpc2liaWxpdHkuZGlyZWN0aXZlJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/directives/permission.directive.js b/npm/ng-packs/dist/core/esm2015/lib/directives/permission.directive.js deleted file mode 100644 index daf843b1740..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/directives/permission.directive.js +++ /dev/null @@ -1,122 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/permission.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Directive, ElementRef, Input, Renderer2, ViewContainerRef, TemplateRef, Optional, } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { ConfigState } from '../states'; -import { takeUntilDestroy } from '../utils'; -export class PermissionDirective { - /** - * @param {?} elRef - * @param {?} renderer - * @param {?} store - * @param {?} templateRef - * @param {?} vcRef - */ - constructor(elRef, renderer, store, templateRef, vcRef) { - this.elRef = elRef; - this.renderer = renderer; - this.store = store; - this.templateRef = templateRef; - this.vcRef = vcRef; - } - /** - * @private - * @return {?} - */ - check() { - if (this.subscription) { - this.subscription.unsubscribe(); - } - this.subscription = this.store - .select(ConfigState.getGrantedPolicy(this.condition)) - .pipe(takeUntilDestroy(this)) - .subscribe((/** - * @param {?} isGranted - * @return {?} - */ - isGranted => { - if (this.templateRef && isGranted) { - this.vcRef.clear(); - this.vcRef.createEmbeddedView(this.templateRef); - } - else if (this.templateRef && !isGranted) { - this.vcRef.clear(); - } - else if (!isGranted && !this.templateRef) { - this.renderer.removeChild(((/** @type {?} */ (this.elRef.nativeElement))).parentElement, this.elRef.nativeElement); - } - })); - } - /** - * @return {?} - */ - ngOnInit() { - if (this.templateRef && !this.condition) { - this.vcRef.createEmbeddedView(this.templateRef); - } - } - /** - * @return {?} - */ - ngOnDestroy() { } - /** - * @param {?} __0 - * @return {?} - */ - ngOnChanges({ condition }) { - if ((condition || { currentValue: null }).currentValue) { - this.check(); - } - } -} -PermissionDirective.decorators = [ - { type: Directive, args: [{ - selector: '[abpPermission]', - },] } -]; -/** @nocollapse */ -PermissionDirective.ctorParameters = () => [ - { type: ElementRef }, - { type: Renderer2 }, - { type: Store }, - { type: TemplateRef, decorators: [{ type: Optional }] }, - { type: ViewContainerRef } -]; -PermissionDirective.propDecorators = { - condition: [{ type: Input, args: ['abpPermission',] }] -}; -if (false) { - /** @type {?} */ - PermissionDirective.prototype.condition; - /** @type {?} */ - PermissionDirective.prototype.subscription; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.elRef; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.renderer; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.store; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.templateRef; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.vcRef; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvZGlyZWN0aXZlcy9wZXJtaXNzaW9uLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsVUFBVSxFQUNWLEtBQUssRUFHTCxTQUFTLEVBQ1QsZ0JBQWdCLEVBQ2hCLFdBQVcsRUFDWCxRQUFRLEdBR1QsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUNwQyxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sV0FBVyxDQUFDO0FBQ3hDLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQU01QyxNQUFNLE9BQU8sbUJBQW1COzs7Ozs7OztJQUs5QixZQUNVLEtBQWlCLEVBQ2pCLFFBQW1CLEVBQ25CLEtBQVksRUFDQSxXQUE2QixFQUN6QyxLQUF1QjtRQUp2QixVQUFLLEdBQUwsS0FBSyxDQUFZO1FBQ2pCLGFBQVEsR0FBUixRQUFRLENBQVc7UUFDbkIsVUFBSyxHQUFMLEtBQUssQ0FBTztRQUNBLGdCQUFXLEdBQVgsV0FBVyxDQUFrQjtRQUN6QyxVQUFLLEdBQUwsS0FBSyxDQUFrQjtJQUM5QixDQUFDOzs7OztJQUVJLEtBQUs7UUFDWCxJQUFJLElBQUksQ0FBQyxZQUFZLEVBQUU7WUFDckIsSUFBSSxDQUFDLFlBQVksQ0FBQyxXQUFXLEVBQUUsQ0FBQztTQUNq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VtcGxhdGVSZWYgJiYgaXNHcmFudGVkKSB7XHJcbiAgICAgICAgICB0aGlzLnZjUmVmLmNsZWFyKCk7XHJcbiAgICAgICAgICB0aGlzLnZjUmVmLmNyZWF0ZUVtYmVkZGVkVmlldyh0aGlzLnRlbXBsYXRlUmVmKTtcclxuICAgICAgICB9IGVsc2UgaWYgKHRoaXMudGVtcGxhdGVSZWYgJiYgIWlzR3JhbnRlZCkge1xyXG4gICAgICAgICAgdGhpcy52Y1JlZi5jbGVhcigpO1xyXG4gICAgICAgIH0gZWxzZSBpZiAoIWlzR3JhbnRlZCAmJiAhdGhpcy50ZW1wbGF0ZVJlZikge1xyXG4gICAgICAgICAgdGhpcy5yZW5kZXJlci5yZW1vdmVDaGlsZCgodGhpcy5lbFJlZi5uYXRpdmVFbGVtZW50IGFzIEhUTUxFbGVtZW50KS5wYXJlbnRFbGVtZW50LCB0aGlzLmVsUmVmLm5hdGl2ZUVsZW1lbnQpO1xyXG4gICAgICAgIH1cclxuICAgICAgfSk7XHJcbiAgfVxyXG5cclxuICBuZ09uSW5pdCgpIHtcclxuICAgIGlmICh0aGlzLnRlbXBsYXRlUmVmICYmICF0aGlzLmNvbmRpdGlvbikge1xyXG4gICAgICB0aGlzLnZjUmVmLmNyZWF0ZUVtYmVkZGVkVmlldyh0aGlzLnRlbXBsYXRlUmVmKTtcclxuICAgIH1cclxuICB9XHJcblxyXG4gIG5nT25EZXN0cm95KCk6IHZvaWQge31cclxuXHJcbiAgbmdPbkNoYW5nZXMoeyBjb25kaXRpb24gfTogU2ltcGxlQ2hhbmdlcykge1xyXG4gICAgaWYgKChjb25kaXRpb24gfHwgeyBjdXJyZW50VmFsdWU6IG51bGwgfSkuY3VycmVudFZhbHVlKSB7XHJcbiAgICAgIHRoaXMuY2hlY2soKTtcclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/directives/stop-propagation.directive.js b/npm/ng-packs/dist/core/esm2015/lib/directives/stop-propagation.directive.js deleted file mode 100644 index a94fc8f3831..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/directives/stop-propagation.directive.js +++ /dev/null @@ -1,59 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/stop-propagation.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Directive, ElementRef, EventEmitter, Output } from '@angular/core'; -import { fromEvent } from 'rxjs'; -import { takeUntilDestroy } from '../utils/rxjs-utils'; -export class ClickEventStopPropagationDirective { - /** - * @param {?} el - */ - constructor(el) { - this.el = el; - this.stopPropEvent = new EventEmitter(); - } - /** - * @return {?} - */ - ngOnInit() { - fromEvent(this.el.nativeElement, 'click') - .pipe(takeUntilDestroy(this)) - .subscribe((/** - * @param {?} event - * @return {?} - */ - (event) => { - event.stopPropagation(); - this.stopPropEvent.emit(event); - })); - } - /** - * @return {?} - */ - ngOnDestroy() { } -} -ClickEventStopPropagationDirective.decorators = [ - { type: Directive, args: [{ - // tslint:disable-next-line: directive-selector - selector: '[click.stop]', - },] } -]; -/** @nocollapse */ -ClickEventStopPropagationDirective.ctorParameters = () => [ - { type: ElementRef } -]; -ClickEventStopPropagationDirective.propDecorators = { - stopPropEvent: [{ type: Output, args: ['click.stop',] }] -}; -if (false) { - /** @type {?} */ - ClickEventStopPropagationDirective.prototype.stopPropEvent; - /** - * @type {?} - * @private - */ - ClickEventStopPropagationDirective.prototype.el; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvcC1wcm9wYWdhdGlvbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvZGlyZWN0aXZlcy9zdG9wLXByb3BhZ2F0aW9uLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQU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hci9jb3JlJztcclxuaW1wb3J0IHsgZnJvbUV2ZW50IH0gZnJvbSAncnhqcyc7XHJcbmltcG9ydCB7IHRha2VVbnRpbERlc3Ryb3kgfSBmcm9tICcuLi91dGlscy9yeGpzLXV0aWxzJztcclxuXHJcbkBEaXJlY3RpdmUoe1xyXG4gIC8vIHRzbGludDpkaXNhYmxlLW5leHQtbGluZTogZGlyZWN0aXZlLXNlbGVjdG9yXHJcbiAgc2VsZWN0b3I6ICdbY2xpY2suc3RvcF0nLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQ2xpY2tFdmVudFN0b3BQcm9wYWdhdGlvbkRpcmVjdGl2ZSBpbXBsZW1lbnRzIE9uSW5pdCwgT25EZXN0cm95IHtcclxuICBAT3V0cHV0KCdjbGljay5zdG9wJykgcmVhZG9ubHkgc3RvcFByb3BFdmVudCA9IG5ldyBFdmVudEVtaXR0ZXI8TW91c2VFdmVudD4oKTtcclxuXHJcbiAgY29uc3RydWN0b3IocHJpdmF0ZSBlbDogRWxlbWVudFJlZikge31cclxuXHJcbiAgbmdPbkluaXQoKTogdm9pZCB7XHJcbiAgICBmcm9tRXZlbnQodGhpcy5lbC5uYXRpdmVFbGVtZW50LCAnY2xpY2snKVxyXG4gICAgICAucGlwZSh0YWtlVW50aWxEZXN0cm95KHRoaXMpKVxyXG4gICAgICAuc3Vic2NyaWJlKChldmVudDogTW91c2VFdmVudCkgPT4ge1xyXG4gICAgICAgIGV2ZW50LnN0b3BQcm9wYWdhdGlvbigpO1xyXG4gICAgICAgIHRoaXMuc3RvcFByb3BFdmVudC5lbWl0KGV2ZW50KTtcclxuICAgICAgfSk7XHJcbiAgfVxyXG5cclxuICBuZ09uRGVzdHJveSgpOiB2b2lkIHt9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/directives/table-sort.directive.js b/npm/ng-packs/dist/core/esm2015/lib/directives/table-sort.directive.js deleted file mode 100644 index 2e70b1689ca..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/directives/table-sort.directive.js +++ /dev/null @@ -1,76 +0,0 @@ -/** - * @fileoverview added by tsickle - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Directive, Input, Optional, Self } from '@angular/core'; -import { Table } from 'primeng/table'; -import { SortPipe } from '../pipes/sort.pipe'; -import clone from 'just-clone'; -/** - * @record - */ -export function TableSortOptions() {} -if (false) { - /** @type {?} */ - TableSortOptions.prototype.key; - /** @type {?} */ - TableSortOptions.prototype.order; -} -export class TableSortDirective { - /** - * @param {?} table - * @param {?} sortPipe - */ - constructor(table, sortPipe) { - this.table = table; - this.sortPipe = sortPipe; - this.value = []; - } - /** - * @param {?} __0 - * @return {?} - */ - ngOnChanges({ value, abpTableSort }) { - if (value || abpTableSort) { - this.abpTableSort = this.abpTableSort || /** @type {?} */ ({}); - this.table.value = this.sortPipe.transform(clone(this.value), this.abpTableSort.order, this.abpTableSort.key); - } - } -} -TableSortDirective.decorators = [ - { - type: Directive, - args: [ - { - selector: '[abpTableSort]', - providers: [SortPipe], - }, - ], - }, -]; -/** @nocollapse */ -TableSortDirective.ctorParameters = () => [ - { type: Table, decorators: [{ type: Optional }, { type: Self }] }, - { type: SortPipe }, -]; -TableSortDirective.propDecorators = { - abpTableSort: [{ type: Input }], - value: [{ type: Input }], -}; -if (false) { - /** @type {?} */ - TableSortDirective.prototype.abpTableSort; - /** @type {?} */ - TableSortDirective.prototype.value; - /** - * @type {?} - * @private - */ - TableSortDirective.prototype.table; - /** - * @type {?} - * @private - */ - TableSortDirective.prototype.sortPipe; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtc29ydC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvZGlyZWN0aXZlcy90YWJsZS1zb3J0LmRpcmVjdGl2ZS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NoYW5nZXMoeyB2YWx1ZSwgYWJwVGFibGVTb3J0IH06IFNpbXBsZUNoYW5nZXMpIHtcbiAgICBpZiAodmFsdWUgfHwgYWJwVGFibGVTb3J0KSB7XG4gICAgICB0aGlzLmFicFRhYmxlU29ydCA9IHRoaXMuYWJwVGFibGVTb3J0IHx8ICh7fSBhcyBUYWJsZVNvcnRPcHRpb25zKTtcbiAgICAgIHRoaXMudGFibGUudmFsdWUgPSB0aGlzLnNvcnRQaXBlLnRyYW5zZm9ybShjbG9uZSh0aGlzLnZhbHVlKSwgdGhpcy5hYnBUYWJsZVNvcnQub3JkZXIsIHRoaXMuYWJwVGFibGVTb3J0LmtleSk7XG4gICAgfVxuICB9XG59XG4iXX0= diff --git a/npm/ng-packs/dist/core/esm2015/lib/directives/visibility.directive.js b/npm/ng-packs/dist/core/esm2015/lib/directives/visibility.directive.js deleted file mode 100644 index 780cab54f5c..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/directives/visibility.directive.js +++ /dev/null @@ -1,124 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/visibility.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Directive, Input, Optional, ElementRef, Renderer2 } from '@angular/core'; -import { Subject } from 'rxjs'; -import snq from 'snq'; -export class VisibilityDirective { - /** - * @param {?} elRef - * @param {?} renderer - */ - constructor(elRef, renderer) { - this.elRef = elRef; - this.renderer = renderer; - this.completed$ = new Subject(); - } - /** - * @return {?} - */ - ngAfterViewInit() { - if (!this.focusedElement && this.elRef) { - this.focusedElement = this.elRef.nativeElement; - } - /** @type {?} */ - let observer; - observer = new MutationObserver((/** - * @param {?} mutations - * @return {?} - */ - mutations => { - mutations.forEach((/** - * @param {?} mutation - * @return {?} - */ - mutation => { - if (!mutation.target) - return; - /** @type {?} */ - const htmlNodes = snq((/** - * @return {?} - */ - () => Array.from(mutation.target.childNodes).filter((/** - * @param {?} node - * @return {?} - */ - node => node instanceof HTMLElement))), []); - if (!htmlNodes.length) { - this.removeFromDOM(); - } - })); - })); - observer.observe(this.focusedElement, { - childList: true, - }); - setTimeout((/** - * @return {?} - */ - () => { - /** @type {?} */ - const htmlNodes = snq((/** - * @return {?} - */ - () => Array.from(this.focusedElement.childNodes).filter((/** - * @param {?} node - * @return {?} - */ - node => node instanceof HTMLElement))), []); - if (!htmlNodes.length) - this.removeFromDOM(); - }), 0); - this.completed$.subscribe((/** - * @return {?} - */ - () => observer.disconnect())); - } - /** - * @return {?} - */ - disconnect() { - this.completed$.next(); - this.completed$.complete(); - } - /** - * @return {?} - */ - removeFromDOM() { - if (!this.elRef.nativeElement) - return; - this.renderer.removeChild(this.elRef.nativeElement.parentElement, this.elRef.nativeElement); - this.disconnect(); - } -} -VisibilityDirective.decorators = [ - { type: Directive, args: [{ - selector: '[abpVisibility]', - },] } -]; -/** @nocollapse */ -VisibilityDirective.ctorParameters = () => [ - { type: ElementRef, decorators: [{ type: Optional }] }, - { type: Renderer2 } -]; -VisibilityDirective.propDecorators = { - focusedElement: [{ type: Input, args: ['abpVisibility',] }] -}; -if (false) { - /** @type {?} */ - VisibilityDirective.prototype.focusedElement; - /** @type {?} */ - VisibilityDirective.prototype.completed$; - /** - * @type {?} - * @private - */ - VisibilityDirective.prototype.elRef; - /** - * @type {?} - * @private - */ - VisibilityDirective.prototype.renderer; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlzaWJpbGl0eS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvZGlyZWN0aXZlcy92aXNpYmlsaXR5LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLFFBQVEsRUFBRSxVQUFVLEVBQUUsU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LnJlbW92ZUZyb21ET00oKTtcclxuICAgIH0sIDApO1xyXG5cclxuICAgIHRoaXMuY29tcGxldGVkJC5zdWJzY3JpYmUoKCkgPT4gb2JzZXJ2ZXIuZGlzY29ubmVjdCgpKTtcclxuICB9XHJcblxyXG4gIGRpc2Nvbm5lY3QoKSB7XHJcbiAgICB0aGlzLmNvbXBsZXRlZCQubmV4dCgpO1xyXG4gICAgdGhpcy5jb21wbGV0ZWQkLmNvbXBsZXRlKCk7XHJcbiAgfVxyXG5cclxuICByZW1vdmVGcm9tRE9NKCkge1xyXG4gICAgaWYgKCF0aGlzLmVsUmVmLm5hdGl2ZUVsZW1lbnQpIHJldHVybjtcclxuXHJcbiAgICB0aGlzLnJlbmRlcmVyLnJlbW92ZUNoaWxkKHRoaXMuZWxSZWYubmF0aXZlRWxlbWVudC5wYXJlbnRFbGVtZW50LCB0aGlzLmVsUmVmLm5hdGl2ZUVsZW1lbnQpO1xyXG4gICAgdGhpcy5kaXNjb25uZWN0KCk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/enums/common.js b/npm/ng-packs/dist/core/esm2015/lib/enums/common.js deleted file mode 100644 index 13ed8672bd3..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/enums/common.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/enums/common.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @enum {string} */ -const eLayoutType = { - account: "account", - application: "application", - empty: "empty", - /** - * @deprecated since version 0.9.0 - */ - setting: "setting", -}; -export { eLayoutType }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2VudW1zL2NvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxNQUFrQixXQUFXO0lBQzNCLE9BQU8sV0FBWTtJQUNuQixXQUFXLGVBQWdCO0lBQzNCLEtBQUssU0FBVTtJQUNmOztPQUVHO0lBQ0gsT0FBTyxXQUFZO0VBQ3BCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNvbnN0IGVudW0gZUxheW91dFR5cGUge1xyXG4gIGFjY291bnQgPSAnYWNjb3VudCcsXHJcbiAgYXBwbGljYXRpb24gPSAnYXBwbGljYXRpb24nLFxyXG4gIGVtcHR5ID0gJ2VtcHR5JyxcclxuICAvKipcclxuICAgKiBAZGVwcmVjYXRlZCBzaW5jZSB2ZXJzaW9uIDAuOS4wXHJcbiAgICovXHJcbiAgc2V0dGluZyA9ICdzZXR0aW5nJyxcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/enums/index.js b/npm/ng-packs/dist/core/esm2015/lib/enums/index.js deleted file mode 100644 index c54af2756d9..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/enums/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/enums/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export {} from './common'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvZW51bXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxlQUFjLFVBQVUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29tbW9uJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/guards/auth.guard.js b/npm/ng-packs/dist/core/esm2015/lib/guards/auth.guard.js deleted file mode 100644 index ce2b004a9e5..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/guards/auth.guard.js +++ /dev/null @@ -1,58 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/guards/auth.guard.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { Router } from '@angular/router'; -import { OAuthService } from 'angular-oauth2-oidc'; -import * as i0 from "@angular/core"; -import * as i1 from "angular-oauth2-oidc"; -import * as i2 from "@angular/router"; -export class AuthGuard { - /** - * @param {?} oauthService - * @param {?} router - */ - constructor(oauthService, router) { - this.oauthService = oauthService; - this.router = router; - } - /** - * @param {?} _ - * @param {?} state - * @return {?} - */ - canActivate(_, state) { - /** @type {?} */ - const hasValidAccessToken = this.oauthService.hasValidAccessToken(); - if (hasValidAccessToken) { - return hasValidAccessToken; - } - return this.router.createUrlTree(['/account/login'], { state: { redirectUrl: state.url } }); - } -} -AuthGuard.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -AuthGuard.ctorParameters = () => [ - { type: OAuthService }, - { type: Router } -]; -/** @nocollapse */ AuthGuard.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function AuthGuard_Factory() { return new AuthGuard(i0.ɵɵinject(i1.OAuthService), i0.ɵɵinject(i2.Router)); }, token: AuthGuard, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - AuthGuard.prototype.oauthService; - /** - * @type {?} - * @private - */ - AuthGuard.prototype.router; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5ndWFyZC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi9ndWFyZHMvYXV0aC5ndWFyZC50cyJdLCJuYW1lcyI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F0ZVNuYXBzaG90LCBVcmxUcmVlIH0gZnJvbSAnQGFuZ3VsYXIvcm91dGVyJztcclxuaW1wb3J0IHsgT0F1dGhTZXJ2aWNlIH0gZnJvbSAnYW5ndWxhci1vYXV0aDItb2lkYyc7XHJcbmltcG9ydCB7IE9ic2VydmFibGUgfSBmcm9tICdyeGpzJztcclxuXHJcbkBJbmplY3RhYmxlKHtcclxuICBwcm92aWRlZEluOiAncm9vdCcsXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBBdXRoR3VhcmQgaW1wbGVtZW50cyBDYW5BY3RpdmF0ZSB7XHJcbiAgY29uc3RydWN0b3IocHJpdmF0ZSBvYXV0aFNlcnZpY2U6IE9BdXRoU2VydmljZSwgcHJpdmF0ZSByb3V0ZXI6IFJvdXRlcikge31cclxuXHJcbiAgY2FuQWN0aXZhdGUoXzogQWN0aXZhdGVkUm91dGVTbmFwc2hvdCwgc3RhdGU6IFJvdXRlclN0YXRlU25hcHNob3QpOiBPYnNlcnZhYmxlPGJvb2xlYW4+IHwgYm9vbGVhbiB8IFVybFRyZWUge1xyXG4gICAgY29uc3QgaGFzVmFsaWRBY2Nlc3NUb2tlbiA9IHRoaXMub2F1dGhTZXJ2aWNlLmhhc1ZhbGlkQWNjZXNzVG9rZW4oKTtcclxuICAgIGlmIChoYXNWYWxpZEFjY2Vzc1Rva2VuKSB7XHJcbiAgICAgIHJldHVybiBoYXNWYWxpZEFjY2Vzc1Rva2VuO1xyXG4gICAgfVxyXG5cclxuICAgIHJldHVybiB0aGlzLnJvdXRlci5jcmVhdGVVcmxUcmVlKFsnL2FjY291bnQvbG9naW4nXSwgeyBzdGF0ZTogeyByZWRpcmVjdFVybDogc3RhdGUudXJsIH0gfSk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/guards/index.js b/npm/ng-packs/dist/core/esm2015/lib/guards/index.js deleted file mode 100644 index 91ea4a4a6b4..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/guards/index.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/guards/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { AuthGuard } from './auth.guard'; -export { PermissionGuard } from './permission.guard'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvZ3VhcmRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsMEJBQWMsY0FBYyxDQUFDO0FBQzdCLGdDQUFjLG9CQUFvQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hdXRoLmd1YXJkJztcclxuZXhwb3J0ICogZnJvbSAnLi9wZXJtaXNzaW9uLmd1YXJkJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/guards/permission.guard.js b/npm/ng-packs/dist/core/esm2015/lib/guards/permission.guard.js deleted file mode 100644 index c5b9d6799ec..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/guards/permission.guard.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/guards/permission.guard.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { tap } from 'rxjs/operators'; -import snq from 'snq'; -import { RestOccurError } from '../actions'; -import { ConfigState } from '../states'; -import * as i0 from "@angular/core"; -import * as i1 from "@ngxs/store"; -export class PermissionGuard { - /** - * @param {?} store - */ - constructor(store) { - this.store = store; - } - /** - * @param {?} route - * @param {?} state - * @return {?} - */ - canActivate(route, state) { - /** @type {?} */ - let resource = snq((/** - * @return {?} - */ - () => route.data.routes.requiredPolicy)) || snq((/** - * @return {?} - */ - () => (/** @type {?} */ (route.data.requiredPolicy)))); - if (!resource) { - resource = snq((/** - * @return {?} - */ - () => route.routeConfig.children.find((/** - * @param {?} child - * @return {?} - */ - child => state.url.indexOf(child.path) > -1)).data.requiredPolicy)); - } - return this.store.select(ConfigState.getGrantedPolicy(resource)).pipe(tap((/** - * @param {?} access - * @return {?} - */ - access => { - if (!access) { - this.store.dispatch(new RestOccurError({ status: 403 })); - } - }))); - } -} -PermissionGuard.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -PermissionGuard.ctorParameters = () => [ - { type: Store } -]; -/** @nocollapse */ PermissionGuard.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function PermissionGuard_Factory() { return new PermissionGuard(i0.ɵɵinject(i1.Store)); }, token: PermissionGuard, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - PermissionGuard.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi5ndWFyZC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi9ndWFyZHMvcGVybWlzc2lvbi5ndWFyZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFM0MsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUVwQyxPQUFPLEVBQUUsR0FBRyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDckMsT0FBTyxHQUFHLE1BQU0sS0FBSyxDQUFDO0FBQ3RCLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxZQUFZLENBQUM7QUFDNUMsT0FBTyxFQUFFLFdBQ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LnJlcXVpcmVkUG9saWN5KSB8fCBzbnEoKCkgPT4gcm91dGUuZGF0YS5yZXF1aXJlZFBvbGljeSBhcyBzdHJpbmcpO1xyXG4gICAgaWYgKCFyZXNvdXJjZSkge1xyXG4gICAgICByZXNvdXJjZSA9IHNucShcclxuICAgICAgICAoKSA9PiByb3V0ZS5yb3V0ZUNvbmZpZy5jaGlsZHJlbi5maW5kKGNoaWxkID0+IHN0YXRlLnVybC5pbmRleE9mKGNoaWxkLnBhdGgpID4gLTEpLmRhdGEucmVxdWlyZWRQb2xpY3ksXHJcbiAgICAgICk7XHJcbiAgICB9XHJcblxyXG4gICAgcmV0dXJuIHRoaXMuc3RvcmUuc2VsZWN0KENvbmZpZ1N0YXRlLmdldEdyYW50ZWRQb2xpY3kocmVzb3VyY2UpKS5waXBlKFxyXG4gICAgICB0YXAoYWNjZXNzID0+IHtcclxuICAgICAgICBpZiAoIWFjY2Vzcykge1xyXG4gICAgICAgICAgdGhpcy5zdG9yZS5kaXNwYXRjaChuZXcgUmVzdE9jY3VyRXJyb3IoeyBzdGF0dXM6IDQwMyB9KSk7XHJcbiAgICAgICAgfVxyXG4gICAgICB9KSxcclxuICAgICk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/interceptors/api.interceptor.js b/npm/ng-packs/dist/core/esm2015/lib/interceptors/api.interceptor.js deleted file mode 100644 index 052c7f81850..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/interceptors/api.interceptor.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/interceptors/api.interceptor.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { OAuthService } from 'angular-oauth2-oidc'; -import { Store } from '@ngxs/store'; -import { SessionState } from '../states'; -import { StartLoader, StopLoader } from '../actions/loader.actions'; -import { finalize } from 'rxjs/operators'; -export class ApiInterceptor { - /** - * @param {?} oAuthService - * @param {?} store - */ - constructor(oAuthService, store) { - this.oAuthService = oAuthService; - this.store = store; - } - /** - * @param {?} request - * @param {?} next - * @return {?} - */ - intercept(request, next) { - this.store.dispatch(new StartLoader(request)); - /** @type {?} */ - const headers = (/** @type {?} */ ({})); - /** @type {?} */ - const token = this.oAuthService.getAccessToken(); - if (!request.headers.has('Authorization') && token) { - headers['Authorization'] = `Bearer ${token}`; - } - /** @type {?} */ - const lang = this.store.selectSnapshot(SessionState.getLanguage); - if (!request.headers.has('Accept-Language') && lang) { - headers['Accept-Language'] = lang; - } - /** @type {?} */ - const tenant = this.store.selectSnapshot(SessionState.getTenant); - if (!request.headers.has('__tenant') && tenant) { - headers['__tenant'] = tenant.id; - } - return next - .handle(request.clone({ - setHeaders: headers, - })) - .pipe(finalize((/** - * @return {?} - */ - () => this.store.dispatch(new StopLoader(request))))); - } -} -ApiInterceptor.decorators = [ - { type: Injectable } -]; -/** @nocollapse */ -ApiInterceptor.ctorParameters = () => [ - { type: OAuthService }, - { type: Store } -]; -if (false) { - /** - * @type {?} - * @private - */ - ApiInterceptor.prototype.oAuthService; - /** - * @type {?} - * @private - */ - ApiInterceptor.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmludGVyY2VwdG9yLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2ludGVyY2VwdG9ycy9hcGkuaW50ZXJjZXB0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTNDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUNuRCxPQUFPLEVBQUUsS0FBSyxFQUFFLE1BQU0sYUFBYSxDQUFDO0F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uc3RvcmUuc2VsZWN0U25hcHNob3QoU2Vzc2lvblN0YXRlLmdldFRlbmFudCk7XHJcbiAgICBpZiAoIXJlcXVlc3QuaGVhZGVycy5oYXMoJ19fdGVuYW50JykgJiYgdGVuYW50KSB7XHJcbiAgICAgIGhlYWRlcnNbJ19fdGVuYW50J10gPSB0ZW5hbnQuaWQ7XHJcbiAgICB9XHJcblxyXG4gICAgcmV0dXJuIG5leHRcclxuICAgICAgLmhhbmRsZShcclxuICAgICAgICByZXF1ZXN0LmNsb25lKHtcclxuICAgICAgICAgIHNldEhlYWRlcnM6IGhlYWRlcnMsXHJcbiAgICAgICAgfSksXHJcbiAgICAgIClcclxuICAgICAgLnBpcGUoZmluYWxpemUoKCkgPT4gdGhpcy5zdG9yZS5kaXNwYXRjaChuZXcgU3RvcExvYWRlcihyZXF1ZXN0KSkpKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/interceptors/index.js b/npm/ng-packs/dist/core/esm2015/lib/interceptors/index.js deleted file mode 100644 index 150d83108d2..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/interceptors/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/interceptors/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { ApiInterceptor } from './api.interceptor'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvaW50ZXJjZXB0b3JzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsK0JBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2FwaS5pbnRlcmNlcHRvcic7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/models/application-configuration.js b/npm/ng-packs/dist/core/esm2015/lib/models/application-configuration.js deleted file mode 100644 index fc3a598223e..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/models/application-configuration.js +++ /dev/null @@ -1,97 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/application-configuration.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var ApplicationConfiguration; -(function (ApplicationConfiguration) { - /** - * @record - */ - function Response() { } - ApplicationConfiguration.Response = Response; - if (false) { - /** @type {?} */ - Response.prototype.localization; - /** @type {?} */ - Response.prototype.auth; - /** @type {?} */ - Response.prototype.setting; - /** @type {?} */ - Response.prototype.currentUser; - /** @type {?} */ - Response.prototype.features; - } - /** - * @record - */ - function Localization() { } - ApplicationConfiguration.Localization = Localization; - if (false) { - /** @type {?} */ - Localization.prototype.values; - /** @type {?} */ - Localization.prototype.languages; - } - /** - * @record - */ - function LocalizationValue() { } - ApplicationConfiguration.LocalizationValue = LocalizationValue; - /** - * @record - */ - function Language() { } - ApplicationConfiguration.Language = Language; - if (false) { - /** @type {?} */ - Language.prototype.cultureName; - /** @type {?} */ - Language.prototype.uiCultureName; - /** @type {?} */ - Language.prototype.displayName; - /** @type {?} */ - Language.prototype.flagIcon; - } - /** - * @record - */ - function Auth() { } - ApplicationConfiguration.Auth = Auth; - if (false) { - /** @type {?} */ - Auth.prototype.policies; - /** @type {?} */ - Auth.prototype.grantedPolicies; - } - /** - * @record - */ - function Policy() { } - ApplicationConfiguration.Policy = Policy; - /** - * @record - */ - function Value() { } - ApplicationConfiguration.Value = Value; - if (false) { - /** @type {?} */ - Value.prototype.values; - } - /** - * @record - */ - function CurrentUser() { } - ApplicationConfiguration.CurrentUser = CurrentUser; - if (false) { - /** @type {?} */ - CurrentUser.prototype.isAuthenticated; - /** @type {?} */ - CurrentUser.prototype.id; - /** @type {?} */ - CurrentUser.prototype.tenantId; - /** @type {?} */ - CurrentUser.prototype.userName; - } -})(ApplicationConfiguration || (ApplicationConfiguration = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb24tY29uZmlndXJhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvYXBwbGljYXRpb24tY29uZmlndXJhdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUVBLE1BQU0sS0FBVyx3QkFBd0IsQ0E0Q3hDO0FBNUNELFdBQWlCLHdCQUF3Qjs7OztJQUN2Qyx1QkFNQzs7OztRQUxDLGdDQUEyQjs7UUFDM0Isd0JBQVc7O1FBQ1gsMkJBQWU7O1FBQ2YsK0JBQXlCOztRQUN6Qiw0QkFBZ0I7Ozs7O0lBR2xCLDJCQUdDOzs7O1FBRkMsOEJBQTBCOztRQUMxQixpQ0FBc0I7Ozs7O0lBR3hCLGdDQUVDOzs7OztJQUVELHVCQUtDOzs7O1FBSkMsK0JBQW9COztRQUNwQixpQ0FBc0I7O1FBQ3RCLCtCQUFvQjs7UUFDcEIsNEJBQWlCOzs7OztJQUduQixtQkFHQzs7OztRQUZDLHdCQUFpQjs7UUFDakIsK0JBQXdCOzs7OztJQUcxQixxQkFFQzs7Ozs7SUFFRCxvQkFFQzs7OztRQURDLHVCQUErQjs7Ozs7SUFHakMsMEJBS0M7Ozs7UUFKQyxzQ0FBeUI7O1FBQ3pCLHlCQUFXOztRQUNYLCtCQUFpQjs7UUFDakIsK0JBQWlCOztBQUVyQixDQUFDLEVBNUNnQix3QkFBd0IsS0FBeEIsd0JBQXdCLFFBNEN4QyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEFCUCB9IGZyb20gJy4vY29tbW9uJztcclxuXHJcbmV4cG9ydC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ICB9XHJcblxyXG4gIGV4cG9ydCBpbnRlcmZhY2UgQ3VycmVudFVzZXIge1xyXG4gICAgaXNBdXRoZW50aWNhdGVkOiBib29sZWFuO1xyXG4gICAgaWQ6IHN0cmluZztcclxuICAgIHRlbmFudElkOiBzdHJpbmc7XHJcbiAgICB1c2VyTmFtZTogc3RyaW5nO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/models/common.js b/npm/ng-packs/dist/core/esm2015/lib/models/common.js deleted file mode 100644 index 29705ca1a7d..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/models/common.js +++ /dev/null @@ -1,98 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/common.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var ABP; -(function (ABP) { - /** - * @record - */ - function Root() { } - ABP.Root = Root; - if (false) { - /** @type {?} */ - Root.prototype.environment; - /** @type {?} */ - Root.prototype.requirements; - } - /** - * @record - * @template T - */ - function PagedItemsResponse() { } - ABP.PagedItemsResponse = PagedItemsResponse; - if (false) { - /** @type {?} */ - PagedItemsResponse.prototype.items; - } - /** - * @record - */ - function PageQueryParams() { } - ABP.PageQueryParams = PageQueryParams; - if (false) { - /** @type {?|undefined} */ - PageQueryParams.prototype.filter; - /** @type {?|undefined} */ - PageQueryParams.prototype.sorting; - /** @type {?|undefined} */ - PageQueryParams.prototype.skipCount; - /** @type {?|undefined} */ - PageQueryParams.prototype.maxResultCount; - } - /** - * @record - */ - function Route() { } - ABP.Route = Route; - if (false) { - /** @type {?|undefined} */ - Route.prototype.children; - /** @type {?|undefined} */ - Route.prototype.invisible; - /** @type {?|undefined} */ - Route.prototype.layout; - /** @type {?} */ - Route.prototype.name; - /** @type {?|undefined} */ - Route.prototype.order; - /** @type {?|undefined} */ - Route.prototype.parentName; - /** @type {?} */ - Route.prototype.path; - /** @type {?|undefined} */ - Route.prototype.requiredPolicy; - /** @type {?|undefined} */ - Route.prototype.iconClass; - } - /** - * @record - */ - function FullRoute() { } - ABP.FullRoute = FullRoute; - if (false) { - /** @type {?|undefined} */ - FullRoute.prototype.url; - /** @type {?|undefined} */ - FullRoute.prototype.wrapper; - } - /** - * @record - */ - function BasicItem() { } - ABP.BasicItem = BasicItem; - if (false) { - /** @type {?} */ - BasicItem.prototype.id; - /** @type {?} */ - BasicItem.prototype.name; - } - /** - * @record - * @template T - */ - function Dictionary() { } - ABP.Dictionary = Dictionary; -})(ABP || (ABP = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL21vZGVscy9jb21tb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFHQSxNQUFNLEtBQVcsR0FBRyxDQThDbkI7QUE5Q0QsV0FBaUIsR0FBRzs7OztJQUNsQixtQkFHQzs7OztRQUZDLDJCQUF5Qzs7UUFDekMsNEJBQWtDOzs7Ozs7SUFPcEMsaUNBRUM7Ozs7UUFEQyxtQ0FBVzs7Ozs7SUFHYiw4QkFLQzs7OztRQUpDLGlDQUFnQjs7UUFDaEIsa0NBQWlCOztRQUNqQixvQ0FBbUI7O1FBQ25CLHlDQUF3Qjs7Ozs7SUFHMUIsb0JBVUM7Ozs7UUFUQyx5QkFBbUI7O1FBQ25CLDBCQUFvQjs7UUFDcEIsdUJBQXFCOztRQUNyQixxQkFBYTs7UUFDYixzQkFBZTs7UUFDZiwyQkFBb0I7O1FBQ3BCLHFCQUFhOztRQUNiLCtCQUF3Qjs7UUFDeEIsMEJBQW1COzs7OztJQUdyQix3QkFHQzs7OztRQUZDLHdCQUFhOztRQUNiLDRCQUFrQjs7Ozs7SUFHcEIsd0JBR0M7Ozs7UUFGQyx1QkFBVzs7UUFDWCx5QkFBYT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O1xyXG4gICAgcGFyZW50TmFtZT86IHN0cmluZztcclxuICAgIHBhdGg6IHN0cmluZztcclxuICAgIHJlcXVpcmVkUG9saWN5Pzogc3RyaW5nO1xyXG4gICAgaWNvbkNsYXNzPzogc3RyaW5nO1xyXG4gIH1cclxuXHJcbiAgZXhwb3J0IGludGVyZmFjZSBGdWxsUm91dGUgZXh0ZW5kcyBSb3V0ZSB7XHJcbiAgICB1cmw/OiBzdHJpbmc7XHJcbiAgICB3cmFwcGVyPzogYm9vbGVhbjtcclxuICB9XHJcblxyXG4gIGV4cG9ydCBpbnRlcmZhY2UgQmFzaWNJdGVtIHtcclxuICAgIGlkOiBzdHJpbmc7XHJcbiAgICBuYW1lOiBzdHJpbmc7XHJcbiAgfVxyXG5cclxuICBleHBvcnQgaW50ZXJmYWNlIERpY3Rpb25hcnk8VCA9IGFueT4ge1xyXG4gICAgW2tleTogc3RyaW5nXTogVDtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/models/config.js b/npm/ng-packs/dist/core/esm2015/lib/models/config.js deleted file mode 100644 index 9b338bd587b..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/models/config.js +++ /dev/null @@ -1,62 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var Config; -(function (Config) { - /** - * @record - */ - function Environment() { } - Config.Environment = Environment; - if (false) { - /** @type {?} */ - Environment.prototype.application; - /** @type {?} */ - Environment.prototype.production; - /** @type {?} */ - Environment.prototype.oAuthConfig; - /** @type {?} */ - Environment.prototype.apis; - /** @type {?} */ - Environment.prototype.localization; - } - /** - * @record - */ - function Application() { } - Config.Application = Application; - if (false) { - /** @type {?} */ - Application.prototype.name; - /** @type {?|undefined} */ - Application.prototype.logoUrl; - } - /** - * @record - */ - function Apis() { } - Config.Apis = Apis; - /** - * @record - */ - function Requirements() { } - Config.Requirements = Requirements; - if (false) { - /** @type {?} */ - Requirements.prototype.layouts; - } - /** - * @record - */ - function LocalizationWithDefault() { } - Config.LocalizationWithDefault = LocalizationWithDefault; - if (false) { - /** @type {?} */ - LocalizationWithDefault.prototype.key; - /** @type {?} */ - LocalizationWithDefault.prototype.defaultValue; - } -})(Config || (Config = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL21vZGVscy9jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFLQSxNQUFNLEtBQVcsTUFBTSxDQWtDdEI7QUFsQ0QsV0FBaUIsTUFBTTs7OztJQU9yQiwwQkFNQzs7OztRQUxDLGtDQUF5Qjs7UUFDekIsaUNBQW9COztRQUNwQixrQ0FBd0I7O1FBQ3hCLDJCQUFXOztRQUNYLG1DQUE4Qzs7Ozs7SUFHaEQsMEJBR0M7Ozs7UUFGQywyQkFBYTs7UUFDYiw4QkFBaUI7Ozs7O0lBR25CLG1CQUVDOzs7OztJQUVELDJCQUVDOzs7O1FBREMsK0JBQXFCOzs7OztJQUd2QixzQ0FHQzs7OztRQUZDLHNDQUFZOztRQUNaLCtDQUFxQjs7QUFJekIsQ0FBQyxFQWxDZ0IsTUFBTSxLQUFOLE1BQU0sUUFrQ3RCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQXV0aENvbmZpZyB9IGZyb20gJ2FuZ3VsYXItb2F1dGgyLW9pZGMnO1xyXG5pbXBvcnQgeyBUeXBlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IEFwcGxpY2F0aW9uQ29uZmlndXJhdGlvbiB9IGZyb20gJy4vYXBwbGljYXRpb24tY29uZmlndXJhdGlvbic7XHJcbmltcG9ydCB7IEFC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H1cclxuXHJcbiAgZXhwb3J0IHR5cGUgTG9jYWxpemF0aW9uUGFyYW0gPSBzdHJpbmcgfCBMb2NhbGl6YXRpb25XaXRoRGVmYXVsdDtcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/models/index.js b/npm/ng-packs/dist/core/esm2015/lib/models/index.js deleted file mode 100644 index 39356a90bd1..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/models/index.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export {} from './application-configuration'; -export {} from './common'; -export {} from './config'; -export { Rest } from './rest'; -export {} from './session'; -export {} from './profile'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvbW9kZWxzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsZUFBYyw2QkFBNkIsQ0FBQztBQUM1QyxlQUFjLFVBQVUsQ0FBQztBQUN6QixlQUFjLFVBQVUsQ0FBQztBQUN6QixxQkFBYyxRQUFRLENBQUM7QUFDdkIsZUFBYyxXQUFXLENBQUM7QUFDMUIsZUFBYyxXQUFXLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2FwcGxpY2F0aW9uLWNvbmZpZ3VyYXRpb24nO1xyXG5leHBvcnQgKiBmcm9tICcuL2NvbW1vbic7XHJcbmV4cG9ydCAqIGZyb20gJy4vY29uZmlnJztcclxuZXhwb3J0ICogZnJvbSAnLi9yZXN0JztcclxuZXhwb3J0ICogZnJvbSAnLi9zZXNzaW9uJztcclxuZXhwb3J0ICogZnJvbSAnLi9wcm9maWxlJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/models/profile.js b/npm/ng-packs/dist/core/esm2015/lib/models/profile.js deleted file mode 100644 index 806b0203ab4..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/models/profile.js +++ /dev/null @@ -1,46 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/profile.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var Profile; -(function (Profile) { - /** - * @record - */ - function State() { } - Profile.State = State; - if (false) { - /** @type {?} */ - State.prototype.profile; - } - /** - * @record - */ - function Response() { } - Profile.Response = Response; - if (false) { - /** @type {?} */ - Response.prototype.userName; - /** @type {?} */ - Response.prototype.email; - /** @type {?} */ - Response.prototype.name; - /** @type {?} */ - Response.prototype.surname; - /** @type {?} */ - Response.prototype.phoneNumber; - } - /** - * @record - */ - function ChangePasswordRequest() { } - Profile.ChangePasswordRequest = ChangePasswordRequest; - if (false) { - /** @type {?} */ - ChangePasswordRequest.prototype.currentPassword; - /** @type {?} */ - ChangePasswordRequest.prototype.newPassword; - } -})(Profile || (Profile = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZmlsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvcHJvZmlsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE1BQU0sS0FBVyxPQUFPLENBaUJ2QjtBQWpCRCxXQUFpQixPQUFPOzs7O0lBQ3RCLG9CQUVDOzs7O1FBREMsd0JBQWtCOzs7OztJQUdwQix1QkFNQzs7OztRQUxDLDRCQUFpQjs7UUFDakIseUJBQWM7O1FBQ2Qsd0JBQWE7O1FBQ2IsMkJBQWdCOztRQUNoQiwrQkFBb0I7Ozs7O0lBR3RCLG9DQUdDOzs7O1FBRkMsZ0RBQXdCOztRQUN4Qiw0Q0FBb0I7O0FBRXhCLENBQUMsRUFqQmdCLE9BQU8sS0FBUCxPQUFPLFFBaUJ2QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBuYW1lc3BhY2UgUHJvZmlsZSB7XHJcbiAgZXhwb3J0IGludGVyZmFjZSBTdGF0ZSB7XHJcbiAgICBwcm9maWxlOiBSZXNwb25zZTtcclxuICB9XHJcblxyXG4gIGV4cG9ydCBpbnRlcmZhY2UgUmVzcG9uc2Uge1xyXG4gICAgdXNlck5hbWU6IHN0cmluZztcclxuICAgIGVtYWlsOiBzdHJpbmc7XHJcbiAgICBuYW1lOiBzdHJpbmc7XHJcbiAgICBzdXJuYW1lOiBzdHJpbmc7XHJcbiAgICBwaG9uZU51bWJlcjogc3RyaW5nO1xyXG4gIH1cclxuXHJcbiAgZXhwb3J0IGludGVyZmFjZSBDaGFuZ2VQYXNzd29yZFJlcXVlc3Qge1xyXG4gICAgY3VycmVudFBhc3N3b3JkOiBzdHJpbmc7XHJcbiAgICBuZXdQYXNzd29yZDogc3RyaW5nO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/models/rest.js b/npm/ng-packs/dist/core/esm2015/lib/models/rest.js deleted file mode 100644 index 41b732e2402..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/models/rest.js +++ /dev/null @@ -1,44 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/rest.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var Rest; -(function (Rest) { - /** - * @record - */ - function Config() { } - Rest.Config = Config; - if (false) { - /** @type {?|undefined} */ - Config.prototype.skipHandleError; - /** @type {?|undefined} */ - Config.prototype.observe; - } - /** - * @record - * @template T - */ - function Request() { } - Rest.Request = Request; - if (false) { - /** @type {?|undefined} */ - Request.prototype.body; - /** @type {?|undefined} */ - Request.prototype.headers; - /** @type {?} */ - Request.prototype.method; - /** @type {?|undefined} */ - Request.prototype.params; - /** @type {?|undefined} */ - Request.prototype.reportProgress; - /** @type {?|undefined} */ - Request.prototype.responseType; - /** @type {?} */ - Request.prototype.url; - /** @type {?|undefined} */ - Request.prototype.withCredentials; - } -})(Rest || (Rest = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvcmVzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUVBLE1BQU0sS0FBVyxJQUFJLENBcUNwQjtBQXJDRCxXQUFpQixJQUFJOzs7O0lBQ25CLHFCQUdDOzs7O1FBRkMsaUNBQTBCOztRQUMxQix5QkFBa0I7Ozs7OztJQWdCcEIsc0JBaUJDOzs7O1FBaEJDLHVCQUFTOztRQUNULDBCQUlNOztRQUNOLHlCQUFlOztRQUNmLHlCQUlNOztRQUNOLGlDQUF5Qjs7UUFDekIsK0JBQTRCOztRQUM1QixzQkFBWTs7UUFDWixrQ0FBMEI7O0FBRTlCLENBQUMsRUFyQ2dCLElBQUksS0FBSixJQUFJLFFBcUNwQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEh0dHBIZWFkZXJzLCBIdHRwUGFyYW1zIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uL2h0dHAnO1xyXG5cclxuZXhwb3J0IG5hbWVzcGFjZSBSZXN0IHtcclxuICBleHBvcnQgaW50ZXJmYWNlIENvbmZpZyB7XHJcbiAgICBza2lwSGFuZGxlRXJyb3I/OiBib29sZWFuO1xyXG4gICAgb2JzZXJ2ZT86IE9ic2VydmU7XHJcbiAgfVxyXG5cclxuICBleHBvcnQgY29uc3QgZW51bSBPYnNlcnZlIHtcclxuICAgIEJvZHkgPSAnYm9keScsXHJcbiAgICBFdmVudHMgPSAnZXZlbnRzJyxcclxuICAgIFJlc3BvbnNlID0gJ3Jlc3BvbnNlJyxcclxuICB9XHJcblxyXG4gIGV4cG9ydCBjb25zdCBlbnVtIFJlc3BvbnNlVHlwZSB7XHJcbiAgICBBcnJheUJ1ZmZlciA9ICdhcnJheWJ1ZmZlcicsXHJcbiAgICBCbG9iID0gJ2Jsb2InLFxyXG4gICAgSlNPTiA9ICdqc29uJyxcclxuICAgIFRleHQgPSAndGV4dCcsXHJcbiAgfVxyXG5cclxuICBleHBvcnQgaW50ZXJmYWNlIFJlcXVlc3Q8VD4ge1xyXG4gICAgYm9keT86IFQ7XHJcbiAgICBoZWFkZXJzPzpcclxuICAgICAgfCBIdHRwSGVhZGVyc1xyXG4gICAgICB8IHtcclxuICAgICAgICAgIFtoZWFkZXI6IHN0cmluZ106IHN0cmluZyB8IHN0cmluZ1tdO1xyXG4gICAgICAgIH07XHJcbiAgICBtZXRob2Q6IHN0cmluZztcclxuICAgIHBhcmFtcz86XHJcbiAgICAgIHwgSHR0cFBhcmFtc1xyXG4gICAgICB8IHtcclxuICAgICAgICAgIFtwYXJhbTogc3RyaW5nXTogYW55O1xyXG4gICAgICAgIH07XHJcbiAgICByZXBvcnRQcm9ncmVzcz86IGJvb2xlYW47XHJcbiAgICByZXNwb25zZVR5cGU/OiBSZXNwb25zZVR5cGU7XHJcbiAgICB1cmw6IHN0cmluZztcclxuICAgIHdpdGhDcmVkZW50aWFscz86IGJvb2xlYW47XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/models/session.js b/npm/ng-packs/dist/core/esm2015/lib/models/session.js deleted file mode 100644 index 8fe0313aeba..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/models/session.js +++ /dev/null @@ -1,20 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/session.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var Session; -(function (Session) { - /** - * @record - */ - function State() { } - Session.State = State; - if (false) { - /** @type {?} */ - State.prototype.language; - /** @type {?} */ - State.prototype.tenant; - } -})(Session || (Session = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vzc2lvbi5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvc2Vzc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUVBLE1BQU0sS0FBVyxPQUFPLENBS3ZCO0FBTEQsV0FBaUIsT0FBTzs7OztJQUN0QixvQkFHQzs7OztRQUZDLHlCQUFpQjs7UUFDakIsdUJBQXNCOztBQUUxQixDQUFDLEVBTGdCLE9BQU8sS0FBUCxPQUFPLFFBS3ZCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQUJQIH0gZnJvbSAnLi4vbW9kZWxzJztcclxuXHJcbmV4cG9ydCBuYW1lc3BhY2UgU2Vzc2lvbiB7XHJcbiAgZXhwb3J0IGludGVyZmFjZSBTdGF0ZSB7XHJcbiAgICBsYW5ndWFnZTogc3RyaW5nO1xyXG4gICAgdGVuYW50OiBBQlAuQmFzaWNJdGVtO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/pipes/index.js b/npm/ng-packs/dist/core/esm2015/lib/pipes/index.js deleted file mode 100644 index 08ce8c0f312..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/pipes/index.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/pipes/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { LocalizationPipe } from './localization.pipe'; -export { SortPipe } from './sort.pipe'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvcGlwZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxpQ0FBYyxxQkFBcUIsQ0FBQztBQUNwQyx5QkFBYyxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xvY2FsaXphdGlvbi5waXBlJztcclxuZXhwb3J0ICogZnJvbSAnLi9zb3J0LnBpcGUnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/pipes/localization.pipe.js b/npm/ng-packs/dist/core/esm2015/lib/pipes/localization.pipe.js deleted file mode 100644 index 180bfd8488c..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/pipes/localization.pipe.js +++ /dev/null @@ -1,47 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/pipes/localization.pipe.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Pipe, Injectable } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { ConfigState } from '../states'; -export class LocalizationPipe { - /** - * @param {?} store - */ - constructor(store) { - this.store = store; - } - /** - * @param {?=} value - * @param {...?} interpolateParams - * @return {?} - */ - transform(value = '', ...interpolateParams) { - return this.store.selectSnapshot(ConfigState.getLocalization(value, ...interpolateParams.reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - (acc, val) => (Array.isArray(val) ? [...acc, ...val] : [...acc, val])), []))); - } -} -LocalizationPipe.decorators = [ - { type: Injectable }, - { type: Pipe, args: [{ - name: 'abpLocalization', - },] } -]; -/** @nocollapse */ -LocalizationPipe.ctorParameters = () => [ - { type: Store } -]; -if (false) { - /** - * @type {?} - * @private -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/npm/ng-packs/dist/core/esm2015/lib/pipes/sort.pipe.js b/npm/ng-packs/dist/core/esm2015/lib/pipes/sort.pipe.js deleted file mode 100644 index 34617862865..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/pipes/sort.pipe.js +++ /dev/null @@ -1,87 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/pipes/sort.pipe.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable, Pipe } from '@angular/core'; -export class SortPipe { - /** - * @param {?} value - * @param {?=} sortOrder - * @param {?=} sortKey - * @return {?} - */ - transform(value, sortOrder = 'asc', sortKey) { - sortOrder = sortOrder && ((/** @type {?} */ (sortOrder.toLowerCase()))); - if (!value || (sortOrder !== 'asc' && sortOrder !== 'desc')) - return value; - /** @type {?} */ - let numberArray = []; - /** @type {?} */ - let stringArray = []; - if (!sortKey) { - numberArray = value.filter((/** - * @param {?} item - * @return {?} - */ - item => typeof item === 'number')).sort(); - stringArray = value.filter((/** - * @param {?} item - * @return {?} - */ - item => typeof item === 'string')).sort(); - } - else { - numberArray = value - .filter((/** - * @param {?} item - * @return {?} - */ - item => typeof item[sortKey] === 'number')) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - (a, b) => a[sortKey] - b[sortKey])); - stringArray = value - .filter((/** - * @param {?} item - * @return {?} - */ - item => typeof item[sortKey] === 'string')) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - (a, b) => { - if (a[sortKey] < b[sortKey]) - return -1; - else if (a[sortKey] > b[sortKey]) - return 1; - else - return 0; - })); - } - /** @type {?} */ - const sorted = [ - ...numberArray, - ...stringArray, - ...value.filter((/** - * @param {?} item - * @return {?} - */ - item => typeof (sortKey ? item[sortKey] : item) !== 'number' && - typeof (sortKey ? item[sortKey] : item) !== 'string')), - ]; - return sortOrder === 'asc' ? sorted : sorted.reverse(); - } -} -SortPipe.decorators = [ - { type: Injectable }, -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W0pICE9PSAnc3RyaW5nJyxcclxuICAgICAgKSxcclxuICAgIF07XHJcbiAgICByZXR1cm4gc29ydE9yZGVyID09PSAnYXNjJyA/IHNvcnRlZCA6IHNvcnRlZC5yZXZlcnNlKCk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/plugins/config.plugin.js b/npm/ng-packs/dist/core/esm2015/lib/plugins/config.plugin.js deleted file mode 100644 index f1cb2dd0f34..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/plugins/config.plugin.js +++ /dev/null @@ -1,197 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/plugins/config.plugin.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Inject, Injectable, InjectionToken } from '@angular/core'; -import { Router } from '@angular/router'; -import { actionMatcher, InitState, setValue, UpdateState } from '@ngxs/store'; -import snq from 'snq'; -import { organizeRoutes, getAbpRoutes } from '../utils/route-utils'; -import clone from 'just-clone'; -/** @type {?} */ -export const NGXS_CONFIG_PLUGIN_OPTIONS = new InjectionToken('NGXS_CONFIG_PLUGIN_OPTIONS'); -export class ConfigPlugin { - /** - * @param {?} options - * @param {?} router - */ - constructor(options, router) { - this.options = options; - this.router = router; - this.initialized = false; - } - /** - * @param {?} state - * @param {?} event - * @param {?} next - * @return {?} - */ - handle(state, event, next) { - /** @type {?} */ - const matches = actionMatcher(event); - /** @type {?} */ - const isInitAction = matches(InitState) || matches(UpdateState); - if (isInitAction && !this.initialized) { - /** @type {?} */ - const transformedRoutes = transformRoutes(this.router.config); - let { routes } = transformedRoutes; - const { wrappers } = transformedRoutes; - routes = organizeRoutes(routes, wrappers); - /** @type {?} */ - const flattedRoutes = flatRoutes(clone(routes)); - state = setValue(state, 'ConfigState', Object.assign({}, (state.ConfigState && Object.assign({}, state.ConfigState)), this.options, { routes, - flattedRoutes })); - this.initialized = true; - } - return next(state, event); - } -} -ConfigPlugin.decorators = [ - { type: Injectable } -]; -/** @nocollapse */ -ConfigPlugin.ctorParameters = () => [ - { type: undefined, decorators: [{ type: Inject, args: [NGXS_CONFIG_PLUGIN_OPTIONS,] }] }, - { type: Router } -]; -if (false) { - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.initialized; - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.options; - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.router; -} -/** - * @param {?=} routes - * @param {?=} wrappers - * @return {?} - */ -function transformRoutes(routes = [], wrappers = []) { - // TODO: remove in v1 - /** @type {?} */ - const oldAbpRoutes = routes - .filter((/** - * @param {?} route - * @return {?} - */ - route => { - return snq((/** - * @return {?} - */ - () => route.data.routes.routes.find((/** - * @param {?} r - * @return {?} - */ - r => r.path === route.path))), false); - })) - .reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - (acc, val) => [...acc, ...val.data.routes.routes]), []); - // tslint:disable-next-line: deprecation - /** @type {?} */ - const abpRoutes = [...getAbpRoutes(), ...oldAbpRoutes]; - wrappers = abpRoutes.filter((/** - * @param {?} ar - * @return {?} - */ - ar => ar.wrapper)); - /** @type {?} */ - const transformed = (/** @type {?} */ ([])); - routes - .filter((/** - * @param {?} route - * @return {?} - */ - route => route.component || route.loadChildren)) - .forEach((/** - * @param {?} route - * @return {?} - */ - route => { - /** @type {?} */ - const abpPackage = abpRoutes.find((/** - * @param {?} abp - * @return {?} - */ - abp => abp.path.toLowerCase() === route.path.toLowerCase() && !abp.wrapper)); - const { length } = transformed; - if (abpPackage) { - transformed.push(abpPackage); - } - if (transformed.length === length && (route.data || {}).routes) { - transformed.push((/** @type {?} */ (Object.assign({}, route.data.routes, { path: route.path, name: snq((/** - * @return {?} - */ - () => route.data.routes.name), route.path), children: route.data.routes.children || [] })))); - } - })); - return { routes: setUrls(transformed), wrappers }; -} -/** - * @param {?} routes - * @param {?=} parentUrl - * @return {?} - */ -function setUrls(routes, parentUrl) { - if (parentUrl) { - // this if block using for only recursive call - return routes.map((/** - * @param {?} route - * @return {?} - */ - route => (Object.assign({}, route, { url: `${parentUrl}/${route.path}` }, (route.children && - route.children.length && { - children: setUrls(route.children, `${parentUrl}/${route.path}`), - }))))); - } - return routes.map((/** - * @param {?} route - * @return {?} - */ - route => (Object.assign({}, route, { url: `/${route.path}` }, (route.children && - route.children.length && { - children: setUrls(route.children, `/${route.path}`), - }))))); -} -/** - * @param {?} routes - * @return {?} - */ -function flatRoutes(routes) { - /** @type {?} */ - const flat = (/** - * @param {?} r - * @return {?} - */ - (r) => { - return r.reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - (acc, val) => { - /** @type {?} */ - let value = [val]; - if (val.children) { - value = [val, ...flat(val.children)]; - } - return [...acc, ...value]; - }), []); - }); - return flat(routes); -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLnBsdWdpbi5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi9wbHVnaW5zL2NvbmZpZy5wbHVnaW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkUsT0FBTyxFQUFFLE1BQU0sRUFBVSxNQUFNLGlCQUFpQixDQUFDO0FBQ2pELE9BQU8sRUFBRSxhQUFhLEVBQUUsU0FBUyxFQUFnQyxRQUFRLEVBQUUsV0FBVyxFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQzVHLE9BQU8sR0FBRyxNQUFNLEtBQUssQ0FBQztBQUV0QixPQUFPLEVBQUUsY0FBYyxFQUFFLFlBQVksRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3BFLE9BQU8sS0FBSyxNQUFNLFlBQVksQ0FBQzs7QUFFL0IsT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XJuIHIucmVkdWNlKChhY2MsIHZhbCkgPT4ge1xyXG4gICAgICBsZXQgdmFsdWU6IEFCUC5GdWxsUm91dGVbXSA9IFt2YWxdO1xyXG4gICAgICBpZiAodmFsLmNoaWxkcmVuKSB7XHJcbiAgICAgICAgdmFsdWUgPSBbdmFsLCAuLi5mbGF0KHZhbC5jaGlsZHJlbildO1xyXG4gICAgICB9XHJcblxyXG4gICAgICByZXR1cm4gWy4uLmFjYywgLi4udmFsdWVdO1xyXG4gICAgfSwgW10pO1xyXG4gIH07XHJcblxyXG4gIHJldHVybiBmbGF0KHJvdXRlcyk7XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/plugins/config/config.plugin.js b/npm/ng-packs/dist/core/esm2015/lib/plugins/config/config.plugin.js deleted file mode 100644 index f16213ee5ad..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/plugins/config/config.plugin.js +++ /dev/null @@ -1,247 +0,0 @@ -/** - * @fileoverview added by tsickle - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Inject, Injectable, InjectionToken } from '@angular/core'; -import { Router } from '@angular/router'; -import { actionMatcher, InitState, setValue, UpdateState } from '@ngxs/store'; -import snq from 'snq'; -import { organizeRoutes, getAbpRoutes } from '../../utils/route-utils'; -import clone from 'just-clone'; -/** @type {?} */ -export const NGXS_CONFIG_PLUGIN_OPTIONS = new InjectionToken('NGXS_CONFIG_PLUGIN_OPTIONS'); -export class ConfigPlugin { - /** - * @param {?} options - * @param {?} router - */ - constructor(options, router) { - this.options = options; - this.router = router; - this.initialized = false; - } - /** - * @param {?} state - * @param {?} event - * @param {?} next - * @return {?} - */ - handle(state, event, next) { - /** @type {?} */ - const matches = actionMatcher(event); - /** @type {?} */ - const isInitAction = matches(InitState) || matches(UpdateState); - if (isInitAction && !this.initialized) { - /** @type {?} */ - const transformedRoutes = transformRoutes(this.router.config); - let { routes } = transformedRoutes; - const { wrappers } = transformedRoutes; - routes = organizeRoutes(routes, wrappers); - /** @type {?} */ - const flattedRoutes = flatRoutes(clone(routes)); - state = setValue( - state, - 'ConfigState', - Object.assign({}, state.ConfigState && Object.assign({}, state.ConfigState), this.options, { - routes, - flattedRoutes, - }), - ); - this.initialized = true; - } - return next(state, event); - } -} -ConfigPlugin.decorators = [{ type: Injectable }]; -/** @nocollapse */ -ConfigPlugin.ctorParameters = () => [ - { type: undefined, decorators: [{ type: Inject, args: [NGXS_CONFIG_PLUGIN_OPTIONS] }] }, - { type: Router }, -]; -if (false) { - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.initialized; - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.options; - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.router; -} -/** - * @param {?=} routes - * @param {?=} wrappers - * @return {?} - */ -function transformRoutes(routes = [], wrappers = []) { - // TODO: remove in v1 - /** @type {?} */ - const oldAbpRoutes = routes - .filter( - /** - * @param {?} route - * @return {?} - */ - (route => { - return snq( - /** - * @return {?} - */ - () => - route.data.routes.routes.find( - /** - * @param {?} r - * @return {?} - */ - r => r.path === route.path, - ), - false, - ); - }), - ) - .reduce( - /** - * @param {?} acc - * @param {?} val - * @return {?} - */ - ((acc, val) => [...acc, ...val.data.routes.routes]), - [], - ); - // tslint:disable-next-line: deprecation - /** @type {?} */ - const abpRoutes = [...getAbpRoutes(), ...oldAbpRoutes]; - wrappers = abpRoutes.filter( - /** - * @param {?} ar - * @return {?} - */ - ar => ar.wrapper, - ); - /** @type {?} */ - const transformed = /** @type {?} */ ([]); - routes - .filter( - /** - * @param {?} route - * @return {?} - */ - route => route.component || route.loadChildren, - ) - .forEach( - /** - * @param {?} route - * @return {?} - */ - route => { - /** @type {?} */ - const abpPackage = abpRoutes.find( - /** - * @param {?} abp - * @return {?} - */ - (abp => abp.path.toLowerCase() === route.path.toLowerCase() && !abp.wrapper), - ); - const { length } = transformed; - if (abpPackage) { - transformed.push(abpPackage); - } - if (transformed.length === length && (route.data || {}).routes) { - transformed.push( - /** @type {?} */ (Object.assign({}, route.data.routes, { - path: route.path, - name: snq( - /** - * @return {?} - */ - () => route.data.routes.name, - route.path, - ), - children: route.data.routes.children || [], - })), - ); - } - }, - ); - return { routes: setUrls(transformed), wrappers }; -} -/** - * @param {?} routes - * @param {?=} parentUrl - * @return {?} - */ -function setUrls(routes, parentUrl) { - if (parentUrl) { - // this if block using for only recursive call - return routes.map( - /** - * @param {?} route - * @return {?} - */ - route => - Object.assign( - {}, - route, - { url: `${parentUrl}/${route.path}` }, - route.children && - route.children.length && { - children: setUrls(route.children, `${parentUrl}/${route.path}`), - }, - ), - ); - } - return routes.map( - /** - * @param {?} route - * @return {?} - */ - route => - Object.assign( - {}, - route, - { url: `/${route.path}` }, - route.children && - route.children.length && { - children: setUrls(route.children, `/${route.path}`), - }, - ), - ); -} -/** - * @param {?} routes - * @return {?} - */ -function flatRoutes(routes) { - /** @type {?} */ - const flat - /** - * @param {?} r - * @return {?} - */ = (r => { - return r.reduce( - /** - * @param {?} acc - * @param {?} val - * @return {?} - */ - (acc, val) => { - /** @type {?} */ - let value = [val]; - if (val.children) { - value = [val, ...flat(val.children)]; - } - return [...acc, ...value]; - }, - [], - ); - }); - return flat(routes); -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLnBsdWdpbi5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi9wbHVnaW5zL2NvbmZpZy9jb25maWcucGx1Z2luLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkUsT0FBTyxFQUFFLE1BQU0sRUFBVSxNQUFNLGlCQUFpQixDQUFDO0FBQ2pELE9BQU8sRUFB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ICAgIHJldHVybiByLnJlZHVjZSgoYWNjLCB2YWwpID0+IHtcbiAgICAgIGxldCB2YWx1ZTogQUJQLkZ1bGxSb3V0ZVtdID0gW3ZhbF07XG4gICAgICBpZiAodmFsLmNoaWxkcmVuKSB7XG4gICAgICAgIHZhbHVlID0gW3ZhbCwgLi4uZmxhdCh2YWwuY2hpbGRyZW4pXTtcbiAgICAgIH1cblxuICAgICAgcmV0dXJuIFsuLi5hY2MsIC4uLnZhbHVlXTtcbiAgICB9LCBbXSk7XG4gIH07XG5cbiAgcmV0dXJuIGZsYXQocm91dGVzKTtcbn1cbiJdfQ== diff --git a/npm/ng-packs/dist/core/esm2015/lib/plugins/index.js b/npm/ng-packs/dist/core/esm2015/lib/plugins/index.js deleted file mode 100644 index 72082ea179c..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/plugins/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/plugins/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { NGXS_CONFIG_PLUGIN_OPTIONS, ConfigPlugin } from './config.plugin'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvcGx1Z2lucy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHlEQUFjLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb25maWcucGx1Z2luJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/plugins/select-snapshot/internals.js b/npm/ng-packs/dist/core/esm2015/lib/plugins/select-snapshot/internals.js deleted file mode 100644 index a2cd8b0d31e..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/plugins/select-snapshot/internals.js +++ /dev/null @@ -1,84 +0,0 @@ -/** - * @fileoverview added by tsickle - * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @type {?} */ -const DOLLAR_CHAR_CODE = 36; -/** - * @param {?} name - * @return {?} - */ -export function removeDollarAtTheEnd(name) { - /** @type {?} */ - const lastCharIndex = name.length - 1; - /** @type {?} */ - const dollarAtTheEnd = name.charCodeAt(lastCharIndex) === DOLLAR_CHAR_CODE; - return dollarAtTheEnd ? name.slice(0, lastCharIndex) : name; -} -/** - * @param {?} selectorOrFeature - * @param {?} paths - * @return {?} - */ -export function getPropsArray(selectorOrFeature, paths) { - if (paths.length) { - return [selectorOrFeature, ...paths]; - } - return selectorOrFeature.split('.'); -} -/** - * @param {?} paths - * @return {?} - */ -function compliantPropGetter(paths) { - /** @type {?} */ - const copyOfPaths = [...paths]; - return (/** - * @param {?} obj - * @return {?} - */ - obj => copyOfPaths.reduce((/** - * @param {?} acc - * @param {?} part - * @return {?} - */ - (acc, part) => acc && acc[part]), obj)); -} -/** - * @param {?} paths - * @return {?} - */ -function fastPropGetter(paths) { - /** @type {?} */ - const segments = paths; - /** @type {?} */ - let seg = 'store.' + segments[0]; - /** @type {?} */ - let i = 0; - /** @type {?} */ - const l = segments.length; - /** @type {?} */ - let expr = seg; - while (++i < l) { - expr = expr + ' && ' + (seg = seg + '.' + segments[i]); - } - /** @type {?} */ - const fn = new Function('store', 'return ' + expr + ';'); - return (/** @type {?} */ (fn)); -} -/** - * @param {?} paths - * @param {?} config - * @return {?} - */ -export function propGetter(paths, config) { - if (config && config.compatibility && config.compatibility.strictContentSecurityPolicy) { - return compliantPropGetter(paths); - } - else { - return fastPropGetter(paths); - } -} -/** @type {?} */ -export const META_KEY = 'NGXS_META'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJuYWxzLmpzIiwic291cmNlUm9vd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NlZ21lbnRzLmxlbmd0aDtcblxuICBsZXQgZXhwciA9IHNlZztcbiAgd2hpbGUgKCsraSA8IGwpIHtcbiAgICBleHByID0gZXhwciArICcgJiYgJyArIChzZWcgPSBzZWcgKyAnLicgKyBzZWdtZW50c1tpXSk7XG4gIH1cblxuICBjb25zdCBmbiA9IG5ldyBGdW5jdGlvbignc3RvcmUnLCAncmV0dXJuICcgKyBleHByICsgJzsnKTtcblxuICByZXR1cm4gPCh4OiBhbnkpID0+IGFueT5mbjtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIHByb3BHZXR0ZXIocGF0aHM6IHN0cmluZ1tdLCBjb25maWc6IE5neHNDb25maWcpIHtcbiAgaWYgKGNvbmZpZyAmJiBjb25maWcuY29tcGF0aWJpbGl0eSAmJiBjb25maWcuY29tcGF0aWJpbGl0eS5zdHJpY3RDb250ZW50U2VjdXJpdHlQb2xpY3kpIHtcbiAgICByZXR1cm4gY29tcGxpYW50UHJvcEdldHRlcihwYXRocyk7XG4gIH0gZWxzZSB7XG4gICAgcmV0dXJuIGZhc3RQcm9wR2V0dGVyKHBhdGhzKTtcbiAgfVxufVxuXG5leHBvcnQgY29uc3QgTUVUQV9LRVkgPSAnTkdYU19NRVRBJztcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/plugins/select-snapshot/select-snapshot.js b/npm/ng-packs/dist/core/esm2015/lib/plugins/select-snapshot/select-snapshot.js deleted file mode 100644 index eccb46e5204..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/plugins/select-snapshot/select-snapshot.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * @fileoverview added by tsickle - * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { StaticInjector } from './static-injector'; -import { META_KEY, getPropsArray, propGetter, removeDollarAtTheEnd } from './internals'; -import { Store } from '@ngxs/store'; -import { NgxsConfig } from '@ngxs/store/src/symbols'; -/** - * @param {?=} selectorOrFeature - * @param {...?} paths - * @return {?} - */ -export function SelectSnapshot(selectorOrFeature, ...paths) { - return (/** - * @param {?} target - * @param {?} name - * @return {?} - */ - (target, name) => { - /** @type {?} */ - const selectorFnName = `__${name}__selector`; - if (!selectorOrFeature) { - selectorOrFeature = removeDollarAtTheEnd(name); - } - /** @type {?} */ - const createSelector = (/** - * @param {?} selectorOrFeature - * @return {?} - */ - (selectorOrFeature) => { - /** @type {?} */ - const config = getConfig(); - if (typeof selectorOrFeature === 'string') { - /** @type {?} */ - const propsArray = getPropsArray(selectorOrFeature, paths); - return propGetter(propsArray, config); - } - else if (selectorOrFeature[META_KEY] && selectorOrFeature[META_KEY].path) { - return propGetter(selectorOrFeature[META_KEY].path.split('.'), config); - } - else { - return selectorOrFeature; - } - }); - if (delete target[name]) { - Object.defineProperty(target, selectorFnName, { - writable: true, - enumerable: false, - configurable: true, - }); - Object.defineProperty(target, name, { - get: (/** - * @return {?} - */ - function () { - // Create anonymous function that will map to the needed state only once - /** @type {?} */ - const selector = this[selectorFnName] || (this[selectorFnName] = createSelector(selectorOrFeature)); - /** @type {?} */ - const store = getStore(); - return store.selectSnapshot(selector); - }), - enumerable: true, - configurable: true, - }); - } - }); -} -/** - * @return {?} - */ -function getStore() { - return StaticInjector.injector.get(Store); -} -/** - * @return {?} - */ -function getConfig() { - return StaticInjector.injector.get(NgxsConfig); -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LXNuYXBzaG90LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3BsdWdpbnMvc2VsZWN0LXNuYXBzaG90L3NlbGVjdC1zbmFwc2hvdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ25ELE9BQU8sRUFBRSxRQUFRLEVBQ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G5mdW5jdGlvbiBnZXRDb25maWcoKTogTmd4c0NvbmZpZyB7XG4gIHJldHVybiBTdGF0aWNJbmplY3Rvci5pbmplY3Rvci5nZXQ8Tmd4c0NvbmZpZz4oTmd4c0NvbmZpZyk7XG59XG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/plugins/select-snapshot/static-injector.js b/npm/ng-packs/dist/core/esm2015/lib/plugins/select-snapshot/static-injector.js deleted file mode 100644 index 2a539632875..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/plugins/select-snapshot/static-injector.js +++ /dev/null @@ -1,26 +0,0 @@ -/** - * @fileoverview added by tsickle - * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injector, Injectable } from '@angular/core'; -export class StaticInjector { - /** - * @param {?} injector - */ - constructor(injector) { - StaticInjector.injector = injector; - } -} -StaticInjector.injector = null; -StaticInjector.decorators = [ - { type: Injectable } -]; -/** @nocollapse */ -StaticInjector.ctorParameters = () => [ - { type: Injector } -]; -if (false) { - /** @type {?} */ - StaticInjector.injector; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdGljLWluamVjdG9yLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3BsdWdpbnMvc2VsZWN0LXNuYXBzaG90L3N0YXRpYy1pbmplY3Rvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHckQsTUFBTSxPQUFPLGNBQWM7Ozs7SUFHekIsWUFBWSxRQUFrQjtRQUM1QixjQUFjLENBQUMsUUFBUSxHQUFHLFFBQVEsQ0FBQztJQUNyQyxDQUFDOztBQUphLHVCQUFRLEdBQW9CLElBQUksQ0FBQzs7WUFGaEQsVUFBVTs7OztZQUZGLFFBQVE7Ozs7SUFJZix3QkFBK0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RvciwgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ASW5qZWN0YWJsZSgpXG5leHBvcnQgY2xhc3MgU3RhdGljSW5qZWN0b3Ige1xuICBwdWJsaWMgc3RhdGljIGluamVjdG9yOiBJbmplY3RvciB8IG51bGwgPSBudWxsO1xuXG4gIGNvbnN0cnVjdG9yKGluamVjdG9yOiBJbmplY3Rvcikge1xuICAgIFN0YXRpY0luamVjdG9yLmluamVjdG9yID0gaW5qZWN0b3I7XG4gIH1cbn1cbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/providers/locale.provider.js b/npm/ng-packs/dist/core/esm2015/lib/providers/locale.provider.js deleted file mode 100644 index 1c484c4d2d3..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/providers/locale.provider.js +++ /dev/null @@ -1,44 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/providers/locale.provider.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { LOCALE_ID } from '@angular/core'; -import localesMapping from '../constants/different-locales'; -import { LocalizationService } from '../services/localization.service'; -export class LocaleId extends String { - /** - * @param {?} localizationService - */ - constructor(localizationService) { - super(); - this.localizationService = localizationService; - } - /** - * @return {?} - */ - toString() { - const { currentLang } = this.localizationService; - return localesMapping[currentLang] || currentLang; - } - /** - * @return {?} - */ - valueOf() { - return this.toString(); - } -} -if (false) { - /** - * @type {?} - * @private - */ - LocaleId.prototype.localizationService; -} -/** @type {?} */ -export const LocaleProvider = { - provide: LOCALE_ID, - useClass: LocaleId, - deps: [LocalizationService], -}; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYWxlLnByb3ZpZGV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HJcbmltcG9ydCB7IExvY2FsaXphdGlvblNlcnZpY2UgfSBmcm9tICcuLi9zZXJ2aWNlcy9sb2NhbGl6YXRpb24uc2VydmljZSc7XHJcblxyXG5leHBvcnQgY2xhc3MgTG9jYWxlSWQgZXh0ZW5kcyBTdHJpbmcge1xyXG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgbG9jYWxpemF0aW9uU2VydmljZTogTG9jYWxpemF0aW9uU2VydmljZSkge1xyXG4gICAgc3VwZXIoKTtcclxuICB9XHJcblxyXG4gIHRvU3RyaW5nKCk6IHN0cmluZyB7XHJcbiAgICBjb25zdCB7IGN1cnJlbnRMYW5nIH0gPSB0aGlzLmxvY2FsaXphdGlvblNlcnZpY2U7XHJcbiAgICByZXR1cm4gbG9jYWxlc01hcHBpbmdbY3VycmVudExhbmddIHx8IGN1cnJlbnRMYW5nO1xyXG4gIH1cclxuXHJcbiAgdmFsdWVPZigpOiBzdHJpbmcge1xyXG4gICAgcmV0dXJuIHRoaXMudG9TdHJpbmcoKTtcclxuICB9XHJcbn1cclxuXHJcbmV4cG9ydCBjb25zdCBMb2NhbGVQcm92aWRlcjogUHJvdmlkZXIgPSB7XHJcbiAgcHJvdmlkZTogTE9DQUxFX0lELFxyXG4gIHVzZUNsYXNzOiBMb2NhbGVJZCxcclxuICBkZXBzOiBbTG9jYWxpemF0aW9uU2VydmljZV0sXHJcbn07XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/providers/reuse-strategy.provider.js b/npm/ng-packs/dist/core/esm2015/lib/providers/reuse-strategy.provider.js deleted file mode 100644 index a569143492a..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/providers/reuse-strategy.provider.js +++ /dev/null @@ -1,58 +0,0 @@ -/** - * @fileoverview added by tsickle - * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { RouteReuseStrategy } from '@angular/router'; -export class CustomRouteReuseStategy { - constructor() { - this.handlers = {}; - } - /** - * @param {?} route - * @return {?} - */ - shouldDetach(route) { - return route.data.shouldReuse || false; - } - /** - * @param {?} route - * @param {?} handle - * @return {?} - */ - store(route, handle) { - // if (route.data.shouldReuse) { - this.handlers[route.routeConfig.path] = handle; - // } - } - /** - * @param {?} route - * @return {?} - */ - shouldAttach(route) { - return !!route.routeConfig && !!this.handlers[route.routeConfig.path]; - } - /** - * @param {?} route - * @return {?} - */ - retrieve(route) { - if (!route.routeConfig) - return null; - return this.handlers[route.routeConfig.path]; - } - /** - * @param {?} future - * @param {?} curr - * @return {?} - */ - shouldReuseRoute(future, curr) { - return future.data.shouldReuse || true; - } -} -if (false) { - /** @type {?} */ - CustomRouteReuseStategy.prototype.handlers; -} -/** @type {?} */ -export const RouteReuseProvider = { provide: RouteReuseStrategy, useClass: CustomRouteReuseStategy }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmV1c2Utc3RyYXRlZ3kucHJvdmlkZXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvcHJvdmlkZXJzL3JldXNlLXN0cmF0ZWd5LnByb3ZpZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFFQSxPQUFPLEVBQUUsa0JBQWtCLEVBQStDLE1BQU0saUJBQWlCLENBQUM7QUFFbEcsTUFBTSxPQUFPLHVCQUF1QjtJQUFwQztRQUNFLGFBQVEsR0FBMkMsRUFBRSxDQUFDO0lBd0J4RCxDQUFDOzs7OztJQXRCQyxZQUFZLENBQUMsS0FBNkI7UUFDeEMsT0FBTyxLQUFLLENBQUMsSUFBSSxDQUFDLFdBQVcsSUFBSSxLQUFLLENBQUM7SUFDekMsQ0FBQzs7Ozs7O0lBRUQsS0FBSyxDQUFDLEtBQTZCLEVBQUUsTUFBVTtRQUM3QyxnQ0FBZ0M7UUFDaEMsSUFBSSxDQUFDLFFBQVE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m91dGVSZXVzZVByb3ZpZGVyOiBQcm92aWRlciA9IHsgcHJvdmlkZTogUm91dGVSZXVzZVN0cmF0ZWd5LCB1c2VDbGFzczogQ3VzdG9tUm91dGVSZXVzZVN0YXRlZ3kgfTtcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/services/application-configuration.service.js b/npm/ng-packs/dist/core/esm2015/lib/services/application-configuration.service.js deleted file mode 100644 index 80b6de773ee..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/services/application-configuration.service.js +++ /dev/null @@ -1,46 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/application-configuration.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { RestService } from './rest.service'; -import * as i0 from "@angular/core"; -import * as i1 from "./rest.service"; -export class ApplicationConfigurationService { - /** - * @param {?} rest - */ - constructor(rest) { - this.rest = rest; - } - /** - * @return {?} - */ - getConfiguration() { - /** @type {?} */ - const request = { - method: 'GET', - url: '/api/abp/application-configuration', - }; - return this.rest.request(request); - } -} -ApplicationConfigurationService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -ApplicationConfigurationService.ctorParameters = () => [ - { type: RestService } -]; -/** @nocollapse */ ApplicationConfigurationService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ApplicationConfigurationService_Factory() { return new ApplicationConfigurationService(i0.ɵɵinject(i1.RestService)); }, token: ApplicationConfigurationService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - ApplicationConfigurationService.prototype.rest; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb24tY29uZmlndXJhdGlvbi5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGli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uZXhwb3J0IGNsYXNzIEFwcGxpY2F0aW9uQ29uZmlndXJhdGlvblNlcnZpY2Uge1xyXG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgcmVzdDogUmVzdFNlcnZpY2UpIHt9XHJcblxyXG4gIGdldENvbmZpZ3VyYXRpb24oKTogT2JzZXJ2YWJsZTxBcHBsaWNhdGlvbkNvbmZpZ3VyYXRpb24uUmVzcG9uc2U+IHtcclxuICAgIGNvbnN0IHJlcXVlc3Q6IFJlc3QuUmVxdWVzdDxudWxsPiA9IHtcclxuICAgICAgbWV0aG9kOiAnR0VUJyxcclxuICAgICAgdXJsOiAnL2FwaS9hYnAvYXBwbGljYXRpb24tY29uZmlndXJhdGlvbicsXHJcbiAgICB9O1xyXG5cclxuICAgIHJldHVybiB0aGlzLnJlc3QucmVxdWVzdDxudWxsLCBBcHBsaWNhdGlvbkNvbmZpZ3VyYXRpb24uUmVzcG9uc2U+KHJlcXVlc3QpO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/services/config-state.service.js b/npm/ng-packs/dist/core/esm2015/lib/services/config-state.service.js deleted file mode 100644 index 4a60a29d4d7..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/services/config-state.service.js +++ /dev/null @@ -1,104 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/config-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { ConfigState } from '../states'; -import * as i0 from "@angular/core"; -import * as i1 from "@ngxs/store"; -export class ConfigStateService { - /** - * @param {?} store - */ - constructor(store) { - this.store = store; - } - /** - * @return {?} - */ - getAll() { - return this.store.selectSnapshot(ConfigState.getAll); - } - /** - * @return {?} - */ - getApplicationInfo() { - return this.store.selectSnapshot(ConfigState.getApplicationInfo); - } - /** - * @param {...?} args - * @return {?} - */ - getOne(...args) { - return this.store.selectSnapshot(ConfigState.getOne(...args)); - } - /** - * @param {...?} args - * @return {?} - */ - getDeep(...args) { - return this.store.selectSnapshot(ConfigState.getDeep(...args)); - } - /** - * @param {...?} args - * @return {?} - */ - getRoute(...args) { - return this.store.selectSnapshot(ConfigState.getRoute(...args)); - } - /** - * @param {...?} args - * @return {?} - */ - getApiUrl(...args) { - return this.store.selectSnapshot(ConfigState.getApiUrl(...args)); - } - /** - * @param {...?} args - * @return {?} - */ - getSetting(...args) { - return this.store.selectSnapshot(ConfigState.getSetting(...args)); - } - /** - * @param {...?} args - * @return {?} - */ - getSettings(...args) { - return this.store.selectSnapshot(ConfigState.getSettings(...args)); - } - /** - * @param {...?} args - * @return {?} - */ - getGrantedPolicy(...args) { - return this.store.selectSnapshot(ConfigState.getGrantedPolicy(...args)); - } - /** - * @param {...?} args - * @return {?} - */ - getLocalization(...args) { - return this.store.selectSnapshot(ConfigState.getLocalization(...args)); - } -} -ConfigStateService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -ConfigStateService.ctorParameters = () => [ - { type: Store } -]; -/** @nocollapse */ ConfigStateService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ConfigStateService_Factory() { return new ConfigStateService(i0.ɵɵinject(i1.Store)); }, token: ConfigStateService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - ConfigStateService.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLXN0YXRlLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvY29uZmlnLXN0YXRlLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzND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No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/services/config.service.js b/npm/ng-packs/dist/core/esm2015/lib/services/config.service.js deleted file mode 100644 index 7af27ef2e69..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/services/config.service.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * @fileoverview added by tsickle - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { ConfigState } from '../states'; -import * as i0 from '@angular/core'; -import * as i1 from '@ngxs/store'; -export class ConfigService { - /** - * @param {?} store - */ - constructor(store) { - this.store = store; - } - /** - * @return {?} - */ - getAll() { - return this.store.selectSnapshot(ConfigState.getAll); - } - /** - * @param {?} key - * @return {?} - */ - getOne(key) { - return this.store.selectSnapshot(ConfigState.getOne(key)); - } - /** - * @param {?} keys - * @return {?} - */ - getDeep(keys) { - return this.store.selectSnapshot(ConfigState.getDeep(keys)); - } - /** - * @param {?} key - * @return {?} - */ - getSetting(key) { - return this.store.selectSnapshot(ConfigState.getSetting(key)); - } -} -ConfigService.decorators = [ - { - type: Injectable, - args: [ - { - providedIn: 'root', - }, - ], - }, -]; -/** @nocollapse */ -ConfigService.ctorParameters = () => [{ type: Store }]; -/** @nocollapse */ ConfigService.ngInjectableDef = i0.ɵɵdefineInjectable({ - factory: function ConfigService_Factory() { - return new ConfigService(i0.ɵɵinject(i1.Store)); - }, - token: ConfigService, - providedIn: 'root', -}); -if (false) { - /** - * @type {?} - * @private - */ - ConfigService.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvY29uZmlnLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6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mUnO1xuaW1wb3J0IHsgU3RvcmUgfSBmcm9tICdAbmd4cy9zdG9yZSc7XG5pbXBvcnQgeyBDb25maWdTdGF0ZSB9IGZyb20gJy4uL3N0YXRlcyc7XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxufSlcbmV4cG9ydCBjbGFzcyBDb25maWdTZXJ2aWNlIHtcbiAgY29uc3RydWN0b3IocHJpdmF0ZSBzdG9yZTogU3RvcmUpIHt9XG5cbiAgZ2V0QWxsKCkge1xuICAgIHJldHVybiB0aGlzLnN0b3JlLnNlbGVjdFNuYXBzaG90KENvbmZpZ1N0YXRlLmdldEFsbCk7XG4gIH1cblxuICBnZXRPbmUoa2V5OiBzdHJpbmcpIHtcbiAgICByZXR1cm4gdGhpcy5zdG9yZS5zZWxlY3RTbmFwc2hvdChDb25maWdTdGF0ZS5nZXRPbmUoa2V5KSk7XG4gIH1cblxuICBnZXREZWVwKGtleXM6IHN0cmluZ1tdIHwgc3RyaW5nKSB7XG4gICAgcmV0dXJuIHRoaXMuc3RvcmUuc2VsZWN0U25hcHNob3QoQ29uZmlnU3RhdGUuZ2V0RGVlcChrZXlzKSk7XG4gIH1cblxuICBnZXRTZXR0aW5nKGtleTogc3RyaW5nKSB7XG4gICAgcmV0dXJuIHRoaXMuc3RvcmUuc2VsZWN0U25hcHNob3QoQ29uZmlnU3RhdGUuZ2V0U2V0dGluZyhrZXkpKTtcbiAgfVxufVxuIl19 diff --git a/npm/ng-packs/dist/core/esm2015/lib/services/index.js b/npm/ng-packs/dist/core/esm2015/lib/services/index.js deleted file mode 100644 index f3b8c035ce0..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/services/index.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { ApplicationConfigurationService } from './application-configuration.service'; -export { ConfigStateService } from './config-state.service'; -export { LazyLoadService } from './lazy-load.service'; -export { LocalizationService } from './localization.service'; -export { ProfileService } from './profile.service'; -export { RestService } from './rest.service'; -export { ProfileStateService } from './profile-state.service'; -export { SessionStateService } from './session-state.service'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxnREFBYyxxQ0FBcUMsQ0FBQztBQUNwRCxtQ0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxnQ0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxvQ0FBYyx3QkFBd0IsQ0FBQztBQUN2QywrQkFBYyxtQkFBbUIsQ0FBQztBQUNsQyw0QkFBYyxnQkFBZ0IsQ0FBQztBQUMvQixvQ0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxvQ0FBYyx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYXBwbGljYXRpb24tY29uZmlndXJhdGlvbi5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9jb25maWctc3RhdGUuc2VydmljZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGF6eS1sb2FkLnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xvY2FsaXphdGlvbi5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9wcm9maWxlLnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL3Jlc3Quc2VydmljZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vcHJvZmlsZS1zdGF0ZS5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9zZXNzaW9uLXN0YXRlLnNlcnZpY2UnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/services/lazy-load.service.js b/npm/ng-packs/dist/core/esm2015/lib/services/lazy-load.service.js deleted file mode 100644 index e492af1abbc..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/services/lazy-load.service.js +++ /dev/null @@ -1,99 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/lazy-load.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { Observable, ReplaySubject, throwError } from 'rxjs'; -import { uuid } from '../utils'; -import * as i0 from "@angular/core"; -export class LazyLoadService { - constructor() { - this.loadedLibraries = {}; - } - /** - * @param {?} urlOrUrls - * @param {?} type - * @param {?=} content - * @param {?=} targetQuery - * @param {?=} position - * @return {?} - */ - load(urlOrUrls, type, content = '', targetQuery = 'body', position = 'beforeend') { - if (!urlOrUrls && !content) { - return throwError('Should pass url or content'); - } - else if (!urlOrUrls && content) { - urlOrUrls = [null]; - } - if (!Array.isArray(urlOrUrls)) { - urlOrUrls = [urlOrUrls]; - } - return new Observable((/** - * @param {?} subscriber - * @return {?} - */ - subscriber => { - ((/** @type {?} */ (urlOrUrls))).forEach((/** - * @param {?} url - * @param {?} index - * @return {?} - */ - (url, index) => { - /** @type {?} */ - const key = url ? url.slice(url.lastIndexOf('/') + 1) : uuid(); - if (this.loadedLibraries[key]) { - subscriber.next(); - subscriber.complete(); - return; - } - this.loadedLibraries[key] = new ReplaySubject(); - /** @type {?} */ - let library; - if (type === 'script') { - library = document.createElement('script'); - library.type = 'text/javascript'; - if (url) { - ((/** @type {?} */ (library))).src = url; - } - ((/** @type {?} */ (library))).text = content; - } - else if (url) { - library = document.createElement('link'); - library.type = 'text/css'; - ((/** @type {?} */ (library))).rel = 'stylesheet'; - if (url) { - ((/** @type {?} */ (library))).href = url; - } - } - else { - library = document.createElement('style'); - ((/** @type {?} */ (library))).textContent = content; - } - library.onload = (/** - * @return {?} - */ - () => { - this.loadedLibraries[key].next(); - this.loadedLibraries[key].complete(); - if (index === urlOrUrls.length - 1) { - subscriber.next(); - subscriber.complete(); - } - }); - document.querySelector(targetQuery).insertAdjacentElement(position, library); - })); - })); - } -} -LazyLoadService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ LazyLoadService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function LazyLoadService_Factory() { return new LazyLoadService(); }, token: LazyLoadService, providedIn: "root" }); -if (false) { - /** @type {?} */ - LazyLoadService.prototype.loadedLibraries; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF6eS1sb2FkLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvbGF6eS1sb2FkLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxVQUFVLEVBQUUsYUFBYSxFQUFFLFVBQVUsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUM3RCxPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sVUFBVSxDQUFDOztBQUtoQyxNQUFNLE9BQU8sZUFBZTtJQUg1QjtRQUlFLG9CQUFlLEdBQTJDLEVBQUUsQ0FBQztLQW1FOUQ7Ozs7Ozs7OztJQWpFQyxJQUFJLENBQ0YsU0FBNEIsRUFDNUIsSUFBd0IsRUFDeEIsVUFBa0IsRUFBRSxFQUNwQixjQUFzQixNQUFNLEVBQzVCLFdBQTJCLFdBQVc7UUFFdEMsSUFBSSxDQUFDLFNBQVMsSUFBSSxDQUFDLE9BQU8sRUFBRTtZQUMxQixPQUFPLFVBQVUsQ0FBQy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ZW50KSB7XHJcbiAgICAgIHJldHVybiB0aHJvd0Vycm9yKCdTaG91bGQgcGFzcyB1cmwgb3IgY29udGVudCcpO1xyXG4gICAgfSBlbHNlIGlmICghdXJsT3JVcmxzICYmIGNvbnRlbnQpIHtcclxuICAgICAgdXJsT3JVcmxzID0gW251bGxdO1xyXG4gICAgfVxyXG5cclxuICAgIGlmICghQXJyYXkuaXNBcnJheSh1cmxPclVybHMpKSB7XHJcbiAgICAgIHVybE9yVXJscyA9IFt1cmxPclVybHNdO1xyXG4gICAgfVxyXG5cclxuICAgIHJldHVybiBuZXcgT2JzZXJ2YWJsZShzdWJzY3JpYmVyID0+IHtcclxuICAgICAgKHVybE9yVXJscyBhcyBzdHJpbmdbXSkuZm9yRWFjaCgodXJsLCBpbmRleCkgPT4ge1xyXG4gICAgICAgIGNvbnN0IGtleSA9IHVybCA/IHVybC5zbGljZSh1cmwubGFzdEluZGV4T2YoJy8nKSArIDEpIDogdXVpZCgpO1xyXG5cclxuICAgICAgICBpZiAodGhpcy5sb2FkZWRMaWJyYXJpZXNba2V5XSkge1xyXG4gICAgICAgICAgc3Vic2NyaWJlci5uZXh0KCk7XHJcbiAgICAgICAgICBzdWJzY3JpYmVyLmNvbXBsZXRlKCk7XHJcbiAgICAgICAgICByZXR1cm47XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICB0aGlzLmxvYWRlZExpYnJhcmllc1trZXldID0gbmV3IFJlcGxheVN1YmplY3QoKTtcclxuXHJcbiAgICAgICAgbGV0IGxpYnJhcnk7XHJcbiAgICAgICAgaWYgKHR5cGUgPT09ICdzY3JpcHQnKSB7XHJcbiAgICAgICAgICBsaWJyYXJ5ID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnc2NyaXB0Jyk7XHJcbiAgICAgICAgICBsaWJyYXJ5LnR5cGUgPSAndGV4dC9qYXZhc2NyaXB0JztcclxuICAgICAgICAgIGlmICh1cmwpIHtcclxuICAgICAgICAgICAgKGxpYnJhcnkgYXMgSFRNTFNjcmlwdEVsZW1lbnQpLnNyYyA9IHVybDtcclxuICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAobGlicmFyeSBhcyBIVE1MU2NyaXB0RWxlbWVudCkudGV4dCA9IGNvbnRlbnQ7XHJcbiAgICAgICAgfSBlbHNlIGlmICh1cmwpIHtcclxuICAgICAgICAgIGxpYnJhcnkgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdsaW5rJyk7XHJcbiAgICAgICAgICBsaWJyYXJ5LnR5cGUgPSAndGV4dC9jc3MnO1xyXG4gICAgICAgICAgKGxpYnJhcnkgYXMgSFRNTExpbmtFbGVtZW50KS5yZWwgPSAnc3R5bGVzaGVldCc7XHJcblxyXG4gICAgICAgICAgaWYgKHVybCkge1xyXG4gICAgICAgICAgICAobGlicmFyeSBhcyBIVE1MTGlua0VsZW1lbnQpLmhyZWYgPSB1cmw7XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgIGxpYnJhcnkgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdzdHlsZScpO1xyXG4gICAgICAgICAgKGxpYnJhcnkgYXMgSFRNTFN0eWxlRWxlbWVudCkudGV4dENvbnRlbnQgPSBjb250ZW50O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgbGlicmFyeS5vbmxvYWQgPSAoKSA9PiB7XHJcbiAgICAgICAgICB0aGlzLmxvYWRlZExpYnJhcmllc1trZXldLm5leHQoKTtcclxuICAgICAgICAgIHRoaXMubG9hZGVkTGlicmFyaWVzW2tleV0uY29tcGxldGUoKTtcclxuXHJcbiAgICAgICAgICBpZiAoaW5kZXggPT09IHVybE9yVXJscy5sZW5ndGggLSAxKSB7XHJcbiAgICAgICAgICAgIHN1YnNjcmliZXIubmV4dCgpO1xyXG4gICAgICAgICAgICBzdWJzY3JpYmVyLmNvbXBsZXRlKCk7XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfTtcclxuXHJcbiAgICAgICAgZG9jdW1lbnQucXVlcnlTZWxlY3Rvcih0YXJnZXRRdWVyeSkuaW5zZXJ0QWRqYWNlbnRFbGVtZW50KHBvc2l0aW9uLCBsaWJyYXJ5KTtcclxuICAgICAgfSk7XHJcbiAgICB9KTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/services/localization.service.js b/npm/ng-packs/dist/core/esm2015/lib/services/localization.service.js deleted file mode 100644 index ac52bcb07b5..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/services/localization.service.js +++ /dev/null @@ -1,116 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/localization.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Injectable, NgZone, Optional, SkipSelf } from '@angular/core'; -import { Router } from '@angular/router'; -import { Store } from '@ngxs/store'; -import { noop } from 'rxjs'; -import { ConfigState } from '../states/config.state'; -import { registerLocale } from '../utils/initial-utils'; -import * as i0 from "@angular/core"; -import * as i1 from "@ngxs/store"; -import * as i2 from "@angular/router"; -export class LocalizationService { - /** - * @param {?} store - * @param {?} router - * @param {?} ngZone - * @param {?} otherInstance - */ - constructor(store, router, ngZone, otherInstance) { - this.store = store; - this.router = router; - this.ngZone = ngZone; - if (otherInstance) - throw new Error('LocalizationService should have only one instance.'); - } - /** - * @return {?} - */ - get currentLang() { - return this.store.selectSnapshot((/** - * @param {?} state - * @return {?} - */ - state => state.SessionState.language)); - } - /** - * @param {?} reuse - * @return {?} - */ - setRouteReuse(reuse) { - this.router.routeReuseStrategy.shouldReuseRoute = reuse; - } - /** - * @param {?} locale - * @return {?} - */ - registerLocale(locale) { - const { shouldReuseRoute } = this.router.routeReuseStrategy; - this.setRouteReuse((/** - * @return {?} - */ - () => false)); - this.router.navigated = false; - return registerLocale(locale).then((/** - * @return {?} - */ - () => { - this.ngZone.run((/** - * @return {?} - */ - () => tslib_1.__awaiter(this, void 0, void 0, function* () { - yield this.router.navigateByUrl(this.router.url).catch(noop); - this.setRouteReuse(shouldReuseRoute); - }))); - })); - } - /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - get(key, ...interpolateParams) { - return this.store.select(ConfigState.getLocalization(key, ...interpolateParams)); - } - /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - instant(key, ...interpolateParams) { - return this.store.selectSnapshot(ConfigState.getLocalization(key, ...interpolateParams)); - } -} -LocalizationService.decorators = [ - { type: Injectable, args: [{ providedIn: 'root' },] } -]; -/** @nocollapse */ -LocalizationService.ctorParameters = () => [ - { type: Store }, - { type: Router }, - { type: NgZone }, - { type: LocalizationService, decorators: [{ type: Optional }, { type: SkipSelf }] } -]; -/** @nocollapse */ LocalizationService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function LocalizationService_Factory() { return new LocalizationService(i0.ɵɵinject(i1.Store), i0.ɵɵinject(i2.Router), i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(LocalizationService, 12)); }, token: LocalizationService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - LocalizationService.prototype.store; - /** - * @type {?} - * @private - */ - LocalizationService.prototype.router; - /** - * @type {?} - * @private - */ - LocalizationService.prototype.ngZone; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYWxpemF0aW9uLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvbG9jYWxpemF0aW9uLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsUUFBUSxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN2RSxPQUFPLEVBQTBCLE1B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iAgZ2V0KFxyXG4gICAga2V5OiBzdHJpbmcgfCBDb25maWcuTG9jYWxpemF0aW9uV2l0aERlZmF1bHQsXHJcbiAgICAuLi5pbnRlcnBvbGF0ZVBhcmFtczogc3RyaW5nW11cclxuICApOiBPYnNlcnZhYmxlPHN0cmluZz4ge1xyXG4gICAgcmV0dXJuIHRoaXMuc3RvcmUuc2VsZWN0KENvbmZpZ1N0YXRlLmdldExvY2FsaXphdGlvbihrZXksIC4uLmludGVycG9sYXRlUGFyYW1zKSk7XHJcbiAgfVxyXG5cclxuICBpbnN0YW50KGtleTogc3RyaW5nIHwgQ29uZmlnLkxvY2FsaXphdGlvbldpdGhEZWZhdWx0LCAuLi5pbnRlcnBvbGF0ZVBhcmFtczogc3RyaW5nW10pOiBzdHJpbmcge1xyXG4gICAgcmV0dXJuIHRoaXMuc3RvcmUuc2VsZWN0U25hcHNob3QoQ29uZmlnU3RhdGUuZ2V0TG9jYWxpemF0aW9uKGtleSwgLi4uaW50ZXJwb2xhdGVQYXJhbXMpKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/services/profile-state.service.js b/npm/ng-packs/dist/core/esm2015/lib/services/profile-state.service.js deleted file mode 100644 index 4c57b71342e..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/services/profile-state.service.js +++ /dev/null @@ -1,42 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/profile-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { ProfileState } from '../states'; -import * as i0 from "@angular/core"; -import * as i1 from "@ngxs/store"; -export class ProfileStateService { - /** - * @param {?} store - */ - constructor(store) { - this.store = store; - } - /** - * @return {?} - */ - getProfile() { - return this.store.selectSnapshot(ProfileState.getProfile); - } -} -ProfileStateService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -ProfileStateService.ctorParameters = () => [ - { type: Store } -]; -/** @nocollapse */ ProfileStateService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ProfileStateService_Factory() { return new ProfileStateService(i0.ɵɵinject(i1.Store)); }, token: ProfileStateService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - ProfileStateService.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZmlsZS1zdGF0ZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3NlcnZpY2VzL3Byb2ZpbGUtc3RhdGUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUNwQyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sV0FBVyxDQUFDOzs7QUFLekMsTUFBTSxPQUFPLG1CQUFtQjs7OztJQUM5QixZQUFvQixLQUFZO1FBQVosVUFBSyxHQUFMLEtBQUssQ0FBTztJQUFHLENBQUM7Ozs7SUFFcEMsVUFBVTtRQUNSLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQyxjQUFjLENBQUMsWUFBWSxDQUFDLFVBQVUsQ0FBQyxDQUFDO0lBQzVELENBQUM7OztZQVJGLFVBQVUsU0FBQztnQkFDVixVQUFVLEVBQUUsTUFBTTthQUNuQjs7OztZQUxRLEtBQUs7Ozs7Ozs7O0lBT0Esb0NBQW9CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBTdG9yZSB9IGZyb20gJ0BuZ3hzL3N0b3JlJztcclxuaW1wb3J0IHsgUHJvZmlsZVN0YXRlIH0gZnJvbSAnLi4vc3RhdGVzJztcclxuXHJcbkBJbmplY3RhYmxlKHtcclxuICBwcm92aWRlZEluOiAncm9vdCcsXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBQcm9maWxlU3RhdGVTZXJ2aWNlIHtcclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHN0b3JlOiBTdG9yZSkge31cclxuXHJcbiAgZ2V0UHJvZmlsZSgpIHtcclxuICAgIHJldHVybiB0aGlzLnN0b3JlLnNlbGVjdFNuYXBzaG90KFByb2ZpbGVTdGF0ZS5nZXRQcm9maWxlKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/services/profile.service.js b/npm/ng-packs/dist/core/esm2015/lib/services/profile.service.js deleted file mode 100644 index 19c7bfe3286..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/services/profile.service.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/profile.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { RestService } from './rest.service'; -import * as i0 from "@angular/core"; -import * as i1 from "./rest.service"; -export class ProfileService { - /** - * @param {?} rest - */ - constructor(rest) { - this.rest = rest; - } - /** - * @return {?} - */ - get() { - /** @type {?} */ - const request = { - method: 'GET', - url: '/api/identity/my-profile', - }; - return this.rest.request(request); - } - /** - * @param {?} body - * @return {?} - */ - update(body) { - /** @type {?} */ - const request = { - method: 'PUT', - url: '/api/identity/my-profile', - body, - }; - return this.rest.request(request); - } - /** - * @param {?} body - * @param {?=} skipHandleError - * @return {?} - */ - changePassword(body, skipHandleError = false) { - /** @type {?} */ - const request = { - method: 'POST', - url: '/api/identity/my-profile/change-password', - body, - }; - return this.rest.request(request, { skipHandleError }); - } -} -ProfileService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -ProfileService.ctorParameters = () => [ - { type: RestService } -]; -/** @nocollapse */ ProfileService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ProfileService_Factory() { return new ProfileService(i0.ɵɵinject(i1.RestService)); }, token: ProfileService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - ProfileService.prototype.rest; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZmlsZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3NlcnZpY2VzL3Byb2ZpbGUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFM0MsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDOzs7QUFNN0MsTUFBTSxPQUFPLGNBQWM7Ozs7SUFDekIsWUFBb0IsSUFBaUI7UUFBakIsU0FBSSxHQUFKLElBQUksQ0FBYTtJQUFHLENBQUM7Ozs7SUFFekMsR0FBRzs7Y0FDSyxPQUFPLEdBQXVCO1lBQ2xDLE1BQU0sRUFBRSxLQUFLO1lBQ2IsR0FBRyxFQUFFLDBCQUEwQjtTQUNoQztRQUVELE9BQU8sSUFBSSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQXlCLE9BQU8sQ0FBQyxDQUFDO0lBQzVELENBQUM7Ozs7O0lBRUQsTUFBTSxDQUFDLElBQXNCOztjQUNyQixPQUFPLEdBQW1DO1lBQzlDLE1BQU0sRUFBRSxLQUFLO1lBQ2IsR0FBRyxFQUFFLDBCQUEwQjtZQUMvQixJQUFJO1NBQ0w7UUFFRCxPQUFPLElBQUksQ0FBQyxJQUFJLENBQ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9yIH0pO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/services/rest.service.js b/npm/ng-packs/dist/core/esm2015/lib/services/rest.service.js deleted file mode 100644 index 18e3e9c00c3..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/services/rest.service.js +++ /dev/null @@ -1,92 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/rest.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { HttpClient } from '@angular/common/http'; -import { Injectable } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { throwError } from 'rxjs'; -import { catchError, take, tap } from 'rxjs/operators'; -import { RestOccurError } from '../actions/rest.actions'; -import { ConfigState } from '../states/config.state'; -import * as i0 from "@angular/core"; -import * as i1 from "@angular/common/http"; -import * as i2 from "@ngxs/store"; -export class RestService { - /** - * @param {?} http - * @param {?} store - */ - constructor(http, store) { - this.http = http; - this.store = store; - } - /** - * @param {?} err - * @return {?} - */ - handleError(err) { - this.store.dispatch(new RestOccurError(err)); - console.error(err); - return throwError(err); - } - /** - * @template T, R - * @param {?} request - * @param {?=} config - * @param {?=} api - * @return {?} - */ - request(request, config, api) { - config = config || ((/** @type {?} */ ({}))); - const { observe = "body" /* Body */, skipHandleError } = config; - /** @type {?} */ - const url = (api || this.store.selectSnapshot(ConfigState.getApiUrl())) + request.url; - const { method, params } = request, options = tslib_1.__rest(request, ["method", "params"]); - return this.http - .request(method, url, (/** @type {?} */ (Object.assign({ observe }, (params && { - params: Object.keys(params).reduce((/** - * @param {?} acc - * @param {?} key - * @return {?} - */ - (acc, key) => (Object.assign({}, acc, (typeof params[key] !== 'undefined' && params[key] !== '' && { [key]: params[key] })))), {}), - }), options)))) - .pipe(observe === "body" /* Body */ ? take(1) : tap(), catchError((/** - * @param {?} err - * @return {?} - */ - err => { - if (skipHandleError) { - return throwError(err); - } - return this.handleError(err); - }))); - } -} -RestService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -RestService.ctorParameters = () => [ - { type: HttpClient }, - { type: Store } -]; -/** @nocollapse */ RestService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function RestService_Factory() { return new RestService(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(i2.Store)); }, token: RestService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - RestService.prototype.http; - /** - * @type {?} - * @private - */ - RestService.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3NlcnZpY2VzL3Jlc3Quc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFlLE1BQU0sc0JBQXNCLENBQUM7QUFDL0QsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsS0FBSyxFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQ3BDLE9BQU8sRUFBYyxVQUFVLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDOUMsT0FBTyxFQUFFLFVBQVUsRUFBRSxJQUFJLEVBQUUsR0FBRyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDdkQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBRXpELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQzs7OztBQUtyRCxNQUFNLE9BQU8sV0FBVzs7Ozs7SUFDdEIsWUFBb0IsSUFBZ0IsRUFBVSxLQUFZO1FBQXRDLFNBQUksR0FBSixJQUFJLENBQVk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JsO1xyXG4gICAgY29uc3QgeyBtZXRob2QsIHBhcmFtcywgLi4ub3B0aW9ucyB9ID0gcmVxdWVzdDtcclxuXHJcbiAgICByZXR1cm4gdGhpcy5odHRwXHJcbiAgICAgIC5yZXF1ZXN0PFQ+KG1ldGhvZCwgdXJsLCB7XHJcbiAgICAgICAgb2JzZXJ2ZSxcclxuICAgICAgICAuLi4ocGFyYW1zICYmIHtcclxuICAgICAgICAgIHBhcmFtczogT2JqZWN0LmtleXMocGFyYW1zKS5yZWR1Y2UoXHJcbiAgICAgICAgICAgIChhY2MsIGtleSkgPT4gKHtcclxuICAgICAgICAgICAgICAuLi5hY2MsXHJcbiAgICAgICAgICAgICAgLi4uKHR5cGVvZiBwYXJhbXNba2V5XSAhPT0gJ3VuZGVmaW5lZCcgJiYgcGFyYW1zW2tleV0gIT09ICcnICYmIHsgW2tleV06IHBhcmFtc1trZXldIH0pLFxyXG4gICAgICAgICAgICB9KSxcclxuICAgICAgICAgICAge30sXHJcbiAgICAgICAgICApLFxyXG4gICAgICAgIH0pLFxyXG4gICAgICAgIC4uLm9wdGlvbnMsXHJcbiAgICAgIH0gYXMgYW55KVxyXG4gICAgICAucGlwZShcclxuICAgICAgICBvYnNlcnZlID09PSBSZXN0Lk9ic2VydmUuQm9keSA/IHRha2UoMSkgOiB0YXAoKSxcclxuICAgICAgICBjYXRjaEVycm9yKGVyciA9PiB7XHJcbiAgICAgICAgICBpZiAoc2tpcEhhbmRsZUVycm9yKSB7XHJcbiAgICAgICAgICAgIHJldHVybiB0aHJvd0Vycm9yKGVycik7XHJcbiAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgcmV0dXJuIHRoaXMuaGFuZGxlRXJyb3IoZXJyKTtcclxuICAgICAgICB9KSxcclxuICAgICAgKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/services/session-state.service.js b/npm/ng-packs/dist/core/esm2015/lib/services/session-state.service.js deleted file mode 100644 index 6299d8fc0ab..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/services/session-state.service.js +++ /dev/null @@ -1,48 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/session-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { SessionState } from '../states'; -import * as i0 from "@angular/core"; -import * as i1 from "@ngxs/store"; -export class SessionStateService { - /** - * @param {?} store - */ - constructor(store) { - this.store = store; - } - /** - * @return {?} - */ - getLanguage() { - return this.store.selectSnapshot(SessionState.getLanguage); - } - /** - * @return {?} - */ - getTenant() { - return this.store.selectSnapshot(SessionState.getTenant); - } -} -SessionStateService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -SessionStateService.ctorParameters = () => [ - { type: Store } -]; -/** @nocollapse */ SessionStateService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function SessionStateService_Factory() { return new SessionStateService(i0.ɵɵinject(i1.Store)); }, token: SessionStateService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - SessionStateService.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vzc2lvbi1zdGF0ZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3NlcnZpY2VzL3Nlc3Npb24tc3RhdGUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUNwQyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sV0FBVyxDQUFDOzs7QUFLekMsT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cclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/states/config.state.js b/npm/ng-packs/dist/core/esm2015/lib/states/config.state.js deleted file mode 100644 index 5ee6c728966..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/states/config.state.js +++ /dev/null @@ -1,442 +0,0 @@ -var ConfigState_1; -/** - * @fileoverview added by tsickle - * Generated from: lib/states/config.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Action, createSelector, Selector, State, StateContext, Store, } from '@ngxs/store'; -import { of } from 'rxjs'; -import { switchMap, tap } from 'rxjs/operators'; -import snq from 'snq'; -import { GetAppConfiguration, PatchRouteByName, } from '../actions/config.actions'; -import { SetLanguage } from '../actions/session.actions'; -import { ApplicationConfigurationService } from '../services/application-configuration.service'; -import { organizeRoutes } from '../utils/route-utils'; -import { SessionState } from './session.state'; -let ConfigState = ConfigState_1 = class ConfigState { - /** - * @param {?} appConfigurationService - * @param {?} store - */ - constructor(appConfigurationService, store) { - this.appConfigurationService = appConfigurationService; - this.store = store; - } - /** - * @param {?} state - * @return {?} - */ - static getAll(state) { - return state; - } - /** - * @param {?} state - * @return {?} - */ - static getApplicationInfo(state) { - return state.environment.application || ((/** @type {?} */ ({}))); - } - /** - * @param {?} key - * @return {?} - */ - static getOne(key) { - /** @type {?} */ - const selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - (state) => { - return state[key]; - })); - return selector; - } - /** - * @param {?} keys - * @return {?} - */ - static getDeep(keys) { - if (typeof keys === 'string') { - keys = keys.split('.'); - } - if (!Array.isArray(keys)) { - throw new Error('The argument must be a dot string or an string array.'); - } - /** @type {?} */ - const selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - (state) => { - return ((/** @type {?} */ (keys))).reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - (acc, val) => { - if (acc) { - return acc[val]; - } - return undefined; - }), state); - })); - return selector; - } - /** - * @param {?=} path - * @param {?=} name - * @param {?=} url - * @return {?} - */ - static getRoute(path, name, url) { - /** @type {?} */ - const selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - (state) => { - const { flattedRoutes } = state; - return ((/** @type {?} */ (flattedRoutes))).find((/** - * @param {?} route - * @return {?} - */ - route => { - if (path && route.path === path) { - return route; - } - else if (name && route.name === name) { - return route; - } - else if (url && route.url === url) { - return route; - } - })); - })); - return selector; - } - /** - * @param {?=} key - * @return {?} - */ - static getApiUrl(key) { - /** @type {?} */ - const selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - (state) => { - return state.environment.apis[key || 'default'].url; - })); - return selector; - } - /** - * @param {?} key - * @return {?} - */ - static getSetting(key) { - /** @type {?} */ - const selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - (state) => { - return snq((/** - * @return {?} - */ - () => state.setting.values[key])); - })); - return selector; - } - /** - * @param {?=} keyword - * @return {?} - */ - static getSettings(keyword) { - /** @type {?} */ - const selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - (state) => { - if (keyword) { - /** @type {?} */ - const keys = snq((/** - * @return {?} - */ - () => Object.keys(state.setting.values).filter((/** - * @param {?} key - * @return {?} - */ - key => key.indexOf(keyword) > -1))), []); - if (keys.length) { - return keys.reduce((/** - * @param {?} acc - * @param {?} key - * @return {?} - */ - (acc, key) => (Object.assign({}, acc, { [key]: state.setting.values[key] }))), {}); - } - } - return snq((/** - * @return {?} - */ - () => state.setting.values), {}); - })); - return selector; - } - /** - * @param {?} key - * @return {?} - */ - static getGrantedPolicy(key) { - /** @type {?} */ - const selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - (state) => { - if (!key) - return true; - /** @type {?} */ - const getPolicy = (/** - * @param {?} k - * @return {?} - */ - k => snq((/** - * @return {?} - */ - () => state.auth.grantedPolicies[k]), false)); - /** @type {?} */ - const orRegexp = /\|\|/g; - /** @type {?} */ - const andRegexp = /&&/g; - if (orRegexp.test(key)) { - /** @type {?} */ - const keys = key.split('||').filter((/** - * @param {?} k - * @return {?} - */ - k => !!k)); - if (keys.length !== 2) - return false; - return getPolicy(keys[0].trim()) || getPolicy(keys[1].trim()); - } - else if (andRegexp.test(key)) { - /** @type {?} */ - const keys = key.split('&&').filter((/** - * @param {?} k - * @return {?} - */ - k => !!k)); - if (keys.length !== 2) - return false; - return getPolicy(keys[0].trim()) && getPolicy(keys[1].trim()); - } - return getPolicy(key); - })); - return selector; - } - /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - static getLocalization(key, ...interpolateParams) { - /** @type {?} */ - let defaultValue; - if (typeof key !== 'string') { - defaultValue = key.defaultValue; - key = key.key; - } - if (!key) - key = ''; - /** @type {?} */ - const keys = (/** @type {?} */ (key.split('::'))); - /** @type {?} */ - const selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - (state) => { - if (!state.localization) - return defaultValue || key; - const { defaultResourceName } = state.environment.localization; - if (keys[0] === '') { - if (!defaultResourceName) { - throw new Error(`Please check your environment. May you forget set defaultResourceName? - Here is the example: - { production: false, - localization: { - defaultResourceName: 'MyProjectName' - } - }`); - } - keys[0] = snq((/** - * @return {?} - */ - () => defaultResourceName)); - } - /** @type {?} */ - let localization = ((/** @type {?} */ (keys))).reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - (acc, val) => { - if (acc) { - return acc[val]; - } - return undefined; - }), state.localization.values); - interpolateParams = interpolateParams.filter((/** - * @param {?} params - * @return {?} - */ - params => params != null)); - if (localization && interpolateParams && interpolateParams.length) { - interpolateParams.forEach((/** - * @param {?} param - * @return {?} - */ - param => { - localization = localization.replace(/[\'\"]?\{[\d]+\}[\'\"]?/, param); - })); - } - if (typeof localization !== 'string') - localization = ''; - return localization || defaultValue || key; - })); - return selector; - } - /** - * @param {?} __0 - * @return {?} - */ - addData({ patchState, dispatch }) { - return this.appConfigurationService.getConfiguration().pipe(tap((/** - * @param {?} configuration - * @return {?} - */ - configuration => patchState(Object.assign({}, configuration)))), switchMap((/** - * @param {?} configuration - * @return {?} - */ - configuration => { - /** @type {?} */ - let defaultLang = configuration.setting.values['Abp.Localization.DefaultLanguage']; - if (defaultLang.includes(';')) { - defaultLang = defaultLang.split(';')[0]; - } - return this.store.selectSnapshot(SessionState.getLanguage) - ? of(null) - : dispatch(new SetLanguage(defaultLang)); - }))); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - patchRoute({ patchState, getState }, { name, newValue }) { - /** @type {?} */ - let routes = getState().routes; - /** @type {?} */ - const index = routes.findIndex((/** - * @param {?} route - * @return {?} - */ - route => route.name === name)); - routes = patchRouteDeep(routes, name, newValue); - return patchState({ - routes, - }); - } -}; -ConfigState.ctorParameters = () => [ - { type: ApplicationConfigurationService }, - { type: Store } -]; -tslib_1.__decorate([ - Action(GetAppConfiguration), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", void 0) -], ConfigState.prototype, "addData", null); -tslib_1.__decorate([ - Action(PatchRouteByName), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, PatchRouteByName]), - tslib_1.__metadata("design:returntype", void 0) -], ConfigState.prototype, "patchRoute", null); -tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", void 0) -], ConfigState, "getAll", null); -tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", Object) -], ConfigState, "getApplicationInfo", null); -ConfigState = ConfigState_1 = tslib_1.__decorate([ - State({ - name: 'ConfigState', - defaults: (/** @type {?} */ ({})), - }), - tslib_1.__metadata("design:paramtypes", [ApplicationConfigurationService, - Store]) -], ConfigState); -export { ConfigState }; -if (false) { - /** - * @type {?} - * @private - */ - ConfigState.prototype.appConfigurationService; - /** - * @type {?} - * @private - */ - ConfigState.prototype.store; -} -/** - * @param {?} routes - * @param {?} name - * @param {?} newValue - * @param {?=} parentUrl - * @return {?} - */ -function patchRouteDeep(routes, name, newValue, parentUrl = '') { - routes = routes.map((/** - * @param {?} route - * @return {?} - */ - route => { - if (route.name === name) { - newValue.url = `${parentUrl}/${(!newValue.path && newValue.path === '' - ? route.path - : newValue.path) || ''}`; - if (newValue.children && newValue.children.length) { - newValue.children = newValue.children.map((/** - * @param {?} child - * @return {?} - */ - child => (Object.assign({}, child, { url: `${newValue.url}/${child.path}`.replace('//', '/') })))); - } - return Object.assign({}, route, newValue); - } - else if (route.children && route.children.length) { - route.children = patchRouteDeep(route.children, name, newValue, (parentUrl || '/') + route.path); - } - return route; - })); - if (parentUrl) { - // recursive block - return routes; - } - return organizeRoutes(routes); -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLnN0YXRlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3N0YXRlcy9jb25maWcuc3RhdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBLE9BQU8sRUFDTCxNQUFNLEVBQ04sY0FBYyxFQUNkLFFBQVEsRUFDUixLQUFLLEVBQ0wsWUFBWSxFQUNaLEtBQUssR0FDTixNQUFNLGFBQWEsQ0FBQztBQUNyQixPQUFPLEVBQUUsRUFBRSxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQzFCLE9BQU8sRUFBRSxTQUFTLEVBQUUsR0FBRyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDaEQsT0FBTyxHQUFHLE1BQU0sS0FBSyxDQUFDO0FBQ3RCLE9BQU8sRUFDTCxtQkFBbUIsRUFDbkIsZ0JBQWdCLEdBQ2pCLE1BQU0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JykgKyByb3V0ZS5wYXRoLFxyXG4gICAgICApO1xyXG4gICAgfVxyXG5cclxuICAgIHJldHVybiByb3V0ZTtcclxuICB9KTtcclxuXHJcbiAgaWYgKHBhcmVudFVybCkge1xyXG4gICAgLy8gcmVjdXJzaXZlIGJsb2NrXHJcbiAgICByZXR1cm4gcm91dGVzO1xyXG4gIH1cclxuXHJcbiAgcmV0dXJuIG9yZ2FuaXplUm91dGVzKHJvdXRlcyk7XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/states/index.js b/npm/ng-packs/dist/core/esm2015/lib/states/index.js deleted file mode 100644 index 9f9ae37188a..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/states/index.js +++ /dev/null @@ -1,9 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { ProfileState } from './profile.state'; -export { ConfigState } from './config.state'; -export { SessionState } from './session.state'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvc3RhdGVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsNkJBQWMsaUJBQWlCLENBQUM7QUFDaEMsNEJBQWMsZ0JBQWdCLENBQUM7QUFDL0IsNkJBQWMsaUJBQWlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3Byb2ZpbGUuc3RhdGUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2NvbmZpZy5zdGF0ZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc2Vzc2lvbi5zdGF0ZSc7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/states/profile.state.js b/npm/ng-packs/dist/core/esm2015/lib/states/profile.state.js deleted file mode 100644 index 4226f8264eb..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/states/profile.state.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/profile.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Action, Selector, State } from '@ngxs/store'; -import { tap } from 'rxjs/operators'; -import { ChangePassword, GetProfile, UpdateProfile } from '../actions/profile.actions'; -import { ProfileService } from '../services/profile.service'; -let ProfileState = class ProfileState { - /** - * @param {?} profileService - */ - constructor(profileService) { - this.profileService = profileService; - } - /** - * @param {?} __0 - * @return {?} - */ - static getProfile({ profile }) { - return profile; - } - /** - * @param {?} __0 - * @return {?} - */ - getProfile({ patchState }) { - return this.profileService.get().pipe(tap((/** - * @param {?} profile - * @return {?} - */ - profile => patchState({ - profile, - })))); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - updateProfile({ patchState }, { payload }) { - return this.profileService.update(payload).pipe(tap((/** - * @param {?} profile - * @return {?} - */ - profile => patchState({ - profile, - })))); - } - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - changePassword(_, { payload }) { - return this.profileService.changePassword(payload, true); - } -}; -ProfileState.ctorParameters = () => [ - { type: ProfileService } -]; -tslib_1.__decorate([ - Action(GetProfile), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", void 0) -], ProfileState.prototype, "getProfile", null); -tslib_1.__decorate([ - Action(UpdateProfile), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, UpdateProfile]), - tslib_1.__metadata("design:returntype", void 0) -], ProfileState.prototype, "updateProfile", null); -tslib_1.__decorate([ - Action(ChangePassword), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, ChangePassword]), - tslib_1.__metadata("design:returntype", void 0) -], ProfileState.prototype, "changePassword", null); -tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", Object) -], ProfileState, "getProfile", null); -ProfileState = tslib_1.__decorate([ - State({ - name: 'ProfileState', - defaults: (/** @type {?} */ ({})), - }), - tslib_1.__metadata("design:paramtypes", [ProfileService]) -], ProfileState); -export { ProfileState }; -if (false) { - /** - * @type {?} - * @private - */ - ProfileState.prototype.profileService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZmlsZS5zdGF0ZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi9zdGF0ZXMvcHJvZmlsZS5zdGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBRSxLQUFLLEVBQWdCLE1BQU0sYUFBYSxDQUFDO0FBQ3BFLE9BQU8sRUFBRSxHQUFHLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNyQyxPQUFPLEVBQUUsY0FBYyxFQUFFLFVBQVUsRUFBRSxhQUFhLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUV2RixPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sNkJBQTZCLENBQUM7SUFNaEQsWUFBWSxTQUFaLFlBQVk7Ozs7SUFNdkIsWUFBb0IsY0FBOEI7UUFBOUIsbUJBQWMsR0FBZCxjQUFjLENBQWdCO0lBQUcsQ0FBQzs7Ozs7SUFKdEQsTUFBTSxDQUFDLFVBQVUsQ0FBQyxFQUFFLE9BQU8sRUFBaUI7UUFDMUMsT0FBTyxPQUFPLENBQUM7SUFDakIsQ0FBQzs7Ozs7SUF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UHJvZmlsZS5TdGF0ZT4pIHtcclxuICAgIHJldHVybiB0aGlzLnByb2ZpbGVTZXJ2aWNlLmdldCgpLnBpcGUoXHJcbiAgICAgIHRhcChwcm9maWxlID0+XHJcbiAgICAgICAgcGF0Y2hTdGF0ZSh7XHJcbiAgICAgICAgICBwcm9maWxlLFxyXG4gICAgICAgIH0pLFxyXG4gICAgICApLFxyXG4gICAgKTtcclxuICB9XHJcblxyXG4gIEBBY3Rpb24oVXBkYXRlUHJvZmlsZSlcclxuICB1cGRhdGVQcm9maWxlKHsgcGF0Y2hTdGF0ZSB9OiBTdGF0ZUNvbnRleHQ8UHJvZmlsZS5TdGF0ZT4sIHsgcGF5bG9hZCB9OiBVcGRhdGVQcm9maWxlKSB7XHJcbiAgICByZXR1cm4gdGhpcy5wcm9maWxlU2VydmljZS51cGRhdGUocGF5bG9hZCkucGlwZShcclxuICAgICAgdGFwKHByb2ZpbGUgPT5cclxuICAgICAgICBwYXRjaFN0YXRlKHtcclxuICAgICAgICAgIHByb2ZpbGUsXHJcbiAgICAgICAgfSksXHJcbiAgICAgICksXHJcbiAgICApO1xyXG4gIH1cclxuXHJcbiAgQEFjdGlvbihDaGFuZ2VQYXNzd29yZClcclxuICBjaGFuZ2VQYXNzd29yZChfLCB7IHBheWxvYWQgfTogQ2hhbmdlUGFzc3dvcmQpIHtcclxuICAgIHJldHVybiB0aGlzLnByb2ZpbGVTZXJ2aWNlLmNoYW5nZVBhc3N3b3JkKHBheWxvYWQsIHRydWUpO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/states/session.state.js b/npm/ng-packs/dist/core/esm2015/lib/states/session.state.js deleted file mode 100644 index f513cf12a3d..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/states/session.state.js +++ /dev/null @@ -1,101 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/session.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Action, Selector, State } from '@ngxs/store'; -import { from } from 'rxjs'; -import { switchMap } from 'rxjs/operators'; -import { GetAppConfiguration } from '../actions/config.actions'; -import { SetLanguage, SetTenant } from '../actions/session.actions'; -import { LocalizationService } from '../services/localization.service'; -let SessionState = class SessionState { - /** - * @param {?} localizationService - */ - constructor(localizationService) { - this.localizationService = localizationService; - } - /** - * @param {?} __0 - * @return {?} - */ - static getLanguage({ language }) { - return language; - } - /** - * @param {?} __0 - * @return {?} - */ - static getTenant({ tenant }) { - return tenant; - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - setLanguage({ patchState, dispatch }, { payload }) { - patchState({ - language: payload, - }); - return dispatch(new GetAppConfiguration()).pipe(switchMap((/** - * @return {?} - */ - () => from(this.localizationService.registerLocale(payload))))); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - setTenant({ patchState }, { payload }) { - patchState({ - tenant: payload, - }); - } -}; -SessionState.ctorParameters = () => [ - { type: LocalizationService } -]; -tslib_1.__decorate([ - Action(SetLanguage), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, SetLanguage]), - tslib_1.__metadata("design:returntype", void 0) -], SessionState.prototype, "setLanguage", null); -tslib_1.__decorate([ - Action(SetTenant), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, SetTenant]), - tslib_1.__metadata("design:returntype", void 0) -], SessionState.prototype, "setTenant", null); -tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", String) -], SessionState, "getLanguage", null); -tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", Object) -], SessionState, "getTenant", null); -SessionState = tslib_1.__decorate([ - State({ - name: 'SessionState', - defaults: (/** @type {?} */ ({})), - }), - tslib_1.__metadata("design:paramtypes", [LocalizationService]) -], SessionState); -export { SessionState }; -if (false) { - /** - * @type {?} - * @private - */ - SessionState.prototype.localizationService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vzc2lvbi5zdGF0ZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi9zdGF0ZXMvc2Vzc2lvbi5zdGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBRSxLQUFLLEVBQWdCLE1BQU0sYUFBYSxDQUFDO0FBQ3BFLE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDNUIsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzNDLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ2hFLE9BQU8sRUFBRSxXQUFXLEVBQUUsU0FBUyxFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFFcEUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sa0NBQWtDLENBQUM7SUFNMUQsWUFBWSxTQUFaLFlBQVk7Ozs7SUFXdkIsWUFBb0IsbUJBQXdDO1FBQXhDLHdCQUFtQixHQUFuQixtQkFBbUIsQ0FBcUI7SUFBRyxDQUFDOzs7OztJQVRoRSxNQUFNLENBQUMsV0FBVyxDQUFDLEVBQUUsUUFBUSxFQUFpQjtRQUM1QyxPQUFPLFFBQVEsQ0FBQztJQUNsQixDQUFDOzs7OztJQUdELE1BQU0sQ0FBQyxTQUFTLENBQUMsRUFBRSxNQUFNLEVBQWlCO1FBQ3hDLE9BQU8sTUFBTSxDQUFDO0lBQ2hCLENBQUM7Ozs7OztJQU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Rpb25TZXJ2aWNlKSB7fVxyXG5cclxuICBAQWN0aW9uKFNldExhbmd1YWdlKVxyXG4gIHNldExhbmd1YWdlKHsgcGF0Y2hTdGF0ZSwgZGlzcGF0Y2ggfTogU3RhdGVDb250ZXh0PFNlc3Npb24uU3RhdGU+LCB7IHBheWxvYWQgfTogU2V0TGFuZ3VhZ2UpIHtcclxuICAgIHBhdGNoU3RhdGUoe1xyXG4gICAgICBsYW5ndWFnZTogcGF5bG9hZCxcclxuICAgIH0pO1xyXG5cclxuICAgIHJldHVybiBkaXNwYXRjaChuZXcgR2V0QXBwQ29uZmlndXJhdGlvbigpKS5waXBlKFxyXG4gICAgICBzd2l0Y2hNYXAoKCkgPT4gZnJvbSh0aGlzLmxvY2FsaXphdGlvblNlcnZpY2UucmVnaXN0ZXJMb2NhbGUocGF5bG9hZCkpKSxcclxuICAgICk7XHJcbiAgfVxyXG5cclxuICBAQWN0aW9uKFNldFRlbmFudClcclxuICBzZXRUZW5hbnQoeyBwYXRjaFN0YXRlIH06IFN0YXRlQ29udGV4dDxTZXNzaW9uLlN0YXRlPiwgeyBwYXlsb2FkIH06IFNldFRlbmFudCkge1xyXG4gICAgcGF0Y2hTdGF0ZSh7XHJcbiAgICAgIHRlbmFudDogcGF5bG9hZCxcclxuICAgIH0pO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/tokens/common.token.js b/npm/ng-packs/dist/core/esm2015/lib/tokens/common.token.js deleted file mode 100644 index f2caf4f60ea..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/tokens/common.token.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/tokens/common.token.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { InjectionToken } from '@angular/core'; -/** - * @param {?} environment - * @return {?} - */ -export function environmentFactory(environment) { - return Object.assign({}, environment); -} -/** - * @param {?} config - * @return {?} - */ -export function configFactory(config) { - return Object.assign({}, config); -} -/** @type {?} */ -export const ENVIRONMENT = new InjectionToken('ENVIRONMENT'); -/** @type {?} */ -export const CONFIG = new InjectionToken('CONFIG'); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLnRva2VuLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3Rva2Vucy9jb21tb24udG9rZW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7OztBQUcvQyxNQUFNLFVBQVUsa0JBQWtCLENBQUMsV0FBK0I7SUFDaEUseUJBQ0ssV0FBVyxFQUNkO0FBQ0osQ0FBQzs7Ozs7QUFFRCxNQUFNLFVBQVUsYUFBYSxDQUFDLE1BQTJCO0lBQ3ZELHlCQUNLLE1BQU0sRUFDVDtBQUNKLENBQUM7O0FBRUQsTUFBTSxPQUFPLFdBQVcsR0FBRyxJQUFJLGNBQWMsQ0FBQyxhQUFhLENBQUM7O0FBRTVELE1BQU0sT0FBTyxNQUFNLEdBQUcsSUFBSSxjQUFjLENBQUMsUUFBUSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0aW9uVG9rZW4gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgQ29uZmlnIH0gZnJvbSAnLi4vbW9kZWxzJztcclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBlbnZpcm9ubWVudEZhY3RvcnkoZW52aXJvbm1lbnQ6IENvbmZpZy5FbnZpcm9ubWVudCkge1xyXG4gIHJldHVybiB7XHJcbiAgICAuLi5lbnZpcm9ubWVudCxcclxuICB9O1xyXG59XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gY29uZmlnRmFjdG9yeShjb25maWc6IENvbmZpZy5SZXF1aXJlbWVudHMpIHtcclxuICByZXR1cm4ge1xyXG4gICAgLi4uY29uZmlnLFxyXG4gIH07XHJcbn1cclxuXHJcbmV4cG9ydCBjb25zdCBFTlZJUk9OTUVOVCA9IG5ldyBJbmplY3Rpb25Ub2tlbignRU5WSVJPTk1FTlQnKTtcclxuXHJcbmV4cG9ydCBjb25zdCBDT05GSUcgPSBuZXcgSW5qZWN0aW9uVG9rZW4oJ0NPTkZJRycpO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/tokens/index.js b/npm/ng-packs/dist/core/esm2015/lib/tokens/index.js deleted file mode 100644 index 5f9156e69c7..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/tokens/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/tokens/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { environmentFactory, configFactory, ENVIRONMENT, CONFIG } from './common.token'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvdG9rZW5zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsdUVBQWMsZ0JBQWdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NvbW1vbi50b2tlbic7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/utils/common-utils.js b/npm/ng-packs/dist/core/esm2015/lib/utils/common-utils.js deleted file mode 100644 index dd979ec292a..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/utils/common-utils.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/common-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @return {?} - */ -export function noop() { - // tslint:disable-next-line: only-arrow-functions - /** @type {?} */ - const fn = (/** - * @return {?} - */ - function () { }); - return fn; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLXV0aWxzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3V0aWxzL2NvbW1vbi11dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBLE1BQU0sVUFBVSxJQUFJOzs7VUFFWixFQUFFOzs7SUFBRyxjQUFZLENBQUMsQ0FBQTtJQUN4QixPQUFPLEVBQUUsQ0FBQztBQUNaLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZnVuY3Rpb24gbm9vcCgpIHtcclxuICAvLyB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmU6IG9ubHktYXJyb3ctZnVuY3Rpb25zXHJcbiAgY29uc3QgZm4gPSBmdW5jdGlvbigpIHt9O1xyXG4gIHJldHVybiBmbjtcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/utils/date-extensions.js b/npm/ng-packs/dist/core/esm2015/lib/utils/date-extensions.js deleted file mode 100644 index 65596280712..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/utils/date-extensions.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/date-extensions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -Date.prototype.toLocalISOString = (/** - * @this {?} - * @return {?} - */ -function () { - /** @type {?} */ - const timezoneOffset = this.getTimezoneOffset(); - return new Date(this.getTime() - timezoneOffset * 60000).toISOString(); -}); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS1leHRlbnNpb25zLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3V0aWxzL2RhdGUtZXh0ZW5zaW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQVFBLElBQUksQ0FBQyxTQUFTLENBQUMsZ0JBQWdCOzs7O0FBQUc7O1VBQzFCLGNBQWMsR0FBRyxJQUFJLENBQUMsaUJBQWlCLEVBQUU7SUFFL0MsT0FBTyxJQUFJLElBQUksQ0FBQyxJQUFJLENBQUMsT0FBTyxFQUFFLEdBQUcsY0FBYyxHQUFHLEtBQUssQ0FBQyxDQUFDLFdBQVcsRUFBRSxDQUFDO0FBQ3pFLENBQUMsQ0FBQSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHt9O1xyXG5cclxuZGVjbGFyZSBnbG9iYWwge1xyXG4gIGludGVyZmFjZSBEYXRlIHtcclxuICAgIHRvTG9jYWxJU09TdHJpbmcoKTogc3RyaW5nO1xyXG4gIH1cclxufVxyXG5cclxuRGF0ZS5wcm90b3R5cGUudG9Mb2NhbElTT1N0cmluZyA9IGZ1bmN0aW9uKHRoaXM6IERhdGUpOiBzdHJpbmcge1xyXG4gIGNvbnN0IHRpbWV6b25lT2Zmc2V0ID0gdGhpcy5nZXRUaW1lem9uZU9mZnNldCgpO1xyXG5cclxuICByZXR1cm4gbmV3IERhdGUodGhpcy5nZXRUaW1lKCkgLSB0aW1lem9uZU9mZnNldCAqIDYwMDAwKS50b0lTT1N0cmluZygpO1xyXG59O1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/utils/generator-utils.js b/npm/ng-packs/dist/core/esm2015/lib/utils/generator-utils.js deleted file mode 100644 index ca341c6302d..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/utils/generator-utils.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/generator-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?=} a - * @return {?} - */ -export function uuid(a) { - return a - ? // tslint:disable-next-line: no-bitwise - (a ^ ((Math.random() * 16) >> (a / 4))).toString(16) - : ('' + 1e7 + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, uuid); -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJhdG9yLXV0aWxzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3V0aWxzL2dlbmVyYXRvci11dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFBQSxNQUFNLFVBQVUsSUFBSSxDQUFDLENBQU87SUFDMUIsT0FBTyxDQUFDO1FBQ04sQ0FBQyxDQUFDLHVDQUF1QztZQUN2QyxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxHQUFHLEVBQUUsQ0FBQyxJQUFJLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxRQUFRLENBQUMsRUFBRSxDQUFDO1FBQ3RELENBQUMsQ0FBQyxDQUFDLEVBQUUsR0FBRyxHQUFHLEdBQUcsQ0FBQyxHQUFHLEdBQUcsQ0FBQyxHQUFHLEdBQUcsQ0FBQyxHQUFHLEdBQUcsQ0FBQyxJQUFJLENBQUMsQ0FBQyxPQUFPLENBQUMsUUFBUSxFQUFFLElBQUksQ0FBQyxDQUFDO0FBQ3RFLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZnVuY3Rpb24gdXVpZChhPzogYW55KTogc3RyaW5nIHtcclxuICByZXR1cm4gYVxyXG4gICAgPyAvLyB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmU6IG5vLWJpdHdpc2VcclxuICAgICAgKGEgXiAoKE1hdGgucmFuZG9tKCkgKiAxNikgPj4gKGEgLyA0KSkpLnRvU3RyaW5nKDE2KVxyXG4gICAgOiAoJycgKyAxZTcgKyAtMWUzICsgLTRlMyArIC04ZTMgKyAtMWUxMSkucmVwbGFjZSgvWzAxOF0vZywgdXVpZCk7XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/utils/index.js b/npm/ng-packs/dist/core/esm2015/lib/utils/index.js deleted file mode 100644 index e2a743370f9..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/utils/index.js +++ /dev/null @@ -1,11 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { noop } from './common-utils'; -export { uuid } from './generator-utils'; -export { getInitialData, localeInitializer, registerLocale } from './initial-utils'; -export { organizeRoutes, setChildRoute, sortRoutes, addAbpRoutes, getAbpRoutes } from './route-utils'; -export { takeUntilDestroy } from './rxjs-utils'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvdXRpbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxxQkFBYyxnQkFBZ0IsQ0FBQztBQUMvQixxQkFBYyxtQkFBbUIsQ0FBQztBQUNsQyxrRUFBYyxpQkFBaUIsQ0FBQztBQUNoQyxzRkFBYyxlQUFlLENBQUM7QUFDOUIsaUNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb21tb24tdXRpbHMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2dlbmVyYXRvci11dGlscyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vaW5pdGlhbC11dGlscyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vcm91dGUtdXRpbHMnO1xyXG5leHBvcnQgKiBmcm9tICcuL3J4anMtdXRpbHMnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/utils/initial-utils.js b/npm/ng-packs/dist/core/esm2015/lib/utils/initial-utils.js deleted file mode 100644 index d37f1fe7da4..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/utils/initial-utils.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/initial-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { registerLocaleData } from '@angular/common'; -import { Store } from '@ngxs/store'; -import { GetAppConfiguration } from '../actions/config.actions'; -import differentLocales from '../constants/different-locales'; -/** - * @param {?} injector - * @return {?} - */ -export function getInitialData(injector) { - /** @type {?} */ - const fn = (/** - * @return {?} - */ - () => { - /** @type {?} */ - const store = injector.get(Store); - return store.dispatch(new GetAppConfiguration()).toPromise(); - }); - return fn; -} -/** - * @param {?} injector - * @return {?} - */ -export function localeInitializer(injector) { - /** @type {?} */ - const fn = (/** - * @return {?} - */ - () => { - /** @type {?} */ - const store = injector.get(Store); - /** @type {?} */ - const lang = store.selectSnapshot((/** - * @param {?} state - * @return {?} - */ - state => state.SessionState.language)) || 'en'; - return new Promise((/** - * @param {?} resolve - * @param {?} reject - * @return {?} - */ - (resolve, reject) => { - registerLocale(lang).then((/** - * @return {?} - */ - () => resolve('resolved')), reject); - })); - }); - return fn; -} -/** - * @param {?} locale - * @return {?} - */ -export function registerLocale(locale) { - return import( - /* webpackInclude: /(af|am|ar-SA|as|az-Latn|be|bg|bn-BD|bn-IN|bs|ca|ca-ES-VALENCIA|cs|cy|da|de|de|el|en-GB|en|es|en|es-US|es-MX|et|eu|fa|fi|en|fr|fr|fr-CA|ga|gd|gl|gu|ha|he|hi|hr|hu|hy|id|ig|is|it|it|ja|ka|kk|km|kn|ko|kok|en|en|lb|lt|lv|en|mk|ml|mn|mr|ms|mt|nb|ne|nl|nl-BE|nn|en|or|pa|pa-Arab|pl|en|pt|pt-PT|en|en|ro|ru|rw|pa-Arab|si|sk|sl|sq|sr-Cyrl-BA|sr-Cyrl|sr-Latn|sv|sw|ta|te|tg|th|ti|tk|tn|tr|tt|ug|uk|ur|uz-Latn|vi|wo|xh|yo|zh-Hans|zh-Hant|zu)\.js$/ */ - `@angular/common/locales/${differentLocales[locale] || locale}.js`).then((/** - * @param {?} module - * @return {?} - */ - module => { - registerLocaleData(module.default); - })); -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5pdGlhbC11dGlscy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi91dGlscy9pbml0aWFsLXV0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFFckQsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUNwQyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUNoRSxPQUFPLGdCQUFnQixNQUFNLGdDQUFnQyxDQUFDOzs7OztBQUU5RCxNQUFNLFVBQVUsY0FBYyxDQUFDLFFBQWtCOztVQUN6QyxFQUFFOzs7SUFBRyxHQUFHLEVBQUU7O2NBQ1IsS0FBSyxHQUFVLFFBQVEsQ0FBQyxHQUFHLENBQUMsS0FBSyxDQUFDO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clxuICB9KTtcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/utils/route-utils.js b/npm/ng-packs/dist/core/esm2015/lib/utils/route-utils.js deleted file mode 100644 index c8fb03815ce..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/utils/route-utils.js +++ /dev/null @@ -1,117 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/route-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?} routes - * @param {?=} wrappers - * @param {?=} parentNameArr - * @param {?=} parentName - * @return {?} - */ -export function organizeRoutes(routes, wrappers = [], parentNameArr = (/** @type {?} */ ([])), parentName = null) { - /** @type {?} */ - const filter = (/** - * @param {?} route - * @return {?} - */ - route => { - if (route.children && route.children.length) { - route.children = organizeRoutes(route.children, wrappers, parentNameArr, route.name); - } - if (route.parentName && route.parentName !== parentName) { - parentNameArr.push(route); - return false; - } - return true; - }); - if (parentName) { - // recursive block - return routes.filter(filter); - } - /** @type {?} */ - const filteredRoutes = routes.filter(filter); - if (parentNameArr.length) { - return sortRoutes(setChildRoute([...filteredRoutes, ...wrappers], parentNameArr)); - } - return filteredRoutes; -} -/** - * @param {?} routes - * @param {?} parentNameArr - * @return {?} - */ -export function setChildRoute(routes, parentNameArr) { - return routes.map((/** - * @param {?} route - * @return {?} - */ - route => { - if (route.children && route.children.length) { - route.children = setChildRoute(route.children, parentNameArr); - } - /** @type {?} */ - const foundedChildren = parentNameArr.filter((/** - * @param {?} parent - * @return {?} - */ - parent => parent.parentName === route.name)); - if (foundedChildren && foundedChildren.length) { - route.children = [...(route.children || []), ...foundedChildren]; - } - return route; - })); -} -/** - * @param {?=} routes - * @return {?} - */ -export function sortRoutes(routes = []) { - if (!routes.length) - return []; - return routes - .map((/** - * @param {?} route - * @param {?} index - * @return {?} - */ - (route, index) => { - return Object.assign({}, route, { order: typeof route.order === 'undefined' ? index + 1 : route.order }); - })) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - (a, b) => a.order - b.order)) - .map((/** - * @param {?} route - * @return {?} - */ - route => { - if (route.children && route.children.length) { - route.children = sortRoutes(route.children); - } - return route; - })); -} -/** @type {?} */ -const ABP_ROUTES = (/** @type {?} */ ([])); -/** - * @param {?} routes - * @return {?} - */ -export function addAbpRoutes(routes) { - if (!Array.isArray(routes)) { - routes = [routes]; - } - ABP_ROUTES.push(...routes); -} -/** - * @return {?} - */ -export function getAbpRoutes() { - return ABP_ROUTES; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGUtdXRpbHMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvdXRpbHMvcm91dGUtdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBRUEsTUFBTSxVQUFVLGNBQWMsQ0FDNUIsTUFBdUIsRUFDdkIsV0FBNEIsRUFBRSxFQUM5QixhQUFhLEdBQUcsbUJBQUEsRUFBRSxFQUFtQixFQUNyQyxhQUFxQixJQUFJOztVQUVuQixNQUFNOzs7O0lBQUcsS0FBSyxDQUFDLEVBQUU7UUFDckIsSUFBSSxLQUFLLENBQUMsUUFBUSxJQUFJLEtBQUssQ0FBQyxRQUFRLENBQUMsTUFBTSxFQUFFO1lBQzNDLEtBQUssQ0FBQyxRQUFRLEdBQUcsY0FBYyxDQUFDLEtBQUssQ0FBQyxRQUFRLEVBQUUsUUFBUSxFQUFFLGFBQWEsRUFBRSxLQUFLLENBQUMsSUFBSSxDQUFDLENBQUM7U0FDdEY7UUFFRCxJQUFJLEtBQUssQ0FBQyxVQUFVLElBQUksS0FBSyxDQUFDLFVBQVUsS0FBSyxVQUFVLEVBQUU7WUFDdkQsYUFBYSxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FB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HJcbiAgQUJQX1JPVVRFUy5wdXNoKC4uLnJvdXRlcyk7XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBnZXRBYnBSb3V0ZXMoKTogQUJQLkZ1bGxSb3V0ZVtdIHtcclxuICByZXR1cm4gQUJQX1JPVVRFUztcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/lib/utils/rxjs-utils.js b/npm/ng-packs/dist/core/esm2015/lib/utils/rxjs-utils.js deleted file mode 100644 index 015b1f5e2c2..00000000000 --- a/npm/ng-packs/dist/core/esm2015/lib/utils/rxjs-utils.js +++ /dev/null @@ -1,46 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/rxjs-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Subject } from 'rxjs'; -import { takeUntil } from 'rxjs/operators'; -/** - * @param {?} value - * @return {?} - */ -function isFunction(value) { - return typeof value === 'function'; -} -/** @type {?} */ -export const takeUntilDestroy = (/** - * @param {?} componentInstance - * @param {?=} destroyMethodName - * @return {?} - */ -(componentInstance, destroyMethodName = 'ngOnDestroy') => (/** - * @template T - * @param {?} source - * @return {?} - */ -(source) => { - /** @type {?} */ - const originalDestroy = componentInstance[destroyMethodName]; - if (isFunction(originalDestroy) === false) { - throw new Error(`${componentInstance.constructor.name} is using untilDestroyed but doesn't implement ${destroyMethodName}`); - } - if (!componentInstance['__takeUntilDestroy']) { - componentInstance['__takeUntilDestroy'] = new Subject(); - componentInstance[destroyMethodName] = (/** - * @return {?} - */ - function () { - // tslint:disable-next-line: no-unused-expression - isFunction(originalDestroy) && originalDestroy.apply(this, arguments); - componentInstance['__takeUntilDestroy'].next(true); - componentInstance['__takeUntilDestroy'].complete(); - }); - } - return source.pipe(takeUntil(componentInstance['__takeUntilDestroy'])); -})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjo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kZXN0cm95TWV0aG9kTmFtZX1gXHJcbiAgICApO1xyXG4gIH1cclxuICBpZiAoIWNvbXBvbmVudEluc3RhbmNlWydfX3Rha2VVbnRpbERlc3Ryb3knXSkge1xyXG4gICAgY29tcG9uZW50SW5zdGFuY2VbJ19fdGFrZVVudGlsRGVzdHJveSddID0gbmV3IFN1YmplY3QoKTtcclxuXHJcbiAgICBjb21wb25lbnRJbnN0YW5jZVtkZXN0cm95TWV0aG9kTmFtZV0gPSBmdW5jdGlvbigpIHtcclxuICAgICAgLy8gdHNsaW50OmRpc2FibGUtbmV4dC1saW5lOiBuby11bnVzZWQtZXhwcmVzc2lvblxyXG4gICAgICBpc0Z1bmN0aW9uKG9yaWdpbmFsRGVzdHJveSkgJiYgb3JpZ2luYWxEZXN0cm95LmFwcGx5KHRoaXMsIGFyZ3VtZW50cyk7XHJcbiAgICAgIGNvbXBvbmVudEluc3RhbmNlWydfX3Rha2VVbnRpbERlc3Ryb3knXS5uZXh0KHRydWUpO1xyXG4gICAgICBjb21wb25lbnRJbnN0YW5jZVsnX190YWtlVW50aWxEZXN0cm95J10uY29tcGxldGUoKTtcclxuICAgIH07XHJcbiAgfVxyXG4gIHJldHVybiBzb3VyY2UucGlwZSh0YWtlVW50aWw8VD4oY29tcG9uZW50SW5zdGFuY2VbJ19fdGFrZVVudGlsRGVzdHJveSddKSk7XHJcbn07XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm2015/public-api.js b/npm/ng-packs/dist/core/esm2015/public-api.js deleted file mode 100644 index 48260acb795..00000000000 --- a/npm/ng-packs/dist/core/esm2015/public-api.js +++ /dev/null @@ -1,26 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/* - * Public API Surface of core - */ -// export * from './lib/handlers'; -export { AbstractNgModelComponent } from './lib/abstracts'; -export { PatchRouteByName, GetAppConfiguration, StartLoader, StopLoader, GetProfile, UpdateProfile, ChangePassword, RestOccurError, SetLanguage, SetTenant } from './lib/actions'; -export { DynamicLayoutComponent, RouterOutletComponent } from './lib/components'; -export {} from './lib/constants'; -export { AutofocusDirective, EllipsisDirective, ForDirective, FormSubmitDirective, PermissionDirective, VisibilityDirective } from './lib/directives'; -export {} from './lib/enums'; -export { AuthGuard, PermissionGuard } from './lib/guards'; -export { ApiInterceptor } from './lib/interceptors'; -export { Rest } from './lib/models'; -export { LocalizationPipe, SortPipe } from './lib/pipes'; -export { NGXS_CONFIG_PLUGIN_OPTIONS, ConfigPlugin } from './lib/plugins'; -export { ApplicationConfigurationService, ConfigStateService, LazyLoadService, LocalizationService, ProfileService, RestService, ProfileStateService, SessionStateService } from './lib/services'; -export { ProfileState, ConfigState, SessionState } from './lib/states'; -export { environmentFactory, configFactory, ENVIRONMENT, CONFIG } from './lib/tokens'; -export { noop, uuid, getInitialData, localeInitializer, registerLocale, organizeRoutes, setChildRoute, sortRoutes, addAbpRoutes, getAbpRoutes, takeUntilDestroy } from './lib/utils'; -export { CoreModule } from './lib/core.module'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBS0EseUNBQWMsaUJBQWlCLENBQUM7QUFDaEMsa0tBQWMsZUFBZSxDQUFDO0FBQzlCLDhEQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGVBQWMsaUJBQWlCLENBQUM7QUFDaEMsbUlBQWMsa0JBQWtCLENBQUM7QUFDakMsZUFBYyxhQUFhLENBQUM7QUFDNUIsMkNBQWMsY0FBYyxDQUFDO0FBQzdCLCtCQUFjLG9CQUFvQixDQUFDO0FBQ25DLHFCQUFjLGNBQWM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c7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/abp-ng.core.js b/npm/ng-packs/dist/core/esm5/abp-ng.core.js deleted file mode 100644 index d1a6f25963e..00000000000 --- a/npm/ng-packs/dist/core/esm5/abp-ng.core.js +++ /dev/null @@ -1,37 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.core.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { AbstractNgModelComponent, PatchRouteByName, GetAppConfiguration, StartLoader, StopLoader, GetProfile, UpdateProfile, ChangePassword, RestOccurError, SetLanguage, SetTenant, DynamicLayoutComponent, RouterOutletComponent, AutofocusDirective, EllipsisDirective, ForDirective, FormSubmitDirective, PermissionDirective, VisibilityDirective, AuthGuard, PermissionGuard, ApiInterceptor, Rest, LocalizationPipe, SortPipe, NGXS_CONFIG_PLUGIN_OPTIONS, ConfigPlugin, ApplicationConfigurationService, ConfigStateService, LazyLoadService, LocalizationService, ProfileService, RestService, ProfileStateService, SessionStateService, ProfileState, ConfigState, SessionState, environmentFactory, configFactory, ENVIRONMENT, CONFIG, noop, uuid, getInitialData, localeInitializer, registerLocale, organizeRoutes, setChildRoute, sortRoutes, addAbpRoutes, getAbpRoutes, takeUntilDestroy, CoreModule } from './public-api'; -export { AbstractNgModelComponent as ɵbc } from './lib/abstracts/ng-model.component'; -export { GetAppConfiguration as ɵp, PatchRouteByName as ɵo } from './lib/actions/config.actions'; -export { ChangePassword as ɵf, GetProfile as ɵd, UpdateProfile as ɵe } from './lib/actions/profile.actions'; -export { SetLanguage as ɵj, SetTenant as ɵk } from './lib/actions/session.actions'; -export { DynamicLayoutComponent as ɵr } from './lib/components/dynamic-layout.component'; -export { RouterOutletComponent as ɵq } from './lib/components/router-outlet.component'; -export { AutofocusDirective as ɵs } from './lib/directives/autofocus.directive'; -export { InputEventDebounceDirective as ɵba } from './lib/directives/debounce.directive'; -export { EllipsisDirective as ɵt } from './lib/directives/ellipsis.directive'; -export { ForDirective as ɵu } from './lib/directives/for.directive'; -export { FormSubmitDirective as ɵv } from './lib/directives/form-submit.directive'; -export { PermissionDirective as ɵy } from './lib/directives/permission.directive'; -export { ClickEventStopPropagationDirective as ɵbb } from './lib/directives/stop-propagation.directive'; -export { VisibilityDirective as ɵz } from './lib/directives/visibility.directive'; -export { ApiInterceptor as ɵbh } from './lib/interceptors/api.interceptor'; -export { LocalizationPipe as ɵw } from './lib/pipes/localization.pipe'; -export { SortPipe as ɵx } from './lib/pipes/sort.pipe'; -export { ConfigPlugin as ɵbg, NGXS_CONFIG_PLUGIN_OPTIONS as ɵbf } from './lib/plugins/config.plugin'; -export { LocaleId as ɵbd, LocaleProvider as ɵbe } from './lib/providers/locale.provider'; -export { ApplicationConfigurationService as ɵn } from './lib/services/application-configuration.service'; -export { LocalizationService as ɵi } from './lib/services/localization.service'; -export { ProfileService as ɵb } from './lib/services/profile.service'; -export { RestService as ɵc } from './lib/services/rest.service'; -export { ConfigState as ɵm } from './lib/states/config.state'; -export { ProfileState as ɵa } from './lib/states/profile.state'; -export { SessionState as ɵh } from './lib/states/session.state'; -export { getInitialData as ɵbi, localeInitializer as ɵbj } from './lib/utils/initial-utils'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLmNvcmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJhYnAtbmcuY29yZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLDgzQkFBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLHdCQUF3QixJQUFJLEdBQUcsRUFBQyxNQUFNLG9DQUFvQyxDQUFDO0FBQ25GLE9BQU8sRUFBQyxtQkFBbUIsSUFBSSxFQUFFLEVBQUMsZ0JBQWdCLElBQUksRUFBRS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2NvbmZpZy5wbHVnaW4nO1xuZXhwb3J0IHtMb2NhbGVJZCBhcyDJtWJkLExvY2FsZVByb3ZpZGVyIGFzIMm1YmV9IGZyb20gJy4vbGliL3Byb3ZpZGVycy9sb2NhbGUucHJvdmlkZXInO1xuZXhwb3J0IHtBcHBsaWNhdGlvbkNvbmZpZ3VyYXRpb25TZXJ2aWNlIGFzIMm1bn0gZnJvbSAnLi9saWIvc2VydmljZXMvYXBwbGljYXRpb24tY29uZmlndXJhdGlvbi5zZXJ2aWNlJztcbmV4cG9ydCB7TG9jYWxpemF0aW9uU2VydmljZSBhcyDJtWl9IGZyb20gJy4vbGliL3NlcnZpY2VzL2xvY2FsaXphdGlvbi5zZXJ2aWNlJztcbmV4cG9ydCB7UHJvZmlsZVNlcnZpY2UgYXMgybVifSBmcm9tICcuL2xpYi9zZXJ2aWNlcy9wcm9maWxlLnNlcnZpY2UnO1xuZXhwb3J0IHtSZXN0U2VydmljZSBhcyDJtWN9IGZyb20gJy4vbGliL3NlcnZpY2VzL3Jlc3Quc2VydmljZSc7XG5leHBvcnQge0NvbmZpZ1N0YXRlIGFzIMm1bX0gZnJvbSAnLi9saWIvc3RhdGVzL2NvbmZpZy5zdGF0ZSc7XG5leHBvcnQge1Byb2ZpbGVTdGF0ZSBhcyDJtWF9IGZyb20gJy4vbGliL3N0YXRlcy9wcm9maWxlLnN0YXRlJztcbmV4cG9ydCB7U2Vzc2lvblN0YXRlIGFzIMm1aH0gZnJvbSAnLi9saWIvc3RhdGVzL3Nlc3Npb24uc3RhdGUnO1xuZXhwb3J0IHtnZXRJbml0aWFsRGF0YSBhcyDJtWJpLGxvY2FsZUluaXRpYWxpemVyIGFzIMm1Ymp9IGZyb20gJy4vbGliL3V0aWxzL2luaXRpYWwtdXRpbHMnOyJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/abstracts/index.js b/npm/ng-packs/dist/core/esm5/lib/abstracts/index.js deleted file mode 100644 index f097350ca79..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/abstracts/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/abstracts/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { AbstractNgModelComponent } from './ng-model.component'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvYWJzdHJhY3RzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEseUNBQWMsc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL25nLW1vZGVsLmNvbXBvbmVudCc7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/abstracts/ng-model.component.js b/npm/ng-packs/dist/core/esm5/lib/abstracts/ng-model.component.js deleted file mode 100644 index 087bbf27933..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/abstracts/ng-model.component.js +++ /dev/null @@ -1,127 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/abstracts/ng-model.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { ChangeDetectorRef, Component, Injector, Input } from '@angular/core'; -/** - * @template T - */ -var AbstractNgModelComponent = /** @class */ (function () { - function AbstractNgModelComponent(injector) { - this.injector = injector; - this.cdRef = injector.get((/** @type {?} */ (ChangeDetectorRef))); - } - Object.defineProperty(AbstractNgModelComponent.prototype, "value", { - get: /** - * @return {?} - */ - function () { - return this._value; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - this._value = value; - this.notifyValueChange(); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - AbstractNgModelComponent.prototype.notifyValueChange = /** - * @return {?} - */ - function () { - if (this.onChange) { - this.onChange(this.value); - } - }; - /** - * @param {?} value - * @return {?} - */ - AbstractNgModelComponent.prototype.writeValue = /** - * @param {?} value - * @return {?} - */ - function (value) { - var _this = this; - this._value = value; - setTimeout((/** - * @return {?} - */ - function () { return _this.cdRef.detectChanges(); }), 0); - }; - /** - * @param {?} fn - * @return {?} - */ - AbstractNgModelComponent.prototype.registerOnChange = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - this.onChange = fn; - }; - /** - * @param {?} fn - * @return {?} - */ - AbstractNgModelComponent.prototype.registerOnTouched = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - this.onTouched = fn; - }; - /** - * @param {?} isDisabled - * @return {?} - */ - AbstractNgModelComponent.prototype.setDisabledState = /** - * @param {?} isDisabled - * @return {?} - */ - function (isDisabled) { - this.disabled = isDisabled; - }; - AbstractNgModelComponent.decorators = [ - { type: Component, args: [{ selector: 'abp-abstract-ng-model', template: '' }] } - ]; - /** @nocollapse */ - AbstractNgModelComponent.ctorParameters = function () { return [ - { type: Injector } - ]; }; - AbstractNgModelComponent.propDecorators = { - disabled: [{ type: Input }], - value: [{ type: Input }] - }; - return AbstractNgModelComponent; -}()); -export { AbstractNgModelComponent }; -if (false) { - /** @type {?} */ - AbstractNgModelComponent.prototype.disabled; - /** @type {?} */ - AbstractNgModelComponent.prototype.onChange; - /** @type {?} */ - AbstractNgModelComponent.prototype.onTouched; - /** - * @type {?} - * @protected - */ - AbstractNgModelComponent.prototype._value; - /** - * @type {?} - * @protected - */ - AbstractNgModelComponent.prototype.cdRef; - /** @type {?} */ - AbstractNgModelComponent.prototype.injector; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctbW9kZWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2Fic3RyYWN0cy9uZ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Ub3VjaGVkKGZuOiBhbnkpOiB2b2lkIHtcclxuICAgIHRoaXMub25Ub3VjaGVkID0gZm47XHJcbiAgfVxyXG5cclxuICBzZXREaXNhYmxlZFN0YXRlKGlzRGlzYWJsZWQ6IGJvb2xlYW4pOiB2b2lkIHtcclxuICAgIHRoaXMuZGlzYWJsZWQgPSBpc0Rpc2FibGVkO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/actions/config.actions.js b/npm/ng-packs/dist/core/esm5/lib/actions/config.actions.js deleted file mode 100644 index 07444086937..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/actions/config.actions.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/config.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var PatchRouteByName = /** @class */ (function () { - function PatchRouteByName(name, newValue) { - this.name = name; - this.newValue = newValue; - } - PatchRouteByName.type = '[Config] Patch Route By Name'; - return PatchRouteByName; -}()); -export { PatchRouteByName }; -if (false) { - /** @type {?} */ - PatchRouteByName.type; - /** @type {?} */ - PatchRouteByName.prototype.name; - /** @type {?} */ - PatchRouteByName.prototype.newValue; -} -var GetAppConfiguration = /** @class */ (function () { - function GetAppConfiguration() { - } - GetAppConfiguration.type = '[Config] Get App Configuration'; - return GetAppConfiguration; -}()); -export { GetAppConfiguration }; -if (false) { - /** @type {?} */ - GetAppConfiguration.type; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLmFjdGlvbnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvYWN0aW9ucy9jb25maWcuYWN0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUVBO0lBRUUsMEJBQW1CLElBQVksRUFBUyxRQUE0QjtRQUFqRCxTQUFJLEdBQUosSUFBSSxDQUFRO1FBQVMsYUFBUSxHQUFSLFFBQVEsQ0FBb0I7SUFBRyxDQUFDO0lBRHhELHFCQUFJLEdBQUcsOEJBQThCLENBQUM7SUFFeEQsdUJBQUM7Q0FBQSxBQUhELElBR0M7U0FIWSxnQkFBZ0I7OztJQUMzQixzQkFBc0Q7O0lBQzFDLGdDQUFtQjs7SUFBRSxvQ0FBbUM7O0FBR3RFO0lBQUE7SUFFQSxDQUFDO0lBRGlCLHdCQUFJLEdBQUcsZ0NBQWdDLENBQUM7SUFDMUQsMEJBQUM7Q0FBQSxBQUZELElBRUM7U0FGWSxtQkFBbUI7OztJQUM5Qix5QkFBd0QiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBQlAgfSBmcm9tICcuLi9tb2RlbHMnO1xyXG5cclxuZXhwb3J0IGNsYXNzIFBhdGNoUm91dGVCeU5hbWUge1xyXG4gIHN0YXRpYyByZWFkb25seSB0eXBlID0gJ1tDb25maWddIFBhdGNoIFJvdXRlIEJ5IE5hbWUnO1xyXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBuYW1lOiBzdHJpbmcsIHB1YmxpYyBuZXdWYWx1ZTogUGFydGlhbDxBQlAuUm91dGU+KSB7fVxyXG59XHJcblxyXG5leHBvcnQgY2xhc3MgR2V0QXBwQ29uZmlndXJhdGlvbiB7XHJcbiAgc3RhdGljIHJlYWRvbmx5IHR5cGUgPSAnW0NvbmZpZ10gR2V0IEFwcCBDb25maWd1cmF0aW9uJztcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/actions/index.js b/npm/ng-packs/dist/core/esm5/lib/actions/index.js deleted file mode 100644 index 4707b748dc5..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/actions/index.js +++ /dev/null @@ -1,11 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { PatchRouteByName, GetAppConfiguration } from './config.actions'; -export { StartLoader, StopLoader } from './loader.actions'; -export { GetProfile, UpdateProfile, ChangePassword } from './profile.actions'; -export { RestOccurError } from './rest.actions'; -export { SetLanguage, SetTenant } from './session.actions'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvYWN0aW9ucy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHNEQUFjLGtCQUFrQixDQUFDO0FBQ2pDLHdDQUFjLGtCQUFrQixDQUFDO0FBQ2pDLDBEQUFjLG1CQUFtQixDQUFDO0FBQ2xDLCtCQUFjLGdCQUFnQixDQUFDO0FBQy9CLHVDQUFjLG1CQUFtQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb25maWcuYWN0aW9ucyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbG9hZGVyLmFjdGlvbnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL3Byb2ZpbGUuYWN0aW9ucyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vcmVzdC5hY3Rpb25zJztcclxuZXhwb3J0ICogZnJvbSAnLi9zZXNzaW9uLmFjdGlvbnMnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/actions/loader.actions.js b/npm/ng-packs/dist/core/esm5/lib/actions/loader.actions.js deleted file mode 100644 index 1e2a4a52dff..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/actions/loader.actions.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/loader.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var StartLoader = /** @class */ (function () { - function StartLoader(payload) { - this.payload = payload; - } - StartLoader.type = '[Loader] Start'; - return StartLoader; -}()); -export { StartLoader }; -if (false) { - /** @type {?} */ - StartLoader.type; - /** @type {?} */ - StartLoader.prototype.payload; -} -var StopLoader = /** @class */ (function () { - function StopLoader(payload) { - this.payload = payload; - } - StopLoader.type = '[Loader] Stop'; - return StopLoader; -}()); -export { StopLoader }; -if (false) { - /** @type {?} */ - StopLoader.type; - /** @type {?} */ - StopLoader.prototype.payload; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGVyLmFjdGlvbnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvYWN0aW9ucy9sb2FkZXIuYWN0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUVBO0lBRUUscUJBQW1CLE9BQXlCO1FBQXpCLFlBQU8sR0FBUCxPQUFPLENBQWtCO0lBQUcsQ0FBQztJQURoQyxnQkFBSSxHQUFHLGdCQUFnQixDQUFDO0lBRTFDLGtCQUFDO0NBQUEsQUFIRCxJQUdDO1NBSFksV0FBVzs7O0lBQ3RCLGlCQUF3Qzs7SUFDNUIsOEJBQWdDOztBQUc5QztJQUVFLG9CQUFtQixPQUF5QjtRQUF6QixZQUFPLEdBQVAsT0FBTyxDQUFrQjtJQUFHLENBQUM7SUFEaEMsZUFBSSxHQUFHLGVBQWUsQ0FBQztJQUV6QyxpQkFBQztDQUFBLEFBSEQsSUFHQztTQUhZLFVBQVU7OztJQUNyQixnQkFBdUM7O0lBQzNCLDZCQUFnQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEh0dHBSZXF1ZXN0IH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uL2h0dHAnO1xyXG5cclxuZXhwb3J0IGNsYXNzIFN0YXJ0TG9hZGVyIHtcclxuICBzdGF0aWMgcmVhZG9ubHkgdHlwZSA9ICdbTG9hZGVyXSBTdGFydCc7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IEh0dHBSZXF1ZXN0PGFueT4pIHt9XHJcbn1cclxuXHJcbmV4cG9ydCBjbGFzcyBTdG9wTG9hZGVyIHtcclxuICBzdGF0aWMgcmVhZG9ubHkgdHlwZSA9ICdbTG9hZGVyXSBTdG9wJztcclxuICBjb25zdHJ1Y3RvcihwdWJsaWMgcGF5bG9hZDogSHR0cFJlcXVlc3Q8YW55Pikge31cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/actions/profile.actions.js b/npm/ng-packs/dist/core/esm5/lib/actions/profile.actions.js deleted file mode 100644 index 6cd470ab091..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/actions/profile.actions.js +++ /dev/null @@ -1,45 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/profile.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var GetProfile = /** @class */ (function () { - function GetProfile() { - } - GetProfile.type = '[Profile] Get'; - return GetProfile; -}()); -export { GetProfile }; -if (false) { - /** @type {?} */ - GetProfile.type; -} -var UpdateProfile = /** @class */ (function () { - function UpdateProfile(payload) { - this.payload = payload; - } - UpdateProfile.type = '[Profile] Update'; - return UpdateProfile; -}()); -export { UpdateProfile }; -if (false) { - /** @type {?} */ - UpdateProfile.type; - /** @type {?} */ - UpdateProfile.prototype.payload; -} -var ChangePassword = /** @class */ (function () { - function ChangePassword(payload) { - this.payload = payload; - } - ChangePassword.type = '[Profile] Change Password'; - return ChangePassword; -}()); -export { ChangePassword }; -if (false) { - /** @type {?} */ - ChangePassword.type; - /** @type {?} */ - ChangePassword.prototype.payload; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxl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2ZpbGUuUmVzcG9uc2UpIHt9XHJcbn1cclxuXHJcbmV4cG9ydCBjbGFzcyBDaGFuZ2VQYXNzd29yZCB7XHJcbiAgc3RhdGljIHJlYWRvbmx5IHR5cGUgPSAnW1Byb2ZpbGVdIENoYW5nZSBQYXNzd29yZCc7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IFByb2ZpbGUuQ2hhbmdlUGFzc3dvcmRSZXF1ZXN0KSB7fVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/actions/rest.actions.js b/npm/ng-packs/dist/core/esm5/lib/actions/rest.actions.js deleted file mode 100644 index 4b09026742f..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/actions/rest.actions.js +++ /dev/null @@ -1,20 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/rest.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var RestOccurError = /** @class */ (function () { - function RestOccurError(payload) { - this.payload = payload; - } - RestOccurError.type = '[Rest] Error'; - return RestOccurError; -}()); -export { RestOccurError }; -if (false) { - /** @type {?} */ - RestOccurError.type; - /** @type {?} */ - RestOccurError.prototype.payload; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdC5hY3Rpb25zLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2FjdGlvbnMvcmVzdC5hY3Rpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBRUE7SUFFRSx3QkFBbUIsT0FBZ0M7UUFBaEMsWUFBTyxHQUFQLE9BQU8sQ0FBeUI7SUFBRyxDQUFDO0lBRHZDLG1CQUFJLEdBQUcsY0FBYyxDQUFDO0lBRXhDLHFCQUFDO0NBQUEsQUFIRCxJQUdDO1NBSFksY0FBYzs7O0lBQ3pCLG9CQUFzQzs7SUFDMUIsaUNBQXVDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSHR0cEVycm9yUmVzcG9uc2UgfSBmcm9tICdAYW5ndWxhci9jb21tb24vaHR0cCc7XHJcblxyXG5leHBvcnQgY2xhc3MgUmVzdE9jY3VyRXJyb3Ige1xyXG4gIHN0YXRpYyByZWFkb25seSB0eXBlID0gJ1tSZXN0XSBFcnJvcic7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IEh0dHBFcnJvclJlc3BvbnNlIHwgYW55KSB7fVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/actions/session.actions.js b/npm/ng-packs/dist/core/esm5/lib/actions/session.actions.js deleted file mode 100644 index 2f45e125ad6..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/actions/session.actions.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/session.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var SetLanguage = /** @class */ (function () { - function SetLanguage(payload) { - this.payload = payload; - } - SetLanguage.type = '[Session] Set Language'; - return SetLanguage; -}()); -export { SetLanguage }; -if (false) { - /** @type {?} */ - SetLanguage.type; - /** @type {?} */ - SetLanguage.prototype.payload; -} -var SetTenant = /** @class */ (function () { - function SetTenant(payload) { - this.payload = payload; - } - SetTenant.type = '[Session] Set Tenant'; - return SetTenant; -}()); -export { SetTenant }; -if (false) { - /** @type {?} */ - SetTenant.type; - /** @type {?} */ - SetTenant.prototype.payload; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vzc2lvbi5hY3Rpb25zLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2FjdGlvbnMvc2Vzc2lvbi5hY3Rpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBRUE7SUFFRSxxQkFBbUIsT0FBZTtRQUFmLFlBQU8sR0FBUCxPQUFPLENBQVE7SUFBRyxDQUFDO0lBRHRCLGdCQUFJLEdBQUcsd0JBQXdCLENBQUM7SUFFbEQsa0JBQUM7Q0FBQSxBQUhELElBR0M7U0FIWSxXQUFXOzs7SUFDdEIsaUJBQWdEOztJQUNwQyw4QkFBc0I7O0FBRXBDO0lBRUUsbUJBQW1CLE9BQXNCO1FBQXRCLFlBQU8sR0FBUCxPQUFPLENBQWU7SUFBRyxDQUFDO0lBRDdCLGNBQUksR0FBRyxzQkFBc0IsQ0FBQztJQUVoRCxnQkFBQztDQUFBLEFBSEQsSUFHQztTQUhZLFNBQVM7OztJQUNwQixlQUE4Qzs7SUFDbEMsNEJBQTZCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQUJQIH0gZnJvbSAnLi4vbW9kZWxzJztcclxuXHJcbmV4cG9ydCBjbGFzcyBTZXRMYW5ndWFnZSB7XHJcbiAgc3RhdGljIHJlYWRvbmx5IHR5cGUgPSAnW1Nlc3Npb25dIFNldCBMYW5ndWFnZSc7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IHN0cmluZykge31cclxufVxyXG5leHBvcnQgY2xhc3MgU2V0VGVuYW50IHtcclxuICBzdGF0aWMgcmVhZG9ubHkgdHlwZSA9ICdbU2Vzc2lvbl0gU2V0IFRlbmFudCc7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IEFCUC5CYXNpY0l0ZW0pIHt9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/components/dynamic-layout.component.js b/npm/ng-packs/dist/core/esm5/lib/components/dynamic-layout.component.js deleted file mode 100644 index 691acd6d743..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/components/dynamic-layout.component.js +++ /dev/null @@ -1,149 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/dynamic-layout.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Component } from '@angular/core'; -import { ActivatedRoute, NavigationEnd, Router } from '@angular/router'; -import { Select, Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import snq from 'snq'; -import { ConfigState } from '../states/config.state'; -import { takeUntilDestroy } from '../utils/rxjs-utils'; -var DynamicLayoutComponent = /** @class */ (function () { - function DynamicLayoutComponent(router, route, store) { - var _this = this; - this.router = router; - this.route = route; - this.store = store; - var _a = this.store.selectSnapshot(ConfigState.getAll), layouts = _a.requirements.layouts, routes = _a.routes; - if ((this.route.snapshot.data || {}).layout) { - this.layout = layouts - .filter((/** - * @param {?} l - * @return {?} - */ - function (l) { return !!l; })) - .find((/** - * @param {?} l - * @return {?} - */ - function (l) { return snq((/** - * @return {?} - */ - function () { return l.type.toLowerCase().indexOf(_this.route.snapshot.data.layout); }), -1) > -1; })); - } - this.router.events.pipe(takeUntilDestroy(this)).subscribe((/** - * @param {?} event - * @return {?} - */ - function (event) { - if (event instanceof NavigationEnd) { - var segments = _this.router.parseUrl(event.url).root.children.primary.segments; - /** @type {?} */ - var layout_1 = (_this.route.snapshot.data || {}).layout || findLayout(segments, routes); - _this.layout = layouts - .filter((/** - * @param {?} l - * @return {?} - */ - function (l) { return !!l; })) - .find((/** - * @param {?} l - * @return {?} - */ - function (l) { return snq((/** - * @return {?} - */ - function () { return l.type.toLowerCase().indexOf(layout_1); }), -1) > -1; })); - } - })); - } - /** - * @return {?} - */ - DynamicLayoutComponent.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - DynamicLayoutComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-dynamic-layout', - template: "\n \n \n \n " - }] } - ]; - /** @nocollapse */ - DynamicLayoutComponent.ctorParameters = function () { return [ - { type: Router }, - { type: ActivatedRoute }, - { type: Store } - ]; }; - tslib_1.__decorate([ - Select(ConfigState.getOne('requirements')), - tslib_1.__metadata("design:type", Observable) - ], DynamicLayoutComponent.prototype, "requirements$", void 0); - return DynamicLayoutComponent; -}()); -export { DynamicLayoutComponent }; -if (false) { - /** @type {?} */ - DynamicLayoutComponent.prototype.requirements$; - /** @type {?} */ - DynamicLayoutComponent.prototype.layout; - /** - * @type {?} - * @private - */ - DynamicLayoutComponent.prototype.router; - /** - * @type {?} - * @private - */ - DynamicLayoutComponent.prototype.route; - /** - * @type {?} - * @private - */ - DynamicLayoutComponent.prototype.store; -} -/** - * @param {?} segments - * @param {?} routes - * @return {?} - */ -function findLayout(segments, routes) { - /** @type {?} */ - var layout = "empty" /* empty */; - /** @type {?} */ - var route = routes - .reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { return (val.wrapper ? tslib_1.__spread(acc, val.children) : tslib_1.__spread(acc, [val])); }), []) - .find((/** - * @param {?} r - * @return {?} - */ - function (r) { return r.path === segments[0].path; })); - if (route) { - if (route.layout) { - layout = route.layout; - } - if (route.children && route.children.length && segments.length > 1) { - /** @type {?} */ - var child = route.children.find((/** - * @param {?} c - * @return {?} - */ - function (c) { return c.path === segments[1].path; })); - if (child && child.layout) { - layout = child.layout; - } - } - } - return layout; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHluYW1pYy1sYXlvdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvZHluYW1pYy1sYXlvdXQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQTBCLE1BQU0sZUFBZSxDQUFDO0FBQ2xFLE9BQU8sRUFBRSxjQUFjLEVBQUUsYUFBYSxF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BlLmVtcHR5O1xyXG5cclxuICBjb25zdCByb3V0ZSA9IHJvdXRlc1xyXG4gICAgLnJlZHVjZSgoYWNjLCB2YWwpID0+ICh2YWwud3JhcHBlciA/IFsuLi5hY2MsIC4uLnZhbC5jaGlsZHJlbl0gOiBbLi4uYWNjLCB2YWxdKSwgW10pXHJcbiAgICAuZmluZChyID0+IHIucGF0aCA9PT0gc2VnbWVudHNbMF0ucGF0aCk7XHJcblxyXG4gIGlmIChyb3V0ZSkge1xyXG4gICAgaWYgKHJvdXRlLmxheW91dCkge1xyXG4gICAgICBsYXlvdXQgPSByb3V0ZS5sYXlvdXQ7XHJcbiAgICB9XHJcblxyXG4gICAgaWYgKHJvdXRlLmNoaWxkcmVuICYmIHJvdXRlLmNoaWxkcmVuLmxlbmd0aCAmJiBzZWdtZW50cy5sZW5ndGggPiAxKSB7XHJcbiAgICAgIGNvbnN0IGNoaWxkID0gcm91dGUuY2hpbGRyZW4uZmluZChjID0+IGMucGF0aCA9PT0gc2VnbWVudHNbMV0ucGF0aCk7XHJcblxyXG4gICAgICBpZiAoY2hpbGQgJiYgY2hpbGQubGF5b3V0KSB7XHJcbiAgICAgICAgbGF5b3V0ID0gY2hpbGQubGF5b3V0O1xyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICByZXR1cm4gbGF5b3V0O1xyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/components/index.js b/npm/ng-packs/dist/core/esm5/lib/components/index.js deleted file mode 100644 index 1c17b484104..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/components/index.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { DynamicLayoutComponent } from './dynamic-layout.component'; -export { RouterOutletComponent } from './router-outlet.component'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHVDQUFjLDRCQUE0QixDQUFDO0FBQzNDLHNDQUFjLDJCQUEyQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9keW5hbWljLWxheW91dC5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL3JvdXRlci1vdXRsZXQuY29tcG9uZW50JztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/components/router-outlet.component.js b/npm/ng-packs/dist/core/esm5/lib/components/router-outlet.component.js deleted file mode 100644 index 5f2df39beec..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/components/router-outlet.component.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/router-outlet.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component } from '@angular/core'; -var RouterOutletComponent = /** @class */ (function () { - function RouterOutletComponent() { - } - RouterOutletComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-router-outlet', - template: "\n \n " - }] } - ]; - return RouterOutletComponent; -}()); -export { RouterOutletComponent }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGVyLW91dGxldC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9yb3V0ZXItb3V0bGV0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFMUM7SUFBQTtJQU1vQyxDQUFDOztnQkFOcEMsU0FBUyxTQUFDO29CQUNULFFBQVEsRUFBRSxtQkFBbUI7b0JBQzdCLFFBQVEsRUFBRSwyQ0FFVDtpQkFDRjs7SUFDbUMsNEJBQUM7Q0FBQSxBQU5yQyxJQU1xQztTQUF4QixxQkFBcUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gIHNlbGVjdG9yOiAnYWJwLXJvdXRlci1vdXRsZXQnLFxyXG4gIHRlbXBsYXRlOiBgXHJcbiAgICA8cm91dGVyLW91dGxldD48L3JvdXRlci1vdXRsZXQ+XHJcbiAgYCxcclxufSlcclxuZXhwb3J0IGNsYXNzIFJvdXRlck91dGxldENvbXBvbmVudCB7fVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/constants/different-locales.js b/npm/ng-packs/dist/core/esm5/lib/constants/different-locales.js deleted file mode 100644 index d052e26c685..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/constants/different-locales.js +++ /dev/null @@ -1,38 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/different-locales.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -// Different locales from .NET -// Key is .NET locale, value is Angular locale -export default { - 'ar-sa': 'ar-SA', - 'ca-ES-valencia': 'ca-ES-VALENCIA', - 'de-de': 'de', - 'es-ES': 'es', - 'en-US': 'en', - 'fil-Latn': 'en', - 'ku-Arab': 'en', - 'ky-Cyrl': 'en', - 'mi-Latn': 'en', - 'prs-Arab': 'en', - 'qut-Latn': 'en', - nso: 'en', - quz: 'en', - 'fr-FR': 'fr', - 'gd-Latn': 'gd', - 'ha-Latn': 'ha', - 'ig-Latn': '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0Zy1DeXJsJzogJ3RnJyxcclxuICAndGstTGF0bic6ICd0aycsXHJcbiAgJ3R0LUN5cmwnOiAndHQnLFxyXG4gICd1Zy1BcmFiJzogJ3VnJyxcclxuICAneW8tTGF0bic6ICd5bycsXHJcbn07XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/constants/index.js b/npm/ng-packs/dist/core/esm5/lib/constants/index.js deleted file mode 100644 index 915907566d4..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/constants/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { default } from './different-locales'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvY29uc3RhbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsd0JBQWMscUJBQXFCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2RpZmZlcmVudC1sb2NhbGVzJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/constants/locales-mapping.js b/npm/ng-packs/dist/core/esm5/lib/constants/locales-mapping.js deleted file mode 100644 index 5fc259373f3..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/constants/locales-mapping.js +++ /dev/null @@ -1,37 +0,0 @@ -/** - * @fileoverview added by tsickle - * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -// Different locales from .NET -// Key is .NET locale, value is Angular locale -export default { - 'ar-sa': 'ar-SA', - 'ca-ES-valencia': 'ca-ES-VALENCIA', - 'de-de': 'de', - 'en-US': 'en', - 'es-ES': 'es', - 'fil-Latn': 'en', - 'fr-FR': 'fr', - 'gd-Latn': 'gd', - 'ha-Latn': 'ha', - 'ig-Latn': 'ig', - 'it-it': 'it', - 'ku-Arab': 'en', - 'ky-Cyrl': 'en', - 'mi-Latn': 'en', - 'mn-Cyrl': 'mn', - nso: 'en', - 'prs-Arab': 'en', - 'pt-BR': 'pt', - 'qut-Latn': 'en', - quz: 'en', - 'sd-Arab': 'pa-Arab', - 'sr-Cyrl-RS': 'sr-Cyrl', - 'sr-Latn-RS': 'sr-Latn', - 'tg-Cyrl': 'tg', - 'tk-Latn': 'tk', - 'tt-Cyrl': 'tt', - 'ug-Arab': 'ug', - 'yo-Latn': 'yo', -}; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYWxlcy1tYXBwaW5nLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2NvbnN0YW50cy9sb2NhbGVzLW1hcHBpbmcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBR0EsZUFBZTtJQUNiLE9BQU8sRUFBRSxPQUFPO0lBQ2hCLGdCQUFnQixFQUFFLGdCQUFnQjtJQUNsQyxPQUFPLEVBQUUsSUFBSTtJQUNiLE9BQU8sRUFBRSxJQUFJO0lBQ2IsT0FBTyxFQUFFLElBQUk7SUFDYixVQUFVLEVBQUUsSUFBSTtJQUNoQixPQUFPLEVBQUUsSUFBSTtJQUNiLFNBQVMsRUFBRSxJQUFJO0lBQ2YsU0FBUyxFQUFFLElBQUk7SUFDZixTQUFTLEVBQUUsSUFBSTtJQUNmLE9BQU8sRUFBRSxJQUFJO0lBQ2IsU0FBUyxFQUFFLElBQUk7SUFDZixTQUFTLEVBQUUsSUFBSTtJQUNmLFNBQVMsRUFBRSxJQUFJO0lBQ2YsU0FBUyxFQUFFLElBQUk7SUFDZixHQUFHLEVBQ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ICdwYS1BcmFiJyxcbiAgJ3NyLUN5cmwtUlMnOiAnc3ItQ3lybCcsXG4gICdzci1MYXRuLVJTJzogJ3NyLUxhdG4nLFxuICAndGctQ3lybCc6ICd0ZycsXG4gICd0ay1MYXRuJzogJ3RrJyxcbiAgJ3R0LUN5cmwnOiAndHQnLFxuICAndWctQXJhYic6ICd1ZycsXG4gICd5by1MYXRuJzogJ3lvJyxcbn07XG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/core.module.js b/npm/ng-packs/dist/core/esm5/lib/core.module.js deleted file mode 100644 index df966c27a13..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/core.module.js +++ /dev/null @@ -1,138 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/core.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { CommonModule } from '@angular/common'; -import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; -import { APP_INITIALIZER, Injector, NgModule } from '@angular/core'; -import { FormsModule, ReactiveFormsModule } from '@angular/forms'; -import { RouterModule } from '@angular/router'; -import { NgxsRouterPluginModule } from '@ngxs/router-plugin'; -import { NgxsStoragePluginModule } from '@ngxs/storage-plugin'; -import { NgxsModule, NGXS_PLUGINS } from '@ngxs/store'; -import { OAuthModule } from 'angular-oauth2-oidc'; -import { AbstractNgModelComponent } from './abstracts/ng-model.component'; -import { DynamicLayoutComponent } from './components/dynamic-layout.component'; -import { RouterOutletComponent } from './components/router-outlet.component'; -import { AutofocusDirective } from './directives/autofocus.directive'; -import { InputEventDebounceDirective } from './directives/debounce.directive'; -import { EllipsisDirective } from './directives/ellipsis.directive'; -import { ForDirective } from './directives/for.directive'; -import { FormSubmitDirective } from './directives/form-submit.directive'; -import { PermissionDirective } from './directives/permission.directive'; -import { ClickEventStopPropagationDirective } from './directives/stop-propagation.directive'; -import { VisibilityDirective } from './directives/visibility.directive'; -import { ApiInterceptor } from './interceptors/api.interceptor'; -import { LocalizationPipe } from './pipes/localization.pipe'; -import { SortPipe } from './pipes/sort.pipe'; -import { ConfigPlugin, NGXS_CONFIG_PLUGIN_OPTIONS } from './plugins/config.plugin'; -import { LocaleProvider } from './providers/locale.provider'; -import { ConfigState } from './states/config.state'; -import { ProfileState } from './states/profile.state'; -import { SessionState } from './states/session.state'; -import { getInitialData, localeInitializer } from './utils/initial-utils'; -import './utils/date-extensions'; -var CoreModule = /** @class */ (function () { - function CoreModule() { - } - /** - * @param {?=} options - * @return {?} - */ - CoreModule.forRoot = /** - * @param {?=} options - * @return {?} - */ - function (options) { - if (options === void 0) { options = (/** @type {?} */ ({})); } - return { - ngModule: CoreModule, - providers: [ - LocaleProvider, - { - provide: NGXS_PLUGINS, - useClass: ConfigPlugin, - multi: true, - }, - { - provide: NGXS_CONFIG_PLUGIN_OPTIONS, - useValue: options, - }, - { - provide: HTTP_INTERCEPTORS, - useClass: ApiInterceptor, - multi: true, - }, - { - provide: APP_INITIALIZER, - multi: true, - deps: [Injector], - useFactory: getInitialData, - }, - { - provide: APP_INITIALIZER, - multi: true, - deps: [Injector], - useFactory: localeInitializer, - }, - ], - }; - }; - CoreModule.decorators = [ - { type: NgModule, args: [{ - imports: [ - NgxsModule.forFeature([ProfileState, SessionState, ConfigState]), - NgxsRouterPluginModule.forRoot(), - NgxsStoragePluginModule.forRoot({ key: ['SessionState'] }), - OAuthModule.forRoot(), - CommonModule, - HttpClientModule, - FormsModule, - ReactiveFormsModule, - RouterModule, - ], - declarations: [ - RouterOutletComponent, - DynamicLayoutComponent, - AutofocusDirective, - EllipsisDirective, - ForDirective, - FormSubmitDirective, - LocalizationPipe, - SortPipe, - PermissionDirective, - VisibilityDirective, - InputEventDebounceDirective, - ClickEventStopPropagationDirective, - AbstractNgModelComponent, - ], - exports: [ - CommonModule, - HttpClientModule, - FormsModule, - ReactiveFormsModule, - RouterModule, - RouterOutletComponent, - DynamicLayoutComponent, - AutofocusDirective, - EllipsisDirective, - ForDirective, - FormSubmitDirective, - LocalizationPipe, - SortPipe, - PermissionDirective, - VisibilityDirective, - InputEventDebounceDirective, - LocalizationPipe, - ClickEventStopPropagationDirective, - AbstractNgModelComponent, - ], - providers: [LocalizationPipe], - entryComponents: [RouterOutletComponent, DynamicLayoutComponent], - },] } - ]; - return CoreModule; -}()); -export { CoreModule }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29yZS5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvY29yZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGdCQUFnQixFQUFFLGlCQUFpQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDM0UsT0FBTyxFQUFFLGVBQWUsRUFBRSxRQUFRLEVBQXVCLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RixPQUFPLEVBQUUsV0FBVyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDbEUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQzdELE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQy9ELE9BQU8sRUFBRSxVQUFVLEVBQUUsWUFBWSxFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQ3ZELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUNsRCxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztB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Age1xyXG4gICAgICAgICAgcHJvdmlkZTogSFRUUF9JTlRFUkNFUFRPUlMsXHJcbiAgICAgICAgICB1c2VDbGFzczogQXBpSW50ZXJjZXB0b3IsXHJcbiAgICAgICAgICBtdWx0aTogdHJ1ZSxcclxuICAgICAgICB9LFxyXG4gICAgICAgIHtcclxuICAgICAgICAgIHByb3ZpZGU6IEFQUF9JTklUSUFMSVpFUixcclxuICAgICAgICAgIG11bHRpOiB0cnVlLFxyXG4gICAgICAgICAgZGVwczogW0luamVjdG9yXSxcclxuICAgICAgICAgIHVzZUZhY3Rvcnk6IGdldEluaXRpYWxEYXRhLFxyXG4gICAgICAgIH0sXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgcHJvdmlkZTogQVBQX0lOSVRJQUxJWkVSLFxyXG4gICAgICAgICAgbXVsdGk6IHRydWUsXHJcbiAgICAgICAgICBkZXBzOiBbSW5qZWN0b3JdLFxyXG4gICAgICAgICAgdXNlRmFjdG9yeTogbG9jYWxlSW5pdGlhbGl6ZXIsXHJcbiAgICAgICAgfSxcclxuICAgICAgXSxcclxuICAgIH07XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/directives/autofocus.directive.js b/npm/ng-packs/dist/core/esm5/lib/directives/autofocus.directive.js deleted file mode 100644 index 36eb47fea8e..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/directives/autofocus.directive.js +++ /dev/null @@ -1,50 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/autofocus.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Directive, ElementRef, Input } from '@angular/core'; -var AutofocusDirective = /** @class */ (function () { - function AutofocusDirective(elRef) { - this.elRef = elRef; - this.delay = 0; - } - /** - * @return {?} - */ - AutofocusDirective.prototype.ngAfterViewInit = /** - * @return {?} - */ - function () { - var _this = this; - setTimeout((/** - * @return {?} - */ - function () { return _this.elRef.nativeElement.focus(); }), this.delay); - }; - AutofocusDirective.decorators = [ - { type: Directive, args: [{ - // tslint:disable-next-line: directive-selector - selector: '[autofocus]' - },] } - ]; - /** @nocollapse */ - AutofocusDirective.ctorParameters = function () { return [ - { type: ElementRef } - ]; }; - AutofocusDirective.propDecorators = { - delay: [{ type: Input, args: ['autofocus',] }] - }; - return AutofocusDirective; -}()); -export { AutofocusDirective }; -if (false) { - /** @type {?} */ - AutofocusDirective.prototype.delay; - /** - * @type {?} - * @private - */ - AutofocusDirective.prototype.elRef; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0b2ZvY3VzLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi9kaXJlY3RpdmVzL2F1dG9mb2N1cy5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBRSxLQUFLLEVBQWlCLE1BQU0sZUFBZSxDQUFDO0FBRTVFO0lBUUUsNEJBQW9CLEtBQWlCO1FBQWpCLFVBQUssR0FBTCxLQUFLLENBQVk7UUFGckMsVUFBSyxHQUFHLENBQUMsQ0FBQztJQUU4QixDQUFDOzs7O0lBRXpDLDRDQUFlOzs7SUFBZjtRQUFBLGlCQUVDO1FBREMsVUFBVTs7O1FBQUMsY0FBTSxPQUFBLEtBQUksQ0FBQyxLQUFLLENBQUMsYUFBYSxDQUFDLEtBQUssRUFBRSxFQUFoQyxDQUFnQyxHQUFFLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQztJQUNqRSxDQUFDOztnQkFaRixTQUFTLFNBQUM7O29CQUVULFFBQVEsRUFBRSxhQUFhO2lCQUN4Qjs7OztnQkFMbUIsVUFBVTs7O3dCQU8zQixLQUFLLFNBQUMsV0FBVzs7SUFRcEIseUJBQUM7Q0FBQSxBQWJELElBYUM7U0FUWSxrQkFBa0I7OztJQUM3QixtQ0FDVTs7Ozs7SUFFRSxtQ0FBeUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUsIEVsZW1lbnRSZWYsIElucHV0LCBBZnRlclZpZXdJbml0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5ARGlyZWN0aXZlKHtcclxuICAvLyB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmU6IGRpcmVjdGl2ZS1zZWxlY3RvclxyXG4gIHNlbGVjdG9yOiAnW2F1dG9mb2N1c10nXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBBdXRvZm9jdXNEaXJlY3RpdmUgaW1wbGVtZW50cyBBZnRlclZpZXdJbml0IHtcclxuICBASW5wdXQoJ2F1dG9mb2N1cycpXHJcbiAgZGVsYXkgPSAwO1xyXG5cclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIGVsUmVmOiBFbGVtZW50UmVmKSB7fVxyXG5cclxuICBuZ0FmdGVyVmlld0luaXQoKTogdm9pZCB7XHJcbiAgICBzZXRUaW1lb3V0KCgpID0+IHRoaXMuZWxSZWYubmF0aXZlRWxlbWVudC5mb2N1cygpLCB0aGlzLmRlbGF5KTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/directives/debounce.directive.js b/npm/ng-packs/dist/core/esm5/lib/directives/debounce.directive.js deleted file mode 100644 index 0d2d9e66923..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/directives/debounce.directive.js +++ /dev/null @@ -1,69 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/debounce.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Directive, ElementRef, EventEmitter, Input, Output } from '@angular/core'; -import { takeUntilDestroy } from '@ngx-validate/core'; -import { fromEvent } from 'rxjs'; -import { debounceTime } from 'rxjs/operators'; -var InputEventDebounceDirective = /** @class */ (function () { - function InputEventDebounceDirective(el) { - this.el = el; - this.debounce = 300; - this.debounceEvent = new EventEmitter(); - } - /** - * @return {?} - */ - InputEventDebounceDirective.prototype.ngOnInit = /** - * @return {?} - */ - function () { - var _this = this; - fromEvent(this.el.nativeElement, 'input') - .pipe(debounceTime(this.debounce), takeUntilDestroy(this)) - .subscribe((/** - * @param {?} event - * @return {?} - */ - function (event) { - _this.debounceEvent.emit(event); - })); - }; - /** - * @return {?} - */ - InputEventDebounceDirective.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - InputEventDebounceDirective.decorators = [ - { type: Directive, args: [{ - // tslint:disable-next-line: directive-selector - selector: '[input.debounce]', - },] } - ]; - /** @nocollapse */ - InputEventDebounceDirective.ctorParameters = function () { return [ - { type: ElementRef } - ]; }; - InputEventDebounceDirective.propDecorators = { - debounce: [{ type: Input }], - debounceEvent: [{ type: Output, args: ['input.debounce',] }] - }; - return InputEventDebounceDirective; -}()); -export { InputEventDebounceDirective }; -if (false) { - /** @type {?} */ - InputEventDebounceDirective.prototype.debounce; - /** @type {?} */ - InputEventDebounceDirective.prototype.debounceEvent; - /** - * @type {?} - * @private - */ - InputEventDebounceDirective.prototype.el; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVib3VuY2UuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2RpcmVjdGl2ZXMvZGVib3VuY2UuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBcUIsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FB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biAgICAgICAgdGhpcy5kZWJvdW5jZUV2ZW50LmVtaXQoZXZlbnQpO1xyXG4gICAgICB9KTtcclxuICB9XHJcblxyXG4gIG5nT25EZXN0cm95KCk6IHZvaWQge31cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/directives/ellipsis.directive.js b/npm/ng-packs/dist/core/esm5/lib/directives/ellipsis.directive.js deleted file mode 100644 index 75ee62bb628..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/directives/ellipsis.directive.js +++ /dev/null @@ -1,92 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/ellipsis.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { ChangeDetectorRef, Directive, ElementRef, HostBinding, Input } from '@angular/core'; -var EllipsisDirective = /** @class */ (function () { - function EllipsisDirective(cdRef, elRef) { - this.cdRef = cdRef; - this.elRef = elRef; - this.enabled = true; - } - Object.defineProperty(EllipsisDirective.prototype, "inlineClass", { - get: /** - * @return {?} - */ - function () { - return this.enabled && this.width; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(EllipsisDirective.prototype, "class", { - get: /** - * @return {?} - */ - function () { - return this.enabled && !this.width; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(EllipsisDirective.prototype, "maxWidth", { - get: /** - * @return {?} - */ - function () { - return this.enabled && this.width ? this.width || '170px' : undefined; - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - EllipsisDirective.prototype.ngAfterViewInit = /** - * @return {?} - */ - function () { - this.title = this.title || ((/** @type {?} */ (this.elRef.nativeElement))).innerText; - this.cdRef.detectChanges(); - }; - EllipsisDirective.decorators = [ - { type: Directive, args: [{ - selector: '[abpEllipsis]', - },] } - ]; - /** @nocollapse */ - EllipsisDirective.ctorParameters = function () { return [ - { type: ChangeDetectorRef }, - { type: ElementRef } - ]; }; - EllipsisDirective.propDecorators = { - width: [{ type: Input, args: ['abpEllipsis',] }], - title: [{ type: HostBinding, args: ['title',] }, { type: Input }], - enabled: [{ type: Input, args: ['abpEllipsisEnabled',] }], - inlineClass: [{ type: HostBinding, args: ['class.abp-ellipsis-inline',] }], - class: [{ type: HostBinding, args: ['class.abp-ellipsis',] }], - maxWidth: [{ type: HostBinding, args: ['style.max-width',] }] - }; - return EllipsisDirective; -}()); -export { EllipsisDirective }; -if (false) { - /** @type {?} */ - EllipsisDirective.prototype.width; - /** @type {?} */ - EllipsisDirective.prototype.title; - /** @type {?} */ - EllipsisDirective.prototype.enabled; - /** - * @type {?} - * @private - */ - EllipsisDirective.prototype.cdRef; - /** - * @type {?} - * @private - */ - EllipsisDirective.prototype.elRef; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWxsaXBzaXMuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2RpcmVjdGl2ZXMvZWxsaXBzaXMuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFpQixpQkFBaUIsRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFNUc7SUE2QkUsMkJBQW9CLEtBQXdCLEVBQVUsS0FBaUI7UUFBbkQsVUFBSyxHQUFMLEtBQUssQ0FBbUI7UUFBVSxVQUFLLEdBQUwsS0FBSyxDQUFZO1FBakJ2RSxZQUFPLEdBQUcsSUFBSSxDQUFDO0lBaUIyRCxDQUFDO0lBZjNFLHNCQUNJLDBDQUFXOzs7O1FBRGY7WUFFRSxPQUFPLElBQUksQ0FBQyxPQUFPLElBQUksSUFBSSxDQUFDLEtBQUssQ0FBQztRQUNwQyxDQUFDOzs7T0FBQTtJQUVELHNCQUNJLG9DQUFL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Z2VEZXRlY3RvclJlZiwgcHJpdmF0ZSBlbFJlZjogRWxlbWVudFJlZikge31cclxuXHJcbiAgbmdBZnRlclZpZXdJbml0KCkge1xyXG4gICAgdGhpcy50aXRsZSA9IHRoaXMudGl0bGUgfHwgKHRoaXMuZWxSZWYubmF0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuaW5uZXJUZXh0O1xyXG4gICAgdGhpcy5jZFJlZi5kZXRlY3RDaGFuZ2VzKCk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/directives/for.directive.js b/npm/ng-packs/dist/core/esm5/lib/directives/for.directive.js deleted file mode 100644 index a117623a130..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/directives/for.directive.js +++ /dev/null @@ -1,302 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/for.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Directive, Input, IterableDiffers, TemplateRef, ViewContainerRef, } from '@angular/core'; -import compare from 'just-compare'; -import clone from 'just-clone'; -var AbpForContext = /** @class */ (function () { - function AbpForContext($implicit, index, count, list) { - this.$implicit = $implicit; - this.index = index; - this.count = count; - this.list = list; - } - return AbpForContext; -}()); -if (false) { - /** @type {?} */ - AbpForContext.prototype.$implicit; - /** @type {?} */ - AbpForContext.prototype.index; - /** @type {?} */ - AbpForContext.prototype.count; - /** @type {?} */ - AbpForContext.prototype.list; -} -var RecordView = /** @class */ (function () { - function RecordView(record, view) { - this.record = record; - this.view = view; - } - return RecordView; -}()); -if (false) { - /** @type {?} */ - RecordView.prototype.record; - /** @type {?} */ - RecordView.prototype.view; -} -var ForDirective = /** @class */ (function () { - function ForDirective(tempRef, vcRef, differs) { - this.tempRef = tempRef; - this.vcRef = vcRef; - this.differs = differs; - } - Object.defineProperty(ForDirective.prototype, "compareFn", { - get: /** - * @return {?} - */ - function () { - return this.compareBy || compare; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ForDirective.prototype, "trackByFn", { - get: /** - * @return {?} - */ - function () { - return this.trackBy || ((/** - * @param {?} index - * @param {?} item - * @return {?} - */ - function (index, item) { return ((/** @type {?} */ (item))).id || index; })); - }, - enumerable: true, - configurable: true - }); - /** - * @private - * @param {?} changes - * @return {?} - */ - ForDirective.prototype.iterateOverAppliedOperations = /** - * @private - * @param {?} changes - * @return {?} - */ - function (changes) { - var _this = this; - /** @type {?} */ - var rw = []; - changes.forEachOperation((/** - * @param {?} record - * @param {?} previousIndex - * @param {?} currentIndex - * @return {?} - */ - function (record, previousIndex, currentIndex) { - if (record.previousIndex == null) { - /** @type {?} */ - var view = _this.vcRef.createEmbeddedView(_this.tempRef, new AbpForContext(null, -1, -1, _this.items), currentIndex); - rw.push(new RecordView(record, view)); - } - else if (currentIndex == null) { - _this.vcRef.remove(previousIndex); - } - else { - /** @type {?} */ - var view = _this.vcRef.get(previousIndex); - _this.vcRef.move(view, currentIndex); - rw.push(new RecordView(record, (/** @type {?} */ (view)))); - } - })); - for (var i = 0, l = rw.length; i < l; i++) { - rw[i].view.context.$implicit = rw[i].record.item; - } - }; - /** - * @private - * @param {?} changes - * @return {?} - */ - ForDirective.prototype.iterateOverAttachedViews = /** - * @private - * @param {?} changes - * @return {?} - */ - function (changes) { - var _this = this; - for (var i = 0, l = this.vcRef.length; i < l; i++) { - /** @type {?} */ - var viewRef = (/** @type {?} */ (this.vcRef.get(i))); - viewRef.context.index = i; - viewRef.context.count = l; - viewRef.context.list = this.items; - } - changes.forEachIdentityChange((/** - * @param {?} record - * @return {?} - */ - function (record) { - /** @type {?} */ - var viewRef = (/** @type {?} */ (_this.vcRef.get(record.currentIndex))); - viewRef.context.$implicit = record.item; - })); - }; - /** - * @private - * @param {?} items - * @return {?} - */ - ForDirective.prototype.projectItems = /** - * @private - * @param {?} items - * @return {?} - */ - function (items) { - if (!items.length && this.emptyRef) { - this.vcRef.clear(); - // tslint:disable-next-line: no-unused-expression - this.vcRef.createEmbeddedView(this.emptyRef).rootNodes; - this.isShowEmptyRef = true; - this.differ = null; - return; - } - if (this.emptyRef && this.isShowEmptyRef) { - this.vcRef.clear(); - this.isShowEmptyRef = false; - } - if (!this.differ && items) { - this.differ = this.differs.find(items).create(this.trackByFn); - } - if (this.differ) { - /** @type {?} */ - var changes = this.differ.diff(items); - if (changes) { - this.iterateOverAppliedOperations(changes); - this.iterateOverAttachedViews(changes); - } - } - }; - /** - * @private - * @param {?} items - * @return {?} - */ - ForDirective.prototype.sortItems = /** - * @private - * @param {?} items - * @return {?} - */ - function (items) { - var _this = this; - if (this.orderBy) { - items.sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - function (a, b) { return (a[_this.orderBy] > b[_this.orderBy] ? 1 : a[_this.orderBy] < b[_this.orderBy] ? -1 : 0); })); - } - else { - items.sort(); - } - }; - /** - * @return {?} - */ - ForDirective.prototype.ngOnChanges = /** - * @return {?} - */ - function () { - var _this = this; - /** @type {?} */ - var items = (/** @type {?} */ (clone(this.items))); - if (!Array.isArray(items)) - return; - /** @type {?} */ - var compareFn = this.compareFn; - if (typeof this.filterBy !== 'undefined' && typeof this.filterVal !== 'undefined' && this.filterVal !== '') { - items = items.filter((/** - * @param {?} item - * @return {?} - */ - function (item) { return compareFn(item[_this.filterBy], _this.filterVal); })); - } - switch (this.orderDir) { - case 'ASC': - this.sortItems(items); - this.projectItems(items); - break; - case 'DESC': - this.sortItems(items); - items.reverse(); - this.projectItems(items); - break; - default: - this.projectItems(items); - } - }; - ForDirective.decorators = [ - { type: Directive, args: [{ - selector: '[abpFor]', - },] } - ]; - /** @nocollapse */ - ForDirective.ctorParameters = function () { return [ - { type: TemplateRef }, - { type: ViewContainerRef }, - { type: IterableDiffers } - ]; }; - ForDirective.propDecorators = { - items: [{ type: Input, args: ['abpForOf',] }], - orderBy: [{ type: Input, args: ['abpForOrderBy',] }], - orderDir: [{ type: Input, args: ['abpForOrderDir',] }], - filterBy: [{ type: Input, args: ['abpForFilterBy',] }], - filterVal: [{ type: Input, args: ['abpForFilterVal',] }], - trackBy: [{ type: Input, args: ['abpForTrackBy',] }], - compareBy: [{ type: Input, args: ['abpForCompareBy',] }], - emptyRef: [{ type: Input, args: ['abpForEmptyRef',] }] - }; - return ForDirective; -}()); -export { ForDirective }; -if (false) { - /** @type {?} */ - ForDirective.prototype.items; - /** @type {?} */ - ForDirective.prototype.orderBy; - /** @type {?} */ - ForDirective.prototype.orderDir; - /** @type {?} */ - ForDirective.prototype.filterBy; - /** @type {?} */ - ForDirective.prototype.filterVal; - /** @type {?} */ - ForDirective.prototype.trackBy; - /** @type {?} */ - ForDirective.prototype.compareBy; - /** @type {?} */ - ForDirective.prototype.emptyRef; - /** - * @type {?} - * @private - */ - ForDirective.prototype.differ; - /** - * @type {?} - * @private - */ - ForDirective.prototype.isShowEmptyRef; - /** - * @type {?} - * @private - */ - ForDirective.prototype.tempRef; - /** - * @type {?} - * @private - */ - ForDirective.prototype.vcRef; - /** - * @type {?} - * @private - */ - ForDirective.prototype.differs; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9yLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi9kaXJlY3RpdmVzL2Zvci5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUVULEtBQUssRUFJTCxlQUFlLEVBRWYsV0FBVyxFQUVYLGdCQUFnQixHQUNqQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLE9BQU8sTUFBTSxjQUFjLENBQUM7QUFDbkMsT0FBTyxLQUFLLE1BQU0sWUFBWSxDQUFDO0FBSS9CO0lBQ0UsdUJBQW1CLFNBQWMsRUFBUyxLQUFhLEVBQVMsS0FBYSxFQU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VyVmFsKSk7XHJcbiAgICB9XHJcblxyXG4gICAgc3dpdGNoICh0aGlzLm9yZGVyRGlyKSB7XHJcbiAgICAgIGNhc2UgJ0FTQyc6XHJcbiAgICAgICAgdGhpcy5zb3J0SXRlbXMoaXRlbXMpO1xyXG4gICAgICAgIHRoaXMucHJvamVjdEl0ZW1zKGl0ZW1zKTtcclxuICAgICAgICBicmVhaztcclxuXHJcbiAgICAgIGNhc2UgJ0RFU0MnOlxyXG4gICAgICAgIHRoaXMuc29ydEl0ZW1zKGl0ZW1zKTtcclxuICAgICAgICBpdGVtcy5yZXZlcnNlKCk7XHJcbiAgICAgICAgdGhpcy5wcm9qZWN0SXRlbXMoaXRlbXMpO1xyXG4gICAgICAgIGJyZWFrO1xyXG5cclxuICAgICAgZGVmYXVsdDpcclxuICAgICAgICB0aGlzLnByb2plY3RJdGVtcyhpdGVtcyk7XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/directives/form-submit.directive.js b/npm/ng-packs/dist/core/esm5/lib/directives/form-submit.directive.js deleted file mode 100644 index 010662cdcc9..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/directives/form-submit.directive.js +++ /dev/null @@ -1,139 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/form-submit.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { ChangeDetectorRef, Directive, ElementRef, EventEmitter, Input, Output, Self, } from '@angular/core'; -import { FormGroupDirective } from '@angular/forms'; -import { fromEvent } from 'rxjs'; -import { debounceTime, filter } from 'rxjs/operators'; -import { takeUntilDestroy } from '../utils'; -var FormSubmitDirective = /** @class */ (function () { - function FormSubmitDirective(formGroupDirective, host, cdRef) { - this.formGroupDirective = formGroupDirective; - this.host = host; - this.cdRef = cdRef; - this.debounce = 200; - this.ngSubmit = new EventEmitter(); - this.executedNgSubmit = false; - } - /** - * @return {?} - */ - FormSubmitDirective.prototype.ngOnInit = /** - * @return {?} - */ - function () { - var _this = this; - this.formGroupDirective.ngSubmit.pipe(takeUntilDestroy(this)).subscribe((/** - * @return {?} - */ - function () { - _this.markAsDirty(); - _this.executedNgSubmit = true; - })); - fromEvent((/** @type {?} */ (this.host.nativeElement)), 'keyup') - .pipe(debounceTime(this.debounce), filter((/** - * @param {?} key - * @return {?} - */ - function (key) { return key && key.key === 'Enter'; })), takeUntilDestroy(this)) - .subscribe((/** - * @return {?} - */ - function () { - if (!_this.executedNgSubmit) { - _this.host.nativeElement.dispatchEvent(new Event('submit', { bubbles: true, cancelable: true })); - } - _this.executedNgSubmit = false; - })); - }; - /** - * @return {?} - */ - FormSubmitDirective.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - /** - * @return {?} - */ - FormSubmitDirective.prototype.markAsDirty = /** - * @return {?} - */ - function () { - var form = this.formGroupDirective.form; - setDirty((/** @type {?} */ (form.controls))); - form.markAsDirty(); - this.cdRef.detectChanges(); - }; - FormSubmitDirective.decorators = [ - { type: Directive, args: [{ - // tslint:disable-next-line: directive-selector - selector: 'form[ngSubmit][formGroup]', - },] } - ]; - /** @nocollapse */ - FormSubmitDirective.ctorParameters = function () { return [ - { type: FormGroupDirective, decorators: [{ type: Self }] }, - { type: ElementRef }, - { type: ChangeDetectorRef } - ]; }; - FormSubmitDirective.propDecorators = { - debounce: [{ type: Input }], - notValidateOnSubmit: [{ type: Input }], - ngSubmit: [{ type: Output }] - }; - return FormSubmitDirective; -}()); -export { FormSubmitDirective }; -if (false) { - /** @type {?} */ - FormSubmitDirective.prototype.debounce; - /** @type {?} */ - FormSubmitDirective.prototype.notValidateOnSubmit; - /** @type {?} */ - FormSubmitDirective.prototype.ngSubmit; - /** @type {?} */ - FormSubmitDirective.prototype.executedNgSubmit; - /** - * @type {?} - * @private - */ - FormSubmitDirective.prototype.formGroupDirective; - /** - * @type {?} - * @private - */ - FormSubmitDirective.prototype.host; - /** - * @type {?} - * @private - */ - FormSubmitDirective.prototype.cdRef; -} -/** - * @param {?} controls - * @return {?} - */ -function setDirty(controls) { - if (Array.isArray(controls)) { - controls.forEach((/** - * @param {?} group - * @return {?} - */ - function (group) { - setDirty((/** @type {?} */ (group.controls))); - })); - return; - } - Object.keys(controls).forEach((/** - * @param {?} key - * @return {?} - */ - function (key) { - controls[key].markAsDirty(); - controls[key].updateValueAndValidity(); - })); -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1zdWJtaXQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2RpcmVjdGl2ZXMvZm9ybS1zdWJtaXQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUNMLGlCQUFpQixFQUNqQixTQUFTLEVBQ1QsVUFBVSxFQUNWLFlBQVksRUFDWixLQUFLLEVBR0wsTUFBTSxFQUNOLElBQUksR0FDTCxNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQTBCLGtCQUFrQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDNUUsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUNqQyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3RELE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUk1QztJQWVFLDZCQUNrQixrQkFBc0MsRUFDOUMsSUFBaUMsRUFDakMsS0FBd0I7UUFGaEIsdUJBQWtCLEdBQWxCLGtCQUFrQixDQUFvQjtRQUM5QyxTQUFJLEdBQUosSUFBSSxDQUE2QjtRQUNqQyxVQUFLLEdBQUwsS0FBSyxDQUFtQjtRQVpsQyxhQUF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nRyb2xzW2tleV0udXBkYXRlVmFsdWVBbmRWYWxpZGl0eSgpO1xyXG4gIH0pO1xyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/directives/index.js b/npm/ng-packs/dist/core/esm5/lib/directives/index.js deleted file mode 100644 index 87f9876fc36..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/directives/index.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { AutofocusDirective } from './autofocus.directive'; -export { EllipsisDirective } from './ellipsis.directive'; -export { ForDirective } from './for.directive'; -export { FormSubmitDirective } from './form-submit.directive'; -export { PermissionDirective } from './permission.directive'; -export { VisibilityDirective } from './visibility.directive'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvZGlyZWN0aXZlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLG1DQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGtDQUFjLHNCQUFzQixDQUFDO0FBQ3JDLDZCQUFjLGlCQUFpQixDQUFDO0FBQ2hDLG9DQUFjLHlCQUF5QixDQUFDO0FBQ3hDLG9DQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLG9DQUFjLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hdXRvZm9jdXMuZGlyZWN0aXZlJztcclxuZXhwb3J0ICogZnJvbSAnLi9lbGxpcHNpcy5kaXJlY3RpdmUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2Zvci5kaXJlY3RpdmUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2Zvcm0tc3VibWl0LmRpcmVjdGl2ZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vcGVybWlzc2lvbi5kaXJlY3RpdmUnO1xyXG5leHBvcnQgKiBmcm9tICcuL3Zpc2liaWxpdHkuZGlyZWN0aXZlJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/directives/permission.directive.js b/npm/ng-packs/dist/core/esm5/lib/directives/permission.directive.js deleted file mode 100644 index 64bd24dc092..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/directives/permission.directive.js +++ /dev/null @@ -1,133 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/permission.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Directive, ElementRef, Input, Renderer2, ViewContainerRef, TemplateRef, Optional, } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { ConfigState } from '../states'; -import { takeUntilDestroy } from '../utils'; -var PermissionDirective = /** @class */ (function () { - function PermissionDirective(elRef, renderer, store, templateRef, vcRef) { - this.elRef = elRef; - this.renderer = renderer; - this.store = store; - this.templateRef = templateRef; - this.vcRef = vcRef; - } - /** - * @private - * @return {?} - */ - PermissionDirective.prototype.check = /** - * @private - * @return {?} - */ - function () { - var _this = this; - if (this.subscription) { - this.subscription.unsubscribe(); - } - this.subscription = this.store - .select(ConfigState.getGrantedPolicy(this.condition)) - .pipe(takeUntilDestroy(this)) - .subscribe((/** - * @param {?} isGranted - * @return {?} - */ - function (isGranted) { - if (_this.templateRef && isGranted) { - _this.vcRef.clear(); - _this.vcRef.createEmbeddedView(_this.templateRef); - } - else if (_this.templateRef && !isGranted) { - _this.vcRef.clear(); - } - else if (!isGranted && !_this.templateRef) { - _this.renderer.removeChild(((/** @type {?} */ (_this.elRef.nativeElement))).parentElement, _this.elRef.nativeElement); - } - })); - }; - /** - * @return {?} - */ - PermissionDirective.prototype.ngOnInit = /** - * @return {?} - */ - function () { - if (this.templateRef && !this.condition) { - this.vcRef.createEmbeddedView(this.templateRef); - } - }; - /** - * @return {?} - */ - PermissionDirective.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - /** - * @param {?} __0 - * @return {?} - */ - PermissionDirective.prototype.ngOnChanges = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var condition = _a.condition; - if ((condition || { currentValue: null }).currentValue) { - this.check(); - } - }; - PermissionDirective.decorators = [ - { type: Directive, args: [{ - selector: '[abpPermission]', - },] } - ]; - /** @nocollapse */ - PermissionDirective.ctorParameters = function () { return [ - { type: ElementRef }, - { type: Renderer2 }, - { type: Store }, - { type: TemplateRef, decorators: [{ type: Optional }] }, - { type: ViewContainerRef } - ]; }; - PermissionDirective.propDecorators = { - condition: [{ type: Input, args: ['abpPermission',] }] - }; - return PermissionDirective; -}()); -export { PermissionDirective }; -if (false) { - /** @type {?} */ - PermissionDirective.prototype.condition; - /** @type {?} */ - PermissionDirective.prototype.subscription; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.elRef; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.renderer; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.store; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.templateRef; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.vcRef; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvZGlyZWN0aXZlcy9wZXJtaXNzaW9uLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsVUFBVSxFQUNWLEtBQUssRUFHTCxTQUFTLEVBQ1QsZ0JBQWdCLEVBQ2hCLFdBQVcsRUFDWCxRQUF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iYgIXRoaXMudGVtcGxhdGVSZWYpIHtcclxuICAgICAgICAgIHRoaXMucmVuZGVyZXIucmVtb3ZlQ2hpbGQoKHRoaXMuZWxSZWYubmF0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkucGFyZW50RWxlbWVudCwgdGhpcy5lbFJlZi5uYXRpdmVFbGVtZW50KTtcclxuICAgICAgICB9XHJcbiAgICAgIH0pO1xyXG4gIH1cclxuXHJcbiAgbmdPbkluaXQoKSB7XHJcbiAgICBpZiAodGhpcy50ZW1wbGF0ZVJlZiAmJiAhdGhpcy5jb25kaXRpb24pIHtcclxuICAgICAgdGhpcy52Y1JlZi5jcmVhdGVFbWJlZGRlZFZpZXcodGhpcy50ZW1wbGF0ZVJlZik7XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICBuZ09uRGVzdHJveSgpOiB2b2lkIHt9XHJcblxyXG4gIG5nT25DaGFuZ2VzKHsgY29uZGl0aW9uIH06IFNpbXBsZUNoYW5nZXMpIHtcclxuICAgIGlmICgoY29uZGl0aW9uIHx8IHsgY3VycmVudFZhbHVlOiBudWxsIH0pLmN1cnJlbnRWYWx1ZSkge1xyXG4gICAgICB0aGlzLmNoZWNrKCk7XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/directives/stop-propagation.directive.js b/npm/ng-packs/dist/core/esm5/lib/directives/stop-propagation.directive.js deleted file mode 100644 index b57bdffbe31..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/directives/stop-propagation.directive.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/stop-propagation.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Directive, ElementRef, EventEmitter, Output } from '@angular/core'; -import { fromEvent } from 'rxjs'; -import { takeUntilDestroy } from '../utils/rxjs-utils'; -var ClickEventStopPropagationDirective = /** @class */ (function () { - function ClickEventStopPropagationDirective(el) { - this.el = el; - this.stopPropEvent = new EventEmitter(); - } - /** - * @return {?} - */ - ClickEventStopPropagationDirective.prototype.ngOnInit = /** - * @return {?} - */ - function () { - var _this = this; - fromEvent(this.el.nativeElement, 'click') - .pipe(takeUntilDestroy(this)) - .subscribe((/** - * @param {?} event - * @return {?} - */ - function (event) { - event.stopPropagation(); - _this.stopPropEvent.emit(event); - })); - }; - /** - * @return {?} - */ - ClickEventStopPropagationDirective.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - ClickEventStopPropagationDirective.decorators = [ - { type: Directive, args: [{ - // tslint:disable-next-line: directive-selector - selector: '[click.stop]', - },] } - ]; - /** @nocollapse */ - ClickEventStopPropagationDirective.ctorParameters = function () { return [ - { type: ElementRef } - ]; }; - ClickEventStopPropagationDirective.propDecorators = { - stopPropEvent: [{ type: Output, args: ['click.stop',] }] - }; - return ClickEventStopPropagationDirective; -}()); -export { ClickEventStopPropagationDirective }; -if (false) { - /** @type {?} */ - ClickEventStopPropagationDirective.prototype.stopPropEvent; - /** - * @type {?} - * @private - */ - ClickEventStopPropagationDirective.prototype.el; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvcC1wcm9wYWdhdGlvbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvZGlyZWN0aXZlcy9zdG9wLXByb3BhZ2F0aW9uLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLFlBQVksRUFBVSxNQUFNLEVBQWEsTUFBTSxlQUFlLENBQUM7QUFDL0YsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUNqQyxPQUFPLEVBQUUsZ0JB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3J4anMtdXRpbHMnO1xyXG5cclxuQERpcmVjdGl2ZSh7XHJcbiAgLy8gdHNsaW50OmRpc2FibGUtbmV4dC1saW5lOiBkaXJlY3RpdmUtc2VsZWN0b3JcclxuICBzZWxlY3RvcjogJ1tjbGljay5zdG9wXScsXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBDbGlja0V2ZW50U3RvcFByb3BhZ2F0aW9uRGlyZWN0aXZlIGltcGxlbWVudHMgT25Jbml0LCBPbkRlc3Ryb3kge1xyXG4gIEBPdXRwdXQoJ2NsaWNrLnN0b3AnKSByZWFkb25seSBzdG9wUHJvcEV2ZW50ID0gbmV3IEV2ZW50RW1pdHRlcjxNb3VzZUV2ZW50PigpO1xyXG5cclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIGVsOiBFbGVtZW50UmVmKSB7fVxyXG5cclxuICBuZ09uSW5pdCgpOiB2b2lkIHtcclxuICAgIGZyb21FdmVudCh0aGlzLmVsLm5hdGl2ZUVsZW1lbnQsICdjbGljaycpXHJcbiAgICAgIC5waXBlKHRha2VVbnRpbERlc3Ryb3kodGhpcykpXHJcbiAgICAgIC5zdWJzY3JpYmUoKGV2ZW50OiBNb3VzZUV2ZW50KSA9PiB7XHJcbiAgICAgICAgZXZlbnQuc3RvcFByb3BhZ2F0aW9uKCk7XHJcbiAgICAgICAgdGhpcy5zdG9wUHJvcEV2ZW50LmVtaXQoZXZlbnQpO1xyXG4gICAgICB9KTtcclxuICB9XHJcblxyXG4gIG5nT25EZXN0cm95KCk6IHZvaWQge31cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/directives/table-sort.directive.js b/npm/ng-packs/dist/core/esm5/lib/directives/table-sort.directive.js deleted file mode 100644 index f601bfb9906..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/directives/table-sort.directive.js +++ /dev/null @@ -1,79 +0,0 @@ -/** - * @fileoverview added by tsickle - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Directive, Input, Optional, Self } from '@angular/core'; -import { Table } from 'primeng/table'; -import { SortPipe } from '../pipes/sort.pipe'; -import clone from 'just-clone'; -/** - * @record - */ -export function TableSortOptions() {} -if (false) { - /** @type {?} */ - TableSortOptions.prototype.key; - /** @type {?} */ - TableSortOptions.prototype.order; -} -var TableSortDirective = /** @class */ (function() { - function TableSortDirective(table, sortPipe) { - this.table = table; - this.sortPipe = sortPipe; - this.value = []; - } - /** - * @param {?} __0 - * @return {?} - */ - TableSortDirective.prototype.ngOnChanges - /** - * @param {?} __0 - * @return {?} - */ = function(_a) { - var value = _a.value, - abpTableSort = _a.abpTableSort; - if (value || abpTableSort) { - this.abpTableSort = this.abpTableSort || /** @type {?} */ ({}); - this.table.value = this.sortPipe.transform(clone(this.value), this.abpTableSort.order, this.abpTableSort.key); - } - }; - TableSortDirective.decorators = [ - { - type: Directive, - args: [ - { - selector: '[abpTableSort]', - providers: [SortPipe], - }, - ], - }, - ]; - /** @nocollapse */ - TableSortDirective.ctorParameters = function() { - return [{ type: Table, decorators: [{ type: Optional }, { type: Self }] }, { type: SortPipe }]; - }; - TableSortDirective.propDecorators = { - abpTableSort: [{ type: Input }], - value: [{ type: Input }], - }; - return TableSortDirective; -})(); -export { TableSortDirective }; -if (false) { - /** @type {?} */ - TableSortDirective.prototype.abpTableSort; - /** @type {?} */ - TableSortDirective.prototype.value; - /** - * @type {?} - * @private - */ - TableSortDirective.prototype.table; - /** - * @type {?} - * @private - */ - TableSortDirective.prototype.sortPipe; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtc29ydC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvZGlyZWN0aXZlcy90YWJsZS1zb3J0LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzI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ZhbHVlLCBhYnBUYWJsZVNvcnQgfTogU2ltcGxlQ2hhbmdlcykge1xuICAgIGlmICh2YWx1ZSB8fCBhYnBUYWJsZVNvcnQpIHtcbiAgICAgIHRoaXMuYWJwVGFibGVTb3J0ID0gdGhpcy5hYnBUYWJsZVNvcnQgfHwgKHt9IGFzIFRhYmxlU29ydE9wdGlvbnMpO1xuICAgICAgdGhpcy50YWJsZS52YWx1ZSA9IHRoaXMuc29ydFBpcGUudHJhbnNmb3JtKGNsb25lKHRoaXMudmFsdWUpLCB0aGlzLmFicFRhYmxlU29ydC5vcmRlciwgdGhpcy5hYnBUYWJsZVNvcnQua2V5KTtcbiAgICB9XG4gIH1cbn1cbiJdfQ== diff --git a/npm/ng-packs/dist/core/esm5/lib/directives/visibility.directive.js b/npm/ng-packs/dist/core/esm5/lib/directives/visibility.directive.js deleted file mode 100644 index 78211665f62..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/directives/visibility.directive.js +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/visibility.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Directive, Input, Optional, ElementRef, Renderer2 } from '@angular/core'; -import { Subject } from 'rxjs'; -import snq from 'snq'; -var VisibilityDirective = /** @class */ (function () { - function VisibilityDirective(elRef, renderer) { - this.elRef = elRef; - this.renderer = renderer; - this.completed$ = new Subject(); - } - /** - * @return {?} - */ - VisibilityDirective.prototype.ngAfterViewInit = /** - * @return {?} - */ - function () { - var _this = this; - if (!this.focusedElement && this.elRef) { - this.focusedElement = this.elRef.nativeElement; - } - /** @type {?} */ - var observer; - observer = new MutationObserver((/** - * @param {?} mutations - * @return {?} - */ - function (mutations) { - mutations.forEach((/** - * @param {?} mutation - * @return {?} - */ - function (mutation) { - if (!mutation.target) - return; - /** @type {?} */ - var htmlNodes = snq((/** - * @return {?} - */ - function () { return Array.from(mutation.target.childNodes).filter((/** - * @param {?} node - * @return {?} - */ - function (node) { return node instanceof HTMLElement; })); }), []); - if (!htmlNodes.length) { - _this.removeFromDOM(); - } - })); - })); - observer.observe(this.focusedElement, { - childList: true, - }); - setTimeout((/** - * @return {?} - */ - function () { - /** @type {?} */ - var htmlNodes = snq((/** - * @return {?} - */ - function () { return Array.from(_this.focusedElement.childNodes).filter((/** - * @param {?} node - * @return {?} - */ - function (node) { return node instanceof HTMLElement; })); }), []); - if (!htmlNodes.length) - _this.removeFromDOM(); - }), 0); - this.completed$.subscribe((/** - * @return {?} - */ - function () { return observer.disconnect(); })); - }; - /** - * @return {?} - */ - VisibilityDirective.prototype.disconnect = /** - * @return {?} - */ - function () { - this.completed$.next(); - this.completed$.complete(); - }; - /** - * @return {?} - */ - VisibilityDirective.prototype.removeFromDOM = /** - * @return {?} - */ - function () { - if (!this.elRef.nativeElement) - return; - this.renderer.removeChild(this.elRef.nativeElement.parentElement, this.elRef.nativeElement); - this.disconnect(); - }; - VisibilityDirective.decorators = [ - { type: Directive, args: [{ - selector: '[abpVisibility]', - },] } - ]; - /** @nocollapse */ - VisibilityDirective.ctorParameters = function () { return [ - { type: ElementRef, decorators: [{ type: Optional }] }, - { type: Renderer2 } - ]; }; - VisibilityDirective.propDecorators = { - focusedElement: [{ type: Input, args: ['abpVisibility',] }] - }; - return VisibilityDirective; -}()); -export { VisibilityDirective }; -if (false) { - /** @type {?} */ - VisibilityDirective.prototype.focusedElement; - /** @type {?} */ - VisibilityDirective.prototype.completed$; - /** - * @type {?} - * @private - */ - VisibilityDirective.prototype.elRef; - /** - * @type {?} - * @private - */ - VisibilityDirective.prototype.renderer; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlzaWJpbGl0eS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvZGlyZWN0aXZlcy92aXNpYmlsaXR5L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IHtcclxuICAgICAgY29uc3QgaHRtbE5vZGVzID0gc25xKFxyXG4gICAgICAgICgpID0+IEFycmF5LmZyb20odGhpcy5mb2N1c2VkRWxlbWVudC5jaGlsZE5vZGVzKS5maWx0ZXIobm9kZSA9PiBub2RlIGluc3RhbmNlb2YgSFRNTEVsZW1lbnQpLFxyXG4gICAgICAgIFtdLFxyXG4gICAgICApO1xyXG5cclxuICAgICAgaWYgKCFodG1sTm9kZXMubGVuZ3RoKSB0aGlzLnJlbW92ZUZyb21ET00oKTtcclxuICAgIH0sIDApO1xyXG5cclxuICAgIHRoaXMuY29tcGxldGVkJC5zdWJzY3JpYmUoKCkgPT4gb2JzZXJ2ZXIuZGlzY29ubmVjdCgpKTtcclxuICB9XHJcblxyXG4gIGRpc2Nvbm5lY3QoKSB7XHJcbiAgICB0aGlzLmNvbXBsZXRlZCQubmV4dCgpO1xyXG4gICAgdGhpcy5jb21wbGV0ZWQkLmNvbXBsZXRlKCk7XHJcbiAgfVxyXG5cclxuICByZW1vdmVGcm9tRE9NKCkge1xyXG4gICAgaWYgKCF0aGlzLmVsUmVmLm5hdGl2ZUVsZW1lbnQpIHJldHVybjtcclxuXHJcbiAgICB0aGlzLnJlbmRlcmVyLnJlbW92ZUNoaWxkKHRoaXMuZWxSZWYubmF0aXZlRWxlbWVudC5wYXJlbnRFbGVtZW50LCB0aGlzLmVsUmVmLm5hdGl2ZUVsZW1lbnQpO1xyXG4gICAgdGhpcy5kaXNjb25uZWN0KCk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/enums/common.js b/npm/ng-packs/dist/core/esm5/lib/enums/common.js deleted file mode 100644 index ab6ef7b5fa7..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/enums/common.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/enums/common.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @enum {string} */ -var eLayoutType = { - account: "account", - application: "application", - empty: "empty", - /** - * @deprecated since version 0.9.0 - */ - setting: "setting", -}; -export { eLayoutType }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2VudW1zL2NvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxJQUFrQixXQUFXO0lBQzNCLE9BQU8sV0FBWTtJQUNuQixXQUFXLGVBQWdCO0lBQzNCLEtBQUssU0FBVTtJQUNmOztPQUVHO0lBQ0gsT0FBTyxXQUFZO0VBQ3BCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNvbnN0IGVudW0gZUxheW91dFR5cGUge1xyXG4gIGFjY291bnQgPSAnYWNjb3VudCcsXHJcbiAgYXBwbGljYXRpb24gPSAnYXBwbGljYXRpb24nLFxyXG4gIGVtcHR5ID0gJ2VtcHR5JyxcclxuICAvKipcclxuICAgKiBAZGVwcmVjYXRlZCBzaW5jZSB2ZXJzaW9uIDAuOS4wXHJcbiAgICovXHJcbiAgc2V0dGluZyA9ICdzZXR0aW5nJyxcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/enums/index.js b/npm/ng-packs/dist/core/esm5/lib/enums/index.js deleted file mode 100644 index c54af2756d9..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/enums/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/enums/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export {} from './common'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvZW51bXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxlQUFjLFVBQVUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29tbW9uJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/guards/auth.guard.js b/npm/ng-packs/dist/core/esm5/lib/guards/auth.guard.js deleted file mode 100644 index 5f7ee11988f..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/guards/auth.guard.js +++ /dev/null @@ -1,61 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/guards/auth.guard.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { Router } from '@angular/router'; -import { OAuthService } from 'angular-oauth2-oidc'; -import * as i0 from "@angular/core"; -import * as i1 from "angular-oauth2-oidc"; -import * as i2 from "@angular/router"; -var AuthGuard = /** @class */ (function () { - function AuthGuard(oauthService, router) { - this.oauthService = oauthService; - this.router = router; - } - /** - * @param {?} _ - * @param {?} state - * @return {?} - */ - AuthGuard.prototype.canActivate = /** - * @param {?} _ - * @param {?} state - * @return {?} - */ - function (_, state) { - /** @type {?} */ - var hasValidAccessToken = this.oauthService.hasValidAccessToken(); - if (hasValidAccessToken) { - return hasValidAccessToken; - } - return this.router.createUrlTree(['/account/login'], { state: { redirectUrl: state.url } }); - }; - AuthGuard.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - AuthGuard.ctorParameters = function () { return [ - { type: OAuthService }, - { type: Router } - ]; }; - /** @nocollapse */ AuthGuard.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function AuthGuard_Factory() { return new AuthGuard(i0.ɵɵinject(i1.OAuthService), i0.ɵɵinject(i2.Router)); }, token: AuthGuard, providedIn: "root" }); - return AuthGuard; -}()); -export { AuthGuard }; -if (false) { - /** - * @type {?} - * @private - */ - AuthGuard.prototype.oauthService; - /** - * @type {?} - * @private - */ - AuthGuard.prototype.router; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5ndWFyZC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi9ndWFyZHMvYXV0aC5ndWFyZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUF1QyxNQUFNLEVBQWdDLE1BQU0saUJBQWlCLENBQUM7QUFDNUcsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHFCQUFxQixDQUFDOzs7O0FBR25EO0lBSUUsbUJBQW9CLFlBQTBCLEVBQVUsTUFBYztRQUFsRCxpQkFBWSxHQUFaLFlBQVksQ0FBYztRQUFVLFdBQU0sR0FBTixNQUFNLENBQVE7SUFBRyxDQUFDOzs7Ozs7SUFFMUUsK0JBQVc7Ozs7O0lBQVgsVUFBWSxDQUF5QixFQUFFLEtBQTBCOztZQUN6RCxtQkFBbUIsR0FBRyxJQUFJLENBQUMsWUFBWSxDQUFDLG1CQUFtQixFQUFFO1FBQ25FLElBQUksbUJBQW1CLEVBQUU7WUFDdkIsT0FBTyxtQkFBbUIsQ0FBQztTQUM1QjtRQUVELE9BQU8sSUFBSSxDQUFDLE1BQU0sQ0FBQyxhQUFhLENBQUMsQ0FBQyxnQkFBZ0IsQ0FBQyxFQUFFLEVBQUUsS0FBSyxFQUFFLEVBQUUsV0FBVyxFQUFFLEtBQUssQ0FBQyxHQUFHLEVBQUUsRUFBRSxDQUFDLENBQUM7SUFDOUYsQ0FBQzs7Z0JBYkYsVUFBVSxTQ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ZW4pIHtcclxuICAgICAgcmV0dXJuIGhhc1ZhbGlkQWNjZXNzVG9rZW47XHJcbiAgICB9XHJcblxyXG4gICAgcmV0dXJuIHRoaXMucm91dGVyLmNyZWF0ZVVybFRyZWUoWycvYWNjb3VudC9sb2dpbiddLCB7IHN0YXRlOiB7IHJlZGlyZWN0VXJsOiBzdGF0ZS51cmwgfSB9KTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/guards/index.js b/npm/ng-packs/dist/core/esm5/lib/guards/index.js deleted file mode 100644 index 91ea4a4a6b4..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/guards/index.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/guards/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { AuthGuard } from './auth.guard'; -export { PermissionGuard } from './permission.guard'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvZ3VhcmRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsMEJBQWMsY0FBYyxDQUFDO0FBQzdCLGdDQUFjLG9CQUFvQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hdXRoLmd1YXJkJztcclxuZXhwb3J0ICogZnJvbSAnLi9wZXJtaXNzaW9uLmd1YXJkJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/guards/permission.guard.js b/npm/ng-packs/dist/core/esm5/lib/guards/permission.guard.js deleted file mode 100644 index 82f0d3b2625..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/guards/permission.guard.js +++ /dev/null @@ -1,78 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/guards/permission.guard.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { tap } from 'rxjs/operators'; -import snq from 'snq'; -import { RestOccurError } from '../actions'; -import { ConfigState } from '../states'; -import * as i0 from "@angular/core"; -import * as i1 from "@ngxs/store"; -var PermissionGuard = /** @class */ (function () { - function PermissionGuard(store) { - this.store = store; - } - /** - * @param {?} route - * @param {?} state - * @return {?} - */ - PermissionGuard.prototype.canActivate = /** - * @param {?} route - * @param {?} state - * @return {?} - */ - function (route, state) { - var _this = this; - /** @type {?} */ - var resource = snq((/** - * @return {?} - */ - function () { return route.data.routes.requiredPolicy; })) || snq((/** - * @return {?} - */ - function () { return (/** @type {?} */ (route.data.requiredPolicy)); })); - if (!resource) { - resource = snq((/** - * @return {?} - */ - function () { return route.routeConfig.children.find((/** - * @param {?} child - * @return {?} - */ - function (child) { return state.url.indexOf(child.path) > -1; })).data.requiredPolicy; })); - } - return this.store.select(ConfigState.getGrantedPolicy(resource)).pipe(tap((/** - * @param {?} access - * @return {?} - */ - function (access) { - if (!access) { - _this.store.dispatch(new RestOccurError({ status: 403 })); - } - }))); - }; - PermissionGuard.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - PermissionGuard.ctorParameters = function () { return [ - { type: Store } - ]; }; - /** @nocollapse */ PermissionGuard.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function PermissionGuard_Factory() { return new PermissionGuard(i0.ɵɵinject(i1.Store)); }, token: PermissionGuard, providedIn: "root" }); - return PermissionGuard; -}()); -export { PermissionGuard }; -if (false) { - /** - * @type {?} - * @private - */ - PermissionGuard.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi5ndWFyZC5qcyI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YXRjaChuZXcgUmVzdE9jY3VyRXJyb3IoeyBzdGF0dXM6IDQwMyB9KSk7XHJcbiAgICAgICAgfVxyXG4gICAgICB9KSxcclxuICAgICk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/interceptors/api.interceptor.js b/npm/ng-packs/dist/core/esm5/lib/interceptors/api.interceptor.js deleted file mode 100644 index 7257e5c1a62..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/interceptors/api.interceptor.js +++ /dev/null @@ -1,79 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/interceptors/api.interceptor.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { OAuthService } from 'angular-oauth2-oidc'; -import { Store } from '@ngxs/store'; -import { SessionState } from '../states'; -import { StartLoader, StopLoader } from '../actions/loader.actions'; -import { finalize } from 'rxjs/operators'; -var ApiInterceptor = /** @class */ (function () { - function ApiInterceptor(oAuthService, store) { - this.oAuthService = oAuthService; - this.store = store; - } - /** - * @param {?} request - * @param {?} next - * @return {?} - */ - ApiInterceptor.prototype.intercept = /** - * @param {?} request - * @param {?} next - * @return {?} - */ - function (request, next) { - var _this = this; - this.store.dispatch(new StartLoader(request)); - /** @type {?} */ - var headers = (/** @type {?} */ ({})); - /** @type {?} */ - var token = this.oAuthService.getAccessToken(); - if (!request.headers.has('Authorization') && token) { - headers['Authorization'] = "Bearer " + token; - } - /** @type {?} */ - var lang = this.store.selectSnapshot(SessionState.getLanguage); - if (!request.headers.has('Accept-Language') && lang) { - headers['Accept-Language'] = lang; - } - /** @type {?} */ - var tenant = this.store.selectSnapshot(SessionState.getTenant); - if (!request.headers.has('__tenant') && tenant) { - headers['__tenant'] = tenant.id; - } - return next - .handle(request.clone({ - setHeaders: headers, - })) - .pipe(finalize((/** - * @return {?} - */ - function () { return _this.store.dispatch(new StopLoader(request)); }))); - }; - ApiInterceptor.decorators = [ - { type: Injectable } - ]; - /** @nocollapse */ - ApiInterceptor.ctorParameters = function () { return [ - { type: OAuthService }, - { type: Store } - ]; }; - return ApiInterceptor; -}()); -export { ApiInterceptor }; -if (false) { - /** - * @type {?} - * @private - */ - ApiInterceptor.prototype.oAuthService; - /** - * @type {?} - * @private - */ - ApiInterceptor.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmludGVyY2VwdG9yLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL2ludGVyY2VwdG9ycy9hcGkuaW50ZXJjZXB0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTNDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUNuRCxPQUFPLEVBQUUsS0FBSyxFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQ3BDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFDekMsT0FBTyxFQUFFLFdBQVcsRUFBRSxVQUFVLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUNwRSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFMUM7SUFFRSx3QkFBb0IsWUFBMEIsRUFBVSxLQUFZO1FBQWhELGlCQUFZLEdBQVosWUFBWSxDQUFjO1FBQVUsVUFBSyxHQUFMLEtBQUssQ0FBTztJQUFHLENBQUM7Ozs7OztJQUV4RSxrQ0FBUzs7Ozs7SUFBVCxVQUFVLE9BQXlCLEVBQUUsSUFBaUI7UUFBdEQsaUJBMkJDO1FBMUJDLElBQUksQ0FBQyxLQUFLLENBQUMsUUFBUSxDQUFDLElBQUksV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dGhpcy5zdG9yZS5kaXNwYXRjaChuZXcgU3RvcExvYWRlcihyZXF1ZXN0KSkpKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/interceptors/index.js b/npm/ng-packs/dist/core/esm5/lib/interceptors/index.js deleted file mode 100644 index 150d83108d2..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/interceptors/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/interceptors/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { ApiInterceptor } from './api.interceptor'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvaW50ZXJjZXB0b3JzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsK0JBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2FwaS5pbnRlcmNlcHRvcic7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/models/application-configuration.js b/npm/ng-packs/dist/core/esm5/lib/models/application-configuration.js deleted file mode 100644 index fc3a598223e..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/models/application-configuration.js +++ /dev/null @@ -1,97 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/application-configuration.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var ApplicationConfiguration; -(function (ApplicationConfiguration) { - /** - * @record - */ - function Response() { } - ApplicationConfiguration.Response = Response; - if (false) { - /** @type {?} */ - Response.prototype.localization; - /** @type {?} */ - Response.prototype.auth; - /** @type {?} */ - Response.prototype.setting; - /** @type {?} */ - Response.prototype.currentUser; - /** @type {?} */ - Response.prototype.features; - } - /** - * @record - */ - function Localization() { } - ApplicationConfiguration.Localization = Localization; - if (false) { - /** @type {?} */ - Localization.prototype.values; - /** @type {?} */ - Localization.prototype.languages; - } - /** - * @record - */ - function LocalizationValue() { } - ApplicationConfiguration.LocalizationValue = LocalizationValue; - /** - * @record - */ - function Language() { } - ApplicationConfiguration.Language = Language; - if (false) { - /** @type {?} */ - Language.prototype.cultureName; - /** @type {?} */ - Language.prototype.uiCultureName; - /** @type {?} */ - Language.prototype.displayName; - /** @type {?} */ - Language.prototype.flagIcon; - } - /** - * @record - */ - function Auth() { } - ApplicationConfiguration.Auth = Auth; - if (false) { - /** @type {?} */ - Auth.prototype.policies; - /** @type {?} */ - Auth.prototype.grantedPolicies; - } - /** - * @record - */ - function Policy() { } - ApplicationConfiguration.Policy = Policy; - /** - * @record - */ - function Value() { } - ApplicationConfiguration.Value = Value; - if (false) { - /** @type {?} */ - Value.prototype.values; - } - /** - * @record - */ - function CurrentUser() { } - ApplicationConfiguration.CurrentUser = CurrentUser; - if (false) { - /** @type {?} */ - CurrentUser.prototype.isAuthenticated; - /** @type {?} */ - CurrentUser.prototype.id; - /** @type {?} */ - CurrentUser.prototype.tenantId; - /** @type {?} */ - CurrentUser.prototype.userName; - } -})(ApplicationConfiguration || (ApplicationConfiguration = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb24tY29uZmlndXJhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvYXBwbGljYXRpb24tY29uZmlndXJhdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUVBLE1BQU0sS0FBVyx3QkFBd0IsQ0E0Q3hDO0FBNUNELFdBQWlCLHdC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Z2VbXTtcclxuICB9XHJcblxyXG4gIGV4cG9ydCBpbnRlcmZhY2UgTG9jYWxpemF0aW9uVmFsdWUge1xyXG4gICAgW2tleTogc3RyaW5nXTogeyBba2V5OiBzdHJpbmddOiBzdHJpbmcgfTtcclxuICB9XHJcblxyXG4gIGV4cG9ydCBpbnRlcmZhY2UgTGFuZ3VhZ2Uge1xyXG4gICAgY3VsdHVyZU5hbWU6IHN0cmluZztcclxuICAgIHVpQ3VsdHVyZU5hbWU6IHN0cmluZztcclxuICAgIGRpc3BsYXlOYW1lOiBzdHJpbmc7XHJcbiAgICBmbGFnSWNvbjogc3RyaW5nO1xyXG4gIH1cclxuXHJcbiAgZXhwb3J0IGludGVyZmFjZSBBdXRoIHtcclxuICAgIHBvbGljaWVzOiBQb2xpY3k7XHJcbiAgICBncmFudGVkUG9saWNpZXM6IFBvbGljeTtcclxuICB9XHJcblxyXG4gIGV4cG9ydCBpbnRlcmZhY2UgUG9saWN5IHtcclxuICAgIFtrZXk6IHN0cmluZ106IGJvb2xlYW47XHJcbiAgfVxyXG5cclxuICBleHBvcnQgaW50ZXJmYWNlIFZhbHVlIHtcclxuICAgIHZhbHVlczogQUJQLkRpY3Rpb25hcnk8c3RyaW5nPjtcclxuICB9XHJcblxyXG4gIGV4cG9ydCBpbnRlcmZhY2UgQ3VycmVudFVzZXIge1xyXG4gICAgaXNBdXRoZW50aWNhdGVkOiBib29sZWFuO1xyXG4gICAgaWQ6IHN0cmluZztcclxuICAgIHRlbmFudElkOiBzdHJpbmc7XHJcbiAgICB1c2VyTmFtZTogc3RyaW5nO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/models/common.js b/npm/ng-packs/dist/core/esm5/lib/models/common.js deleted file mode 100644 index 29705ca1a7d..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/models/common.js +++ /dev/null @@ -1,98 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/common.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var ABP; -(function (ABP) { - /** - * @record - */ - function Root() { } - ABP.Root = Root; - if (false) { - /** @type {?} */ - Root.prototype.environment; - /** @type {?} */ - Root.prototype.requirements; - } - /** - * @record - * @template T - */ - function PagedItemsResponse() { } - ABP.PagedItemsResponse = PagedItemsResponse; - if (false) { - /** @type {?} */ - PagedItemsResponse.prototype.items; - } - /** - * @record - */ - function PageQueryParams() { } - ABP.PageQueryParams = PageQueryParams; - if (false) { - /** @type {?|undefined} */ - PageQueryParams.prototype.filter; - /** @type {?|undefined} */ - PageQueryParams.prototype.sorting; - /** @type {?|undefined} */ - PageQueryParams.prototype.skipCount; - /** @type {?|undefined} */ - PageQueryParams.prototype.maxResultCount; - } - /** - * @record - */ - function Route() { } - ABP.Route = Route; - if (false) { - /** @type {?|undefined} */ - Route.prototype.children; - /** @type {?|undefined} */ - Route.prototype.invisible; - /** @type {?|undefined} */ - Route.prototype.layout; - /** @type {?} */ - Route.prototype.name; - /** @type {?|undefined} */ - Route.prototype.order; - /** @type {?|undefined} */ - Route.prototype.parentName; - /** @type {?} */ - Route.prototype.path; - /** @type {?|undefined} */ - Route.prototype.requiredPolicy; - /** @type {?|undefined} */ - Route.prototype.iconClass; - } - /** - * @record - */ - function FullRoute() { } - ABP.FullRoute = FullRoute; - if (false) { - /** @type {?|undefined} */ - FullRoute.prototype.url; - /** @type {?|undefined} */ - FullRoute.prototype.wrapper; - } - /** - * @record - */ - function BasicItem() { } - ABP.BasicItem = BasicItem; - if (false) { - /** @type {?} */ - BasicItem.prototype.id; - /** @type {?} */ - BasicItem.prototype.name; - } - /** - * @record - * @template T - */ - function Dictionary() { } - ABP.Dictionary = Dictionary; -})(ABP || (ABP = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9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G5cclxuICBleHBvcnQgaW50ZXJmYWNlIERpY3Rpb25hcnk8VCA9IGFueT4ge1xyXG4gICAgW2tleTogc3RyaW5nXTogVDtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/models/config.js b/npm/ng-packs/dist/core/esm5/lib/models/config.js deleted file mode 100644 index 9b338bd587b..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/models/config.js +++ /dev/null @@ -1,62 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var Config; -(function (Config) { - /** - * @record - */ - function Environment() { } - Config.Environment = Environment; - if (false) { - /** @type {?} */ - Environment.prototype.application; - /** @type {?} */ - Environment.prototype.production; - /** @type {?} */ - Environment.prototype.oAuthConfig; - /** @type {?} */ - Environment.prototype.apis; - /** @type {?} */ - Environment.prototype.localization; - } - /** - * @record - */ - function Application() { } - Config.Application = Application; - if (false) { - /** @type {?} */ - Application.prototype.name; - /** @type {?|undefined} */ - Application.prototype.logoUrl; - } - /** - * @record - */ - function Apis() { } - Config.Apis = Apis; - /** - * @record - */ - function Requirements() { } - Config.Requirements = Requirements; - if (false) { - /** @type {?} */ - Requirements.prototype.layouts; - } - /** - * @record - */ - function LocalizationWithDefault() { } - Config.LocalizationWithDefault = LocalizationWithDefault; - if (false) { - /** @type {?} */ - LocalizationWithDefault.prototype.key; - /** @type {?} */ - LocalizationWithDefault.prototype.defaultValue; - } -})(Config || (Config = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL21vZGVscy9jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFLQSxNQUFNLEtBQ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BsaWNhdGlvbjtcclxuICAgIHByb2R1Y3Rpb246IGJvb2xlYW47XHJcbiAgICBvQXV0aENvbmZpZzogQXV0aENvbmZpZztcclxuICAgIGFwaXM6IEFwaXM7XHJcbiAgICBsb2NhbGl6YXRpb246IHsgZGVmYXVsdFJlc291cmNlTmFtZTogc3RyaW5nIH07XHJcbiAgfVxyXG5cclxuICBleHBvcnQgaW50ZXJmYWNlIEFwcGxpY2F0aW9uIHtcclxuICAgIG5hbWU6IHN0cmluZztcclxuICAgIGxvZ29Vcmw/OiBzdHJpbmc7XHJcbiAgfVxyXG5cclxuICBleHBvcnQgaW50ZXJmYWNlIEFwaXMge1xyXG4gICAgW2tleTogc3RyaW5nXTogeyBba2V5OiBzdHJpbmddOiBzdHJpbmcgfTtcclxuICB9XHJcblxyXG4gIGV4cG9ydCBpbnRlcmZhY2UgUmVxdWlyZW1lbnRzIHtcclxuICAgIGxheW91dHM6IFR5cGU8YW55PltdO1xyXG4gIH1cclxuXHJcbiAgZXhwb3J0IGludGVyZmFjZSBMb2NhbGl6YXRpb25XaXRoRGVmYXVsdCB7XHJcbiAgICBrZXk6IHN0cmluZztcclxuICAgIGRlZmF1bHRWYWx1ZTogc3RyaW5nO1xyXG4gIH1cclxuXHJcbiAgZXhwb3J0IHR5cGUgTG9jYWxpemF0aW9uUGFyYW0gPSBzdHJpbmcgfCBMb2NhbGl6YXRpb25XaXRoRGVmYXVsdDtcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/models/index.js b/npm/ng-packs/dist/core/esm5/lib/models/index.js deleted file mode 100644 index 39356a90bd1..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/models/index.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export {} from './application-configuration'; -export {} from './common'; -export {} from './config'; -export { Rest } from './rest'; -export {} from './session'; -export {} from './profile'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvbW9kZWxzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsZUFBYyw2QkFBNkIsQ0FBQztBQUM1QyxlQUFjLFVBQVUsQ0FBQztBQUN6QixlQUFjLFVBQVUsQ0FBQztBQUN6QixxQkFBYyxRQUFRLENBQUM7QUFDdkIsZUFBYyxXQUFXLENBQUM7QUFDMUIsZUFBYyxXQUFXLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2FwcGxpY2F0aW9uLWNvbmZpZ3VyYXRpb24nO1xyXG5leHBvcnQgKiBmcm9tICcuL2NvbW1vbic7XHJcbmV4cG9ydCAqIGZyb20gJy4vY29uZmlnJztcclxuZXhwb3J0ICogZnJvbSAnLi9yZXN0JztcclxuZXhwb3J0ICogZnJvbSAnLi9zZXNzaW9uJztcclxuZXhwb3J0ICogZnJvbSAnLi9wcm9maWxlJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/models/profile.js b/npm/ng-packs/dist/core/esm5/lib/models/profile.js deleted file mode 100644 index 806b0203ab4..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/models/profile.js +++ /dev/null @@ -1,46 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/profile.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var Profile; -(function (Profile) { - /** - * @record - */ - function State() { } - Profile.State = State; - if (false) { - /** @type {?} */ - State.prototype.profile; - } - /** - * @record - */ - function Response() { } - Profile.Response = Response; - if (false) { - /** @type {?} */ - Response.prototype.userName; - /** @type {?} */ - Response.prototype.email; - /** @type {?} */ - Response.prototype.name; - /** @type {?} */ - Response.prototype.surname; - /** @type {?} */ - Response.prototype.phoneNumber; - } - /** - * @record - */ - function ChangePasswordRequest() { } - Profile.ChangePasswordRequest = ChangePasswordRequest; - if (false) { - /** @type {?} */ - ChangePasswordRequest.prototype.currentPassword; - /** @type {?} */ - ChangePasswordRequest.prototype.newPassword; - } -})(Profile || (Profile = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZmlsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvcHJvZmlsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE1BQU0sS0FBVyxPQUFPLENBaUJ2QjtBQWpCRCxXQUFpQixPQUFPOzs7O0lBQ3RCLG9CQUVDOzs7O1FBREMsd0JBQWtCOzs7OztJQUdwQix1QkFNQzs7OztRQUxDLDRCQUFpQjs7UUFDakIseUJBQWM7O1FBQ2Qsd0JBQWE7O1FBQ2IsMkJBQWdCOztRQUNoQiwrQkFBb0I7Ozs7O0lBR3RCLG9DQUdDOzs7O1FBRkMsZ0RBQXdCOztRQUN4Qiw0Q0FBb0I7O0FBRXhCLENBQUMsRUFqQmdCLE9BQU8sS0FBUCxPQUFPLFFBaUJ2QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBuYW1lc3BhY2UgUHJvZmlsZSB7XHJcbiAgZXhwb3J0IGludGVyZmFjZSBTdGF0ZSB7XHJcbiAgICBwcm9maWxlOiBSZXNwb25zZTtcclxuICB9XHJcblxyXG4gIGV4cG9ydCBpbnRlcmZhY2UgUmVzcG9uc2Uge1xyXG4gICAgdXNlck5hbWU6IHN0cmluZztcclxuICAgIGVtYWlsOiBzdHJpbmc7XHJcbiAgICBuYW1lOiBzdHJpbmc7XHJcbiAgICBzdXJuYW1lOiBzdHJpbmc7XHJcbiAgICBwaG9uZU51bWJlcjogc3RyaW5nO1xyXG4gIH1cclxuXHJcbiAgZXhwb3J0IGludGVyZmFjZSBDaGFuZ2VQYXNzd29yZFJlcXVlc3Qge1xyXG4gICAgY3VycmVudFBhc3N3b3JkOiBzdHJpbmc7XHJcbiAgICBuZXdQYXNzd29yZDogc3RyaW5nO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/models/rest.js b/npm/ng-packs/dist/core/esm5/lib/models/rest.js deleted file mode 100644 index 41b732e2402..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/models/rest.js +++ /dev/null @@ -1,44 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/rest.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var Rest; -(function (Rest) { - /** - * @record - */ - function Config() { } - Rest.Config = Config; - if (false) { - /** @type {?|undefined} */ - Config.prototype.skipHandleError; - /** @type {?|undefined} */ - Config.prototype.observe; - } - /** - * @record - * @template T - */ - function Request() { } - Rest.Request = Request; - if (false) { - /** @type {?|undefined} */ - Request.prototype.body; - /** @type {?|undefined} */ - Request.prototype.headers; - /** @type {?} */ - Request.prototype.method; - /** @type {?|undefined} */ - Request.prototype.params; - /** @type {?|undefined} */ - Request.prototype.reportProgress; - /** @type {?|undefined} */ - Request.prototype.responseType; - /** @type {?} */ - Request.prototype.url; - /** @type {?|undefined} */ - Request.prototype.withCredentials; - } -})(Rest || (Rest = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvcmVzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUVBLE1BQU0sS0FBVyxJQUFJLEN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yXG4gICAgICB8IHtcclxuICAgICAgICAgIFtoZWFkZXI6IHN0cmluZ106IHN0cmluZyB8IHN0cmluZ1tdO1xyXG4gICAgICAgIH07XHJcbiAgICBtZXRob2Q6IHN0cmluZztcclxuICAgIHBhcmFtcz86XHJcbiAgICAgIHwgSHR0cFBhcmFtc1xyXG4gICAgICB8IHtcclxuICAgICAgICAgIFtwYXJhbTogc3RyaW5nXTogYW55O1xyXG4gICAgICAgIH07XHJcbiAgICByZXBvcnRQcm9ncmVzcz86IGJvb2xlYW47XHJcbiAgICByZXNwb25zZVR5cGU/OiBSZXNwb25zZVR5cGU7XHJcbiAgICB1cmw6IHN0cmluZztcclxuICAgIHdpdGhDcmVkZW50aWFscz86IGJvb2xlYW47XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/models/session.js b/npm/ng-packs/dist/core/esm5/lib/models/session.js deleted file mode 100644 index 8fe0313aeba..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/models/session.js +++ /dev/null @@ -1,20 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/session.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var Session; -(function (Session) { - /** - * @record - */ - function State() { } - Session.State = State; - if (false) { - /** @type {?} */ - State.prototype.language; - /** @type {?} */ - State.prototype.tenant; - } -})(Session || (Session = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vzc2lvbi5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvc2Vzc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUVBLE1BQU0sS0FBVyxPQUFPLENBS3ZCO0FBTEQsV0FBaUIsT0FBTzs7OztJQUN0QixvQkFHQzs7OztRQUZDLHlCQUFpQjs7UUFDakIsdUJBQXNCOztBQUUxQixDQUFDLEVBTGdCLE9BQU8sS0FBUCxPQUFPLFFBS3ZCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQUJQIH0gZnJvbSAnLi4vbW9kZWxzJztcclxuXHJcbmV4cG9ydCBuYW1lc3BhY2UgU2Vzc2lvbiB7XHJcbiAgZXhwb3J0IGludGVyZmFjZSBTdGF0ZSB7XHJcbiAgICBsYW5ndWFnZTogc3RyaW5nO1xyXG4gICAgdGVuYW50OiBBQlAuQmFzaWNJdGVtO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/pipes/index.js b/npm/ng-packs/dist/core/esm5/lib/pipes/index.js deleted file mode 100644 index 08ce8c0f312..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/pipes/index.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/pipes/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { LocalizationPipe } from './localization.pipe'; -export { SortPipe } from './sort.pipe'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvcGlwZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxpQ0FBYyxxQkFBcUIsQ0FBQztBQUNwQyx5QkFBYyxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xvY2FsaXphdGlvbi5waXBlJztcclxuZXhwb3J0ICogZnJvbSAnLi9zb3J0LnBpcGUnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/pipes/localization.pipe.js b/npm/ng-packs/dist/core/esm5/lib/pipes/localization.pipe.js deleted file mode 100644 index 410c57cc939..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/pipes/localization.pipe.js +++ /dev/null @@ -1,57 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/pipes/localization.pipe.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Pipe, Injectable } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { ConfigState } from '../states'; -var LocalizationPipe = /** @class */ (function () { - function LocalizationPipe(store) { - this.store = store; - } - /** - * @param {?=} value - * @param {...?} interpolateParams - * @return {?} - */ - LocalizationPipe.prototype.transform = /** - * @param {?=} value - * @param {...?} interpolateParams - * @return {?} - */ - function (value) { - if (value === void 0) { value = ''; } - var interpolateParams = []; - for (var _i = 1; _i < arguments.length; _i++) { - interpolateParams[_i - 1] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getLocalization.apply(ConfigState, tslib_1.__spread([value], interpolateParams.reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { return (Array.isArray(val) ? tslib_1.__spread(acc, val) : tslib_1.__spread(acc, [val])); }), [])))); - }; - LocalizationPipe.decorators = [ - { type: Injectable }, - { type: Pipe, args: [{ - name: 'abpLocalization', - },] } - ]; - /** @nocollapse */ - LocalizationPipe.ctorParameters = function () { return [ - { type: Store } - ]; }; - return LocalizationPipe; -}()); -export { LocalizationPipe }; -if (false) { - /** - * @type {?} - * @private - */ - LocalizationPipe.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYWxpemF0aW9uLnBpcGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvcGlwZXMvbG9jYWxpemF0aW9uLnBpcGUudHMiXSwibmFtZXMiOltd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GlwZSwgUGlwZVRyYW5zZm9ybSwgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBTdG9yZSB9IGZyb20gJ0BuZ3hzL3N0b3JlJztcclxuaW1wb3J0IHsgQ29uZmlnIH0gZnJvbSAnLi4vbW9kZWxzJztcclxuaW1wb3J0IHsgQ29uZmlnU3RhdGUgfSBmcm9tICcuLi9zdGF0ZXMnO1xyXG5cclxuQEluamVjdGFibGUoKVxyXG5AUGlwZSh7XHJcbiAgbmFtZTogJ2FicExvY2FsaXphdGlvbicsXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBMb2NhbGl6YXRpb25QaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XHJcbiAgY29uc3RydWN0b3IocHJpdmF0ZSBzdG9yZTogU3RvcmUpIHt9XHJcblxyXG4gIHRyYW5zZm9ybSh2YWx1ZTogc3RyaW5nIHwgQ29uZmlnLkxvY2FsaXphdGlvbldpdGhEZWZhdWx0ID0gJycsIC4uLmludGVycG9sYXRlUGFyYW1zOiBzdHJpbmdbXSk6IHN0cmluZyB7XHJcbiAgICByZXR1cm4gdGhpcy5zdG9yZS5zZWxlY3RTbmFwc2hvdChcclxuICAgICAgQ29uZmlnU3RhdGUuZ2V0TG9jYWxpemF0aW9uKFxyXG4gICAgICAgIHZhbHVlLFxyXG4gICAgICAgIC4uLmludGVycG9sYXRlUGFyYW1zLnJlZHVjZSgoYWNjLCB2YWwpID0+IChBcnJheS5pc0FycmF5KHZhbCkgPyBbLi4uYWNjLCAuLi52YWxdIDogWy4uLmFjYywgdmFsXSksIFtdKSxcclxuICAgICAgKSxcclxuICAgICk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/pipes/sort.pipe.js b/npm/ng-packs/dist/core/esm5/lib/pipes/sort.pipe.js deleted file mode 100644 index ed22a8121a2..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/pipes/sort.pipe.js +++ /dev/null @@ -1,97 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/pipes/sort.pipe.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Injectable, Pipe } from '@angular/core'; -var SortPipe = /** @class */ (function () { - function SortPipe() { - } - /** - * @param {?} value - * @param {?=} sortOrder - * @param {?=} sortKey - * @return {?} - */ - SortPipe.prototype.transform = /** - * @param {?} value - * @param {?=} sortOrder - * @param {?=} sortKey - * @return {?} - */ - function (value, sortOrder, sortKey) { - if (sortOrder === void 0) { sortOrder = 'asc'; } - sortOrder = sortOrder && ((/** @type {?} */ (sortOrder.toLowerCase()))); - if (!value || (sortOrder !== 'asc' && sortOrder !== 'desc')) - return value; - /** @type {?} */ - var numberArray = []; - /** @type {?} */ - var stringArray = []; - if (!sortKey) { - numberArray = value.filter((/** - * @param {?} item - * @return {?} - */ - function (item) { return typeof item === 'number'; })).sort(); - stringArray = value.filter((/** - * @param {?} item - * @return {?} - */ - function (item) { return typeof item === 'string'; })).sort(); - } - else { - numberArray = value - .filter((/** - * @param {?} item - * @return {?} - */ - function (item) { return typeof item[sortKey] === 'number'; })) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - function (a, b) { return a[sortKey] - b[sortKey]; })); - stringArray = value - .filter((/** - * @param {?} item - * @return {?} - */ - function (item) { return typeof item[sortKey] === 'string'; })) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - function (a, b) { - if (a[sortKey] < b[sortKey]) - return -1; - else if (a[sortKey] > b[sortKey]) - return 1; - else - return 0; - })); - } - /** @type {?} */ - var sorted = tslib_1.__spread(numberArray, stringArray, value.filter((/** - * @param {?} item - * @return {?} - */ - function (item) { - return typeof (sortKey ? item[sortKey] : item) !== 'number' && - typeof (sortKey ? item[sortKey] : item) !== 'string'; - }))); - return sortOrder === 'asc' ? sorted : sorted.reverse(); - }; - SortPipe.decorators = [ - { type: Injectable }, - { type: Pipe, args: [{ - name: 'abpSort', - },] } - ]; - return SortPipe; -}()); -export { SortPipe }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29ydC5waXBlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3BpcGVzL3NvcnQucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7QUFFaEU7SUFBQTtJQTJDQSxDQUFDOzs7Ozs7O0lBdENDLDRCQUFTOzs7Ozs7SUFBVCxVQUNFLEtBQVksRUFDWixTQUFxQyxFQUNyQyxPQUFnQjtRQURoQiwwQkFBQSxFQUFBLGlCQUFxQztRQUdyQyxTQUFTLEdBQUcsU0FBUyxJQUFJLENBQUMsbUJBQUEsU0FBUyxDQUFDLFdBQVcsRUFBRSxFQUFPLENBQUMsQ0FBQztRQUUxRCxJQUFJLENBQUMsS0FBSyxJQUFJLENBQUMsU0FBUyxLQUFLLEtBQUssSUFBSSxTQUFTLEtBQUssTUFBTSxDQUFDO1lBQUUsT0FBTyxLQUFLLENBQUM7O1lBRXRFLFdBQVcsR0FBRyxFQUFFOztZQUNoQixXQUFXLEdBQUcsRUFBRTtRQUVwQixJQUFJLENBQUMsT0FBTyxFQUFFO1lBQ1osV0FBVyxHQUFHLEtBQUssQ0FBQyxNQUFNOzs7O1lBQUMsVUFBQSxJQUFJLElBQUksT0FBQSxPQUFPLElBQUksS0FBSyxRQUFRLEVBQXhCLENBQXdCLEVBQUMsQ0FBQyxJQUFJLEVBQUUsQ0FBQztZQUNwRSxXQUFXLEdBQUcsS0FBSyxDQUFDLE1BQU07Ozs7WUFBQyxVQUFBLElBQUksSUFBSSxPQUFBLE9BQU8sSUF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sdGVyKFxyXG4gICAgICAgIGl0ZW0gPT5cclxuICAgICAgICAgIHR5cGVvZiAoc29ydEtleSA/IGl0ZW1bc29ydEtleV0gOiBpdGVtKSAhPT0gJ251bWJlcicgJiZcclxuICAgICAgICAgIHR5cGVvZiAoc29ydEtleSA/IGl0ZW1bc29ydEtleV0gOiBpdGVtKSAhPT0gJ3N0cmluZycsXHJcbiAgICAgICksXHJcbiAgICBdO1xyXG4gICAgcmV0dXJuIHNvcnRPcmRlciA9PT0gJ2FzYycgPyBzb3J0ZWQgOiBzb3J0ZWQucmV2ZXJzZSgpO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/plugins/config.plugin.js b/npm/ng-packs/dist/core/esm5/lib/plugins/config.plugin.js deleted file mode 100644 index 09f1332cf38..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/plugins/config.plugin.js +++ /dev/null @@ -1,204 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/plugins/config.plugin.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Inject, Injectable, InjectionToken } from '@angular/core'; -import { Router } from '@angular/router'; -import { actionMatcher, InitState, setValue, UpdateState } from '@ngxs/store'; -import snq from 'snq'; -import { organizeRoutes, getAbpRoutes } from '../utils/route-utils'; -import clone from 'just-clone'; -/** @type {?} */ -export var NGXS_CONFIG_PLUGIN_OPTIONS = new InjectionToken('NGXS_CONFIG_PLUGIN_OPTIONS'); -var ConfigPlugin = /** @class */ (function () { - function ConfigPlugin(options, router) { - this.options = options; - this.router = router; - this.initialized = false; - } - /** - * @param {?} state - * @param {?} event - * @param {?} next - * @return {?} - */ - ConfigPlugin.prototype.handle = /** - * @param {?} state - * @param {?} event - * @param {?} next - * @return {?} - */ - function (state, event, next) { - /** @type {?} */ - var matches = actionMatcher(event); - /** @type {?} */ - var isInitAction = matches(InitState) || matches(UpdateState); - if (isInitAction && !this.initialized) { - /** @type {?} */ - var transformedRoutes = transformRoutes(this.router.config); - var routes = transformedRoutes.routes; - var wrappers = transformedRoutes.wrappers; - routes = organizeRoutes(routes, wrappers); - /** @type {?} */ - var flattedRoutes = flatRoutes(clone(routes)); - state = setValue(state, 'ConfigState', tslib_1.__assign({}, (state.ConfigState && tslib_1.__assign({}, state.ConfigState)), this.options, { routes: routes, - flattedRoutes: flattedRoutes })); - this.initialized = true; - } - return next(state, event); - }; - ConfigPlugin.decorators = [ - { type: Injectable } - ]; - /** @nocollapse */ - ConfigPlugin.ctorParameters = function () { return [ - { type: undefined, decorators: [{ type: Inject, args: [NGXS_CONFIG_PLUGIN_OPTIONS,] }] }, - { type: Router } - ]; }; - return ConfigPlugin; -}()); -export { ConfigPlugin }; -if (false) { - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.initialized; - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.options; - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.router; -} -/** - * @param {?=} routes - * @param {?=} wrappers - * @return {?} - */ -function transformRoutes(routes, wrappers) { - if (routes === void 0) { routes = []; } - if (wrappers === void 0) { wrappers = []; } - // TODO: remove in v1 - /** @type {?} */ - var oldAbpRoutes = routes - .filter((/** - * @param {?} route - * @return {?} - */ - function (route) { - return snq((/** - * @return {?} - */ - function () { return route.data.routes.routes.find((/** - * @param {?} r - * @return {?} - */ - function (r) { return r.path === route.path; })); }), false); - })) - .reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { return tslib_1.__spread(acc, val.data.routes.routes); }), []); - // tslint:disable-next-line: deprecation - /** @type {?} */ - var abpRoutes = tslib_1.__spread(getAbpRoutes(), oldAbpRoutes); - wrappers = abpRoutes.filter((/** - * @param {?} ar - * @return {?} - */ - function (ar) { return ar.wrapper; })); - /** @type {?} */ - var transformed = (/** @type {?} */ ([])); - routes - .filter((/** - * @param {?} route - * @return {?} - */ - function (route) { return route.component || route.loadChildren; })) - .forEach((/** - * @param {?} route - * @return {?} - */ - function (route) { - /** @type {?} */ - var abpPackage = abpRoutes.find((/** - * @param {?} abp - * @return {?} - */ - function (abp) { return abp.path.toLowerCase() === route.path.toLowerCase() && !abp.wrapper; })); - var length = transformed.length; - if (abpPackage) { - transformed.push(abpPackage); - } - if (transformed.length === length && (route.data || {}).routes) { - transformed.push((/** @type {?} */ (tslib_1.__assign({}, route.data.routes, { path: route.path, name: snq((/** - * @return {?} - */ - function () { return route.data.routes.name; }), route.path), children: route.data.routes.children || [] })))); - } - })); - return { routes: setUrls(transformed), wrappers: wrappers }; -} -/** - * @param {?} routes - * @param {?=} parentUrl - * @return {?} - */ -function setUrls(routes, parentUrl) { - if (parentUrl) { - // this if block using for only recursive call - return routes.map((/** - * @param {?} route - * @return {?} - */ - function (route) { return (tslib_1.__assign({}, route, { url: parentUrl + "/" + route.path }, (route.children && - route.children.length && { - children: setUrls(route.children, parentUrl + "/" + route.path), - }))); })); - } - return routes.map((/** - * @param {?} route - * @return {?} - */ - function (route) { return (tslib_1.__assign({}, route, { url: "/" + route.path }, (route.children && - route.children.length && { - children: setUrls(route.children, "/" + route.path), - }))); })); -} -/** - * @param {?} routes - * @return {?} - */ -function flatRoutes(routes) { - /** @type {?} */ - var flat = (/** - * @param {?} r - * @return {?} - */ - function (r) { - return r.reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { - /** @type {?} */ - var value = [val]; - if (val.children) { - value = tslib_1.__spread([val], flat(val.children)); - } - return tslib_1.__spread(acc, value); - }), []); - }); - return flat(routes); -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLnBsdWdpbi5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi9wbHVnaW5zL2NvbmZpZy5wbHVnaW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncy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gIC4uLnJvdXRlLFxyXG4gICAgdXJsOiBgLyR7cm91dGUucGF0aH1gLFxyXG4gICAgLi4uKHJvdXRlLmNoaWxkcmVuICYmXHJcbiAgICAgIHJvdXRlLmNoaWxkcmVuLmxlbmd0aCAmJiB7XHJcbiAgICAgICAgY2hpbGRyZW46IHNldFVybHMocm91dGUuY2hpbGRyZW4sIGAvJHtyb3V0ZS5wYXRofWApLFxyXG4gICAgICB9KSxcclxuICB9KSk7XHJcbn1cclxuXHJcbmZ1bmN0aW9uIGZsYXRSb3V0ZXMocm91dGVzOiBBQlAuRnVsbFJvdXRlW10pOiBBQlAuRnVsbFJvdXRlW10ge1xyXG4gIGNvbnN0IGZsYXQgPSAocjogQUJQLkZ1bGxSb3V0ZVtdKSA9PiB7XHJcbiAgICByZXR1cm4gci5yZWR1Y2UoKGFjYywgdmFsKSA9PiB7XHJcbiAgICAgIGxldCB2YWx1ZTogQUJQLkZ1bGxSb3V0ZVtdID0gW3ZhbF07XHJcbiAgICAgIGlmICh2YWwuY2hpbGRyZW4pIHtcclxuICAgICAgICB2YWx1ZSA9IFt2YWwsIC4uLmZsYXQodmFsLmNoaWxkcmVuKV07XHJcbiAgICAgIH1cclxuXHJcbiAgICAgIHJldHVybiBbLi4uYWNjLCAuLi52YWx1ZV07XHJcbiAgICB9LCBbXSk7XHJcbiAgfTtcclxuXHJcbiAgcmV0dXJuIGZsYXQocm91dGVzKTtcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/plugins/config/config.plugin.js b/npm/ng-packs/dist/core/esm5/lib/plugins/config/config.plugin.js deleted file mode 100644 index 634fc9aa147..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/plugins/config/config.plugin.js +++ /dev/null @@ -1,272 +0,0 @@ -/** - * @fileoverview added by tsickle - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from 'tslib'; -import { Inject, Injectable, InjectionToken } from '@angular/core'; -import { Router } from '@angular/router'; -import { actionMatcher, InitState, setValue, UpdateState } from '@ngxs/store'; -import snq from 'snq'; -import { organizeRoutes, getAbpRoutes } from '../../utils/route-utils'; -import clone from 'just-clone'; -/** @type {?} */ -export var NGXS_CONFIG_PLUGIN_OPTIONS = new InjectionToken('NGXS_CONFIG_PLUGIN_OPTIONS'); -var ConfigPlugin = /** @class */ (function() { - function ConfigPlugin(options, router) { - this.options = options; - this.router = router; - this.initialized = false; - } - /** - * @param {?} state - * @param {?} event - * @param {?} next - * @return {?} - */ - ConfigPlugin.prototype.handle - /** - * @param {?} state - * @param {?} event - * @param {?} next - * @return {?} - */ = function(state, event, next) { - /** @type {?} */ - var matches = actionMatcher(event); - /** @type {?} */ - var isInitAction = matches(InitState) || matches(UpdateState); - if (isInitAction && !this.initialized) { - /** @type {?} */ - var transformedRoutes = transformRoutes(this.router.config); - var routes = transformedRoutes.routes; - var wrappers = transformedRoutes.wrappers; - routes = organizeRoutes(routes, wrappers); - /** @type {?} */ - var flattedRoutes = flatRoutes(clone(routes)); - state = setValue( - state, - 'ConfigState', - tslib_1.__assign({}, state.ConfigState && tslib_1.__assign({}, state.ConfigState), this.options, { - routes: routes, - flattedRoutes: flattedRoutes, - }), - ); - this.initialized = true; - } - return next(state, event); - }; - ConfigPlugin.decorators = [{ type: Injectable }]; - /** @nocollapse */ - ConfigPlugin.ctorParameters = function() { - return [{ type: undefined, decorators: [{ type: Inject, args: [NGXS_CONFIG_PLUGIN_OPTIONS] }] }, { type: Router }]; - }; - return ConfigPlugin; -})(); -export { ConfigPlugin }; -if (false) { - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.initialized; - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.options; - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.router; -} -/** - * @param {?=} routes - * @param {?=} wrappers - * @return {?} - */ -function transformRoutes(routes, wrappers) { - if (routes === void 0) { - routes = []; - } - if (wrappers === void 0) { - wrappers = []; - } - // TODO: remove in v1 - /** @type {?} */ - var oldAbpRoutes = routes - .filter( - /** - * @param {?} route - * @return {?} - */ - (function(route) { - return snq( - /** - * @return {?} - */ - function() { - return route.data.routes.routes.find( - /** - * @param {?} r - * @return {?} - */ - function(r) { - return r.path === route.path; - }, - ); - }, - false, - ); - }), - ) - .reduce( - /** - * @param {?} acc - * @param {?} val - * @return {?} - */ - (function(acc, val) { - return tslib_1.__spread(acc, val.data.routes.routes); - }), - [], - ); - // tslint:disable-next-line: deprecation - /** @type {?} */ - var abpRoutes = tslib_1.__spread(getAbpRoutes(), oldAbpRoutes); - wrappers = abpRoutes.filter( - /** - * @param {?} ar - * @return {?} - */ - function(ar) { - return ar.wrapper; - }, - ); - /** @type {?} */ - var transformed = /** @type {?} */ ([]); - routes - .filter( - /** - * @param {?} route - * @return {?} - */ - function(route) { - return route.component || route.loadChildren; - }, - ) - .forEach( - /** - * @param {?} route - * @return {?} - */ - function(route) { - /** @type {?} */ - var abpPackage = abpRoutes.find( - /** - * @param {?} abp - * @return {?} - */ - (function(abp) { - return abp.path.toLowerCase() === route.path.toLowerCase() && !abp.wrapper; - }), - ); - var length = transformed.length; - if (abpPackage) { - transformed.push(abpPackage); - } - if (transformed.length === length && (route.data || {}).routes) { - transformed.push( - /** @type {?} */ (tslib_1.__assign({}, route.data.routes, { - path: route.path, - name: snq( - /** - * @return {?} - */ - function() { - return route.data.routes.name; - }, - route.path, - ), - children: route.data.routes.children || [], - })), - ); - } - }, - ); - return { routes: setUrls(transformed), wrappers: wrappers }; -} -/** - * @param {?} routes - * @param {?=} parentUrl - * @return {?} - */ -function setUrls(routes, parentUrl) { - if (parentUrl) { - // this if block using for only recursive call - return routes.map( - /** - * @param {?} route - * @return {?} - */ - function(route) { - return tslib_1.__assign( - {}, - route, - { url: parentUrl + '/' + route.path }, - route.children && - route.children.length && { - children: setUrls(route.children, parentUrl + '/' + route.path), - }, - ); - }, - ); - } - return routes.map( - /** - * @param {?} route - * @return {?} - */ - function(route) { - return tslib_1.__assign( - {}, - route, - { url: '/' + route.path }, - route.children && - route.children.length && { - children: setUrls(route.children, '/' + route.path), - }, - ); - }, - ); -} -/** - * @param {?} routes - * @return {?} - */ -function flatRoutes(routes) { - /** @type {?} */ - var flat - /** - * @param {?} r - * @return {?} - */ = (function(r) { - return r.reduce( - /** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function(acc, val) { - /** @type {?} */ - var value = [val]; - if (val.children) { - value = tslib_1.__spread([val], flat(val.children)); - } - return tslib_1.__spread(acc, value); - }, - [], - ); - }); - return flat(routes); -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLnBsdWdpbi5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi9wbHVnaW5zL2NvbmZpZy9jb25maWcucGx1Z2luLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25FLE9BQU8sRUFBRSxNQUFNLEVBQVUsTUFBTSxpQkFBaUIsQ0FBQztBQUNqRCxPQUFPLEVBQUUsYUFBYSxFQUFFLFNBQVMsRUFBZ0MsUUFBUSxFQUFFLFdBQVcsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUM1RyxPQUFPLEdBQUcsTUFBTSxLQUFLLENBQUM7QUFFdEIsT0FBTyxFQUFFLGNBQWMsRUFBRSxZQUFZLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUN2RSxPQUFPLEtBQUssTUFBTSxZQUFZLENBQUM7O0FBRS9CLE1BQU0sS0FBTywwQkFBMEIsR0FBRyxJQUFJLGNBQWMsQ0FBQyw0QkFBNEIsQ0FBQztBQUUxRjtJQUlFLHNCQUF3RCxPQUFpQixFQUFVLE1BQWM7UUFBek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3BhcmVudFVybH0vJHtyb3V0ZS5wYXRofWAsXG4gICAgICAuLi4ocm91dGUuY2hpbGRyZW4gJiZcbiAgICAgICAgcm91dGUuY2hpbGRyZW4ubGVuZ3RoICYmIHtcbiAgICAgICAgICBjaGlsZHJlbjogc2V0VXJscyhyb3V0ZS5jaGlsZHJlbiwgYCR7cGFyZW50VXJsfS8ke3JvdXRlLnBhdGh9YCksXG4gICAgICAgIH0pLFxuICAgIH0pKTtcbiAgfVxuXG4gIHJldHVybiByb3V0ZXMubWFwKHJvdXRlID0+ICh7XG4gICAgLi4ucm91dGUsXG4gICAgdXJsOiBgLyR7cm91dGUucGF0aH1gLFxuICAgIC4uLihyb3V0ZS5jaGlsZHJlbiAmJlxuICAgICAgcm91dGUuY2hpbGRyZW4ubGVuZ3RoICYmIHtcbiAgICAgICAgY2hpbGRyZW46IHNldFVybHMocm91dGUuY2hpbGRyZW4sIGAvJHtyb3V0ZS5wYXRofWApLFxuICAgICAgfSksXG4gIH0pKTtcbn1cblxuZnVuY3Rpb24gZmxhdFJvdXRlcyhyb3V0ZXM6IEFCUC5GdWxsUm91dGVbXSk6IEFCUC5GdWxsUm91dGVbXSB7XG4gIGNvbnN0IGZsYXQgPSAocjogQUJQLkZ1bGxSb3V0ZVtdKSA9PiB7XG4gICAgcmV0dXJuIHIucmVkdWNlKChhY2MsIHZhbCkgPT4ge1xuICAgICAgbGV0IHZhbHVlOiBBQlAuRnVsbFJvdXRlW10gPSBbdmFsXTtcbiAgICAgIGlmICh2YWwuY2hpbGRyZW4pIHtcbiAgICAgICAgdmFsdWUgPSBbdmFsLCAuLi5mbGF0KHZhbC5jaGlsZHJlbildO1xuICAgICAgfVxuXG4gICAgICByZXR1cm4gWy4uLmFjYywgLi4udmFsdWVdO1xuICAgIH0sIFtdKTtcbiAgfTtcblxuICByZXR1cm4gZmxhdChyb3V0ZXMpO1xufVxuIl19 diff --git a/npm/ng-packs/dist/core/esm5/lib/plugins/index.js b/npm/ng-packs/dist/core/esm5/lib/plugins/index.js deleted file mode 100644 index 72082ea179c..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/plugins/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/plugins/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { NGXS_CONFIG_PLUGIN_OPTIONS, ConfigPlugin } from './config.plugin'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvcGx1Z2lucy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHlEQUFjLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb25maWcucGx1Z2luJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/plugins/select-snapshot/internals.js b/npm/ng-packs/dist/core/esm5/lib/plugins/select-snapshot/internals.js deleted file mode 100644 index 541e7b0a37c..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/plugins/select-snapshot/internals.js +++ /dev/null @@ -1,85 +0,0 @@ -/** - * @fileoverview added by tsickle - * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -/** @type {?} */ -var DOLLAR_CHAR_CODE = 36; -/** - * @param {?} name - * @return {?} - */ -export function removeDollarAtTheEnd(name) { - /** @type {?} */ - var lastCharIndex = name.length - 1; - /** @type {?} */ - var dollarAtTheEnd = name.charCodeAt(lastCharIndex) === DOLLAR_CHAR_CODE; - return dollarAtTheEnd ? name.slice(0, lastCharIndex) : name; -} -/** - * @param {?} selectorOrFeature - * @param {?} paths - * @return {?} - */ -export function getPropsArray(selectorOrFeature, paths) { - if (paths.length) { - return tslib_1.__spread([selectorOrFeature], paths); - } - return selectorOrFeature.split('.'); -} -/** - * @param {?} paths - * @return {?} - */ -function compliantPropGetter(paths) { - /** @type {?} */ - var copyOfPaths = tslib_1.__spread(paths); - return (/** - * @param {?} obj - * @return {?} - */ - function (obj) { return copyOfPaths.reduce((/** - * @param {?} acc - * @param {?} part - * @return {?} - */ - function (acc, part) { return acc && acc[part]; }), obj); }); -} -/** - * @param {?} paths - * @return {?} - */ -function fastPropGetter(paths) { - /** @type {?} */ - var segments = paths; - /** @type {?} */ - var seg = 'store.' + segments[0]; - /** @type {?} */ - var i = 0; - /** @type {?} */ - var l = segments.length; - /** @type {?} */ - var expr = seg; - while (++i < l) { - expr = expr + ' && ' + (seg = seg + '.' + segments[i]); - } - /** @type {?} */ - var fn = new Function('store', 'return ' + expr + ';'); - return (/** @type {?} */ (fn)); -} -/** - * @param {?} paths - * @param {?} config - * @return {?} - */ -export function propGetter(paths, config) { - if (config && config.compatibility && config.compatibility.strictContentSecurityPolicy) { - return compliantPropGetter(paths); - } - else { - return fastPropGetter(paths); - } -} -/** @type {?} */ -export var META_KEY = 'NGXS_META'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJuYWxzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3BsdWdpbnMvc2VsZWN0LXNuYXBzaG90L2ludGVybmFscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7SUFFTSxnQkFBZ0IsR0FBRyxFQUFFOzs7OztBQUUzQixNQUFNLFVBQVUsb0JBQW9CLENBQUMsSUFBWTs7UUFDekMsYUFBYSxHQUFHLElBQUksQ0FBQyxNQUFNLEdBQUcsQ0FBQzs7UUFDL0IsY0FBYyxHQUFHLElBQUksQ0FBQyxVQUFVLENBQUMsYUFBYSxDQUFDLEtBQUssZ0JB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biAgaWYgKGNvbmZpZyAmJiBjb25maWcuY29tcGF0aWJpbGl0eSAmJiBjb25maWcuY29tcGF0aWJpbGl0eS5zdHJpY3RDb250ZW50U2VjdXJpdHlQb2xpY3kpIHtcbiAgICByZXR1cm4gY29tcGxpYW50UHJvcEdldHRlcihwYXRocyk7XG4gIH0gZWxzZSB7XG4gICAgcmV0dXJuIGZhc3RQcm9wR2V0dGVyKHBhdGhzKTtcbiAgfVxufVxuXG5leHBvcnQgY29uc3QgTUVUQV9LRVkgPSAnTkdYU19NRVRBJztcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/plugins/select-snapshot/select-snapshot.js b/npm/ng-packs/dist/core/esm5/lib/plugins/select-snapshot/select-snapshot.js deleted file mode 100644 index b5e0c905aab..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/plugins/select-snapshot/select-snapshot.js +++ /dev/null @@ -1,86 +0,0 @@ -/** - * @fileoverview added by tsickle - * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { StaticInjector } from './static-injector'; -import { META_KEY, getPropsArray, propGetter, removeDollarAtTheEnd } from './internals'; -import { Store } from '@ngxs/store'; -import { NgxsConfig } from '@ngxs/store/src/symbols'; -/** - * @param {?=} selectorOrFeature - * @param {...?} paths - * @return {?} - */ -export function SelectSnapshot(selectorOrFeature) { - var paths = []; - for (var _i = 1; _i < arguments.length; _i++) { - paths[_i - 1] = arguments[_i]; - } - return (/** - * @param {?} target - * @param {?} name - * @return {?} - */ - function (target, name) { - /** @type {?} */ - var selectorFnName = "__" + name + "__selector"; - if (!selectorOrFeature) { - selectorOrFeature = removeDollarAtTheEnd(name); - } - /** @type {?} */ - var createSelector = (/** - * @param {?} selectorOrFeature - * @return {?} - */ - function (selectorOrFeature) { - /** @type {?} */ - var config = getConfig(); - if (typeof selectorOrFeature === 'string') { - /** @type {?} */ - var propsArray = getPropsArray(selectorOrFeature, paths); - return propGetter(propsArray, config); - } - else if (selectorOrFeature[META_KEY] && selectorOrFeature[META_KEY].path) { - return propGetter(selectorOrFeature[META_KEY].path.split('.'), config); - } - else { - return selectorOrFeature; - } - }); - if (delete target[name]) { - Object.defineProperty(target, selectorFnName, { - writable: true, - enumerable: false, - configurable: true, - }); - Object.defineProperty(target, name, { - get: (/** - * @return {?} - */ - function () { - // Create anonymous function that will map to the needed state only once - /** @type {?} */ - var selector = this[selectorFnName] || (this[selectorFnName] = createSelector(selectorOrFeature)); - /** @type {?} */ - var store = getStore(); - return store.selectSnapshot(selector); - }), - enumerable: true, - configurable: true, - }); - } - }); -} -/** - * @return {?} - */ -function getStore() { - return StaticInjector.injector.get(Store); -} -/** - * @return {?} - */ -function getConfig() { - return StaticInjector.injector.get(NgxsConfig); -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LXNuYXBzaG90LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3BsdWdpbnMvc2VsZWN0LXNuYXBzaG90L3NlbGVjdC1zbmFwc2hvdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ25ELE9BQU8sRUFBRSxRQUFRLEVBQUUsYUFBYSxFQUFFLFVBQVUsRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUN4RixPQUFPLEVBQUUsS0FBSyxFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQ3BDLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQzs7Ozs7O0FBRXJELE1BQU0sVUFBVSxjQUFjLENBQUMsaUJBQXVCO0lBQUUsZUFBa0I7U0FBbEIsVUFBa0IsRUFBbEIscUJBQWtCLEVBQWxCLElBQWtCO1FBQWxCLDhCQUFrQ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xcbiAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsXG4gICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZSxcbiAgICAgIH0pO1xuXG4gICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkodGFyZ2V0LCBuYW1lLCB7XG4gICAgICAgIGdldDogZnVuY3Rpb24oKSB7XG4gICAgICAgICAgLy8gQ3JlYXRlIGFub255bW91cyBmdW5jdGlvbiB0aGF0IHdpbGwgbWFwIHRvIHRoZSBuZWVkZWQgc3RhdGUgb25seSBvbmNlXG4gICAgICAgICAgY29uc3Qgc2VsZWN0b3IgPSB0aGlzW3NlbGVjdG9yRm5OYW1lXSB8fCAodGhpc1tzZWxlY3RvckZuTmFtZV0gPSBjcmVhdGVTZWxlY3RvcihzZWxlY3Rvck9yRmVhdHVyZSkpO1xuICAgICAgICAgIGNvbnN0IHN0b3JlID0gZ2V0U3RvcmUoKTtcbiAgICAgICAgICByZXR1cm4gc3RvcmUuc2VsZWN0U25hcHNob3Qoc2VsZWN0b3IpO1xuICAgICAgICB9LFxuICAgICAgICBlbnVtZXJhYmxlOiB0cnVlLFxuICAgICAgICBjb25maWd1cmFibGU6IHRydWUsXG4gICAgICB9KTtcbiAgICB9XG4gIH07XG59XG5cbmZ1bmN0aW9uIGdldFN0b3JlKCk6IFN0b3JlIHtcbiAgcmV0dXJuIFN0YXRpY0luamVjdG9yLmluamVjdG9yLmdldDxTdG9yZT4oU3RvcmUpO1xufVxuXG5mdW5jdGlvbiBnZXRDb25maWcoKTogTmd4c0NvbmZpZyB7XG4gIHJldHVybiBTdGF0aWNJbmplY3Rvci5pbmplY3Rvci5nZXQ8Tmd4c0NvbmZpZz4oTmd4c0NvbmZpZyk7XG59XG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/plugins/select-snapshot/static-injector.js b/npm/ng-packs/dist/core/esm5/lib/plugins/select-snapshot/static-injector.js deleted file mode 100644 index c884e499ccc..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/plugins/select-snapshot/static-injector.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * @fileoverview added by tsickle - * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injector, Injectable } from '@angular/core'; -var StaticInjector = /** @class */ (function () { - function StaticInjector(injector) { - StaticInjector.injector = injector; - } - StaticInjector.injector = null; - StaticInjector.decorators = [ - { type: Injectable } - ]; - /** @nocollapse */ - StaticInjector.ctorParameters = function () { return [ - { type: Injector } - ]; }; - return StaticInjector; -}()); -export { StaticInjector }; -if (false) { - /** @type {?} */ - StaticInjector.injector; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdGljLWluamVjdG9yLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3BsdWdpbnMvc2VsZWN0LXNuYXBzaG90L3N0YXRpYy1pbmplY3Rvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFckQ7SUFJRSx3QkFBWSxRQUFrQjtRQUM1QixjQUFjLENBQUMsUUFBUSxHQUFHLFFBQVEsQ0FBQztJQUNyQyxDQUFDO0lBSmEsdUJBQVEsR0FBb0IsSUFBSSxDQUFDOztnQkFGaEQsVUFBVTs7OztnQkFGRixRQUFROztJQVNqQixxQkFBQztDQUFBLEFBUEQsSUFPQztTQU5ZLGNBQWM7OztJQUN6Qix3QkFBK0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RvciwgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ASW5qZWN0YWJsZSgpXG5leHBvcnQgY2xhc3MgU3RhdGljSW5qZWN0b3Ige1xuICBwdWJsaWMgc3RhdGljIGluamVjdG9yOiBJbmplY3RvciB8IG51bGwgPSBudWxsO1xuXG4gIGNvbnN0cnVjdG9yKGluamVjdG9yOiBJbmplY3Rvcikge1xuICAgIFN0YXRpY0luamVjdG9yLmluamVjdG9yID0gaW5qZWN0b3I7XG4gIH1cbn1cbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/providers/locale.provider.js b/npm/ng-packs/dist/core/esm5/lib/providers/locale.provider.js deleted file mode 100644 index db4ea6effe2..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/providers/locale.provider.js +++ /dev/null @@ -1,52 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/providers/locale.provider.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { LOCALE_ID } from '@angular/core'; -import localesMapping from '../constants/different-locales'; -import { LocalizationService } from '../services/localization.service'; -var LocaleId = /** @class */ (function (_super) { - tslib_1.__extends(LocaleId, _super); - function LocaleId(localizationService) { - var _this = _super.call(this) || this; - _this.localizationService = localizationService; - return _this; - } - /** - * @return {?} - */ - LocaleId.prototype.toString = /** - * @return {?} - */ - function () { - var currentLang = this.localizationService.currentLang; - return localesMapping[currentLang] || currentLang; - }; - /** - * @return {?} - */ - LocaleId.prototype.valueOf = /** - * @return {?} - */ - function () { - return this.toString(); - }; - return LocaleId; -}(String)); -export { LocaleId }; -if (false) { - /** - * @type {?} - * @private - */ - LocaleId.prototype.localizationService; -} -/** @type {?} */ -export var LocaleProvider = { - provide: LOCALE_ID, - useClass: LocaleId, - deps: [LocalizationService], -}; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYWxlLnByb3ZpZGVyLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3Byb3ZpZGVycy9sb2NhbGUucHJvdmlkZ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saXphdGlvbi5zZXJ2aWNlJztcclxuXHJcbmV4cG9ydCBjbGFzcyBMb2NhbGVJZCBleHRlbmRzIFN0cmluZyB7XHJcbiAgY29uc3RydWN0b3IocHJpdmF0ZSBsb2NhbGl6YXRpb25TZXJ2aWNlOiBMb2NhbGl6YXRpb25TZXJ2aWNlKSB7XHJcbiAgICBzdXBlcigpO1xyXG4gIH1cclxuXHJcbiAgdG9TdHJpbmcoKTogc3RyaW5nIHtcclxuICAgIGNvbnN0IHsgY3VycmVudExhbmcgfSA9IHRoaXMubG9jYWxpemF0aW9uU2VydmljZTtcclxuICAgIHJldHVybiBsb2NhbGVzTWFwcGluZ1tjdXJyZW50TGFuZ10gfHwgY3VycmVudExhbmc7XHJcbiAgfVxyXG5cclxuICB2YWx1ZU9mKCk6IHN0cmluZyB7XHJcbiAgICByZXR1cm4gdGhpcy50b1N0cmluZygpO1xyXG4gIH1cclxufVxyXG5cclxuZXhwb3J0IGNvbnN0IExvY2FsZVByb3ZpZGVyOiBQcm92aWRlciA9IHtcclxuICBwcm92aWRlOiBMT0NBTEVfSUQsXHJcbiAgdXNlQ2xhc3M6IExvY2FsZUlkLFxyXG4gIGRlcHM6IFtMb2NhbGl6YXRpb25TZXJ2aWNlXSxcclxufTtcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/providers/reuse-strategy.provider.js b/npm/ng-packs/dist/core/esm5/lib/providers/reuse-strategy.provider.js deleted file mode 100644 index 7a31929b224..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/providers/reuse-strategy.provider.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * @fileoverview added by tsickle - * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { RouteReuseStrategy } from '@angular/router'; -var CustomRouteReuseStategy = /** @class */ (function () { - function CustomRouteReuseStategy() { - this.handlers = {}; - } - /** - * @param {?} route - * @return {?} - */ - CustomRouteReuseStategy.prototype.shouldDetach = /** - * @param {?} route - * @return {?} - */ - function (route) { - return route.data.shouldReuse || false; - }; - /** - * @param {?} route - * @param {?} handle - * @return {?} - */ - CustomRouteReuseStategy.prototype.store = /** - * @param {?} route - * @param {?} handle - * @return {?} - */ - function (route, handle) { - // if (route.data.shouldReuse) { - this.handlers[route.routeConfig.path] = handle; - // } - }; - /** - * @param {?} route - * @return {?} - */ - CustomRouteReuseStategy.prototype.shouldAttach = /** - * @param {?} route - * @return {?} - */ - function (route) { - return !!route.routeConfig && !!this.handlers[route.routeConfig.path]; - }; - /** - * @param {?} route - * @return {?} - */ - CustomRouteReuseStategy.prototype.retrieve = /** - * @param {?} route - * @return {?} - */ - function (route) { - if (!route.routeConfig) - return null; - return this.handlers[route.routeConfig.path]; - }; - /** - * @param {?} future - * @param {?} curr - * @return {?} - */ - CustomRouteReuseStategy.prototype.shouldReuseRoute = /** - * @param {?} future - * @param {?} curr - * @return {?} - */ - function (future, curr) { - return future.data.shouldReuse || true; - }; - return CustomRouteReuseStategy; -}()); -export { CustomRouteReuseStategy }; -if (false) { - /** @type {?} */ - CustomRouteReuseStategy.prototype.handlers; -} -/** @type {?} */ -export var RouteReuseProvider = { provide: RouteReuseStrategy, useClass: CustomRouteReuseStategy }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmV1c2Utc3RyYXRlZ3kucHJvdmlkZXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvcHJvdmlkZXJzL3JldXNlLXN0cmF0ZWd5LnByb3ZpZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFFQSxPQUFPLEVBQUUsa0JBQWtCLEVBQStDLE1BQU0saUJBQWlCLENBQUM7QUFFbEc7SUFBQTtRQUNFLGFBQVEsR0FBMkMsRUFBRSxDQUFDO0lBd0J4RCxDQUFDOzs7OztJQXRCQyw4Q0FBWTs7OztJQU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XJuIHRoaXMuaGFuZGxlcnNbcm91dGUucm91dGVDb25maWcucGF0aF07XG4gIH1cblxuICBzaG91bGRSZXVzZVJvdXRlKGZ1dHVyZTogQWN0aXZhdGVkUm91dGVTbmFwc2hvdCwgY3VycjogQWN0aXZhdGVkUm91dGVTbmFwc2hvdCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiBmdXR1cmUuZGF0YS5zaG91bGRSZXVzZSB8fCB0cnVlO1xuICB9XG59XG5cbmV4cG9ydCBjb25zdCBSb3V0ZVJldXNlUHJvdmlkZXI6IFByb3ZpZGVyID0geyBwcm92aWRlOiBSb3V0ZVJldXNlU3RyYXRlZ3ksIHVzZUNsYXNzOiBDdXN0b21Sb3V0ZVJldXNlU3RhdGVneSB9O1xuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/services/application-configuration.service.js b/npm/ng-packs/dist/core/esm5/lib/services/application-configuration.service.js deleted file mode 100644 index 5619c347ec9..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/services/application-configuration.service.js +++ /dev/null @@ -1,48 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/application-configuration.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { RestService } from './rest.service'; -import * as i0 from "@angular/core"; -import * as i1 from "./rest.service"; -var ApplicationConfigurationService = /** @class */ (function () { - function ApplicationConfigurationService(rest) { - this.rest = rest; - } - /** - * @return {?} - */ - ApplicationConfigurationService.prototype.getConfiguration = /** - * @return {?} - */ - function () { - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/abp/application-configuration', - }; - return this.rest.request(request); - }; - ApplicationConfigurationService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - ApplicationConfigurationService.ctorParameters = function () { return [ - { type: RestService } - ]; }; - /** @nocollapse */ ApplicationConfigurationService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ApplicationConfigurationService_Factory() { return new ApplicationConfigurationService(i0.ɵɵinject(i1.RestService)); }, token: ApplicationConfigurationService, providedIn: "root" }); - return ApplicationConfigurationService; -}()); -export { ApplicationConfigurationService }; -if (false) { - /** - * @type {?} - * @private - */ - ApplicationConfigurationService.prototype.rest; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb24tY29uZmlndXJhdGlvbi5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3NlcnZpY2VzL2FwcGxpY2F0aW9uLWNvbmZpZ3VyYXRpb24uc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFJM0MsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDOzs7QUFFN0M7SUFJRSx5Q0FBb0IsSUFBaUI7UUFBakIsU0FBSSxHQUFKLElBQUksQ0FBYTtJQUFHLENBQUM7Ozs7SUFFekMsMERBQWdCOzs7SUFBaEI7O1lBQ1EsT0FBTyxHQUF1QjtZQUNsQyxNQUFNLEVBQUUsS0FBSztZQUNiLEdBQUcsRUFBRSxvQ0FBb0M7U0FDMUM7UUFFRCxPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUEwQyxPQUFPLENBQUMsQ0FBQztJQUM3RSxDQUFDOztnQkFiRixVQUFVLFNBQUM7b0JBQ1YsVUFBVSxFQUFFLE1BQU07aUJBQ25COzs7O2dCQUpRLFdBQVc7OzswQ0FKcEI7Q0FvQkMsQUFkRCxJQWNDO1NBWFksK0JBQStCOzs7Ozs7SUFDOUIsK0NBQXlCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBPYnNlcnZhYmxlIH0gZnJvbSAncnhqcyc7XHJcbmltcG9ydCB7IFJlc3QgfSBmcm9tICcuLi9tb2RlbHMvcmVzdCc7XHJcbmltcG9ydCB7IEFwcGxpY2F0aW9uQ29uZmlndXJhdGlvbiB9IGZyb20gJy4uL21vZGVscy9hcHBsaWNhdGlvbi1jb25maWd1cmF0aW9uJztcclxuaW1wb3J0IHsgUmVzdFNlcnZpY2UgfSBmcm9tICcuL3Jlc3Quc2VydmljZSc7XHJcblxyXG5ASW5qZWN0YWJsZSh7XHJcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQXBwbGljYXRpb25Db25maWd1cmF0aW9uU2VydmljZSB7XHJcbiAgY29uc3RydWN0b3IocHJpdmF0ZSByZXN0OiBSZXN0U2VydmljZSkge31cclxuXHJcbiAgZ2V0Q29uZmlndXJhdGlvbigpOiBPYnNlcnZhYmxlPEFwcGxpY2F0aW9uQ29uZmlndXJhdGlvbi5SZXNwb25zZT4ge1xyXG4gICAgY29uc3QgcmVxdWVzdDogUmVzdC5SZXF1ZXN0PG51bGw+ID0ge1xyXG4gICAgICBtZXRob2Q6ICdHRVQnLFxyXG4gICAgICB1cmw6ICcvYXBpL2FicC9hcHBsaWNhdGlvbi1jb25maWd1cmF0aW9uJyxcclxuICAgIH07XHJcblxyXG4gICAgcmV0dXJuIHRoaXMucmVzdC5yZXF1ZXN0PG51bGwsIEFwcGxpY2F0aW9uQ29uZmlndXJhdGlvbi5SZXNwb25zZT4ocmVxdWVzdCk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/services/config-state.service.js b/npm/ng-packs/dist/core/esm5/lib/services/config-state.service.js deleted file mode 100644 index 026fc3641fc..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/services/config-state.service.js +++ /dev/null @@ -1,174 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/config-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Injectable } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { ConfigState } from '../states'; -import * as i0 from "@angular/core"; -import * as i1 from "@ngxs/store"; -var ConfigStateService = /** @class */ (function () { - function ConfigStateService(store) { - this.store = store; - } - /** - * @return {?} - */ - ConfigStateService.prototype.getAll = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(ConfigState.getAll); - }; - /** - * @return {?} - */ - ConfigStateService.prototype.getApplicationInfo = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(ConfigState.getApplicationInfo); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getOne = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getOne.apply(ConfigState, tslib_1.__spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getDeep = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getDeep.apply(ConfigState, tslib_1.__spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getRoute = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getRoute.apply(ConfigState, tslib_1.__spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getApiUrl = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getApiUrl.apply(ConfigState, tslib_1.__spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getSetting = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getSetting.apply(ConfigState, tslib_1.__spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getSettings = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getSettings.apply(ConfigState, tslib_1.__spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getGrantedPolicy = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getGrantedPolicy.apply(ConfigState, tslib_1.__spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getLocalization = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getLocalization.apply(ConfigState, tslib_1.__spread(args))); - }; - ConfigStateService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - ConfigStateService.ctorParameters = function () { return [ - { type: Store } - ]; }; - /** @nocollapse */ ConfigStateService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ConfigStateService_Factory() { return new ConfigStateService(i0.ɵɵinject(i1.Store)); }, token: ConfigStateService, providedIn: "root" }); - return ConfigStateService; -}()); -export { ConfigStateService }; -if (false) { - /** - * @type {?} - * @private - */ - ConfigStateService.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY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KC4uLmFyZ3MpKTtcclxuICB9XHJcblxyXG4gIGdldFNldHRpbmcoLi4uYXJnczogUGFyYW1ldGVyczx0eXBlb2YgQ29uZmlnU3RhdGUuZ2V0U2V0dGluZz4pIHtcclxuICAgIHJldHVybiB0aGlzLnN0b3JlLnNlbGVjdFNuYXBzaG90KENvbmZpZ1N0YXRlLmdldFNldHRpbmcoLi4uYXJncykpO1xyXG4gIH1cclxuXHJcbiAgZ2V0U2V0dGluZ3MoLi4uYXJnczogUGFyYW1ldGVyczx0eXBlb2YgQ29uZmlnU3RhdGUuZ2V0U2V0dGluZ3M+KSB7XHJcbiAgICByZXR1cm4gdGhpcy5zdG9yZS5zZWxlY3RTbmFwc2hvdChDb25maWdTdGF0ZS5nZXRTZXR0aW5ncyguLi5hcmdzKSk7XHJcbiAgfVxyXG5cclxuICBnZXRHcmFudGVkUG9saWN5KC4uLmFyZ3M6IFBhcmFtZXRlcnM8dHlwZW9mIENvbmZpZ1N0YXRlLmdldEdyYW50ZWRQb2xpY3k+KSB7XHJcbiAgICByZXR1cm4gdGhpcy5zdG9yZS5zZWxlY3RTbmFwc2hvdChDb25maWdTdGF0ZS5nZXRHcmFudGVkUG9saWN5KC4uLmFyZ3MpKTtcclxuICB9XHJcblxyXG4gIGdldExvY2FsaXphdGlvbiguLi5hcmdzOiBQYXJhbWV0ZXJzPHR5cGVvZiBDb25maWdTdGF0ZS5nZXRMb2NhbGl6YXRpb24+KSB7XHJcbiAgICByZXR1cm4gdGhpcy5zdG9yZS5zZWxlY3RTbmFwc2hvdChDb25maWdTdGF0ZS5nZXRMb2NhbGl6YXRpb24oLi4uYXJncykpO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/services/config.service.js b/npm/ng-packs/dist/core/esm5/lib/services/config.service.js deleted file mode 100644 index a80686fc916..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/services/config.service.js +++ /dev/null @@ -1,87 +0,0 @@ -/** - * @fileoverview added by tsickle - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { ConfigState } from '../states'; -import * as i0 from '@angular/core'; -import * as i1 from '@ngxs/store'; -var ConfigService = /** @class */ (function() { - function ConfigService(store) { - this.store = store; - } - /** - * @return {?} - */ - ConfigService.prototype.getAll - /** - * @return {?} - */ = function() { - return this.store.selectSnapshot(ConfigState.getAll); - }; - /** - * @param {?} key - * @return {?} - */ - ConfigService.prototype.getOne - /** - * @param {?} key - * @return {?} - */ = function(key) { - return this.store.selectSnapshot(ConfigState.getOne(key)); - }; - /** - * @param {?} keys - * @return {?} - */ - ConfigService.prototype.getDeep - /** - * @param {?} keys - * @return {?} - */ = function(keys) { - return this.store.selectSnapshot(ConfigState.getDeep(keys)); - }; - /** - * @param {?} key - * @return {?} - */ - ConfigService.prototype.getSetting - /** - * @param {?} key - * @return {?} - */ = function(key) { - return this.store.selectSnapshot(ConfigState.getSetting(key)); - }; - ConfigService.decorators = [ - { - type: Injectable, - args: [ - { - providedIn: 'root', - }, - ], - }, - ]; - /** @nocollapse */ - ConfigService.ctorParameters = function() { - return [{ type: Store }]; - }; - /** @nocollapse */ ConfigService.ngInjectableDef = i0.ɵɵdefineInjectable({ - factory: function ConfigService_Factory() { - return new ConfigService(i0.ɵɵinject(i1.Store)); - }, - token: ConfigService, - providedIn: 'root', - }); - return ConfigService; -})(); -export { ConfigService }; -if (false) { - /** - * @type {?} - * @private - */ - ConfigService.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvY29uZmlnLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQ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bnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgU3RvcmUgfSBmcm9tICdAbmd4cy9zdG9yZSc7XG5pbXBvcnQgeyBDb25maWdTdGF0ZSB9IGZyb20gJy4uL3N0YXRlcyc7XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxufSlcbmV4cG9ydCBjbGFzcyBDb25maWdTZXJ2aWNlIHtcbiAgY29uc3RydWN0b3IocHJpdmF0ZSBzdG9yZTogU3RvcmUpIHt9XG5cbiAgZ2V0QWxsKCkge1xuICAgIHJldHVybiB0aGlzLnN0b3JlLnNlbGVjdFNuYXBzaG90KENvbmZpZ1N0YXRlLmdldEFsbCk7XG4gIH1cblxuICBnZXRPbmUoa2V5OiBzdHJpbmcpIHtcbiAgICByZXR1cm4gdGhpcy5zdG9yZS5zZWxlY3RTbmFwc2hvdChDb25maWdTdGF0ZS5nZXRPbmUoa2V5KSk7XG4gIH1cblxuICBnZXREZWVwKGtleXM6IHN0cmluZ1tdIHwgc3RyaW5nKSB7XG4gICAgcmV0dXJuIHRoaXMuc3RvcmUuc2VsZWN0U25hcHNob3QoQ29uZmlnU3RhdGUuZ2V0RGVlcChrZXlzKSk7XG4gIH1cblxuICBnZXRTZXR0aW5nKGtleTogc3RyaW5nKSB7XG4gICAgcmV0dXJuIHRoaXMuc3RvcmUuc2VsZWN0U25hcHNob3QoQ29uZmlnU3RhdGUuZ2V0U2V0dGluZyhrZXkpKTtcbiAgfVxufVxuIl19 diff --git a/npm/ng-packs/dist/core/esm5/lib/services/index.js b/npm/ng-packs/dist/core/esm5/lib/services/index.js deleted file mode 100644 index f3b8c035ce0..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/services/index.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { ApplicationConfigurationService } from './application-configuration.service'; -export { ConfigStateService } from './config-state.service'; -export { LazyLoadService } from './lazy-load.service'; -export { LocalizationService } from './localization.service'; -export { ProfileService } from './profile.service'; -export { RestService } from './rest.service'; -export { ProfileStateService } from './profile-state.service'; -export { SessionStateService } from './session-state.service'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxnREFBYyxxQ0FBcUMsQ0FBQztBQUNwRCxtQ0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxnQ0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxvQ0FBYyx3QkFBd0IsQ0FBQztBQUN2QywrQkFBYyxtQkFBbUIsQ0FBQztBQUNsQyw0QkFBYyxnQkFBZ0IsQ0FBQztBQUMvQixvQ0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxvQ0FBYyx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYXBwbGljYXRpb24tY29uZmlndXJhdGlvbi5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9jb25maWctc3RhdGUuc2VydmljZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGF6eS1sb2FkLnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xvY2FsaXphdGlvbi5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9wcm9maWxlLnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL3Jlc3Quc2VydmljZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vcHJvZmlsZS1zdGF0ZS5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9zZXNzaW9uLXN0YXRlLnNlcnZpY2UnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/services/lazy-load.service.js b/npm/ng-packs/dist/core/esm5/lib/services/lazy-load.service.js deleted file mode 100644 index baffd161dc4..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/services/lazy-load.service.js +++ /dev/null @@ -1,113 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/lazy-load.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { Observable, ReplaySubject, throwError } from 'rxjs'; -import { uuid } from '../utils'; -import * as i0 from "@angular/core"; -var LazyLoadService = /** @class */ (function () { - function LazyLoadService() { - this.loadedLibraries = {}; - } - /** - * @param {?} urlOrUrls - * @param {?} type - * @param {?=} content - * @param {?=} targetQuery - * @param {?=} position - * @return {?} - */ - LazyLoadService.prototype.load = /** - * @param {?} urlOrUrls - * @param {?} type - * @param {?=} content - * @param {?=} targetQuery - * @param {?=} position - * @return {?} - */ - function (urlOrUrls, type, content, targetQuery, position) { - var _this = this; - if (content === void 0) { content = ''; } - if (targetQuery === void 0) { targetQuery = 'body'; } - if (position === void 0) { position = 'beforeend'; } - if (!urlOrUrls && !content) { - return throwError('Should pass url or content'); - } - else if (!urlOrUrls && content) { - urlOrUrls = [null]; - } - if (!Array.isArray(urlOrUrls)) { - urlOrUrls = [urlOrUrls]; - } - return new Observable((/** - * @param {?} subscriber - * @return {?} - */ - function (subscriber) { - ((/** @type {?} */ (urlOrUrls))).forEach((/** - * @param {?} url - * @param {?} index - * @return {?} - */ - function (url, index) { - /** @type {?} */ - var key = url ? url.slice(url.lastIndexOf('/') + 1) : uuid(); - if (_this.loadedLibraries[key]) { - subscriber.next(); - subscriber.complete(); - return; - } - _this.loadedLibraries[key] = new ReplaySubject(); - /** @type {?} */ - var library; - if (type === 'script') { - library = document.createElement('script'); - library.type = 'text/javascript'; - if (url) { - ((/** @type {?} */ (library))).src = url; - } - ((/** @type {?} */ (library))).text = content; - } - else if (url) { - library = document.createElement('link'); - library.type = 'text/css'; - ((/** @type {?} */ (library))).rel = 'stylesheet'; - if (url) { - ((/** @type {?} */ (library))).href = url; - } - } - else { - library = document.createElement('style'); - ((/** @type {?} */ (library))).textContent = content; - } - library.onload = (/** - * @return {?} - */ - function () { - _this.loadedLibraries[key].next(); - _this.loadedLibraries[key].complete(); - if (index === urlOrUrls.length - 1) { - subscriber.next(); - subscriber.complete(); - } - }); - document.querySelector(targetQuery).insertAdjacentElement(position, library); - })); - })); - }; - LazyLoadService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ LazyLoadService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function LazyLoadService_Factory() { return new LazyLoadService(); }, token: LazyLoadService, providedIn: "root" }); - return LazyLoadService; -}()); -export { LazyLoadService }; -if (false) { - /** @type {?} */ - LazyLoadService.prototype.loadedLibraries; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF6eS1sb2FkLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvbGF6eS1sb2FkLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxVQUFVLEVBQUUsYUFBYSxFQUFFLFVBQVUsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUM3RCxPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sVUFBVSxDQUFDOztBQUVoQztJQUFBO1FBSUUsb0JBQWUsR0FBMkMsRUFBRSxD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blxyXG4gICAgICAgIHRoaXMubG9hZGVkTGlicmFyaWVzW2tleV0gPSBuZXcgUmVwbGF5U3ViamVjdCgpO1xyXG5cclxuICAgICAgICBsZXQgbGlicmFyeTtcclxuICAgICAgICBpZiAodHlwZSA9PT0gJ3NjcmlwdCcpIHtcclxuICAgICAgICAgIGxpYnJhcnkgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdzY3JpcHQnKTtcclxuICAgICAgICAgIGxpYnJhcnkudHlwZSA9ICd0ZXh0L2phdmFzY3JpcHQnO1xyXG4gICAgICAgICAgaWYgKHVybCkge1xyXG4gICAgICAgICAgICAobGlicmFyeSBhcyBIVE1MU2NyaXB0RWxlbWVudCkuc3JjID0gdXJsO1xyXG4gICAgICAgICAgfVxyXG5cclxuICAgICAgICAgIChsaWJyYXJ5IGFzIEhUTUxTY3JpcHRFbGVtZW50KS50ZXh0ID0gY29udGVudDtcclxuICAgICAgICB9IGVsc2UgaWYgKHVybCkge1xyXG4gICAgICAgICAgbGlicmFyeSA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2xpbmsnKTtcclxuICAgICAgICAgIGxpYnJhcnkudHlwZSA9ICd0ZXh0L2Nzcyc7XHJcbiAgICAgICAgICAobGlicmFyeSBhcyBIVE1MTGlua0VsZW1lbnQpLnJlbCA9ICdzdHlsZXNoZWV0JztcclxuXHJcbiAgICAgICAgICBpZiAodXJsKSB7XHJcbiAgICAgICAgICAgIChsaWJyYXJ5IGFzIEhUTUxMaW5rRWxlbWVudCkuaHJlZiA9IHVybDtcclxuICAgICAgICAgIH1cclxuICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgbGlicmFyeSA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ3N0eWxlJyk7XHJcbiAgICAgICAgICAobGlicmFyeSBhcyBIVE1MU3R5bGVFbGVtZW50KS50ZXh0Q29udGVudCA9IGNvbnRlbnQ7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBsaWJyYXJ5Lm9ubG9hZCA9ICgpID0+IHtcclxuICAgICAgICAgIHRoaXMubG9hZGVkTGlicmFyaWVzW2tleV0ubmV4dCgpO1xyXG4gICAgICAgICAgdGhpcy5sb2FkZWRMaWJyYXJpZXNba2V5XS5jb21wbGV0ZSgpO1xyXG5cclxuICAgICAgICAgIGlmIChpbmRleCA9PT0gdXJsT3JVcmxzLmxlbmd0aCAtIDEpIHtcclxuICAgICAgICAgICAgc3Vic2NyaWJlci5uZXh0KCk7XHJcbiAgICAgICAgICAgIHN1YnNjcmliZXIuY29tcGxldGUoKTtcclxuICAgICAgICAgIH1cclxuICAgICAgICB9O1xyXG5cclxuICAgICAgICBkb2N1bWVudC5xdWVyeVNlbGVjdG9yKHRhcmdldFF1ZXJ5KS5pbnNlcnRBZGphY2VudEVsZW1lbnQocG9zaXRpb24sIGxpYnJhcnkpO1xyXG4gICAgICB9KTtcclxuICAgIH0pO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/services/localization.service.js b/npm/ng-packs/dist/core/esm5/lib/services/localization.service.js deleted file mode 100644 index e63cb4de784..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/services/localization.service.js +++ /dev/null @@ -1,150 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/localization.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Injectable, NgZone, Optional, SkipSelf } from '@angular/core'; -import { Router } from '@angular/router'; -import { Store } from '@ngxs/store'; -import { noop } from 'rxjs'; -import { ConfigState } from '../states/config.state'; -import { registerLocale } from '../utils/initial-utils'; -import * as i0 from "@angular/core"; -import * as i1 from "@ngxs/store"; -import * as i2 from "@angular/router"; -var LocalizationService = /** @class */ (function () { - function LocalizationService(store, router, ngZone, otherInstance) { - this.store = store; - this.router = router; - this.ngZone = ngZone; - if (otherInstance) - throw new Error('LocalizationService should have only one instance.'); - } - Object.defineProperty(LocalizationService.prototype, "currentLang", { - get: /** - * @return {?} - */ - function () { - return this.store.selectSnapshot((/** - * @param {?} state - * @return {?} - */ - function (state) { return state.SessionState.language; })); - }, - enumerable: true, - configurable: true - }); - /** - * @param {?} reuse - * @return {?} - */ - LocalizationService.prototype.setRouteReuse = /** - * @param {?} reuse - * @return {?} - */ - function (reuse) { - this.router.routeReuseStrategy.shouldReuseRoute = reuse; - }; - /** - * @param {?} locale - * @return {?} - */ - LocalizationService.prototype.registerLocale = /** - * @param {?} locale - * @return {?} - */ - function (locale) { - var _this = this; - var shouldReuseRoute = this.router.routeReuseStrategy.shouldReuseRoute; - this.setRouteReuse((/** - * @return {?} - */ - function () { return false; })); - this.router.navigated = false; - return registerLocale(locale).then((/** - * @return {?} - */ - function () { - _this.ngZone.run((/** - * @return {?} - */ - function () { return tslib_1.__awaiter(_this, void 0, void 0, function () { - return tslib_1.__generator(this, function (_a) { - switch (_a.label) { - case 0: return [4 /*yield*/, this.router.navigateByUrl(this.router.url).catch(noop)]; - case 1: - _a.sent(); - this.setRouteReuse(shouldReuseRoute); - return [2 /*return*/]; - } - }); - }); })); - })); - }; - /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - LocalizationService.prototype.get = /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - function (key) { - var interpolateParams = []; - for (var _i = 1; _i < arguments.length; _i++) { - interpolateParams[_i - 1] = arguments[_i]; - } - return this.store.select(ConfigState.getLocalization.apply(ConfigState, tslib_1.__spread([key], interpolateParams))); - }; - /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - LocalizationService.prototype.instant = /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - function (key) { - var interpolateParams = []; - for (var _i = 1; _i < arguments.length; _i++) { - interpolateParams[_i - 1] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getLocalization.apply(ConfigState, tslib_1.__spread([key], interpolateParams))); - }; - LocalizationService.decorators = [ - { type: Injectable, args: [{ providedIn: 'root' },] } - ]; - /** @nocollapse */ - LocalizationService.ctorParameters = function () { return [ - { type: Store }, - { type: Router }, - { type: NgZone }, - { type: LocalizationService, decorators: [{ type: Optional }, { type: SkipSelf }] } - ]; }; - /** @nocollapse */ LocalizationService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function LocalizationService_Factory() { return new LocalizationService(i0.ɵɵinject(i1.Store), i0.ɵɵinject(i2.Router), i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(LocalizationService, 12)); }, token: LocalizationService, providedIn: "root" }); - return LocalizationService; -}()); -export { LocalizationService }; -if (false) { - /** - * @type {?} - * @private - */ - LocalizationService.prototype.store; - /** - * @type {?} - * @private - */ - LocalizationService.prototype.router; - /** - * @type {?} - * @private - */ - LocalizationService.prototype.ngZone; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYWxpemF0aW9uLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvbG9jYWxpemF0aW9uLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsUUFBUSxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN2RSxPQUFPLEVBQTBCLE1BQU0sRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ2pFLE9BQU8sRUFBRSxLQUFLLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFDcEMsT0FBTyxFQUFFLElBQUksRUFBYyxNQUFNLE1BQU0sQ0FBQztBQUN4QyxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFDckQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHdC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dHJpbmcgfCBDb25maWcuTG9jYWxpemF0aW9uV2l0aERlZmF1bHQsXHJcbiAgICAuLi5pbnRlcnBvbGF0ZVBhcmFtczogc3RyaW5nW11cclxuICApOiBPYnNlcnZhYmxlPHN0cmluZz4ge1xyXG4gICAgcmV0dXJuIHRoaXMuc3RvcmUuc2VsZWN0KENvbmZpZ1N0YXRlLmdldExvY2FsaXphdGlvbihrZXksIC4uLmludGVycG9sYXRlUGFyYW1zKSk7XHJcbiAgfVxyXG5cclxuICBpbnN0YW50KGtleTogc3RyaW5nIHwgQ29uZmlnLkxvY2FsaXphdGlvbldpdGhEZWZhdWx0LCAuLi5pbnRlcnBvbGF0ZVBhcmFtczogc3RyaW5nW10pOiBzdHJpbmcge1xyXG4gICAgcmV0dXJuIHRoaXMuc3RvcmUuc2VsZWN0U25hcHNob3QoQ29uZmlnU3RhdGUuZ2V0TG9jYWxpemF0aW9uKGtleSwgLi4uaW50ZXJwb2xhdGVQYXJhbXMpKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/services/profile-state.service.js b/npm/ng-packs/dist/core/esm5/lib/services/profile-state.service.js deleted file mode 100644 index 68e99bbc3e5..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/services/profile-state.service.js +++ /dev/null @@ -1,44 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/profile-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { ProfileState } from '../states'; -import * as i0 from "@angular/core"; -import * as i1 from "@ngxs/store"; -var ProfileStateService = /** @class */ (function () { - function ProfileStateService(store) { - this.store = store; - } - /** - * @return {?} - */ - ProfileStateService.prototype.getProfile = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(ProfileState.getProfile); - }; - ProfileStateService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - ProfileStateService.ctorParameters = function () { return [ - { type: Store } - ]; }; - /** @nocollapse */ ProfileStateService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ProfileStateService_Factory() { return new ProfileStateService(i0.ɵɵinject(i1.Store)); }, token: ProfileStateService, providedIn: "root" }); - return ProfileStateService; -}()); -export { ProfileStateService }; -if (false) { - /** - * @type {?} - * @private - */ - ProfileStateService.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZmlsZS1zdGF0ZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3NlcnZpY2VzL3Byb2ZpbGUtc3RhdGUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUNwQyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sV0FBVyxDQUFDOzs7QUFFekM7SUFJRSw2QkFBb0IsS0FBWTtRQUFaLFVBQUssR0FBTCxLQUFLLENBQU87SUFBRyxDQUFDOzs7O0lBRXBDLHdDQUFVOzs7SUFBVjtRQUNFLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQyxjQUFjLENBQUMsWUFBWSxDQUFDLFVBQVUsQ0FBQyxDQUFDO0lBQzVELENBQUM7O2dCQVJGLFVBQVUsU0FBQztvQkFDVixVQUFVLEVBQUUsTUFBTTtpQkFDbkI7Ozs7Z0JBTFEsS0FBSzs7OzhCQURkO0NBYUMsQUFURCxJQVNDO1NBTlksbUJBQW1COzs7Ozs7SUFDbEIsb0NBQW9CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBTdG9yZSB9IGZyb20gJ0BuZ3hzL3N0b3JlJztcclxuaW1wb3J0IHsgUHJvZmlsZVN0YXRlIH0gZnJvbSAnLi4vc3RhdGVzJztcclxuXHJcbkBJbmplY3RhYmxlKHtcclxuICBwcm92aWRlZEluOiAncm9vdCcsXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBQcm9maWxlU3RhdGVTZXJ2aWNlIHtcclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHN0b3JlOiBTdG9yZSkge31cclxuXHJcbiAgZ2V0UHJvZmlsZSgpIHtcclxuICAgIHJldHVybiB0aGlzLnN0b3JlLnNlbGVjdFNuYXBzaG90KFByb2ZpbGVTdGF0ZS5nZXRQcm9maWxlKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/services/profile.service.js b/npm/ng-packs/dist/core/esm5/lib/services/profile.service.js deleted file mode 100644 index 988189c9b2a..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/services/profile.service.js +++ /dev/null @@ -1,85 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/profile.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { RestService } from './rest.service'; -import * as i0 from "@angular/core"; -import * as i1 from "./rest.service"; -var ProfileService = /** @class */ (function () { - function ProfileService(rest) { - this.rest = rest; - } - /** - * @return {?} - */ - ProfileService.prototype.get = /** - * @return {?} - */ - function () { - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/identity/my-profile', - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - ProfileService.prototype.update = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var request = { - method: 'PUT', - url: '/api/identity/my-profile', - body: body, - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @param {?=} skipHandleError - * @return {?} - */ - ProfileService.prototype.changePassword = /** - * @param {?} body - * @param {?=} skipHandleError - * @return {?} - */ - function (body, skipHandleError) { - if (skipHandleError === void 0) { skipHandleError = false; } - /** @type {?} */ - var request = { - method: 'POST', - url: '/api/identity/my-profile/change-password', - body: body, - }; - return this.rest.request(request, { skipHandleError: skipHandleError }); - }; - ProfileService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - ProfileService.ctorParameters = function () { return [ - { type: RestService } - ]; }; - /** @nocollapse */ ProfileService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ProfileService_Factory() { return new ProfileService(i0.ɵɵinject(i1.RestService)); }, token: ProfileService, providedIn: "root" }); - return ProfileService; -}()); -export { ProfileService }; -if (false) { - /** - * @type {?} - * @private - */ - ProfileService.prototype.rest; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZmlsZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3NlcnZpY2VzL3Byb2ZpbGUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFM0MsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDOzs7QUFHN0M7SUFJRSx3QkFBb0IsSUFBaUI7UUFBakIsU0FBSSxHQUFKLElBQUksQ0FBYTtJQUFHLENBQUM7Ozs7SUFFekMsNEJBQUc7OztJQUFIOztZQUNRLE9BQU8sR0FBdUI7WUFDbEMsTUFBTSxFQUFFLEtBQUs7WUFDYixHQUFHLEVBQUUsMEJBQTBCO1NBQ2hDO1FBRUQsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sQ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zdDogUmVzdC5SZXF1ZXN0PFByb2ZpbGUuQ2hhbmdlUGFzc3dvcmRSZXF1ZXN0PiA9IHtcclxuICAgICAgbWV0aG9kOiAnUE9TVCcsXHJcbiAgICAgIHVybDogJy9hcGkvaWRlbnRpdHkvbXktcHJvZmlsZS9jaGFuZ2UtcGFzc3dvcmQnLFxyXG4gICAgICBib2R5LFxyXG4gICAgfTtcclxuXHJcbiAgICByZXR1cm4gdGhpcy5yZXN0LnJlcXVlc3Q8UHJvZmlsZS5DaGFuZ2VQYXNzd29yZFJlcXVlc3QsIG51bGw+KHJlcXVlc3QsIHsgc2tpcEhhbmRsZUVycm9yIH0pO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/services/rest.service.js b/npm/ng-packs/dist/core/esm5/lib/services/rest.service.js deleted file mode 100644 index 1aa210dca1d..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/services/rest.service.js +++ /dev/null @@ -1,105 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/rest.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { HttpClient } from '@angular/common/http'; -import { Injectable } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { throwError } from 'rxjs'; -import { catchError, take, tap } from 'rxjs/operators'; -import { RestOccurError } from '../actions/rest.actions'; -import { ConfigState } from '../states/config.state'; -import * as i0 from "@angular/core"; -import * as i1 from "@angular/common/http"; -import * as i2 from "@ngxs/store"; -var RestService = /** @class */ (function () { - function RestService(http, store) { - this.http = http; - this.store = store; - } - /** - * @param {?} err - * @return {?} - */ - RestService.prototype.handleError = /** - * @param {?} err - * @return {?} - */ - function (err) { - this.store.dispatch(new RestOccurError(err)); - console.error(err); - return throwError(err); - }; - /** - * @template T, R - * @param {?} request - * @param {?=} config - * @param {?=} api - * @return {?} - */ - RestService.prototype.request = /** - * @template T, R - * @param {?} request - * @param {?=} config - * @param {?=} api - * @return {?} - */ - function (request, config, api) { - var _this = this; - config = config || ((/** @type {?} */ ({}))); - var _a = config.observe, observe = _a === void 0 ? "body" /* Body */ : _a, skipHandleError = config.skipHandleError; - /** @type {?} */ - var url = (api || this.store.selectSnapshot(ConfigState.getApiUrl())) + request.url; - var method = request.method, params = request.params, options = tslib_1.__rest(request, ["method", "params"]); - return this.http - .request(method, url, (/** @type {?} */ (tslib_1.__assign({ observe: observe }, (params && { - params: Object.keys(params).reduce((/** - * @param {?} acc - * @param {?} key - * @return {?} - */ - function (acc, key) { - var _a; - return (tslib_1.__assign({}, acc, (typeof params[key] !== 'undefined' && params[key] !== '' && (_a = {}, _a[key] = params[key], _a)))); - }), {}), - }), options)))) - .pipe(observe === "body" /* Body */ ? take(1) : tap(), catchError((/** - * @param {?} err - * @return {?} - */ - function (err) { - if (skipHandleError) { - return throwError(err); - } - return _this.handleError(err); - }))); - }; - RestService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - RestService.ctorParameters = function () { return [ - { type: HttpClient }, - { type: Store } - ]; }; - /** @nocollapse */ RestService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function RestService_Factory() { return new RestService(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(i2.Store)); }, token: RestService, providedIn: "root" }); - return RestService; -}()); -export { RestService }; -if (false) { - /** - * @type {?} - * @private - */ - RestService.prototype.http; - /** - * @type {?} - * @private - */ - RestService.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3NlcnZpY2VzL3Jlc3Quc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBV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V5XSB9KSxcclxuICAgICAgICAgICAgfSksXHJcbiAgICAgICAgICAgIHt9LFxyXG4gICAgICAgICAgKSxcclxuICAgICAgICB9KSxcclxuICAgICAgICAuLi5vcHRpb25zLFxyXG4gICAgICB9IGFzIGFueSlcclxuICAgICAgLnBpcGUoXHJcbiAgICAgICAgb2JzZXJ2ZSA9PT0gUmVzdC5PYnNlcnZlLkJvZHkgPyB0YWtlKDEpIDogdGFwKCksXHJcbiAgICAgICAgY2F0Y2hFcnJvcihlcnIgPT4ge1xyXG4gICAgICAgICAgaWYgKHNraXBIYW5kbGVFcnJvcikge1xyXG4gICAgICAgICAgICByZXR1cm4gdGhyb3dFcnJvcihlcnIpO1xyXG4gICAgICAgICAgfVxyXG5cclxuICAgICAgICAgIHJldHVybiB0aGlzLmhhbmRsZUVycm9yKGVycik7XHJcbiAgICAgICAgfSksXHJcbiAgICAgICk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/services/session-state.service.js b/npm/ng-packs/dist/core/esm5/lib/services/session-state.service.js deleted file mode 100644 index 32ae914dd7c..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/services/session-state.service.js +++ /dev/null @@ -1,53 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/session-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { SessionState } from '../states'; -import * as i0 from "@angular/core"; -import * as i1 from "@ngxs/store"; -var SessionStateService = /** @class */ (function () { - function SessionStateService(store) { - this.store = store; - } - /** - * @return {?} - */ - SessionStateService.prototype.getLanguage = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(SessionState.getLanguage); - }; - /** - * @return {?} - */ - SessionStateService.prototype.getTenant = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(SessionState.getTenant); - }; - SessionStateService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - SessionStateService.ctorParameters = function () { return [ - { type: Store } - ]; }; - /** @nocollapse */ SessionStateService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function SessionStateService_Factory() { return new SessionStateService(i0.ɵɵinject(i1.Store)); }, token: SessionStateService, providedIn: "root" }); - return SessionStateService; -}()); -export { SessionStateService }; -if (false) { - /** - * @type {?} - * @private - */ - SessionStateService.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vzc2lvbi1zdGF0ZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3NlcnZpY2VzL3Nlc3Npb24tc3RhdGUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUNwQyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sV0FBVyxDQUFDOzs7QUFFekM7SUFJRSw2QkFBb0IsS0FBWTtRQUFaLFVBQUssR0FBTCxLQUFLLENBQU87SUFBRyxDQUFDOzs7O0lBRXBDLHlDQUFXOzs7SUFBWDtRQUNFLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQyxjQUFjLENBQUMsWUFBWSxDQUFDLFdBQVcsQ0FBQyxDQUFDO0lBQzdELENBQUM7Ozs7SUFFRCx1Q0FBUzs7O0lBQVQ7UUFDRSxPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsY0FBYyxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsQ0FBQztJQUMzRCxDQUFDOztnQkFaRixVQUFVLFNBQUM7b0JBQ1YsVUFBVSxFQUFFLE1BQU07aUJBQ25COzs7O2dCQUxRLEtBQUs7Ozs4QkFEZDtDQWlCQyxBQWJELElBYUM7U0FWWSxtQkFBbUI7Ozs7OztJQUNsQixvQ0FBb0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IFN0b3JlIH0gZnJvbSAnQG5neHMvc3RvcmUnO1xyXG5pbXBvcnQgeyBTZXNzaW9uU3RhdGUgfSBmcm9tICcuLi9zdGF0ZXMnO1xyXG5cclxuQEluamVjdGFibGUoe1xyXG4gIHByb3ZpZGVkSW46ICdyb290JyxcclxufSlcclxuZXhwb3J0IGNsYXNzIFNlc3Npb25TdGF0ZVNlcnZpY2Uge1xyXG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgc3RvcmU6IFN0b3JlKSB7fVxyXG5cclxuICBnZXRMYW5ndWFnZSgpIHtcclxuICAgIHJldHVybiB0aGlzLnN0b3JlLnNlbGVjdFNuYXBzaG90KFNlc3Npb25TdGF0ZS5nZXRMYW5ndWFnZSk7XHJcbiAgfVxyXG5cclxuICBnZXRUZW5hbnQoKSB7XHJcbiAgICByZXR1cm4gdGhpcy5zdG9yZS5zZWxlY3RTbmFwc2hvdChTZXNzaW9uU3RhdGUuZ2V0VGVuYW50KTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/states/config.state.js b/npm/ng-packs/dist/core/esm5/lib/states/config.state.js deleted file mode 100644 index 4d5104b1a75..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/states/config.state.js +++ /dev/null @@ -1,502 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/config.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Action, createSelector, Selector, State, StateContext, Store, } from '@ngxs/store'; -import { of } from 'rxjs'; -import { switchMap, tap } from 'rxjs/operators'; -import snq from 'snq'; -import { GetAppConfiguration, PatchRouteByName, } from '../actions/config.actions'; -import { SetLanguage } from '../actions/session.actions'; -import { ApplicationConfigurationService } from '../services/application-configuration.service'; -import { organizeRoutes } from '../utils/route-utils'; -import { SessionState } from './session.state'; -var ConfigState = /** @class */ (function () { - function ConfigState(appConfigurationService, store) { - this.appConfigurationService = appConfigurationService; - this.store = store; - } - ConfigState_1 = ConfigState; - /** - * @param {?} state - * @return {?} - */ - ConfigState.getAll = /** - * @param {?} state - * @return {?} - */ - function (state) { - return state; - }; - /** - * @param {?} state - * @return {?} - */ - ConfigState.getApplicationInfo = /** - * @param {?} state - * @return {?} - */ - function (state) { - return state.environment.application || ((/** @type {?} */ ({}))); - }; - /** - * @param {?} key - * @return {?} - */ - ConfigState.getOne = /** - * @param {?} key - * @return {?} - */ - function (key) { - /** @type {?} */ - var selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - return state[key]; - })); - return selector; - }; - /** - * @param {?} keys - * @return {?} - */ - ConfigState.getDeep = /** - * @param {?} keys - * @return {?} - */ - function (keys) { - if (typeof keys === 'string') { - keys = keys.split('.'); - } - if (!Array.isArray(keys)) { - throw new Error('The argument must be a dot string or an string array.'); - } - /** @type {?} */ - var selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - return ((/** @type {?} */ (keys))).reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { - if (acc) { - return acc[val]; - } - return undefined; - }), state); - })); - return selector; - }; - /** - * @param {?=} path - * @param {?=} name - * @param {?=} url - * @return {?} - */ - ConfigState.getRoute = /** - * @param {?=} path - * @param {?=} name - * @param {?=} url - * @return {?} - */ - function (path, name, url) { - /** @type {?} */ - var selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - var flattedRoutes = state.flattedRoutes; - return ((/** @type {?} */ (flattedRoutes))).find((/** - * @param {?} route - * @return {?} - */ - function (route) { - if (path && route.path === path) { - return route; - } - else if (name && route.name === name) { - return route; - } - else if (url && route.url === url) { - return route; - } - })); - })); - return selector; - }; - /** - * @param {?=} key - * @return {?} - */ - ConfigState.getApiUrl = /** - * @param {?=} key - * @return {?} - */ - function (key) { - /** @type {?} */ - var selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - return state.environment.apis[key || 'default'].url; - })); - return selector; - }; - /** - * @param {?} key - * @return {?} - */ - ConfigState.getSetting = /** - * @param {?} key - * @return {?} - */ - function (key) { - /** @type {?} */ - var selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - return snq((/** - * @return {?} - */ - function () { return state.setting.values[key]; })); - })); - return selector; - }; - /** - * @param {?=} keyword - * @return {?} - */ - ConfigState.getSettings = /** - * @param {?=} keyword - * @return {?} - */ - function (keyword) { - /** @type {?} */ - var selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - if (keyword) { - /** @type {?} */ - var keys = snq((/** - * @return {?} - */ - function () { - return Object.keys(state.setting.values).filter((/** - * @param {?} key - * @return {?} - */ - function (key) { return key.indexOf(keyword) > -1; })); - }), []); - if (keys.length) { - return keys.reduce((/** - * @param {?} acc - * @param {?} key - * @return {?} - */ - function (acc, key) { - var _a; - return (tslib_1.__assign({}, acc, (_a = {}, _a[key] = state.setting.values[key], _a))); - }), {}); - } - } - return snq((/** - * @return {?} - */ - function () { return state.setting.values; }), {}); - })); - return selector; - }; - /** - * @param {?} key - * @return {?} - */ - ConfigState.getGrantedPolicy = /** - * @param {?} key - * @return {?} - */ - function (key) { - /** @type {?} */ - var selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - if (!key) - return true; - /** @type {?} */ - var getPolicy = (/** - * @param {?} k - * @return {?} - */ - function (k) { return snq((/** - * @return {?} - */ - function () { return state.auth.grantedPolicies[k]; }), false); }); - /** @type {?} */ - var orRegexp = /\|\|/g; - /** @type {?} */ - var andRegexp = /&&/g; - if (orRegexp.test(key)) { - /** @type {?} */ - var keys = key.split('||').filter((/** - * @param {?} k - * @return {?} - */ - function (k) { return !!k; })); - if (keys.length !== 2) - return false; - return getPolicy(keys[0].trim()) || getPolicy(keys[1].trim()); - } - else if (andRegexp.test(key)) { - /** @type {?} */ - var keys = key.split('&&').filter((/** - * @param {?} k - * @return {?} - */ - function (k) { return !!k; })); - if (keys.length !== 2) - return false; - return getPolicy(keys[0].trim()) && getPolicy(keys[1].trim()); - } - return getPolicy(key); - })); - return selector; - }; - /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - ConfigState.getLocalization = /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - function (key) { - var interpolateParams = []; - for (var _i = 1; _i < arguments.length; _i++) { - interpolateParams[_i - 1] = arguments[_i]; - } - /** @type {?} */ - var defaultValue; - if (typeof key !== 'string') { - defaultValue = key.defaultValue; - key = key.key; - } - if (!key) - key = ''; - /** @type {?} */ - var keys = (/** @type {?} */ (key.split('::'))); - /** @type {?} */ - var selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - if (!state.localization) - return defaultValue || key; - var defaultResourceName = state.environment.localization.defaultResourceName; - if (keys[0] === '') { - if (!defaultResourceName) { - throw new Error("Please check your environment. May you forget set defaultResourceName?\n Here is the example:\n { production: false,\n localization: {\n defaultResourceName: 'MyProjectName'\n }\n }"); - } - keys[0] = snq((/** - * @return {?} - */ - function () { return defaultResourceName; })); - } - /** @type {?} */ - var localization = ((/** @type {?} */ (keys))).reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { - if (acc) { - return acc[val]; - } - return undefined; - }), state.localization.values); - interpolateParams = interpolateParams.filter((/** - * @param {?} params - * @return {?} - */ - function (params) { return params != null; })); - if (localization && interpolateParams && interpolateParams.length) { - interpolateParams.forEach((/** - * @param {?} param - * @return {?} - */ - function (param) { - localization = localization.replace(/[\'\"]?\{[\d]+\}[\'\"]?/, param); - })); - } - if (typeof localization !== 'string') - localization = ''; - return localization || defaultValue || key; - })); - return selector; - }; - /** - * @param {?} __0 - * @return {?} - */ - ConfigState.prototype.addData = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var _this = this; - var patchState = _a.patchState, dispatch = _a.dispatch; - return this.appConfigurationService.getConfiguration().pipe(tap((/** - * @param {?} configuration - * @return {?} - */ - function (configuration) { - return patchState(tslib_1.__assign({}, configuration)); - })), switchMap((/** - * @param {?} configuration - * @return {?} - */ - function (configuration) { - /** @type {?} */ - var defaultLang = configuration.setting.values['Abp.Localization.DefaultLanguage']; - if (defaultLang.includes(';')) { - defaultLang = defaultLang.split(';')[0]; - } - return _this.store.selectSnapshot(SessionState.getLanguage) - ? of(null) - : dispatch(new SetLanguage(defaultLang)); - }))); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - ConfigState.prototype.patchRoute = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState, getState = _a.getState; - var name = _b.name, newValue = _b.newValue; - /** @type {?} */ - var routes = getState().routes; - /** @type {?} */ - var index = routes.findIndex((/** - * @param {?} route - * @return {?} - */ - function (route) { return route.name === name; })); - routes = patchRouteDeep(routes, name, newValue); - return patchState({ - routes: routes, - }); - }; - var ConfigState_1; - ConfigState.ctorParameters = function () { return [ - { type: ApplicationConfigurationService }, - { type: Store } - ]; }; - tslib_1.__decorate([ - Action(GetAppConfiguration), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", void 0) - ], ConfigState.prototype, "addData", null); - tslib_1.__decorate([ - Action(PatchRouteByName), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, PatchRouteByName]), - tslib_1.__metadata("design:returntype", void 0) - ], ConfigState.prototype, "patchRoute", null); - tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", void 0) - ], ConfigState, "getAll", null); - tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", Object) - ], ConfigState, "getApplicationInfo", null); - ConfigState = ConfigState_1 = tslib_1.__decorate([ - State({ - name: 'ConfigState', - defaults: (/** @type {?} */ ({})), - }), - tslib_1.__metadata("design:paramtypes", [ApplicationConfigurationService, - Store]) - ], ConfigState); - return ConfigState; -}()); -export { ConfigState }; -if (false) { - /** - * @type {?} - * @private - */ - ConfigState.prototype.appConfigurationService; - /** - * @type {?} - * @private - */ - ConfigState.prototype.store; -} -/** - * @param {?} routes - * @param {?} name - * @param {?} newValue - * @param {?=} parentUrl - * @return {?} - */ -function patchRouteDeep(routes, name, newValue, parentUrl) { - if (parentUrl === void 0) { parentUrl = ''; } - routes = routes.map((/** - * @param {?} route - * @return {?} - */ - function (route) { - if (route.name === name) { - newValue.url = parentUrl + "/" + ((!newValue.path && newValue.path === '' - ? route.path - : newValue.path) || ''); - if (newValue.children && newValue.children.length) { - newValue.children = newValue.children.map((/** - * @param {?} child - * @return {?} - */ - function (child) { return (tslib_1.__assign({}, child, { url: (newValue.url + "/" + child.path).replace('//', '/') })); })); - } - return tslib_1.__assign({}, route, newValue); - } - else if (route.children && route.children.length) { - route.children = patchRouteDeep(route.children, name, newValue, (parentUrl || '/') + route.path); - } - return route; - })); - if (parentUrl) { - // recursive block - return routes; - } - return organizeRoutes(routes); -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLnN0YXRlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3N0YXRlcy9jb25maWcuc3RhdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsT0FBTy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AgICAgICAgIGtleSA9PiBrZXkuaW5kZXhPZihrZXl3b3JkKSA+IC0xLFxyXG4gICAgICAgICAgICApLFxyXG4gICAgICAgICAgW10sXHJcbiAgICAgICAgKTtcclxuXHJcbiAgICAgICAgaWYgKGtleXMubGVuZ3RoKSB7XHJcbiAgICAgICAgICByZXR1cm4ga2V5cy5yZWR1Y2UoXHJcbiAgICAgICAgICAgIChhY2MsIGtleSkgPT4gKHsgLi4uYWNjLCBba2V5XTogc3RhdGUuc2V0dGluZy52YWx1ZXNba2V5XSB9KSxcclxuICAgICAgICAgICAge30sXHJcbiAgICAgICAgICApO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG5cclxuICAgICAgcmV0dXJuIHNucSgoKSA9PiBzdGF0ZS5zZXR0aW5nLnZhbHVlcywge30pO1xyXG4gICAgfSk7XHJcbiAgICByZXR1cm4gc2VsZWN0b3I7XHJcbiAgfVxyXG5cclxuICBzdGF0aWMgZ2V0R3JhbnRlZFBvbGljeShrZXk6IHN0cmluZykge1xyXG4gICAgY29uc3Qgc2VsZWN0b3IgPSBjcmVhdGVTZWxlY3RvcihcclxuICAgICAgW0NvbmZpZ1N0YXRlXSxcclxuICAgICAgKHN0YXRlOiBDb25maWcuU3RhdGUpOiBib29sZWFuID0+IHtcclxuICAgICAgICBpZiAoIWtleSkgcmV0dXJuIHRydWU7XHJcbiAgICAgICAgY29uc3QgZ2V0UG9saWN5ID0gayA9PiBzbnEoKCkgPT4gc3RhdGUuYXV0aC5ncmFudGVkUG9saWNpZXNba10sIGZhbHNlKTtcclxuXHJcbiAgICAgICAgY29uc3Qgb3JSZWdleHAgPSAvXFx8XFx8L2c7XHJcbiAgICAgICAgY29uc3QgYW5kUmVnZXhwID0gLyYmL2c7XHJcblxyXG4gICAgICAgIGlmIChvclJlZ2V4cC50ZXN0KGtleSkpIHtcclxuICAgICAgICAgIGNvbnN0IGtleXMgPSBrZXkuc3BsaXQoJ3x8JykuZmlsdGVyKGsgPT4gISFrKTtccl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VmFsdWUudXJsfS8ke2NoaWxkLnBhdGh9YC5yZXBsYWNlKCcvLycsICcvJyksXHJcbiAgICAgICAgfSkpO1xyXG4gICAgICB9XHJcblxyXG4gICAgICByZXR1cm4geyAuLi5yb3V0ZSwgLi4ubmV3VmFsdWUgfTtcclxuICAgIH0gZWxzZSBpZiAocm91dGUuY2hpbGRyZW4gJiYgcm91dGUuY2hpbGRyZW4ubGVuZ3RoKSB7XHJcbiAgICAgIHJvdXRlLmNoaWxkcmVuID0gcGF0Y2hSb3V0ZURlZXAoXHJcbiAgICAgICAgcm91dGUuY2hpbGRyZW4sXHJcbiAgICAgICAgbmFtZSxcclxuICAgICAgICBuZXdWYWx1ZSxcclxuICAgICAgICAocGFyZW50VXJsIHx8ICcvJykgKyByb3V0ZS5wYXRoLFxyXG4gICAgICApO1xyXG4gICAgfVxyXG5cclxuICAgIHJldHVybiByb3V0ZTtcclxuICB9KTtcclxuXHJcbiAgaWYgKHBhcmVudFVybCkge1xyXG4gICAgLy8gcmVjdXJzaXZlIGJsb2NrXHJcbiAgICByZXR1cm4gcm91dGVzO1xyXG4gIH1cclxuXHJcbiAgcmV0dXJuIG9yZ2FuaXplUm91dGVzKHJvdXRlcyk7XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/states/index.js b/npm/ng-packs/dist/core/esm5/lib/states/index.js deleted file mode 100644 index 9f9ae37188a..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/states/index.js +++ /dev/null @@ -1,9 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { ProfileState } from './profile.state'; -export { ConfigState } from './config.state'; -export { SessionState } from './session.state'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvc3RhdGVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsNkJBQWMsaUJBQWlCLENBQUM7QUFDaEMsNEJBQWMsZ0JBQWdCLENBQUM7QUFDL0IsNkJBQWMsaUJBQWlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3Byb2ZpbGUuc3RhdGUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2NvbmZpZy5zdGF0ZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc2Vzc2lvbi5zdGF0ZSc7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/states/profile.state.js b/npm/ng-packs/dist/core/esm5/lib/states/profile.state.js deleted file mode 100644 index 9dad88bd0a4..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/states/profile.state.js +++ /dev/null @@ -1,128 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/profile.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Action, Selector, State } from '@ngxs/store'; -import { tap } from 'rxjs/operators'; -import { ChangePassword, GetProfile, UpdateProfile } from '../actions/profile.actions'; -import { ProfileService } from '../services/profile.service'; -var ProfileState = /** @class */ (function () { - function ProfileState(profileService) { - this.profileService = profileService; - } - /** - * @param {?} __0 - * @return {?} - */ - ProfileState.getProfile = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var profile = _a.profile; - return profile; - }; - /** - * @param {?} __0 - * @return {?} - */ - ProfileState.prototype.getProfile = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var patchState = _a.patchState; - return this.profileService.get().pipe(tap((/** - * @param {?} profile - * @return {?} - */ - function (profile) { - return patchState({ - profile: profile, - }); - }))); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - ProfileState.prototype.updateProfile = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.profileService.update(payload).pipe(tap((/** - * @param {?} profile - * @return {?} - */ - function (profile) { - return patchState({ - profile: profile, - }); - }))); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - ProfileState.prototype.changePassword = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.profileService.changePassword(payload, true); - }; - ProfileState.ctorParameters = function () { return [ - { type: ProfileService } - ]; }; - tslib_1.__decorate([ - Action(GetProfile), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", void 0) - ], ProfileState.prototype, "getProfile", null); - tslib_1.__decorate([ - Action(UpdateProfile), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, UpdateProfile]), - tslib_1.__metadata("design:returntype", void 0) - ], ProfileState.prototype, "updateProfile", null); - tslib_1.__decorate([ - Action(ChangePassword), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, ChangePassword]), - tslib_1.__metadata("design:returntype", void 0) - ], ProfileState.prototype, "changePassword", null); - tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", Object) - ], ProfileState, "getProfile", null); - ProfileState = tslib_1.__decorate([ - State({ - name: 'ProfileState', - defaults: (/** @type {?} */ ({})), - }), - tslib_1.__metadata("design:paramtypes", [ProfileService]) - ], ProfileState); - return ProfileState; -}()); -export { ProfileState }; -if (false) { - /** - * @type {?} - * @private - */ - ProfileState.prototype.profileService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZmlsZS5zdGF0ZS5qcyIsInNvdXJjZVJvb3QiOiJ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sb2FkIH06IFVwZGF0ZVByb2ZpbGUpIHtcclxuICAgIHJldHVybiB0aGlzLnByb2ZpbGVTZXJ2aWNlLnVwZGF0ZShwYXlsb2FkKS5waXBlKFxyXG4gICAgICB0YXAocHJvZmlsZSA9PlxyXG4gICAgICAgIHBhdGNoU3RhdGUoe1xyXG4gICAgICAgICAgcHJvZmlsZSxcclxuICAgICAgICB9KSxcclxuICAgICAgKSxcclxuICAgICk7XHJcbiAgfVxyXG5cclxuICBAQWN0aW9uKENoYW5nZVBhc3N3b3JkKVxyXG4gIGNoYW5nZVBhc3N3b3JkKF8sIHsgcGF5bG9hZCB9OiBDaGFuZ2VQYXNzd29yZCkge1xyXG4gICAgcmV0dXJuIHRoaXMucHJvZmlsZVNlcnZpY2UuY2hhbmdlUGFzc3dvcmQocGF5bG9hZCwgdHJ1ZSk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/states/session.state.js b/npm/ng-packs/dist/core/esm5/lib/states/session.state.js deleted file mode 100644 index 534652faedb..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/states/session.state.js +++ /dev/null @@ -1,124 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/session.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Action, Selector, State } from '@ngxs/store'; -import { from } from 'rxjs'; -import { switchMap } from 'rxjs/operators'; -import { GetAppConfiguration } from '../actions/config.actions'; -import { SetLanguage, SetTenant } from '../actions/session.actions'; -import { LocalizationService } from '../services/localization.service'; -var SessionState = /** @class */ (function () { - function SessionState(localizationService) { - this.localizationService = localizationService; - } - /** - * @param {?} __0 - * @return {?} - */ - SessionState.getLanguage = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var language = _a.language; - return language; - }; - /** - * @param {?} __0 - * @return {?} - */ - SessionState.getTenant = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var tenant = _a.tenant; - return tenant; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - SessionState.prototype.setLanguage = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var _this = this; - var patchState = _a.patchState, dispatch = _a.dispatch; - var payload = _b.payload; - patchState({ - language: payload, - }); - return dispatch(new GetAppConfiguration()).pipe(switchMap((/** - * @return {?} - */ - function () { return from(_this.localizationService.registerLocale(payload)); }))); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - SessionState.prototype.setTenant = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - patchState({ - tenant: payload, - }); - }; - SessionState.ctorParameters = function () { return [ - { type: LocalizationService } - ]; }; - tslib_1.__decorate([ - Action(SetLanguage), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, SetLanguage]), - tslib_1.__metadata("design:returntype", void 0) - ], SessionState.prototype, "setLanguage", null); - tslib_1.__decorate([ - Action(SetTenant), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, SetTenant]), - tslib_1.__metadata("design:returntype", void 0) - ], SessionState.prototype, "setTenant", null); - tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", String) - ], SessionState, "getLanguage", null); - tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", Object) - ], SessionState, "getTenant", null); - SessionState = tslib_1.__decorate([ - State({ - name: 'SessionState', - defaults: (/** @type {?} */ ({})), - }), - tslib_1.__metadata("design:paramtypes", [LocalizationService]) - ], SessionState); - return SessionState; -}()); -export { SessionState }; -if (false) { - /** - * @type {?} - * @private - */ - SessionState.prototype.localizationService; -} -//# s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ndWFnZSlcclxuICBzZXRMYW5ndWFnZSh7IHBhdGNoU3RhdGUsIGRpc3BhdGNoIH06IFN0YXRlQ29udGV4dDxTZXNzaW9uLlN0YXRlPiwgeyBwYXlsb2FkIH06IFNldExhbmd1YWdlKSB7XHJcbiAgICBwYXRjaFN0YXRlKHtcclxuICAgICAgbGFuZ3VhZ2U6IHBheWxvYWQsXHJcbiAgICB9KTtcclxuXHJcbiAgICByZXR1cm4gZGlzcGF0Y2gobmV3IEdldEFwcENvbmZpZ3VyYXRpb24oKSkucGlwZShcclxuICAgICAgc3dpdGNoTWFwKCgpID0+IGZyb20odGhpcy5sb2NhbGl6YXRpb25TZXJ2aWNlLnJlZ2lzdGVyTG9jYWxlKHBheWxvYWQpKSksXHJcbiAgICApO1xyXG4gIH1cclxuXHJcbiAgQEFjdGlvbihTZXRUZW5hbnQpXHJcbiAgc2V0VGVuYW50KHsgcGF0Y2hTdGF0ZSB9OiBTdGF0ZUNvbnRleHQ8U2Vzc2lvbi5TdGF0ZT4sIHsgcGF5bG9hZCB9OiBTZXRUZW5hbnQpIHtcclxuICAgIHBhdGNoU3RhdGUoe1xyXG4gICAgICB0ZW5hbnQ6IHBheWxvYWQsXHJcbiAgICB9KTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/tokens/common.token.js b/npm/ng-packs/dist/core/esm5/lib/tokens/common.token.js deleted file mode 100644 index 66a4ff04f80..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/tokens/common.token.js +++ /dev/null @@ -1,26 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/tokens/common.token.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { InjectionToken } from '@angular/core'; -/** - * @param {?} environment - * @return {?} - */ -export function environmentFactory(environment) { - return tslib_1.__assign({}, environment); -} -/** - * @param {?} config - * @return {?} - */ -export function configFactory(config) { - return tslib_1.__assign({}, config); -} -/** @type {?} */ -export var ENVIRONMENT = new InjectionToken('ENVIRONMENT'); -/** @type {?} */ -export var CONFIG = new InjectionToken('CONFIG'); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLnRva2VuLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3Rva2Vucy9jb21tb24udG9rZW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7QUFHL0MsTUFBTSxVQUFVLGtCQUFrQixDQUFDLFdBQStCO0lBQ2hFLDRCQUNLLFdBQVcsRUFDZDtBQUNKLENBQUM7Ozs7O0FBRUQsTUFBTSxVQUFVLGFBQWEsQ0FBQyxNQUEyQjtJQUN2RCw0QkFDSyxNQUFNLEVBQ1Q7QUFDSixDQUFDOztBQUVELE1BQU0sS0FBTyxXQUFXLEdBQUcsSUFBSSxjQUFjLENBQUMsYUFBYSxDQUFDOztBQUU1RCxNQUFNLEtBQU8sTUFBTSxHQUFHLElBQUksY0FBYyxDQUFDLFFBQVEsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGlvblRva2VuIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IENvbmZpZyB9IGZyb20gJy4uL21vZGVscyc7XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gZW52aXJvbm1lbnRGYWN0b3J5KGVudmlyb25tZW50OiBDb25maWcuRW52aXJvbm1lbnQpIHtcclxuICByZXR1cm4ge1xyXG4gICAgLi4uZW52aXJvbm1lbnQsXHJcbiAgfTtcclxufVxyXG5cclxuZXhwb3J0IGZ1bmN0aW9uIGNvbmZpZ0ZhY3RvcnkoY29uZmlnOiBDb25maWcuUmVxdWlyZW1lbnRzKSB7XHJcbiAgcmV0dXJuIHtcclxuICAgIC4uLmNvbmZpZyxcclxuICB9O1xyXG59XHJcblxyXG5leHBvcnQgY29uc3QgRU5WSVJPTk1FTlQgPSBuZXcgSW5qZWN0aW9uVG9rZW4oJ0VOVklST05NRU5UJyk7XHJcblxyXG5leHBvcnQgY29uc3QgQ09ORklHID0gbmV3IEluamVjdGlvblRva2VuKCdDT05GSUcnKTtcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/tokens/index.js b/npm/ng-packs/dist/core/esm5/lib/tokens/index.js deleted file mode 100644 index 5f9156e69c7..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/tokens/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/tokens/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { environmentFactory, configFactory, ENVIRONMENT, CONFIG } from './common.token'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvdG9rZW5zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsdUVBQWMsZ0JBQWdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NvbW1vbi50b2tlbic7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/utils/common-utils.js b/npm/ng-packs/dist/core/esm5/lib/utils/common-utils.js deleted file mode 100644 index a09286debd6..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/utils/common-utils.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/common-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @return {?} - */ -export function noop() { - // tslint:disable-next-line: only-arrow-functions - /** @type {?} */ - var fn = (/** - * @return {?} - */ - function () { }); - return fn; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLXV0aWxzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3V0aWxzL2NvbW1vbi11dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBLE1BQU0sVUFBVSxJQUFJOzs7UUFFWixFQUFFOzs7SUFBRyxjQUFZLENBQUMsQ0FBQTtJQUN4QixPQUFPLEVBQUUsQ0FBQztBQUNaLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZnVuY3Rpb24gbm9vcCgpIHtcclxuICAvLyB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmU6IG9ubHktYXJyb3ctZnVuY3Rpb25zXHJcbiAgY29uc3QgZm4gPSBmdW5jdGlvbigpIHt9O1xyXG4gIHJldHVybiBmbjtcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/utils/date-extensions.js b/npm/ng-packs/dist/core/esm5/lib/utils/date-extensions.js deleted file mode 100644 index ed863860d64..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/utils/date-extensions.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/date-extensions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -Date.prototype.toLocalISOString = (/** - * @this {?} - * @return {?} - */ -function () { - /** @type {?} */ - var timezoneOffset = this.getTimezoneOffset(); - return new Date(this.getTime() - timezoneOffset * 60000).toISOString(); -}); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS1leHRlbnNpb25zLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3V0aWxzL2RhdGUtZXh0ZW5zaW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQVFBLElBQUksQ0FBQyxTQUFTLENBQUMsZ0JBQWdCOzs7O0FBQUc7O1FBQzFCLGNBQWMsR0FBRyxJQUFJLENBQUMsaUJBQWlCLEVBQUU7SUFFL0MsT0FBTyxJQUFJLElBQUksQ0FBQyxJQUFJLENBQUMsT0FBTyxFQUFFLEdBQUcsY0FBYyxHQUFHLEtBQUssQ0FBQyxDQUFDLFdBQVcsRUFBRSxDQUFDO0FBQ3pFLENBQUMsQ0FBQSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHt9O1xyXG5cclxuZGVjbGFyZSBnbG9iYWwge1xyXG4gIGludGVyZmFjZSBEYXRlIHtcclxuICAgIHRvTG9jYWxJU09TdHJpbmcoKTogc3RyaW5nO1xyXG4gIH1cclxufVxyXG5cclxuRGF0ZS5wcm90b3R5cGUudG9Mb2NhbElTT1N0cmluZyA9IGZ1bmN0aW9uKHRoaXM6IERhdGUpOiBzdHJpbmcge1xyXG4gIGNvbnN0IHRpbWV6b25lT2Zmc2V0ID0gdGhpcy5nZXRUaW1lem9uZU9mZnNldCgpO1xyXG5cclxuICByZXR1cm4gbmV3IERhdGUodGhpcy5nZXRUaW1lKCkgLSB0aW1lem9uZU9mZnNldCAqIDYwMDAwKS50b0lTT1N0cmluZygpO1xyXG59O1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/utils/generator-utils.js b/npm/ng-packs/dist/core/esm5/lib/utils/generator-utils.js deleted file mode 100644 index ca341c6302d..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/utils/generator-utils.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/generator-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?=} a - * @return {?} - */ -export function uuid(a) { - return a - ? // tslint:disable-next-line: no-bitwise - (a ^ ((Math.random() * 16) >> (a / 4))).toString(16) - : ('' + 1e7 + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, uuid); -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJhdG9yLXV0aWxzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5jb3JlLyIsInNvdXJjZXMiOlsibGliL3V0aWxzL2dlbmVyYXRvci11dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFBQSxNQUFNLFVBQVUsSUFBSSxDQUFDLENBQU87SUFDMUIsT0FBTyxDQUFDO1FBQ04sQ0FBQyxDQUFDLHVDQUF1QztZQUN2QyxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxHQUFHLEVBQUUsQ0FBQyxJQUFJLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxRQUFRLENBQUMsRUFBRSxDQUFDO1FBQ3RELENBQUMsQ0FBQyxDQUFDLEVBQUUsR0FBRyxHQUFHLEdBQUcsQ0FBQyxHQUFHLEdBQUcsQ0FBQyxHQUFHLEdBQUcsQ0FBQyxHQUFHLEdBQUcsQ0FBQyxJQUFJLENBQUMsQ0FBQyxPQUFPLENBQUMsUUFBUSxFQUFFLElBQUksQ0FBQyxDQUFDO0FBQ3RFLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZnVuY3Rpb24gdXVpZChhPzogYW55KTogc3RyaW5nIHtcclxuICByZXR1cm4gYVxyXG4gICAgPyAvLyB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmU6IG5vLWJpdHdpc2VcclxuICAgICAgKGEgXiAoKE1hdGgucmFuZG9tKCkgKiAxNikgPj4gKGEgLyA0KSkpLnRvU3RyaW5nKDE2KVxyXG4gICAgOiAoJycgKyAxZTcgKyAtMWUzICsgLTRlMyArIC04ZTMgKyAtMWUxMSkucmVwbGFjZSgvWzAxOF0vZywgdXVpZCk7XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/utils/index.js b/npm/ng-packs/dist/core/esm5/lib/utils/index.js deleted file mode 100644 index e2a743370f9..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/utils/index.js +++ /dev/null @@ -1,11 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { noop } from './common-utils'; -export { uuid } from './generator-utils'; -export { getInitialData, localeInitializer, registerLocale } from './initial-utils'; -export { organizeRoutes, setChildRoute, sortRoutes, addAbpRoutes, getAbpRoutes } from './route-utils'; -export { takeUntilDestroy } from './rxjs-utils'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvdXRpbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxxQkFBYyxnQkFBZ0IsQ0FBQztBQUMvQixxQkFBYyxtQkFBbUIsQ0FBQztBQUNsQyxrRUFBYyxpQkFBaUIsQ0FBQztBQUNoQyxzRkFBYyxlQUFlLENBQUM7QUFDOUIsaUNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb21tb24tdXRpbHMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2dlbmVyYXRvci11dGlscyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vaW5pdGlhbC11dGlscyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vcm91dGUtdXRpbHMnO1xyXG5leHBvcnQgKiBmcm9tICcuL3J4anMtdXRpbHMnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/utils/initial-utils.js b/npm/ng-packs/dist/core/esm5/lib/utils/initial-utils.js deleted file mode 100644 index e52f8d398fd..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/utils/initial-utils.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/initial-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { registerLocaleData } from '@angular/common'; -import { Store } from '@ngxs/store'; -import { GetAppConfiguration } from '../actions/config.actions'; -import differentLocales from '../constants/different-locales'; -/** - * @param {?} injector - * @return {?} - */ -export function getInitialData(injector) { - /** @type {?} */ - var fn = (/** - * @return {?} - */ - function () { - /** @type {?} */ - var store = injector.get(Store); - return store.dispatch(new GetAppConfiguration()).toPromise(); - }); - return fn; -} -/** - * @param {?} injector - * @return {?} - */ -export function localeInitializer(injector) { - /** @type {?} */ - var fn = (/** - * @return {?} - */ - function () { - /** @type {?} */ - var store = injector.get(Store); - /** @type {?} */ - var lang = store.selectSnapshot((/** - * @param {?} state - * @return {?} - */ - function (state) { return state.SessionState.language; })) || 'en'; - return new Promise((/** - * @param {?} resolve - * @param {?} reject - * @return {?} - */ - function (resolve, reject) { - registerLocale(lang).then((/** - * @return {?} - */ - function () { return resolve('resolved'); }), reject); - })); - }); - return fn; -} -/** - * @param {?} locale - * @return {?} - */ -export function registerLocale(locale) { - return import( - /* webpackInclude: /(af|am|ar-SA|as|az-Latn|be|bg|bn-BD|bn-IN|bs|ca|ca-ES-VALENCIA|cs|cy|da|de|de|el|en-GB|en|es|en|es-US|es-MX|et|eu|fa|fi|en|fr|fr|fr-CA|ga|gd|gl|gu|ha|he|hi|hr|hu|hy|id|ig|is|it|it|ja|ka|kk|km|kn|ko|kok|en|en|lb|lt|lv|en|mk|ml|mn|mr|ms|mt|nb|ne|nl|nl-BE|nn|en|or|pa|pa-Arab|pl|en|pt|pt-PT|en|en|ro|ru|rw|pa-Arab|si|sk|sl|sq|sr-Cyrl-BA|sr-Cyrl|sr-Latn|sv|sw|ta|te|tg|th|ti|tk|tn|tr|tt|ug|uk|ur|uz-Latn|vi|wo|xh|yo|zh-Hans|zh-Hant|zu)\.js$/ */ - "@angular/common/locales/" + (differentLocales[locale] || locale) + ".js").then((/** - * @param {?} module - * @return {?} - */ - function (module) { - registerLocaleData(module.default); - })); -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5pdGlhbC11dGlscy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi91dGlscy9pbml0aWFsLXV0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFFckQsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUNwQyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUNoRSxPQUFPLGdCQUFnQixNQUFNLGdDQUFnQyxDQUFDOzs7OztBQUU5RCxNQUFNLFVBQVUsY0FBYyxDQUFDLFFBQWtCOztRQUN6QyxFQUFFOzs7SUFBRzs7WUFDSCxLQUFLLEdBQVUsUUFBUSxDQUFDLEdBQUcsQ0FBQyxLQUFLLENBQUM7UUFFeEMsT0FBTyxLQUFLLENBQUMsUUFBUSxDQUFDLElBQUksbU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ib/utils/route-utils.js b/npm/ng-packs/dist/core/esm5/lib/utils/route-utils.js deleted file mode 100644 index c61d34c4c2d..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/utils/route-utils.js +++ /dev/null @@ -1,122 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/route-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -/** - * @param {?} routes - * @param {?=} wrappers - * @param {?=} parentNameArr - * @param {?=} parentName - * @return {?} - */ -export function organizeRoutes(routes, wrappers, parentNameArr, parentName) { - if (wrappers === void 0) { wrappers = []; } - if (parentNameArr === void 0) { parentNameArr = (/** @type {?} */ ([])); } - if (parentName === void 0) { parentName = null; } - /** @type {?} */ - var filter = (/** - * @param {?} route - * @return {?} - */ - function (route) { - if (route.children && route.children.length) { - route.children = organizeRoutes(route.children, wrappers, parentNameArr, route.name); - } - if (route.parentName && route.parentName !== parentName) { - parentNameArr.push(route); - return false; - } - return true; - }); - if (parentName) { - // recursive block - return routes.filter(filter); - } - /** @type {?} */ - var filteredRoutes = routes.filter(filter); - if (parentNameArr.length) { - return sortRoutes(setChildRoute(tslib_1.__spread(filteredRoutes, wrappers), parentNameArr)); - } - return filteredRoutes; -} -/** - * @param {?} routes - * @param {?} parentNameArr - * @return {?} - */ -export function setChildRoute(routes, parentNameArr) { - return routes.map((/** - * @param {?} route - * @return {?} - */ - function (route) { - if (route.children && route.children.length) { - route.children = setChildRoute(route.children, parentNameArr); - } - /** @type {?} */ - var foundedChildren = parentNameArr.filter((/** - * @param {?} parent - * @return {?} - */ - function (parent) { return parent.parentName === route.name; })); - if (foundedChildren && foundedChildren.length) { - route.children = tslib_1.__spread((route.children || []), foundedChildren); - } - return route; - })); -} -/** - * @param {?=} routes - * @return {?} - */ -export function sortRoutes(routes) { - if (routes === void 0) { routes = []; } - if (!routes.length) - return []; - return routes - .map((/** - * @param {?} route - * @param {?} index - * @return {?} - */ - function (route, index) { - return tslib_1.__assign({}, route, { order: typeof route.order === 'undefined' ? index + 1 : route.order }); - })) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - function (a, b) { return a.order - b.order; })) - .map((/** - * @param {?} route - * @return {?} - */ - function (route) { - if (route.children && route.children.length) { - route.children = sortRoutes(route.children); - } - return route; - })); -} -/** @type {?} */ -var ABP_ROUTES = (/** @type {?} */ ([])); -/** - * @param {?} routes - * @return {?} - */ -export function addAbpRoutes(routes) { - if (!Array.isArray(routes)) { - routes = [routes]; - } - ABP_ROUTES.push.apply(ABP_ROUTES, tslib_1.__spread(routes)); -} -/** - * @return {?} - */ -export function getAbpRoutes() { - return ABP_ROUTES; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGUtdXRpbHMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmNvcmUvIiwic291cmNlcyI6WyJsaWIvdXRpbHMvcm91dGUtdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUVBLE1BQU0sVUFBVSxjQUFjLENBQzVCLE1BQXVCLEVBQ3ZCLFFBQThCLEVBQzlCLGFBQXFDLEVBQ3JDLFVBQXlCO0lBRnpCLHlCQUFBLEVBQUEsYUFBOEI7SUFDOUIsOEJBQUEsRUFBQSxtQ0FBZ0IsRUFBRSxFQUFtQjtJQUNyQywyQkFBQSxFQUFBLGlCQUF5Qjs7UUFFbkIsTUFBTTs7OztJQUFHLFVBQUEsS0FBSztRQUNsQixJQUFJLEtBQUssQ0FBQyxRQUFRLElBQUksS0FBSyxDQUFDLFFBQVEsQ0FBQyxNQUFNLEVBQUU7WUFDM0MsS0FBSyxDQUFDLFFBQVEsR0FBRyxjQUFjLENBQUMsS0FBSyxDQUFDLFFBQVEsRUFBRSxRQUFRLEVBQUUsYUFBYSxFQUFFLEtBQUssQ0FBQyxJQUFJ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ZXM6IEFCUC5GdWxsUm91dGUgfCBBQlAuRnVsbFJvdXRlW10pOiB2b2lkIHtcclxuICBpZiAoIUFycmF5LmlzQXJyYXkocm91dGVzKSkge1xyXG4gICAgcm91dGVzID0gW3JvdXRlc107XHJcbiAgfVxyXG5cclxuICBBQlBfUk9VVEVTLnB1c2goLi4ucm91dGVzKTtcclxufVxyXG5cclxuZXhwb3J0IGZ1bmN0aW9uIGdldEFicFJvdXRlcygpOiBBQlAuRnVsbFJvdXRlW10ge1xyXG4gIHJldHVybiBBQlBfUk9VVEVTO1xyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/lib/utils/rxjs-utils.js b/npm/ng-packs/dist/core/esm5/lib/utils/rxjs-utils.js deleted file mode 100644 index 4609c9cc742..00000000000 --- a/npm/ng-packs/dist/core/esm5/lib/utils/rxjs-utils.js +++ /dev/null @@ -1,49 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/rxjs-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Subject } from 'rxjs'; -import { takeUntil } from 'rxjs/operators'; -/** - * @param {?} value - * @return {?} - */ -function isFunction(value) { - return typeof value === 'function'; -} -/** @type {?} */ -export var takeUntilDestroy = (/** - * @param {?} componentInstance - * @param {?=} destroyMethodName - * @return {?} - */ -function (componentInstance, destroyMethodName) { - if (destroyMethodName === void 0) { destroyMethodName = 'ngOnDestroy'; } - return (/** - * @template T - * @param {?} source - * @return {?} - */ - function (source) { - /** @type {?} */ - var originalDestroy = componentInstance[destroyMethodName]; - if (isFunction(originalDestroy) === false) { - throw new Error(componentInstance.constructor.name + " is using untilDestroyed but doesn't implement " + destroyMethodName); - } - if (!componentInstance['__takeUntilDestroy']) { - componentInstance['__takeUntilDestroy'] = new Subject(); - componentInstance[destroyMethodName] = (/** - * @return {?} - */ - function () { - // tslint:disable-next-line: no-unused-expression - isFunction(originalDestroy) && originalDestroy.apply(this, arguments); - componentInstance['__takeUntilDestroy'].next(true); - componentInstance['__takeUntilDestroy'].complete(); - }); - } - return source.pipe(takeUntil(componentInstance['__takeUntilDestroy'])); - }); -}); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicnhqcy11dGlscy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbImxpYi91dGlscy9yeGpzLXV0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFjLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUMzQyxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7Ozs7O0FBRTNDLFNBQVMsVUFBVSxDQUFDLEtBQUs7SUFDdkIsT0FBTyxPQUFPLEtBQUssS0FBSyxVQUFVLENBQUM7QUFDckMsQ0FBQzs7QUFFRCxNQUFNLEtBQU8sZ0JBQWdCOzs7OztBQUFHLFVBQUMsaUJBQWlCLEVBQUUsaUJBQWlDO0lBQWpDLGtDQUFBLEVBQUEsaUNBQWlDOzs7Ozs7SUFBSyxVQUN4RixNQUFxQjs7WUFFZixlQUFlLEdBQUcsaUJBQWlCLENBQUMsaUJBQWlCLENBQUM7UUFDNUQsSUFBSSxVQUFVLENBQUMsZUFBZSxDQUFDLEtBQUssS0FBSyxFQUFFO1lBQ3pDLE1BQU0sSUFBSSxLQUFLLENBQ1YsaUJBQWlCLENBQUMsV0FBVyxDQUFDLElBQUksdURBQWtELGlCQUFtQixDQUMzRyxDQUFDO1NBQ0g7UUFDRCxJQUFJLENBQUMsaUJBQWlCLENBQUMsb0JBQW9CLENBQUMsRUFBRTtZQUM1QyxpQkFBaUIsQ0FBQyxvQkFBb0IsQ0FBQyxHQUFHLElBQUksT0FBTyxFQUFFLENBQUM7WUFFeEQsaUJBQWlCLENBQUMsaU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gbmV3IEVycm9yKFxyXG4gICAgICBgJHtjb21wb25lbnRJbnN0YW5jZS5jb25zdHJ1Y3Rvci5uYW1lfSBpcyB1c2luZyB1bnRpbERlc3Ryb3llZCBidXQgZG9lc24ndCBpbXBsZW1lbnQgJHtkZXN0cm95TWV0aG9kTmFtZX1gXHJcbiAgICApO1xyXG4gIH1cclxuICBpZiAoIWNvbXBvbmVudEluc3RhbmNlWydfX3Rha2VVbnRpbERlc3Ryb3knXSkge1xyXG4gICAgY29tcG9uZW50SW5zdGFuY2VbJ19fdGFrZVVudGlsRGVzdHJveSddID0gbmV3IFN1YmplY3QoKTtcclxuXHJcbiAgICBjb21wb25lbnRJbnN0YW5jZVtkZXN0cm95TWV0aG9kTmFtZV0gPSBmdW5jdGlvbigpIHtcclxuICAgICAgLy8gdHNsaW50OmRpc2FibGUtbmV4dC1saW5lOiBuby11bnVzZWQtZXhwcmVzc2lvblxyXG4gICAgICBpc0Z1bmN0aW9uKG9yaWdpbmFsRGVzdHJveSkgJiYgb3JpZ2luYWxEZXN0cm95LmFwcGx5KHRoaXMsIGFyZ3VtZW50cyk7XHJcbiAgICAgIGNvbXBvbmVudEluc3RhbmNlWydfX3Rha2VVbnRpbERlc3Ryb3knXS5uZXh0KHRydWUpO1xyXG4gICAgICBjb21wb25lbnRJbnN0YW5jZVsnX190YWtlVW50aWxEZXN0cm95J10uY29tcGxldGUoKTtcclxuICAgIH07XHJcbiAgfVxyXG4gIHJldHVybiBzb3VyY2UucGlwZSh0YWtlVW50aWw8VD4oY29tcG9uZW50SW5zdGFuY2VbJ19fdGFrZVVudGlsRGVzdHJveSddKSk7XHJcbn07XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/esm5/public-api.js b/npm/ng-packs/dist/core/esm5/public-api.js deleted file mode 100644 index 48260acb795..00000000000 --- a/npm/ng-packs/dist/core/esm5/public-api.js +++ /dev/null @@ -1,26 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/* - * Public API Surface of core - */ -// export * from './lib/handlers'; -export { AbstractNgModelComponent } from './lib/abstracts'; -export { PatchRouteByName, GetAppConfiguration, StartLoader, StopLoader, GetProfile, UpdateProfile, ChangePassword, RestOccurError, SetLanguage, SetTenant } from './lib/actions'; -export { DynamicLayoutComponent, RouterOutletComponent } from './lib/components'; -export {} from './lib/constants'; -export { AutofocusDirective, EllipsisDirective, ForDirective, FormSubmitDirective, PermissionDirective, VisibilityDirective } from './lib/directives'; -export {} from './lib/enums'; -export { AuthGuard, PermissionGuard } from './lib/guards'; -export { ApiInterceptor } from './lib/interceptors'; -export { Rest } from './lib/models'; -export { LocalizationPipe, SortPipe } from './lib/pipes'; -export { NGXS_CONFIG_PLUGIN_OPTIONS, ConfigPlugin } from './lib/plugins'; -export { ApplicationConfigurationService, ConfigStateService, LazyLoadService, LocalizationService, ProfileService, RestService, ProfileStateService, SessionStateService } from './lib/services'; -export { ProfileState, ConfigState, SessionState } from './lib/states'; -export { environmentFactory, configFactory, ENVIRONMENT, CONFIG } from './lib/tokens'; -export { noop, uuid, getInitialData, localeInitializer, registerLocale, organizeRoutes, setChildRoute, sortRoutes, addAbpRoutes, getAbpRoutes, takeUntilDestroy } from './lib/utils'; -export { CoreModule } from './lib/core.module'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuY29yZS8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBS0EseUNBQWMsaUJBQWlCLENBQUM7QUFDaEMsa0tBQWMsZUFBZSxDQUFDO0FBQzlCLDhEQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGVBQWMsaUJBQWlCLENBQUM7QUFDaE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nO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi90b2tlbnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi91dGlscyc7XHJcblxyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb3JlLm1vZHVsZSc7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/core/fesm2015/abp-ng.core.js b/npm/ng-packs/dist/core/fesm2015/abp-ng.core.js deleted file mode 100644 index ec9ac630e04..00000000000 --- a/npm/ng-packs/dist/core/fesm2015/abp-ng.core.js +++ /dev/null @@ -1,3991 +0,0 @@ -import { ChangeDetectorRef, Component, Injector, Input, Injectable, ɵɵdefineInjectable, ɵɵinject, NgZone, Optional, SkipSelf, Directive, ElementRef, HostBinding, TemplateRef, ViewContainerRef, IterableDiffers, EventEmitter, Self, Output, Renderer2, Pipe, InjectionToken, Inject, LOCALE_ID, APP_INITIALIZER, NgModule } from '@angular/core'; -import { __rest, __awaiter, __decorate, __metadata } from 'tslib'; -import { Router, NavigationEnd, ActivatedRoute, RouterModule } from '@angular/router'; -import { Store, Action, Selector, State, createSelector, Select, actionMatcher, InitState, UpdateState, setValue, NGXS_PLUGINS, NgxsModule } from '@ngxs/store'; -import { throwError, noop as noop$1, from, of, Subject, Observable, fromEvent, ReplaySubject } from 'rxjs'; -import snq from 'snq'; -import { take, tap, catchError, switchMap, takeUntil, debounceTime, filter, finalize } from 'rxjs/operators'; -import { HttpClient, HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http'; -import { registerLocaleData, CommonModule } from '@angular/common'; -import compare from 'just-compare'; -import clone from 'just-clone'; -import { FormGroupDirective, FormsModule, ReactiveFormsModule } from '@angular/forms'; -import { OAuthService, OAuthModule } from 'angular-oauth2-oidc'; -import { NgxsRouterPluginModule } from '@ngxs/router-plugin'; -import { NgxsStoragePluginModule } from '@ngxs/storage-plugin'; -import { takeUntilDestroy as takeUntilDestroy$1 } from '@ngx-validate/core'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/abstracts/ng-model.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @template T - */ -class AbstractNgModelComponent { - /** - * @param {?} injector - */ - constructor(injector) { - this.injector = injector; - this.cdRef = injector.get((/** @type {?} */ (ChangeDetectorRef))); - } - /** - * @param {?} value - * @return {?} - */ - set value(value) { - this._value = value; - this.notifyValueChange(); - } - /** - * @return {?} - */ - get value() { - return this._value; - } - /** - * @return {?} - */ - notifyValueChange() { - if (this.onChange) { - this.onChange(this.value); - } - } - /** - * @param {?} value - * @return {?} - */ - writeValue(value) { - this._value = value; - setTimeout((/** - * @return {?} - */ - () => this.cdRef.detectChanges()), 0); - } - /** - * @param {?} fn - * @return {?} - */ - registerOnChange(fn) { - this.onChange = fn; - } - /** - * @param {?} fn - * @return {?} - */ - registerOnTouched(fn) { - this.onTouched = fn; - } - /** - * @param {?} isDisabled - * @return {?} - */ - setDisabledState(isDisabled) { - this.disabled = isDisabled; - } -} -AbstractNgModelComponent.decorators = [ - { type: Component, args: [{ selector: 'abp-abstract-ng-model', template: '' }] } -]; -/** @nocollapse */ -AbstractNgModelComponent.ctorParameters = () => [ - { type: Injector } -]; -AbstractNgModelComponent.propDecorators = { - disabled: [{ type: Input }], - value: [{ type: Input }] -}; -if (false) { - /** @type {?} */ - AbstractNgModelComponent.prototype.disabled; - /** @type {?} */ - AbstractNgModelComponent.prototype.onChange; - /** @type {?} */ - AbstractNgModelComponent.prototype.onTouched; - /** - * @type {?} - * @protected - */ - AbstractNgModelComponent.prototype._value; - /** - * @type {?} - * @protected - */ - AbstractNgModelComponent.prototype.cdRef; - /** @type {?} */ - AbstractNgModelComponent.prototype.injector; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/abstracts/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/config.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class PatchRouteByName { - /** - * @param {?} name - * @param {?} newValue - */ - constructor(name, newValue) { - this.name = name; - this.newValue = newValue; - } -} -PatchRouteByName.type = '[Config] Patch Route By Name'; -if (false) { - /** @type {?} */ - PatchRouteByName.type; - /** @type {?} */ - PatchRouteByName.prototype.name; - /** @type {?} */ - PatchRouteByName.prototype.newValue; -} -class GetAppConfiguration { -} -GetAppConfiguration.type = '[Config] Get App Configuration'; -if (false) { - /** @type {?} */ - GetAppConfiguration.type; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/loader.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class StartLoader { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -StartLoader.type = '[Loader] Start'; -if (false) { - /** @type {?} */ - StartLoader.type; - /** @type {?} */ - StartLoader.prototype.payload; -} -class StopLoader { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -StopLoader.type = '[Loader] Stop'; -if (false) { - /** @type {?} */ - StopLoader.type; - /** @type {?} */ - StopLoader.prototype.payload; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/profile.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class GetProfile { -} -GetProfile.type = '[Profile] Get'; -if (false) { - /** @type {?} */ - GetProfile.type; -} -class UpdateProfile { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -UpdateProfile.type = '[Profile] Update'; -if (false) { - /** @type {?} */ - UpdateProfile.type; - /** @type {?} */ - UpdateProfile.prototype.payload; -} -class ChangePassword { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -ChangePassword.type = '[Profile] Change Password'; -if (false) { - /** @type {?} */ - ChangePassword.type; - /** @type {?} */ - ChangePassword.prototype.payload; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/rest.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class RestOccurError { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -RestOccurError.type = '[Rest] Error'; -if (false) { - /** @type {?} */ - RestOccurError.type; - /** @type {?} */ - RestOccurError.prototype.payload; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/session.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class SetLanguage { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -SetLanguage.type = '[Session] Set Language'; -if (false) { - /** @type {?} */ - SetLanguage.type; - /** @type {?} */ - SetLanguage.prototype.payload; -} -class SetTenant { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -SetTenant.type = '[Session] Set Tenant'; -if (false) { - /** @type {?} */ - SetTenant.type; - /** @type {?} */ - SetTenant.prototype.payload; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/rest.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class RestService { - /** - * @param {?} http - * @param {?} store - */ - constructor(http, store) { - this.http = http; - this.store = store; - } - /** - * @param {?} err - * @return {?} - */ - handleError(err) { - this.store.dispatch(new RestOccurError(err)); - console.error(err); - return throwError(err); - } - /** - * @template T, R - * @param {?} request - * @param {?=} config - * @param {?=} api - * @return {?} - */ - request(request, config, api) { - config = config || ((/** @type {?} */ ({}))); - const { observe = "body" /* Body */, skipHandleError } = config; - /** @type {?} */ - const url = (api || this.store.selectSnapshot(ConfigState.getApiUrl())) + request.url; - const { method, params } = request, options = __rest(request, ["method", "params"]); - return this.http - .request(method, url, (/** @type {?} */ (Object.assign({ observe }, (params && { - params: Object.keys(params).reduce((/** - * @param {?} acc - * @param {?} key - * @return {?} - */ - (acc, key) => (Object.assign({}, acc, (typeof params[key] !== 'undefined' && params[key] !== '' && { [key]: params[key] })))), {}), - }), options)))) - .pipe(observe === "body" /* Body */ ? take(1) : tap(), catchError((/** - * @param {?} err - * @return {?} - */ - err => { - if (skipHandleError) { - return throwError(err); - } - return this.handleError(err); - }))); - } -} -RestService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -RestService.ctorParameters = () => [ - { type: HttpClient }, - { type: Store } -]; -/** @nocollapse */ RestService.ngInjectableDef = ɵɵdefineInjectable({ factory: function RestService_Factory() { return new RestService(ɵɵinject(HttpClient), ɵɵinject(Store)); }, token: RestService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - RestService.prototype.http; - /** - * @type {?} - * @private - */ - RestService.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/application-configuration.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class ApplicationConfigurationService { - /** - * @param {?} rest - */ - constructor(rest) { - this.rest = rest; - } - /** - * @return {?} - */ - getConfiguration() { - /** @type {?} */ - const request = { - method: 'GET', - url: '/api/abp/application-configuration', - }; - return this.rest.request(request); - } -} -ApplicationConfigurationService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -ApplicationConfigurationService.ctorParameters = () => [ - { type: RestService } -]; -/** @nocollapse */ ApplicationConfigurationService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ApplicationConfigurationService_Factory() { return new ApplicationConfigurationService(ɵɵinject(RestService)); }, token: ApplicationConfigurationService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - ApplicationConfigurationService.prototype.rest; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/route-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?} routes - * @param {?=} wrappers - * @param {?=} parentNameArr - * @param {?=} parentName - * @return {?} - */ -function organizeRoutes(routes, wrappers = [], parentNameArr = (/** @type {?} */ ([])), parentName = null) { - /** @type {?} */ - const filter = (/** - * @param {?} route - * @return {?} - */ - route => { - if (route.children && route.children.length) { - route.children = organizeRoutes(route.children, wrappers, parentNameArr, route.name); - } - if (route.parentName && route.parentName !== parentName) { - parentNameArr.push(route); - return false; - } - return true; - }); - if (parentName) { - // recursive block - return routes.filter(filter); - } - /** @type {?} */ - const filteredRoutes = routes.filter(filter); - if (parentNameArr.length) { - return sortRoutes(setChildRoute([...filteredRoutes, ...wrappers], parentNameArr)); - } - return filteredRoutes; -} -/** - * @param {?} routes - * @param {?} parentNameArr - * @return {?} - */ -function setChildRoute(routes, parentNameArr) { - return routes.map((/** - * @param {?} route - * @return {?} - */ - route => { - if (route.children && route.children.length) { - route.children = setChildRoute(route.children, parentNameArr); - } - /** @type {?} */ - const foundedChildren = parentNameArr.filter((/** - * @param {?} parent - * @return {?} - */ - parent => parent.parentName === route.name)); - if (foundedChildren && foundedChildren.length) { - route.children = [...(route.children || []), ...foundedChildren]; - } - return route; - })); -} -/** - * @param {?=} routes - * @return {?} - */ -function sortRoutes(routes = []) { - if (!routes.length) - return []; - return routes - .map((/** - * @param {?} route - * @param {?} index - * @return {?} - */ - (route, index) => { - return Object.assign({}, route, { order: typeof route.order === 'undefined' ? index + 1 : route.order }); - })) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - (a, b) => a.order - b.order)) - .map((/** - * @param {?} route - * @return {?} - */ - route => { - if (route.children && route.children.length) { - route.children = sortRoutes(route.children); - } - return route; - })); -} -/** @type {?} */ -const ABP_ROUTES = (/** @type {?} */ ([])); -/** - * @param {?} routes - * @return {?} - */ -function addAbpRoutes(routes) { - if (!Array.isArray(routes)) { - routes = [routes]; - } - ABP_ROUTES.push(...routes); -} -/** - * @return {?} - */ -function getAbpRoutes() { - return ABP_ROUTES; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/different-locales.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -// Different locales from .NET -// Key is .NET locale, value is Angular locale -var localesMapping = { - 'ar-sa': 'ar-SA', - 'ca-ES-valencia': 'ca-ES-VALENCIA', - 'de-de': 'de', - 'es-ES': 'es', - 'en-US': 'en', - 'fil-Latn': 'en', - 'ku-Arab': 'en', - 'ky-Cyrl': 'en', - 'mi-Latn': 'en', - 'prs-Arab': 'en', - 'qut-Latn': 'en', - nso: 'en', - quz: 'en', - 'fr-FR': 'fr', - 'gd-Latn': 'gd', - 'ha-Latn': 'ha', - 'ig-Latn': 'ig', - 'it-it': 'it', - 'mn-Cyrl': 'mn', - 'pt-BR': 'pt', - 'sd-Arab': 'pa-Arab', - 'sr-Cyrl-RS': 'sr-Cyrl', - 'sr-Latn-RS': 'sr-Latn', - 'tg-Cyrl': 'tg', - 'tk-Latn': 'tk', - 'tt-Cyrl': 'tt', - 'ug-Arab': 'ug', - 'yo-Latn': 'yo', -}; - -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/initial-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?} injector - * @return {?} - */ -function getInitialData(injector) { - /** @type {?} */ - const fn = (/** - * @return {?} - */ - () => { - /** @type {?} */ - const store = injector.get(Store); - return store.dispatch(new GetAppConfiguration()).toPromise(); - }); - return fn; -} -/** - * @param {?} injector - * @return {?} - */ -function localeInitializer(injector) { - /** @type {?} */ - const fn = (/** - * @return {?} - */ - () => { - /** @type {?} */ - const store = injector.get(Store); - /** @type {?} */ - const lang = store.selectSnapshot((/** - * @param {?} state - * @return {?} - */ - state => state.SessionState.language)) || 'en'; - return new Promise((/** - * @param {?} resolve - * @param {?} reject - * @return {?} - */ - (resolve, reject) => { - registerLocale(lang).then((/** - * @return {?} - */ - () => resolve('resolved')), reject); - })); - }); - return fn; -} -/** - * @param {?} locale - * @return {?} - */ -function registerLocale(locale) { - return import( - /* webpackInclude: /(af|am|ar-SA|as|az-Latn|be|bg|bn-BD|bn-IN|bs|ca|ca-ES-VALENCIA|cs|cy|da|de|de|el|en-GB|en|es|en|es-US|es-MX|et|eu|fa|fi|en|fr|fr|fr-CA|ga|gd|gl|gu|ha|he|hi|hr|hu|hy|id|ig|is|it|it|ja|ka|kk|km|kn|ko|kok|en|en|lb|lt|lv|en|mk|ml|mn|mr|ms|mt|nb|ne|nl|nl-BE|nn|en|or|pa|pa-Arab|pl|en|pt|pt-PT|en|en|ro|ru|rw|pa-Arab|si|sk|sl|sq|sr-Cyrl-BA|sr-Cyrl|sr-Latn|sv|sw|ta|te|tg|th|ti|tk|tn|tr|tt|ug|uk|ur|uz-Latn|vi|wo|xh|yo|zh-Hans|zh-Hant|zu)\.js$/ */ - `@angular/common/locales/${localesMapping[locale] || locale}.js`).then((/** - * @param {?} module - * @return {?} - */ - module => { - registerLocaleData(module.default); - })); -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/localization.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class LocalizationService { - /** - * @param {?} store - * @param {?} router - * @param {?} ngZone - * @param {?} otherInstance - */ - constructor(store, router, ngZone, otherInstance) { - this.store = store; - this.router = router; - this.ngZone = ngZone; - if (otherInstance) - throw new Error('LocalizationService should have only one instance.'); - } - /** - * @return {?} - */ - get currentLang() { - return this.store.selectSnapshot((/** - * @param {?} state - * @return {?} - */ - state => state.SessionState.language)); - } - /** - * @param {?} reuse - * @return {?} - */ - setRouteReuse(reuse) { - this.router.routeReuseStrategy.shouldReuseRoute = reuse; - } - /** - * @param {?} locale - * @return {?} - */ - registerLocale(locale) { - const { shouldReuseRoute } = this.router.routeReuseStrategy; - this.setRouteReuse((/** - * @return {?} - */ - () => false)); - this.router.navigated = false; - return registerLocale(locale).then((/** - * @return {?} - */ - () => { - this.ngZone.run((/** - * @return {?} - */ - () => __awaiter(this, void 0, void 0, function* () { - yield this.router.navigateByUrl(this.router.url).catch(noop$1); - this.setRouteReuse(shouldReuseRoute); - }))); - })); - } - /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - get(key, ...interpolateParams) { - return this.store.select(ConfigState.getLocalization(key, ...interpolateParams)); - } - /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - instant(key, ...interpolateParams) { - return this.store.selectSnapshot(ConfigState.getLocalization(key, ...interpolateParams)); - } -} -LocalizationService.decorators = [ - { type: Injectable, args: [{ providedIn: 'root' },] } -]; -/** @nocollapse */ -LocalizationService.ctorParameters = () => [ - { type: Store }, - { type: Router }, - { type: NgZone }, - { type: LocalizationService, decorators: [{ type: Optional }, { type: SkipSelf }] } -]; -/** @nocollapse */ LocalizationService.ngInjectableDef = ɵɵdefineInjectable({ factory: function LocalizationService_Factory() { return new LocalizationService(ɵɵinject(Store), ɵɵinject(Router), ɵɵinject(NgZone), ɵɵinject(LocalizationService, 12)); }, token: LocalizationService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - LocalizationService.prototype.store; - /** - * @type {?} - * @private - */ - LocalizationService.prototype.router; - /** - * @type {?} - * @private - */ - LocalizationService.prototype.ngZone; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/session.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -let SessionState = class SessionState { - /** - * @param {?} localizationService - */ - constructor(localizationService) { - this.localizationService = localizationService; - } - /** - * @param {?} __0 - * @return {?} - */ - static getLanguage({ language }) { - return language; - } - /** - * @param {?} __0 - * @return {?} - */ - static getTenant({ tenant }) { - return tenant; - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - setLanguage({ patchState, dispatch }, { payload }) { - patchState({ - language: payload, - }); - return dispatch(new GetAppConfiguration()).pipe(switchMap((/** - * @return {?} - */ - () => from(this.localizationService.registerLocale(payload))))); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - setTenant({ patchState }, { payload }) { - patchState({ - tenant: payload, - }); - } -}; -SessionState.ctorParameters = () => [ - { type: LocalizationService } -]; -__decorate([ - Action(SetLanguage), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, SetLanguage]), - __metadata("design:returntype", void 0) -], SessionState.prototype, "setLanguage", null); -__decorate([ - Action(SetTenant), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, SetTenant]), - __metadata("design:returntype", void 0) -], SessionState.prototype, "setTenant", null); -__decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", String) -], SessionState, "getLanguage", null); -__decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Object) -], SessionState, "getTenant", null); -SessionState = __decorate([ - State({ - name: 'SessionState', - defaults: (/** @type {?} */ ({})), - }), - __metadata("design:paramtypes", [LocalizationService]) -], SessionState); -if (false) { - /** - * @type {?} - * @private - */ - SessionState.prototype.localizationService; -} - -var ConfigState_1; -let ConfigState = ConfigState_1 = class ConfigState { - /** - * @param {?} appConfigurationService - * @param {?} store - */ - constructor(appConfigurationService, store) { - this.appConfigurationService = appConfigurationService; - this.store = store; - } - /** - * @param {?} state - * @return {?} - */ - static getAll(state) { - return state; - } - /** - * @param {?} state - * @return {?} - */ - static getApplicationInfo(state) { - return state.environment.application || ((/** @type {?} */ ({}))); - } - /** - * @param {?} key - * @return {?} - */ - static getOne(key) { - /** @type {?} */ - const selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - (state) => { - return state[key]; - })); - return selector; - } - /** - * @param {?} keys - * @return {?} - */ - static getDeep(keys) { - if (typeof keys === 'string') { - keys = keys.split('.'); - } - if (!Array.isArray(keys)) { - throw new Error('The argument must be a dot string or an string array.'); - } - /** @type {?} */ - const selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - (state) => { - return ((/** @type {?} */ (keys))).reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - (acc, val) => { - if (acc) { - return acc[val]; - } - return undefined; - }), state); - })); - return selector; - } - /** - * @param {?=} path - * @param {?=} name - * @param {?=} url - * @return {?} - */ - static getRoute(path, name, url) { - /** @type {?} */ - const selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - (state) => { - const { flattedRoutes } = state; - return ((/** @type {?} */ (flattedRoutes))).find((/** - * @param {?} route - * @return {?} - */ - route => { - if (path && route.path === path) { - return route; - } - else if (name && route.name === name) { - return route; - } - else if (url && route.url === url) { - return route; - } - })); - })); - return selector; - } - /** - * @param {?=} key - * @return {?} - */ - static getApiUrl(key) { - /** @type {?} */ - const selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - (state) => { - return state.environment.apis[key || 'default'].url; - })); - return selector; - } - /** - * @param {?} key - * @return {?} - */ - static getSetting(key) { - /** @type {?} */ - const selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - (state) => { - return snq((/** - * @return {?} - */ - () => state.setting.values[key])); - })); - return selector; - } - /** - * @param {?=} keyword - * @return {?} - */ - static getSettings(keyword) { - /** @type {?} */ - const selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - (state) => { - if (keyword) { - /** @type {?} */ - const keys = snq((/** - * @return {?} - */ - () => Object.keys(state.setting.values).filter((/** - * @param {?} key - * @return {?} - */ - key => key.indexOf(keyword) > -1))), []); - if (keys.length) { - return keys.reduce((/** - * @param {?} acc - * @param {?} key - * @return {?} - */ - (acc, key) => (Object.assign({}, acc, { [key]: state.setting.values[key] }))), {}); - } - } - return snq((/** - * @return {?} - */ - () => state.setting.values), {}); - })); - return selector; - } - /** - * @param {?} key - * @return {?} - */ - static getGrantedPolicy(key) { - /** @type {?} */ - const selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - (state) => { - if (!key) - return true; - /** @type {?} */ - const getPolicy = (/** - * @param {?} k - * @return {?} - */ - k => snq((/** - * @return {?} - */ - () => state.auth.grantedPolicies[k]), false)); - /** @type {?} */ - const orRegexp = /\|\|/g; - /** @type {?} */ - const andRegexp = /&&/g; - if (orRegexp.test(key)) { - /** @type {?} */ - const keys = key.split('||').filter((/** - * @param {?} k - * @return {?} - */ - k => !!k)); - if (keys.length !== 2) - return false; - return getPolicy(keys[0].trim()) || getPolicy(keys[1].trim()); - } - else if (andRegexp.test(key)) { - /** @type {?} */ - const keys = key.split('&&').filter((/** - * @param {?} k - * @return {?} - */ - k => !!k)); - if (keys.length !== 2) - return false; - return getPolicy(keys[0].trim()) && getPolicy(keys[1].trim()); - } - return getPolicy(key); - })); - return selector; - } - /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - static getLocalization(key, ...interpolateParams) { - /** @type {?} */ - let defaultValue; - if (typeof key !== 'string') { - defaultValue = key.defaultValue; - key = key.key; - } - if (!key) - key = ''; - /** @type {?} */ - const keys = (/** @type {?} */ (key.split('::'))); - /** @type {?} */ - const selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - (state) => { - if (!state.localization) - return defaultValue || key; - const { defaultResourceName } = state.environment.localization; - if (keys[0] === '') { - if (!defaultResourceName) { - throw new Error(`Please check your environment. May you forget set defaultResourceName? - Here is the example: - { production: false, - localization: { - defaultResourceName: 'MyProjectName' - } - }`); - } - keys[0] = snq((/** - * @return {?} - */ - () => defaultResourceName)); - } - /** @type {?} */ - let localization = ((/** @type {?} */ (keys))).reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - (acc, val) => { - if (acc) { - return acc[val]; - } - return undefined; - }), state.localization.values); - interpolateParams = interpolateParams.filter((/** - * @param {?} params - * @return {?} - */ - params => params != null)); - if (localization && interpolateParams && interpolateParams.length) { - interpolateParams.forEach((/** - * @param {?} param - * @return {?} - */ - param => { - localization = localization.replace(/[\'\"]?\{[\d]+\}[\'\"]?/, param); - })); - } - if (typeof localization !== 'string') - localization = ''; - return localization || defaultValue || key; - })); - return selector; - } - /** - * @param {?} __0 - * @return {?} - */ - addData({ patchState, dispatch }) { - return this.appConfigurationService.getConfiguration().pipe(tap((/** - * @param {?} configuration - * @return {?} - */ - configuration => patchState(Object.assign({}, configuration)))), switchMap((/** - * @param {?} configuration - * @return {?} - */ - configuration => { - /** @type {?} */ - let defaultLang = configuration.setting.values['Abp.Localization.DefaultLanguage']; - if (defaultLang.includes(';')) { - defaultLang = defaultLang.split(';')[0]; - } - return this.store.selectSnapshot(SessionState.getLanguage) - ? of(null) - : dispatch(new SetLanguage(defaultLang)); - }))); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - patchRoute({ patchState, getState }, { name, newValue }) { - /** @type {?} */ - let routes = getState().routes; - /** @type {?} */ - const index = routes.findIndex((/** - * @param {?} route - * @return {?} - */ - route => route.name === name)); - routes = patchRouteDeep(routes, name, newValue); - return patchState({ - routes, - }); - } -}; -ConfigState.ctorParameters = () => [ - { type: ApplicationConfigurationService }, - { type: Store } -]; -__decorate([ - Action(GetAppConfiguration), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", void 0) -], ConfigState.prototype, "addData", null); -__decorate([ - Action(PatchRouteByName), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, PatchRouteByName]), - __metadata("design:returntype", void 0) -], ConfigState.prototype, "patchRoute", null); -__decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", void 0) -], ConfigState, "getAll", null); -__decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Object) -], ConfigState, "getApplicationInfo", null); -ConfigState = ConfigState_1 = __decorate([ - State({ - name: 'ConfigState', - defaults: (/** @type {?} */ ({})), - }), - __metadata("design:paramtypes", [ApplicationConfigurationService, - Store]) -], ConfigState); -if (false) { - /** - * @type {?} - * @private - */ - ConfigState.prototype.appConfigurationService; - /** - * @type {?} - * @private - */ - ConfigState.prototype.store; -} -/** - * @param {?} routes - * @param {?} name - * @param {?} newValue - * @param {?=} parentUrl - * @return {?} - */ -function patchRouteDeep(routes, name, newValue, parentUrl = '') { - routes = routes.map((/** - * @param {?} route - * @return {?} - */ - route => { - if (route.name === name) { - newValue.url = `${parentUrl}/${(!newValue.path && newValue.path === '' - ? route.path - : newValue.path) || ''}`; - if (newValue.children && newValue.children.length) { - newValue.children = newValue.children.map((/** - * @param {?} child - * @return {?} - */ - child => (Object.assign({}, child, { url: `${newValue.url}/${child.path}`.replace('//', '/') })))); - } - return Object.assign({}, route, newValue); - } - else if (route.children && route.children.length) { - route.children = patchRouteDeep(route.children, name, newValue, (parentUrl || '/') + route.path); - } - return route; - })); - if (parentUrl) { - // recursive block - return routes; - } - return organizeRoutes(routes); -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/rxjs-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?} value - * @return {?} - */ -function isFunction(value) { - return typeof value === 'function'; -} -/** @type {?} */ -const takeUntilDestroy = (/** - * @param {?} componentInstance - * @param {?=} destroyMethodName - * @return {?} - */ -(componentInstance, destroyMethodName = 'ngOnDestroy') => (/** - * @template T - * @param {?} source - * @return {?} - */ -(source) => { - /** @type {?} */ - const originalDestroy = componentInstance[destroyMethodName]; - if (isFunction(originalDestroy) === false) { - throw new Error(`${componentInstance.constructor.name} is using untilDestroyed but doesn't implement ${destroyMethodName}`); - } - if (!componentInstance['__takeUntilDestroy']) { - componentInstance['__takeUntilDestroy'] = new Subject(); - componentInstance[destroyMethodName] = (/** - * @return {?} - */ - function () { - // tslint:disable-next-line: no-unused-expression - isFunction(originalDestroy) && originalDestroy.apply(this, arguments); - componentInstance['__takeUntilDestroy'].next(true); - componentInstance['__takeUntilDestroy'].complete(); - }); - } - return source.pipe(takeUntil(componentInstance['__takeUntilDestroy'])); -})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/dynamic-layout.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class DynamicLayoutComponent { - /** - * @param {?} router - * @param {?} route - * @param {?} store - */ - constructor(router, route, store) { - this.router = router; - this.route = route; - this.store = store; - const { requirements: { layouts }, routes } = this.store.selectSnapshot(ConfigState.getAll); - if ((this.route.snapshot.data || {}).layout) { - this.layout = layouts - .filter((/** - * @param {?} l - * @return {?} - */ - l => !!l)) - .find((/** - * @param {?} l - * @return {?} - */ - (l) => snq((/** - * @return {?} - */ - () => l.type.toLowerCase().indexOf(this.route.snapshot.data.layout)), -1) > -1)); - } - this.router.events.pipe(takeUntilDestroy(this)).subscribe((/** - * @param {?} event - * @return {?} - */ - event => { - if (event instanceof NavigationEnd) { - const { segments } = this.router.parseUrl(event.url).root.children.primary; - /** @type {?} */ - const layout = (this.route.snapshot.data || {}).layout || findLayout(segments, routes); - this.layout = layouts - .filter((/** - * @param {?} l - * @return {?} - */ - l => !!l)) - .find((/** - * @param {?} l - * @return {?} - */ - (l) => snq((/** - * @return {?} - */ - () => l.type.toLowerCase().indexOf(layout)), -1) > -1)); - } - })); - } - /** - * @return {?} - */ - ngOnDestroy() { } -} -DynamicLayoutComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-dynamic-layout', - template: ` - - - - ` - }] } -]; -/** @nocollapse */ -DynamicLayoutComponent.ctorParameters = () => [ - { type: Router }, - { type: ActivatedRoute }, - { type: Store } -]; -__decorate([ - Select(ConfigState.getOne('requirements')), - __metadata("design:type", Observable) -], DynamicLayoutComponent.prototype, "requirements$", void 0); -if (false) { - /** @type {?} */ - DynamicLayoutComponent.prototype.requirements$; - /** @type {?} */ - DynamicLayoutComponent.prototype.layout; - /** - * @type {?} - * @private - */ - DynamicLayoutComponent.prototype.router; - /** - * @type {?} - * @private - */ - DynamicLayoutComponent.prototype.route; - /** - * @type {?} - * @private - */ - DynamicLayoutComponent.prototype.store; -} -/** - * @param {?} segments - * @param {?} routes - * @return {?} - */ -function findLayout(segments, routes) { - /** @type {?} */ - let layout = "empty" /* empty */; - /** @type {?} */ - const route = routes - .reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - (acc, val) => (val.wrapper ? [...acc, ...val.children] : [...acc, val])), []) - .find((/** - * @param {?} r - * @return {?} - */ - r => r.path === segments[0].path)); - if (route) { - if (route.layout) { - layout = route.layout; - } - if (route.children && route.children.length && segments.length > 1) { - /** @type {?} */ - const child = route.children.find((/** - * @param {?} c - * @return {?} - */ - c => c.path === segments[1].path)); - if (child && child.layout) { - layout = child.layout; - } - } - } - return layout; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/router-outlet.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class RouterOutletComponent { -} -RouterOutletComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-router-outlet', - template: ` - - ` - }] } -]; - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/autofocus.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class AutofocusDirective { - /** - * @param {?} elRef - */ - constructor(elRef) { - this.elRef = elRef; - this.delay = 0; - } - /** - * @return {?} - */ - ngAfterViewInit() { - setTimeout((/** - * @return {?} - */ - () => this.elRef.nativeElement.focus()), this.delay); - } -} -AutofocusDirective.decorators = [ - { type: Directive, args: [{ - // tslint:disable-next-line: directive-selector - selector: '[autofocus]' - },] } -]; -/** @nocollapse */ -AutofocusDirective.ctorParameters = () => [ - { type: ElementRef } -]; -AutofocusDirective.propDecorators = { - delay: [{ type: Input, args: ['autofocus',] }] -}; -if (false) { - /** @type {?} */ - AutofocusDirective.prototype.delay; - /** - * @type {?} - * @private - */ - AutofocusDirective.prototype.elRef; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/ellipsis.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class EllipsisDirective { - /** - * @param {?} cdRef - * @param {?} elRef - */ - constructor(cdRef, elRef) { - this.cdRef = cdRef; - this.elRef = elRef; - this.enabled = true; - } - /** - * @return {?} - */ - get inlineClass() { - return this.enabled && this.width; - } - /** - * @return {?} - */ - get class() { - return this.enabled && !this.width; - } - /** - * @return {?} - */ - get maxWidth() { - return this.enabled && this.width ? this.width || '170px' : undefined; - } - /** - * @return {?} - */ - ngAfterViewInit() { - this.title = this.title || ((/** @type {?} */ (this.elRef.nativeElement))).innerText; - this.cdRef.detectChanges(); - } -} -EllipsisDirective.decorators = [ - { type: Directive, args: [{ - selector: '[abpEllipsis]', - },] } -]; -/** @nocollapse */ -EllipsisDirective.ctorParameters = () => [ - { type: ChangeDetectorRef }, - { type: ElementRef } -]; -EllipsisDirective.propDecorators = { - width: [{ type: Input, args: ['abpEllipsis',] }], - title: [{ type: HostBinding, args: ['title',] }, { type: Input }], - enabled: [{ type: Input, args: ['abpEllipsisEnabled',] }], - inlineClass: [{ type: HostBinding, args: ['class.abp-ellipsis-inline',] }], - class: [{ type: HostBinding, args: ['class.abp-ellipsis',] }], - maxWidth: [{ type: HostBinding, args: ['style.max-width',] }] -}; -if (false) { - /** @type {?} */ - EllipsisDirective.prototype.width; - /** @type {?} */ - EllipsisDirective.prototype.title; - /** @type {?} */ - EllipsisDirective.prototype.enabled; - /** - * @type {?} - * @private - */ - EllipsisDirective.prototype.cdRef; - /** - * @type {?} - * @private - */ - EllipsisDirective.prototype.elRef; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/for.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class AbpForContext { - /** - * @param {?} $implicit - * @param {?} index - * @param {?} count - * @param {?} list - */ - constructor($implicit, index, count, list) { - this.$implicit = $implicit; - this.index = index; - this.count = count; - this.list = list; - } -} -if (false) { - /** @type {?} */ - AbpForContext.prototype.$implicit; - /** @type {?} */ - AbpForContext.prototype.index; - /** @type {?} */ - AbpForContext.prototype.count; - /** @type {?} */ - AbpForContext.prototype.list; -} -class RecordView { - /** - * @param {?} record - * @param {?} view - */ - constructor(record, view) { - this.record = record; - this.view = view; - } -} -if (false) { - /** @type {?} */ - RecordView.prototype.record; - /** @type {?} */ - RecordView.prototype.view; -} -class ForDirective { - /** - * @param {?} tempRef - * @param {?} vcRef - * @param {?} differs - */ - constructor(tempRef, vcRef, differs) { - this.tempRef = tempRef; - this.vcRef = vcRef; - this.differs = differs; - } - /** - * @return {?} - */ - get compareFn() { - return this.compareBy || compare; - } - /** - * @return {?} - */ - get trackByFn() { - return this.trackBy || ((/** - * @param {?} index - * @param {?} item - * @return {?} - */ - (index, item) => ((/** @type {?} */ (item))).id || index)); - } - /** - * @private - * @param {?} changes - * @return {?} - */ - iterateOverAppliedOperations(changes) { - /** @type {?} */ - const rw = []; - changes.forEachOperation((/** - * @param {?} record - * @param {?} previousIndex - * @param {?} currentIndex - * @return {?} - */ - (record, previousIndex, currentIndex) => { - if (record.previousIndex == null) { - /** @type {?} */ - const view = this.vcRef.createEmbeddedView(this.tempRef, new AbpForContext(null, -1, -1, this.items), currentIndex); - rw.push(new RecordView(record, view)); - } - else if (currentIndex == null) { - this.vcRef.remove(previousIndex); - } - else { - /** @type {?} */ - const view = this.vcRef.get(previousIndex); - this.vcRef.move(view, currentIndex); - rw.push(new RecordView(record, (/** @type {?} */ (view)))); - } - })); - for (let i = 0, l = rw.length; i < l; i++) { - rw[i].view.context.$implicit = rw[i].record.item; - } - } - /** - * @private - * @param {?} changes - * @return {?} - */ - iterateOverAttachedViews(changes) { - for (let i = 0, l = this.vcRef.length; i < l; i++) { - /** @type {?} */ - const viewRef = (/** @type {?} */ (this.vcRef.get(i))); - viewRef.context.index = i; - viewRef.context.count = l; - viewRef.context.list = this.items; - } - changes.forEachIdentityChange((/** - * @param {?} record - * @return {?} - */ - (record) => { - /** @type {?} */ - const viewRef = (/** @type {?} */ (this.vcRef.get(record.currentIndex))); - viewRef.context.$implicit = record.item; - })); - } - /** - * @private - * @param {?} items - * @return {?} - */ - projectItems(items) { - if (!items.length && this.emptyRef) { - this.vcRef.clear(); - // tslint:disable-next-line: no-unused-expression - this.vcRef.createEmbeddedView(this.emptyRef).rootNodes; - this.isShowEmptyRef = true; - this.differ = null; - return; - } - if (this.emptyRef && this.isShowEmptyRef) { - this.vcRef.clear(); - this.isShowEmptyRef = false; - } - if (!this.differ && items) { - this.differ = this.differs.find(items).create(this.trackByFn); - } - if (this.differ) { - /** @type {?} */ - const changes = this.differ.diff(items); - if (changes) { - this.iterateOverAppliedOperations(changes); - this.iterateOverAttachedViews(changes); - } - } - } - /** - * @private - * @param {?} items - * @return {?} - */ - sortItems(items) { - if (this.orderBy) { - items.sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - (a, b) => (a[this.orderBy] > b[this.orderBy] ? 1 : a[this.orderBy] < b[this.orderBy] ? -1 : 0))); - } - else { - items.sort(); - } - } - /** - * @return {?} - */ - ngOnChanges() { - /** @type {?} */ - let items = (/** @type {?} */ (clone(this.items))); - if (!Array.isArray(items)) - return; - /** @type {?} */ - const compareFn = this.compareFn; - if (typeof this.filterBy !== 'undefined' && typeof this.filterVal !== 'undefined' && this.filterVal !== '') { - items = items.filter((/** - * @param {?} item - * @return {?} - */ - item => compareFn(item[this.filterBy], this.filterVal))); - } - switch (this.orderDir) { - case 'ASC': - this.sortItems(items); - this.projectItems(items); - break; - case 'DESC': - this.sortItems(items); - items.reverse(); - this.projectItems(items); - break; - default: - this.projectItems(items); - } - } -} -ForDirective.decorators = [ - { type: Directive, args: [{ - selector: '[abpFor]', - },] } -]; -/** @nocollapse */ -ForDirective.ctorParameters = () => [ - { type: TemplateRef }, - { type: ViewContainerRef }, - { type: IterableDiffers } -]; -ForDirective.propDecorators = { - items: [{ type: Input, args: ['abpForOf',] }], - orderBy: [{ type: Input, args: ['abpForOrderBy',] }], - orderDir: [{ type: Input, args: ['abpForOrderDir',] }], - filterBy: [{ type: Input, args: ['abpForFilterBy',] }], - filterVal: [{ type: Input, args: ['abpForFilterVal',] }], - trackBy: [{ type: Input, args: ['abpForTrackBy',] }], - compareBy: [{ type: Input, args: ['abpForCompareBy',] }], - emptyRef: [{ type: Input, args: ['abpForEmptyRef',] }] -}; -if (false) { - /** @type {?} */ - ForDirective.prototype.items; - /** @type {?} */ - ForDirective.prototype.orderBy; - /** @type {?} */ - ForDirective.prototype.orderDir; - /** @type {?} */ - ForDirective.prototype.filterBy; - /** @type {?} */ - ForDirective.prototype.filterVal; - /** @type {?} */ - ForDirective.prototype.trackBy; - /** @type {?} */ - ForDirective.prototype.compareBy; - /** @type {?} */ - ForDirective.prototype.emptyRef; - /** - * @type {?} - * @private - */ - ForDirective.prototype.differ; - /** - * @type {?} - * @private - */ - ForDirective.prototype.isShowEmptyRef; - /** - * @type {?} - * @private - */ - ForDirective.prototype.tempRef; - /** - * @type {?} - * @private - */ - ForDirective.prototype.vcRef; - /** - * @type {?} - * @private - */ - ForDirective.prototype.differs; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/common-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @return {?} - */ -function noop() { - // tslint:disable-next-line: only-arrow-functions - /** @type {?} */ - const fn = (/** - * @return {?} - */ - function () { }); - return fn; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/generator-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?=} a - * @return {?} - */ -function uuid(a) { - return a - ? // tslint:disable-next-line: no-bitwise - (a ^ ((Math.random() * 16) >> (a / 4))).toString(16) - : ('' + 1e7 + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, uuid); -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/form-submit.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class FormSubmitDirective { - /** - * @param {?} formGroupDirective - * @param {?} host - * @param {?} cdRef - */ - constructor(formGroupDirective, host, cdRef) { - this.formGroupDirective = formGroupDirective; - this.host = host; - this.cdRef = cdRef; - this.debounce = 200; - this.ngSubmit = new EventEmitter(); - this.executedNgSubmit = false; - } - /** - * @return {?} - */ - ngOnInit() { - this.formGroupDirective.ngSubmit.pipe(takeUntilDestroy(this)).subscribe((/** - * @return {?} - */ - () => { - this.markAsDirty(); - this.executedNgSubmit = true; - })); - fromEvent((/** @type {?} */ (this.host.nativeElement)), 'keyup') - .pipe(debounceTime(this.debounce), filter((/** - * @param {?} key - * @return {?} - */ - (key) => key && key.key === 'Enter')), takeUntilDestroy(this)) - .subscribe((/** - * @return {?} - */ - () => { - if (!this.executedNgSubmit) { - this.host.nativeElement.dispatchEvent(new Event('submit', { bubbles: true, cancelable: true })); - } - this.executedNgSubmit = false; - })); - } - /** - * @return {?} - */ - ngOnDestroy() { } - /** - * @return {?} - */ - markAsDirty() { - const { form } = this.formGroupDirective; - setDirty((/** @type {?} */ (form.controls))); - form.markAsDirty(); - this.cdRef.detectChanges(); - } -} -FormSubmitDirective.decorators = [ - { type: Directive, args: [{ - // tslint:disable-next-line: directive-selector - selector: 'form[ngSubmit][formGroup]', - },] } -]; -/** @nocollapse */ -FormSubmitDirective.ctorParameters = () => [ - { type: FormGroupDirective, decorators: [{ type: Self }] }, - { type: ElementRef }, - { type: ChangeDetectorRef } -]; -FormSubmitDirective.propDecorators = { - debounce: [{ type: Input }], - notValidateOnSubmit: [{ type: Input }], - ngSubmit: [{ type: Output }] -}; -if (false) { - /** @type {?} */ - FormSubmitDirective.prototype.debounce; - /** @type {?} */ - FormSubmitDirective.prototype.notValidateOnSubmit; - /** @type {?} */ - FormSubmitDirective.prototype.ngSubmit; - /** @type {?} */ - FormSubmitDirective.prototype.executedNgSubmit; - /** - * @type {?} - * @private - */ - FormSubmitDirective.prototype.formGroupDirective; - /** - * @type {?} - * @private - */ - FormSubmitDirective.prototype.host; - /** - * @type {?} - * @private - */ - FormSubmitDirective.prototype.cdRef; -} -/** - * @param {?} controls - * @return {?} - */ -function setDirty(controls) { - if (Array.isArray(controls)) { - controls.forEach((/** - * @param {?} group - * @return {?} - */ - group => { - setDirty((/** @type {?} */ (group.controls))); - })); - return; - } - Object.keys(controls).forEach((/** - * @param {?} key - * @return {?} - */ - key => { - controls[key].markAsDirty(); - controls[key].updateValueAndValidity(); - })); -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/profile.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class ProfileService { - /** - * @param {?} rest - */ - constructor(rest) { - this.rest = rest; - } - /** - * @return {?} - */ - get() { - /** @type {?} */ - const request = { - method: 'GET', - url: '/api/identity/my-profile', - }; - return this.rest.request(request); - } - /** - * @param {?} body - * @return {?} - */ - update(body) { - /** @type {?} */ - const request = { - method: 'PUT', - url: '/api/identity/my-profile', - body, - }; - return this.rest.request(request); - } - /** - * @param {?} body - * @param {?=} skipHandleError - * @return {?} - */ - changePassword(body, skipHandleError = false) { - /** @type {?} */ - const request = { - method: 'POST', - url: '/api/identity/my-profile/change-password', - body, - }; - return this.rest.request(request, { skipHandleError }); - } -} -ProfileService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -ProfileService.ctorParameters = () => [ - { type: RestService } -]; -/** @nocollapse */ ProfileService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ProfileService_Factory() { return new ProfileService(ɵɵinject(RestService)); }, token: ProfileService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - ProfileService.prototype.rest; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/profile.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -let ProfileState = class ProfileState { - /** - * @param {?} profileService - */ - constructor(profileService) { - this.profileService = profileService; - } - /** - * @param {?} __0 - * @return {?} - */ - static getProfile({ profile }) { - return profile; - } - /** - * @param {?} __0 - * @return {?} - */ - getProfile({ patchState }) { - return this.profileService.get().pipe(tap((/** - * @param {?} profile - * @return {?} - */ - profile => patchState({ - profile, - })))); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - updateProfile({ patchState }, { payload }) { - return this.profileService.update(payload).pipe(tap((/** - * @param {?} profile - * @return {?} - */ - profile => patchState({ - profile, - })))); - } - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - changePassword(_, { payload }) { - return this.profileService.changePassword(payload, true); - } -}; -ProfileState.ctorParameters = () => [ - { type: ProfileService } -]; -__decorate([ - Action(GetProfile), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", void 0) -], ProfileState.prototype, "getProfile", null); -__decorate([ - Action(UpdateProfile), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, UpdateProfile]), - __metadata("design:returntype", void 0) -], ProfileState.prototype, "updateProfile", null); -__decorate([ - Action(ChangePassword), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, ChangePassword]), - __metadata("design:returntype", void 0) -], ProfileState.prototype, "changePassword", null); -__decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Object) -], ProfileState, "getProfile", null); -ProfileState = __decorate([ - State({ - name: 'ProfileState', - defaults: (/** @type {?} */ ({})), - }), - __metadata("design:paramtypes", [ProfileService]) -], ProfileState); -if (false) { - /** - * @type {?} - * @private - */ - ProfileState.prototype.profileService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/permission.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class PermissionDirective { - /** - * @param {?} elRef - * @param {?} renderer - * @param {?} store - * @param {?} templateRef - * @param {?} vcRef - */ - constructor(elRef, renderer, store, templateRef, vcRef) { - this.elRef = elRef; - this.renderer = renderer; - this.store = store; - this.templateRef = templateRef; - this.vcRef = vcRef; - } - /** - * @private - * @return {?} - */ - check() { - if (this.subscription) { - this.subscription.unsubscribe(); - } - this.subscription = this.store - .select(ConfigState.getGrantedPolicy(this.condition)) - .pipe(takeUntilDestroy(this)) - .subscribe((/** - * @param {?} isGranted - * @return {?} - */ - isGranted => { - if (this.templateRef && isGranted) { - this.vcRef.clear(); - this.vcRef.createEmbeddedView(this.templateRef); - } - else if (this.templateRef && !isGranted) { - this.vcRef.clear(); - } - else if (!isGranted && !this.templateRef) { - this.renderer.removeChild(((/** @type {?} */ (this.elRef.nativeElement))).parentElement, this.elRef.nativeElement); - } - })); - } - /** - * @return {?} - */ - ngOnInit() { - if (this.templateRef && !this.condition) { - this.vcRef.createEmbeddedView(this.templateRef); - } - } - /** - * @return {?} - */ - ngOnDestroy() { } - /** - * @param {?} __0 - * @return {?} - */ - ngOnChanges({ condition }) { - if ((condition || { currentValue: null }).currentValue) { - this.check(); - } - } -} -PermissionDirective.decorators = [ - { type: Directive, args: [{ - selector: '[abpPermission]', - },] } -]; -/** @nocollapse */ -PermissionDirective.ctorParameters = () => [ - { type: ElementRef }, - { type: Renderer2 }, - { type: Store }, - { type: TemplateRef, decorators: [{ type: Optional }] }, - { type: ViewContainerRef } -]; -PermissionDirective.propDecorators = { - condition: [{ type: Input, args: ['abpPermission',] }] -}; -if (false) { - /** @type {?} */ - PermissionDirective.prototype.condition; - /** @type {?} */ - PermissionDirective.prototype.subscription; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.elRef; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.renderer; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.store; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.templateRef; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.vcRef; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/visibility.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class VisibilityDirective { - /** - * @param {?} elRef - * @param {?} renderer - */ - constructor(elRef, renderer) { - this.elRef = elRef; - this.renderer = renderer; - this.completed$ = new Subject(); - } - /** - * @return {?} - */ - ngAfterViewInit() { - if (!this.focusedElement && this.elRef) { - this.focusedElement = this.elRef.nativeElement; - } - /** @type {?} */ - let observer; - observer = new MutationObserver((/** - * @param {?} mutations - * @return {?} - */ - mutations => { - mutations.forEach((/** - * @param {?} mutation - * @return {?} - */ - mutation => { - if (!mutation.target) - return; - /** @type {?} */ - const htmlNodes = snq((/** - * @return {?} - */ - () => Array.from(mutation.target.childNodes).filter((/** - * @param {?} node - * @return {?} - */ - node => node instanceof HTMLElement))), []); - if (!htmlNodes.length) { - this.removeFromDOM(); - } - })); - })); - observer.observe(this.focusedElement, { - childList: true, - }); - setTimeout((/** - * @return {?} - */ - () => { - /** @type {?} */ - const htmlNodes = snq((/** - * @return {?} - */ - () => Array.from(this.focusedElement.childNodes).filter((/** - * @param {?} node - * @return {?} - */ - node => node instanceof HTMLElement))), []); - if (!htmlNodes.length) - this.removeFromDOM(); - }), 0); - this.completed$.subscribe((/** - * @return {?} - */ - () => observer.disconnect())); - } - /** - * @return {?} - */ - disconnect() { - this.completed$.next(); - this.completed$.complete(); - } - /** - * @return {?} - */ - removeFromDOM() { - if (!this.elRef.nativeElement) - return; - this.renderer.removeChild(this.elRef.nativeElement.parentElement, this.elRef.nativeElement); - this.disconnect(); - } -} -VisibilityDirective.decorators = [ - { type: Directive, args: [{ - selector: '[abpVisibility]', - },] } -]; -/** @nocollapse */ -VisibilityDirective.ctorParameters = () => [ - { type: ElementRef, decorators: [{ type: Optional }] }, - { type: Renderer2 } -]; -VisibilityDirective.propDecorators = { - focusedElement: [{ type: Input, args: ['abpVisibility',] }] -}; -if (false) { - /** @type {?} */ - VisibilityDirective.prototype.focusedElement; - /** @type {?} */ - VisibilityDirective.prototype.completed$; - /** - * @type {?} - * @private - */ - VisibilityDirective.prototype.elRef; - /** - * @type {?} - * @private - */ - VisibilityDirective.prototype.renderer; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/enums/common.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @enum {string} */ -const eLayoutType = { - account: "account", - application: "application", - empty: "empty", - /** - * @deprecated since version 0.9.0 - */ - setting: "setting", -}; - -/** - * @fileoverview added by tsickle - * Generated from: lib/enums/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/guards/auth.guard.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class AuthGuard { - /** - * @param {?} oauthService - * @param {?} router - */ - constructor(oauthService, router) { - this.oauthService = oauthService; - this.router = router; - } - /** - * @param {?} _ - * @param {?} state - * @return {?} - */ - canActivate(_, state) { - /** @type {?} */ - const hasValidAccessToken = this.oauthService.hasValidAccessToken(); - if (hasValidAccessToken) { - return hasValidAccessToken; - } - return this.router.createUrlTree(['/account/login'], { state: { redirectUrl: state.url } }); - } -} -AuthGuard.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -AuthGuard.ctorParameters = () => [ - { type: OAuthService }, - { type: Router } -]; -/** @nocollapse */ AuthGuard.ngInjectableDef = ɵɵdefineInjectable({ factory: function AuthGuard_Factory() { return new AuthGuard(ɵɵinject(OAuthService), ɵɵinject(Router)); }, token: AuthGuard, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - AuthGuard.prototype.oauthService; - /** - * @type {?} - * @private - */ - AuthGuard.prototype.router; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/guards/permission.guard.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class PermissionGuard { - /** - * @param {?} store - */ - constructor(store) { - this.store = store; - } - /** - * @param {?} route - * @param {?} state - * @return {?} - */ - canActivate(route, state) { - /** @type {?} */ - let resource = snq((/** - * @return {?} - */ - () => route.data.routes.requiredPolicy)) || snq((/** - * @return {?} - */ - () => (/** @type {?} */ (route.data.requiredPolicy)))); - if (!resource) { - resource = snq((/** - * @return {?} - */ - () => route.routeConfig.children.find((/** - * @param {?} child - * @return {?} - */ - child => state.url.indexOf(child.path) > -1)).data.requiredPolicy)); - } - return this.store.select(ConfigState.getGrantedPolicy(resource)).pipe(tap((/** - * @param {?} access - * @return {?} - */ - access => { - if (!access) { - this.store.dispatch(new RestOccurError({ status: 403 })); - } - }))); - } -} -PermissionGuard.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -PermissionGuard.ctorParameters = () => [ - { type: Store } -]; -/** @nocollapse */ PermissionGuard.ngInjectableDef = ɵɵdefineInjectable({ factory: function PermissionGuard_Factory() { return new PermissionGuard(ɵɵinject(Store)); }, token: PermissionGuard, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - PermissionGuard.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/guards/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/interceptors/api.interceptor.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class ApiInterceptor { - /** - * @param {?} oAuthService - * @param {?} store - */ - constructor(oAuthService, store) { - this.oAuthService = oAuthService; - this.store = store; - } - /** - * @param {?} request - * @param {?} next - * @return {?} - */ - intercept(request, next) { - this.store.dispatch(new StartLoader(request)); - /** @type {?} */ - const headers = (/** @type {?} */ ({})); - /** @type {?} */ - const token = this.oAuthService.getAccessToken(); - if (!request.headers.has('Authorization') && token) { - headers['Authorization'] = `Bearer ${token}`; - } - /** @type {?} */ - const lang = this.store.selectSnapshot(SessionState.getLanguage); - if (!request.headers.has('Accept-Language') && lang) { - headers['Accept-Language'] = lang; - } - /** @type {?} */ - const tenant = this.store.selectSnapshot(SessionState.getTenant); - if (!request.headers.has('__tenant') && tenant) { - headers['__tenant'] = tenant.id; - } - return next - .handle(request.clone({ - setHeaders: headers, - })) - .pipe(finalize((/** - * @return {?} - */ - () => this.store.dispatch(new StopLoader(request))))); - } -} -ApiInterceptor.decorators = [ - { type: Injectable } -]; -/** @nocollapse */ -ApiInterceptor.ctorParameters = () => [ - { type: OAuthService }, - { type: Store } -]; -if (false) { - /** - * @type {?} - * @private - */ - ApiInterceptor.prototype.oAuthService; - /** - * @type {?} - * @private - */ - ApiInterceptor.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/interceptors/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/application-configuration.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ApplicationConfiguration; -(function (ApplicationConfiguration) { - /** - * @record - */ - function Response() { } - ApplicationConfiguration.Response = Response; - if (false) { - /** @type {?} */ - Response.prototype.localization; - /** @type {?} */ - Response.prototype.auth; - /** @type {?} */ - Response.prototype.setting; - /** @type {?} */ - Response.prototype.currentUser; - /** @type {?} */ - Response.prototype.features; - } - /** - * @record - */ - function Localization() { } - ApplicationConfiguration.Localization = Localization; - if (false) { - /** @type {?} */ - Localization.prototype.values; - /** @type {?} */ - Localization.prototype.languages; - } - /** - * @record - */ - function LocalizationValue() { } - ApplicationConfiguration.LocalizationValue = LocalizationValue; - /** - * @record - */ - function Language() { } - ApplicationConfiguration.Language = Language; - if (false) { - /** @type {?} */ - Language.prototype.cultureName; - /** @type {?} */ - Language.prototype.uiCultureName; - /** @type {?} */ - Language.prototype.displayName; - /** @type {?} */ - Language.prototype.flagIcon; - } - /** - * @record - */ - function Auth() { } - ApplicationConfiguration.Auth = Auth; - if (false) { - /** @type {?} */ - Auth.prototype.policies; - /** @type {?} */ - Auth.prototype.grantedPolicies; - } - /** - * @record - */ - function Policy() { } - ApplicationConfiguration.Policy = Policy; - /** - * @record - */ - function Value() { } - ApplicationConfiguration.Value = Value; - if (false) { - /** @type {?} */ - Value.prototype.values; - } - /** - * @record - */ - function CurrentUser() { } - ApplicationConfiguration.CurrentUser = CurrentUser; - if (false) { - /** @type {?} */ - CurrentUser.prototype.isAuthenticated; - /** @type {?} */ - CurrentUser.prototype.id; - /** @type {?} */ - CurrentUser.prototype.tenantId; - /** @type {?} */ - CurrentUser.prototype.userName; - } -})(ApplicationConfiguration || (ApplicationConfiguration = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/common.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ABP; -(function (ABP) { - /** - * @record - */ - function Root() { } - ABP.Root = Root; - if (false) { - /** @type {?} */ - Root.prototype.environment; - /** @type {?} */ - Root.prototype.requirements; - } - /** - * @record - * @template T - */ - function PagedItemsResponse() { } - ABP.PagedItemsResponse = PagedItemsResponse; - if (false) { - /** @type {?} */ - PagedItemsResponse.prototype.items; - } - /** - * @record - */ - function PageQueryParams() { } - ABP.PageQueryParams = PageQueryParams; - if (false) { - /** @type {?|undefined} */ - PageQueryParams.prototype.filter; - /** @type {?|undefined} */ - PageQueryParams.prototype.sorting; - /** @type {?|undefined} */ - PageQueryParams.prototype.skipCount; - /** @type {?|undefined} */ - PageQueryParams.prototype.maxResultCount; - } - /** - * @record - */ - function Route() { } - ABP.Route = Route; - if (false) { - /** @type {?|undefined} */ - Route.prototype.children; - /** @type {?|undefined} */ - Route.prototype.invisible; - /** @type {?|undefined} */ - Route.prototype.layout; - /** @type {?} */ - Route.prototype.name; - /** @type {?|undefined} */ - Route.prototype.order; - /** @type {?|undefined} */ - Route.prototype.parentName; - /** @type {?} */ - Route.prototype.path; - /** @type {?|undefined} */ - Route.prototype.requiredPolicy; - /** @type {?|undefined} */ - Route.prototype.iconClass; - } - /** - * @record - */ - function FullRoute() { } - ABP.FullRoute = FullRoute; - if (false) { - /** @type {?|undefined} */ - FullRoute.prototype.url; - /** @type {?|undefined} */ - FullRoute.prototype.wrapper; - } - /** - * @record - */ - function BasicItem() { } - ABP.BasicItem = BasicItem; - if (false) { - /** @type {?} */ - BasicItem.prototype.id; - /** @type {?} */ - BasicItem.prototype.name; - } - /** - * @record - * @template T - */ - function Dictionary() { } - ABP.Dictionary = Dictionary; -})(ABP || (ABP = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var Config; -(function (Config) { - /** - * @record - */ - function Environment() { } - Config.Environment = Environment; - if (false) { - /** @type {?} */ - Environment.prototype.application; - /** @type {?} */ - Environment.prototype.production; - /** @type {?} */ - Environment.prototype.oAuthConfig; - /** @type {?} */ - Environment.prototype.apis; - /** @type {?} */ - Environment.prototype.localization; - } - /** - * @record - */ - function Application() { } - Config.Application = Application; - if (false) { - /** @type {?} */ - Application.prototype.name; - /** @type {?|undefined} */ - Application.prototype.logoUrl; - } - /** - * @record - */ - function Apis() { } - Config.Apis = Apis; - /** - * @record - */ - function Requirements() { } - Config.Requirements = Requirements; - if (false) { - /** @type {?} */ - Requirements.prototype.layouts; - } - /** - * @record - */ - function LocalizationWithDefault() { } - Config.LocalizationWithDefault = LocalizationWithDefault; - if (false) { - /** @type {?} */ - LocalizationWithDefault.prototype.key; - /** @type {?} */ - LocalizationWithDefault.prototype.defaultValue; - } -})(Config || (Config = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/rest.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var Rest; -(function (Rest) { - /** - * @record - */ - function Config() { } - Rest.Config = Config; - if (false) { - /** @type {?|undefined} */ - Config.prototype.skipHandleError; - /** @type {?|undefined} */ - Config.prototype.observe; - } - /** - * @record - * @template T - */ - function Request() { } - Rest.Request = Request; - if (false) { - /** @type {?|undefined} */ - Request.prototype.body; - /** @type {?|undefined} */ - Request.prototype.headers; - /** @type {?} */ - Request.prototype.method; - /** @type {?|undefined} */ - Request.prototype.params; - /** @type {?|undefined} */ - Request.prototype.reportProgress; - /** @type {?|undefined} */ - Request.prototype.responseType; - /** @type {?} */ - Request.prototype.url; - /** @type {?|undefined} */ - Request.prototype.withCredentials; - } -})(Rest || (Rest = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/session.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var Session; -(function (Session) { - /** - * @record - */ - function State() { } - Session.State = State; - if (false) { - /** @type {?} */ - State.prototype.language; - /** @type {?} */ - State.prototype.tenant; - } -})(Session || (Session = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/profile.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var Profile; -(function (Profile) { - /** - * @record - */ - function State() { } - Profile.State = State; - if (false) { - /** @type {?} */ - State.prototype.profile; - } - /** - * @record - */ - function Response() { } - Profile.Response = Response; - if (false) { - /** @type {?} */ - Response.prototype.userName; - /** @type {?} */ - Response.prototype.email; - /** @type {?} */ - Response.prototype.name; - /** @type {?} */ - Response.prototype.surname; - /** @type {?} */ - Response.prototype.phoneNumber; - } - /** - * @record - */ - function ChangePasswordRequest() { } - Profile.ChangePasswordRequest = ChangePasswordRequest; - if (false) { - /** @type {?} */ - ChangePasswordRequest.prototype.currentPassword; - /** @type {?} */ - ChangePasswordRequest.prototype.newPassword; - } -})(Profile || (Profile = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/pipes/localization.pipe.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class LocalizationPipe { - /** - * @param {?} store - */ - constructor(store) { - this.store = store; - } - /** - * @param {?=} value - * @param {...?} interpolateParams - * @return {?} - */ - transform(value = '', ...interpolateParams) { - return this.store.selectSnapshot(ConfigState.getLocalization(value, ...interpolateParams.reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - (acc, val) => (Array.isArray(val) ? [...acc, ...val] : [...acc, val])), []))); - } -} -LocalizationPipe.decorators = [ - { type: Injectable }, - { type: Pipe, args: [{ - name: 'abpLocalization', - },] } -]; -/** @nocollapse */ -LocalizationPipe.ctorParameters = () => [ - { type: Store } -]; -if (false) { - /** - * @type {?} - * @private - */ - LocalizationPipe.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/pipes/sort.pipe.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class SortPipe { - /** - * @param {?} value - * @param {?=} sortOrder - * @param {?=} sortKey - * @return {?} - */ - transform(value, sortOrder = 'asc', sortKey) { - sortOrder = sortOrder && ((/** @type {?} */ (sortOrder.toLowerCase()))); - if (!value || (sortOrder !== 'asc' && sortOrder !== 'desc')) - return value; - /** @type {?} */ - let numberArray = []; - /** @type {?} */ - let stringArray = []; - if (!sortKey) { - numberArray = value.filter((/** - * @param {?} item - * @return {?} - */ - item => typeof item === 'number')).sort(); - stringArray = value.filter((/** - * @param {?} item - * @return {?} - */ - item => typeof item === 'string')).sort(); - } - else { - numberArray = value - .filter((/** - * @param {?} item - * @return {?} - */ - item => typeof item[sortKey] === 'number')) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - (a, b) => a[sortKey] - b[sortKey])); - stringArray = value - .filter((/** - * @param {?} item - * @return {?} - */ - item => typeof item[sortKey] === 'string')) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - (a, b) => { - if (a[sortKey] < b[sortKey]) - return -1; - else if (a[sortKey] > b[sortKey]) - return 1; - else - return 0; - })); - } - /** @type {?} */ - const sorted = [ - ...numberArray, - ...stringArray, - ...value.filter((/** - * @param {?} item - * @return {?} - */ - item => typeof (sortKey ? item[sortKey] : item) !== 'number' && - typeof (sortKey ? item[sortKey] : item) !== 'string')), - ]; - return sortOrder === 'asc' ? sorted : sorted.reverse(); - } -} -SortPipe.decorators = [ - { type: Injectable }, - { type: Pipe, args: [{ - name: 'abpSort', - },] } -]; - -/** - * @fileoverview added by tsickle - * Generated from: lib/pipes/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/plugins/config.plugin.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @type {?} */ -const NGXS_CONFIG_PLUGIN_OPTIONS = new InjectionToken('NGXS_CONFIG_PLUGIN_OPTIONS'); -class ConfigPlugin { - /** - * @param {?} options - * @param {?} router - */ - constructor(options, router) { - this.options = options; - this.router = router; - this.initialized = false; - } - /** - * @param {?} state - * @param {?} event - * @param {?} next - * @return {?} - */ - handle(state, event, next) { - /** @type {?} */ - const matches = actionMatcher(event); - /** @type {?} */ - const isInitAction = matches(InitState) || matches(UpdateState); - if (isInitAction && !this.initialized) { - /** @type {?} */ - const transformedRoutes = transformRoutes(this.router.config); - let { routes } = transformedRoutes; - const { wrappers } = transformedRoutes; - routes = organizeRoutes(routes, wrappers); - /** @type {?} */ - const flattedRoutes = flatRoutes(clone(routes)); - state = setValue(state, 'ConfigState', Object.assign({}, (state.ConfigState && Object.assign({}, state.ConfigState)), this.options, { routes, - flattedRoutes })); - this.initialized = true; - } - return next(state, event); - } -} -ConfigPlugin.decorators = [ - { type: Injectable } -]; -/** @nocollapse */ -ConfigPlugin.ctorParameters = () => [ - { type: undefined, decorators: [{ type: Inject, args: [NGXS_CONFIG_PLUGIN_OPTIONS,] }] }, - { type: Router } -]; -if (false) { - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.initialized; - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.options; - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.router; -} -/** - * @param {?=} routes - * @param {?=} wrappers - * @return {?} - */ -function transformRoutes(routes = [], wrappers = []) { - // TODO: remove in v1 - /** @type {?} */ - const oldAbpRoutes = routes - .filter((/** - * @param {?} route - * @return {?} - */ - route => { - return snq((/** - * @return {?} - */ - () => route.data.routes.routes.find((/** - * @param {?} r - * @return {?} - */ - r => r.path === route.path))), false); - })) - .reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - (acc, val) => [...acc, ...val.data.routes.routes]), []); - // tslint:disable-next-line: deprecation - /** @type {?} */ - const abpRoutes = [...getAbpRoutes(), ...oldAbpRoutes]; - wrappers = abpRoutes.filter((/** - * @param {?} ar - * @return {?} - */ - ar => ar.wrapper)); - /** @type {?} */ - const transformed = (/** @type {?} */ ([])); - routes - .filter((/** - * @param {?} route - * @return {?} - */ - route => route.component || route.loadChildren)) - .forEach((/** - * @param {?} route - * @return {?} - */ - route => { - /** @type {?} */ - const abpPackage = abpRoutes.find((/** - * @param {?} abp - * @return {?} - */ - abp => abp.path.toLowerCase() === route.path.toLowerCase() && !abp.wrapper)); - const { length } = transformed; - if (abpPackage) { - transformed.push(abpPackage); - } - if (transformed.length === length && (route.data || {}).routes) { - transformed.push((/** @type {?} */ (Object.assign({}, route.data.routes, { path: route.path, name: snq((/** - * @return {?} - */ - () => route.data.routes.name), route.path), children: route.data.routes.children || [] })))); - } - })); - return { routes: setUrls(transformed), wrappers }; -} -/** - * @param {?} routes - * @param {?=} parentUrl - * @return {?} - */ -function setUrls(routes, parentUrl) { - if (parentUrl) { - // this if block using for only recursive call - return routes.map((/** - * @param {?} route - * @return {?} - */ - route => (Object.assign({}, route, { url: `${parentUrl}/${route.path}` }, (route.children && - route.children.length && { - children: setUrls(route.children, `${parentUrl}/${route.path}`), - }))))); - } - return routes.map((/** - * @param {?} route - * @return {?} - */ - route => (Object.assign({}, route, { url: `/${route.path}` }, (route.children && - route.children.length && { - children: setUrls(route.children, `/${route.path}`), - }))))); -} -/** - * @param {?} routes - * @return {?} - */ -function flatRoutes(routes) { - /** @type {?} */ - const flat = (/** - * @param {?} r - * @return {?} - */ - (r) => { - return r.reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - (acc, val) => { - /** @type {?} */ - let value = [val]; - if (val.children) { - value = [val, ...flat(val.children)]; - } - return [...acc, ...value]; - }), []); - }); - return flat(routes); -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/plugins/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/config-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class ConfigStateService { - /** - * @param {?} store - */ - constructor(store) { - this.store = store; - } - /** - * @return {?} - */ - getAll() { - return this.store.selectSnapshot(ConfigState.getAll); - } - /** - * @return {?} - */ - getApplicationInfo() { - return this.store.selectSnapshot(ConfigState.getApplicationInfo); - } - /** - * @param {...?} args - * @return {?} - */ - getOne(...args) { - return this.store.selectSnapshot(ConfigState.getOne(...args)); - } - /** - * @param {...?} args - * @return {?} - */ - getDeep(...args) { - return this.store.selectSnapshot(ConfigState.getDeep(...args)); - } - /** - * @param {...?} args - * @return {?} - */ - getRoute(...args) { - return this.store.selectSnapshot(ConfigState.getRoute(...args)); - } - /** - * @param {...?} args - * @return {?} - */ - getApiUrl(...args) { - return this.store.selectSnapshot(ConfigState.getApiUrl(...args)); - } - /** - * @param {...?} args - * @return {?} - */ - getSetting(...args) { - return this.store.selectSnapshot(ConfigState.getSetting(...args)); - } - /** - * @param {...?} args - * @return {?} - */ - getSettings(...args) { - return this.store.selectSnapshot(ConfigState.getSettings(...args)); - } - /** - * @param {...?} args - * @return {?} - */ - getGrantedPolicy(...args) { - return this.store.selectSnapshot(ConfigState.getGrantedPolicy(...args)); - } - /** - * @param {...?} args - * @return {?} - */ - getLocalization(...args) { - return this.store.selectSnapshot(ConfigState.getLocalization(...args)); - } -} -ConfigStateService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -ConfigStateService.ctorParameters = () => [ - { type: Store } -]; -/** @nocollapse */ ConfigStateService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ConfigStateService_Factory() { return new ConfigStateService(ɵɵinject(Store)); }, token: ConfigStateService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - ConfigStateService.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/lazy-load.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class LazyLoadService { - constructor() { - this.loadedLibraries = {}; - } - /** - * @param {?} urlOrUrls - * @param {?} type - * @param {?=} content - * @param {?=} targetQuery - * @param {?=} position - * @return {?} - */ - load(urlOrUrls, type, content = '', targetQuery = 'body', position = 'beforeend') { - if (!urlOrUrls && !content) { - return throwError('Should pass url or content'); - } - else if (!urlOrUrls && content) { - urlOrUrls = [null]; - } - if (!Array.isArray(urlOrUrls)) { - urlOrUrls = [urlOrUrls]; - } - return new Observable((/** - * @param {?} subscriber - * @return {?} - */ - subscriber => { - ((/** @type {?} */ (urlOrUrls))).forEach((/** - * @param {?} url - * @param {?} index - * @return {?} - */ - (url, index) => { - /** @type {?} */ - const key = url ? url.slice(url.lastIndexOf('/') + 1) : uuid(); - if (this.loadedLibraries[key]) { - subscriber.next(); - subscriber.complete(); - return; - } - this.loadedLibraries[key] = new ReplaySubject(); - /** @type {?} */ - let library; - if (type === 'script') { - library = document.createElement('script'); - library.type = 'text/javascript'; - if (url) { - ((/** @type {?} */ (library))).src = url; - } - ((/** @type {?} */ (library))).text = content; - } - else if (url) { - library = document.createElement('link'); - library.type = 'text/css'; - ((/** @type {?} */ (library))).rel = 'stylesheet'; - if (url) { - ((/** @type {?} */ (library))).href = url; - } - } - else { - library = document.createElement('style'); - ((/** @type {?} */ (library))).textContent = content; - } - library.onload = (/** - * @return {?} - */ - () => { - this.loadedLibraries[key].next(); - this.loadedLibraries[key].complete(); - if (index === urlOrUrls.length - 1) { - subscriber.next(); - subscriber.complete(); - } - }); - document.querySelector(targetQuery).insertAdjacentElement(position, library); - })); - })); - } -} -LazyLoadService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ LazyLoadService.ngInjectableDef = ɵɵdefineInjectable({ factory: function LazyLoadService_Factory() { return new LazyLoadService(); }, token: LazyLoadService, providedIn: "root" }); -if (false) { - /** @type {?} */ - LazyLoadService.prototype.loadedLibraries; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/profile-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class ProfileStateService { - /** - * @param {?} store - */ - constructor(store) { - this.store = store; - } - /** - * @return {?} - */ - getProfile() { - return this.store.selectSnapshot(ProfileState.getProfile); - } -} -ProfileStateService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -ProfileStateService.ctorParameters = () => [ - { type: Store } -]; -/** @nocollapse */ ProfileStateService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ProfileStateService_Factory() { return new ProfileStateService(ɵɵinject(Store)); }, token: ProfileStateService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - ProfileStateService.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/session-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class SessionStateService { - /** - * @param {?} store - */ - constructor(store) { - this.store = store; - } - /** - * @return {?} - */ - getLanguage() { - return this.store.selectSnapshot(SessionState.getLanguage); - } - /** - * @return {?} - */ - getTenant() { - return this.store.selectSnapshot(SessionState.getTenant); - } -} -SessionStateService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -SessionStateService.ctorParameters = () => [ - { type: Store } -]; -/** @nocollapse */ SessionStateService.ngInjectableDef = ɵɵdefineInjectable({ factory: function SessionStateService_Factory() { return new SessionStateService(ɵɵinject(Store)); }, token: SessionStateService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - SessionStateService.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/tokens/common.token.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?} environment - * @return {?} - */ -function environmentFactory(environment) { - return Object.assign({}, environment); -} -/** - * @param {?} config - * @return {?} - */ -function configFactory(config) { - return Object.assign({}, config); -} -/** @type {?} */ -const ENVIRONMENT = new InjectionToken('ENVIRONMENT'); -/** @type {?} */ -const CONFIG = new InjectionToken('CONFIG'); - -/** - * @fileoverview added by tsickle - * Generated from: lib/tokens/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/debounce.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class InputEventDebounceDirective { - /** - * @param {?} el - */ - constructor(el) { - this.el = el; - this.debounce = 300; - this.debounceEvent = new EventEmitter(); - } - /** - * @return {?} - */ - ngOnInit() { - fromEvent(this.el.nativeElement, 'input') - .pipe(debounceTime(this.debounce), takeUntilDestroy$1(this)) - .subscribe((/** - * @param {?} event - * @return {?} - */ - (event) => { - this.debounceEvent.emit(event); - })); - } - /** - * @return {?} - */ - ngOnDestroy() { } -} -InputEventDebounceDirective.decorators = [ - { type: Directive, args: [{ - // tslint:disable-next-line: directive-selector - selector: '[input.debounce]', - },] } -]; -/** @nocollapse */ -InputEventDebounceDirective.ctorParameters = () => [ - { type: ElementRef } -]; -InputEventDebounceDirective.propDecorators = { - debounce: [{ type: Input }], - debounceEvent: [{ type: Output, args: ['input.debounce',] }] -}; -if (false) { - /** @type {?} */ - InputEventDebounceDirective.prototype.debounce; - /** @type {?} */ - InputEventDebounceDirective.prototype.debounceEvent; - /** - * @type {?} - * @private - */ - InputEventDebounceDirective.prototype.el; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/stop-propagation.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class ClickEventStopPropagationDirective { - /** - * @param {?} el - */ - constructor(el) { - this.el = el; - this.stopPropEvent = new EventEmitter(); - } - /** - * @return {?} - */ - ngOnInit() { - fromEvent(this.el.nativeElement, 'click') - .pipe(takeUntilDestroy(this)) - .subscribe((/** - * @param {?} event - * @return {?} - */ - (event) => { - event.stopPropagation(); - this.stopPropEvent.emit(event); - })); - } - /** - * @return {?} - */ - ngOnDestroy() { } -} -ClickEventStopPropagationDirective.decorators = [ - { type: Directive, args: [{ - // tslint:disable-next-line: directive-selector - selector: '[click.stop]', - },] } -]; -/** @nocollapse */ -ClickEventStopPropagationDirective.ctorParameters = () => [ - { type: ElementRef } -]; -ClickEventStopPropagationDirective.propDecorators = { - stopPropEvent: [{ type: Output, args: ['click.stop',] }] -}; -if (false) { - /** @type {?} */ - ClickEventStopPropagationDirective.prototype.stopPropEvent; - /** - * @type {?} - * @private - */ - ClickEventStopPropagationDirective.prototype.el; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/providers/locale.provider.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class LocaleId extends String { - /** - * @param {?} localizationService - */ - constructor(localizationService) { - super(); - this.localizationService = localizationService; - } - /** - * @return {?} - */ - toString() { - const { currentLang } = this.localizationService; - return localesMapping[currentLang] || currentLang; - } - /** - * @return {?} - */ - valueOf() { - return this.toString(); - } -} -if (false) { - /** - * @type {?} - * @private - */ - LocaleId.prototype.localizationService; -} -/** @type {?} */ -const LocaleProvider = { - provide: LOCALE_ID, - useClass: LocaleId, - deps: [LocalizationService], -}; - -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/date-extensions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -Date.prototype.toLocalISOString = (/** - * @this {?} - * @return {?} - */ -function () { - /** @type {?} */ - const timezoneOffset = this.getTimezoneOffset(); - return new Date(this.getTime() - timezoneOffset * 60000).toISOString(); -}); - -/** - * @fileoverview added by tsickle - * Generated from: lib/core.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class CoreModule { - /** - * @param {?=} options - * @return {?} - */ - static forRoot(options = (/** @type {?} */ ({}))) { - return { - ngModule: CoreModule, - providers: [ - LocaleProvider, - { - provide: NGXS_PLUGINS, - useClass: ConfigPlugin, - multi: true, - }, - { - provide: NGXS_CONFIG_PLUGIN_OPTIONS, - useValue: options, - }, - { - provide: HTTP_INTERCEPTORS, - useClass: ApiInterceptor, - multi: true, - }, - { - provide: APP_INITIALIZER, - multi: true, - deps: [Injector], - useFactory: getInitialData, - }, - { - provide: APP_INITIALIZER, - multi: true, - deps: [Injector], - useFactory: localeInitializer, - }, - ], - }; - } -} -CoreModule.decorators = [ - { type: NgModule, args: [{ - imports: [ - NgxsModule.forFeature([ProfileState, SessionState, ConfigState]), - NgxsRouterPluginModule.forRoot(), - NgxsStoragePluginModule.forRoot({ key: ['SessionState'] }), - OAuthModule.forRoot(), - CommonModule, - HttpClientModule, - FormsModule, - ReactiveFormsModule, - RouterModule, - ], - declarations: [ - RouterOutletComponent, - DynamicLayoutComponent, - AutofocusDirective, - EllipsisDirective, - ForDirective, - FormSubmitDirective, - LocalizationPipe, - SortPipe, - PermissionDirective, - VisibilityDirective, - InputEventDebounceDirective, - ClickEventStopPropagationDirective, - AbstractNgModelComponent, - ], - exports: [ - CommonModule, - HttpClientModule, - FormsModule, - ReactiveFormsModule, - RouterModule, - RouterOutletComponent, - DynamicLayoutComponent, - AutofocusDirective, - EllipsisDirective, - ForDirective, - FormSubmitDirective, - LocalizationPipe, - SortPipe, - PermissionDirective, - VisibilityDirective, - InputEventDebounceDirective, - LocalizationPipe, - ClickEventStopPropagationDirective, - AbstractNgModelComponent, - ], - providers: [LocalizationPipe], - entryComponents: [RouterOutletComponent, DynamicLayoutComponent], - },] } -]; - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.core.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { AbstractNgModelComponent, ApiInterceptor, ApplicationConfigurationService, AuthGuard, AutofocusDirective, CONFIG, ChangePassword, ConfigPlugin, ConfigState, ConfigStateService, CoreModule, DynamicLayoutComponent, ENVIRONMENT, EllipsisDirective, ForDirective, FormSubmitDirective, GetAppConfiguration, GetProfile, LazyLoadService, LocalizationPipe, LocalizationService, NGXS_CONFIG_PLUGIN_OPTIONS, PatchRouteByName, PermissionDirective, PermissionGuard, ProfileService, ProfileState, ProfileStateService, Rest, RestOccurError, RestService, RouterOutletComponent, SessionState, SessionStateService, SetLanguage, SetTenant, SortPipe, StartLoader, StopLoader, UpdateProfile, VisibilityDirective, addAbpRoutes, configFactory, environmentFactory, getAbpRoutes, getInitialData, localeInitializer, noop, organizeRoutes, registerLocale, setChildRoute, sortRoutes, takeUntilDestroy, uuid, ProfileState as ɵa, ProfileService as ɵb, InputEventDebounceDirective as ɵba, ClickEventStopPropagationDirective as ɵbb, AbstractNgModelComponent as ɵbc, LocaleId as ɵbd, LocaleProvider as ɵbe, NGXS_CONFIG_PLUGIN_OPTIONS as ɵbf, ConfigPlugin as ɵbg, ApiInterceptor as ɵbh, getInitialData as ɵbi, localeInitializer as ɵbj, RestService as ɵc, GetProfile as ɵd, UpdateProfile as ɵe, ChangePassword as ɵf, SessionState as ɵh, LocalizationService as ɵi, SetLanguage as ɵj, SetTenant as ɵk, ConfigState as ɵm, ApplicationConfigurationService as ɵn, PatchRouteByName as ɵo, GetAppConfiguration as ɵp, RouterOutletComponent as ɵq, DynamicLayoutComponent as ɵr, AutofocusDirective as ɵs, EllipsisDirective as ɵt, ForDirective as ɵu, FormSubmitDirective as ɵv, LocalizationPipe as ɵw, SortPipe as ɵx, PermissionDirective as ɵy, VisibilityDirective as ɵz }; -//# sourceMappingURL=abp-ng.core.js.map diff --git a/npm/ng-packs/dist/core/fesm2015/abp-ng.core.js.map b/npm/ng-packs/dist/core/fesm2015/abp-ng.core.js.map deleted file mode 100644 index cebd1a8ba30..00000000000 --- a/npm/ng-packs/dist/core/fesm2015/abp-ng.core.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.core.js","sources":["ng://@abp/ng.core/lib/abstracts/ng-model.component.ts","ng://@abp/ng.core/lib/actions/config.actions.ts","ng://@abp/ng.core/lib/actions/loader.actions.ts","ng://@abp/ng.core/lib/actions/profile.actions.ts","ng://@abp/ng.core/lib/actions/rest.actions.ts","ng://@abp/ng.core/lib/actions/session.actions.ts","ng://@abp/ng.core/lib/services/rest.service.ts","ng://@abp/ng.core/lib/services/application-configuration.service.ts","ng://@abp/ng.core/lib/utils/route-utils.ts","ng://@abp/ng.core/lib/constants/different-locales.ts","ng://@abp/ng.core/lib/utils/initial-utils.ts","ng://@abp/ng.core/lib/services/localization.service.ts","ng://@abp/ng.core/lib/states/session.state.ts","ng://@abp/ng.core/lib/states/config.state.ts","ng://@abp/ng.core/lib/utils/rxjs-utils.ts","ng://@abp/ng.core/lib/components/dynamic-layout.component.ts","ng://@abp/ng.core/lib/components/router-outlet.component.ts","ng://@abp/ng.core/lib/directives/autofocus.directive.ts","ng://@abp/ng.core/lib/directives/ellipsis.directive.ts","ng://@abp/ng.core/lib/directives/for.directive.ts","ng://@abp/ng.core/lib/utils/common-utils.ts","ng://@abp/ng.core/lib/utils/generator-utils.ts","ng://@abp/ng.core/lib/directives/form-submit.directive.ts","ng://@abp/ng.core/lib/services/profile.service.ts","ng://@abp/ng.core/lib/states/profile.state.ts","ng://@abp/ng.core/lib/directives/permission.directive.ts","ng://@abp/ng.core/lib/directives/visibility.directive.ts","ng://@abp/ng.core/lib/enums/common.ts","ng://@abp/ng.core/lib/guards/auth.guard.ts","ng://@abp/ng.core/lib/guards/permission.guard.ts","ng://@abp/ng.core/lib/interceptors/api.interceptor.ts","ng://@abp/ng.core/lib/models/application-configuration.ts","ng://@abp/ng.core/lib/models/common.ts","ng://@abp/ng.core/lib/models/config.ts","ng://@abp/ng.core/lib/models/rest.ts","ng://@abp/ng.core/lib/models/session.ts","ng://@abp/ng.core/lib/models/profile.ts","ng://@abp/ng.core/lib/pipes/localization.pipe.ts","ng://@abp/ng.core/lib/pipes/sort.pipe.ts","ng://@abp/ng.core/lib/plugins/config.plugin.ts","ng://@abp/ng.core/lib/services/config-state.service.ts","ng://@abp/ng.core/lib/services/lazy-load.service.ts","ng://@abp/ng.core/lib/services/profile-state.service.ts","ng://@abp/ng.core/lib/services/session-state.service.ts","ng://@abp/ng.core/lib/tokens/common.token.ts","ng://@abp/ng.core/lib/directives/debounce.directive.ts","ng://@abp/ng.core/lib/directives/stop-propagation.directive.ts","ng://@abp/ng.core/lib/providers/locale.provider.ts","ng://@abp/ng.core/lib/utils/date-extensions.ts","ng://@abp/ng.core/lib/core.module.ts"],"sourcesContent":["import { ControlValueAccessor } from '@angular/forms';\r\nimport { ChangeDetectorRef, Component, Injector, Input, Type } from '@angular/core';\r\n\r\n@Component({ selector: 'abp-abstract-ng-model', template: '' })\r\nexport class AbstractNgModelComponent implements ControlValueAccessor {\r\n @Input() disabled: boolean;\r\n\r\n @Input() set value(value: T) {\r\n this._value = value;\r\n this.notifyValueChange();\r\n }\r\n\r\n get value(): T {\r\n return this._value;\r\n }\r\n\r\n onChange: (value: T) => {};\r\n onTouched: () => {};\r\n\r\n protected _value: T;\r\n protected cdRef: ChangeDetectorRef;\r\n\r\n constructor(public injector: Injector) {\r\n this.cdRef = injector.get(ChangeDetectorRef as Type);\r\n }\r\n\r\n notifyValueChange(): void {\r\n if (this.onChange) {\r\n this.onChange(this.value);\r\n }\r\n }\r\n\r\n writeValue(value: T): void {\r\n this._value = value;\r\n setTimeout(() => this.cdRef.detectChanges(), 0);\r\n }\r\n\r\n registerOnChange(fn: any): void {\r\n this.onChange = fn;\r\n }\r\n\r\n registerOnTouched(fn: any): void {\r\n this.onTouched = fn;\r\n }\r\n\r\n setDisabledState(isDisabled: boolean): void {\r\n this.disabled = isDisabled;\r\n }\r\n}\r\n","import { ABP } from '../models';\r\n\r\nexport class PatchRouteByName {\r\n static readonly type = '[Config] Patch Route By Name';\r\n constructor(public name: string, public newValue: Partial) {}\r\n}\r\n\r\nexport class GetAppConfiguration {\r\n static readonly type = '[Config] Get App Configuration';\r\n}\r\n","import { HttpRequest } from '@angular/common/http';\r\n\r\nexport class StartLoader {\r\n static readonly type = '[Loader] Start';\r\n constructor(public payload: HttpRequest) {}\r\n}\r\n\r\nexport class StopLoader {\r\n static readonly type = '[Loader] Stop';\r\n constructor(public payload: HttpRequest) {}\r\n}\r\n","import { Profile } from '../models';\r\n\r\nexport class GetProfile {\r\n static readonly type = '[Profile] Get';\r\n}\r\n\r\nexport class UpdateProfile {\r\n static readonly type = '[Profile] Update';\r\n constructor(public payload: Profile.Response) {}\r\n}\r\n\r\nexport class ChangePassword {\r\n static readonly type = '[Profile] Change Password';\r\n constructor(public payload: Profile.ChangePasswordRequest) {}\r\n}\r\n","import { HttpErrorResponse } from '@angular/common/http';\r\n\r\nexport class RestOccurError {\r\n static readonly type = '[Rest] Error';\r\n constructor(public payload: HttpErrorResponse | any) {}\r\n}\r\n","import { ABP } from '../models';\r\n\r\nexport class SetLanguage {\r\n static readonly type = '[Session] Set Language';\r\n constructor(public payload: string) {}\r\n}\r\nexport class SetTenant {\r\n static readonly type = '[Session] Set Tenant';\r\n constructor(public payload: ABP.BasicItem) {}\r\n}\r\n","import { HttpClient, HttpRequest } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { catchError, take, tap } from 'rxjs/operators';\r\nimport { RestOccurError } from '../actions/rest.actions';\r\nimport { Rest } from '../models/rest';\r\nimport { ConfigState } from '../states/config.state';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class RestService {\r\n constructor(private http: HttpClient, private store: Store) {}\r\n\r\n handleError(err: any): Observable {\r\n this.store.dispatch(new RestOccurError(err));\r\n console.error(err);\r\n return throwError(err);\r\n }\r\n\r\n request(request: HttpRequest | Rest.Request, config?: Rest.Config, api?: string): Observable {\r\n config = config || ({} as Rest.Config);\r\n const { observe = Rest.Observe.Body, skipHandleError } = config;\r\n const url = (api || this.store.selectSnapshot(ConfigState.getApiUrl())) + request.url;\r\n const { method, params, ...options } = request;\r\n\r\n return this.http\r\n .request(method, url, {\r\n observe,\r\n ...(params && {\r\n params: Object.keys(params).reduce(\r\n (acc, key) => ({\r\n ...acc,\r\n ...(typeof params[key] !== 'undefined' && params[key] !== '' && { [key]: params[key] }),\r\n }),\r\n {},\r\n ),\r\n }),\r\n ...options,\r\n } as any)\r\n .pipe(\r\n observe === Rest.Observe.Body ? take(1) : tap(),\r\n catchError(err => {\r\n if (skipHandleError) {\r\n return throwError(err);\r\n }\r\n\r\n return this.handleError(err);\r\n }),\r\n );\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { Rest } from '../models/rest';\r\nimport { ApplicationConfiguration } from '../models/application-configuration';\r\nimport { RestService } from './rest.service';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ApplicationConfigurationService {\r\n constructor(private rest: RestService) {}\r\n\r\n getConfiguration(): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/abp/application-configuration',\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n}\r\n","import { ABP } from '../models';\r\n\r\nexport function organizeRoutes(\r\n routes: ABP.FullRoute[],\r\n wrappers: ABP.FullRoute[] = [],\r\n parentNameArr = [] as ABP.FullRoute[],\r\n parentName: string = null,\r\n): ABP.FullRoute[] {\r\n const filter = route => {\r\n if (route.children && route.children.length) {\r\n route.children = organizeRoutes(route.children, wrappers, parentNameArr, route.name);\r\n }\r\n\r\n if (route.parentName && route.parentName !== parentName) {\r\n parentNameArr.push(route);\r\n return false;\r\n }\r\n\r\n return true;\r\n };\r\n\r\n if (parentName) {\r\n // recursive block\r\n return routes.filter(filter);\r\n }\r\n\r\n const filteredRoutes = routes.filter(filter);\r\n\r\n if (parentNameArr.length) {\r\n return sortRoutes(setChildRoute([...filteredRoutes, ...wrappers], parentNameArr));\r\n }\r\n\r\n return filteredRoutes;\r\n}\r\n\r\nexport function setChildRoute(routes: ABP.FullRoute[], parentNameArr: ABP.FullRoute[]): ABP.FullRoute[] {\r\n return routes.map(route => {\r\n if (route.children && route.children.length) {\r\n route.children = setChildRoute(route.children, parentNameArr);\r\n }\r\n\r\n const foundedChildren = parentNameArr.filter(parent => parent.parentName === route.name);\r\n if (foundedChildren && foundedChildren.length) {\r\n route.children = [...(route.children || []), ...foundedChildren];\r\n }\r\n\r\n return route;\r\n });\r\n}\r\n\r\nexport function sortRoutes(routes: ABP.FullRoute[] = []): ABP.FullRoute[] {\r\n if (!routes.length) return [];\r\n return routes\r\n .map((route, index) => {\r\n return {\r\n ...route,\r\n order: typeof route.order === 'undefined' ? index + 1 : route.order,\r\n };\r\n })\r\n .sort((a, b) => a.order - b.order)\r\n .map(route => {\r\n if (route.children && route.children.length) {\r\n route.children = sortRoutes(route.children);\r\n }\r\n\r\n return route;\r\n });\r\n}\r\n\r\nconst ABP_ROUTES = [] as ABP.FullRoute[];\r\n\r\nexport function addAbpRoutes(routes: ABP.FullRoute | ABP.FullRoute[]): void {\r\n if (!Array.isArray(routes)) {\r\n routes = [routes];\r\n }\r\n\r\n ABP_ROUTES.push(...routes);\r\n}\r\n\r\nexport function getAbpRoutes(): ABP.FullRoute[] {\r\n return ABP_ROUTES;\r\n}\r\n","// Different locales from .NET\r\n// Key is .NET locale, value is Angular locale\r\n\r\nexport default {\r\n 'ar-sa': 'ar-SA',\r\n 'ca-ES-valencia': 'ca-ES-VALENCIA',\r\n 'de-de': 'de',\r\n 'es-ES': 'es',\r\n 'en-US': 'en',\r\n 'fil-Latn': 'en',\r\n 'ku-Arab': 'en',\r\n 'ky-Cyrl': 'en',\r\n 'mi-Latn': 'en',\r\n 'prs-Arab': 'en',\r\n 'qut-Latn': 'en',\r\n nso: 'en',\r\n quz: 'en',\r\n 'fr-FR': 'fr',\r\n 'gd-Latn': 'gd',\r\n 'ha-Latn': 'ha',\r\n 'ig-Latn': 'ig',\r\n 'it-it': 'it',\r\n 'mn-Cyrl': 'mn',\r\n 'pt-BR': 'pt',\r\n 'sd-Arab': 'pa-Arab',\r\n 'sr-Cyrl-RS': 'sr-Cyrl',\r\n 'sr-Latn-RS': 'sr-Latn',\r\n 'tg-Cyrl': 'tg',\r\n 'tk-Latn': 'tk',\r\n 'tt-Cyrl': 'tt',\r\n 'ug-Arab': 'ug',\r\n 'yo-Latn': 'yo',\r\n};\r\n","import { registerLocaleData } from '@angular/common';\r\nimport { Injector } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { GetAppConfiguration } from '../actions/config.actions';\r\nimport differentLocales from '../constants/different-locales';\r\n\r\nexport function getInitialData(injector: Injector) {\r\n const fn = () => {\r\n const store: Store = injector.get(Store);\r\n\r\n return store.dispatch(new GetAppConfiguration()).toPromise();\r\n };\r\n\r\n return fn;\r\n}\r\n\r\nexport function localeInitializer(injector: Injector) {\r\n const fn = () => {\r\n const store: Store = injector.get(Store);\r\n\r\n const lang = store.selectSnapshot(state => state.SessionState.language) || 'en';\r\n\r\n return new Promise((resolve, reject) => {\r\n registerLocale(lang).then(() => resolve('resolved'), reject);\r\n });\r\n };\r\n\r\n return fn;\r\n}\r\n\r\nexport function registerLocale(locale: string) {\r\n return import(\r\n /* webpackInclude: /(af|am|ar-SA|as|az-Latn|be|bg|bn-BD|bn-IN|bs|ca|ca-ES-VALENCIA|cs|cy|da|de|de|el|en-GB|en|es|en|es-US|es-MX|et|eu|fa|fi|en|fr|fr|fr-CA|ga|gd|gl|gu|ha|he|hi|hr|hu|hy|id|ig|is|it|it|ja|ka|kk|km|kn|ko|kok|en|en|lb|lt|lv|en|mk|ml|mn|mr|ms|mt|nb|ne|nl|nl-BE|nn|en|or|pa|pa-Arab|pl|en|pt|pt-PT|en|en|ro|ru|rw|pa-Arab|si|sk|sl|sq|sr-Cyrl-BA|sr-Cyrl|sr-Latn|sv|sw|ta|te|tg|th|ti|tk|tn|tr|tt|ug|uk|ur|uz-Latn|vi|wo|xh|yo|zh-Hans|zh-Hant|zu)\\.js$/ */\r\n `@angular/common/locales/${differentLocales[locale] || locale}.js`\r\n ).then(module => {\r\n registerLocaleData(module.default);\r\n });\r\n}\r\n","import { Injectable, NgZone, Optional, SkipSelf } from '@angular/core';\r\nimport { ActivatedRouteSnapshot, Router } from '@angular/router';\r\nimport { Store } from '@ngxs/store';\r\nimport { noop, Observable } from 'rxjs';\r\nimport { ConfigState } from '../states/config.state';\r\nimport { registerLocale } from '../utils/initial-utils';\r\nimport { Config } from '../models/config';\r\n\r\ntype ShouldReuseRoute = (future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot) => boolean;\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class LocalizationService {\r\n get currentLang(): string {\r\n return this.store.selectSnapshot(state => state.SessionState.language);\r\n }\r\n\r\n constructor(\r\n private store: Store,\r\n private router: Router,\r\n private ngZone: NgZone,\r\n @Optional()\r\n @SkipSelf()\r\n otherInstance: LocalizationService,\r\n ) {\r\n if (otherInstance) throw new Error('LocalizationService should have only one instance.');\r\n }\r\n\r\n setRouteReuse(reuse: ShouldReuseRoute) {\r\n this.router.routeReuseStrategy.shouldReuseRoute = reuse;\r\n }\r\n\r\n registerLocale(locale: string) {\r\n const { shouldReuseRoute } = this.router.routeReuseStrategy;\r\n this.setRouteReuse(() => false);\r\n this.router.navigated = false;\r\n\r\n return registerLocale(locale).then(() => {\r\n this.ngZone.run(async () => {\r\n await this.router.navigateByUrl(this.router.url).catch(noop);\r\n this.setRouteReuse(shouldReuseRoute);\r\n });\r\n });\r\n }\r\n\r\n get(\r\n key: string | Config.LocalizationWithDefault,\r\n ...interpolateParams: string[]\r\n ): Observable {\r\n return this.store.select(ConfigState.getLocalization(key, ...interpolateParams));\r\n }\r\n\r\n instant(key: string | Config.LocalizationWithDefault, ...interpolateParams: string[]): string {\r\n return this.store.selectSnapshot(ConfigState.getLocalization(key, ...interpolateParams));\r\n }\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { from } from 'rxjs';\r\nimport { switchMap } from 'rxjs/operators';\r\nimport { GetAppConfiguration } from '../actions/config.actions';\r\nimport { SetLanguage, SetTenant } from '../actions/session.actions';\r\nimport { ABP, Session } from '../models';\r\nimport { LocalizationService } from '../services/localization.service';\r\n\r\n@State({\r\n name: 'SessionState',\r\n defaults: {} as Session.State,\r\n})\r\nexport class SessionState {\r\n @Selector()\r\n static getLanguage({ language }: Session.State): string {\r\n return language;\r\n }\r\n\r\n @Selector()\r\n static getTenant({ tenant }: Session.State): ABP.BasicItem {\r\n return tenant;\r\n }\r\n\r\n constructor(private localizationService: LocalizationService) {}\r\n\r\n @Action(SetLanguage)\r\n setLanguage({ patchState, dispatch }: StateContext, { payload }: SetLanguage) {\r\n patchState({\r\n language: payload,\r\n });\r\n\r\n return dispatch(new GetAppConfiguration()).pipe(\r\n switchMap(() => from(this.localizationService.registerLocale(payload))),\r\n );\r\n }\r\n\r\n @Action(SetTenant)\r\n setTenant({ patchState }: StateContext, { payload }: SetTenant) {\r\n patchState({\r\n tenant: payload,\r\n });\r\n }\r\n}\r\n","import {\r\n Action,\r\n createSelector,\r\n Selector,\r\n State,\r\n StateContext,\r\n Store,\r\n} from '@ngxs/store';\r\nimport { of } from 'rxjs';\r\nimport { switchMap, tap } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport {\r\n GetAppConfiguration,\r\n PatchRouteByName,\r\n} from '../actions/config.actions';\r\nimport { SetLanguage } from '../actions/session.actions';\r\nimport { ABP } from '../models/common';\r\nimport { Config } from '../models/config';\r\nimport { ApplicationConfigurationService } from '../services/application-configuration.service';\r\nimport { organizeRoutes } from '../utils/route-utils';\r\nimport { SessionState } from './session.state';\r\n\r\n@State({\r\n name: 'ConfigState',\r\n defaults: {} as Config.State,\r\n})\r\nexport class ConfigState {\r\n @Selector()\r\n static getAll(state: Config.State) {\r\n return state;\r\n }\r\n\r\n @Selector()\r\n static getApplicationInfo(state: Config.State): Config.Application {\r\n return state.environment.application || ({} as Config.Application);\r\n }\r\n\r\n static getOne(key: string) {\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n return state[key];\r\n });\r\n\r\n return selector;\r\n }\r\n\r\n static getDeep(keys: string[] | string) {\r\n if (typeof keys === 'string') {\r\n keys = keys.split('.');\r\n }\r\n\r\n if (!Array.isArray(keys)) {\r\n throw new Error('The argument must be a dot string or an string array.');\r\n }\r\n\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n return (keys as string[]).reduce((acc, val) => {\r\n if (acc) {\r\n return acc[val];\r\n }\r\n\r\n return undefined;\r\n }, state);\r\n });\r\n\r\n return selector;\r\n }\r\n\r\n static getRoute(path?: string, name?: string, url?: string) {\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n const { flattedRoutes } = state;\r\n return (flattedRoutes as ABP.FullRoute[]).find(route => {\r\n if (path && route.path === path) {\r\n return route;\r\n } else if (name && route.name === name) {\r\n return route;\r\n } else if (url && route.url === url) {\r\n return route;\r\n }\r\n });\r\n });\r\n\r\n return selector;\r\n }\r\n\r\n static getApiUrl(key?: string) {\r\n const selector = createSelector(\r\n [ConfigState],\r\n (state: Config.State): string => {\r\n return state.environment.apis[key || 'default'].url;\r\n },\r\n );\r\n\r\n return selector;\r\n }\r\n\r\n static getSetting(key: string) {\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n return snq(() => state.setting.values[key]);\r\n });\r\n return selector;\r\n }\r\n\r\n static getSettings(keyword?: string) {\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n if (keyword) {\r\n const keys = snq(\r\n () =>\r\n Object.keys(state.setting.values).filter(\r\n key => key.indexOf(keyword) > -1,\r\n ),\r\n [],\r\n );\r\n\r\n if (keys.length) {\r\n return keys.reduce(\r\n (acc, key) => ({ ...acc, [key]: state.setting.values[key] }),\r\n {},\r\n );\r\n }\r\n }\r\n\r\n return snq(() => state.setting.values, {});\r\n });\r\n return selector;\r\n }\r\n\r\n static getGrantedPolicy(key: string) {\r\n const selector = createSelector(\r\n [ConfigState],\r\n (state: Config.State): boolean => {\r\n if (!key) return true;\r\n const getPolicy = k => snq(() => state.auth.grantedPolicies[k], false);\r\n\r\n const orRegexp = /\\|\\|/g;\r\n const andRegexp = /&&/g;\r\n\r\n if (orRegexp.test(key)) {\r\n const keys = key.split('||').filter(k => !!k);\r\n\r\n if (keys.length !== 2) return false;\r\n\r\n return getPolicy(keys[0].trim()) || getPolicy(keys[1].trim());\r\n } else if (andRegexp.test(key)) {\r\n const keys = key.split('&&').filter(k => !!k);\r\n\r\n if (keys.length !== 2) return false;\r\n\r\n return getPolicy(keys[0].trim()) && getPolicy(keys[1].trim());\r\n }\r\n\r\n return getPolicy(key);\r\n },\r\n );\r\n\r\n return selector;\r\n }\r\n\r\n static getLocalization(\r\n key: string | Config.LocalizationWithDefault,\r\n ...interpolateParams: string[]\r\n ) {\r\n let defaultValue: string;\r\n\r\n if (typeof key !== 'string') {\r\n defaultValue = key.defaultValue;\r\n key = key.key;\r\n }\r\n\r\n if (!key) key = '';\r\n\r\n const keys = key.split('::') as string[];\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n if (!state.localization) return defaultValue || key;\r\n\r\n const { defaultResourceName } = state.environment.localization;\r\n if (keys[0] === '') {\r\n if (!defaultResourceName) {\r\n throw new Error(\r\n `Please check your environment. May you forget set defaultResourceName?\r\n Here is the example:\r\n { production: false,\r\n localization: {\r\n defaultResourceName: 'MyProjectName'\r\n }\r\n }`,\r\n );\r\n }\r\n\r\n keys[0] = snq(() => defaultResourceName);\r\n }\r\n\r\n let localization = (keys as any).reduce((acc, val) => {\r\n if (acc) {\r\n return acc[val];\r\n }\r\n\r\n return undefined;\r\n }, state.localization.values);\r\n\r\n interpolateParams = interpolateParams.filter(params => params != null);\r\n if (localization && interpolateParams && interpolateParams.length) {\r\n interpolateParams.forEach(param => {\r\n localization = localization.replace(/[\\'\\\"]?\\{[\\d]+\\}[\\'\\\"]?/, param);\r\n });\r\n }\r\n\r\n if (typeof localization !== 'string') localization = '';\r\n return localization || defaultValue || key;\r\n });\r\n\r\n return selector;\r\n }\r\n\r\n constructor(\r\n private appConfigurationService: ApplicationConfigurationService,\r\n private store: Store,\r\n ) {}\r\n\r\n @Action(GetAppConfiguration)\r\n addData({ patchState, dispatch }: StateContext) {\r\n return this.appConfigurationService.getConfiguration().pipe(\r\n tap(configuration =>\r\n patchState({\r\n ...configuration,\r\n }),\r\n ),\r\n switchMap(configuration => {\r\n let defaultLang: string =\r\n configuration.setting.values['Abp.Localization.DefaultLanguage'];\r\n\r\n if (defaultLang.includes(';')) {\r\n defaultLang = defaultLang.split(';')[0];\r\n }\r\n\r\n return this.store.selectSnapshot(SessionState.getLanguage)\r\n ? of(null)\r\n : dispatch(new SetLanguage(defaultLang));\r\n }),\r\n );\r\n }\r\n\r\n @Action(PatchRouteByName)\r\n patchRoute(\r\n { patchState, getState }: StateContext,\r\n { name, newValue }: PatchRouteByName,\r\n ) {\r\n let routes: ABP.FullRoute[] = getState().routes;\r\n\r\n const index = routes.findIndex(route => route.name === name);\r\n\r\n routes = patchRouteDeep(routes, name, newValue);\r\n\r\n return patchState({\r\n routes,\r\n });\r\n }\r\n}\r\n\r\nfunction patchRouteDeep(\r\n routes: ABP.FullRoute[],\r\n name: string,\r\n newValue: Partial,\r\n parentUrl: string = '',\r\n): ABP.FullRoute[] {\r\n routes = routes.map(route => {\r\n if (route.name === name) {\r\n newValue.url = `${parentUrl}/${(!newValue.path && newValue.path === ''\r\n ? route.path\r\n : newValue.path) || ''}`;\r\n\r\n if (newValue.children && newValue.children.length) {\r\n newValue.children = newValue.children.map(child => ({\r\n ...child,\r\n url: `${newValue.url}/${child.path}`.replace('//', '/'),\r\n }));\r\n }\r\n\r\n return { ...route, ...newValue };\r\n } else if (route.children && route.children.length) {\r\n route.children = patchRouteDeep(\r\n route.children,\r\n name,\r\n newValue,\r\n (parentUrl || '/') + route.path,\r\n );\r\n }\r\n\r\n return route;\r\n });\r\n\r\n if (parentUrl) {\r\n // recursive block\r\n return routes;\r\n }\r\n\r\n return organizeRoutes(routes);\r\n}\r\n","import { Observable, Subject } from 'rxjs';\r\nimport { takeUntil } from 'rxjs/operators';\r\n\r\nfunction isFunction(value) {\r\n return typeof value === 'function';\r\n}\r\n\r\nexport const takeUntilDestroy = (componentInstance, destroyMethodName = 'ngOnDestroy') => (\r\n source: Observable\r\n) => {\r\n const originalDestroy = componentInstance[destroyMethodName];\r\n if (isFunction(originalDestroy) === false) {\r\n throw new Error(\r\n `${componentInstance.constructor.name} is using untilDestroyed but doesn't implement ${destroyMethodName}`\r\n );\r\n }\r\n if (!componentInstance['__takeUntilDestroy']) {\r\n componentInstance['__takeUntilDestroy'] = new Subject();\r\n\r\n componentInstance[destroyMethodName] = function() {\r\n // tslint:disable-next-line: no-unused-expression\r\n isFunction(originalDestroy) && originalDestroy.apply(this, arguments);\r\n componentInstance['__takeUntilDestroy'].next(true);\r\n componentInstance['__takeUntilDestroy'].complete();\r\n };\r\n }\r\n return source.pipe(takeUntil(componentInstance['__takeUntilDestroy']));\r\n};\r\n","import { Component, Input, OnDestroy, Type } from '@angular/core';\r\nimport { ActivatedRoute, NavigationEnd, Router, UrlSegment } from '@angular/router';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport snq from 'snq';\r\nimport { eLayoutType } from '../enums/common';\r\nimport { Config } from '../models/config';\r\nimport { ABP } from '../models/common';\r\nimport { ConfigState } from '../states/config.state';\r\nimport { takeUntilDestroy } from '../utils/rxjs-utils';\r\n\r\n@Component({\r\n selector: 'abp-dynamic-layout',\r\n template: `\r\n \r\n \r\n \r\n `\r\n})\r\nexport class DynamicLayoutComponent implements OnDestroy {\r\n @Select(ConfigState.getOne('requirements')) requirements$: Observable;\r\n\r\n layout: Type;\r\n\r\n constructor(private router: Router, private route: ActivatedRoute, private store: Store) {\r\n const {\r\n requirements: { layouts },\r\n routes\r\n } = this.store.selectSnapshot(ConfigState.getAll);\r\n\r\n if ((this.route.snapshot.data || {}).layout) {\r\n this.layout = layouts\r\n .filter(l => !!l)\r\n .find((l: any) => snq(() => l.type.toLowerCase().indexOf(this.route.snapshot.data.layout), -1) > -1);\r\n }\r\n\r\n this.router.events.pipe(takeUntilDestroy(this)).subscribe(event => {\r\n if (event instanceof NavigationEnd) {\r\n const { segments } = this.router.parseUrl(event.url).root.children.primary;\r\n\r\n const layout = (this.route.snapshot.data || {}).layout || findLayout(segments, routes);\r\n\r\n this.layout = layouts\r\n .filter(l => !!l)\r\n .find((l: any) => snq(() => l.type.toLowerCase().indexOf(layout), -1) > -1);\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy() {}\r\n}\r\n\r\nfunction findLayout(segments: UrlSegment[], routes: ABP.FullRoute[]): eLayoutType {\r\n let layout = eLayoutType.empty;\r\n\r\n const route = routes\r\n .reduce((acc, val) => (val.wrapper ? [...acc, ...val.children] : [...acc, val]), [])\r\n .find(r => r.path === segments[0].path);\r\n\r\n if (route) {\r\n if (route.layout) {\r\n layout = route.layout;\r\n }\r\n\r\n if (route.children && route.children.length && segments.length > 1) {\r\n const child = route.children.find(c => c.path === segments[1].path);\r\n\r\n if (child && child.layout) {\r\n layout = child.layout;\r\n }\r\n }\r\n }\r\n\r\n return layout;\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-router-outlet',\r\n template: `\r\n \r\n `,\r\n})\r\nexport class RouterOutletComponent {}\r\n","import { Directive, ElementRef, Input, AfterViewInit } from '@angular/core';\r\n\r\n@Directive({\r\n // tslint:disable-next-line: directive-selector\r\n selector: '[autofocus]'\r\n})\r\nexport class AutofocusDirective implements AfterViewInit {\r\n @Input('autofocus')\r\n delay = 0;\r\n\r\n constructor(private elRef: ElementRef) {}\r\n\r\n ngAfterViewInit(): void {\r\n setTimeout(() => this.elRef.nativeElement.focus(), this.delay);\r\n }\r\n}\r\n","import { AfterViewInit, ChangeDetectorRef, Directive, ElementRef, HostBinding, Input } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[abpEllipsis]',\r\n})\r\nexport class EllipsisDirective implements AfterViewInit {\r\n @Input('abpEllipsis')\r\n width: string;\r\n\r\n @HostBinding('title')\r\n @Input()\r\n title: string;\r\n\r\n @Input('abpEllipsisEnabled')\r\n enabled = true;\r\n\r\n @HostBinding('class.abp-ellipsis-inline')\r\n get inlineClass() {\r\n return this.enabled && this.width;\r\n }\r\n\r\n @HostBinding('class.abp-ellipsis')\r\n get class() {\r\n return this.enabled && !this.width;\r\n }\r\n\r\n @HostBinding('style.max-width')\r\n get maxWidth() {\r\n return this.enabled && this.width ? this.width || '170px' : undefined;\r\n }\r\n\r\n constructor(private cdRef: ChangeDetectorRef, private elRef: ElementRef) {}\r\n\r\n ngAfterViewInit() {\r\n this.title = this.title || (this.elRef.nativeElement as HTMLElement).innerText;\r\n this.cdRef.detectChanges();\r\n }\r\n}\r\n","import {\r\n Directive,\r\n EmbeddedViewRef,\r\n Input,\r\n IterableChangeRecord,\r\n IterableChanges,\r\n IterableDiffer,\r\n IterableDiffers,\r\n OnChanges,\r\n TemplateRef,\r\n TrackByFunction,\r\n ViewContainerRef,\r\n} from '@angular/core';\r\nimport compare from 'just-compare';\r\nimport clone from 'just-clone';\r\n\r\nexport type CompareFn = (value: T, comparison: T) => boolean;\r\n\r\nclass AbpForContext {\r\n constructor(public $implicit: any, public index: number, public count: number, public list: any[]) {}\r\n}\r\n\r\nclass RecordView {\r\n constructor(public record: IterableChangeRecord, public view: EmbeddedViewRef) {}\r\n}\r\n\r\n@Directive({\r\n selector: '[abpFor]',\r\n})\r\nexport class ForDirective implements OnChanges {\r\n @Input('abpForOf')\r\n items: any[];\r\n\r\n @Input('abpForOrderBy')\r\n orderBy: string;\r\n\r\n @Input('abpForOrderDir')\r\n orderDir: 'ASC' | 'DESC';\r\n\r\n @Input('abpForFilterBy')\r\n filterBy: string;\r\n\r\n @Input('abpForFilterVal')\r\n filterVal: any;\r\n\r\n @Input('abpForTrackBy')\r\n trackBy;\r\n\r\n @Input('abpForCompareBy')\r\n compareBy: CompareFn;\r\n\r\n @Input('abpForEmptyRef')\r\n emptyRef: TemplateRef;\r\n\r\n private differ: IterableDiffer;\r\n\r\n private isShowEmptyRef: boolean;\r\n\r\n get compareFn(): CompareFn {\r\n return this.compareBy || compare;\r\n }\r\n\r\n get trackByFn(): TrackByFunction {\r\n return this.trackBy || ((index: number, item: any) => (item as any).id || index);\r\n }\r\n\r\n constructor(\r\n private tempRef: TemplateRef,\r\n private vcRef: ViewContainerRef,\r\n private differs: IterableDiffers,\r\n ) {}\r\n\r\n private iterateOverAppliedOperations(changes: IterableChanges) {\r\n const rw: RecordView[] = [];\r\n\r\n changes.forEachOperation((record: IterableChangeRecord, previousIndex: number, currentIndex: number) => {\r\n if (record.previousIndex == null) {\r\n const view = this.vcRef.createEmbeddedView(\r\n this.tempRef,\r\n new AbpForContext(null, -1, -1, this.items),\r\n currentIndex,\r\n );\r\n\r\n rw.push(new RecordView(record, view));\r\n } else if (currentIndex == null) {\r\n this.vcRef.remove(previousIndex);\r\n } else {\r\n const view = this.vcRef.get(previousIndex);\r\n this.vcRef.move(view, currentIndex);\r\n\r\n rw.push(new RecordView(record, view as EmbeddedViewRef));\r\n }\r\n });\r\n\r\n for (let i = 0, l = rw.length; i < l; i++) {\r\n rw[i].view.context.$implicit = rw[i].record.item;\r\n }\r\n }\r\n\r\n private iterateOverAttachedViews(changes: IterableChanges) {\r\n for (let i = 0, l = this.vcRef.length; i < l; i++) {\r\n const viewRef = this.vcRef.get(i) as EmbeddedViewRef;\r\n viewRef.context.index = i;\r\n viewRef.context.count = l;\r\n viewRef.context.list = this.items;\r\n }\r\n\r\n changes.forEachIdentityChange((record: IterableChangeRecord) => {\r\n const viewRef = this.vcRef.get(record.currentIndex) as EmbeddedViewRef;\r\n viewRef.context.$implicit = record.item;\r\n });\r\n }\r\n\r\n private projectItems(items: any[]): void {\r\n if (!items.length && this.emptyRef) {\r\n this.vcRef.clear();\r\n // tslint:disable-next-line: no-unused-expression\r\n this.vcRef.createEmbeddedView(this.emptyRef).rootNodes;\r\n this.isShowEmptyRef = true;\r\n this.differ = null;\r\n\r\n return;\r\n }\r\n\r\n if (this.emptyRef && this.isShowEmptyRef) {\r\n this.vcRef.clear();\r\n this.isShowEmptyRef = false;\r\n }\r\n\r\n if (!this.differ && items) {\r\n this.differ = this.differs.find(items).create(this.trackByFn);\r\n }\r\n\r\n if (this.differ) {\r\n const changes = this.differ.diff(items);\r\n\r\n if (changes) {\r\n this.iterateOverAppliedOperations(changes);\r\n this.iterateOverAttachedViews(changes);\r\n }\r\n }\r\n }\r\n\r\n private sortItems(items: any[]) {\r\n if (this.orderBy) {\r\n items.sort((a, b) => (a[this.orderBy] > b[this.orderBy] ? 1 : a[this.orderBy] < b[this.orderBy] ? -1 : 0));\r\n } else {\r\n items.sort();\r\n }\r\n }\r\n\r\n ngOnChanges() {\r\n let items = clone(this.items) as any[];\r\n if (!Array.isArray(items)) return;\r\n\r\n const compareFn = this.compareFn;\r\n\r\n if (typeof this.filterBy !== 'undefined' && typeof this.filterVal !== 'undefined' && this.filterVal !== '') {\r\n items = items.filter(item => compareFn(item[this.filterBy], this.filterVal));\r\n }\r\n\r\n switch (this.orderDir) {\r\n case 'ASC':\r\n this.sortItems(items);\r\n this.projectItems(items);\r\n break;\r\n\r\n case 'DESC':\r\n this.sortItems(items);\r\n items.reverse();\r\n this.projectItems(items);\r\n break;\r\n\r\n default:\r\n this.projectItems(items);\r\n }\r\n }\r\n}\r\n","export function noop() {\r\n // tslint:disable-next-line: only-arrow-functions\r\n const fn = function() {};\r\n return fn;\r\n}\r\n","export function uuid(a?: any): string {\r\n return a\r\n ? // tslint:disable-next-line: no-bitwise\r\n (a ^ ((Math.random() * 16) >> (a / 4))).toString(16)\r\n : ('' + 1e7 + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, uuid);\r\n}\r\n","import {\r\n ChangeDetectorRef,\r\n Directive,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n OnDestroy,\r\n OnInit,\r\n Output,\r\n Self,\r\n} from '@angular/core';\r\nimport { FormControl, FormGroup, FormGroupDirective } from '@angular/forms';\r\nimport { fromEvent } from 'rxjs';\r\nimport { debounceTime, filter } from 'rxjs/operators';\r\nimport { takeUntilDestroy } from '../utils';\r\n\r\ntype Controls = { [key: string]: FormControl } | FormGroup[];\r\n\r\n@Directive({\r\n // tslint:disable-next-line: directive-selector\r\n selector: 'form[ngSubmit][formGroup]',\r\n})\r\nexport class FormSubmitDirective implements OnInit, OnDestroy {\r\n @Input()\r\n debounce = 200;\r\n\r\n @Input()\r\n notValidateOnSubmit: string | boolean;\r\n\r\n @Output() readonly ngSubmit = new EventEmitter();\r\n\r\n executedNgSubmit = false;\r\n\r\n constructor(\r\n @Self() private formGroupDirective: FormGroupDirective,\r\n private host: ElementRef,\r\n private cdRef: ChangeDetectorRef,\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.formGroupDirective.ngSubmit.pipe(takeUntilDestroy(this)).subscribe(() => {\r\n this.markAsDirty();\r\n this.executedNgSubmit = true;\r\n });\r\n\r\n fromEvent(this.host.nativeElement as HTMLElement, 'keyup')\r\n .pipe(\r\n debounceTime(this.debounce),\r\n filter((key: KeyboardEvent) => key && key.key === 'Enter'),\r\n takeUntilDestroy(this),\r\n )\r\n .subscribe(() => {\r\n if (!this.executedNgSubmit) {\r\n this.host.nativeElement.dispatchEvent(new Event('submit', { bubbles: true, cancelable: true }));\r\n }\r\n\r\n this.executedNgSubmit = false;\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {}\r\n\r\n markAsDirty() {\r\n const { form } = this.formGroupDirective;\r\n\r\n setDirty(form.controls as { [key: string]: FormControl });\r\n form.markAsDirty();\r\n\r\n this.cdRef.detectChanges();\r\n }\r\n}\r\n\r\nfunction setDirty(controls: Controls) {\r\n if (Array.isArray(controls)) {\r\n controls.forEach(group => {\r\n setDirty(group.controls as { [key: string]: FormControl });\r\n });\r\n return;\r\n }\r\n\r\n Object.keys(controls).forEach(key => {\r\n controls[key].markAsDirty();\r\n controls[key].updateValueAndValidity();\r\n });\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RestService } from './rest.service';\r\nimport { Profile, Rest } from '../models';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ProfileService {\r\n constructor(private rest: RestService) {}\r\n\r\n get(): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/identity/my-profile',\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n update(body: Profile.Response): Observable {\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url: '/api/identity/my-profile',\r\n body,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n changePassword(body: Profile.ChangePasswordRequest, skipHandleError: boolean = false): Observable {\r\n const request: Rest.Request = {\r\n method: 'POST',\r\n url: '/api/identity/my-profile/change-password',\r\n body,\r\n };\r\n\r\n return this.rest.request(request, { skipHandleError });\r\n }\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { tap } from 'rxjs/operators';\r\nimport { ChangePassword, GetProfile, UpdateProfile } from '../actions/profile.actions';\r\nimport { Profile } from '../models/profile';\r\nimport { ProfileService } from '../services/profile.service';\r\n\r\n@State({\r\n name: 'ProfileState',\r\n defaults: {} as Profile.State,\r\n})\r\nexport class ProfileState {\r\n @Selector()\r\n static getProfile({ profile }: Profile.State): Profile.Response {\r\n return profile;\r\n }\r\n\r\n constructor(private profileService: ProfileService) {}\r\n\r\n @Action(GetProfile)\r\n getProfile({ patchState }: StateContext) {\r\n return this.profileService.get().pipe(\r\n tap(profile =>\r\n patchState({\r\n profile,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(UpdateProfile)\r\n updateProfile({ patchState }: StateContext, { payload }: UpdateProfile) {\r\n return this.profileService.update(payload).pipe(\r\n tap(profile =>\r\n patchState({\r\n profile,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(ChangePassword)\r\n changePassword(_, { payload }: ChangePassword) {\r\n return this.profileService.changePassword(payload, true);\r\n }\r\n}\r\n","import {\r\n Directive,\r\n ElementRef,\r\n Input,\r\n OnDestroy,\r\n OnInit,\r\n Renderer2,\r\n ViewContainerRef,\r\n TemplateRef,\r\n Optional,\r\n SimpleChanges,\r\n OnChanges,\r\n} from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { ConfigState } from '../states';\r\nimport { takeUntilDestroy } from '../utils';\r\nimport { Subscription } from 'rxjs';\r\n\r\n@Directive({\r\n selector: '[abpPermission]',\r\n})\r\nexport class PermissionDirective implements OnInit, OnDestroy, OnChanges {\r\n @Input('abpPermission') condition: string;\r\n\r\n subscription: Subscription;\r\n\r\n constructor(\r\n private elRef: ElementRef,\r\n private renderer: Renderer2,\r\n private store: Store,\r\n @Optional() private templateRef: TemplateRef,\r\n private vcRef: ViewContainerRef,\r\n ) {}\r\n\r\n private check() {\r\n if (this.subscription) {\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n this.subscription = this.store\r\n .select(ConfigState.getGrantedPolicy(this.condition))\r\n .pipe(takeUntilDestroy(this))\r\n .subscribe(isGranted => {\r\n if (this.templateRef && isGranted) {\r\n this.vcRef.clear();\r\n this.vcRef.createEmbeddedView(this.templateRef);\r\n } else if (this.templateRef && !isGranted) {\r\n this.vcRef.clear();\r\n } else if (!isGranted && !this.templateRef) {\r\n this.renderer.removeChild((this.elRef.nativeElement as HTMLElement).parentElement, this.elRef.nativeElement);\r\n }\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n if (this.templateRef && !this.condition) {\r\n this.vcRef.createEmbeddedView(this.templateRef);\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {}\r\n\r\n ngOnChanges({ condition }: SimpleChanges) {\r\n if ((condition || { currentValue: null }).currentValue) {\r\n this.check();\r\n }\r\n }\r\n}\r\n","import { Directive, Input, Optional, ElementRef, Renderer2, AfterViewInit } from '@angular/core';\r\nimport { Subject } from 'rxjs';\r\nimport snq from 'snq';\r\n\r\n@Directive({\r\n selector: '[abpVisibility]',\r\n})\r\nexport class VisibilityDirective implements AfterViewInit {\r\n @Input('abpVisibility')\r\n focusedElement: HTMLElement;\r\n\r\n completed$ = new Subject();\r\n\r\n constructor(@Optional() private elRef: ElementRef, private renderer: Renderer2) {}\r\n\r\n ngAfterViewInit() {\r\n if (!this.focusedElement && this.elRef) {\r\n this.focusedElement = this.elRef.nativeElement;\r\n }\r\n\r\n let observer: MutationObserver;\r\n observer = new MutationObserver(mutations => {\r\n mutations.forEach(mutation => {\r\n if (!mutation.target) return;\r\n\r\n const htmlNodes = snq(\r\n () => Array.from(mutation.target.childNodes).filter(node => node instanceof HTMLElement),\r\n [],\r\n );\r\n\r\n if (!htmlNodes.length) {\r\n this.removeFromDOM();\r\n }\r\n });\r\n });\r\n\r\n observer.observe(this.focusedElement, {\r\n childList: true,\r\n });\r\n\r\n setTimeout(() => {\r\n const htmlNodes = snq(\r\n () => Array.from(this.focusedElement.childNodes).filter(node => node instanceof HTMLElement),\r\n [],\r\n );\r\n\r\n if (!htmlNodes.length) this.removeFromDOM();\r\n }, 0);\r\n\r\n this.completed$.subscribe(() => observer.disconnect());\r\n }\r\n\r\n disconnect() {\r\n this.completed$.next();\r\n this.completed$.complete();\r\n }\r\n\r\n removeFromDOM() {\r\n if (!this.elRef.nativeElement) return;\r\n\r\n this.renderer.removeChild(this.elRef.nativeElement.parentElement, this.elRef.nativeElement);\r\n this.disconnect();\r\n }\r\n}\r\n","export const enum eLayoutType {\r\n account = 'account',\r\n application = 'application',\r\n empty = 'empty',\r\n /**\r\n * @deprecated since version 0.9.0\r\n */\r\n setting = 'setting',\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot, UrlTree } from '@angular/router';\r\nimport { OAuthService } from 'angular-oauth2-oidc';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AuthGuard implements CanActivate {\r\n constructor(private oauthService: OAuthService, private router: Router) {}\r\n\r\n canActivate(_: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable | boolean | UrlTree {\r\n const hasValidAccessToken = this.oauthService.hasValidAccessToken();\r\n if (hasValidAccessToken) {\r\n return hasValidAccessToken;\r\n }\r\n\r\n return this.router.createUrlTree(['/account/login'], { state: { redirectUrl: state.url } });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ActivatedRouteSnapshot, CanActivate, RouterStateSnapshot } from '@angular/router';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { tap } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport { RestOccurError } from '../actions';\r\nimport { ConfigState } from '../states';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PermissionGuard implements CanActivate {\r\n constructor(private store: Store) {}\r\n\r\n canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable {\r\n let resource = snq(() => route.data.routes.requiredPolicy) || snq(() => route.data.requiredPolicy as string);\r\n if (!resource) {\r\n resource = snq(\r\n () => route.routeConfig.children.find(child => state.url.indexOf(child.path) > -1).data.requiredPolicy,\r\n );\r\n }\r\n\r\n return this.store.select(ConfigState.getGrantedPolicy(resource)).pipe(\r\n tap(access => {\r\n if (!access) {\r\n this.store.dispatch(new RestOccurError({ status: 403 }));\r\n }\r\n }),\r\n );\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http';\r\nimport { OAuthService } from 'angular-oauth2-oidc';\r\nimport { Store } from '@ngxs/store';\r\nimport { SessionState } from '../states';\r\nimport { StartLoader, StopLoader } from '../actions/loader.actions';\r\nimport { finalize } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class ApiInterceptor implements HttpInterceptor {\r\n constructor(private oAuthService: OAuthService, private store: Store) {}\r\n\r\n intercept(request: HttpRequest, next: HttpHandler) {\r\n this.store.dispatch(new StartLoader(request));\r\n\r\n const headers = {} as any;\r\n\r\n const token = this.oAuthService.getAccessToken();\r\n if (!request.headers.has('Authorization') && token) {\r\n headers['Authorization'] = `Bearer ${token}`;\r\n }\r\n\r\n const lang = this.store.selectSnapshot(SessionState.getLanguage);\r\n if (!request.headers.has('Accept-Language') && lang) {\r\n headers['Accept-Language'] = lang;\r\n }\r\n\r\n const tenant = this.store.selectSnapshot(SessionState.getTenant);\r\n if (!request.headers.has('__tenant') && tenant) {\r\n headers['__tenant'] = tenant.id;\r\n }\r\n\r\n return next\r\n .handle(\r\n request.clone({\r\n setHeaders: headers,\r\n }),\r\n )\r\n .pipe(finalize(() => this.store.dispatch(new StopLoader(request))));\r\n }\r\n}\r\n","import { ABP } from './common';\r\n\r\nexport namespace ApplicationConfiguration {\r\n export interface Response {\r\n localization: Localization;\r\n auth: Auth;\r\n setting: Value;\r\n currentUser: CurrentUser;\r\n features: Value;\r\n }\r\n\r\n export interface Localization {\r\n values: LocalizationValue;\r\n languages: Language[];\r\n }\r\n\r\n export interface LocalizationValue {\r\n [key: string]: { [key: string]: string };\r\n }\r\n\r\n export interface Language {\r\n cultureName: string;\r\n uiCultureName: string;\r\n displayName: string;\r\n flagIcon: string;\r\n }\r\n\r\n export interface Auth {\r\n policies: Policy;\r\n grantedPolicies: Policy;\r\n }\r\n\r\n export interface Policy {\r\n [key: string]: boolean;\r\n }\r\n\r\n export interface Value {\r\n values: ABP.Dictionary;\r\n }\r\n\r\n export interface CurrentUser {\r\n isAuthenticated: boolean;\r\n id: string;\r\n tenantId: string;\r\n userName: string;\r\n }\r\n}\r\n","import { Config } from './config';\r\nimport { eLayoutType } from '../enums/common';\r\n\r\nexport namespace ABP {\r\n export interface Root {\r\n environment: Partial;\r\n requirements: Config.Requirements;\r\n }\r\n\r\n export type PagedResponse = {\r\n totalCount: number;\r\n } & PagedItemsResponse;\r\n\r\n export interface PagedItemsResponse {\r\n items: T[];\r\n }\r\n\r\n export interface PageQueryParams {\r\n filter?: string;\r\n sorting?: string;\r\n skipCount?: number;\r\n maxResultCount?: number;\r\n }\r\n\r\n export interface Route {\r\n children?: Route[];\r\n invisible?: boolean;\r\n layout?: eLayoutType;\r\n name: string;\r\n order?: number;\r\n parentName?: string;\r\n path: string;\r\n requiredPolicy?: string;\r\n iconClass?: string;\r\n }\r\n\r\n export interface FullRoute extends Route {\r\n url?: string;\r\n wrapper?: boolean;\r\n }\r\n\r\n export interface BasicItem {\r\n id: string;\r\n name: string;\r\n }\r\n\r\n export interface Dictionary {\r\n [key: string]: T;\r\n }\r\n}\r\n","import { AuthConfig } from 'angular-oauth2-oidc';\r\nimport { Type } from '@angular/core';\r\nimport { ApplicationConfiguration } from './application-configuration';\r\nimport { ABP } from './common';\r\n\r\nexport namespace Config {\r\n export type State = ApplicationConfiguration.Response &\r\n ABP.Root & { environment: Environment } & {\r\n routes: ABP.FullRoute[];\r\n flattedRoutes: ABP.FullRoute[];\r\n };\r\n\r\n export interface Environment {\r\n application: Application;\r\n production: boolean;\r\n oAuthConfig: AuthConfig;\r\n apis: Apis;\r\n localization: { defaultResourceName: string };\r\n }\r\n\r\n export interface Application {\r\n name: string;\r\n logoUrl?: string;\r\n }\r\n\r\n export interface Apis {\r\n [key: string]: { [key: string]: string };\r\n }\r\n\r\n export interface Requirements {\r\n layouts: Type[];\r\n }\r\n\r\n export interface LocalizationWithDefault {\r\n key: string;\r\n defaultValue: string;\r\n }\r\n\r\n export type LocalizationParam = string | LocalizationWithDefault;\r\n}\r\n","import { HttpHeaders, HttpParams } from '@angular/common/http';\r\n\r\nexport namespace Rest {\r\n export interface Config {\r\n skipHandleError?: boolean;\r\n observe?: Observe;\r\n }\r\n\r\n export const enum Observe {\r\n Body = 'body',\r\n Events = 'events',\r\n Response = 'response',\r\n }\r\n\r\n export const enum ResponseType {\r\n ArrayBuffer = 'arraybuffer',\r\n Blob = 'blob',\r\n JSON = 'json',\r\n Text = 'text',\r\n }\r\n\r\n export interface Request {\r\n body?: T;\r\n headers?:\r\n | HttpHeaders\r\n | {\r\n [header: string]: string | string[];\r\n };\r\n method: string;\r\n params?:\r\n | HttpParams\r\n | {\r\n [param: string]: any;\r\n };\r\n reportProgress?: boolean;\r\n responseType?: ResponseType;\r\n url: string;\r\n withCredentials?: boolean;\r\n }\r\n}\r\n","import { ABP } from '../models';\r\n\r\nexport namespace Session {\r\n export interface State {\r\n language: string;\r\n tenant: ABP.BasicItem;\r\n }\r\n}\r\n","export namespace Profile {\r\n export interface State {\r\n profile: Response;\r\n }\r\n\r\n export interface Response {\r\n userName: string;\r\n email: string;\r\n name: string;\r\n surname: string;\r\n phoneNumber: string;\r\n }\r\n\r\n export interface ChangePasswordRequest {\r\n currentPassword: string;\r\n newPassword: string;\r\n }\r\n}\r\n","import { Pipe, PipeTransform, Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { Config } from '../models';\r\nimport { ConfigState } from '../states';\r\n\r\n@Injectable()\r\n@Pipe({\r\n name: 'abpLocalization',\r\n})\r\nexport class LocalizationPipe implements PipeTransform {\r\n constructor(private store: Store) {}\r\n\r\n transform(value: string | Config.LocalizationWithDefault = '', ...interpolateParams: string[]): string {\r\n return this.store.selectSnapshot(\r\n ConfigState.getLocalization(\r\n value,\r\n ...interpolateParams.reduce((acc, val) => (Array.isArray(val) ? [...acc, ...val] : [...acc, val]), []),\r\n ),\r\n );\r\n }\r\n}\r\n","import { Injectable, Pipe, PipeTransform } from '@angular/core';\r\nexport type SortOrder = 'asc' | 'desc';\r\n@Injectable()\r\n@Pipe({\r\n name: 'abpSort',\r\n})\r\nexport class SortPipe implements PipeTransform {\r\n transform(\r\n value: any[],\r\n sortOrder: SortOrder | string = 'asc',\r\n sortKey?: string,\r\n ): any {\r\n sortOrder = sortOrder && (sortOrder.toLowerCase() as any);\r\n\r\n if (!value || (sortOrder !== 'asc' && sortOrder !== 'desc')) return value;\r\n\r\n let numberArray = [];\r\n let stringArray = [];\r\n\r\n if (!sortKey) {\r\n numberArray = value.filter(item => typeof item === 'number').sort();\r\n stringArray = value.filter(item => typeof item === 'string').sort();\r\n } else {\r\n numberArray = value\r\n .filter(item => typeof item[sortKey] === 'number')\r\n .sort((a, b) => a[sortKey] - b[sortKey]);\r\n stringArray = value\r\n .filter(item => typeof item[sortKey] === 'string')\r\n .sort((a, b) => {\r\n if (a[sortKey] < b[sortKey]) return -1;\r\n else if (a[sortKey] > b[sortKey]) return 1;\r\n else return 0;\r\n });\r\n }\r\n const sorted = [\r\n ...numberArray,\r\n ...stringArray,\r\n ...value.filter(\r\n item =>\r\n typeof (sortKey ? item[sortKey] : item) !== 'number' &&\r\n typeof (sortKey ? item[sortKey] : item) !== 'string',\r\n ),\r\n ];\r\n return sortOrder === 'asc' ? sorted : sorted.reverse();\r\n }\r\n}\r\n","import { Inject, Injectable, InjectionToken } from '@angular/core';\r\nimport { Router, Routes } from '@angular/router';\r\nimport { actionMatcher, InitState, NgxsNextPluginFn, NgxsPlugin, setValue, UpdateState } from '@ngxs/store';\r\nimport snq from 'snq';\r\nimport { ABP } from '../models';\r\nimport { organizeRoutes, getAbpRoutes } from '../utils/route-utils';\r\nimport clone from 'just-clone';\r\n\r\nexport const NGXS_CONFIG_PLUGIN_OPTIONS = new InjectionToken('NGXS_CONFIG_PLUGIN_OPTIONS');\r\n\r\n@Injectable()\r\nexport class ConfigPlugin implements NgxsPlugin {\r\n private initialized = false;\r\n\r\n constructor(@Inject(NGXS_CONFIG_PLUGIN_OPTIONS) private options: ABP.Root, private router: Router) {}\r\n\r\n handle(state: any, event: any, next: NgxsNextPluginFn) {\r\n const matches = actionMatcher(event);\r\n const isInitAction = matches(InitState) || matches(UpdateState);\r\n\r\n if (isInitAction && !this.initialized) {\r\n const transformedRoutes = transformRoutes(this.router.config);\r\n let { routes } = transformedRoutes;\r\n const { wrappers } = transformedRoutes;\r\n\r\n routes = organizeRoutes(routes, wrappers);\r\n const flattedRoutes = flatRoutes(clone(routes));\r\n state = setValue(state, 'ConfigState', {\r\n ...(state.ConfigState && { ...state.ConfigState }),\r\n ...this.options,\r\n routes,\r\n flattedRoutes,\r\n });\r\n\r\n this.initialized = true;\r\n }\r\n\r\n return next(state, event);\r\n }\r\n}\r\n\r\nfunction transformRoutes(routes: Routes = [], wrappers: ABP.FullRoute[] = []): any {\r\n // TODO: remove in v1\r\n const oldAbpRoutes: ABP.FullRoute[] = routes\r\n .filter(route => {\r\n return snq(() => route.data.routes.routes.find(r => r.path === route.path), false);\r\n })\r\n .reduce((acc, val) => [...acc, ...val.data.routes.routes], []);\r\n // tslint:disable-next-line: deprecation\r\n const abpRoutes = [...getAbpRoutes(), ...oldAbpRoutes];\r\n\r\n wrappers = abpRoutes.filter(ar => ar.wrapper);\r\n const transformed = [] as ABP.FullRoute[];\r\n routes\r\n .filter(route => route.component || route.loadChildren)\r\n .forEach(route => {\r\n const abpPackage = abpRoutes.find(abp => abp.path.toLowerCase() === route.path.toLowerCase() && !abp.wrapper);\r\n\r\n const { length } = transformed;\r\n\r\n if (abpPackage) {\r\n transformed.push(abpPackage);\r\n }\r\n\r\n if (transformed.length === length && (route.data || {}).routes) {\r\n transformed.push({\r\n ...route.data.routes,\r\n path: route.path,\r\n name: snq(() => route.data.routes.name, route.path),\r\n children: route.data.routes.children || [],\r\n } as ABP.FullRoute);\r\n }\r\n });\r\n\r\n return { routes: setUrls(transformed), wrappers };\r\n}\r\n\r\nfunction setUrls(routes: ABP.FullRoute[], parentUrl?: string): ABP.FullRoute[] {\r\n if (parentUrl) {\r\n // this if block using for only recursive call\r\n\r\n return routes.map(route => ({\r\n ...route,\r\n url: `${parentUrl}/${route.path}`,\r\n ...(route.children &&\r\n route.children.length && {\r\n children: setUrls(route.children, `${parentUrl}/${route.path}`),\r\n }),\r\n }));\r\n }\r\n\r\n return routes.map(route => ({\r\n ...route,\r\n url: `/${route.path}`,\r\n ...(route.children &&\r\n route.children.length && {\r\n children: setUrls(route.children, `/${route.path}`),\r\n }),\r\n }));\r\n}\r\n\r\nfunction flatRoutes(routes: ABP.FullRoute[]): ABP.FullRoute[] {\r\n const flat = (r: ABP.FullRoute[]) => {\r\n return r.reduce((acc, val) => {\r\n let value: ABP.FullRoute[] = [val];\r\n if (val.children) {\r\n value = [val, ...flat(val.children)];\r\n }\r\n\r\n return [...acc, ...value];\r\n }, []);\r\n };\r\n\r\n return flat(routes);\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { ConfigState } from '../states';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ConfigStateService {\r\n constructor(private store: Store) {}\r\n\r\n getAll() {\r\n return this.store.selectSnapshot(ConfigState.getAll);\r\n }\r\n\r\n getApplicationInfo() {\r\n return this.store.selectSnapshot(ConfigState.getApplicationInfo);\r\n }\r\n\r\n getOne(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getOne(...args));\r\n }\r\n\r\n getDeep(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getDeep(...args));\r\n }\r\n\r\n getRoute(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getRoute(...args));\r\n }\r\n\r\n getApiUrl(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getApiUrl(...args));\r\n }\r\n\r\n getSetting(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getSetting(...args));\r\n }\r\n\r\n getSettings(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getSettings(...args));\r\n }\r\n\r\n getGrantedPolicy(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getGrantedPolicy(...args));\r\n }\r\n\r\n getLocalization(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getLocalization(...args));\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable, ReplaySubject, throwError } from 'rxjs';\r\nimport { uuid } from '../utils';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class LazyLoadService {\r\n loadedLibraries: { [url: string]: ReplaySubject } = {};\r\n\r\n load(\r\n urlOrUrls: string | string[],\r\n type: 'script' | 'style',\r\n content: string = '',\r\n targetQuery: string = 'body',\r\n position: InsertPosition = 'beforeend',\r\n ): Observable {\r\n if (!urlOrUrls && !content) {\r\n return throwError('Should pass url or content');\r\n } else if (!urlOrUrls && content) {\r\n urlOrUrls = [null];\r\n }\r\n\r\n if (!Array.isArray(urlOrUrls)) {\r\n urlOrUrls = [urlOrUrls];\r\n }\r\n\r\n return new Observable(subscriber => {\r\n (urlOrUrls as string[]).forEach((url, index) => {\r\n const key = url ? url.slice(url.lastIndexOf('/') + 1) : uuid();\r\n\r\n if (this.loadedLibraries[key]) {\r\n subscriber.next();\r\n subscriber.complete();\r\n return;\r\n }\r\n\r\n this.loadedLibraries[key] = new ReplaySubject();\r\n\r\n let library;\r\n if (type === 'script') {\r\n library = document.createElement('script');\r\n library.type = 'text/javascript';\r\n if (url) {\r\n (library as HTMLScriptElement).src = url;\r\n }\r\n\r\n (library as HTMLScriptElement).text = content;\r\n } else if (url) {\r\n library = document.createElement('link');\r\n library.type = 'text/css';\r\n (library as HTMLLinkElement).rel = 'stylesheet';\r\n\r\n if (url) {\r\n (library as HTMLLinkElement).href = url;\r\n }\r\n } else {\r\n library = document.createElement('style');\r\n (library as HTMLStyleElement).textContent = content;\r\n }\r\n\r\n library.onload = () => {\r\n this.loadedLibraries[key].next();\r\n this.loadedLibraries[key].complete();\r\n\r\n if (index === urlOrUrls.length - 1) {\r\n subscriber.next();\r\n subscriber.complete();\r\n }\r\n };\r\n\r\n document.querySelector(targetQuery).insertAdjacentElement(position, library);\r\n });\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { ProfileState } from '../states';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ProfileStateService {\r\n constructor(private store: Store) {}\r\n\r\n getProfile() {\r\n return this.store.selectSnapshot(ProfileState.getProfile);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { SessionState } from '../states';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class SessionStateService {\r\n constructor(private store: Store) {}\r\n\r\n getLanguage() {\r\n return this.store.selectSnapshot(SessionState.getLanguage);\r\n }\r\n\r\n getTenant() {\r\n return this.store.selectSnapshot(SessionState.getTenant);\r\n }\r\n}\r\n","import { InjectionToken } from '@angular/core';\r\nimport { Config } from '../models';\r\n\r\nexport function environmentFactory(environment: Config.Environment) {\r\n return {\r\n ...environment,\r\n };\r\n}\r\n\r\nexport function configFactory(config: Config.Requirements) {\r\n return {\r\n ...config,\r\n };\r\n}\r\n\r\nexport const ENVIRONMENT = new InjectionToken('ENVIRONMENT');\r\n\r\nexport const CONFIG = new InjectionToken('CONFIG');\r\n","import { Directive, ElementRef, EventEmitter, Input, OnDestroy, OnInit, Output } from '@angular/core';\r\nimport { takeUntilDestroy } from '@ngx-validate/core';\r\nimport { fromEvent } from 'rxjs';\r\nimport { debounceTime } from 'rxjs/operators';\r\n\r\n@Directive({\r\n // tslint:disable-next-line: directive-selector\r\n selector: '[input.debounce]',\r\n})\r\nexport class InputEventDebounceDirective implements OnInit, OnDestroy {\r\n @Input() debounce = 300;\r\n\r\n @Output('input.debounce') readonly debounceEvent = new EventEmitter();\r\n\r\n constructor(private el: ElementRef) {}\r\n\r\n ngOnInit(): void {\r\n fromEvent(this.el.nativeElement, 'input')\r\n .pipe(\r\n debounceTime(this.debounce),\r\n takeUntilDestroy(this),\r\n )\r\n .subscribe((event: Event) => {\r\n this.debounceEvent.emit(event);\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {}\r\n}\r\n","import { Directive, ElementRef, EventEmitter, OnInit, Output, OnDestroy } from '@angular/core';\r\nimport { fromEvent } from 'rxjs';\r\nimport { takeUntilDestroy } from '../utils/rxjs-utils';\r\n\r\n@Directive({\r\n // tslint:disable-next-line: directive-selector\r\n selector: '[click.stop]',\r\n})\r\nexport class ClickEventStopPropagationDirective implements OnInit, OnDestroy {\r\n @Output('click.stop') readonly stopPropEvent = new EventEmitter();\r\n\r\n constructor(private el: ElementRef) {}\r\n\r\n ngOnInit(): void {\r\n fromEvent(this.el.nativeElement, 'click')\r\n .pipe(takeUntilDestroy(this))\r\n .subscribe((event: MouseEvent) => {\r\n event.stopPropagation();\r\n this.stopPropEvent.emit(event);\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {}\r\n}\r\n","import { LOCALE_ID, Provider } from '@angular/core';\r\nimport localesMapping from '../constants/different-locales';\r\nimport { LocalizationService } from '../services/localization.service';\r\n\r\nexport class LocaleId extends String {\r\n constructor(private localizationService: LocalizationService) {\r\n super();\r\n }\r\n\r\n toString(): string {\r\n const { currentLang } = this.localizationService;\r\n return localesMapping[currentLang] || currentLang;\r\n }\r\n\r\n valueOf(): string {\r\n return this.toString();\r\n }\r\n}\r\n\r\nexport const LocaleProvider: Provider = {\r\n provide: LOCALE_ID,\r\n useClass: LocaleId,\r\n deps: [LocalizationService],\r\n};\r\n","export {};\r\n\r\ndeclare global {\r\n interface Date {\r\n toLocalISOString(): string;\r\n }\r\n}\r\n\r\nDate.prototype.toLocalISOString = function(this: Date): string {\r\n const timezoneOffset = this.getTimezoneOffset();\r\n\r\n return new Date(this.getTime() - timezoneOffset * 60000).toISOString();\r\n};\r\n","import { CommonModule } from '@angular/common';\r\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { APP_INITIALIZER, Injector, ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { RouterModule } from '@angular/router';\r\nimport { NgxsRouterPluginModule } from '@ngxs/router-plugin';\r\nimport { NgxsStoragePluginModule } from '@ngxs/storage-plugin';\r\nimport { NgxsModule, NGXS_PLUGINS } from '@ngxs/store';\r\nimport { OAuthModule } from 'angular-oauth2-oidc';\r\nimport { AbstractNgModelComponent } from './abstracts/ng-model.component';\r\nimport { DynamicLayoutComponent } from './components/dynamic-layout.component';\r\nimport { RouterOutletComponent } from './components/router-outlet.component';\r\nimport { AutofocusDirective } from './directives/autofocus.directive';\r\nimport { InputEventDebounceDirective } from './directives/debounce.directive';\r\nimport { EllipsisDirective } from './directives/ellipsis.directive';\r\nimport { ForDirective } from './directives/for.directive';\r\nimport { FormSubmitDirective } from './directives/form-submit.directive';\r\nimport { PermissionDirective } from './directives/permission.directive';\r\nimport { ClickEventStopPropagationDirective } from './directives/stop-propagation.directive';\r\nimport { VisibilityDirective } from './directives/visibility.directive';\r\nimport { ApiInterceptor } from './interceptors/api.interceptor';\r\nimport { ABP } from './models/common';\r\nimport { LocalizationPipe } from './pipes/localization.pipe';\r\nimport { SortPipe } from './pipes/sort.pipe';\r\nimport { ConfigPlugin, NGXS_CONFIG_PLUGIN_OPTIONS } from './plugins/config.plugin';\r\nimport { LocaleProvider } from './providers/locale.provider';\r\nimport { ConfigState } from './states/config.state';\r\nimport { ProfileState } from './states/profile.state';\r\nimport { SessionState } from './states/session.state';\r\nimport { getInitialData, localeInitializer } from './utils/initial-utils';\r\nimport './utils/date-extensions';\r\n\r\n@NgModule({\r\n imports: [\r\n NgxsModule.forFeature([ProfileState, SessionState, ConfigState]),\r\n NgxsRouterPluginModule.forRoot(),\r\n NgxsStoragePluginModule.forRoot({ key: ['SessionState'] }),\r\n OAuthModule.forRoot(),\r\n CommonModule,\r\n HttpClientModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n RouterModule,\r\n ],\r\n declarations: [\r\n RouterOutletComponent,\r\n DynamicLayoutComponent,\r\n AutofocusDirective,\r\n EllipsisDirective,\r\n ForDirective,\r\n FormSubmitDirective,\r\n LocalizationPipe,\r\n SortPipe,\r\n PermissionDirective,\r\n VisibilityDirective,\r\n InputEventDebounceDirective,\r\n ClickEventStopPropagationDirective,\r\n AbstractNgModelComponent,\r\n ],\r\n exports: [\r\n CommonModule,\r\n HttpClientModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n RouterModule,\r\n RouterOutletComponent,\r\n DynamicLayoutComponent,\r\n AutofocusDirective,\r\n EllipsisDirective,\r\n ForDirective,\r\n FormSubmitDirective,\r\n LocalizationPipe,\r\n SortPipe,\r\n PermissionDirective,\r\n VisibilityDirective,\r\n InputEventDebounceDirective,\r\n LocalizationPipe,\r\n ClickEventStopPropagationDirective,\r\n AbstractNgModelComponent,\r\n ],\r\n providers: [LocalizationPipe],\r\n entryComponents: [RouterOutletComponent, DynamicLayoutComponent],\r\n})\r\nexport class CoreModule {\r\n static forRoot(options = {} as ABP.Root): ModuleWithProviders {\r\n return {\r\n ngModule: CoreModule,\r\n providers: [\r\n LocaleProvider,\r\n {\r\n provide: NGXS_PLUGINS,\r\n useClass: ConfigPlugin,\r\n multi: true,\r\n },\r\n {\r\n provide: NGXS_CONFIG_PLUGIN_OPTIONS,\r\n useValue: options,\r\n },\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: ApiInterceptor,\r\n multi: true,\r\n },\r\n {\r\n provide: APP_INITIALIZER,\r\n multi: true,\r\n deps: [Injector],\r\n useFactory: getInitialData,\r\n },\r\n {\r\n provide: APP_INITIALIZER,\r\n multi: true,\r\n deps: [Injector],\r\n useFactory: localeInitializer,\r\n },\r\n ],\r\n };\r\n }\r\n}\r\n"],"names":["differentLocales","noop","tslib_1.__decorate","takeUntilDestroy"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA;;;AAGA,MAAa,wBAAwB;;;;IAkBnC,YAAmB,QAAkB;QAAlB,aAAQ,GAAR,QAAQ,CAAU;QACnC,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAC,GAAG,oBAAoB,iBAAiB,GAA4B,CAAC;KAC5F;;;;;IAjBD,IAAa,KAAK,CAAC,KAAQ;QACzB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,IAAI,CAAC,iBAAiB,EAAE,CAAC;KAC1B;;;;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;KACpB;;;;IAYD,iBAAiB;QACf,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAC3B;KACF;;;;;IAED,UAAU,CAAC,KAAQ;QACjB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,UAAU;;;QAAC,MAAM,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,GAAE,CAAC,CAAC,CAAC;KACjD;;;;;IAED,gBAAgB,CAAC,EAAO;QACtB,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;KACpB;;;;;IAED,iBAAiB,CAAC,EAAO;QACvB,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;KACrB;;;;;IAED,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OAAO,EAAE;oBAChC,uBAAuB,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,EAAE,CAAC;oBAC1D,WAAW,CAAC,OAAO,EAAE;oBACrB,YAAY;oBACZ,gBAAgB;oBAChB,WAAW;oBACX,mBAAmB;oBACnB,YAAY;iBACb;gBACD,YAAY,EAAE;oBACZ,qBAAqB;oBACrB,sBAAsB;oBACtB,kBAAkB;oBAClB,iBAAiB;oBACjB,YAAY;oBACZ,mBAAmB;oBACnB,gBAAgB;oBAChB,QAAQ;oBACR,mBAAmB;oBACnB,mBAAmB;oBACnB,2BAA2B;oBAC3B,kCAAkC;oBAClC,wBAAwB;iBACzB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,gBAAgB;oBAChB,WAAW;oBACX,mBAAmB;oBACnB,YAAY;oBACZ,qBAAqB;oBACrB,sBAAsB;oBACtB,kBAAkB;oBAClB,iBAAiB;oBACjB,YAAY;oBACZ,mBAAmB;oBACnB,gBAAgB;oBAChB,QAAQ;oBACR,mBAAmB;oBACnB,mBAAmB;oBACnB,2BAA2B;oBAC3B,gBAAgB;oBAChB,kCAAkC;oBAClC,wBAAwB;iBACzB;gBACD,SAAS,EAAE,CAAC,gBAAgB,CAAC;gBAC7B,eAAe,EAAE,CAAC,qBAAqB,EAAE,sBAAsB,CAAC;aACjE;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/core/fesm5/abp-ng.core.js b/npm/ng-packs/dist/core/fesm5/abp-ng.core.js deleted file mode 100644 index 7043fd274c8..00000000000 --- a/npm/ng-packs/dist/core/fesm5/abp-ng.core.js +++ /dev/null @@ -1,4376 +0,0 @@ -import { ChangeDetectorRef, Component, Injector, Input, Injectable, ɵɵdefineInjectable, ɵɵinject, NgZone, Optional, SkipSelf, Directive, ElementRef, HostBinding, TemplateRef, ViewContainerRef, IterableDiffers, EventEmitter, Self, Output, Renderer2, Pipe, InjectionToken, Inject, LOCALE_ID, APP_INITIALIZER, NgModule } from '@angular/core'; -import { __rest, __assign, __spread, __awaiter, __generator, __decorate, __metadata, __extends } from 'tslib'; -import { Router, NavigationEnd, ActivatedRoute, RouterModule } from '@angular/router'; -import { Store, Action, Selector, State, createSelector, Select, actionMatcher, InitState, UpdateState, setValue, NGXS_PLUGINS, NgxsModule } from '@ngxs/store'; -import { throwError, noop as noop$1, from, of, Subject, Observable, fromEvent, ReplaySubject } from 'rxjs'; -import snq from 'snq'; -import { take, tap, catchError, switchMap, takeUntil, debounceTime, filter, finalize } from 'rxjs/operators'; -import { HttpClient, HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http'; -import { registerLocaleData, CommonModule } from '@angular/common'; -import compare from 'just-compare'; -import clone from 'just-clone'; -import { FormGroupDirective, FormsModule, ReactiveFormsModule } from '@angular/forms'; -import { OAuthService, OAuthModule } from 'angular-oauth2-oidc'; -import { NgxsRouterPluginModule } from '@ngxs/router-plugin'; -import { NgxsStoragePluginModule } from '@ngxs/storage-plugin'; -import { takeUntilDestroy as takeUntilDestroy$1 } from '@ngx-validate/core'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/abstracts/ng-model.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @template T - */ -var AbstractNgModelComponent = /** @class */ (function () { - function AbstractNgModelComponent(injector) { - this.injector = injector; - this.cdRef = injector.get((/** @type {?} */ (ChangeDetectorRef))); - } - Object.defineProperty(AbstractNgModelComponent.prototype, "value", { - get: /** - * @return {?} - */ - function () { - return this._value; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - this._value = value; - this.notifyValueChange(); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - AbstractNgModelComponent.prototype.notifyValueChange = /** - * @return {?} - */ - function () { - if (this.onChange) { - this.onChange(this.value); - } - }; - /** - * @param {?} value - * @return {?} - */ - AbstractNgModelComponent.prototype.writeValue = /** - * @param {?} value - * @return {?} - */ - function (value) { - var _this = this; - this._value = value; - setTimeout((/** - * @return {?} - */ - function () { return _this.cdRef.detectChanges(); }), 0); - }; - /** - * @param {?} fn - * @return {?} - */ - AbstractNgModelComponent.prototype.registerOnChange = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - this.onChange = fn; - }; - /** - * @param {?} fn - * @return {?} - */ - AbstractNgModelComponent.prototype.registerOnTouched = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - this.onTouched = fn; - }; - /** - * @param {?} isDisabled - * @return {?} - */ - AbstractNgModelComponent.prototype.setDisabledState = /** - * @param {?} isDisabled - * @return {?} - */ - function (isDisabled) { - this.disabled = isDisabled; - }; - AbstractNgModelComponent.decorators = [ - { type: Component, args: [{ selector: 'abp-abstract-ng-model', template: '' }] } - ]; - /** @nocollapse */ - AbstractNgModelComponent.ctorParameters = function () { return [ - { type: Injector } - ]; }; - AbstractNgModelComponent.propDecorators = { - disabled: [{ type: Input }], - value: [{ type: Input }] - }; - return AbstractNgModelComponent; -}()); -if (false) { - /** @type {?} */ - AbstractNgModelComponent.prototype.disabled; - /** @type {?} */ - AbstractNgModelComponent.prototype.onChange; - /** @type {?} */ - AbstractNgModelComponent.prototype.onTouched; - /** - * @type {?} - * @protected - */ - AbstractNgModelComponent.prototype._value; - /** - * @type {?} - * @protected - */ - AbstractNgModelComponent.prototype.cdRef; - /** @type {?} */ - AbstractNgModelComponent.prototype.injector; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/abstracts/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/config.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var PatchRouteByName = /** @class */ (function () { - function PatchRouteByName(name, newValue) { - this.name = name; - this.newValue = newValue; - } - PatchRouteByName.type = '[Config] Patch Route By Name'; - return PatchRouteByName; -}()); -if (false) { - /** @type {?} */ - PatchRouteByName.type; - /** @type {?} */ - PatchRouteByName.prototype.name; - /** @type {?} */ - PatchRouteByName.prototype.newValue; -} -var GetAppConfiguration = /** @class */ (function () { - function GetAppConfiguration() { - } - GetAppConfiguration.type = '[Config] Get App Configuration'; - return GetAppConfiguration; -}()); -if (false) { - /** @type {?} */ - GetAppConfiguration.type; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/loader.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var StartLoader = /** @class */ (function () { - function StartLoader(payload) { - this.payload = payload; - } - StartLoader.type = '[Loader] Start'; - return StartLoader; -}()); -if (false) { - /** @type {?} */ - StartLoader.type; - /** @type {?} */ - StartLoader.prototype.payload; -} -var StopLoader = /** @class */ (function () { - function StopLoader(payload) { - this.payload = payload; - } - StopLoader.type = '[Loader] Stop'; - return StopLoader; -}()); -if (false) { - /** @type {?} */ - StopLoader.type; - /** @type {?} */ - StopLoader.prototype.payload; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/profile.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var GetProfile = /** @class */ (function () { - function GetProfile() { - } - GetProfile.type = '[Profile] Get'; - return GetProfile; -}()); -if (false) { - /** @type {?} */ - GetProfile.type; -} -var UpdateProfile = /** @class */ (function () { - function UpdateProfile(payload) { - this.payload = payload; - } - UpdateProfile.type = '[Profile] Update'; - return UpdateProfile; -}()); -if (false) { - /** @type {?} */ - UpdateProfile.type; - /** @type {?} */ - UpdateProfile.prototype.payload; -} -var ChangePassword = /** @class */ (function () { - function ChangePassword(payload) { - this.payload = payload; - } - ChangePassword.type = '[Profile] Change Password'; - return ChangePassword; -}()); -if (false) { - /** @type {?} */ - ChangePassword.type; - /** @type {?} */ - ChangePassword.prototype.payload; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/rest.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var RestOccurError = /** @class */ (function () { - function RestOccurError(payload) { - this.payload = payload; - } - RestOccurError.type = '[Rest] Error'; - return RestOccurError; -}()); -if (false) { - /** @type {?} */ - RestOccurError.type; - /** @type {?} */ - RestOccurError.prototype.payload; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/session.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var SetLanguage = /** @class */ (function () { - function SetLanguage(payload) { - this.payload = payload; - } - SetLanguage.type = '[Session] Set Language'; - return SetLanguage; -}()); -if (false) { - /** @type {?} */ - SetLanguage.type; - /** @type {?} */ - SetLanguage.prototype.payload; -} -var SetTenant = /** @class */ (function () { - function SetTenant(payload) { - this.payload = payload; - } - SetTenant.type = '[Session] Set Tenant'; - return SetTenant; -}()); -if (false) { - /** @type {?} */ - SetTenant.type; - /** @type {?} */ - SetTenant.prototype.payload; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/rest.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var RestService = /** @class */ (function () { - function RestService(http, store) { - this.http = http; - this.store = store; - } - /** - * @param {?} err - * @return {?} - */ - RestService.prototype.handleError = /** - * @param {?} err - * @return {?} - */ - function (err) { - this.store.dispatch(new RestOccurError(err)); - console.error(err); - return throwError(err); - }; - /** - * @template T, R - * @param {?} request - * @param {?=} config - * @param {?=} api - * @return {?} - */ - RestService.prototype.request = /** - * @template T, R - * @param {?} request - * @param {?=} config - * @param {?=} api - * @return {?} - */ - function (request, config, api) { - var _this = this; - config = config || ((/** @type {?} */ ({}))); - var _a = config.observe, observe = _a === void 0 ? "body" /* Body */ : _a, skipHandleError = config.skipHandleError; - /** @type {?} */ - var url = (api || this.store.selectSnapshot(ConfigState.getApiUrl())) + request.url; - var method = request.method, params = request.params, options = __rest(request, ["method", "params"]); - return this.http - .request(method, url, (/** @type {?} */ (__assign({ observe: observe }, (params && { - params: Object.keys(params).reduce((/** - * @param {?} acc - * @param {?} key - * @return {?} - */ - function (acc, key) { - var _a; - return (__assign({}, acc, (typeof params[key] !== 'undefined' && params[key] !== '' && (_a = {}, _a[key] = params[key], _a)))); - }), {}), - }), options)))) - .pipe(observe === "body" /* Body */ ? take(1) : tap(), catchError((/** - * @param {?} err - * @return {?} - */ - function (err) { - if (skipHandleError) { - return throwError(err); - } - return _this.handleError(err); - }))); - }; - RestService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - RestService.ctorParameters = function () { return [ - { type: HttpClient }, - { type: Store } - ]; }; - /** @nocollapse */ RestService.ngInjectableDef = ɵɵdefineInjectable({ factory: function RestService_Factory() { return new RestService(ɵɵinject(HttpClient), ɵɵinject(Store)); }, token: RestService, providedIn: "root" }); - return RestService; -}()); -if (false) { - /** - * @type {?} - * @private - */ - RestService.prototype.http; - /** - * @type {?} - * @private - */ - RestService.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/application-configuration.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ApplicationConfigurationService = /** @class */ (function () { - function ApplicationConfigurationService(rest) { - this.rest = rest; - } - /** - * @return {?} - */ - ApplicationConfigurationService.prototype.getConfiguration = /** - * @return {?} - */ - function () { - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/abp/application-configuration', - }; - return this.rest.request(request); - }; - ApplicationConfigurationService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - ApplicationConfigurationService.ctorParameters = function () { return [ - { type: RestService } - ]; }; - /** @nocollapse */ ApplicationConfigurationService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ApplicationConfigurationService_Factory() { return new ApplicationConfigurationService(ɵɵinject(RestService)); }, token: ApplicationConfigurationService, providedIn: "root" }); - return ApplicationConfigurationService; -}()); -if (false) { - /** - * @type {?} - * @private - */ - ApplicationConfigurationService.prototype.rest; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/route-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?} routes - * @param {?=} wrappers - * @param {?=} parentNameArr - * @param {?=} parentName - * @return {?} - */ -function organizeRoutes(routes, wrappers, parentNameArr, parentName) { - if (wrappers === void 0) { wrappers = []; } - if (parentNameArr === void 0) { parentNameArr = (/** @type {?} */ ([])); } - if (parentName === void 0) { parentName = null; } - /** @type {?} */ - var filter = (/** - * @param {?} route - * @return {?} - */ - function (route) { - if (route.children && route.children.length) { - route.children = organizeRoutes(route.children, wrappers, parentNameArr, route.name); - } - if (route.parentName && route.parentName !== parentName) { - parentNameArr.push(route); - return false; - } - return true; - }); - if (parentName) { - // recursive block - return routes.filter(filter); - } - /** @type {?} */ - var filteredRoutes = routes.filter(filter); - if (parentNameArr.length) { - return sortRoutes(setChildRoute(__spread(filteredRoutes, wrappers), parentNameArr)); - } - return filteredRoutes; -} -/** - * @param {?} routes - * @param {?} parentNameArr - * @return {?} - */ -function setChildRoute(routes, parentNameArr) { - return routes.map((/** - * @param {?} route - * @return {?} - */ - function (route) { - if (route.children && route.children.length) { - route.children = setChildRoute(route.children, parentNameArr); - } - /** @type {?} */ - var foundedChildren = parentNameArr.filter((/** - * @param {?} parent - * @return {?} - */ - function (parent) { return parent.parentName === route.name; })); - if (foundedChildren && foundedChildren.length) { - route.children = __spread((route.children || []), foundedChildren); - } - return route; - })); -} -/** - * @param {?=} routes - * @return {?} - */ -function sortRoutes(routes) { - if (routes === void 0) { routes = []; } - if (!routes.length) - return []; - return routes - .map((/** - * @param {?} route - * @param {?} index - * @return {?} - */ - function (route, index) { - return __assign({}, route, { order: typeof route.order === 'undefined' ? index + 1 : route.order }); - })) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - function (a, b) { return a.order - b.order; })) - .map((/** - * @param {?} route - * @return {?} - */ - function (route) { - if (route.children && route.children.length) { - route.children = sortRoutes(route.children); - } - return route; - })); -} -/** @type {?} */ -var ABP_ROUTES = (/** @type {?} */ ([])); -/** - * @param {?} routes - * @return {?} - */ -function addAbpRoutes(routes) { - if (!Array.isArray(routes)) { - routes = [routes]; - } - ABP_ROUTES.push.apply(ABP_ROUTES, __spread(routes)); -} -/** - * @return {?} - */ -function getAbpRoutes() { - return ABP_ROUTES; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/different-locales.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -// Different locales from .NET -// Key is .NET locale, value is Angular locale -var localesMapping = { - 'ar-sa': 'ar-SA', - 'ca-ES-valencia': 'ca-ES-VALENCIA', - 'de-de': 'de', - 'es-ES': 'es', - 'en-US': 'en', - 'fil-Latn': 'en', - 'ku-Arab': 'en', - 'ky-Cyrl': 'en', - 'mi-Latn': 'en', - 'prs-Arab': 'en', - 'qut-Latn': 'en', - nso: 'en', - quz: 'en', - 'fr-FR': 'fr', - 'gd-Latn': 'gd', - 'ha-Latn': 'ha', - 'ig-Latn': 'ig', - 'it-it': 'it', - 'mn-Cyrl': 'mn', - 'pt-BR': 'pt', - 'sd-Arab': 'pa-Arab', - 'sr-Cyrl-RS': 'sr-Cyrl', - 'sr-Latn-RS': 'sr-Latn', - 'tg-Cyrl': 'tg', - 'tk-Latn': 'tk', - 'tt-Cyrl': 'tt', - 'ug-Arab': 'ug', - 'yo-Latn': 'yo', -}; - -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/initial-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?} injector - * @return {?} - */ -function getInitialData(injector) { - /** @type {?} */ - var fn = (/** - * @return {?} - */ - function () { - /** @type {?} */ - var store = injector.get(Store); - return store.dispatch(new GetAppConfiguration()).toPromise(); - }); - return fn; -} -/** - * @param {?} injector - * @return {?} - */ -function localeInitializer(injector) { - /** @type {?} */ - var fn = (/** - * @return {?} - */ - function () { - /** @type {?} */ - var store = injector.get(Store); - /** @type {?} */ - var lang = store.selectSnapshot((/** - * @param {?} state - * @return {?} - */ - function (state) { return state.SessionState.language; })) || 'en'; - return new Promise((/** - * @param {?} resolve - * @param {?} reject - * @return {?} - */ - function (resolve, reject) { - registerLocale(lang).then((/** - * @return {?} - */ - function () { return resolve('resolved'); }), reject); - })); - }); - return fn; -} -/** - * @param {?} locale - * @return {?} - */ -function registerLocale(locale) { - return import( - /* webpackInclude: /(af|am|ar-SA|as|az-Latn|be|bg|bn-BD|bn-IN|bs|ca|ca-ES-VALENCIA|cs|cy|da|de|de|el|en-GB|en|es|en|es-US|es-MX|et|eu|fa|fi|en|fr|fr|fr-CA|ga|gd|gl|gu|ha|he|hi|hr|hu|hy|id|ig|is|it|it|ja|ka|kk|km|kn|ko|kok|en|en|lb|lt|lv|en|mk|ml|mn|mr|ms|mt|nb|ne|nl|nl-BE|nn|en|or|pa|pa-Arab|pl|en|pt|pt-PT|en|en|ro|ru|rw|pa-Arab|si|sk|sl|sq|sr-Cyrl-BA|sr-Cyrl|sr-Latn|sv|sw|ta|te|tg|th|ti|tk|tn|tr|tt|ug|uk|ur|uz-Latn|vi|wo|xh|yo|zh-Hans|zh-Hant|zu)\.js$/ */ - "@angular/common/locales/" + (localesMapping[locale] || locale) + ".js").then((/** - * @param {?} module - * @return {?} - */ - function (module) { - registerLocaleData(module.default); - })); -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/localization.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var LocalizationService = /** @class */ (function () { - function LocalizationService(store, router, ngZone, otherInstance) { - this.store = store; - this.router = router; - this.ngZone = ngZone; - if (otherInstance) - throw new Error('LocalizationService should have only one instance.'); - } - Object.defineProperty(LocalizationService.prototype, "currentLang", { - get: /** - * @return {?} - */ - function () { - return this.store.selectSnapshot((/** - * @param {?} state - * @return {?} - */ - function (state) { return state.SessionState.language; })); - }, - enumerable: true, - configurable: true - }); - /** - * @param {?} reuse - * @return {?} - */ - LocalizationService.prototype.setRouteReuse = /** - * @param {?} reuse - * @return {?} - */ - function (reuse) { - this.router.routeReuseStrategy.shouldReuseRoute = reuse; - }; - /** - * @param {?} locale - * @return {?} - */ - LocalizationService.prototype.registerLocale = /** - * @param {?} locale - * @return {?} - */ - function (locale) { - var _this = this; - var shouldReuseRoute = this.router.routeReuseStrategy.shouldReuseRoute; - this.setRouteReuse((/** - * @return {?} - */ - function () { return false; })); - this.router.navigated = false; - return registerLocale(locale).then((/** - * @return {?} - */ - function () { - _this.ngZone.run((/** - * @return {?} - */ - function () { return __awaiter(_this, void 0, void 0, function () { - return __generator(this, function (_a) { - switch (_a.label) { - case 0: return [4 /*yield*/, this.router.navigateByUrl(this.router.url).catch(noop$1)]; - case 1: - _a.sent(); - this.setRouteReuse(shouldReuseRoute); - return [2 /*return*/]; - } - }); - }); })); - })); - }; - /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - LocalizationService.prototype.get = /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - function (key) { - var interpolateParams = []; - for (var _i = 1; _i < arguments.length; _i++) { - interpolateParams[_i - 1] = arguments[_i]; - } - return this.store.select(ConfigState.getLocalization.apply(ConfigState, __spread([key], interpolateParams))); - }; - /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - LocalizationService.prototype.instant = /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - function (key) { - var interpolateParams = []; - for (var _i = 1; _i < arguments.length; _i++) { - interpolateParams[_i - 1] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getLocalization.apply(ConfigState, __spread([key], interpolateParams))); - }; - LocalizationService.decorators = [ - { type: Injectable, args: [{ providedIn: 'root' },] } - ]; - /** @nocollapse */ - LocalizationService.ctorParameters = function () { return [ - { type: Store }, - { type: Router }, - { type: NgZone }, - { type: LocalizationService, decorators: [{ type: Optional }, { type: SkipSelf }] } - ]; }; - /** @nocollapse */ LocalizationService.ngInjectableDef = ɵɵdefineInjectable({ factory: function LocalizationService_Factory() { return new LocalizationService(ɵɵinject(Store), ɵɵinject(Router), ɵɵinject(NgZone), ɵɵinject(LocalizationService, 12)); }, token: LocalizationService, providedIn: "root" }); - return LocalizationService; -}()); -if (false) { - /** - * @type {?} - * @private - */ - LocalizationService.prototype.store; - /** - * @type {?} - * @private - */ - LocalizationService.prototype.router; - /** - * @type {?} - * @private - */ - LocalizationService.prototype.ngZone; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/session.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var SessionState = /** @class */ (function () { - function SessionState(localizationService) { - this.localizationService = localizationService; - } - /** - * @param {?} __0 - * @return {?} - */ - SessionState.getLanguage = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var language = _a.language; - return language; - }; - /** - * @param {?} __0 - * @return {?} - */ - SessionState.getTenant = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var tenant = _a.tenant; - return tenant; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - SessionState.prototype.setLanguage = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var _this = this; - var patchState = _a.patchState, dispatch = _a.dispatch; - var payload = _b.payload; - patchState({ - language: payload, - }); - return dispatch(new GetAppConfiguration()).pipe(switchMap((/** - * @return {?} - */ - function () { return from(_this.localizationService.registerLocale(payload)); }))); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - SessionState.prototype.setTenant = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - patchState({ - tenant: payload, - }); - }; - SessionState.ctorParameters = function () { return [ - { type: LocalizationService } - ]; }; - __decorate([ - Action(SetLanguage), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, SetLanguage]), - __metadata("design:returntype", void 0) - ], SessionState.prototype, "setLanguage", null); - __decorate([ - Action(SetTenant), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, SetTenant]), - __metadata("design:returntype", void 0) - ], SessionState.prototype, "setTenant", null); - __decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", String) - ], SessionState, "getLanguage", null); - __decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Object) - ], SessionState, "getTenant", null); - SessionState = __decorate([ - State({ - name: 'SessionState', - defaults: (/** @type {?} */ ({})), - }), - __metadata("design:paramtypes", [LocalizationService]) - ], SessionState); - return SessionState; -}()); -if (false) { - /** - * @type {?} - * @private - */ - SessionState.prototype.localizationService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/config.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ConfigState = /** @class */ (function () { - function ConfigState(appConfigurationService, store) { - this.appConfigurationService = appConfigurationService; - this.store = store; - } - ConfigState_1 = ConfigState; - /** - * @param {?} state - * @return {?} - */ - ConfigState.getAll = /** - * @param {?} state - * @return {?} - */ - function (state) { - return state; - }; - /** - * @param {?} state - * @return {?} - */ - ConfigState.getApplicationInfo = /** - * @param {?} state - * @return {?} - */ - function (state) { - return state.environment.application || ((/** @type {?} */ ({}))); - }; - /** - * @param {?} key - * @return {?} - */ - ConfigState.getOne = /** - * @param {?} key - * @return {?} - */ - function (key) { - /** @type {?} */ - var selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - return state[key]; - })); - return selector; - }; - /** - * @param {?} keys - * @return {?} - */ - ConfigState.getDeep = /** - * @param {?} keys - * @return {?} - */ - function (keys) { - if (typeof keys === 'string') { - keys = keys.split('.'); - } - if (!Array.isArray(keys)) { - throw new Error('The argument must be a dot string or an string array.'); - } - /** @type {?} */ - var selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - return ((/** @type {?} */ (keys))).reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { - if (acc) { - return acc[val]; - } - return undefined; - }), state); - })); - return selector; - }; - /** - * @param {?=} path - * @param {?=} name - * @param {?=} url - * @return {?} - */ - ConfigState.getRoute = /** - * @param {?=} path - * @param {?=} name - * @param {?=} url - * @return {?} - */ - function (path, name, url) { - /** @type {?} */ - var selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - var flattedRoutes = state.flattedRoutes; - return ((/** @type {?} */ (flattedRoutes))).find((/** - * @param {?} route - * @return {?} - */ - function (route) { - if (path && route.path === path) { - return route; - } - else if (name && route.name === name) { - return route; - } - else if (url && route.url === url) { - return route; - } - })); - })); - return selector; - }; - /** - * @param {?=} key - * @return {?} - */ - ConfigState.getApiUrl = /** - * @param {?=} key - * @return {?} - */ - function (key) { - /** @type {?} */ - var selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - return state.environment.apis[key || 'default'].url; - })); - return selector; - }; - /** - * @param {?} key - * @return {?} - */ - ConfigState.getSetting = /** - * @param {?} key - * @return {?} - */ - function (key) { - /** @type {?} */ - var selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - return snq((/** - * @return {?} - */ - function () { return state.setting.values[key]; })); - })); - return selector; - }; - /** - * @param {?=} keyword - * @return {?} - */ - ConfigState.getSettings = /** - * @param {?=} keyword - * @return {?} - */ - function (keyword) { - /** @type {?} */ - var selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - if (keyword) { - /** @type {?} */ - var keys = snq((/** - * @return {?} - */ - function () { - return Object.keys(state.setting.values).filter((/** - * @param {?} key - * @return {?} - */ - function (key) { return key.indexOf(keyword) > -1; })); - }), []); - if (keys.length) { - return keys.reduce((/** - * @param {?} acc - * @param {?} key - * @return {?} - */ - function (acc, key) { - var _a; - return (__assign({}, acc, (_a = {}, _a[key] = state.setting.values[key], _a))); - }), {}); - } - } - return snq((/** - * @return {?} - */ - function () { return state.setting.values; }), {}); - })); - return selector; - }; - /** - * @param {?} key - * @return {?} - */ - ConfigState.getGrantedPolicy = /** - * @param {?} key - * @return {?} - */ - function (key) { - /** @type {?} */ - var selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - if (!key) - return true; - /** @type {?} */ - var getPolicy = (/** - * @param {?} k - * @return {?} - */ - function (k) { return snq((/** - * @return {?} - */ - function () { return state.auth.grantedPolicies[k]; }), false); }); - /** @type {?} */ - var orRegexp = /\|\|/g; - /** @type {?} */ - var andRegexp = /&&/g; - if (orRegexp.test(key)) { - /** @type {?} */ - var keys = key.split('||').filter((/** - * @param {?} k - * @return {?} - */ - function (k) { return !!k; })); - if (keys.length !== 2) - return false; - return getPolicy(keys[0].trim()) || getPolicy(keys[1].trim()); - } - else if (andRegexp.test(key)) { - /** @type {?} */ - var keys = key.split('&&').filter((/** - * @param {?} k - * @return {?} - */ - function (k) { return !!k; })); - if (keys.length !== 2) - return false; - return getPolicy(keys[0].trim()) && getPolicy(keys[1].trim()); - } - return getPolicy(key); - })); - return selector; - }; - /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - ConfigState.getLocalization = /** - * @param {?} key - * @param {...?} interpolateParams - * @return {?} - */ - function (key) { - var interpolateParams = []; - for (var _i = 1; _i < arguments.length; _i++) { - interpolateParams[_i - 1] = arguments[_i]; - } - /** @type {?} */ - var defaultValue; - if (typeof key !== 'string') { - defaultValue = key.defaultValue; - key = key.key; - } - if (!key) - key = ''; - /** @type {?} */ - var keys = (/** @type {?} */ (key.split('::'))); - /** @type {?} */ - var selector = createSelector([ConfigState_1], (/** - * @param {?} state - * @return {?} - */ - function (state) { - if (!state.localization) - return defaultValue || key; - var defaultResourceName = state.environment.localization.defaultResourceName; - if (keys[0] === '') { - if (!defaultResourceName) { - throw new Error("Please check your environment. May you forget set defaultResourceName?\n Here is the example:\n { production: false,\n localization: {\n defaultResourceName: 'MyProjectName'\n }\n }"); - } - keys[0] = snq((/** - * @return {?} - */ - function () { return defaultResourceName; })); - } - /** @type {?} */ - var localization = ((/** @type {?} */ (keys))).reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { - if (acc) { - return acc[val]; - } - return undefined; - }), state.localization.values); - interpolateParams = interpolateParams.filter((/** - * @param {?} params - * @return {?} - */ - function (params) { return params != null; })); - if (localization && interpolateParams && interpolateParams.length) { - interpolateParams.forEach((/** - * @param {?} param - * @return {?} - */ - function (param) { - localization = localization.replace(/[\'\"]?\{[\d]+\}[\'\"]?/, param); - })); - } - if (typeof localization !== 'string') - localization = ''; - return localization || defaultValue || key; - })); - return selector; - }; - /** - * @param {?} __0 - * @return {?} - */ - ConfigState.prototype.addData = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var _this = this; - var patchState = _a.patchState, dispatch = _a.dispatch; - return this.appConfigurationService.getConfiguration().pipe(tap((/** - * @param {?} configuration - * @return {?} - */ - function (configuration) { - return patchState(__assign({}, configuration)); - })), switchMap((/** - * @param {?} configuration - * @return {?} - */ - function (configuration) { - /** @type {?} */ - var defaultLang = configuration.setting.values['Abp.Localization.DefaultLanguage']; - if (defaultLang.includes(';')) { - defaultLang = defaultLang.split(';')[0]; - } - return _this.store.selectSnapshot(SessionState.getLanguage) - ? of(null) - : dispatch(new SetLanguage(defaultLang)); - }))); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - ConfigState.prototype.patchRoute = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState, getState = _a.getState; - var name = _b.name, newValue = _b.newValue; - /** @type {?} */ - var routes = getState().routes; - /** @type {?} */ - var index = routes.findIndex((/** - * @param {?} route - * @return {?} - */ - function (route) { return route.name === name; })); - routes = patchRouteDeep(routes, name, newValue); - return patchState({ - routes: routes, - }); - }; - var ConfigState_1; - ConfigState.ctorParameters = function () { return [ - { type: ApplicationConfigurationService }, - { type: Store } - ]; }; - __decorate([ - Action(GetAppConfiguration), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", void 0) - ], ConfigState.prototype, "addData", null); - __decorate([ - Action(PatchRouteByName), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, PatchRouteByName]), - __metadata("design:returntype", void 0) - ], ConfigState.prototype, "patchRoute", null); - __decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", void 0) - ], ConfigState, "getAll", null); - __decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Object) - ], ConfigState, "getApplicationInfo", null); - ConfigState = ConfigState_1 = __decorate([ - State({ - name: 'ConfigState', - defaults: (/** @type {?} */ ({})), - }), - __metadata("design:paramtypes", [ApplicationConfigurationService, - Store]) - ], ConfigState); - return ConfigState; -}()); -if (false) { - /** - * @type {?} - * @private - */ - ConfigState.prototype.appConfigurationService; - /** - * @type {?} - * @private - */ - ConfigState.prototype.store; -} -/** - * @param {?} routes - * @param {?} name - * @param {?} newValue - * @param {?=} parentUrl - * @return {?} - */ -function patchRouteDeep(routes, name, newValue, parentUrl) { - if (parentUrl === void 0) { parentUrl = ''; } - routes = routes.map((/** - * @param {?} route - * @return {?} - */ - function (route) { - if (route.name === name) { - newValue.url = parentUrl + "/" + ((!newValue.path && newValue.path === '' - ? route.path - : newValue.path) || ''); - if (newValue.children && newValue.children.length) { - newValue.children = newValue.children.map((/** - * @param {?} child - * @return {?} - */ - function (child) { return (__assign({}, child, { url: (newValue.url + "/" + child.path).replace('//', '/') })); })); - } - return __assign({}, route, newValue); - } - else if (route.children && route.children.length) { - route.children = patchRouteDeep(route.children, name, newValue, (parentUrl || '/') + route.path); - } - return route; - })); - if (parentUrl) { - // recursive block - return routes; - } - return organizeRoutes(routes); -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/rxjs-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?} value - * @return {?} - */ -function isFunction(value) { - return typeof value === 'function'; -} -/** @type {?} */ -var takeUntilDestroy = (/** - * @param {?} componentInstance - * @param {?=} destroyMethodName - * @return {?} - */ -function (componentInstance, destroyMethodName) { - if (destroyMethodName === void 0) { destroyMethodName = 'ngOnDestroy'; } - return (/** - * @template T - * @param {?} source - * @return {?} - */ - function (source) { - /** @type {?} */ - var originalDestroy = componentInstance[destroyMethodName]; - if (isFunction(originalDestroy) === false) { - throw new Error(componentInstance.constructor.name + " is using untilDestroyed but doesn't implement " + destroyMethodName); - } - if (!componentInstance['__takeUntilDestroy']) { - componentInstance['__takeUntilDestroy'] = new Subject(); - componentInstance[destroyMethodName] = (/** - * @return {?} - */ - function () { - // tslint:disable-next-line: no-unused-expression - isFunction(originalDestroy) && originalDestroy.apply(this, arguments); - componentInstance['__takeUntilDestroy'].next(true); - componentInstance['__takeUntilDestroy'].complete(); - }); - } - return source.pipe(takeUntil(componentInstance['__takeUntilDestroy'])); - }); -}); - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/dynamic-layout.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var DynamicLayoutComponent = /** @class */ (function () { - function DynamicLayoutComponent(router, route, store) { - var _this = this; - this.router = router; - this.route = route; - this.store = store; - var _a = this.store.selectSnapshot(ConfigState.getAll), layouts = _a.requirements.layouts, routes = _a.routes; - if ((this.route.snapshot.data || {}).layout) { - this.layout = layouts - .filter((/** - * @param {?} l - * @return {?} - */ - function (l) { return !!l; })) - .find((/** - * @param {?} l - * @return {?} - */ - function (l) { return snq((/** - * @return {?} - */ - function () { return l.type.toLowerCase().indexOf(_this.route.snapshot.data.layout); }), -1) > -1; })); - } - this.router.events.pipe(takeUntilDestroy(this)).subscribe((/** - * @param {?} event - * @return {?} - */ - function (event) { - if (event instanceof NavigationEnd) { - var segments = _this.router.parseUrl(event.url).root.children.primary.segments; - /** @type {?} */ - var layout_1 = (_this.route.snapshot.data || {}).layout || findLayout(segments, routes); - _this.layout = layouts - .filter((/** - * @param {?} l - * @return {?} - */ - function (l) { return !!l; })) - .find((/** - * @param {?} l - * @return {?} - */ - function (l) { return snq((/** - * @return {?} - */ - function () { return l.type.toLowerCase().indexOf(layout_1); }), -1) > -1; })); - } - })); - } - /** - * @return {?} - */ - DynamicLayoutComponent.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - DynamicLayoutComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-dynamic-layout', - template: "\n \n \n \n " - }] } - ]; - /** @nocollapse */ - DynamicLayoutComponent.ctorParameters = function () { return [ - { type: Router }, - { type: ActivatedRoute }, - { type: Store } - ]; }; - __decorate([ - Select(ConfigState.getOne('requirements')), - __metadata("design:type", Observable) - ], DynamicLayoutComponent.prototype, "requirements$", void 0); - return DynamicLayoutComponent; -}()); -if (false) { - /** @type {?} */ - DynamicLayoutComponent.prototype.requirements$; - /** @type {?} */ - DynamicLayoutComponent.prototype.layout; - /** - * @type {?} - * @private - */ - DynamicLayoutComponent.prototype.router; - /** - * @type {?} - * @private - */ - DynamicLayoutComponent.prototype.route; - /** - * @type {?} - * @private - */ - DynamicLayoutComponent.prototype.store; -} -/** - * @param {?} segments - * @param {?} routes - * @return {?} - */ -function findLayout(segments, routes) { - /** @type {?} */ - var layout = "empty" /* empty */; - /** @type {?} */ - var route = routes - .reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { return (val.wrapper ? __spread(acc, val.children) : __spread(acc, [val])); }), []) - .find((/** - * @param {?} r - * @return {?} - */ - function (r) { return r.path === segments[0].path; })); - if (route) { - if (route.layout) { - layout = route.layout; - } - if (route.children && route.children.length && segments.length > 1) { - /** @type {?} */ - var child = route.children.find((/** - * @param {?} c - * @return {?} - */ - function (c) { return c.path === segments[1].path; })); - if (child && child.layout) { - layout = child.layout; - } - } - } - return layout; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/router-outlet.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var RouterOutletComponent = /** @class */ (function () { - function RouterOutletComponent() { - } - RouterOutletComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-router-outlet', - template: "\n \n " - }] } - ]; - return RouterOutletComponent; -}()); - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/autofocus.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var AutofocusDirective = /** @class */ (function () { - function AutofocusDirective(elRef) { - this.elRef = elRef; - this.delay = 0; - } - /** - * @return {?} - */ - AutofocusDirective.prototype.ngAfterViewInit = /** - * @return {?} - */ - function () { - var _this = this; - setTimeout((/** - * @return {?} - */ - function () { return _this.elRef.nativeElement.focus(); }), this.delay); - }; - AutofocusDirective.decorators = [ - { type: Directive, args: [{ - // tslint:disable-next-line: directive-selector - selector: '[autofocus]' - },] } - ]; - /** @nocollapse */ - AutofocusDirective.ctorParameters = function () { return [ - { type: ElementRef } - ]; }; - AutofocusDirective.propDecorators = { - delay: [{ type: Input, args: ['autofocus',] }] - }; - return AutofocusDirective; -}()); -if (false) { - /** @type {?} */ - AutofocusDirective.prototype.delay; - /** - * @type {?} - * @private - */ - AutofocusDirective.prototype.elRef; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/ellipsis.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var EllipsisDirective = /** @class */ (function () { - function EllipsisDirective(cdRef, elRef) { - this.cdRef = cdRef; - this.elRef = elRef; - this.enabled = true; - } - Object.defineProperty(EllipsisDirective.prototype, "inlineClass", { - get: /** - * @return {?} - */ - function () { - return this.enabled && this.width; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(EllipsisDirective.prototype, "class", { - get: /** - * @return {?} - */ - function () { - return this.enabled && !this.width; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(EllipsisDirective.prototype, "maxWidth", { - get: /** - * @return {?} - */ - function () { - return this.enabled && this.width ? this.width || '170px' : undefined; - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - EllipsisDirective.prototype.ngAfterViewInit = /** - * @return {?} - */ - function () { - this.title = this.title || ((/** @type {?} */ (this.elRef.nativeElement))).innerText; - this.cdRef.detectChanges(); - }; - EllipsisDirective.decorators = [ - { type: Directive, args: [{ - selector: '[abpEllipsis]', - },] } - ]; - /** @nocollapse */ - EllipsisDirective.ctorParameters = function () { return [ - { type: ChangeDetectorRef }, - { type: ElementRef } - ]; }; - EllipsisDirective.propDecorators = { - width: [{ type: Input, args: ['abpEllipsis',] }], - title: [{ type: HostBinding, args: ['title',] }, { type: Input }], - enabled: [{ type: Input, args: ['abpEllipsisEnabled',] }], - inlineClass: [{ type: HostBinding, args: ['class.abp-ellipsis-inline',] }], - class: [{ type: HostBinding, args: ['class.abp-ellipsis',] }], - maxWidth: [{ type: HostBinding, args: ['style.max-width',] }] - }; - return EllipsisDirective; -}()); -if (false) { - /** @type {?} */ - EllipsisDirective.prototype.width; - /** @type {?} */ - EllipsisDirective.prototype.title; - /** @type {?} */ - EllipsisDirective.prototype.enabled; - /** - * @type {?} - * @private - */ - EllipsisDirective.prototype.cdRef; - /** - * @type {?} - * @private - */ - EllipsisDirective.prototype.elRef; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/for.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var AbpForContext = /** @class */ (function () { - function AbpForContext($implicit, index, count, list) { - this.$implicit = $implicit; - this.index = index; - this.count = count; - this.list = list; - } - return AbpForContext; -}()); -if (false) { - /** @type {?} */ - AbpForContext.prototype.$implicit; - /** @type {?} */ - AbpForContext.prototype.index; - /** @type {?} */ - AbpForContext.prototype.count; - /** @type {?} */ - AbpForContext.prototype.list; -} -var RecordView = /** @class */ (function () { - function RecordView(record, view) { - this.record = record; - this.view = view; - } - return RecordView; -}()); -if (false) { - /** @type {?} */ - RecordView.prototype.record; - /** @type {?} */ - RecordView.prototype.view; -} -var ForDirective = /** @class */ (function () { - function ForDirective(tempRef, vcRef, differs) { - this.tempRef = tempRef; - this.vcRef = vcRef; - this.differs = differs; - } - Object.defineProperty(ForDirective.prototype, "compareFn", { - get: /** - * @return {?} - */ - function () { - return this.compareBy || compare; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ForDirective.prototype, "trackByFn", { - get: /** - * @return {?} - */ - function () { - return this.trackBy || ((/** - * @param {?} index - * @param {?} item - * @return {?} - */ - function (index, item) { return ((/** @type {?} */ (item))).id || index; })); - }, - enumerable: true, - configurable: true - }); - /** - * @private - * @param {?} changes - * @return {?} - */ - ForDirective.prototype.iterateOverAppliedOperations = /** - * @private - * @param {?} changes - * @return {?} - */ - function (changes) { - var _this = this; - /** @type {?} */ - var rw = []; - changes.forEachOperation((/** - * @param {?} record - * @param {?} previousIndex - * @param {?} currentIndex - * @return {?} - */ - function (record, previousIndex, currentIndex) { - if (record.previousIndex == null) { - /** @type {?} */ - var view = _this.vcRef.createEmbeddedView(_this.tempRef, new AbpForContext(null, -1, -1, _this.items), currentIndex); - rw.push(new RecordView(record, view)); - } - else if (currentIndex == null) { - _this.vcRef.remove(previousIndex); - } - else { - /** @type {?} */ - var view = _this.vcRef.get(previousIndex); - _this.vcRef.move(view, currentIndex); - rw.push(new RecordView(record, (/** @type {?} */ (view)))); - } - })); - for (var i = 0, l = rw.length; i < l; i++) { - rw[i].view.context.$implicit = rw[i].record.item; - } - }; - /** - * @private - * @param {?} changes - * @return {?} - */ - ForDirective.prototype.iterateOverAttachedViews = /** - * @private - * @param {?} changes - * @return {?} - */ - function (changes) { - var _this = this; - for (var i = 0, l = this.vcRef.length; i < l; i++) { - /** @type {?} */ - var viewRef = (/** @type {?} */ (this.vcRef.get(i))); - viewRef.context.index = i; - viewRef.context.count = l; - viewRef.context.list = this.items; - } - changes.forEachIdentityChange((/** - * @param {?} record - * @return {?} - */ - function (record) { - /** @type {?} */ - var viewRef = (/** @type {?} */ (_this.vcRef.get(record.currentIndex))); - viewRef.context.$implicit = record.item; - })); - }; - /** - * @private - * @param {?} items - * @return {?} - */ - ForDirective.prototype.projectItems = /** - * @private - * @param {?} items - * @return {?} - */ - function (items) { - if (!items.length && this.emptyRef) { - this.vcRef.clear(); - // tslint:disable-next-line: no-unused-expression - this.vcRef.createEmbeddedView(this.emptyRef).rootNodes; - this.isShowEmptyRef = true; - this.differ = null; - return; - } - if (this.emptyRef && this.isShowEmptyRef) { - this.vcRef.clear(); - this.isShowEmptyRef = false; - } - if (!this.differ && items) { - this.differ = this.differs.find(items).create(this.trackByFn); - } - if (this.differ) { - /** @type {?} */ - var changes = this.differ.diff(items); - if (changes) { - this.iterateOverAppliedOperations(changes); - this.iterateOverAttachedViews(changes); - } - } - }; - /** - * @private - * @param {?} items - * @return {?} - */ - ForDirective.prototype.sortItems = /** - * @private - * @param {?} items - * @return {?} - */ - function (items) { - var _this = this; - if (this.orderBy) { - items.sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - function (a, b) { return (a[_this.orderBy] > b[_this.orderBy] ? 1 : a[_this.orderBy] < b[_this.orderBy] ? -1 : 0); })); - } - else { - items.sort(); - } - }; - /** - * @return {?} - */ - ForDirective.prototype.ngOnChanges = /** - * @return {?} - */ - function () { - var _this = this; - /** @type {?} */ - var items = (/** @type {?} */ (clone(this.items))); - if (!Array.isArray(items)) - return; - /** @type {?} */ - var compareFn = this.compareFn; - if (typeof this.filterBy !== 'undefined' && typeof this.filterVal !== 'undefined' && this.filterVal !== '') { - items = items.filter((/** - * @param {?} item - * @return {?} - */ - function (item) { return compareFn(item[_this.filterBy], _this.filterVal); })); - } - switch (this.orderDir) { - case 'ASC': - this.sortItems(items); - this.projectItems(items); - break; - case 'DESC': - this.sortItems(items); - items.reverse(); - this.projectItems(items); - break; - default: - this.projectItems(items); - } - }; - ForDirective.decorators = [ - { type: Directive, args: [{ - selector: '[abpFor]', - },] } - ]; - /** @nocollapse */ - ForDirective.ctorParameters = function () { return [ - { type: TemplateRef }, - { type: ViewContainerRef }, - { type: IterableDiffers } - ]; }; - ForDirective.propDecorators = { - items: [{ type: Input, args: ['abpForOf',] }], - orderBy: [{ type: Input, args: ['abpForOrderBy',] }], - orderDir: [{ type: Input, args: ['abpForOrderDir',] }], - filterBy: [{ type: Input, args: ['abpForFilterBy',] }], - filterVal: [{ type: Input, args: ['abpForFilterVal',] }], - trackBy: [{ type: Input, args: ['abpForTrackBy',] }], - compareBy: [{ type: Input, args: ['abpForCompareBy',] }], - emptyRef: [{ type: Input, args: ['abpForEmptyRef',] }] - }; - return ForDirective; -}()); -if (false) { - /** @type {?} */ - ForDirective.prototype.items; - /** @type {?} */ - ForDirective.prototype.orderBy; - /** @type {?} */ - ForDirective.prototype.orderDir; - /** @type {?} */ - ForDirective.prototype.filterBy; - /** @type {?} */ - ForDirective.prototype.filterVal; - /** @type {?} */ - ForDirective.prototype.trackBy; - /** @type {?} */ - ForDirective.prototype.compareBy; - /** @type {?} */ - ForDirective.prototype.emptyRef; - /** - * @type {?} - * @private - */ - ForDirective.prototype.differ; - /** - * @type {?} - * @private - */ - ForDirective.prototype.isShowEmptyRef; - /** - * @type {?} - * @private - */ - ForDirective.prototype.tempRef; - /** - * @type {?} - * @private - */ - ForDirective.prototype.vcRef; - /** - * @type {?} - * @private - */ - ForDirective.prototype.differs; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/common-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @return {?} - */ -function noop() { - // tslint:disable-next-line: only-arrow-functions - /** @type {?} */ - var fn = (/** - * @return {?} - */ - function () { }); - return fn; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/generator-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?=} a - * @return {?} - */ -function uuid(a) { - return a - ? // tslint:disable-next-line: no-bitwise - (a ^ ((Math.random() * 16) >> (a / 4))).toString(16) - : ('' + 1e7 + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, uuid); -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/form-submit.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var FormSubmitDirective = /** @class */ (function () { - function FormSubmitDirective(formGroupDirective, host, cdRef) { - this.formGroupDirective = formGroupDirective; - this.host = host; - this.cdRef = cdRef; - this.debounce = 200; - this.ngSubmit = new EventEmitter(); - this.executedNgSubmit = false; - } - /** - * @return {?} - */ - FormSubmitDirective.prototype.ngOnInit = /** - * @return {?} - */ - function () { - var _this = this; - this.formGroupDirective.ngSubmit.pipe(takeUntilDestroy(this)).subscribe((/** - * @return {?} - */ - function () { - _this.markAsDirty(); - _this.executedNgSubmit = true; - })); - fromEvent((/** @type {?} */ (this.host.nativeElement)), 'keyup') - .pipe(debounceTime(this.debounce), filter((/** - * @param {?} key - * @return {?} - */ - function (key) { return key && key.key === 'Enter'; })), takeUntilDestroy(this)) - .subscribe((/** - * @return {?} - */ - function () { - if (!_this.executedNgSubmit) { - _this.host.nativeElement.dispatchEvent(new Event('submit', { bubbles: true, cancelable: true })); - } - _this.executedNgSubmit = false; - })); - }; - /** - * @return {?} - */ - FormSubmitDirective.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - /** - * @return {?} - */ - FormSubmitDirective.prototype.markAsDirty = /** - * @return {?} - */ - function () { - var form = this.formGroupDirective.form; - setDirty((/** @type {?} */ (form.controls))); - form.markAsDirty(); - this.cdRef.detectChanges(); - }; - FormSubmitDirective.decorators = [ - { type: Directive, args: [{ - // tslint:disable-next-line: directive-selector - selector: 'form[ngSubmit][formGroup]', - },] } - ]; - /** @nocollapse */ - FormSubmitDirective.ctorParameters = function () { return [ - { type: FormGroupDirective, decorators: [{ type: Self }] }, - { type: ElementRef }, - { type: ChangeDetectorRef } - ]; }; - FormSubmitDirective.propDecorators = { - debounce: [{ type: Input }], - notValidateOnSubmit: [{ type: Input }], - ngSubmit: [{ type: Output }] - }; - return FormSubmitDirective; -}()); -if (false) { - /** @type {?} */ - FormSubmitDirective.prototype.debounce; - /** @type {?} */ - FormSubmitDirective.prototype.notValidateOnSubmit; - /** @type {?} */ - FormSubmitDirective.prototype.ngSubmit; - /** @type {?} */ - FormSubmitDirective.prototype.executedNgSubmit; - /** - * @type {?} - * @private - */ - FormSubmitDirective.prototype.formGroupDirective; - /** - * @type {?} - * @private - */ - FormSubmitDirective.prototype.host; - /** - * @type {?} - * @private - */ - FormSubmitDirective.prototype.cdRef; -} -/** - * @param {?} controls - * @return {?} - */ -function setDirty(controls) { - if (Array.isArray(controls)) { - controls.forEach((/** - * @param {?} group - * @return {?} - */ - function (group) { - setDirty((/** @type {?} */ (group.controls))); - })); - return; - } - Object.keys(controls).forEach((/** - * @param {?} key - * @return {?} - */ - function (key) { - controls[key].markAsDirty(); - controls[key].updateValueAndValidity(); - })); -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/profile.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ProfileService = /** @class */ (function () { - function ProfileService(rest) { - this.rest = rest; - } - /** - * @return {?} - */ - ProfileService.prototype.get = /** - * @return {?} - */ - function () { - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/identity/my-profile', - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - ProfileService.prototype.update = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var request = { - method: 'PUT', - url: '/api/identity/my-profile', - body: body, - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @param {?=} skipHandleError - * @return {?} - */ - ProfileService.prototype.changePassword = /** - * @param {?} body - * @param {?=} skipHandleError - * @return {?} - */ - function (body, skipHandleError) { - if (skipHandleError === void 0) { skipHandleError = false; } - /** @type {?} */ - var request = { - method: 'POST', - url: '/api/identity/my-profile/change-password', - body: body, - }; - return this.rest.request(request, { skipHandleError: skipHandleError }); - }; - ProfileService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - ProfileService.ctorParameters = function () { return [ - { type: RestService } - ]; }; - /** @nocollapse */ ProfileService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ProfileService_Factory() { return new ProfileService(ɵɵinject(RestService)); }, token: ProfileService, providedIn: "root" }); - return ProfileService; -}()); -if (false) { - /** - * @type {?} - * @private - */ - ProfileService.prototype.rest; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/profile.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ProfileState = /** @class */ (function () { - function ProfileState(profileService) { - this.profileService = profileService; - } - /** - * @param {?} __0 - * @return {?} - */ - ProfileState.getProfile = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var profile = _a.profile; - return profile; - }; - /** - * @param {?} __0 - * @return {?} - */ - ProfileState.prototype.getProfile = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var patchState = _a.patchState; - return this.profileService.get().pipe(tap((/** - * @param {?} profile - * @return {?} - */ - function (profile) { - return patchState({ - profile: profile, - }); - }))); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - ProfileState.prototype.updateProfile = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.profileService.update(payload).pipe(tap((/** - * @param {?} profile - * @return {?} - */ - function (profile) { - return patchState({ - profile: profile, - }); - }))); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - ProfileState.prototype.changePassword = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.profileService.changePassword(payload, true); - }; - ProfileState.ctorParameters = function () { return [ - { type: ProfileService } - ]; }; - __decorate([ - Action(GetProfile), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", void 0) - ], ProfileState.prototype, "getProfile", null); - __decorate([ - Action(UpdateProfile), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, UpdateProfile]), - __metadata("design:returntype", void 0) - ], ProfileState.prototype, "updateProfile", null); - __decorate([ - Action(ChangePassword), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, ChangePassword]), - __metadata("design:returntype", void 0) - ], ProfileState.prototype, "changePassword", null); - __decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Object) - ], ProfileState, "getProfile", null); - ProfileState = __decorate([ - State({ - name: 'ProfileState', - defaults: (/** @type {?} */ ({})), - }), - __metadata("design:paramtypes", [ProfileService]) - ], ProfileState); - return ProfileState; -}()); -if (false) { - /** - * @type {?} - * @private - */ - ProfileState.prototype.profileService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/permission.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var PermissionDirective = /** @class */ (function () { - function PermissionDirective(elRef, renderer, store, templateRef, vcRef) { - this.elRef = elRef; - this.renderer = renderer; - this.store = store; - this.templateRef = templateRef; - this.vcRef = vcRef; - } - /** - * @private - * @return {?} - */ - PermissionDirective.prototype.check = /** - * @private - * @return {?} - */ - function () { - var _this = this; - if (this.subscription) { - this.subscription.unsubscribe(); - } - this.subscription = this.store - .select(ConfigState.getGrantedPolicy(this.condition)) - .pipe(takeUntilDestroy(this)) - .subscribe((/** - * @param {?} isGranted - * @return {?} - */ - function (isGranted) { - if (_this.templateRef && isGranted) { - _this.vcRef.clear(); - _this.vcRef.createEmbeddedView(_this.templateRef); - } - else if (_this.templateRef && !isGranted) { - _this.vcRef.clear(); - } - else if (!isGranted && !_this.templateRef) { - _this.renderer.removeChild(((/** @type {?} */ (_this.elRef.nativeElement))).parentElement, _this.elRef.nativeElement); - } - })); - }; - /** - * @return {?} - */ - PermissionDirective.prototype.ngOnInit = /** - * @return {?} - */ - function () { - if (this.templateRef && !this.condition) { - this.vcRef.createEmbeddedView(this.templateRef); - } - }; - /** - * @return {?} - */ - PermissionDirective.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - /** - * @param {?} __0 - * @return {?} - */ - PermissionDirective.prototype.ngOnChanges = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var condition = _a.condition; - if ((condition || { currentValue: null }).currentValue) { - this.check(); - } - }; - PermissionDirective.decorators = [ - { type: Directive, args: [{ - selector: '[abpPermission]', - },] } - ]; - /** @nocollapse */ - PermissionDirective.ctorParameters = function () { return [ - { type: ElementRef }, - { type: Renderer2 }, - { type: Store }, - { type: TemplateRef, decorators: [{ type: Optional }] }, - { type: ViewContainerRef } - ]; }; - PermissionDirective.propDecorators = { - condition: [{ type: Input, args: ['abpPermission',] }] - }; - return PermissionDirective; -}()); -if (false) { - /** @type {?} */ - PermissionDirective.prototype.condition; - /** @type {?} */ - PermissionDirective.prototype.subscription; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.elRef; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.renderer; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.store; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.templateRef; - /** - * @type {?} - * @private - */ - PermissionDirective.prototype.vcRef; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/visibility.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var VisibilityDirective = /** @class */ (function () { - function VisibilityDirective(elRef, renderer) { - this.elRef = elRef; - this.renderer = renderer; - this.completed$ = new Subject(); - } - /** - * @return {?} - */ - VisibilityDirective.prototype.ngAfterViewInit = /** - * @return {?} - */ - function () { - var _this = this; - if (!this.focusedElement && this.elRef) { - this.focusedElement = this.elRef.nativeElement; - } - /** @type {?} */ - var observer; - observer = new MutationObserver((/** - * @param {?} mutations - * @return {?} - */ - function (mutations) { - mutations.forEach((/** - * @param {?} mutation - * @return {?} - */ - function (mutation) { - if (!mutation.target) - return; - /** @type {?} */ - var htmlNodes = snq((/** - * @return {?} - */ - function () { return Array.from(mutation.target.childNodes).filter((/** - * @param {?} node - * @return {?} - */ - function (node) { return node instanceof HTMLElement; })); }), []); - if (!htmlNodes.length) { - _this.removeFromDOM(); - } - })); - })); - observer.observe(this.focusedElement, { - childList: true, - }); - setTimeout((/** - * @return {?} - */ - function () { - /** @type {?} */ - var htmlNodes = snq((/** - * @return {?} - */ - function () { return Array.from(_this.focusedElement.childNodes).filter((/** - * @param {?} node - * @return {?} - */ - function (node) { return node instanceof HTMLElement; })); }), []); - if (!htmlNodes.length) - _this.removeFromDOM(); - }), 0); - this.completed$.subscribe((/** - * @return {?} - */ - function () { return observer.disconnect(); })); - }; - /** - * @return {?} - */ - VisibilityDirective.prototype.disconnect = /** - * @return {?} - */ - function () { - this.completed$.next(); - this.completed$.complete(); - }; - /** - * @return {?} - */ - VisibilityDirective.prototype.removeFromDOM = /** - * @return {?} - */ - function () { - if (!this.elRef.nativeElement) - return; - this.renderer.removeChild(this.elRef.nativeElement.parentElement, this.elRef.nativeElement); - this.disconnect(); - }; - VisibilityDirective.decorators = [ - { type: Directive, args: [{ - selector: '[abpVisibility]', - },] } - ]; - /** @nocollapse */ - VisibilityDirective.ctorParameters = function () { return [ - { type: ElementRef, decorators: [{ type: Optional }] }, - { type: Renderer2 } - ]; }; - VisibilityDirective.propDecorators = { - focusedElement: [{ type: Input, args: ['abpVisibility',] }] - }; - return VisibilityDirective; -}()); -if (false) { - /** @type {?} */ - VisibilityDirective.prototype.focusedElement; - /** @type {?} */ - VisibilityDirective.prototype.completed$; - /** - * @type {?} - * @private - */ - VisibilityDirective.prototype.elRef; - /** - * @type {?} - * @private - */ - VisibilityDirective.prototype.renderer; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/enums/common.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @enum {string} */ -var eLayoutType = { - account: "account", - application: "application", - empty: "empty", - /** - * @deprecated since version 0.9.0 - */ - setting: "setting", -}; - -/** - * @fileoverview added by tsickle - * Generated from: lib/enums/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/guards/auth.guard.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var AuthGuard = /** @class */ (function () { - function AuthGuard(oauthService, router) { - this.oauthService = oauthService; - this.router = router; - } - /** - * @param {?} _ - * @param {?} state - * @return {?} - */ - AuthGuard.prototype.canActivate = /** - * @param {?} _ - * @param {?} state - * @return {?} - */ - function (_, state) { - /** @type {?} */ - var hasValidAccessToken = this.oauthService.hasValidAccessToken(); - if (hasValidAccessToken) { - return hasValidAccessToken; - } - return this.router.createUrlTree(['/account/login'], { state: { redirectUrl: state.url } }); - }; - AuthGuard.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - AuthGuard.ctorParameters = function () { return [ - { type: OAuthService }, - { type: Router } - ]; }; - /** @nocollapse */ AuthGuard.ngInjectableDef = ɵɵdefineInjectable({ factory: function AuthGuard_Factory() { return new AuthGuard(ɵɵinject(OAuthService), ɵɵinject(Router)); }, token: AuthGuard, providedIn: "root" }); - return AuthGuard; -}()); -if (false) { - /** - * @type {?} - * @private - */ - AuthGuard.prototype.oauthService; - /** - * @type {?} - * @private - */ - AuthGuard.prototype.router; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/guards/permission.guard.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var PermissionGuard = /** @class */ (function () { - function PermissionGuard(store) { - this.store = store; - } - /** - * @param {?} route - * @param {?} state - * @return {?} - */ - PermissionGuard.prototype.canActivate = /** - * @param {?} route - * @param {?} state - * @return {?} - */ - function (route, state) { - var _this = this; - /** @type {?} */ - var resource = snq((/** - * @return {?} - */ - function () { return route.data.routes.requiredPolicy; })) || snq((/** - * @return {?} - */ - function () { return (/** @type {?} */ (route.data.requiredPolicy)); })); - if (!resource) { - resource = snq((/** - * @return {?} - */ - function () { return route.routeConfig.children.find((/** - * @param {?} child - * @return {?} - */ - function (child) { return state.url.indexOf(child.path) > -1; })).data.requiredPolicy; })); - } - return this.store.select(ConfigState.getGrantedPolicy(resource)).pipe(tap((/** - * @param {?} access - * @return {?} - */ - function (access) { - if (!access) { - _this.store.dispatch(new RestOccurError({ status: 403 })); - } - }))); - }; - PermissionGuard.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - PermissionGuard.ctorParameters = function () { return [ - { type: Store } - ]; }; - /** @nocollapse */ PermissionGuard.ngInjectableDef = ɵɵdefineInjectable({ factory: function PermissionGuard_Factory() { return new PermissionGuard(ɵɵinject(Store)); }, token: PermissionGuard, providedIn: "root" }); - return PermissionGuard; -}()); -if (false) { - /** - * @type {?} - * @private - */ - PermissionGuard.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/guards/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/interceptors/api.interceptor.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ApiInterceptor = /** @class */ (function () { - function ApiInterceptor(oAuthService, store) { - this.oAuthService = oAuthService; - this.store = store; - } - /** - * @param {?} request - * @param {?} next - * @return {?} - */ - ApiInterceptor.prototype.intercept = /** - * @param {?} request - * @param {?} next - * @return {?} - */ - function (request, next) { - var _this = this; - this.store.dispatch(new StartLoader(request)); - /** @type {?} */ - var headers = (/** @type {?} */ ({})); - /** @type {?} */ - var token = this.oAuthService.getAccessToken(); - if (!request.headers.has('Authorization') && token) { - headers['Authorization'] = "Bearer " + token; - } - /** @type {?} */ - var lang = this.store.selectSnapshot(SessionState.getLanguage); - if (!request.headers.has('Accept-Language') && lang) { - headers['Accept-Language'] = lang; - } - /** @type {?} */ - var tenant = this.store.selectSnapshot(SessionState.getTenant); - if (!request.headers.has('__tenant') && tenant) { - headers['__tenant'] = tenant.id; - } - return next - .handle(request.clone({ - setHeaders: headers, - })) - .pipe(finalize((/** - * @return {?} - */ - function () { return _this.store.dispatch(new StopLoader(request)); }))); - }; - ApiInterceptor.decorators = [ - { type: Injectable } - ]; - /** @nocollapse */ - ApiInterceptor.ctorParameters = function () { return [ - { type: OAuthService }, - { type: Store } - ]; }; - return ApiInterceptor; -}()); -if (false) { - /** - * @type {?} - * @private - */ - ApiInterceptor.prototype.oAuthService; - /** - * @type {?} - * @private - */ - ApiInterceptor.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/interceptors/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/application-configuration.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ApplicationConfiguration; -(function (ApplicationConfiguration) { - /** - * @record - */ - function Response() { } - ApplicationConfiguration.Response = Response; - if (false) { - /** @type {?} */ - Response.prototype.localization; - /** @type {?} */ - Response.prototype.auth; - /** @type {?} */ - Response.prototype.setting; - /** @type {?} */ - Response.prototype.currentUser; - /** @type {?} */ - Response.prototype.features; - } - /** - * @record - */ - function Localization() { } - ApplicationConfiguration.Localization = Localization; - if (false) { - /** @type {?} */ - Localization.prototype.values; - /** @type {?} */ - Localization.prototype.languages; - } - /** - * @record - */ - function LocalizationValue() { } - ApplicationConfiguration.LocalizationValue = LocalizationValue; - /** - * @record - */ - function Language() { } - ApplicationConfiguration.Language = Language; - if (false) { - /** @type {?} */ - Language.prototype.cultureName; - /** @type {?} */ - Language.prototype.uiCultureName; - /** @type {?} */ - Language.prototype.displayName; - /** @type {?} */ - Language.prototype.flagIcon; - } - /** - * @record - */ - function Auth() { } - ApplicationConfiguration.Auth = Auth; - if (false) { - /** @type {?} */ - Auth.prototype.policies; - /** @type {?} */ - Auth.prototype.grantedPolicies; - } - /** - * @record - */ - function Policy() { } - ApplicationConfiguration.Policy = Policy; - /** - * @record - */ - function Value() { } - ApplicationConfiguration.Value = Value; - if (false) { - /** @type {?} */ - Value.prototype.values; - } - /** - * @record - */ - function CurrentUser() { } - ApplicationConfiguration.CurrentUser = CurrentUser; - if (false) { - /** @type {?} */ - CurrentUser.prototype.isAuthenticated; - /** @type {?} */ - CurrentUser.prototype.id; - /** @type {?} */ - CurrentUser.prototype.tenantId; - /** @type {?} */ - CurrentUser.prototype.userName; - } -})(ApplicationConfiguration || (ApplicationConfiguration = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/common.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ABP; -(function (ABP) { - /** - * @record - */ - function Root() { } - ABP.Root = Root; - if (false) { - /** @type {?} */ - Root.prototype.environment; - /** @type {?} */ - Root.prototype.requirements; - } - /** - * @record - * @template T - */ - function PagedItemsResponse() { } - ABP.PagedItemsResponse = PagedItemsResponse; - if (false) { - /** @type {?} */ - PagedItemsResponse.prototype.items; - } - /** - * @record - */ - function PageQueryParams() { } - ABP.PageQueryParams = PageQueryParams; - if (false) { - /** @type {?|undefined} */ - PageQueryParams.prototype.filter; - /** @type {?|undefined} */ - PageQueryParams.prototype.sorting; - /** @type {?|undefined} */ - PageQueryParams.prototype.skipCount; - /** @type {?|undefined} */ - PageQueryParams.prototype.maxResultCount; - } - /** - * @record - */ - function Route() { } - ABP.Route = Route; - if (false) { - /** @type {?|undefined} */ - Route.prototype.children; - /** @type {?|undefined} */ - Route.prototype.invisible; - /** @type {?|undefined} */ - Route.prototype.layout; - /** @type {?} */ - Route.prototype.name; - /** @type {?|undefined} */ - Route.prototype.order; - /** @type {?|undefined} */ - Route.prototype.parentName; - /** @type {?} */ - Route.prototype.path; - /** @type {?|undefined} */ - Route.prototype.requiredPolicy; - /** @type {?|undefined} */ - Route.prototype.iconClass; - } - /** - * @record - */ - function FullRoute() { } - ABP.FullRoute = FullRoute; - if (false) { - /** @type {?|undefined} */ - FullRoute.prototype.url; - /** @type {?|undefined} */ - FullRoute.prototype.wrapper; - } - /** - * @record - */ - function BasicItem() { } - ABP.BasicItem = BasicItem; - if (false) { - /** @type {?} */ - BasicItem.prototype.id; - /** @type {?} */ - BasicItem.prototype.name; - } - /** - * @record - * @template T - */ - function Dictionary() { } - ABP.Dictionary = Dictionary; -})(ABP || (ABP = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var Config; -(function (Config) { - /** - * @record - */ - function Environment() { } - Config.Environment = Environment; - if (false) { - /** @type {?} */ - Environment.prototype.application; - /** @type {?} */ - Environment.prototype.production; - /** @type {?} */ - Environment.prototype.oAuthConfig; - /** @type {?} */ - Environment.prototype.apis; - /** @type {?} */ - Environment.prototype.localization; - } - /** - * @record - */ - function Application() { } - Config.Application = Application; - if (false) { - /** @type {?} */ - Application.prototype.name; - /** @type {?|undefined} */ - Application.prototype.logoUrl; - } - /** - * @record - */ - function Apis() { } - Config.Apis = Apis; - /** - * @record - */ - function Requirements() { } - Config.Requirements = Requirements; - if (false) { - /** @type {?} */ - Requirements.prototype.layouts; - } - /** - * @record - */ - function LocalizationWithDefault() { } - Config.LocalizationWithDefault = LocalizationWithDefault; - if (false) { - /** @type {?} */ - LocalizationWithDefault.prototype.key; - /** @type {?} */ - LocalizationWithDefault.prototype.defaultValue; - } -})(Config || (Config = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/rest.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var Rest; -(function (Rest) { - /** - * @record - */ - function Config() { } - Rest.Config = Config; - if (false) { - /** @type {?|undefined} */ - Config.prototype.skipHandleError; - /** @type {?|undefined} */ - Config.prototype.observe; - } - /** - * @record - * @template T - */ - function Request() { } - Rest.Request = Request; - if (false) { - /** @type {?|undefined} */ - Request.prototype.body; - /** @type {?|undefined} */ - Request.prototype.headers; - /** @type {?} */ - Request.prototype.method; - /** @type {?|undefined} */ - Request.prototype.params; - /** @type {?|undefined} */ - Request.prototype.reportProgress; - /** @type {?|undefined} */ - Request.prototype.responseType; - /** @type {?} */ - Request.prototype.url; - /** @type {?|undefined} */ - Request.prototype.withCredentials; - } -})(Rest || (Rest = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/session.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var Session; -(function (Session) { - /** - * @record - */ - function State() { } - Session.State = State; - if (false) { - /** @type {?} */ - State.prototype.language; - /** @type {?} */ - State.prototype.tenant; - } -})(Session || (Session = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/profile.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var Profile; -(function (Profile) { - /** - * @record - */ - function State() { } - Profile.State = State; - if (false) { - /** @type {?} */ - State.prototype.profile; - } - /** - * @record - */ - function Response() { } - Profile.Response = Response; - if (false) { - /** @type {?} */ - Response.prototype.userName; - /** @type {?} */ - Response.prototype.email; - /** @type {?} */ - Response.prototype.name; - /** @type {?} */ - Response.prototype.surname; - /** @type {?} */ - Response.prototype.phoneNumber; - } - /** - * @record - */ - function ChangePasswordRequest() { } - Profile.ChangePasswordRequest = ChangePasswordRequest; - if (false) { - /** @type {?} */ - ChangePasswordRequest.prototype.currentPassword; - /** @type {?} */ - ChangePasswordRequest.prototype.newPassword; - } -})(Profile || (Profile = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/pipes/localization.pipe.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var LocalizationPipe = /** @class */ (function () { - function LocalizationPipe(store) { - this.store = store; - } - /** - * @param {?=} value - * @param {...?} interpolateParams - * @return {?} - */ - LocalizationPipe.prototype.transform = /** - * @param {?=} value - * @param {...?} interpolateParams - * @return {?} - */ - function (value) { - if (value === void 0) { value = ''; } - var interpolateParams = []; - for (var _i = 1; _i < arguments.length; _i++) { - interpolateParams[_i - 1] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getLocalization.apply(ConfigState, __spread([value], interpolateParams.reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { return (Array.isArray(val) ? __spread(acc, val) : __spread(acc, [val])); }), [])))); - }; - LocalizationPipe.decorators = [ - { type: Injectable }, - { type: Pipe, args: [{ - name: 'abpLocalization', - },] } - ]; - /** @nocollapse */ - LocalizationPipe.ctorParameters = function () { return [ - { type: Store } - ]; }; - return LocalizationPipe; -}()); -if (false) { - /** - * @type {?} - * @private - */ - LocalizationPipe.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/pipes/sort.pipe.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var SortPipe = /** @class */ (function () { - function SortPipe() { - } - /** - * @param {?} value - * @param {?=} sortOrder - * @param {?=} sortKey - * @return {?} - */ - SortPipe.prototype.transform = /** - * @param {?} value - * @param {?=} sortOrder - * @param {?=} sortKey - * @return {?} - */ - function (value, sortOrder, sortKey) { - if (sortOrder === void 0) { sortOrder = 'asc'; } - sortOrder = sortOrder && ((/** @type {?} */ (sortOrder.toLowerCase()))); - if (!value || (sortOrder !== 'asc' && sortOrder !== 'desc')) - return value; - /** @type {?} */ - var numberArray = []; - /** @type {?} */ - var stringArray = []; - if (!sortKey) { - numberArray = value.filter((/** - * @param {?} item - * @return {?} - */ - function (item) { return typeof item === 'number'; })).sort(); - stringArray = value.filter((/** - * @param {?} item - * @return {?} - */ - function (item) { return typeof item === 'string'; })).sort(); - } - else { - numberArray = value - .filter((/** - * @param {?} item - * @return {?} - */ - function (item) { return typeof item[sortKey] === 'number'; })) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - function (a, b) { return a[sortKey] - b[sortKey]; })); - stringArray = value - .filter((/** - * @param {?} item - * @return {?} - */ - function (item) { return typeof item[sortKey] === 'string'; })) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - function (a, b) { - if (a[sortKey] < b[sortKey]) - return -1; - else if (a[sortKey] > b[sortKey]) - return 1; - else - return 0; - })); - } - /** @type {?} */ - var sorted = __spread(numberArray, stringArray, value.filter((/** - * @param {?} item - * @return {?} - */ - function (item) { - return typeof (sortKey ? item[sortKey] : item) !== 'number' && - typeof (sortKey ? item[sortKey] : item) !== 'string'; - }))); - return sortOrder === 'asc' ? sorted : sorted.reverse(); - }; - SortPipe.decorators = [ - { type: Injectable }, - { type: Pipe, args: [{ - name: 'abpSort', - },] } - ]; - return SortPipe; -}()); - -/** - * @fileoverview added by tsickle - * Generated from: lib/pipes/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/plugins/config.plugin.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @type {?} */ -var NGXS_CONFIG_PLUGIN_OPTIONS = new InjectionToken('NGXS_CONFIG_PLUGIN_OPTIONS'); -var ConfigPlugin = /** @class */ (function () { - function ConfigPlugin(options, router) { - this.options = options; - this.router = router; - this.initialized = false; - } - /** - * @param {?} state - * @param {?} event - * @param {?} next - * @return {?} - */ - ConfigPlugin.prototype.handle = /** - * @param {?} state - * @param {?} event - * @param {?} next - * @return {?} - */ - function (state, event, next) { - /** @type {?} */ - var matches = actionMatcher(event); - /** @type {?} */ - var isInitAction = matches(InitState) || matches(UpdateState); - if (isInitAction && !this.initialized) { - /** @type {?} */ - var transformedRoutes = transformRoutes(this.router.config); - var routes = transformedRoutes.routes; - var wrappers = transformedRoutes.wrappers; - routes = organizeRoutes(routes, wrappers); - /** @type {?} */ - var flattedRoutes = flatRoutes(clone(routes)); - state = setValue(state, 'ConfigState', __assign({}, (state.ConfigState && __assign({}, state.ConfigState)), this.options, { routes: routes, - flattedRoutes: flattedRoutes })); - this.initialized = true; - } - return next(state, event); - }; - ConfigPlugin.decorators = [ - { type: Injectable } - ]; - /** @nocollapse */ - ConfigPlugin.ctorParameters = function () { return [ - { type: undefined, decorators: [{ type: Inject, args: [NGXS_CONFIG_PLUGIN_OPTIONS,] }] }, - { type: Router } - ]; }; - return ConfigPlugin; -}()); -if (false) { - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.initialized; - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.options; - /** - * @type {?} - * @private - */ - ConfigPlugin.prototype.router; -} -/** - * @param {?=} routes - * @param {?=} wrappers - * @return {?} - */ -function transformRoutes(routes, wrappers) { - if (routes === void 0) { routes = []; } - if (wrappers === void 0) { wrappers = []; } - // TODO: remove in v1 - /** @type {?} */ - var oldAbpRoutes = routes - .filter((/** - * @param {?} route - * @return {?} - */ - function (route) { - return snq((/** - * @return {?} - */ - function () { return route.data.routes.routes.find((/** - * @param {?} r - * @return {?} - */ - function (r) { return r.path === route.path; })); }), false); - })) - .reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { return __spread(acc, val.data.routes.routes); }), []); - // tslint:disable-next-line: deprecation - /** @type {?} */ - var abpRoutes = __spread(getAbpRoutes(), oldAbpRoutes); - wrappers = abpRoutes.filter((/** - * @param {?} ar - * @return {?} - */ - function (ar) { return ar.wrapper; })); - /** @type {?} */ - var transformed = (/** @type {?} */ ([])); - routes - .filter((/** - * @param {?} route - * @return {?} - */ - function (route) { return route.component || route.loadChildren; })) - .forEach((/** - * @param {?} route - * @return {?} - */ - function (route) { - /** @type {?} */ - var abpPackage = abpRoutes.find((/** - * @param {?} abp - * @return {?} - */ - function (abp) { return abp.path.toLowerCase() === route.path.toLowerCase() && !abp.wrapper; })); - var length = transformed.length; - if (abpPackage) { - transformed.push(abpPackage); - } - if (transformed.length === length && (route.data || {}).routes) { - transformed.push((/** @type {?} */ (__assign({}, route.data.routes, { path: route.path, name: snq((/** - * @return {?} - */ - function () { return route.data.routes.name; }), route.path), children: route.data.routes.children || [] })))); - } - })); - return { routes: setUrls(transformed), wrappers: wrappers }; -} -/** - * @param {?} routes - * @param {?=} parentUrl - * @return {?} - */ -function setUrls(routes, parentUrl) { - if (parentUrl) { - // this if block using for only recursive call - return routes.map((/** - * @param {?} route - * @return {?} - */ - function (route) { return (__assign({}, route, { url: parentUrl + "/" + route.path }, (route.children && - route.children.length && { - children: setUrls(route.children, parentUrl + "/" + route.path), - }))); })); - } - return routes.map((/** - * @param {?} route - * @return {?} - */ - function (route) { return (__assign({}, route, { url: "/" + route.path }, (route.children && - route.children.length && { - children: setUrls(route.children, "/" + route.path), - }))); })); -} -/** - * @param {?} routes - * @return {?} - */ -function flatRoutes(routes) { - /** @type {?} */ - var flat = (/** - * @param {?} r - * @return {?} - */ - function (r) { - return r.reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { - /** @type {?} */ - var value = [val]; - if (val.children) { - value = __spread([val], flat(val.children)); - } - return __spread(acc, value); - }), []); - }); - return flat(routes); -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/plugins/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/config-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ConfigStateService = /** @class */ (function () { - function ConfigStateService(store) { - this.store = store; - } - /** - * @return {?} - */ - ConfigStateService.prototype.getAll = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(ConfigState.getAll); - }; - /** - * @return {?} - */ - ConfigStateService.prototype.getApplicationInfo = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(ConfigState.getApplicationInfo); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getOne = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getOne.apply(ConfigState, __spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getDeep = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getDeep.apply(ConfigState, __spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getRoute = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getRoute.apply(ConfigState, __spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getApiUrl = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getApiUrl.apply(ConfigState, __spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getSetting = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getSetting.apply(ConfigState, __spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getSettings = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getSettings.apply(ConfigState, __spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getGrantedPolicy = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getGrantedPolicy.apply(ConfigState, __spread(args))); - }; - /** - * @param {...?} args - * @return {?} - */ - ConfigStateService.prototype.getLocalization = /** - * @param {...?} args - * @return {?} - */ - function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return this.store.selectSnapshot(ConfigState.getLocalization.apply(ConfigState, __spread(args))); - }; - ConfigStateService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - ConfigStateService.ctorParameters = function () { return [ - { type: Store } - ]; }; - /** @nocollapse */ ConfigStateService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ConfigStateService_Factory() { return new ConfigStateService(ɵɵinject(Store)); }, token: ConfigStateService, providedIn: "root" }); - return ConfigStateService; -}()); -if (false) { - /** - * @type {?} - * @private - */ - ConfigStateService.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/lazy-load.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var LazyLoadService = /** @class */ (function () { - function LazyLoadService() { - this.loadedLibraries = {}; - } - /** - * @param {?} urlOrUrls - * @param {?} type - * @param {?=} content - * @param {?=} targetQuery - * @param {?=} position - * @return {?} - */ - LazyLoadService.prototype.load = /** - * @param {?} urlOrUrls - * @param {?} type - * @param {?=} content - * @param {?=} targetQuery - * @param {?=} position - * @return {?} - */ - function (urlOrUrls, type, content, targetQuery, position) { - var _this = this; - if (content === void 0) { content = ''; } - if (targetQuery === void 0) { targetQuery = 'body'; } - if (position === void 0) { position = 'beforeend'; } - if (!urlOrUrls && !content) { - return throwError('Should pass url or content'); - } - else if (!urlOrUrls && content) { - urlOrUrls = [null]; - } - if (!Array.isArray(urlOrUrls)) { - urlOrUrls = [urlOrUrls]; - } - return new Observable((/** - * @param {?} subscriber - * @return {?} - */ - function (subscriber) { - ((/** @type {?} */ (urlOrUrls))).forEach((/** - * @param {?} url - * @param {?} index - * @return {?} - */ - function (url, index) { - /** @type {?} */ - var key = url ? url.slice(url.lastIndexOf('/') + 1) : uuid(); - if (_this.loadedLibraries[key]) { - subscriber.next(); - subscriber.complete(); - return; - } - _this.loadedLibraries[key] = new ReplaySubject(); - /** @type {?} */ - var library; - if (type === 'script') { - library = document.createElement('script'); - library.type = 'text/javascript'; - if (url) { - ((/** @type {?} */ (library))).src = url; - } - ((/** @type {?} */ (library))).text = content; - } - else if (url) { - library = document.createElement('link'); - library.type = 'text/css'; - ((/** @type {?} */ (library))).rel = 'stylesheet'; - if (url) { - ((/** @type {?} */ (library))).href = url; - } - } - else { - library = document.createElement('style'); - ((/** @type {?} */ (library))).textContent = content; - } - library.onload = (/** - * @return {?} - */ - function () { - _this.loadedLibraries[key].next(); - _this.loadedLibraries[key].complete(); - if (index === urlOrUrls.length - 1) { - subscriber.next(); - subscriber.complete(); - } - }); - document.querySelector(targetQuery).insertAdjacentElement(position, library); - })); - })); - }; - LazyLoadService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ LazyLoadService.ngInjectableDef = ɵɵdefineInjectable({ factory: function LazyLoadService_Factory() { return new LazyLoadService(); }, token: LazyLoadService, providedIn: "root" }); - return LazyLoadService; -}()); -if (false) { - /** @type {?} */ - LazyLoadService.prototype.loadedLibraries; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/profile-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ProfileStateService = /** @class */ (function () { - function ProfileStateService(store) { - this.store = store; - } - /** - * @return {?} - */ - ProfileStateService.prototype.getProfile = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(ProfileState.getProfile); - }; - ProfileStateService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - ProfileStateService.ctorParameters = function () { return [ - { type: Store } - ]; }; - /** @nocollapse */ ProfileStateService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ProfileStateService_Factory() { return new ProfileStateService(ɵɵinject(Store)); }, token: ProfileStateService, providedIn: "root" }); - return ProfileStateService; -}()); -if (false) { - /** - * @type {?} - * @private - */ - ProfileStateService.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/session-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var SessionStateService = /** @class */ (function () { - function SessionStateService(store) { - this.store = store; - } - /** - * @return {?} - */ - SessionStateService.prototype.getLanguage = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(SessionState.getLanguage); - }; - /** - * @return {?} - */ - SessionStateService.prototype.getTenant = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(SessionState.getTenant); - }; - SessionStateService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - SessionStateService.ctorParameters = function () { return [ - { type: Store } - ]; }; - /** @nocollapse */ SessionStateService.ngInjectableDef = ɵɵdefineInjectable({ factory: function SessionStateService_Factory() { return new SessionStateService(ɵɵinject(Store)); }, token: SessionStateService, providedIn: "root" }); - return SessionStateService; -}()); -if (false) { - /** - * @type {?} - * @private - */ - SessionStateService.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/tokens/common.token.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?} environment - * @return {?} - */ -function environmentFactory(environment) { - return __assign({}, environment); -} -/** - * @param {?} config - * @return {?} - */ -function configFactory(config) { - return __assign({}, config); -} -/** @type {?} */ -var ENVIRONMENT = new InjectionToken('ENVIRONMENT'); -/** @type {?} */ -var CONFIG = new InjectionToken('CONFIG'); - -/** - * @fileoverview added by tsickle - * Generated from: lib/tokens/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/debounce.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var InputEventDebounceDirective = /** @class */ (function () { - function InputEventDebounceDirective(el) { - this.el = el; - this.debounce = 300; - this.debounceEvent = new EventEmitter(); - } - /** - * @return {?} - */ - InputEventDebounceDirective.prototype.ngOnInit = /** - * @return {?} - */ - function () { - var _this = this; - fromEvent(this.el.nativeElement, 'input') - .pipe(debounceTime(this.debounce), takeUntilDestroy$1(this)) - .subscribe((/** - * @param {?} event - * @return {?} - */ - function (event) { - _this.debounceEvent.emit(event); - })); - }; - /** - * @return {?} - */ - InputEventDebounceDirective.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - InputEventDebounceDirective.decorators = [ - { type: Directive, args: [{ - // tslint:disable-next-line: directive-selector - selector: '[input.debounce]', - },] } - ]; - /** @nocollapse */ - InputEventDebounceDirective.ctorParameters = function () { return [ - { type: ElementRef } - ]; }; - InputEventDebounceDirective.propDecorators = { - debounce: [{ type: Input }], - debounceEvent: [{ type: Output, args: ['input.debounce',] }] - }; - return InputEventDebounceDirective; -}()); -if (false) { - /** @type {?} */ - InputEventDebounceDirective.prototype.debounce; - /** @type {?} */ - InputEventDebounceDirective.prototype.debounceEvent; - /** - * @type {?} - * @private - */ - InputEventDebounceDirective.prototype.el; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/stop-propagation.directive.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ClickEventStopPropagationDirective = /** @class */ (function () { - function ClickEventStopPropagationDirective(el) { - this.el = el; - this.stopPropEvent = new EventEmitter(); - } - /** - * @return {?} - */ - ClickEventStopPropagationDirective.prototype.ngOnInit = /** - * @return {?} - */ - function () { - var _this = this; - fromEvent(this.el.nativeElement, 'click') - .pipe(takeUntilDestroy(this)) - .subscribe((/** - * @param {?} event - * @return {?} - */ - function (event) { - event.stopPropagation(); - _this.stopPropEvent.emit(event); - })); - }; - /** - * @return {?} - */ - ClickEventStopPropagationDirective.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - ClickEventStopPropagationDirective.decorators = [ - { type: Directive, args: [{ - // tslint:disable-next-line: directive-selector - selector: '[click.stop]', - },] } - ]; - /** @nocollapse */ - ClickEventStopPropagationDirective.ctorParameters = function () { return [ - { type: ElementRef } - ]; }; - ClickEventStopPropagationDirective.propDecorators = { - stopPropEvent: [{ type: Output, args: ['click.stop',] }] - }; - return ClickEventStopPropagationDirective; -}()); -if (false) { - /** @type {?} */ - ClickEventStopPropagationDirective.prototype.stopPropEvent; - /** - * @type {?} - * @private - */ - ClickEventStopPropagationDirective.prototype.el; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/providers/locale.provider.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var LocaleId = /** @class */ (function (_super) { - __extends(LocaleId, _super); - function LocaleId(localizationService) { - var _this = _super.call(this) || this; - _this.localizationService = localizationService; - return _this; - } - /** - * @return {?} - */ - LocaleId.prototype.toString = /** - * @return {?} - */ - function () { - var currentLang = this.localizationService.currentLang; - return localesMapping[currentLang] || currentLang; - }; - /** - * @return {?} - */ - LocaleId.prototype.valueOf = /** - * @return {?} - */ - function () { - return this.toString(); - }; - return LocaleId; -}(String)); -if (false) { - /** - * @type {?} - * @private - */ - LocaleId.prototype.localizationService; -} -/** @type {?} */ -var LocaleProvider = { - provide: LOCALE_ID, - useClass: LocaleId, - deps: [LocalizationService], -}; - -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/date-extensions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -Date.prototype.toLocalISOString = (/** - * @this {?} - * @return {?} - */ -function () { - /** @type {?} */ - var timezoneOffset = this.getTimezoneOffset(); - return new Date(this.getTime() - timezoneOffset * 60000).toISOString(); -}); - -/** - * @fileoverview added by tsickle - * Generated from: lib/core.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var CoreModule = /** @class */ (function () { - function CoreModule() { - } - /** - * @param {?=} options - * @return {?} - */ - CoreModule.forRoot = /** - * @param {?=} options - * @return {?} - */ - function (options) { - if (options === void 0) { options = (/** @type {?} */ ({})); } - return { - ngModule: CoreModule, - providers: [ - LocaleProvider, - { - provide: NGXS_PLUGINS, - useClass: ConfigPlugin, - multi: true, - }, - { - provide: NGXS_CONFIG_PLUGIN_OPTIONS, - useValue: options, - }, - { - provide: HTTP_INTERCEPTORS, - useClass: ApiInterceptor, - multi: true, - }, - { - provide: APP_INITIALIZER, - multi: true, - deps: [Injector], - useFactory: getInitialData, - }, - { - provide: APP_INITIALIZER, - multi: true, - deps: [Injector], - useFactory: localeInitializer, - }, - ], - }; - }; - CoreModule.decorators = [ - { type: NgModule, args: [{ - imports: [ - NgxsModule.forFeature([ProfileState, SessionState, ConfigState]), - NgxsRouterPluginModule.forRoot(), - NgxsStoragePluginModule.forRoot({ key: ['SessionState'] }), - OAuthModule.forRoot(), - CommonModule, - HttpClientModule, - FormsModule, - ReactiveFormsModule, - RouterModule, - ], - declarations: [ - RouterOutletComponent, - DynamicLayoutComponent, - AutofocusDirective, - EllipsisDirective, - ForDirective, - FormSubmitDirective, - LocalizationPipe, - SortPipe, - PermissionDirective, - VisibilityDirective, - InputEventDebounceDirective, - ClickEventStopPropagationDirective, - AbstractNgModelComponent, - ], - exports: [ - CommonModule, - HttpClientModule, - FormsModule, - ReactiveFormsModule, - RouterModule, - RouterOutletComponent, - DynamicLayoutComponent, - AutofocusDirective, - EllipsisDirective, - ForDirective, - FormSubmitDirective, - LocalizationPipe, - SortPipe, - PermissionDirective, - VisibilityDirective, - InputEventDebounceDirective, - LocalizationPipe, - ClickEventStopPropagationDirective, - AbstractNgModelComponent, - ], - providers: [LocalizationPipe], - entryComponents: [RouterOutletComponent, DynamicLayoutComponent], - },] } - ]; - return CoreModule; -}()); - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.core.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { AbstractNgModelComponent, ApiInterceptor, ApplicationConfigurationService, AuthGuard, AutofocusDirective, CONFIG, ChangePassword, ConfigPlugin, ConfigState, ConfigStateService, CoreModule, DynamicLayoutComponent, ENVIRONMENT, EllipsisDirective, ForDirective, FormSubmitDirective, GetAppConfiguration, GetProfile, LazyLoadService, LocalizationPipe, LocalizationService, NGXS_CONFIG_PLUGIN_OPTIONS, PatchRouteByName, PermissionDirective, PermissionGuard, ProfileService, ProfileState, ProfileStateService, Rest, RestOccurError, RestService, RouterOutletComponent, SessionState, SessionStateService, SetLanguage, SetTenant, SortPipe, StartLoader, StopLoader, UpdateProfile, VisibilityDirective, addAbpRoutes, configFactory, environmentFactory, getAbpRoutes, getInitialData, localeInitializer, noop, organizeRoutes, registerLocale, setChildRoute, sortRoutes, takeUntilDestroy, uuid, ProfileState as ɵa, ProfileService as ɵb, InputEventDebounceDirective as ɵba, ClickEventStopPropagationDirective as ɵbb, AbstractNgModelComponent as ɵbc, LocaleId as ɵbd, LocaleProvider as ɵbe, NGXS_CONFIG_PLUGIN_OPTIONS as ɵbf, ConfigPlugin as ɵbg, ApiInterceptor as ɵbh, getInitialData as ɵbi, localeInitializer as ɵbj, RestService as ɵc, GetProfile as ɵd, UpdateProfile as ɵe, ChangePassword as ɵf, SessionState as ɵh, LocalizationService as ɵi, SetLanguage as ɵj, SetTenant as ɵk, ConfigState as ɵm, ApplicationConfigurationService as ɵn, PatchRouteByName as ɵo, GetAppConfiguration as ɵp, RouterOutletComponent as ɵq, DynamicLayoutComponent as ɵr, AutofocusDirective as ɵs, EllipsisDirective as ɵt, ForDirective as ɵu, FormSubmitDirective as ɵv, LocalizationPipe as ɵw, SortPipe as ɵx, PermissionDirective as ɵy, VisibilityDirective as ɵz }; -//# sourceMappingURL=abp-ng.core.js.map diff --git a/npm/ng-packs/dist/core/fesm5/abp-ng.core.js.map b/npm/ng-packs/dist/core/fesm5/abp-ng.core.js.map deleted file mode 100644 index 1857868bd7b..00000000000 --- a/npm/ng-packs/dist/core/fesm5/abp-ng.core.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.core.js","sources":["ng://@abp/ng.core/lib/abstracts/ng-model.component.ts","ng://@abp/ng.core/lib/actions/config.actions.ts","ng://@abp/ng.core/lib/actions/loader.actions.ts","ng://@abp/ng.core/lib/actions/profile.actions.ts","ng://@abp/ng.core/lib/actions/rest.actions.ts","ng://@abp/ng.core/lib/actions/session.actions.ts","ng://@abp/ng.core/lib/services/rest.service.ts","ng://@abp/ng.core/lib/services/application-configuration.service.ts","ng://@abp/ng.core/lib/utils/route-utils.ts","ng://@abp/ng.core/lib/constants/different-locales.ts","ng://@abp/ng.core/lib/utils/initial-utils.ts","ng://@abp/ng.core/lib/services/localization.service.ts","ng://@abp/ng.core/lib/states/session.state.ts","ng://@abp/ng.core/lib/states/config.state.ts","ng://@abp/ng.core/lib/utils/rxjs-utils.ts","ng://@abp/ng.core/lib/components/dynamic-layout.component.ts","ng://@abp/ng.core/lib/components/router-outlet.component.ts","ng://@abp/ng.core/lib/directives/autofocus.directive.ts","ng://@abp/ng.core/lib/directives/ellipsis.directive.ts","ng://@abp/ng.core/lib/directives/for.directive.ts","ng://@abp/ng.core/lib/utils/common-utils.ts","ng://@abp/ng.core/lib/utils/generator-utils.ts","ng://@abp/ng.core/lib/directives/form-submit.directive.ts","ng://@abp/ng.core/lib/services/profile.service.ts","ng://@abp/ng.core/lib/states/profile.state.ts","ng://@abp/ng.core/lib/directives/permission.directive.ts","ng://@abp/ng.core/lib/directives/visibility.directive.ts","ng://@abp/ng.core/lib/enums/common.ts","ng://@abp/ng.core/lib/guards/auth.guard.ts","ng://@abp/ng.core/lib/guards/permission.guard.ts","ng://@abp/ng.core/lib/interceptors/api.interceptor.ts","ng://@abp/ng.core/lib/models/application-configuration.ts","ng://@abp/ng.core/lib/models/common.ts","ng://@abp/ng.core/lib/models/config.ts","ng://@abp/ng.core/lib/models/rest.ts","ng://@abp/ng.core/lib/models/session.ts","ng://@abp/ng.core/lib/models/profile.ts","ng://@abp/ng.core/lib/pipes/localization.pipe.ts","ng://@abp/ng.core/lib/pipes/sort.pipe.ts","ng://@abp/ng.core/lib/plugins/config.plugin.ts","ng://@abp/ng.core/lib/services/config-state.service.ts","ng://@abp/ng.core/lib/services/lazy-load.service.ts","ng://@abp/ng.core/lib/services/profile-state.service.ts","ng://@abp/ng.core/lib/services/session-state.service.ts","ng://@abp/ng.core/lib/tokens/common.token.ts","ng://@abp/ng.core/lib/directives/debounce.directive.ts","ng://@abp/ng.core/lib/directives/stop-propagation.directive.ts","ng://@abp/ng.core/lib/providers/locale.provider.ts","ng://@abp/ng.core/lib/utils/date-extensions.ts","ng://@abp/ng.core/lib/core.module.ts"],"sourcesContent":["import { ControlValueAccessor } from '@angular/forms';\r\nimport { ChangeDetectorRef, Component, Injector, Input, Type } from '@angular/core';\r\n\r\n@Component({ selector: 'abp-abstract-ng-model', template: '' })\r\nexport class AbstractNgModelComponent implements ControlValueAccessor {\r\n @Input() disabled: boolean;\r\n\r\n @Input() set value(value: T) {\r\n this._value = value;\r\n this.notifyValueChange();\r\n }\r\n\r\n get value(): T {\r\n return this._value;\r\n }\r\n\r\n onChange: (value: T) => {};\r\n onTouched: () => {};\r\n\r\n protected _value: T;\r\n protected cdRef: ChangeDetectorRef;\r\n\r\n constructor(public injector: Injector) {\r\n this.cdRef = injector.get(ChangeDetectorRef as Type);\r\n }\r\n\r\n notifyValueChange(): void {\r\n if (this.onChange) {\r\n this.onChange(this.value);\r\n }\r\n }\r\n\r\n writeValue(value: T): void {\r\n this._value = value;\r\n setTimeout(() => this.cdRef.detectChanges(), 0);\r\n }\r\n\r\n registerOnChange(fn: any): void {\r\n this.onChange = fn;\r\n }\r\n\r\n registerOnTouched(fn: any): void {\r\n this.onTouched = fn;\r\n }\r\n\r\n setDisabledState(isDisabled: boolean): void {\r\n this.disabled = isDisabled;\r\n }\r\n}\r\n","import { ABP } from '../models';\r\n\r\nexport class PatchRouteByName {\r\n static readonly type = '[Config] Patch Route By Name';\r\n constructor(public name: string, public newValue: Partial) {}\r\n}\r\n\r\nexport class GetAppConfiguration {\r\n static readonly type = '[Config] Get App Configuration';\r\n}\r\n","import { HttpRequest } from '@angular/common/http';\r\n\r\nexport class StartLoader {\r\n static readonly type = '[Loader] Start';\r\n constructor(public payload: HttpRequest) {}\r\n}\r\n\r\nexport class StopLoader {\r\n static readonly type = '[Loader] Stop';\r\n constructor(public payload: HttpRequest) {}\r\n}\r\n","import { Profile } from '../models';\r\n\r\nexport class GetProfile {\r\n static readonly type = '[Profile] Get';\r\n}\r\n\r\nexport class UpdateProfile {\r\n static readonly type = '[Profile] Update';\r\n constructor(public payload: Profile.Response) {}\r\n}\r\n\r\nexport class ChangePassword {\r\n static readonly type = '[Profile] Change Password';\r\n constructor(public payload: Profile.ChangePasswordRequest) {}\r\n}\r\n","import { HttpErrorResponse } from '@angular/common/http';\r\n\r\nexport class RestOccurError {\r\n static readonly type = '[Rest] Error';\r\n constructor(public payload: HttpErrorResponse | any) {}\r\n}\r\n","import { ABP } from '../models';\r\n\r\nexport class SetLanguage {\r\n static readonly type = '[Session] Set Language';\r\n constructor(public payload: string) {}\r\n}\r\nexport class SetTenant {\r\n static readonly type = '[Session] Set Tenant';\r\n constructor(public payload: ABP.BasicItem) {}\r\n}\r\n","import { HttpClient, HttpRequest } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { catchError, take, tap } from 'rxjs/operators';\r\nimport { RestOccurError } from '../actions/rest.actions';\r\nimport { Rest } from '../models/rest';\r\nimport { ConfigState } from '../states/config.state';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class RestService {\r\n constructor(private http: HttpClient, private store: Store) {}\r\n\r\n handleError(err: any): Observable {\r\n this.store.dispatch(new RestOccurError(err));\r\n console.error(err);\r\n return throwError(err);\r\n }\r\n\r\n request(request: HttpRequest | Rest.Request, config?: Rest.Config, api?: string): Observable {\r\n config = config || ({} as Rest.Config);\r\n const { observe = Rest.Observe.Body, skipHandleError } = config;\r\n const url = (api || this.store.selectSnapshot(ConfigState.getApiUrl())) + request.url;\r\n const { method, params, ...options } = request;\r\n\r\n return this.http\r\n .request(method, url, {\r\n observe,\r\n ...(params && {\r\n params: Object.keys(params).reduce(\r\n (acc, key) => ({\r\n ...acc,\r\n ...(typeof params[key] !== 'undefined' && params[key] !== '' && { [key]: params[key] }),\r\n }),\r\n {},\r\n ),\r\n }),\r\n ...options,\r\n } as any)\r\n .pipe(\r\n observe === Rest.Observe.Body ? take(1) : tap(),\r\n catchError(err => {\r\n if (skipHandleError) {\r\n return throwError(err);\r\n }\r\n\r\n return this.handleError(err);\r\n }),\r\n );\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { Rest } from '../models/rest';\r\nimport { ApplicationConfiguration } from '../models/application-configuration';\r\nimport { RestService } from './rest.service';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ApplicationConfigurationService {\r\n constructor(private rest: RestService) {}\r\n\r\n getConfiguration(): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/abp/application-configuration',\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n}\r\n","import { ABP } from '../models';\r\n\r\nexport function organizeRoutes(\r\n routes: ABP.FullRoute[],\r\n wrappers: ABP.FullRoute[] = [],\r\n parentNameArr = [] as ABP.FullRoute[],\r\n parentName: string = null,\r\n): ABP.FullRoute[] {\r\n const filter = route => {\r\n if (route.children && route.children.length) {\r\n route.children = organizeRoutes(route.children, wrappers, parentNameArr, route.name);\r\n }\r\n\r\n if (route.parentName && route.parentName !== parentName) {\r\n parentNameArr.push(route);\r\n return false;\r\n }\r\n\r\n return true;\r\n };\r\n\r\n if (parentName) {\r\n // recursive block\r\n return routes.filter(filter);\r\n }\r\n\r\n const filteredRoutes = routes.filter(filter);\r\n\r\n if (parentNameArr.length) {\r\n return sortRoutes(setChildRoute([...filteredRoutes, ...wrappers], parentNameArr));\r\n }\r\n\r\n return filteredRoutes;\r\n}\r\n\r\nexport function setChildRoute(routes: ABP.FullRoute[], parentNameArr: ABP.FullRoute[]): ABP.FullRoute[] {\r\n return routes.map(route => {\r\n if (route.children && route.children.length) {\r\n route.children = setChildRoute(route.children, parentNameArr);\r\n }\r\n\r\n const foundedChildren = parentNameArr.filter(parent => parent.parentName === route.name);\r\n if (foundedChildren && foundedChildren.length) {\r\n route.children = [...(route.children || []), ...foundedChildren];\r\n }\r\n\r\n return route;\r\n });\r\n}\r\n\r\nexport function sortRoutes(routes: ABP.FullRoute[] = []): ABP.FullRoute[] {\r\n if (!routes.length) return [];\r\n return routes\r\n .map((route, index) => {\r\n return {\r\n ...route,\r\n order: typeof route.order === 'undefined' ? index + 1 : route.order,\r\n };\r\n })\r\n .sort((a, b) => a.order - b.order)\r\n .map(route => {\r\n if (route.children && route.children.length) {\r\n route.children = sortRoutes(route.children);\r\n }\r\n\r\n return route;\r\n });\r\n}\r\n\r\nconst ABP_ROUTES = [] as ABP.FullRoute[];\r\n\r\nexport function addAbpRoutes(routes: ABP.FullRoute | ABP.FullRoute[]): void {\r\n if (!Array.isArray(routes)) {\r\n routes = [routes];\r\n }\r\n\r\n ABP_ROUTES.push(...routes);\r\n}\r\n\r\nexport function getAbpRoutes(): ABP.FullRoute[] {\r\n return ABP_ROUTES;\r\n}\r\n","// Different locales from .NET\r\n// Key is .NET locale, value is Angular locale\r\n\r\nexport default {\r\n 'ar-sa': 'ar-SA',\r\n 'ca-ES-valencia': 'ca-ES-VALENCIA',\r\n 'de-de': 'de',\r\n 'es-ES': 'es',\r\n 'en-US': 'en',\r\n 'fil-Latn': 'en',\r\n 'ku-Arab': 'en',\r\n 'ky-Cyrl': 'en',\r\n 'mi-Latn': 'en',\r\n 'prs-Arab': 'en',\r\n 'qut-Latn': 'en',\r\n nso: 'en',\r\n quz: 'en',\r\n 'fr-FR': 'fr',\r\n 'gd-Latn': 'gd',\r\n 'ha-Latn': 'ha',\r\n 'ig-Latn': 'ig',\r\n 'it-it': 'it',\r\n 'mn-Cyrl': 'mn',\r\n 'pt-BR': 'pt',\r\n 'sd-Arab': 'pa-Arab',\r\n 'sr-Cyrl-RS': 'sr-Cyrl',\r\n 'sr-Latn-RS': 'sr-Latn',\r\n 'tg-Cyrl': 'tg',\r\n 'tk-Latn': 'tk',\r\n 'tt-Cyrl': 'tt',\r\n 'ug-Arab': 'ug',\r\n 'yo-Latn': 'yo',\r\n};\r\n","import { registerLocaleData } from '@angular/common';\r\nimport { Injector } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { GetAppConfiguration } from '../actions/config.actions';\r\nimport differentLocales from '../constants/different-locales';\r\n\r\nexport function getInitialData(injector: Injector) {\r\n const fn = () => {\r\n const store: Store = injector.get(Store);\r\n\r\n return store.dispatch(new GetAppConfiguration()).toPromise();\r\n };\r\n\r\n return fn;\r\n}\r\n\r\nexport function localeInitializer(injector: Injector) {\r\n const fn = () => {\r\n const store: Store = injector.get(Store);\r\n\r\n const lang = store.selectSnapshot(state => state.SessionState.language) || 'en';\r\n\r\n return new Promise((resolve, reject) => {\r\n registerLocale(lang).then(() => resolve('resolved'), reject);\r\n });\r\n };\r\n\r\n return fn;\r\n}\r\n\r\nexport function registerLocale(locale: string) {\r\n return import(\r\n /* webpackInclude: /(af|am|ar-SA|as|az-Latn|be|bg|bn-BD|bn-IN|bs|ca|ca-ES-VALENCIA|cs|cy|da|de|de|el|en-GB|en|es|en|es-US|es-MX|et|eu|fa|fi|en|fr|fr|fr-CA|ga|gd|gl|gu|ha|he|hi|hr|hu|hy|id|ig|is|it|it|ja|ka|kk|km|kn|ko|kok|en|en|lb|lt|lv|en|mk|ml|mn|mr|ms|mt|nb|ne|nl|nl-BE|nn|en|or|pa|pa-Arab|pl|en|pt|pt-PT|en|en|ro|ru|rw|pa-Arab|si|sk|sl|sq|sr-Cyrl-BA|sr-Cyrl|sr-Latn|sv|sw|ta|te|tg|th|ti|tk|tn|tr|tt|ug|uk|ur|uz-Latn|vi|wo|xh|yo|zh-Hans|zh-Hant|zu)\\.js$/ */\r\n `@angular/common/locales/${differentLocales[locale] || locale}.js`\r\n ).then(module => {\r\n registerLocaleData(module.default);\r\n });\r\n}\r\n","import { Injectable, NgZone, Optional, SkipSelf } from '@angular/core';\r\nimport { ActivatedRouteSnapshot, Router } from '@angular/router';\r\nimport { Store } from '@ngxs/store';\r\nimport { noop, Observable } from 'rxjs';\r\nimport { ConfigState } from '../states/config.state';\r\nimport { registerLocale } from '../utils/initial-utils';\r\nimport { Config } from '../models/config';\r\n\r\ntype ShouldReuseRoute = (future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot) => boolean;\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class LocalizationService {\r\n get currentLang(): string {\r\n return this.store.selectSnapshot(state => state.SessionState.language);\r\n }\r\n\r\n constructor(\r\n private store: Store,\r\n private router: Router,\r\n private ngZone: NgZone,\r\n @Optional()\r\n @SkipSelf()\r\n otherInstance: LocalizationService,\r\n ) {\r\n if (otherInstance) throw new Error('LocalizationService should have only one instance.');\r\n }\r\n\r\n setRouteReuse(reuse: ShouldReuseRoute) {\r\n this.router.routeReuseStrategy.shouldReuseRoute = reuse;\r\n }\r\n\r\n registerLocale(locale: string) {\r\n const { shouldReuseRoute } = this.router.routeReuseStrategy;\r\n this.setRouteReuse(() => false);\r\n this.router.navigated = false;\r\n\r\n return registerLocale(locale).then(() => {\r\n this.ngZone.run(async () => {\r\n await this.router.navigateByUrl(this.router.url).catch(noop);\r\n this.setRouteReuse(shouldReuseRoute);\r\n });\r\n });\r\n }\r\n\r\n get(\r\n key: string | Config.LocalizationWithDefault,\r\n ...interpolateParams: string[]\r\n ): Observable {\r\n return this.store.select(ConfigState.getLocalization(key, ...interpolateParams));\r\n }\r\n\r\n instant(key: string | Config.LocalizationWithDefault, ...interpolateParams: string[]): string {\r\n return this.store.selectSnapshot(ConfigState.getLocalization(key, ...interpolateParams));\r\n }\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { from } from 'rxjs';\r\nimport { switchMap } from 'rxjs/operators';\r\nimport { GetAppConfiguration } from '../actions/config.actions';\r\nimport { SetLanguage, SetTenant } from '../actions/session.actions';\r\nimport { ABP, Session } from '../models';\r\nimport { LocalizationService } from '../services/localization.service';\r\n\r\n@State({\r\n name: 'SessionState',\r\n defaults: {} as Session.State,\r\n})\r\nexport class SessionState {\r\n @Selector()\r\n static getLanguage({ language }: Session.State): string {\r\n return language;\r\n }\r\n\r\n @Selector()\r\n static getTenant({ tenant }: Session.State): ABP.BasicItem {\r\n return tenant;\r\n }\r\n\r\n constructor(private localizationService: LocalizationService) {}\r\n\r\n @Action(SetLanguage)\r\n setLanguage({ patchState, dispatch }: StateContext, { payload }: SetLanguage) {\r\n patchState({\r\n language: payload,\r\n });\r\n\r\n return dispatch(new GetAppConfiguration()).pipe(\r\n switchMap(() => from(this.localizationService.registerLocale(payload))),\r\n );\r\n }\r\n\r\n @Action(SetTenant)\r\n setTenant({ patchState }: StateContext, { payload }: SetTenant) {\r\n patchState({\r\n tenant: payload,\r\n });\r\n }\r\n}\r\n","import {\r\n Action,\r\n createSelector,\r\n Selector,\r\n State,\r\n StateContext,\r\n Store,\r\n} from '@ngxs/store';\r\nimport { of } from 'rxjs';\r\nimport { switchMap, tap } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport {\r\n GetAppConfiguration,\r\n PatchRouteByName,\r\n} from '../actions/config.actions';\r\nimport { SetLanguage } from '../actions/session.actions';\r\nimport { ABP } from '../models/common';\r\nimport { Config } from '../models/config';\r\nimport { ApplicationConfigurationService } from '../services/application-configuration.service';\r\nimport { organizeRoutes } from '../utils/route-utils';\r\nimport { SessionState } from './session.state';\r\n\r\n@State({\r\n name: 'ConfigState',\r\n defaults: {} as Config.State,\r\n})\r\nexport class ConfigState {\r\n @Selector()\r\n static getAll(state: Config.State) {\r\n return state;\r\n }\r\n\r\n @Selector()\r\n static getApplicationInfo(state: Config.State): Config.Application {\r\n return state.environment.application || ({} as Config.Application);\r\n }\r\n\r\n static getOne(key: string) {\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n return state[key];\r\n });\r\n\r\n return selector;\r\n }\r\n\r\n static getDeep(keys: string[] | string) {\r\n if (typeof keys === 'string') {\r\n keys = keys.split('.');\r\n }\r\n\r\n if (!Array.isArray(keys)) {\r\n throw new Error('The argument must be a dot string or an string array.');\r\n }\r\n\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n return (keys as string[]).reduce((acc, val) => {\r\n if (acc) {\r\n return acc[val];\r\n }\r\n\r\n return undefined;\r\n }, state);\r\n });\r\n\r\n return selector;\r\n }\r\n\r\n static getRoute(path?: string, name?: string, url?: string) {\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n const { flattedRoutes } = state;\r\n return (flattedRoutes as ABP.FullRoute[]).find(route => {\r\n if (path && route.path === path) {\r\n return route;\r\n } else if (name && route.name === name) {\r\n return route;\r\n } else if (url && route.url === url) {\r\n return route;\r\n }\r\n });\r\n });\r\n\r\n return selector;\r\n }\r\n\r\n static getApiUrl(key?: string) {\r\n const selector = createSelector(\r\n [ConfigState],\r\n (state: Config.State): string => {\r\n return state.environment.apis[key || 'default'].url;\r\n },\r\n );\r\n\r\n return selector;\r\n }\r\n\r\n static getSetting(key: string) {\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n return snq(() => state.setting.values[key]);\r\n });\r\n return selector;\r\n }\r\n\r\n static getSettings(keyword?: string) {\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n if (keyword) {\r\n const keys = snq(\r\n () =>\r\n Object.keys(state.setting.values).filter(\r\n key => key.indexOf(keyword) > -1,\r\n ),\r\n [],\r\n );\r\n\r\n if (keys.length) {\r\n return keys.reduce(\r\n (acc, key) => ({ ...acc, [key]: state.setting.values[key] }),\r\n {},\r\n );\r\n }\r\n }\r\n\r\n return snq(() => state.setting.values, {});\r\n });\r\n return selector;\r\n }\r\n\r\n static getGrantedPolicy(key: string) {\r\n const selector = createSelector(\r\n [ConfigState],\r\n (state: Config.State): boolean => {\r\n if (!key) return true;\r\n const getPolicy = k => snq(() => state.auth.grantedPolicies[k], false);\r\n\r\n const orRegexp = /\\|\\|/g;\r\n const andRegexp = /&&/g;\r\n\r\n if (orRegexp.test(key)) {\r\n const keys = key.split('||').filter(k => !!k);\r\n\r\n if (keys.length !== 2) return false;\r\n\r\n return getPolicy(keys[0].trim()) || getPolicy(keys[1].trim());\r\n } else if (andRegexp.test(key)) {\r\n const keys = key.split('&&').filter(k => !!k);\r\n\r\n if (keys.length !== 2) return false;\r\n\r\n return getPolicy(keys[0].trim()) && getPolicy(keys[1].trim());\r\n }\r\n\r\n return getPolicy(key);\r\n },\r\n );\r\n\r\n return selector;\r\n }\r\n\r\n static getLocalization(\r\n key: string | Config.LocalizationWithDefault,\r\n ...interpolateParams: string[]\r\n ) {\r\n let defaultValue: string;\r\n\r\n if (typeof key !== 'string') {\r\n defaultValue = key.defaultValue;\r\n key = key.key;\r\n }\r\n\r\n if (!key) key = '';\r\n\r\n const keys = key.split('::') as string[];\r\n const selector = createSelector([ConfigState], (state: Config.State) => {\r\n if (!state.localization) return defaultValue || key;\r\n\r\n const { defaultResourceName } = state.environment.localization;\r\n if (keys[0] === '') {\r\n if (!defaultResourceName) {\r\n throw new Error(\r\n `Please check your environment. May you forget set defaultResourceName?\r\n Here is the example:\r\n { production: false,\r\n localization: {\r\n defaultResourceName: 'MyProjectName'\r\n }\r\n }`,\r\n );\r\n }\r\n\r\n keys[0] = snq(() => defaultResourceName);\r\n }\r\n\r\n let localization = (keys as any).reduce((acc, val) => {\r\n if (acc) {\r\n return acc[val];\r\n }\r\n\r\n return undefined;\r\n }, state.localization.values);\r\n\r\n interpolateParams = interpolateParams.filter(params => params != null);\r\n if (localization && interpolateParams && interpolateParams.length) {\r\n interpolateParams.forEach(param => {\r\n localization = localization.replace(/[\\'\\\"]?\\{[\\d]+\\}[\\'\\\"]?/, param);\r\n });\r\n }\r\n\r\n if (typeof localization !== 'string') localization = '';\r\n return localization || defaultValue || key;\r\n });\r\n\r\n return selector;\r\n }\r\n\r\n constructor(\r\n private appConfigurationService: ApplicationConfigurationService,\r\n private store: Store,\r\n ) {}\r\n\r\n @Action(GetAppConfiguration)\r\n addData({ patchState, dispatch }: StateContext) {\r\n return this.appConfigurationService.getConfiguration().pipe(\r\n tap(configuration =>\r\n patchState({\r\n ...configuration,\r\n }),\r\n ),\r\n switchMap(configuration => {\r\n let defaultLang: string =\r\n configuration.setting.values['Abp.Localization.DefaultLanguage'];\r\n\r\n if (defaultLang.includes(';')) {\r\n defaultLang = defaultLang.split(';')[0];\r\n }\r\n\r\n return this.store.selectSnapshot(SessionState.getLanguage)\r\n ? of(null)\r\n : dispatch(new SetLanguage(defaultLang));\r\n }),\r\n );\r\n }\r\n\r\n @Action(PatchRouteByName)\r\n patchRoute(\r\n { patchState, getState }: StateContext,\r\n { name, newValue }: PatchRouteByName,\r\n ) {\r\n let routes: ABP.FullRoute[] = getState().routes;\r\n\r\n const index = routes.findIndex(route => route.name === name);\r\n\r\n routes = patchRouteDeep(routes, name, newValue);\r\n\r\n return patchState({\r\n routes,\r\n });\r\n }\r\n}\r\n\r\nfunction patchRouteDeep(\r\n routes: ABP.FullRoute[],\r\n name: string,\r\n newValue: Partial,\r\n parentUrl: string = '',\r\n): ABP.FullRoute[] {\r\n routes = routes.map(route => {\r\n if (route.name === name) {\r\n newValue.url = `${parentUrl}/${(!newValue.path && newValue.path === ''\r\n ? route.path\r\n : newValue.path) || ''}`;\r\n\r\n if (newValue.children && newValue.children.length) {\r\n newValue.children = newValue.children.map(child => ({\r\n ...child,\r\n url: `${newValue.url}/${child.path}`.replace('//', '/'),\r\n }));\r\n }\r\n\r\n return { ...route, ...newValue };\r\n } else if (route.children && route.children.length) {\r\n route.children = patchRouteDeep(\r\n route.children,\r\n name,\r\n newValue,\r\n (parentUrl || '/') + route.path,\r\n );\r\n }\r\n\r\n return route;\r\n });\r\n\r\n if (parentUrl) {\r\n // recursive block\r\n return routes;\r\n }\r\n\r\n return organizeRoutes(routes);\r\n}\r\n","import { Observable, Subject } from 'rxjs';\r\nimport { takeUntil } from 'rxjs/operators';\r\n\r\nfunction isFunction(value) {\r\n return typeof value === 'function';\r\n}\r\n\r\nexport const takeUntilDestroy = (componentInstance, destroyMethodName = 'ngOnDestroy') => (\r\n source: Observable\r\n) => {\r\n const originalDestroy = componentInstance[destroyMethodName];\r\n if (isFunction(originalDestroy) === false) {\r\n throw new Error(\r\n `${componentInstance.constructor.name} is using untilDestroyed but doesn't implement ${destroyMethodName}`\r\n );\r\n }\r\n if (!componentInstance['__takeUntilDestroy']) {\r\n componentInstance['__takeUntilDestroy'] = new Subject();\r\n\r\n componentInstance[destroyMethodName] = function() {\r\n // tslint:disable-next-line: no-unused-expression\r\n isFunction(originalDestroy) && originalDestroy.apply(this, arguments);\r\n componentInstance['__takeUntilDestroy'].next(true);\r\n componentInstance['__takeUntilDestroy'].complete();\r\n };\r\n }\r\n return source.pipe(takeUntil(componentInstance['__takeUntilDestroy']));\r\n};\r\n","import { Component, Input, OnDestroy, Type } from '@angular/core';\r\nimport { ActivatedRoute, NavigationEnd, Router, UrlSegment } from '@angular/router';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport snq from 'snq';\r\nimport { eLayoutType } from '../enums/common';\r\nimport { Config } from '../models/config';\r\nimport { ABP } from '../models/common';\r\nimport { ConfigState } from '../states/config.state';\r\nimport { takeUntilDestroy } from '../utils/rxjs-utils';\r\n\r\n@Component({\r\n selector: 'abp-dynamic-layout',\r\n template: `\r\n \r\n \r\n \r\n `\r\n})\r\nexport class DynamicLayoutComponent implements OnDestroy {\r\n @Select(ConfigState.getOne('requirements')) requirements$: Observable;\r\n\r\n layout: Type;\r\n\r\n constructor(private router: Router, private route: ActivatedRoute, private store: Store) {\r\n const {\r\n requirements: { layouts },\r\n routes\r\n } = this.store.selectSnapshot(ConfigState.getAll);\r\n\r\n if ((this.route.snapshot.data || {}).layout) {\r\n this.layout = layouts\r\n .filter(l => !!l)\r\n .find((l: any) => snq(() => l.type.toLowerCase().indexOf(this.route.snapshot.data.layout), -1) > -1);\r\n }\r\n\r\n this.router.events.pipe(takeUntilDestroy(this)).subscribe(event => {\r\n if (event instanceof NavigationEnd) {\r\n const { segments } = this.router.parseUrl(event.url).root.children.primary;\r\n\r\n const layout = (this.route.snapshot.data || {}).layout || findLayout(segments, routes);\r\n\r\n this.layout = layouts\r\n .filter(l => !!l)\r\n .find((l: any) => snq(() => l.type.toLowerCase().indexOf(layout), -1) > -1);\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy() {}\r\n}\r\n\r\nfunction findLayout(segments: UrlSegment[], routes: ABP.FullRoute[]): eLayoutType {\r\n let layout = eLayoutType.empty;\r\n\r\n const route = routes\r\n .reduce((acc, val) => (val.wrapper ? [...acc, ...val.children] : [...acc, val]), [])\r\n .find(r => r.path === segments[0].path);\r\n\r\n if (route) {\r\n if (route.layout) {\r\n layout = route.layout;\r\n }\r\n\r\n if (route.children && route.children.length && segments.length > 1) {\r\n const child = route.children.find(c => c.path === segments[1].path);\r\n\r\n if (child && child.layout) {\r\n layout = child.layout;\r\n }\r\n }\r\n }\r\n\r\n return layout;\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-router-outlet',\r\n template: `\r\n \r\n `,\r\n})\r\nexport class RouterOutletComponent {}\r\n","import { Directive, ElementRef, Input, AfterViewInit } from '@angular/core';\r\n\r\n@Directive({\r\n // tslint:disable-next-line: directive-selector\r\n selector: '[autofocus]'\r\n})\r\nexport class AutofocusDirective implements AfterViewInit {\r\n @Input('autofocus')\r\n delay = 0;\r\n\r\n constructor(private elRef: ElementRef) {}\r\n\r\n ngAfterViewInit(): void {\r\n setTimeout(() => this.elRef.nativeElement.focus(), this.delay);\r\n }\r\n}\r\n","import { AfterViewInit, ChangeDetectorRef, Directive, ElementRef, HostBinding, Input } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[abpEllipsis]',\r\n})\r\nexport class EllipsisDirective implements AfterViewInit {\r\n @Input('abpEllipsis')\r\n width: string;\r\n\r\n @HostBinding('title')\r\n @Input()\r\n title: string;\r\n\r\n @Input('abpEllipsisEnabled')\r\n enabled = true;\r\n\r\n @HostBinding('class.abp-ellipsis-inline')\r\n get inlineClass() {\r\n return this.enabled && this.width;\r\n }\r\n\r\n @HostBinding('class.abp-ellipsis')\r\n get class() {\r\n return this.enabled && !this.width;\r\n }\r\n\r\n @HostBinding('style.max-width')\r\n get maxWidth() {\r\n return this.enabled && this.width ? this.width || '170px' : undefined;\r\n }\r\n\r\n constructor(private cdRef: ChangeDetectorRef, private elRef: ElementRef) {}\r\n\r\n ngAfterViewInit() {\r\n this.title = this.title || (this.elRef.nativeElement as HTMLElement).innerText;\r\n this.cdRef.detectChanges();\r\n }\r\n}\r\n","import {\r\n Directive,\r\n EmbeddedViewRef,\r\n Input,\r\n IterableChangeRecord,\r\n IterableChanges,\r\n IterableDiffer,\r\n IterableDiffers,\r\n OnChanges,\r\n TemplateRef,\r\n TrackByFunction,\r\n ViewContainerRef,\r\n} from '@angular/core';\r\nimport compare from 'just-compare';\r\nimport clone from 'just-clone';\r\n\r\nexport type CompareFn = (value: T, comparison: T) => boolean;\r\n\r\nclass AbpForContext {\r\n constructor(public $implicit: any, public index: number, public count: number, public list: any[]) {}\r\n}\r\n\r\nclass RecordView {\r\n constructor(public record: IterableChangeRecord, public view: EmbeddedViewRef) {}\r\n}\r\n\r\n@Directive({\r\n selector: '[abpFor]',\r\n})\r\nexport class ForDirective implements OnChanges {\r\n @Input('abpForOf')\r\n items: any[];\r\n\r\n @Input('abpForOrderBy')\r\n orderBy: string;\r\n\r\n @Input('abpForOrderDir')\r\n orderDir: 'ASC' | 'DESC';\r\n\r\n @Input('abpForFilterBy')\r\n filterBy: string;\r\n\r\n @Input('abpForFilterVal')\r\n filterVal: any;\r\n\r\n @Input('abpForTrackBy')\r\n trackBy;\r\n\r\n @Input('abpForCompareBy')\r\n compareBy: CompareFn;\r\n\r\n @Input('abpForEmptyRef')\r\n emptyRef: TemplateRef;\r\n\r\n private differ: IterableDiffer;\r\n\r\n private isShowEmptyRef: boolean;\r\n\r\n get compareFn(): CompareFn {\r\n return this.compareBy || compare;\r\n }\r\n\r\n get trackByFn(): TrackByFunction {\r\n return this.trackBy || ((index: number, item: any) => (item as any).id || index);\r\n }\r\n\r\n constructor(\r\n private tempRef: TemplateRef,\r\n private vcRef: ViewContainerRef,\r\n private differs: IterableDiffers,\r\n ) {}\r\n\r\n private iterateOverAppliedOperations(changes: IterableChanges) {\r\n const rw: RecordView[] = [];\r\n\r\n changes.forEachOperation((record: IterableChangeRecord, previousIndex: number, currentIndex: number) => {\r\n if (record.previousIndex == null) {\r\n const view = this.vcRef.createEmbeddedView(\r\n this.tempRef,\r\n new AbpForContext(null, -1, -1, this.items),\r\n currentIndex,\r\n );\r\n\r\n rw.push(new RecordView(record, view));\r\n } else if (currentIndex == null) {\r\n this.vcRef.remove(previousIndex);\r\n } else {\r\n const view = this.vcRef.get(previousIndex);\r\n this.vcRef.move(view, currentIndex);\r\n\r\n rw.push(new RecordView(record, view as EmbeddedViewRef));\r\n }\r\n });\r\n\r\n for (let i = 0, l = rw.length; i < l; i++) {\r\n rw[i].view.context.$implicit = rw[i].record.item;\r\n }\r\n }\r\n\r\n private iterateOverAttachedViews(changes: IterableChanges) {\r\n for (let i = 0, l = this.vcRef.length; i < l; i++) {\r\n const viewRef = this.vcRef.get(i) as EmbeddedViewRef;\r\n viewRef.context.index = i;\r\n viewRef.context.count = l;\r\n viewRef.context.list = this.items;\r\n }\r\n\r\n changes.forEachIdentityChange((record: IterableChangeRecord) => {\r\n const viewRef = this.vcRef.get(record.currentIndex) as EmbeddedViewRef;\r\n viewRef.context.$implicit = record.item;\r\n });\r\n }\r\n\r\n private projectItems(items: any[]): void {\r\n if (!items.length && this.emptyRef) {\r\n this.vcRef.clear();\r\n // tslint:disable-next-line: no-unused-expression\r\n this.vcRef.createEmbeddedView(this.emptyRef).rootNodes;\r\n this.isShowEmptyRef = true;\r\n this.differ = null;\r\n\r\n return;\r\n }\r\n\r\n if (this.emptyRef && this.isShowEmptyRef) {\r\n this.vcRef.clear();\r\n this.isShowEmptyRef = false;\r\n }\r\n\r\n if (!this.differ && items) {\r\n this.differ = this.differs.find(items).create(this.trackByFn);\r\n }\r\n\r\n if (this.differ) {\r\n const changes = this.differ.diff(items);\r\n\r\n if (changes) {\r\n this.iterateOverAppliedOperations(changes);\r\n this.iterateOverAttachedViews(changes);\r\n }\r\n }\r\n }\r\n\r\n private sortItems(items: any[]) {\r\n if (this.orderBy) {\r\n items.sort((a, b) => (a[this.orderBy] > b[this.orderBy] ? 1 : a[this.orderBy] < b[this.orderBy] ? -1 : 0));\r\n } else {\r\n items.sort();\r\n }\r\n }\r\n\r\n ngOnChanges() {\r\n let items = clone(this.items) as any[];\r\n if (!Array.isArray(items)) return;\r\n\r\n const compareFn = this.compareFn;\r\n\r\n if (typeof this.filterBy !== 'undefined' && typeof this.filterVal !== 'undefined' && this.filterVal !== '') {\r\n items = items.filter(item => compareFn(item[this.filterBy], this.filterVal));\r\n }\r\n\r\n switch (this.orderDir) {\r\n case 'ASC':\r\n this.sortItems(items);\r\n this.projectItems(items);\r\n break;\r\n\r\n case 'DESC':\r\n this.sortItems(items);\r\n items.reverse();\r\n this.projectItems(items);\r\n break;\r\n\r\n default:\r\n this.projectItems(items);\r\n }\r\n }\r\n}\r\n","export function noop() {\r\n // tslint:disable-next-line: only-arrow-functions\r\n const fn = function() {};\r\n return fn;\r\n}\r\n","export function uuid(a?: any): string {\r\n return a\r\n ? // tslint:disable-next-line: no-bitwise\r\n (a ^ ((Math.random() * 16) >> (a / 4))).toString(16)\r\n : ('' + 1e7 + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, uuid);\r\n}\r\n","import {\r\n ChangeDetectorRef,\r\n Directive,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n OnDestroy,\r\n OnInit,\r\n Output,\r\n Self,\r\n} from '@angular/core';\r\nimport { FormControl, FormGroup, FormGroupDirective } from '@angular/forms';\r\nimport { fromEvent } from 'rxjs';\r\nimport { debounceTime, filter } from 'rxjs/operators';\r\nimport { takeUntilDestroy } from '../utils';\r\n\r\ntype Controls = { [key: string]: FormControl } | FormGroup[];\r\n\r\n@Directive({\r\n // tslint:disable-next-line: directive-selector\r\n selector: 'form[ngSubmit][formGroup]',\r\n})\r\nexport class FormSubmitDirective implements OnInit, OnDestroy {\r\n @Input()\r\n debounce = 200;\r\n\r\n @Input()\r\n notValidateOnSubmit: string | boolean;\r\n\r\n @Output() readonly ngSubmit = new EventEmitter();\r\n\r\n executedNgSubmit = false;\r\n\r\n constructor(\r\n @Self() private formGroupDirective: FormGroupDirective,\r\n private host: ElementRef,\r\n private cdRef: ChangeDetectorRef,\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.formGroupDirective.ngSubmit.pipe(takeUntilDestroy(this)).subscribe(() => {\r\n this.markAsDirty();\r\n this.executedNgSubmit = true;\r\n });\r\n\r\n fromEvent(this.host.nativeElement as HTMLElement, 'keyup')\r\n .pipe(\r\n debounceTime(this.debounce),\r\n filter((key: KeyboardEvent) => key && key.key === 'Enter'),\r\n takeUntilDestroy(this),\r\n )\r\n .subscribe(() => {\r\n if (!this.executedNgSubmit) {\r\n this.host.nativeElement.dispatchEvent(new Event('submit', { bubbles: true, cancelable: true }));\r\n }\r\n\r\n this.executedNgSubmit = false;\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {}\r\n\r\n markAsDirty() {\r\n const { form } = this.formGroupDirective;\r\n\r\n setDirty(form.controls as { [key: string]: FormControl });\r\n form.markAsDirty();\r\n\r\n this.cdRef.detectChanges();\r\n }\r\n}\r\n\r\nfunction setDirty(controls: Controls) {\r\n if (Array.isArray(controls)) {\r\n controls.forEach(group => {\r\n setDirty(group.controls as { [key: string]: FormControl });\r\n });\r\n return;\r\n }\r\n\r\n Object.keys(controls).forEach(key => {\r\n controls[key].markAsDirty();\r\n controls[key].updateValueAndValidity();\r\n });\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RestService } from './rest.service';\r\nimport { Profile, Rest } from '../models';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ProfileService {\r\n constructor(private rest: RestService) {}\r\n\r\n get(): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/identity/my-profile',\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n update(body: Profile.Response): Observable {\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url: '/api/identity/my-profile',\r\n body,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n changePassword(body: Profile.ChangePasswordRequest, skipHandleError: boolean = false): Observable {\r\n const request: Rest.Request = {\r\n method: 'POST',\r\n url: '/api/identity/my-profile/change-password',\r\n body,\r\n };\r\n\r\n return this.rest.request(request, { skipHandleError });\r\n }\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { tap } from 'rxjs/operators';\r\nimport { ChangePassword, GetProfile, UpdateProfile } from '../actions/profile.actions';\r\nimport { Profile } from '../models/profile';\r\nimport { ProfileService } from '../services/profile.service';\r\n\r\n@State({\r\n name: 'ProfileState',\r\n defaults: {} as Profile.State,\r\n})\r\nexport class ProfileState {\r\n @Selector()\r\n static getProfile({ profile }: Profile.State): Profile.Response {\r\n return profile;\r\n }\r\n\r\n constructor(private profileService: ProfileService) {}\r\n\r\n @Action(GetProfile)\r\n getProfile({ patchState }: StateContext) {\r\n return this.profileService.get().pipe(\r\n tap(profile =>\r\n patchState({\r\n profile,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(UpdateProfile)\r\n updateProfile({ patchState }: StateContext, { payload }: UpdateProfile) {\r\n return this.profileService.update(payload).pipe(\r\n tap(profile =>\r\n patchState({\r\n profile,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(ChangePassword)\r\n changePassword(_, { payload }: ChangePassword) {\r\n return this.profileService.changePassword(payload, true);\r\n }\r\n}\r\n","import {\r\n Directive,\r\n ElementRef,\r\n Input,\r\n OnDestroy,\r\n OnInit,\r\n Renderer2,\r\n ViewContainerRef,\r\n TemplateRef,\r\n Optional,\r\n SimpleChanges,\r\n OnChanges,\r\n} from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { ConfigState } from '../states';\r\nimport { takeUntilDestroy } from '../utils';\r\nimport { Subscription } from 'rxjs';\r\n\r\n@Directive({\r\n selector: '[abpPermission]',\r\n})\r\nexport class PermissionDirective implements OnInit, OnDestroy, OnChanges {\r\n @Input('abpPermission') condition: string;\r\n\r\n subscription: Subscription;\r\n\r\n constructor(\r\n private elRef: ElementRef,\r\n private renderer: Renderer2,\r\n private store: Store,\r\n @Optional() private templateRef: TemplateRef,\r\n private vcRef: ViewContainerRef,\r\n ) {}\r\n\r\n private check() {\r\n if (this.subscription) {\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n this.subscription = this.store\r\n .select(ConfigState.getGrantedPolicy(this.condition))\r\n .pipe(takeUntilDestroy(this))\r\n .subscribe(isGranted => {\r\n if (this.templateRef && isGranted) {\r\n this.vcRef.clear();\r\n this.vcRef.createEmbeddedView(this.templateRef);\r\n } else if (this.templateRef && !isGranted) {\r\n this.vcRef.clear();\r\n } else if (!isGranted && !this.templateRef) {\r\n this.renderer.removeChild((this.elRef.nativeElement as HTMLElement).parentElement, this.elRef.nativeElement);\r\n }\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n if (this.templateRef && !this.condition) {\r\n this.vcRef.createEmbeddedView(this.templateRef);\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {}\r\n\r\n ngOnChanges({ condition }: SimpleChanges) {\r\n if ((condition || { currentValue: null }).currentValue) {\r\n this.check();\r\n }\r\n }\r\n}\r\n","import { Directive, Input, Optional, ElementRef, Renderer2, AfterViewInit } from '@angular/core';\r\nimport { Subject } from 'rxjs';\r\nimport snq from 'snq';\r\n\r\n@Directive({\r\n selector: '[abpVisibility]',\r\n})\r\nexport class VisibilityDirective implements AfterViewInit {\r\n @Input('abpVisibility')\r\n focusedElement: HTMLElement;\r\n\r\n completed$ = new Subject();\r\n\r\n constructor(@Optional() private elRef: ElementRef, private renderer: Renderer2) {}\r\n\r\n ngAfterViewInit() {\r\n if (!this.focusedElement && this.elRef) {\r\n this.focusedElement = this.elRef.nativeElement;\r\n }\r\n\r\n let observer: MutationObserver;\r\n observer = new MutationObserver(mutations => {\r\n mutations.forEach(mutation => {\r\n if (!mutation.target) return;\r\n\r\n const htmlNodes = snq(\r\n () => Array.from(mutation.target.childNodes).filter(node => node instanceof HTMLElement),\r\n [],\r\n );\r\n\r\n if (!htmlNodes.length) {\r\n this.removeFromDOM();\r\n }\r\n });\r\n });\r\n\r\n observer.observe(this.focusedElement, {\r\n childList: true,\r\n });\r\n\r\n setTimeout(() => {\r\n const htmlNodes = snq(\r\n () => Array.from(this.focusedElement.childNodes).filter(node => node instanceof HTMLElement),\r\n [],\r\n );\r\n\r\n if (!htmlNodes.length) this.removeFromDOM();\r\n }, 0);\r\n\r\n this.completed$.subscribe(() => observer.disconnect());\r\n }\r\n\r\n disconnect() {\r\n this.completed$.next();\r\n this.completed$.complete();\r\n }\r\n\r\n removeFromDOM() {\r\n if (!this.elRef.nativeElement) return;\r\n\r\n this.renderer.removeChild(this.elRef.nativeElement.parentElement, this.elRef.nativeElement);\r\n this.disconnect();\r\n }\r\n}\r\n","export const enum eLayoutType {\r\n account = 'account',\r\n application = 'application',\r\n empty = 'empty',\r\n /**\r\n * @deprecated since version 0.9.0\r\n */\r\n setting = 'setting',\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot, UrlTree } from '@angular/router';\r\nimport { OAuthService } from 'angular-oauth2-oidc';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AuthGuard implements CanActivate {\r\n constructor(private oauthService: OAuthService, private router: Router) {}\r\n\r\n canActivate(_: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable | boolean | UrlTree {\r\n const hasValidAccessToken = this.oauthService.hasValidAccessToken();\r\n if (hasValidAccessToken) {\r\n return hasValidAccessToken;\r\n }\r\n\r\n return this.router.createUrlTree(['/account/login'], { state: { redirectUrl: state.url } });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ActivatedRouteSnapshot, CanActivate, RouterStateSnapshot } from '@angular/router';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { tap } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport { RestOccurError } from '../actions';\r\nimport { ConfigState } from '../states';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PermissionGuard implements CanActivate {\r\n constructor(private store: Store) {}\r\n\r\n canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable {\r\n let resource = snq(() => route.data.routes.requiredPolicy) || snq(() => route.data.requiredPolicy as string);\r\n if (!resource) {\r\n resource = snq(\r\n () => route.routeConfig.children.find(child => state.url.indexOf(child.path) > -1).data.requiredPolicy,\r\n );\r\n }\r\n\r\n return this.store.select(ConfigState.getGrantedPolicy(resource)).pipe(\r\n tap(access => {\r\n if (!access) {\r\n this.store.dispatch(new RestOccurError({ status: 403 }));\r\n }\r\n }),\r\n );\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http';\r\nimport { OAuthService } from 'angular-oauth2-oidc';\r\nimport { Store } from '@ngxs/store';\r\nimport { SessionState } from '../states';\r\nimport { StartLoader, StopLoader } from '../actions/loader.actions';\r\nimport { finalize } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class ApiInterceptor implements HttpInterceptor {\r\n constructor(private oAuthService: OAuthService, private store: Store) {}\r\n\r\n intercept(request: HttpRequest, next: HttpHandler) {\r\n this.store.dispatch(new StartLoader(request));\r\n\r\n const headers = {} as any;\r\n\r\n const token = this.oAuthService.getAccessToken();\r\n if (!request.headers.has('Authorization') && token) {\r\n headers['Authorization'] = `Bearer ${token}`;\r\n }\r\n\r\n const lang = this.store.selectSnapshot(SessionState.getLanguage);\r\n if (!request.headers.has('Accept-Language') && lang) {\r\n headers['Accept-Language'] = lang;\r\n }\r\n\r\n const tenant = this.store.selectSnapshot(SessionState.getTenant);\r\n if (!request.headers.has('__tenant') && tenant) {\r\n headers['__tenant'] = tenant.id;\r\n }\r\n\r\n return next\r\n .handle(\r\n request.clone({\r\n setHeaders: headers,\r\n }),\r\n )\r\n .pipe(finalize(() => this.store.dispatch(new StopLoader(request))));\r\n }\r\n}\r\n","import { ABP } from './common';\r\n\r\nexport namespace ApplicationConfiguration {\r\n export interface Response {\r\n localization: Localization;\r\n auth: Auth;\r\n setting: Value;\r\n currentUser: CurrentUser;\r\n features: Value;\r\n }\r\n\r\n export interface Localization {\r\n values: LocalizationValue;\r\n languages: Language[];\r\n }\r\n\r\n export interface LocalizationValue {\r\n [key: string]: { [key: string]: string };\r\n }\r\n\r\n export interface Language {\r\n cultureName: string;\r\n uiCultureName: string;\r\n displayName: string;\r\n flagIcon: string;\r\n }\r\n\r\n export interface Auth {\r\n policies: Policy;\r\n grantedPolicies: Policy;\r\n }\r\n\r\n export interface Policy {\r\n [key: string]: boolean;\r\n }\r\n\r\n export interface Value {\r\n values: ABP.Dictionary;\r\n }\r\n\r\n export interface CurrentUser {\r\n isAuthenticated: boolean;\r\n id: string;\r\n tenantId: string;\r\n userName: string;\r\n }\r\n}\r\n","import { Config } from './config';\r\nimport { eLayoutType } from '../enums/common';\r\n\r\nexport namespace ABP {\r\n export interface Root {\r\n environment: Partial;\r\n requirements: Config.Requirements;\r\n }\r\n\r\n export type PagedResponse = {\r\n totalCount: number;\r\n } & PagedItemsResponse;\r\n\r\n export interface PagedItemsResponse {\r\n items: T[];\r\n }\r\n\r\n export interface PageQueryParams {\r\n filter?: string;\r\n sorting?: string;\r\n skipCount?: number;\r\n maxResultCount?: number;\r\n }\r\n\r\n export interface Route {\r\n children?: Route[];\r\n invisible?: boolean;\r\n layout?: eLayoutType;\r\n name: string;\r\n order?: number;\r\n parentName?: string;\r\n path: string;\r\n requiredPolicy?: string;\r\n iconClass?: string;\r\n }\r\n\r\n export interface FullRoute extends Route {\r\n url?: string;\r\n wrapper?: boolean;\r\n }\r\n\r\n export interface BasicItem {\r\n id: string;\r\n name: string;\r\n }\r\n\r\n export interface Dictionary {\r\n [key: string]: T;\r\n }\r\n}\r\n","import { AuthConfig } from 'angular-oauth2-oidc';\r\nimport { Type } from '@angular/core';\r\nimport { ApplicationConfiguration } from './application-configuration';\r\nimport { ABP } from './common';\r\n\r\nexport namespace Config {\r\n export type State = ApplicationConfiguration.Response &\r\n ABP.Root & { environment: Environment } & {\r\n routes: ABP.FullRoute[];\r\n flattedRoutes: ABP.FullRoute[];\r\n };\r\n\r\n export interface Environment {\r\n application: Application;\r\n production: boolean;\r\n oAuthConfig: AuthConfig;\r\n apis: Apis;\r\n localization: { defaultResourceName: string };\r\n }\r\n\r\n export interface Application {\r\n name: string;\r\n logoUrl?: string;\r\n }\r\n\r\n export interface Apis {\r\n [key: string]: { [key: string]: string };\r\n }\r\n\r\n export interface Requirements {\r\n layouts: Type[];\r\n }\r\n\r\n export interface LocalizationWithDefault {\r\n key: string;\r\n defaultValue: string;\r\n }\r\n\r\n export type LocalizationParam = string | LocalizationWithDefault;\r\n}\r\n","import { HttpHeaders, HttpParams } from '@angular/common/http';\r\n\r\nexport namespace Rest {\r\n export interface Config {\r\n skipHandleError?: boolean;\r\n observe?: Observe;\r\n }\r\n\r\n export const enum Observe {\r\n Body = 'body',\r\n Events = 'events',\r\n Response = 'response',\r\n }\r\n\r\n export const enum ResponseType {\r\n ArrayBuffer = 'arraybuffer',\r\n Blob = 'blob',\r\n JSON = 'json',\r\n Text = 'text',\r\n }\r\n\r\n export interface Request {\r\n body?: T;\r\n headers?:\r\n | HttpHeaders\r\n | {\r\n [header: string]: string | string[];\r\n };\r\n method: string;\r\n params?:\r\n | HttpParams\r\n | {\r\n [param: string]: any;\r\n };\r\n reportProgress?: boolean;\r\n responseType?: ResponseType;\r\n url: string;\r\n withCredentials?: boolean;\r\n }\r\n}\r\n","import { ABP } from '../models';\r\n\r\nexport namespace Session {\r\n export interface State {\r\n language: string;\r\n tenant: ABP.BasicItem;\r\n }\r\n}\r\n","export namespace Profile {\r\n export interface State {\r\n profile: Response;\r\n }\r\n\r\n export interface Response {\r\n userName: string;\r\n email: string;\r\n name: string;\r\n surname: string;\r\n phoneNumber: string;\r\n }\r\n\r\n export interface ChangePasswordRequest {\r\n currentPassword: string;\r\n newPassword: string;\r\n }\r\n}\r\n","import { Pipe, PipeTransform, Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { Config } from '../models';\r\nimport { ConfigState } from '../states';\r\n\r\n@Injectable()\r\n@Pipe({\r\n name: 'abpLocalization',\r\n})\r\nexport class LocalizationPipe implements PipeTransform {\r\n constructor(private store: Store) {}\r\n\r\n transform(value: string | Config.LocalizationWithDefault = '', ...interpolateParams: string[]): string {\r\n return this.store.selectSnapshot(\r\n ConfigState.getLocalization(\r\n value,\r\n ...interpolateParams.reduce((acc, val) => (Array.isArray(val) ? [...acc, ...val] : [...acc, val]), []),\r\n ),\r\n );\r\n }\r\n}\r\n","import { Injectable, Pipe, PipeTransform } from '@angular/core';\r\nexport type SortOrder = 'asc' | 'desc';\r\n@Injectable()\r\n@Pipe({\r\n name: 'abpSort',\r\n})\r\nexport class SortPipe implements PipeTransform {\r\n transform(\r\n value: any[],\r\n sortOrder: SortOrder | string = 'asc',\r\n sortKey?: string,\r\n ): any {\r\n sortOrder = sortOrder && (sortOrder.toLowerCase() as any);\r\n\r\n if (!value || (sortOrder !== 'asc' && sortOrder !== 'desc')) return value;\r\n\r\n let numberArray = [];\r\n let stringArray = [];\r\n\r\n if (!sortKey) {\r\n numberArray = value.filter(item => typeof item === 'number').sort();\r\n stringArray = value.filter(item => typeof item === 'string').sort();\r\n } else {\r\n numberArray = value\r\n .filter(item => typeof item[sortKey] === 'number')\r\n .sort((a, b) => a[sortKey] - b[sortKey]);\r\n stringArray = value\r\n .filter(item => typeof item[sortKey] === 'string')\r\n .sort((a, b) => {\r\n if (a[sortKey] < b[sortKey]) return -1;\r\n else if (a[sortKey] > b[sortKey]) return 1;\r\n else return 0;\r\n });\r\n }\r\n const sorted = [\r\n ...numberArray,\r\n ...stringArray,\r\n ...value.filter(\r\n item =>\r\n typeof (sortKey ? item[sortKey] : item) !== 'number' &&\r\n typeof (sortKey ? item[sortKey] : item) !== 'string',\r\n ),\r\n ];\r\n return sortOrder === 'asc' ? sorted : sorted.reverse();\r\n }\r\n}\r\n","import { Inject, Injectable, InjectionToken } from '@angular/core';\r\nimport { Router, Routes } from '@angular/router';\r\nimport { actionMatcher, InitState, NgxsNextPluginFn, NgxsPlugin, setValue, UpdateState } from '@ngxs/store';\r\nimport snq from 'snq';\r\nimport { ABP } from '../models';\r\nimport { organizeRoutes, getAbpRoutes } from '../utils/route-utils';\r\nimport clone from 'just-clone';\r\n\r\nexport const NGXS_CONFIG_PLUGIN_OPTIONS = new InjectionToken('NGXS_CONFIG_PLUGIN_OPTIONS');\r\n\r\n@Injectable()\r\nexport class ConfigPlugin implements NgxsPlugin {\r\n private initialized = false;\r\n\r\n constructor(@Inject(NGXS_CONFIG_PLUGIN_OPTIONS) private options: ABP.Root, private router: Router) {}\r\n\r\n handle(state: any, event: any, next: NgxsNextPluginFn) {\r\n const matches = actionMatcher(event);\r\n const isInitAction = matches(InitState) || matches(UpdateState);\r\n\r\n if (isInitAction && !this.initialized) {\r\n const transformedRoutes = transformRoutes(this.router.config);\r\n let { routes } = transformedRoutes;\r\n const { wrappers } = transformedRoutes;\r\n\r\n routes = organizeRoutes(routes, wrappers);\r\n const flattedRoutes = flatRoutes(clone(routes));\r\n state = setValue(state, 'ConfigState', {\r\n ...(state.ConfigState && { ...state.ConfigState }),\r\n ...this.options,\r\n routes,\r\n flattedRoutes,\r\n });\r\n\r\n this.initialized = true;\r\n }\r\n\r\n return next(state, event);\r\n }\r\n}\r\n\r\nfunction transformRoutes(routes: Routes = [], wrappers: ABP.FullRoute[] = []): any {\r\n // TODO: remove in v1\r\n const oldAbpRoutes: ABP.FullRoute[] = routes\r\n .filter(route => {\r\n return snq(() => route.data.routes.routes.find(r => r.path === route.path), false);\r\n })\r\n .reduce((acc, val) => [...acc, ...val.data.routes.routes], []);\r\n // tslint:disable-next-line: deprecation\r\n const abpRoutes = [...getAbpRoutes(), ...oldAbpRoutes];\r\n\r\n wrappers = abpRoutes.filter(ar => ar.wrapper);\r\n const transformed = [] as ABP.FullRoute[];\r\n routes\r\n .filter(route => route.component || route.loadChildren)\r\n .forEach(route => {\r\n const abpPackage = abpRoutes.find(abp => abp.path.toLowerCase() === route.path.toLowerCase() && !abp.wrapper);\r\n\r\n const { length } = transformed;\r\n\r\n if (abpPackage) {\r\n transformed.push(abpPackage);\r\n }\r\n\r\n if (transformed.length === length && (route.data || {}).routes) {\r\n transformed.push({\r\n ...route.data.routes,\r\n path: route.path,\r\n name: snq(() => route.data.routes.name, route.path),\r\n children: route.data.routes.children || [],\r\n } as ABP.FullRoute);\r\n }\r\n });\r\n\r\n return { routes: setUrls(transformed), wrappers };\r\n}\r\n\r\nfunction setUrls(routes: ABP.FullRoute[], parentUrl?: string): ABP.FullRoute[] {\r\n if (parentUrl) {\r\n // this if block using for only recursive call\r\n\r\n return routes.map(route => ({\r\n ...route,\r\n url: `${parentUrl}/${route.path}`,\r\n ...(route.children &&\r\n route.children.length && {\r\n children: setUrls(route.children, `${parentUrl}/${route.path}`),\r\n }),\r\n }));\r\n }\r\n\r\n return routes.map(route => ({\r\n ...route,\r\n url: `/${route.path}`,\r\n ...(route.children &&\r\n route.children.length && {\r\n children: setUrls(route.children, `/${route.path}`),\r\n }),\r\n }));\r\n}\r\n\r\nfunction flatRoutes(routes: ABP.FullRoute[]): ABP.FullRoute[] {\r\n const flat = (r: ABP.FullRoute[]) => {\r\n return r.reduce((acc, val) => {\r\n let value: ABP.FullRoute[] = [val];\r\n if (val.children) {\r\n value = [val, ...flat(val.children)];\r\n }\r\n\r\n return [...acc, ...value];\r\n }, []);\r\n };\r\n\r\n return flat(routes);\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { ConfigState } from '../states';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ConfigStateService {\r\n constructor(private store: Store) {}\r\n\r\n getAll() {\r\n return this.store.selectSnapshot(ConfigState.getAll);\r\n }\r\n\r\n getApplicationInfo() {\r\n return this.store.selectSnapshot(ConfigState.getApplicationInfo);\r\n }\r\n\r\n getOne(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getOne(...args));\r\n }\r\n\r\n getDeep(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getDeep(...args));\r\n }\r\n\r\n getRoute(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getRoute(...args));\r\n }\r\n\r\n getApiUrl(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getApiUrl(...args));\r\n }\r\n\r\n getSetting(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getSetting(...args));\r\n }\r\n\r\n getSettings(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getSettings(...args));\r\n }\r\n\r\n getGrantedPolicy(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getGrantedPolicy(...args));\r\n }\r\n\r\n getLocalization(...args: Parameters) {\r\n return this.store.selectSnapshot(ConfigState.getLocalization(...args));\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable, ReplaySubject, throwError } from 'rxjs';\r\nimport { uuid } from '../utils';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class LazyLoadService {\r\n loadedLibraries: { [url: string]: ReplaySubject } = {};\r\n\r\n load(\r\n urlOrUrls: string | string[],\r\n type: 'script' | 'style',\r\n content: string = '',\r\n targetQuery: string = 'body',\r\n position: InsertPosition = 'beforeend',\r\n ): Observable {\r\n if (!urlOrUrls && !content) {\r\n return throwError('Should pass url or content');\r\n } else if (!urlOrUrls && content) {\r\n urlOrUrls = [null];\r\n }\r\n\r\n if (!Array.isArray(urlOrUrls)) {\r\n urlOrUrls = [urlOrUrls];\r\n }\r\n\r\n return new Observable(subscriber => {\r\n (urlOrUrls as string[]).forEach((url, index) => {\r\n const key = url ? url.slice(url.lastIndexOf('/') + 1) : uuid();\r\n\r\n if (this.loadedLibraries[key]) {\r\n subscriber.next();\r\n subscriber.complete();\r\n return;\r\n }\r\n\r\n this.loadedLibraries[key] = new ReplaySubject();\r\n\r\n let library;\r\n if (type === 'script') {\r\n library = document.createElement('script');\r\n library.type = 'text/javascript';\r\n if (url) {\r\n (library as HTMLScriptElement).src = url;\r\n }\r\n\r\n (library as HTMLScriptElement).text = content;\r\n } else if (url) {\r\n library = document.createElement('link');\r\n library.type = 'text/css';\r\n (library as HTMLLinkElement).rel = 'stylesheet';\r\n\r\n if (url) {\r\n (library as HTMLLinkElement).href = url;\r\n }\r\n } else {\r\n library = document.createElement('style');\r\n (library as HTMLStyleElement).textContent = content;\r\n }\r\n\r\n library.onload = () => {\r\n this.loadedLibraries[key].next();\r\n this.loadedLibraries[key].complete();\r\n\r\n if (index === urlOrUrls.length - 1) {\r\n subscriber.next();\r\n subscriber.complete();\r\n }\r\n };\r\n\r\n document.querySelector(targetQuery).insertAdjacentElement(position, library);\r\n });\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { ProfileState } from '../states';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ProfileStateService {\r\n constructor(private store: Store) {}\r\n\r\n getProfile() {\r\n return this.store.selectSnapshot(ProfileState.getProfile);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { SessionState } from '../states';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class SessionStateService {\r\n constructor(private store: Store) {}\r\n\r\n getLanguage() {\r\n return this.store.selectSnapshot(SessionState.getLanguage);\r\n }\r\n\r\n getTenant() {\r\n return this.store.selectSnapshot(SessionState.getTenant);\r\n }\r\n}\r\n","import { InjectionToken } from '@angular/core';\r\nimport { Config } from '../models';\r\n\r\nexport function environmentFactory(environment: Config.Environment) {\r\n return {\r\n ...environment,\r\n };\r\n}\r\n\r\nexport function configFactory(config: Config.Requirements) {\r\n return {\r\n ...config,\r\n };\r\n}\r\n\r\nexport const ENVIRONMENT = new InjectionToken('ENVIRONMENT');\r\n\r\nexport const CONFIG = new InjectionToken('CONFIG');\r\n","import { Directive, ElementRef, EventEmitter, Input, OnDestroy, OnInit, Output } from '@angular/core';\r\nimport { takeUntilDestroy } from '@ngx-validate/core';\r\nimport { fromEvent } from 'rxjs';\r\nimport { debounceTime } from 'rxjs/operators';\r\n\r\n@Directive({\r\n // tslint:disable-next-line: directive-selector\r\n selector: '[input.debounce]',\r\n})\r\nexport class InputEventDebounceDirective implements OnInit, OnDestroy {\r\n @Input() debounce = 300;\r\n\r\n @Output('input.debounce') readonly debounceEvent = new EventEmitter();\r\n\r\n constructor(private el: ElementRef) {}\r\n\r\n ngOnInit(): void {\r\n fromEvent(this.el.nativeElement, 'input')\r\n .pipe(\r\n debounceTime(this.debounce),\r\n takeUntilDestroy(this),\r\n )\r\n .subscribe((event: Event) => {\r\n this.debounceEvent.emit(event);\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {}\r\n}\r\n","import { Directive, ElementRef, EventEmitter, OnInit, Output, OnDestroy } from '@angular/core';\r\nimport { fromEvent } from 'rxjs';\r\nimport { takeUntilDestroy } from '../utils/rxjs-utils';\r\n\r\n@Directive({\r\n // tslint:disable-next-line: directive-selector\r\n selector: '[click.stop]',\r\n})\r\nexport class ClickEventStopPropagationDirective implements OnInit, OnDestroy {\r\n @Output('click.stop') readonly stopPropEvent = new EventEmitter();\r\n\r\n constructor(private el: ElementRef) {}\r\n\r\n ngOnInit(): void {\r\n fromEvent(this.el.nativeElement, 'click')\r\n .pipe(takeUntilDestroy(this))\r\n .subscribe((event: MouseEvent) => {\r\n event.stopPropagation();\r\n this.stopPropEvent.emit(event);\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {}\r\n}\r\n","import { LOCALE_ID, Provider } from '@angular/core';\r\nimport localesMapping from '../constants/different-locales';\r\nimport { LocalizationService } from '../services/localization.service';\r\n\r\nexport class LocaleId extends String {\r\n constructor(private localizationService: LocalizationService) {\r\n super();\r\n }\r\n\r\n toString(): string {\r\n const { currentLang } = this.localizationService;\r\n return localesMapping[currentLang] || currentLang;\r\n }\r\n\r\n valueOf(): string {\r\n return this.toString();\r\n }\r\n}\r\n\r\nexport const LocaleProvider: Provider = {\r\n provide: LOCALE_ID,\r\n useClass: LocaleId,\r\n deps: [LocalizationService],\r\n};\r\n","export {};\r\n\r\ndeclare global {\r\n interface Date {\r\n toLocalISOString(): string;\r\n }\r\n}\r\n\r\nDate.prototype.toLocalISOString = function(this: Date): string {\r\n const timezoneOffset = this.getTimezoneOffset();\r\n\r\n return new Date(this.getTime() - timezoneOffset * 60000).toISOString();\r\n};\r\n","import { CommonModule } from '@angular/common';\r\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { APP_INITIALIZER, Injector, ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { RouterModule } from '@angular/router';\r\nimport { NgxsRouterPluginModule } from '@ngxs/router-plugin';\r\nimport { NgxsStoragePluginModule } from '@ngxs/storage-plugin';\r\nimport { NgxsModule, NGXS_PLUGINS } from '@ngxs/store';\r\nimport { OAuthModule } from 'angular-oauth2-oidc';\r\nimport { AbstractNgModelComponent } from './abstracts/ng-model.component';\r\nimport { DynamicLayoutComponent } from './components/dynamic-layout.component';\r\nimport { RouterOutletComponent } from './components/router-outlet.component';\r\nimport { AutofocusDirective } from './directives/autofocus.directive';\r\nimport { InputEventDebounceDirective } from './directives/debounce.directive';\r\nimport { EllipsisDirective } from './directives/ellipsis.directive';\r\nimport { ForDirective } from './directives/for.directive';\r\nimport { FormSubmitDirective } from './directives/form-submit.directive';\r\nimport { PermissionDirective } from './directives/permission.directive';\r\nimport { ClickEventStopPropagationDirective } from './directives/stop-propagation.directive';\r\nimport { VisibilityDirective } from './directives/visibility.directive';\r\nimport { ApiInterceptor } from './interceptors/api.interceptor';\r\nimport { ABP } from './models/common';\r\nimport { LocalizationPipe } from './pipes/localization.pipe';\r\nimport { SortPipe } from './pipes/sort.pipe';\r\nimport { ConfigPlugin, NGXS_CONFIG_PLUGIN_OPTIONS } from './plugins/config.plugin';\r\nimport { LocaleProvider } from './providers/locale.provider';\r\nimport { ConfigState } from './states/config.state';\r\nimport { ProfileState } from './states/profile.state';\r\nimport { SessionState } from './states/session.state';\r\nimport { getInitialData, localeInitializer } from './utils/initial-utils';\r\nimport './utils/date-extensions';\r\n\r\n@NgModule({\r\n imports: [\r\n NgxsModule.forFeature([ProfileState, SessionState, ConfigState]),\r\n NgxsRouterPluginModule.forRoot(),\r\n NgxsStoragePluginModule.forRoot({ key: ['SessionState'] }),\r\n OAuthModule.forRoot(),\r\n CommonModule,\r\n HttpClientModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n RouterModule,\r\n ],\r\n declarations: [\r\n RouterOutletComponent,\r\n DynamicLayoutComponent,\r\n AutofocusDirective,\r\n EllipsisDirective,\r\n ForDirective,\r\n FormSubmitDirective,\r\n LocalizationPipe,\r\n SortPipe,\r\n PermissionDirective,\r\n VisibilityDirective,\r\n InputEventDebounceDirective,\r\n ClickEventStopPropagationDirective,\r\n AbstractNgModelComponent,\r\n ],\r\n exports: [\r\n CommonModule,\r\n HttpClientModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n RouterModule,\r\n RouterOutletComponent,\r\n DynamicLayoutComponent,\r\n AutofocusDirective,\r\n EllipsisDirective,\r\n ForDirective,\r\n FormSubmitDirective,\r\n LocalizationPipe,\r\n SortPipe,\r\n PermissionDirective,\r\n VisibilityDirective,\r\n InputEventDebounceDirective,\r\n LocalizationPipe,\r\n ClickEventStopPropagationDirective,\r\n AbstractNgModelComponent,\r\n ],\r\n providers: [LocalizationPipe],\r\n entryComponents: [RouterOutletComponent, DynamicLayoutComponent],\r\n})\r\nexport class CoreModule {\r\n static forRoot(options = {} as ABP.Root): ModuleWithProviders {\r\n return {\r\n ngModule: CoreModule,\r\n providers: [\r\n LocaleProvider,\r\n {\r\n provide: NGXS_PLUGINS,\r\n useClass: ConfigPlugin,\r\n multi: true,\r\n },\r\n {\r\n provide: NGXS_CONFIG_PLUGIN_OPTIONS,\r\n useValue: options,\r\n },\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: ApiInterceptor,\r\n multi: true,\r\n },\r\n {\r\n provide: APP_INITIALIZER,\r\n multi: true,\r\n deps: [Injector],\r\n useFactory: getInitialData,\r\n },\r\n {\r\n provide: APP_INITIALIZER,\r\n multi: true,\r\n deps: [Injector],\r\n useFactory: localeInitializer,\r\n },\r\n ],\r\n };\r\n }\r\n}\r\n"],"names":["differentLocales","noop","tslib_1.__decorate","takeUntilDestroy","tslib_1.__extends"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA;;;AAEA;IAmBE,kCAAmB,QAAkB;QAAlB,aAAQ,GAAR,QAAQ,CAAU;QACnC,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAC,GAAG,oBAAoB,iBAAiB,GAA4B,CAAC;KAC5F;IAjBD,sBAAa,2CAAK;;;;QAKlB;YACE,OAAO,IAAI,CAAC,MAAM,CAAC;SACpB;;;;;QAPD,UAAmB,KAAQ;YACzB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;YACpB,IAAI,CAAC,iBAAiB,EAAE,CAAC;SAC1B;;;OAAA;;;;IAgBD,oDAAiB;;;IAAjB;QACE,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAC3B;KACF;;;;;IAED,6CAAU;;;;IAAV,UAAW,KAAQ;QAAnB,iBAGC;QAFC,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC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zB;oBACD,OAAO,EAAE;wBACP,YAAY;wBACZ,gBAAgB;wBAChB,WAAW;wBACX,mBAAmB;wBACnB,YAAY;wBACZ,qBAAqB;wBACrB,sBAAsB;wBACtB,kBAAkB;wBAClB,iBAAiB;wBACjB,YAAY;wBACZ,mBAAmB;wBACnB,gBAAgB;wBAChB,QAAQ;wBACR,mBAAmB;wBACnB,mBAAmB;wBACnB,2BAA2B;wBAC3B,gBAAgB;wBAChB,kCAAkC;wBAClC,wBAAwB;qBACzB;oBACD,SAAS,EAAE,CAAC,gBAAgB,CAAC;oBAC7B,eAAe,EAAE,CAAC,qBAAqB,EAAE,sBAAsB,CAAC;iBACjE;;IAoCD,iBAAC;CAtFD;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/core/lib/abstracts/index.d.ts b/npm/ng-packs/dist/core/lib/abstracts/index.d.ts deleted file mode 100644 index a4e501a8509..00000000000 --- a/npm/ng-packs/dist/core/lib/abstracts/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './ng-model.component'; diff --git a/npm/ng-packs/dist/core/lib/abstracts/ng-model.component.d.ts b/npm/ng-packs/dist/core/lib/abstracts/ng-model.component.d.ts deleted file mode 100644 index 95ffc8b068b..00000000000 --- a/npm/ng-packs/dist/core/lib/abstracts/ng-model.component.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { ControlValueAccessor } from '@angular/forms'; -import { ChangeDetectorRef, Injector } from '@angular/core'; -export declare class AbstractNgModelComponent implements ControlValueAccessor { - injector: Injector; - disabled: boolean; - value: T; - onChange: (value: T) => {}; - onTouched: () => {}; - protected _value: T; - protected cdRef: ChangeDetectorRef; - constructor(injector: Injector); - notifyValueChange(): void; - writeValue(value: T): void; - registerOnChange(fn: any): void; - registerOnTouched(fn: any): void; - setDisabledState(isDisabled: boolean): void; -} diff --git a/npm/ng-packs/dist/core/lib/actions/config.actions.d.ts b/npm/ng-packs/dist/core/lib/actions/config.actions.d.ts deleted file mode 100644 index 2d5137e5873..00000000000 --- a/npm/ng-packs/dist/core/lib/actions/config.actions.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { ABP } from '../models'; -export declare class PatchRouteByName { - name: string; - newValue: Partial; - static readonly type = "[Config] Patch Route By Name"; - constructor(name: string, newValue: Partial); -} -export declare class GetAppConfiguration { - static readonly type = "[Config] Get App Configuration"; -} diff --git a/npm/ng-packs/dist/core/lib/actions/index.d.ts b/npm/ng-packs/dist/core/lib/actions/index.d.ts deleted file mode 100644 index cf05aac81d9..00000000000 --- a/npm/ng-packs/dist/core/lib/actions/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export * from './config.actions'; -export * from './loader.actions'; -export * from './profile.actions'; -export * from './rest.actions'; -export * from './session.actions'; diff --git a/npm/ng-packs/dist/core/lib/actions/loader.actions.d.ts b/npm/ng-packs/dist/core/lib/actions/loader.actions.d.ts deleted file mode 100644 index 20de15563bb..00000000000 --- a/npm/ng-packs/dist/core/lib/actions/loader.actions.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { HttpRequest } from '@angular/common/http'; -export declare class StartLoader { - payload: HttpRequest; - static readonly type = "[Loader] Start"; - constructor(payload: HttpRequest); -} -export declare class StopLoader { - payload: HttpRequest; - static readonly type = "[Loader] Stop"; - constructor(payload: HttpRequest); -} diff --git a/npm/ng-packs/dist/core/lib/actions/profile.actions.d.ts b/npm/ng-packs/dist/core/lib/actions/profile.actions.d.ts deleted file mode 100644 index 8561fe5e3de..00000000000 --- a/npm/ng-packs/dist/core/lib/actions/profile.actions.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { Profile } from '../models'; -export declare class GetProfile { - static readonly type = "[Profile] Get"; -} -export declare class UpdateProfile { - payload: Profile.Response; - static readonly type = "[Profile] Update"; - constructor(payload: Profile.Response); -} -export declare class ChangePassword { - payload: Profile.ChangePasswordRequest; - static readonly type = "[Profile] Change Password"; - constructor(payload: Profile.ChangePasswordRequest); -} diff --git a/npm/ng-packs/dist/core/lib/actions/rest.actions.d.ts b/npm/ng-packs/dist/core/lib/actions/rest.actions.d.ts deleted file mode 100644 index d825955588a..00000000000 --- a/npm/ng-packs/dist/core/lib/actions/rest.actions.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { HttpErrorResponse } from '@angular/common/http'; -export declare class RestOccurError { - payload: HttpErrorResponse | any; - static readonly type = "[Rest] Error"; - constructor(payload: HttpErrorResponse | any); -} diff --git a/npm/ng-packs/dist/core/lib/actions/session.actions.d.ts b/npm/ng-packs/dist/core/lib/actions/session.actions.d.ts deleted file mode 100644 index 2f64a706e07..00000000000 --- a/npm/ng-packs/dist/core/lib/actions/session.actions.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { ABP } from '../models'; -export declare class SetLanguage { - payload: string; - static readonly type = "[Session] Set Language"; - constructor(payload: string); -} -export declare class SetTenant { - payload: ABP.BasicItem; - static readonly type = "[Session] Set Tenant"; - constructor(payload: ABP.BasicItem); -} diff --git a/npm/ng-packs/dist/core/lib/components/dynamic-layout.component.d.ts b/npm/ng-packs/dist/core/lib/components/dynamic-layout.component.d.ts deleted file mode 100644 index 07b042305f5..00000000000 --- a/npm/ng-packs/dist/core/lib/components/dynamic-layout.component.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { OnDestroy, Type } from '@angular/core'; -import { ActivatedRoute, Router } from '@angular/router'; -import { Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { Config } from '../models/config'; -export declare class DynamicLayoutComponent implements OnDestroy { - private router; - private route; - private store; - requirements$: Observable; - layout: Type; - constructor(router: Router, route: ActivatedRoute, store: Store); - ngOnDestroy(): void; -} diff --git a/npm/ng-packs/dist/core/lib/components/index.d.ts b/npm/ng-packs/dist/core/lib/components/index.d.ts deleted file mode 100644 index d54b2d21751..00000000000 --- a/npm/ng-packs/dist/core/lib/components/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './dynamic-layout.component'; -export * from './router-outlet.component'; diff --git a/npm/ng-packs/dist/core/lib/components/router-outlet.component.d.ts b/npm/ng-packs/dist/core/lib/components/router-outlet.component.d.ts deleted file mode 100644 index c5cde5406ae..00000000000 --- a/npm/ng-packs/dist/core/lib/components/router-outlet.component.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class RouterOutletComponent { -} diff --git a/npm/ng-packs/dist/core/lib/constants/different-locales.d.ts b/npm/ng-packs/dist/core/lib/constants/different-locales.d.ts deleted file mode 100644 index 4fafb995c9f..00000000000 --- a/npm/ng-packs/dist/core/lib/constants/different-locales.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare const _default: { - 'ar-sa': string; - 'ca-ES-valencia': string; - 'de-de': string; - 'es-ES': string; - 'en-US': string; - 'fil-Latn': string; - 'ku-Arab': string; - 'ky-Cyrl': string; - 'mi-Latn': string; - 'prs-Arab': string; - 'qut-Latn': string; - nso: string; - quz: string; - 'fr-FR': string; - 'gd-Latn': string; - 'ha-Latn': string; - 'ig-Latn': string; - 'it-it': string; - 'mn-Cyrl': string; - 'pt-BR': string; - 'sd-Arab': string; - 'sr-Cyrl-RS': string; - 'sr-Latn-RS': string; - 'tg-Cyrl': string; - 'tk-Latn': string; - 'tt-Cyrl': string; - 'ug-Arab': string; - 'yo-Latn': string; -}; -export default _default; diff --git a/npm/ng-packs/dist/core/lib/constants/index.d.ts b/npm/ng-packs/dist/core/lib/constants/index.d.ts deleted file mode 100644 index 54aaba730ca..00000000000 --- a/npm/ng-packs/dist/core/lib/constants/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './different-locales'; diff --git a/npm/ng-packs/dist/core/lib/constants/locales-mapping.d.ts b/npm/ng-packs/dist/core/lib/constants/locales-mapping.d.ts deleted file mode 100644 index 0b0244578ba..00000000000 --- a/npm/ng-packs/dist/core/lib/constants/locales-mapping.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -declare const _default: { - 'ar-sa': string; - 'ca-ES-valencia': string; - 'de-de': string; - 'en-US': string; - 'es-ES': string; - 'fil-Latn': string; - 'fr-FR': string; - 'gd-Latn': string; - 'ha-Latn': string; - 'ig-Latn': string; - 'it-it': string; - 'ku-Arab': string; - 'ky-Cyrl': string; - 'mi-Latn': string; - 'mn-Cyrl': string; - nso: string; - 'prs-Arab': string; - 'pt-BR': string; - 'qut-Latn': string; - quz: string; - 'sd-Arab': string; - 'sr-Cyrl-RS': string; - 'sr-Latn-RS': string; - 'tg-Cyrl': string; - 'tk-Latn': string; - 'tt-Cyrl': string; - 'ug-Arab': string; - 'yo-Latn': string; -}; -export default _default; diff --git a/npm/ng-packs/dist/core/lib/core.module.d.ts b/npm/ng-packs/dist/core/lib/core.module.d.ts deleted file mode 100644 index 2e8d061d147..00000000000 --- a/npm/ng-packs/dist/core/lib/core.module.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ModuleWithProviders } from '@angular/core'; -import { ABP } from './models/common'; -import './utils/date-extensions'; -export declare class CoreModule { - static forRoot(options?: ABP.Root): ModuleWithProviders; -} diff --git a/npm/ng-packs/dist/core/lib/directives/autofocus.directive.d.ts b/npm/ng-packs/dist/core/lib/directives/autofocus.directive.d.ts deleted file mode 100644 index adf5cd581ad..00000000000 --- a/npm/ng-packs/dist/core/lib/directives/autofocus.directive.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { ElementRef, AfterViewInit } from '@angular/core'; -export declare class AutofocusDirective implements AfterViewInit { - private elRef; - delay: number; - constructor(elRef: ElementRef); - ngAfterViewInit(): void; -} diff --git a/npm/ng-packs/dist/core/lib/directives/debounce.directive.d.ts b/npm/ng-packs/dist/core/lib/directives/debounce.directive.d.ts deleted file mode 100644 index 402d93e276e..00000000000 --- a/npm/ng-packs/dist/core/lib/directives/debounce.directive.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core'; -export declare class InputEventDebounceDirective implements OnInit, OnDestroy { - private el; - debounce: number; - readonly debounceEvent: EventEmitter; - constructor(el: ElementRef); - ngOnInit(): void; - ngOnDestroy(): void; -} diff --git a/npm/ng-packs/dist/core/lib/directives/ellipsis.directive.d.ts b/npm/ng-packs/dist/core/lib/directives/ellipsis.directive.d.ts deleted file mode 100644 index 2ed82de607f..00000000000 --- a/npm/ng-packs/dist/core/lib/directives/ellipsis.directive.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { AfterViewInit, ChangeDetectorRef, ElementRef } from '@angular/core'; -export declare class EllipsisDirective implements AfterViewInit { - private cdRef; - private elRef; - width: string; - title: string; - enabled: boolean; - readonly inlineClass: string; - readonly class: boolean; - readonly maxWidth: string; - constructor(cdRef: ChangeDetectorRef, elRef: ElementRef); - ngAfterViewInit(): void; -} diff --git a/npm/ng-packs/dist/core/lib/directives/for.directive.d.ts b/npm/ng-packs/dist/core/lib/directives/for.directive.d.ts deleted file mode 100644 index 4d8f886ce30..00000000000 --- a/npm/ng-packs/dist/core/lib/directives/for.directive.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { IterableDiffers, OnChanges, TemplateRef, TrackByFunction, ViewContainerRef } from '@angular/core'; -export declare type CompareFn = (value: T, comparison: T) => boolean; -declare class AbpForContext { - $implicit: any; - index: number; - count: number; - list: any[]; - constructor($implicit: any, index: number, count: number, list: any[]); -} -export declare class ForDirective implements OnChanges { - private tempRef; - private vcRef; - private differs; - items: any[]; - orderBy: string; - orderDir: 'ASC' | 'DESC'; - filterBy: string; - filterVal: any; - trackBy: any; - compareBy: CompareFn; - emptyRef: TemplateRef; - private differ; - private isShowEmptyRef; - readonly compareFn: CompareFn; - readonly trackByFn: TrackByFunction; - constructor(tempRef: TemplateRef, vcRef: ViewContainerRef, differs: IterableDiffers); - private iterateOverAppliedOperations; - private iterateOverAttachedViews; - private projectItems; - private sortItems; - ngOnChanges(): void; -} -export {}; diff --git a/npm/ng-packs/dist/core/lib/directives/form-submit.directive.d.ts b/npm/ng-packs/dist/core/lib/directives/form-submit.directive.d.ts deleted file mode 100644 index 7961a1c4691..00000000000 --- a/npm/ng-packs/dist/core/lib/directives/form-submit.directive.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core'; -import { FormGroupDirective } from '@angular/forms'; -export declare class FormSubmitDirective implements OnInit, OnDestroy { - private formGroupDirective; - private host; - private cdRef; - debounce: number; - notValidateOnSubmit: string | boolean; - readonly ngSubmit: EventEmitter; - executedNgSubmit: boolean; - constructor(formGroupDirective: FormGroupDirective, host: ElementRef, cdRef: ChangeDetectorRef); - ngOnInit(): void; - ngOnDestroy(): void; - markAsDirty(): void; -} diff --git a/npm/ng-packs/dist/core/lib/directives/index.d.ts b/npm/ng-packs/dist/core/lib/directives/index.d.ts deleted file mode 100644 index 7edf1b5f761..00000000000 --- a/npm/ng-packs/dist/core/lib/directives/index.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export * from './autofocus.directive'; -export * from './ellipsis.directive'; -export * from './for.directive'; -export * from './form-submit.directive'; -export * from './permission.directive'; -export * from './visibility.directive'; diff --git a/npm/ng-packs/dist/core/lib/directives/permission.directive.d.ts b/npm/ng-packs/dist/core/lib/directives/permission.directive.d.ts deleted file mode 100644 index 4181bc2e077..00000000000 --- a/npm/ng-packs/dist/core/lib/directives/permission.directive.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { ElementRef, OnDestroy, OnInit, Renderer2, ViewContainerRef, TemplateRef, SimpleChanges, OnChanges } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { Subscription } from 'rxjs'; -export declare class PermissionDirective implements OnInit, OnDestroy, OnChanges { - private elRef; - private renderer; - private store; - private templateRef; - private vcRef; - condition: string; - subscription: Subscription; - constructor(elRef: ElementRef, renderer: Renderer2, store: Store, templateRef: TemplateRef, vcRef: ViewContainerRef); - private check; - ngOnInit(): void; - ngOnDestroy(): void; - ngOnChanges({ condition }: SimpleChanges): void; -} diff --git a/npm/ng-packs/dist/core/lib/directives/stop-propagation.directive.d.ts b/npm/ng-packs/dist/core/lib/directives/stop-propagation.directive.d.ts deleted file mode 100644 index 35fbd1e7077..00000000000 --- a/npm/ng-packs/dist/core/lib/directives/stop-propagation.directive.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { ElementRef, EventEmitter, OnInit, OnDestroy } from '@angular/core'; -export declare class ClickEventStopPropagationDirective implements OnInit, OnDestroy { - private el; - readonly stopPropEvent: EventEmitter; - constructor(el: ElementRef); - ngOnInit(): void; - ngOnDestroy(): void; -} diff --git a/npm/ng-packs/dist/core/lib/directives/table-sort.directive.d.ts b/npm/ng-packs/dist/core/lib/directives/table-sort.directive.d.ts deleted file mode 100644 index 8d1b3af27af..00000000000 --- a/npm/ng-packs/dist/core/lib/directives/table-sort.directive.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { SimpleChanges, OnChanges } from '@angular/core'; -import { Table } from 'primeng/table'; -import { SortPipe, SortOrder } from '../pipes/sort.pipe'; -export interface TableSortOptions { - key: string; - order: SortOrder; -} -export declare class TableSortDirective implements OnChanges { - private table; - private sortPipe; - abpTableSort: TableSortOptions; - value: any[]; - constructor(table: Table, sortPipe: SortPipe); - ngOnChanges({ value, abpTableSort }: SimpleChanges): void; -} diff --git a/npm/ng-packs/dist/core/lib/directives/visibility.directive.d.ts b/npm/ng-packs/dist/core/lib/directives/visibility.directive.d.ts deleted file mode 100644 index cd21de21f99..00000000000 --- a/npm/ng-packs/dist/core/lib/directives/visibility.directive.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { ElementRef, Renderer2, AfterViewInit } from '@angular/core'; -import { Subject } from 'rxjs'; -export declare class VisibilityDirective implements AfterViewInit { - private elRef; - private renderer; - focusedElement: HTMLElement; - completed$: Subject; - constructor(elRef: ElementRef, renderer: Renderer2); - ngAfterViewInit(): void; - disconnect(): void; - removeFromDOM(): void; -} diff --git a/npm/ng-packs/dist/core/lib/enums/common.d.ts b/npm/ng-packs/dist/core/lib/enums/common.d.ts deleted file mode 100644 index 01db12fbe2f..00000000000 --- a/npm/ng-packs/dist/core/lib/enums/common.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export declare const enum eLayoutType { - account = "account", - application = "application", - empty = "empty", - /** - * @deprecated since version 0.9.0 - */ - setting = "setting" -} diff --git a/npm/ng-packs/dist/core/lib/enums/index.d.ts b/npm/ng-packs/dist/core/lib/enums/index.d.ts deleted file mode 100644 index d0b93236650..00000000000 --- a/npm/ng-packs/dist/core/lib/enums/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './common'; diff --git a/npm/ng-packs/dist/core/lib/guards/auth.guard.d.ts b/npm/ng-packs/dist/core/lib/guards/auth.guard.d.ts deleted file mode 100644 index 78d06cd93ee..00000000000 --- a/npm/ng-packs/dist/core/lib/guards/auth.guard.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot, UrlTree } from '@angular/router'; -import { OAuthService } from 'angular-oauth2-oidc'; -import { Observable } from 'rxjs'; -export declare class AuthGuard implements CanActivate { - private oauthService; - private router; - constructor(oauthService: OAuthService, router: Router); - canActivate(_: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable | boolean | UrlTree; -} diff --git a/npm/ng-packs/dist/core/lib/guards/index.d.ts b/npm/ng-packs/dist/core/lib/guards/index.d.ts deleted file mode 100644 index 6d31d6bf146..00000000000 --- a/npm/ng-packs/dist/core/lib/guards/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './auth.guard'; -export * from './permission.guard'; diff --git a/npm/ng-packs/dist/core/lib/guards/permission.guard.d.ts b/npm/ng-packs/dist/core/lib/guards/permission.guard.d.ts deleted file mode 100644 index 4b600f3f02f..00000000000 --- a/npm/ng-packs/dist/core/lib/guards/permission.guard.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { ActivatedRouteSnapshot, CanActivate, RouterStateSnapshot } from '@angular/router'; -import { Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -export declare class PermissionGuard implements CanActivate { - private store; - constructor(store: Store); - canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable; -} diff --git a/npm/ng-packs/dist/core/lib/interceptors/api.interceptor.d.ts b/npm/ng-packs/dist/core/lib/interceptors/api.interceptor.d.ts deleted file mode 100644 index 4cc131ae286..00000000000 --- a/npm/ng-packs/dist/core/lib/interceptors/api.interceptor.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http'; -import { OAuthService } from 'angular-oauth2-oidc'; -import { Store } from '@ngxs/store'; -export declare class ApiInterceptor implements HttpInterceptor { - private oAuthService; - private store; - constructor(oAuthService: OAuthService, store: Store); - intercept(request: HttpRequest, next: HttpHandler): import("rxjs").Observable>; -} diff --git a/npm/ng-packs/dist/core/lib/interceptors/index.d.ts b/npm/ng-packs/dist/core/lib/interceptors/index.d.ts deleted file mode 100644 index d7479a76848..00000000000 --- a/npm/ng-packs/dist/core/lib/interceptors/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './api.interceptor'; diff --git a/npm/ng-packs/dist/core/lib/models/application-configuration.d.ts b/npm/ng-packs/dist/core/lib/models/application-configuration.d.ts deleted file mode 100644 index 40c72982875..00000000000 --- a/npm/ng-packs/dist/core/lib/models/application-configuration.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { ABP } from './common'; -export declare namespace ApplicationConfiguration { - interface Response { - localization: Localization; - auth: Auth; - setting: Value; - currentUser: CurrentUser; - features: Value; - } - interface Localization { - values: LocalizationValue; - languages: Language[]; - } - interface LocalizationValue { - [key: string]: { - [key: string]: string; - }; - } - interface Language { - cultureName: string; - uiCultureName: string; - displayName: string; - flagIcon: string; - } - interface Auth { - policies: Policy; - grantedPolicies: Policy; - } - interface Policy { - [key: string]: boolean; - } - interface Value { - values: ABP.Dictionary; - } - interface CurrentUser { - isAuthenticated: boolean; - id: string; - tenantId: string; - userName: string; - } -} diff --git a/npm/ng-packs/dist/core/lib/models/common.d.ts b/npm/ng-packs/dist/core/lib/models/common.d.ts deleted file mode 100644 index 27d18680b64..00000000000 --- a/npm/ng-packs/dist/core/lib/models/common.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Config } from './config'; -import { eLayoutType } from '../enums/common'; -export declare namespace ABP { - interface Root { - environment: Partial; - requirements: Config.Requirements; - } - type PagedResponse = { - totalCount: number; - } & PagedItemsResponse; - interface PagedItemsResponse { - items: T[]; - } - interface PageQueryParams { - filter?: string; - sorting?: string; - skipCount?: number; - maxResultCount?: number; - } - interface Route { - children?: Route[]; - invisible?: boolean; - layout?: eLayoutType; - name: string; - order?: number; - parentName?: string; - path: string; - requiredPolicy?: string; - iconClass?: string; - } - interface FullRoute extends Route { - url?: string; - wrapper?: boolean; - } - interface BasicItem { - id: string; - name: string; - } - interface Dictionary { - [key: string]: T; - } -} diff --git a/npm/ng-packs/dist/core/lib/models/config.d.ts b/npm/ng-packs/dist/core/lib/models/config.d.ts deleted file mode 100644 index 0bc50c68164..00000000000 --- a/npm/ng-packs/dist/core/lib/models/config.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { AuthConfig } from 'angular-oauth2-oidc'; -import { Type } from '@angular/core'; -import { ApplicationConfiguration } from './application-configuration'; -import { ABP } from './common'; -export declare namespace Config { - type State = ApplicationConfiguration.Response & ABP.Root & { - environment: Environment; - } & { - routes: ABP.FullRoute[]; - flattedRoutes: ABP.FullRoute[]; - }; - interface Environment { - application: Application; - production: boolean; - oAuthConfig: AuthConfig; - apis: Apis; - localization: { - defaultResourceName: string; - }; - } - interface Application { - name: string; - logoUrl?: string; - } - interface Apis { - [key: string]: { - [key: string]: string; - }; - } - interface Requirements { - layouts: Type[]; - } - interface LocalizationWithDefault { - key: string; - defaultValue: string; - } - type LocalizationParam = string | LocalizationWithDefault; -} diff --git a/npm/ng-packs/dist/core/lib/models/index.d.ts b/npm/ng-packs/dist/core/lib/models/index.d.ts deleted file mode 100644 index 63302c9ab8b..00000000000 --- a/npm/ng-packs/dist/core/lib/models/index.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export * from './application-configuration'; -export * from './common'; -export * from './config'; -export * from './rest'; -export * from './session'; -export * from './profile'; diff --git a/npm/ng-packs/dist/core/lib/models/profile.d.ts b/npm/ng-packs/dist/core/lib/models/profile.d.ts deleted file mode 100644 index c535ef09fa5..00000000000 --- a/npm/ng-packs/dist/core/lib/models/profile.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export declare namespace Profile { - interface State { - profile: Response; - } - interface Response { - userName: string; - email: string; - name: string; - surname: string; - phoneNumber: string; - } - interface ChangePasswordRequest { - currentPassword: string; - newPassword: string; - } -} diff --git a/npm/ng-packs/dist/core/lib/models/rest.d.ts b/npm/ng-packs/dist/core/lib/models/rest.d.ts deleted file mode 100644 index dde755e8ee5..00000000000 --- a/npm/ng-packs/dist/core/lib/models/rest.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { HttpHeaders, HttpParams } from '@angular/common/http'; -export declare namespace Rest { - interface Config { - skipHandleError?: boolean; - observe?: Observe; - } - const enum Observe { - Body = "body", - Events = "events", - Response = "response" - } - const enum ResponseType { - ArrayBuffer = "arraybuffer", - Blob = "blob", - JSON = "json", - Text = "text" - } - interface Request { - body?: T; - headers?: HttpHeaders | { - [header: string]: string | string[]; - }; - method: string; - params?: HttpParams | { - [param: string]: any; - }; - reportProgress?: boolean; - responseType?: ResponseType; - url: string; - withCredentials?: boolean; - } -} diff --git a/npm/ng-packs/dist/core/lib/models/session.d.ts b/npm/ng-packs/dist/core/lib/models/session.d.ts deleted file mode 100644 index b7fa0257cb0..00000000000 --- a/npm/ng-packs/dist/core/lib/models/session.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { ABP } from '../models'; -export declare namespace Session { - interface State { - language: string; - tenant: ABP.BasicItem; - } -} diff --git a/npm/ng-packs/dist/core/lib/pipes/index.d.ts b/npm/ng-packs/dist/core/lib/pipes/index.d.ts deleted file mode 100644 index eb028eee4f1..00000000000 --- a/npm/ng-packs/dist/core/lib/pipes/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './localization.pipe'; -export * from './sort.pipe'; diff --git a/npm/ng-packs/dist/core/lib/pipes/localization.pipe.d.ts b/npm/ng-packs/dist/core/lib/pipes/localization.pipe.d.ts deleted file mode 100644 index db6021974d7..00000000000 --- a/npm/ng-packs/dist/core/lib/pipes/localization.pipe.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { PipeTransform } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { Config } from '../models'; -export declare class LocalizationPipe implements PipeTransform { - private store; - constructor(store: Store); - transform(value?: string | Config.LocalizationWithDefault, ...interpolateParams: string[]): string; -} diff --git a/npm/ng-packs/dist/core/lib/pipes/sort.pipe.d.ts b/npm/ng-packs/dist/core/lib/pipes/sort.pipe.d.ts deleted file mode 100644 index 273e75689a4..00000000000 --- a/npm/ng-packs/dist/core/lib/pipes/sort.pipe.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { PipeTransform } from '@angular/core'; -export declare type SortOrder = 'asc' | 'desc'; -export declare class SortPipe implements PipeTransform { - transform(value: any[], sortOrder?: SortOrder | string, sortKey?: string): any; -} diff --git a/npm/ng-packs/dist/core/lib/plugins/config.plugin.d.ts b/npm/ng-packs/dist/core/lib/plugins/config.plugin.d.ts deleted file mode 100644 index 380a05d768f..00000000000 --- a/npm/ng-packs/dist/core/lib/plugins/config.plugin.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { InjectionToken } from '@angular/core'; -import { Router } from '@angular/router'; -import { NgxsNextPluginFn, NgxsPlugin } from '@ngxs/store'; -import { ABP } from '../models'; -export declare const NGXS_CONFIG_PLUGIN_OPTIONS: InjectionToken; -export declare class ConfigPlugin implements NgxsPlugin { - private options; - private router; - private initialized; - constructor(options: ABP.Root, router: Router); - handle(state: any, event: any, next: NgxsNextPluginFn): any; -} diff --git a/npm/ng-packs/dist/core/lib/plugins/config/config.plugin.d.ts b/npm/ng-packs/dist/core/lib/plugins/config/config.plugin.d.ts deleted file mode 100644 index b0dca2c7d86..00000000000 --- a/npm/ng-packs/dist/core/lib/plugins/config/config.plugin.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { InjectionToken } from '@angular/core'; -import { Router } from '@angular/router'; -import { NgxsNextPluginFn, NgxsPlugin } from '@ngxs/store'; -import { ABP } from '../../models'; -export declare const NGXS_CONFIG_PLUGIN_OPTIONS: InjectionToken; -export declare class ConfigPlugin implements NgxsPlugin { - private options; - private router; - private initialized; - constructor(options: ABP.Root, router: Router); - handle(state: any, event: any, next: NgxsNextPluginFn): any; -} diff --git a/npm/ng-packs/dist/core/lib/plugins/index.d.ts b/npm/ng-packs/dist/core/lib/plugins/index.d.ts deleted file mode 100644 index 42ab2f291ce..00000000000 --- a/npm/ng-packs/dist/core/lib/plugins/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './config.plugin'; diff --git a/npm/ng-packs/dist/core/lib/plugins/select-snapshot/internals.d.ts b/npm/ng-packs/dist/core/lib/plugins/select-snapshot/internals.d.ts deleted file mode 100644 index 2ccda81c501..00000000000 --- a/npm/ng-packs/dist/core/lib/plugins/select-snapshot/internals.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { NgxsConfig } from '@ngxs/store/src/symbols'; -export declare function removeDollarAtTheEnd(name: string): string; -export declare function getPropsArray(selectorOrFeature: string, paths: string[]): string[]; -export declare function propGetter(paths: string[], config: NgxsConfig): (x: any) => any; -export declare const META_KEY = "NGXS_META"; diff --git a/npm/ng-packs/dist/core/lib/plugins/select-snapshot/select-snapshot.d.ts b/npm/ng-packs/dist/core/lib/plugins/select-snapshot/select-snapshot.d.ts deleted file mode 100644 index 52316e6f642..00000000000 --- a/npm/ng-packs/dist/core/lib/plugins/select-snapshot/select-snapshot.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare function SelectSnapshot(selectorOrFeature?: any, ...paths: string[]): (target: any, name: string) => void; diff --git a/npm/ng-packs/dist/core/lib/plugins/select-snapshot/static-injector.d.ts b/npm/ng-packs/dist/core/lib/plugins/select-snapshot/static-injector.d.ts deleted file mode 100644 index d7b808d6c2b..00000000000 --- a/npm/ng-packs/dist/core/lib/plugins/select-snapshot/static-injector.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { Injector } from '@angular/core'; -export declare class StaticInjector { - static injector: Injector | null; - constructor(injector: Injector); -} diff --git a/npm/ng-packs/dist/core/lib/providers/locale.provider.d.ts b/npm/ng-packs/dist/core/lib/providers/locale.provider.d.ts deleted file mode 100644 index 4a107e4a20b..00000000000 --- a/npm/ng-packs/dist/core/lib/providers/locale.provider.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Provider } from '@angular/core'; -import { LocalizationService } from '../services/localization.service'; -export declare class LocaleId extends String { - private localizationService; - constructor(localizationService: LocalizationService); - toString(): string; - valueOf(): string; -} -export declare const LocaleProvider: Provider; diff --git a/npm/ng-packs/dist/core/lib/providers/reuse-strategy.provider.d.ts b/npm/ng-packs/dist/core/lib/providers/reuse-strategy.provider.d.ts deleted file mode 100644 index db59645fbc0..00000000000 --- a/npm/ng-packs/dist/core/lib/providers/reuse-strategy.provider.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Provider } from '@angular/core'; -import { RouteReuseStrategy, ActivatedRouteSnapshot, DetachedRouteHandle } from '@angular/router'; -export declare class CustomRouteReuseStategy implements RouteReuseStrategy { - handlers: { - [key: string]: DetachedRouteHandle; - }; - shouldDetach(route: ActivatedRouteSnapshot): boolean; - store(route: ActivatedRouteSnapshot, handle: {}): void; - shouldAttach(route: ActivatedRouteSnapshot): boolean; - retrieve(route: ActivatedRouteSnapshot): {}; - shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot): boolean; -} -export declare const RouteReuseProvider: Provider; diff --git a/npm/ng-packs/dist/core/lib/services/application-configuration.service.d.ts b/npm/ng-packs/dist/core/lib/services/application-configuration.service.d.ts deleted file mode 100644 index d56c07f5a38..00000000000 --- a/npm/ng-packs/dist/core/lib/services/application-configuration.service.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Observable } from 'rxjs'; -import { ApplicationConfiguration } from '../models/application-configuration'; -import { RestService } from './rest.service'; -export declare class ApplicationConfigurationService { - private rest; - constructor(rest: RestService); - getConfiguration(): Observable; -} diff --git a/npm/ng-packs/dist/core/lib/services/config-state.service.d.ts b/npm/ng-packs/dist/core/lib/services/config-state.service.d.ts deleted file mode 100644 index fb8f1287198..00000000000 --- a/npm/ng-packs/dist/core/lib/services/config-state.service.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Store } from '@ngxs/store'; -import { ConfigState } from '../states'; -export declare class ConfigStateService { - private store; - constructor(store: Store); - getAll(): import("../models").Config.State; - getApplicationInfo(): import("../models").Config.Application; - getOne(...args: Parameters): any; - getDeep(...args: Parameters): any; - getRoute(...args: Parameters): import("../models").ABP.FullRoute; - getApiUrl(...args: Parameters): string; - getSetting(...args: Parameters): string; - getSettings(...args: Parameters): {}; - getGrantedPolicy(...args: Parameters): boolean; - getLocalization(...args: Parameters): any; -} diff --git a/npm/ng-packs/dist/core/lib/services/config.service.d.ts b/npm/ng-packs/dist/core/lib/services/config.service.d.ts deleted file mode 100644 index 64dcf89bfe0..00000000000 --- a/npm/ng-packs/dist/core/lib/services/config.service.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Store } from '@ngxs/store'; -export declare class ConfigService { - private store; - constructor(store: Store); - getAll(): import('../models').Config.State; - getOne(key: string): any; - getDeep(keys: string[] | string): any; - getSetting(key: string): string; -} diff --git a/npm/ng-packs/dist/core/lib/services/index.d.ts b/npm/ng-packs/dist/core/lib/services/index.d.ts deleted file mode 100644 index 6b90b997cc8..00000000000 --- a/npm/ng-packs/dist/core/lib/services/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export * from './application-configuration.service'; -export * from './config-state.service'; -export * from './lazy-load.service'; -export * from './localization.service'; -export * from './profile.service'; -export * from './rest.service'; -export * from './profile-state.service'; -export * from './session-state.service'; diff --git a/npm/ng-packs/dist/core/lib/services/lazy-load.service.d.ts b/npm/ng-packs/dist/core/lib/services/lazy-load.service.d.ts deleted file mode 100644 index 825f6631d67..00000000000 --- a/npm/ng-packs/dist/core/lib/services/lazy-load.service.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Observable, ReplaySubject } from 'rxjs'; -export declare class LazyLoadService { - loadedLibraries: { - [url: string]: ReplaySubject; - }; - load(urlOrUrls: string | string[], type: 'script' | 'style', content?: string, targetQuery?: string, position?: InsertPosition): Observable; -} diff --git a/npm/ng-packs/dist/core/lib/services/localization.service.d.ts b/npm/ng-packs/dist/core/lib/services/localization.service.d.ts deleted file mode 100644 index c3cc7043649..00000000000 --- a/npm/ng-packs/dist/core/lib/services/localization.service.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { NgZone } from '@angular/core'; -import { ActivatedRouteSnapshot, Router } from '@angular/router'; -import { Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { Config } from '../models/config'; -declare type ShouldReuseRoute = (future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot) => boolean; -export declare class LocalizationService { - private store; - private router; - private ngZone; - readonly currentLang: string; - constructor(store: Store, router: Router, ngZone: NgZone, otherInstance: LocalizationService); - setRouteReuse(reuse: ShouldReuseRoute): void; - registerLocale(locale: string): Promise; - get(key: string | Config.LocalizationWithDefault, ...interpolateParams: string[]): Observable; - instant(key: string | Config.LocalizationWithDefault, ...interpolateParams: string[]): string; -} -export {}; diff --git a/npm/ng-packs/dist/core/lib/services/profile-state.service.d.ts b/npm/ng-packs/dist/core/lib/services/profile-state.service.d.ts deleted file mode 100644 index bbee39505fc..00000000000 --- a/npm/ng-packs/dist/core/lib/services/profile-state.service.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { Store } from '@ngxs/store'; -export declare class ProfileStateService { - private store; - constructor(store: Store); - getProfile(): import("../models").Profile.Response; -} diff --git a/npm/ng-packs/dist/core/lib/services/profile.service.d.ts b/npm/ng-packs/dist/core/lib/services/profile.service.d.ts deleted file mode 100644 index e67c2cdbdef..00000000000 --- a/npm/ng-packs/dist/core/lib/services/profile.service.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Observable } from 'rxjs'; -import { RestService } from './rest.service'; -import { Profile } from '../models'; -export declare class ProfileService { - private rest; - constructor(rest: RestService); - get(): Observable; - update(body: Profile.Response): Observable; - changePassword(body: Profile.ChangePasswordRequest, skipHandleError?: boolean): Observable; -} diff --git a/npm/ng-packs/dist/core/lib/services/rest.service.d.ts b/npm/ng-packs/dist/core/lib/services/rest.service.d.ts deleted file mode 100644 index d26818e6a67..00000000000 --- a/npm/ng-packs/dist/core/lib/services/rest.service.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { HttpClient, HttpRequest } from '@angular/common/http'; -import { Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { Rest } from '../models/rest'; -export declare class RestService { - private http; - private store; - constructor(http: HttpClient, store: Store); - handleError(err: any): Observable; - request(request: HttpRequest | Rest.Request, config?: Rest.Config, api?: string): Observable; -} diff --git a/npm/ng-packs/dist/core/lib/services/session-state.service.d.ts b/npm/ng-packs/dist/core/lib/services/session-state.service.d.ts deleted file mode 100644 index b86714421cf..00000000000 --- a/npm/ng-packs/dist/core/lib/services/session-state.service.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Store } from '@ngxs/store'; -export declare class SessionStateService { - private store; - constructor(store: Store); - getLanguage(): string; - getTenant(): import("../models").ABP.BasicItem; -} diff --git a/npm/ng-packs/dist/core/lib/states/config.state.d.ts b/npm/ng-packs/dist/core/lib/states/config.state.d.ts deleted file mode 100644 index 9f77d6aa39f..00000000000 --- a/npm/ng-packs/dist/core/lib/states/config.state.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { StateContext, Store } from '@ngxs/store'; -import { PatchRouteByName } from '../actions/config.actions'; -import { ABP } from '../models/common'; -import { Config } from '../models/config'; -import { ApplicationConfigurationService } from '../services/application-configuration.service'; -export declare class ConfigState { - private appConfigurationService; - private store; - static getAll(state: Config.State): Config.State; - static getApplicationInfo(state: Config.State): Config.Application; - static getOne(key: string): (state: Config.State) => any; - static getDeep(keys: string[] | string): (state: Config.State) => any; - static getRoute(path?: string, name?: string, url?: string): (state: Config.State) => ABP.FullRoute; - static getApiUrl(key?: string): (state: Config.State) => string; - static getSetting(key: string): (state: Config.State) => string; - static getSettings(keyword?: string): (state: Config.State) => {}; - static getGrantedPolicy(key: string): (state: Config.State) => boolean; - static getLocalization(key: string | Config.LocalizationWithDefault, ...interpolateParams: string[]): (state: Config.State) => any; - constructor(appConfigurationService: ApplicationConfigurationService, store: Store); - addData({ patchState, dispatch }: StateContext): import("rxjs").Observable; - patchRoute({ patchState, getState }: StateContext, { name, newValue }: PatchRouteByName): Config.State; -} diff --git a/npm/ng-packs/dist/core/lib/states/index.d.ts b/npm/ng-packs/dist/core/lib/states/index.d.ts deleted file mode 100644 index b7626c28427..00000000000 --- a/npm/ng-packs/dist/core/lib/states/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './profile.state'; -export * from './config.state'; -export * from './session.state'; diff --git a/npm/ng-packs/dist/core/lib/states/profile.state.d.ts b/npm/ng-packs/dist/core/lib/states/profile.state.d.ts deleted file mode 100644 index a8768021abb..00000000000 --- a/npm/ng-packs/dist/core/lib/states/profile.state.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { StateContext } from '@ngxs/store'; -import { ChangePassword, UpdateProfile } from '../actions/profile.actions'; -import { Profile } from '../models/profile'; -import { ProfileService } from '../services/profile.service'; -export declare class ProfileState { - private profileService; - static getProfile({ profile }: Profile.State): Profile.Response; - constructor(profileService: ProfileService); - getProfile({ patchState }: StateContext): import("rxjs").Observable; - updateProfile({ patchState }: StateContext, { payload }: UpdateProfile): import("rxjs").Observable; - changePassword(_: any, { payload }: ChangePassword): import("rxjs").Observable; -} diff --git a/npm/ng-packs/dist/core/lib/states/session.state.d.ts b/npm/ng-packs/dist/core/lib/states/session.state.d.ts deleted file mode 100644 index 8d82ffd0956..00000000000 --- a/npm/ng-packs/dist/core/lib/states/session.state.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { StateContext } from '@ngxs/store'; -import { SetLanguage, SetTenant } from '../actions/session.actions'; -import { ABP, Session } from '../models'; -import { LocalizationService } from '../services/localization.service'; -export declare class SessionState { - private localizationService; - static getLanguage({ language }: Session.State): string; - static getTenant({ tenant }: Session.State): ABP.BasicItem; - constructor(localizationService: LocalizationService); - setLanguage({ patchState, dispatch }: StateContext, { payload }: SetLanguage): import("rxjs").Observable; - setTenant({ patchState }: StateContext, { payload }: SetTenant): void; -} diff --git a/npm/ng-packs/dist/core/lib/tokens/common.token.d.ts b/npm/ng-packs/dist/core/lib/tokens/common.token.d.ts deleted file mode 100644 index 547d4bec8ab..00000000000 --- a/npm/ng-packs/dist/core/lib/tokens/common.token.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { InjectionToken } from '@angular/core'; -import { Config } from '../models'; -export declare function environmentFactory(environment: Config.Environment): { - application: Config.Application; - production: boolean; - oAuthConfig: import("angular-oauth2-oidc").AuthConfig; - apis: Config.Apis; - localization: { - defaultResourceName: string; - }; -}; -export declare function configFactory(config: Config.Requirements): { - layouts: import("@angular/core").Type[]; -}; -export declare const ENVIRONMENT: InjectionToken; -export declare const CONFIG: InjectionToken; diff --git a/npm/ng-packs/dist/core/lib/tokens/index.d.ts b/npm/ng-packs/dist/core/lib/tokens/index.d.ts deleted file mode 100644 index 1472bbfee9f..00000000000 --- a/npm/ng-packs/dist/core/lib/tokens/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './common.token'; diff --git a/npm/ng-packs/dist/core/lib/utils/common-utils.d.ts b/npm/ng-packs/dist/core/lib/utils/common-utils.d.ts deleted file mode 100644 index 3b5d6a3742e..00000000000 --- a/npm/ng-packs/dist/core/lib/utils/common-utils.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare function noop(): () => void; diff --git a/npm/ng-packs/dist/core/lib/utils/date-extensions.d.ts b/npm/ng-packs/dist/core/lib/utils/date-extensions.d.ts deleted file mode 100644 index cc08891b7e5..00000000000 --- a/npm/ng-packs/dist/core/lib/utils/date-extensions.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export {}; -declare global { - interface Date { - toLocalISOString(): string; - } -} diff --git a/npm/ng-packs/dist/core/lib/utils/generator-utils.d.ts b/npm/ng-packs/dist/core/lib/utils/generator-utils.d.ts deleted file mode 100644 index 2e98cc6b403..00000000000 --- a/npm/ng-packs/dist/core/lib/utils/generator-utils.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare function uuid(a?: any): string; diff --git a/npm/ng-packs/dist/core/lib/utils/index.d.ts b/npm/ng-packs/dist/core/lib/utils/index.d.ts deleted file mode 100644 index 0043152ada4..00000000000 --- a/npm/ng-packs/dist/core/lib/utils/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export * from './common-utils'; -export * from './generator-utils'; -export * from './initial-utils'; -export * from './route-utils'; -export * from './rxjs-utils'; diff --git a/npm/ng-packs/dist/core/lib/utils/initial-utils.d.ts b/npm/ng-packs/dist/core/lib/utils/initial-utils.d.ts deleted file mode 100644 index 2879df3cdce..00000000000 --- a/npm/ng-packs/dist/core/lib/utils/initial-utils.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Injector } from '@angular/core'; -export declare function getInitialData(injector: Injector): () => Promise; -export declare function localeInitializer(injector: Injector): () => Promise; -export declare function registerLocale(locale: string): Promise; diff --git a/npm/ng-packs/dist/core/lib/utils/route-utils.d.ts b/npm/ng-packs/dist/core/lib/utils/route-utils.d.ts deleted file mode 100644 index c1f5c57801f..00000000000 --- a/npm/ng-packs/dist/core/lib/utils/route-utils.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ABP } from '../models'; -export declare function organizeRoutes(routes: ABP.FullRoute[], wrappers?: ABP.FullRoute[], parentNameArr?: ABP.FullRoute[], parentName?: string): ABP.FullRoute[]; -export declare function setChildRoute(routes: ABP.FullRoute[], parentNameArr: ABP.FullRoute[]): ABP.FullRoute[]; -export declare function sortRoutes(routes?: ABP.FullRoute[]): ABP.FullRoute[]; -export declare function addAbpRoutes(routes: ABP.FullRoute | ABP.FullRoute[]): void; -export declare function getAbpRoutes(): ABP.FullRoute[]; diff --git a/npm/ng-packs/dist/core/lib/utils/rxjs-utils.d.ts b/npm/ng-packs/dist/core/lib/utils/rxjs-utils.d.ts deleted file mode 100644 index f1fb5ef4f84..00000000000 --- a/npm/ng-packs/dist/core/lib/utils/rxjs-utils.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { Observable } from 'rxjs'; -export declare const takeUntilDestroy: (componentInstance: any, destroyMethodName?: string) => (source: Observable) => Observable; diff --git a/npm/ng-packs/dist/core/package.json b/npm/ng-packs/dist/core/package.json deleted file mode 100644 index 922e0e8d25d..00000000000 --- a/npm/ng-packs/dist/core/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "@abp/ng.core", - "version": "1.1.0", - "dependencies": { - "@ngxs/router-plugin": "^3.5.1", - "@ngxs/storage-plugin": "^3.5.1", - "@ngxs/store": "^3.5.1", - "angular-oauth2-oidc": "^8.0.4", - "just-clone": "3.1.0", - "just-compare": "^1.3.0", - "snq": "^1.0.3", - "tslib": "^1.9.0" - }, - "publishConfig": { - "access": "public" - }, - "main": "bundles/abp-ng.core.umd.js", - "module": "fesm5/abp-ng.core.js", - "es2015": "fesm2015/abp-ng.core.js", - "esm5": "esm5/abp-ng.core.js", - "esm2015": "esm2015/abp-ng.core.js", - "fesm5": "fesm5/abp-ng.core.js", - "fesm2015": "fesm2015/abp-ng.core.js", - "typings": "abp-ng.core.d.ts", - "metadata": "abp-ng.core.metadata.json", - "sideEffects": false, - "gitHead": "42d9eb857fca97c046ebac4286b6831c8b8c1887" -} diff --git a/npm/ng-packs/dist/core/public-api.d.ts b/npm/ng-packs/dist/core/public-api.d.ts deleted file mode 100644 index f6488dee741..00000000000 --- a/npm/ng-packs/dist/core/public-api.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export * from './lib/abstracts'; -export * from './lib/actions'; -export * from './lib/components'; -export * from './lib/constants'; -export * from './lib/directives'; -export * from './lib/enums'; -export * from './lib/guards'; -export * from './lib/interceptors'; -export * from './lib/models'; -export * from './lib/pipes'; -export * from './lib/plugins'; -export * from './lib/services'; -export * from './lib/states'; -export * from './lib/tokens'; -export * from './lib/utils'; -export * from './lib/core.module'; diff --git a/npm/ng-packs/dist/feature-management/README.md b/npm/ng-packs/dist/feature-management/README.md deleted file mode 100644 index e37720641cd..00000000000 --- a/npm/ng-packs/dist/feature-management/README.md +++ /dev/null @@ -1,3 +0,0 @@ -

 @abp/ng.feature-management

- -[docs.abp.io](https://docs.abp.io) diff --git a/npm/ng-packs/dist/feature-management/abp-ng.feature-management.d.ts b/npm/ng-packs/dist/feature-management/abp-ng.feature-management.d.ts deleted file mode 100644 index 79bee14655e..00000000000 --- a/npm/ng-packs/dist/feature-management/abp-ng.feature-management.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Generated bundle index. Do not edit. - */ -export * from './public-api'; -export { GetFeatures as ɵe, UpdateFeatures as ɵf } from './lib/actions/feature-management.actions'; -export { FeatureManagementComponent as ɵa } from './lib/components/feature-management/feature-management.component'; -export { FeatureManagement as ɵg } from './lib/models'; -export { FeatureManagementService as ɵd } from './lib/services/feature-management.service'; -export { FeatureManagementState as ɵb } from './lib/states'; -export { FeatureManagementState as ɵc } from './lib/states/feature-management.state'; diff --git a/npm/ng-packs/dist/feature-management/abp-ng.feature-management.metadata.json b/npm/ng-packs/dist/feature-management/abp-ng.feature-management.metadata.json deleted file mode 100644 index 23be62575d4..00000000000 --- a/npm/ng-packs/dist/feature-management/abp-ng.feature-management.metadata.json +++ /dev/null @@ -1 +0,0 @@ -{"__symbolic":"module","version":4,"exports":[{"from":"./lib/feature-management/feature-management.component"}],"metadata":{"FeatureManagementModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":7,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"}],"imports":[{"__symbolic":"reference","module":"@abp/ng.core","name":"CoreModule","line":9,"character":12},{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ThemeSharedModule","line":9,"character":24},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"NgxsModule","line":9,"character":43},"member":"forFeature"},"arguments":[[{"__symbolic":"reference","name":"ɵc"}]]}],"exports":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"abp-feature-management","template":"\r\n \r\n

{{ 'AbpFeatureManagement::Features' | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n \r\n
{{ feature.name }}
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n {{ 'AbpFeatureManagement::NoFeatureFoundMessage' | abpLocalization }}\r\n
\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n {{ 'AbpFeatureManagement::Save' | abpLocalization }}\r\n \r\n \r\n \r\n
\r\n"}]}],"members":{"providerKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"providerName":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"visible":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"visibleChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":34,"character":3}}]}],"features$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Select","line":36,"character":3},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵb"},"member":"getFeatures"}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":43,"character":29}]}],"openModal":[{"__symbolic":"method"}],"getFeatures":[{"__symbolic":"method"}],"buildForm":[{"__symbolic":"method"}],"save":[{"__symbolic":"method"}]}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"State","line":6,"character":1},"arguments":[{"name":"FeatureManagementState","defaults":{"features":{}}}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵd"}]}],"getFeatures":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":18,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵe"}]}]}],"updateFeatures":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":29,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵf"}]}]}]},"statics":{"getFeatures":{"__symbolic":"function","parameters":["features"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"reference","name":"features"},"right":[]}}}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":6,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@abp/ng.core","name":"RestService","line":10,"character":28},{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":10,"character":56}]}],"getFeatures":[{"__symbolic":"method"}],"updateFeatures":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵe":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵg"},"member":"Provider"}]}]},"statics":{"type":"[FeatureManagement] Get Features"}},"ɵf":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":9,"character":30,"module":"./lib/actions/feature-management.actions"}]}]},"statics":{"type":"[FeatureManagement] Update Features"}}},"origins":{"FeatureManagementModule":"./lib/feature-management.module","ɵa":"./lib/components/feature-management/feature-management.component","ɵb":"./lib/states","ɵc":"./lib/states/feature-management.state","ɵd":"./lib/services/feature-management.service","ɵe":"./lib/actions/feature-management.actions","ɵf":"./lib/actions/feature-management.actions","ɵg":"./lib/models"},"importAs":"@abp/ng.feature-management"} \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/bundles/abp-ng.feature-management.umd.js b/npm/ng-packs/dist/feature-management/bundles/abp-ng.feature-management.umd.js deleted file mode 100644 index 713cda7aaf2..00000000000 --- a/npm/ng-packs/dist/feature-management/bundles/abp-ng.feature-management.umd.js +++ /dev/null @@ -1,614 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@abp/ng.core'), require('@abp/ng.theme.shared'), require('@angular/core'), require('@ngxs/store'), require('rxjs'), require('rxjs/operators'), require('@angular/forms')) : - typeof define === 'function' && define.amd ? define('@abp/ng.feature-management', ['exports', '@abp/ng.core', '@abp/ng.theme.shared', '@angular/core', '@ngxs/store', 'rxjs', 'rxjs/operators', '@angular/forms'], factory) : - (global = global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng['feature-management'] = {}), global.ng_core, global.ng_theme_shared, global.ng.core, global.store, global.rxjs, global.rxjs.operators, global.ng.forms)); -}(this, (function (exports, ng_core, ng_theme_shared, core, store, rxjs, operators, forms) { 'use strict'; - - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ - /* global Reflect, Promise */ - - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - - function __extends(d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - } - - var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); - }; - - function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; - } - - function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; - } - - function __param(paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } - } - - function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); - } - - function __awaiter(thisArg, _arguments, P, generator) { - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - } - - function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (_) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } - } - - function __exportStar(m, exports) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; - } - - function __values(o) { - var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0; - if (m) return m.call(o); - return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; - } - - function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; - } - - function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; - } - - function __spreadArrays() { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; - for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; - return r; - }; - - function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); - } - - function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } - } - - function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } - } - - function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); - function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } - } - - function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; - }; - - function __importStar(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result.default = mod; - return result; - } - - function __importDefault(mod) { - return (mod && mod.__esModule) ? mod : { default: mod }; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/actions/feature-management.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var GetFeatures = /** @class */ (function () { - function GetFeatures(payload) { - this.payload = payload; - } - GetFeatures.type = '[FeatureManagement] Get Features'; - return GetFeatures; - }()); - if (false) { - /** @type {?} */ - GetFeatures.type; - /** @type {?} */ - GetFeatures.prototype.payload; - } - var UpdateFeatures = /** @class */ (function () { - function UpdateFeatures(payload) { - this.payload = payload; - } - UpdateFeatures.type = '[FeatureManagement] Update Features'; - return UpdateFeatures; - }()); - if (false) { - /** @type {?} */ - UpdateFeatures.type; - /** @type {?} */ - UpdateFeatures.prototype.payload; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/feature-management.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var FeatureManagementService = /** @class */ (function () { - function FeatureManagementService(rest, store) { - this.rest = rest; - this.store = store; - } - /** - * @param {?} params - * @return {?} - */ - FeatureManagementService.prototype.getFeatures = /** - * @param {?} params - * @return {?} - */ - function (params) { - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/abp/features', - params: params, - }; - return this.rest.request(request); - }; - /** - * @param {?} __0 - * @return {?} - */ - FeatureManagementService.prototype.updateFeatures = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var features = _a.features, providerKey = _a.providerKey, providerName = _a.providerName; - /** @type {?} */ - var request = { - method: 'PUT', - url: '/api/abp/features', - body: { features: features }, - params: { providerKey: providerKey, providerName: providerName }, - }; - return this.rest.request(request); - }; - FeatureManagementService.decorators = [ - { type: core.Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - FeatureManagementService.ctorParameters = function () { return [ - { type: ng_core.RestService }, - { type: store.Store } - ]; }; - /** @nocollapse */ FeatureManagementService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function FeatureManagementService_Factory() { return new FeatureManagementService(core.ɵɵinject(ng_core.RestService), core.ɵɵinject(store.Store)); }, token: FeatureManagementService, providedIn: "root" }); - return FeatureManagementService; - }()); - if (false) { - /** - * @type {?} - * @private - */ - FeatureManagementService.prototype.rest; - /** - * @type {?} - * @private - */ - FeatureManagementService.prototype.store; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/states/feature-management.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var FeatureManagementState = /** @class */ (function () { - function FeatureManagementState(featureManagementService) { - this.featureManagementService = featureManagementService; - } - /** - * @param {?} __0 - * @return {?} - */ - FeatureManagementState.getFeatures = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var features = _a.features; - return features || []; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - FeatureManagementState.prototype.getFeatures = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.featureManagementService.getFeatures(payload).pipe(operators.tap((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var features = _a.features; - return patchState({ - features: features, - }); - }))); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - FeatureManagementState.prototype.updateFeatures = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.featureManagementService.updateFeatures(payload); - }; - FeatureManagementState.ctorParameters = function () { return [ - { type: FeatureManagementService } - ]; }; - __decorate([ - store.Action(GetFeatures), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetFeatures]), - __metadata("design:returntype", void 0) - ], FeatureManagementState.prototype, "getFeatures", null); - __decorate([ - store.Action(UpdateFeatures), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, UpdateFeatures]), - __metadata("design:returntype", void 0) - ], FeatureManagementState.prototype, "updateFeatures", null); - __decorate([ - store.Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", void 0) - ], FeatureManagementState, "getFeatures", null); - FeatureManagementState = __decorate([ - store.State({ - name: 'FeatureManagementState', - defaults: (/** @type {?} */ ({ features: {} })), - }), - __metadata("design:paramtypes", [FeatureManagementService]) - ], FeatureManagementState); - return FeatureManagementState; - }()); - if (false) { - /** - * @type {?} - * @private - */ - FeatureManagementState.prototype.featureManagementService; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/feature-management/feature-management.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var FeatureManagementComponent = /** @class */ (function () { - function FeatureManagementComponent(store) { - this.store = store; - this.visibleChange = new core.EventEmitter(); - this.modalBusy = false; - } - Object.defineProperty(FeatureManagementComponent.prototype, "visible", { - get: /** - * @return {?} - */ - function () { - return this._visible; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - this._visible = value; - this.visibleChange.emit(value); - if (value) - this.openModal(); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - FeatureManagementComponent.prototype.openModal = /** - * @return {?} - */ - function () { - if (!this.providerKey || !this.providerName) { - throw new Error('Provider Key and Provider Name are required.'); - } - this.getFeatures(); - }; - /** - * @return {?} - */ - FeatureManagementComponent.prototype.getFeatures = /** - * @return {?} - */ - function () { - var _this = this; - this.store - .dispatch(new GetFeatures({ - providerKey: this.providerKey, - providerName: this.providerName, - })) - .pipe(operators.pluck('FeatureManagementState', 'features')) - .subscribe((/** - * @param {?} features - * @return {?} - */ - function (features) { - _this.buildForm(features); - })); - }; - /** - * @param {?} features - * @return {?} - */ - FeatureManagementComponent.prototype.buildForm = /** - * @param {?} features - * @return {?} - */ - function (features) { - /** @type {?} */ - var formGroupObj = {}; - for (var i = 0; i < features.length; i++) { - formGroupObj[i] = new forms.FormControl(features[i].value === 'false' ? null : features[i].value); - } - this.form = new forms.FormGroup(formGroupObj); - }; - /** - * @return {?} - */ - FeatureManagementComponent.prototype.save = /** - * @return {?} - */ - function () { - var _this = this; - if (this.modalBusy) - return; - this.modalBusy = true; - /** @type {?} */ - var features = this.store.selectSnapshot(FeatureManagementState.getFeatures); - features = features.map((/** - * @param {?} feature - * @param {?} i - * @return {?} - */ - function (feature, i) { return ({ - name: feature.name, - value: !_this.form.value[i] || _this.form.value[i] === 'false' ? null : _this.form.value[i], - }); })); - this.store - .dispatch(new UpdateFeatures({ - providerKey: this.providerKey, - providerName: this.providerName, - features: features, - })) - .pipe(operators.finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.visible = false; - })); - }; - FeatureManagementComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-feature-management', - template: "\r\n \r\n

{{ 'AbpFeatureManagement::Features' | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n \r\n
{{ feature.name }}
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n {{ 'AbpFeatureManagement::NoFeatureFoundMessage' | abpLocalization }}\r\n
\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n {{ 'AbpFeatureManagement::Save' | abpLocalization }}\r\n \r\n \r\n \r\n
\r\n" - }] } - ]; - /** @nocollapse */ - FeatureManagementComponent.ctorParameters = function () { return [ - { type: store.Store } - ]; }; - FeatureManagementComponent.propDecorators = { - providerKey: [{ type: core.Input }], - providerName: [{ type: core.Input }], - visible: [{ type: core.Input }], - visibleChange: [{ type: core.Output }] - }; - __decorate([ - store.Select(FeatureManagementState.getFeatures), - __metadata("design:type", rxjs.Observable) - ], FeatureManagementComponent.prototype, "features$", void 0); - return FeatureManagementComponent; - }()); - if (false) { - /** @type {?} */ - FeatureManagementComponent.prototype.providerKey; - /** @type {?} */ - FeatureManagementComponent.prototype.providerName; - /** - * @type {?} - * @protected - */ - FeatureManagementComponent.prototype._visible; - /** @type {?} */ - FeatureManagementComponent.prototype.visibleChange; - /** @type {?} */ - FeatureManagementComponent.prototype.features$; - /** @type {?} */ - FeatureManagementComponent.prototype.modalBusy; - /** @type {?} */ - FeatureManagementComponent.prototype.form; - /** - * @type {?} - * @private - */ - FeatureManagementComponent.prototype.store; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/feature-management.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var FeatureManagementModule = /** @class */ (function () { - function FeatureManagementModule() { - } - FeatureManagementModule.decorators = [ - { type: core.NgModule, args: [{ - declarations: [FeatureManagementComponent], - imports: [ng_core.CoreModule, ng_theme_shared.ThemeSharedModule, store.NgxsModule.forFeature([FeatureManagementState])], - exports: [FeatureManagementComponent], - },] } - ]; - return FeatureManagementModule; - }()); - - exports.FeatureManagementComponent = FeatureManagementComponent; - exports.FeatureManagementModule = FeatureManagementModule; - exports.ɵa = FeatureManagementComponent; - exports.ɵb = FeatureManagementState; - exports.ɵc = FeatureManagementState; - exports.ɵd = FeatureManagementService; - exports.ɵe = GetFeatures; - exports.ɵf = UpdateFeatures; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); -//# sourceMappingURL=abp-ng.feature-management.umd.js.map diff --git a/npm/ng-packs/dist/feature-management/bundles/abp-ng.feature-management.umd.js.map b/npm/ng-packs/dist/feature-management/bundles/abp-ng.feature-management.umd.js.map deleted file mode 100644 index e32faeb4f75..00000000000 --- a/npm/ng-packs/dist/feature-management/bundles/abp-ng.feature-management.umd.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.feature-management.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","ng://@abp/ng.feature-management/lib/actions/feature-management.actions.ts","ng://@abp/ng.feature-management/lib/services/feature-management.service.ts","ng://@abp/ng.feature-management/lib/states/feature-management.state.ts","ng://@abp/ng.feature-management/lib/components/feature-management/feature-management.component.ts","ng://@abp/ng.feature-management/lib/feature-management.module.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { FeatureManagement } from '../models';\r\n\r\nexport class GetFeatures {\r\n static readonly type = '[FeatureManagement] Get Features';\r\n constructor(public payload: FeatureManagement.Provider) {}\r\n}\r\n\r\nexport class UpdateFeatures {\r\n static readonly type = '[FeatureManagement] Update Features';\r\n constructor(public payload: FeatureManagement.Provider & FeatureManagement.Features) {}\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { FeatureManagement } from '../models';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class FeatureManagementService {\r\n constructor(private rest: RestService, private store: Store) {}\r\n\r\n getFeatures(params: FeatureManagement.Provider): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/abp/features',\r\n params,\r\n };\r\n return this.rest.request(request);\r\n }\r\n\r\n updateFeatures({\r\n features,\r\n providerKey,\r\n providerName,\r\n }: FeatureManagement.Provider & FeatureManagement.Features): Observable {\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url: '/api/abp/features',\r\n body: { features },\r\n params: { providerKey, providerName },\r\n };\r\n return this.rest.request(request);\r\n }\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { tap } from 'rxjs/operators';\r\nimport { GetFeatures, UpdateFeatures } from '../actions/feature-management.actions';\r\nimport { FeatureManagement } from '../models/feature-management';\r\nimport { FeatureManagementService } from '../services/feature-management.service';\r\n\r\n@State({\r\n name: 'FeatureManagementState',\r\n defaults: { features: {} } as FeatureManagement.State,\r\n})\r\nexport class FeatureManagementState {\r\n @Selector()\r\n static getFeatures({ features }: FeatureManagement.State) {\r\n return features || [];\r\n }\r\n\r\n constructor(private featureManagementService: FeatureManagementService) {}\r\n\r\n @Action(GetFeatures)\r\n getFeatures({ patchState }: StateContext, { payload }: GetFeatures) {\r\n return this.featureManagementService.getFeatures(payload).pipe(\r\n tap(({ features }) =>\r\n patchState({\r\n features,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(UpdateFeatures)\r\n updateFeatures(_, { payload }: UpdateFeatures) {\r\n return this.featureManagementService.updateFeatures(payload);\r\n }\r\n}\r\n","import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { GetFeatures, UpdateFeatures } from '../../actions';\r\nimport { FeatureManagement } from '../../models/feature-management';\r\nimport { FeatureManagementState } from '../../states';\r\nimport { FormGroup, FormControl } from '@angular/forms';\r\nimport { pluck, finalize } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'abp-feature-management',\r\n templateUrl: './feature-management.component.html',\r\n})\r\nexport class FeatureManagementComponent {\r\n @Input()\r\n providerKey: string;\r\n\r\n @Input()\r\n providerName: string;\r\n\r\n protected _visible;\r\n\r\n @Input()\r\n get visible(): boolean {\r\n return this._visible;\r\n }\r\n\r\n set visible(value: boolean) {\r\n this._visible = value;\r\n this.visibleChange.emit(value);\r\n\r\n if (value) this.openModal();\r\n }\r\n\r\n @Output() readonly visibleChange = new EventEmitter();\r\n\r\n @Select(FeatureManagementState.getFeatures)\r\n features$: Observable;\r\n\r\n modalBusy = false;\r\n\r\n form: FormGroup;\r\n\r\n constructor(private store: Store) {}\r\n\r\n openModal() {\r\n if (!this.providerKey || !this.providerName) {\r\n throw new Error('Provider Key and Provider Name are required.');\r\n }\r\n\r\n this.getFeatures();\r\n }\r\n\r\n getFeatures() {\r\n this.store\r\n .dispatch(\r\n new GetFeatures({\r\n providerKey: this.providerKey,\r\n providerName: this.providerName,\r\n }),\r\n )\r\n .pipe(pluck('FeatureManagementState', 'features'))\r\n .subscribe(features => {\r\n this.buildForm(features);\r\n });\r\n }\r\n\r\n buildForm(features) {\r\n const formGroupObj = {};\r\n\r\n for (let i = 0; i < features.length; i++) {\r\n formGroupObj[i] = new FormControl(features[i].value === 'false' ? null : features[i].value);\r\n }\r\n\r\n this.form = new FormGroup(formGroupObj);\r\n }\r\n\r\n save() {\r\n if (this.modalBusy) return;\r\n\r\n this.modalBusy = true;\r\n\r\n let features = this.store.selectSnapshot(FeatureManagementState.getFeatures);\r\n\r\n features = features.map((feature, i) => ({\r\n name: feature.name,\r\n value: !this.form.value[i] || this.form.value[i] === 'false' ? null : this.form.value[i],\r\n }));\r\n\r\n this.store\r\n .dispatch(\r\n new UpdateFeatures({\r\n providerKey: this.providerKey,\r\n providerName: this.providerName,\r\n features,\r\n }),\r\n )\r\n .pipe(finalize(() => (this.modalBusy = false)))\r\n .subscribe(() => {\r\n this.visible = false;\r\n });\r\n }\r\n}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule } from '@angular/core';\r\nimport { FeatureManagementComponent } from './components/feature-management/feature-management.component';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { FeatureManagementState } from './states/feature-management.state';\r\n\r\n@NgModule({\r\n declarations: [FeatureManagementComponent],\r\n imports: [CoreModule, ThemeSharedModule, NgxsModule.forFeature([FeatureManagementState])],\r\n exports: [FeatureManagementComponent],\r\n})\r\nexport class FeatureManagementModule {}\r\n"],"names":["Injectable","RestService","Store","tap","tslib_1.__decorate","Action","Selector","State","EventEmitter","pluck","FormControl","FormGroup","finalize","Component","Input","Output","Select","Observable","NgModule","CoreModule","ThemeSharedModule","NgxsModule"],"mappings":";;;;;;IAAA;IACA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA;IACA;IAC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iBACP,QAAQ,CACP,IAAI,cAAc,CAAC;gBACjB,WAAW,EAAE,IAAI,CAAC,WAAW;gBAC7B,YAAY,EAAE,IAAI,CAAC,YAAY;gBAC/B,QAAQ,UAAA;aACT,CAAC,CACH;iBACA,IAAI,CAACC,kBAAQ;;;YAAC,cAAM,QAAC,KAAI,CAAC,SAAS,GAAG,KAAK,IAAC,EAAC,CAAC;iBAC9C,SAAS;;;YAAC;gBACT,KAAI,CAAC,OAAO,GAAG,KAAK,CAAC;aACtB,EAAC,CAAC;SACN;;oBA5FFC,cAAS,SAAC;wBACT,QAAQ,EAAE,wBAAwB;wBAClC,ylDAAkD;qBACnD;;;;oBAXgBX,WAAK;;;kCAanBY,UAAK;mCAGLA,UAAK;8BAKLA,UAAK;oCAYLC,WAAM;;QAGPX;YADCY,YAAM,CAAC,sBAAsB,CAAC,WAAW,CAAC;sCAChCC,eAAU;qEAA8B;QAiErD,iCAAC;KA7FD,IA6FC;;;QAxFC,iDACoB;;QAEpB,kDACqB;;;;;QAErB,8CAAmB;;QAcnB,mDAA+D;;QAE/D,+CACmD;;QAEnD,+CAAkB;;QAElB,0CAAgB;;;;;QAEJ,2CAAoB;;;;;;;;AC3ClC;QAOA;SAKuC;;oBALtCC,aAAQ,SAAC;wBACR,YAAY,EAAE,CAAC,0BAA0B,CAAC;wBAC1C,OAAO,EAAE,CAACC,kBAAU,EAAEC,iCAAiB,EAAEC,gBAAU,CAAC,UAAU,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC;wBACzF,OAAO,EAAE,CAAC,0BAA0B,CAAC;qBACtC;;QACqC,8BAAC;KALvC;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/bundles/abp-ng.feature-management.umd.min.js b/npm/ng-packs/dist/feature-management/bundles/abp-ng.feature-management.umd.min.js deleted file mode 100644 index c0e460fa339..00000000000 --- a/npm/ng-packs/dist/feature-management/bundles/abp-ng.feature-management.umd.min.js +++ /dev/null @@ -1,16 +0,0 @@ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@abp/ng.core"),require("@abp/ng.theme.shared"),require("@angular/core"),require("@ngxs/store"),require("rxjs"),require("rxjs/operators"),require("@angular/forms")):"function"==typeof define&&define.amd?define("@abp/ng.feature-management",["exports","@abp/ng.core","@abp/ng.theme.shared","@angular/core","@ngxs/store","rxjs","rxjs/operators","@angular/forms"],t):t(((e=e||self).abp=e.abp||{},e.abp.ng=e.abp.ng||{},e.abp.ng["feature-management"]={}),e.ng_core,e.ng_theme_shared,e.ng.core,e.store,e.rxjs,e.rxjs.operators,e.ng.forms)}(this,(function(e,t,r,n,a,o,i,u){"use strict"; -/*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */function s(e,t,r,n){var a,o=arguments.length,i=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)(a=e[u])&&(i=(o<3?a(i):o>3?a(t,r,i):a(t,r))||i);return o>3&&i&&Object.defineProperty(t,r,i),i}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}var c=function(){function e(e){this.payload=e}return e.type="[FeatureManagement] Get Features",e}();var f=function(){function e(e){this.payload=e}return e.type="[FeatureManagement] Update Features",e}();var l=function(){function e(e,t){this.rest=e,this.store=t}return e.prototype.getFeatures=function(e){var t={method:"GET",url:"/api/abp/features",params:e};return this.rest.request(t)},e.prototype.updateFeatures=function(e){var t={method:"PUT",url:"/api/abp/features",body:{features:e.features},params:{providerKey:e.providerKey,providerName:e.providerName}};return this.rest.request(t)},e.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:t.RestService},{type:a.Store}]},e.ngInjectableDef=n.ɵɵdefineInjectable({factory:function(){return new e(n.ɵɵinject(t.RestService),n.ɵɵinject(a.Store))},token:e,providedIn:"root"}),e}();var d=function(){function e(e){this.featureManagementService=e}return e.getFeatures=function(e){return e.features||[]},e.prototype.getFeatures=function(e,t){var r=e.patchState,n=t.payload;return this.featureManagementService.getFeatures(n).pipe(i.tap((function(e){var t=e.features;return r({features:t})})))},e.prototype.updateFeatures=function(e,t){var r=t.payload;return this.featureManagementService.updateFeatures(r)},e.ctorParameters=function(){return[{type:l}]},s([a.Action(c),p("design:type",Function),p("design:paramtypes",[Object,c]),p("design:returntype",void 0)],e.prototype,"getFeatures",null),s([a.Action(f),p("design:type",Function),p("design:paramtypes",[Object,f]),p("design:returntype",void 0)],e.prototype,"updateFeatures",null),s([a.Selector(),p("design:type",Function),p("design:paramtypes",[Object]),p("design:returntype",void 0)],e,"getFeatures",null),e=s([a.State({name:"FeatureManagementState",defaults:{features:{}}}),p("design:paramtypes",[l])],e)}();var m=function(){function e(e){this.store=e,this.visibleChange=new n.EventEmitter,this.modalBusy=!1}return Object.defineProperty(e.prototype,"visible",{get:function(){return this._visible},set:function(e){this._visible=e,this.visibleChange.emit(e),e&&this.openModal()},enumerable:!0,configurable:!0}),e.prototype.openModal=function(){if(!this.providerKey||!this.providerName)throw new Error("Provider Key and Provider Name are required.");this.getFeatures()},e.prototype.getFeatures=function(){var e=this;this.store.dispatch(new c({providerKey:this.providerKey,providerName:this.providerName})).pipe(i.pluck("FeatureManagementState","features")).subscribe((function(t){e.buildForm(t)}))},e.prototype.buildForm=function(e){for(var t={},r=0;r\r\n \r\n

{{ \'AbpFeatureManagement::Features\' | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n \r\n
{{ feature.name }}
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n {{ \'AbpFeatureManagement::NoFeatureFoundMessage\' | abpLocalization }}\r\n
\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n {{ \'AbpFeatureManagement::Save\' | abpLocalization }}\r\n \r\n \r\n \r\n\r\n'}]}],e.ctorParameters=function(){return[{type:a.Store}]},e.propDecorators={providerKey:[{type:n.Input}],providerName:[{type:n.Input}],visible:[{type:n.Input}],visibleChange:[{type:n.Output}]},s([a.Select(d.getFeatures),p("design:type",o.Observable)],e.prototype,"features$",void 0),e}();var g=function(){function e(){}return e.decorators=[{type:n.NgModule,args:[{declarations:[m],imports:[t.CoreModule,r.ThemeSharedModule,a.NgxsModule.forFeature([d])],exports:[m]}]}],e}();e.FeatureManagementComponent=m,e.FeatureManagementModule=g,e.ɵa=m,e.ɵb=d,e.ɵc=d,e.ɵd=l,e.ɵe=c,e.ɵf=f,Object.defineProperty(e,"__esModule",{value:!0})})); -//# sourceMappingURL=abp-ng.feature-management.umd.min.js.map \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/bundles/abp-ng.feature-management.umd.min.js.map b/npm/ng-packs/dist/feature-management/bundles/abp-ng.feature-management.umd.min.js.map deleted file mode 100644 index 1244f62d255..00000000000 --- a/npm/ng-packs/dist/feature-management/bundles/abp-ng.feature-management.umd.min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@abp/ng.feature-management/lib/actions/feature-management.actions.ts","ng://@abp/ng.feature-management/lib/services/feature-management.service.ts","ng://@abp/ng.feature-management/lib/states/feature-management.state.ts","ng://@abp/ng.feature-management/lib/components/feature-management/feature-management.component.ts","ng://@abp/ng.feature-management/lib/feature-management.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__metadata","metadataKey","metadataValue","metadata","GetFeatures","payload","this","type","UpdateFeatures","FeatureManagementService","rest","store","prototype","getFeatures","params","request","method","url","updateFeatures","_a","body","features","providerKey","providerName","Injectable","args","providedIn","RestService","Store","FeatureManagementState","featureManagementService","_b","patchState","pipe","tap","_","tslib_1.__decorate","Action","Selector","State","name","defaults","FeatureManagementComponent","visibleChange","EventEmitter","modalBusy","_visible","value","emit","openModal","Error","_this","dispatch","pluck","subscribe","buildForm","formGroupObj","FormControl","form","FormGroup","save","selectSnapshot","map","feature","finalize","visible","Component","selector","template","Input","Output","Select","Observable","FeatureManagementModule","NgModule","declarations","imports","CoreModule","ThemeSharedModule","NgxsModule","forFeature","exports"],"mappings":";;;;;;;;;;;;;;oFAoDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,EAOzD,SAASO,EAAWC,EAAaC,GACpC,GAAuB,iBAAZN,SAAoD,mBAArBA,QAAQO,SAAyB,OAAOP,QAAQO,SAASF,EAAaC,GC9DpH,IAAAE,EAAA,WAEE,SAAAA,EAAmBC,GAAAC,KAAAD,QAAAA,EAC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KACdO,MAAQI,EAAKO,KAAKX,MAAMjD,IAA6B,UAAvBqD,EAAKO,KAAKX,MAAMjD,GAAwBqD,EAAKO,KAAKX,MAAMjD,GAAvB,SAGjEQ,KAAKK,MACFyC,SACC,IAAI5C,EAAe,CACjBc,YAAahB,KAAKgB,YAClBC,aAAcjB,KAAKiB,aACnBF,SAAQA,KAGXY,KAAK+B,EAAAA,UAAQ,WAAO,OAACb,EAAKN,WAAY,MACtCS,WAAS,WACRH,EAAKc,SAAU,2BA1FtBC,EAAAA,UAASzC,KAAA,CAAC,CACT0C,SAAU,yBACVC,SAAA,mlDAVexC,EAAAA,8CAadyC,EAAAA,4BAGAA,EAAAA,uBAKAA,EAAAA,6BAYAC,EAAAA,UAGDlC,EAAAA,CADCmC,EAAAA,OAAO1C,EAAuBhB,6BACpB2D,EAAAA,6CAiEb9B,KCtGA,IAAA+B,EAAA,WAOA,SAAAA,KAKsC,2BALrCC,EAAAA,SAAQjD,KAAA,CAAC,CACRkD,aAAc,CAACjC,GACfkC,QAAS,CAACC,EAAAA,WAAYC,EAAAA,kBAAmBC,EAAAA,WAAWC,WAAW,CAACnD,KAChEoD,QAAS,CAACvC,OAE0B+B,EAZtC","sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { FeatureManagement } from '../models';\r\n\r\nexport class GetFeatures {\r\n static readonly type = '[FeatureManagement] Get Features';\r\n constructor(public payload: FeatureManagement.Provider) {}\r\n}\r\n\r\nexport class UpdateFeatures {\r\n static readonly type = '[FeatureManagement] Update Features';\r\n constructor(public payload: FeatureManagement.Provider & FeatureManagement.Features) {}\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { FeatureManagement } from '../models';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class FeatureManagementService {\r\n constructor(private rest: RestService, private store: Store) {}\r\n\r\n getFeatures(params: FeatureManagement.Provider): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/abp/features',\r\n params,\r\n };\r\n return this.rest.request(request);\r\n }\r\n\r\n updateFeatures({\r\n features,\r\n providerKey,\r\n providerName,\r\n }: FeatureManagement.Provider & FeatureManagement.Features): Observable {\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url: '/api/abp/features',\r\n body: { features },\r\n params: { providerKey, providerName },\r\n };\r\n return this.rest.request(request);\r\n }\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { tap } from 'rxjs/operators';\r\nimport { GetFeatures, UpdateFeatures } from '../actions/feature-management.actions';\r\nimport { FeatureManagement } from '../models/feature-management';\r\nimport { FeatureManagementService } from '../services/feature-management.service';\r\n\r\n@State({\r\n name: 'FeatureManagementState',\r\n defaults: { features: {} } as FeatureManagement.State,\r\n})\r\nexport class FeatureManagementState {\r\n @Selector()\r\n static getFeatures({ features }: FeatureManagement.State) {\r\n return features || [];\r\n }\r\n\r\n constructor(private featureManagementService: FeatureManagementService) {}\r\n\r\n @Action(GetFeatures)\r\n getFeatures({ patchState }: StateContext, { payload }: GetFeatures) {\r\n return this.featureManagementService.getFeatures(payload).pipe(\r\n tap(({ features }) =>\r\n patchState({\r\n features,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(UpdateFeatures)\r\n updateFeatures(_, { payload }: UpdateFeatures) {\r\n return this.featureManagementService.updateFeatures(payload);\r\n }\r\n}\r\n","import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { GetFeatures, UpdateFeatures } from '../../actions';\r\nimport { FeatureManagement } from '../../models/feature-management';\r\nimport { FeatureManagementState } from '../../states';\r\nimport { FormGroup, FormControl } from '@angular/forms';\r\nimport { pluck, finalize } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'abp-feature-management',\r\n templateUrl: './feature-management.component.html',\r\n})\r\nexport class FeatureManagementComponent {\r\n @Input()\r\n providerKey: string;\r\n\r\n @Input()\r\n providerName: string;\r\n\r\n protected _visible;\r\n\r\n @Input()\r\n get visible(): boolean {\r\n return this._visible;\r\n }\r\n\r\n set visible(value: boolean) {\r\n this._visible = value;\r\n this.visibleChange.emit(value);\r\n\r\n if (value) this.openModal();\r\n }\r\n\r\n @Output() readonly visibleChange = new EventEmitter();\r\n\r\n @Select(FeatureManagementState.getFeatures)\r\n features$: Observable;\r\n\r\n modalBusy = false;\r\n\r\n form: FormGroup;\r\n\r\n constructor(private store: Store) {}\r\n\r\n openModal() {\r\n if (!this.providerKey || !this.providerName) {\r\n throw new Error('Provider Key and Provider Name are required.');\r\n }\r\n\r\n this.getFeatures();\r\n }\r\n\r\n getFeatures() {\r\n this.store\r\n .dispatch(\r\n new GetFeatures({\r\n providerKey: this.providerKey,\r\n providerName: this.providerName,\r\n }),\r\n )\r\n .pipe(pluck('FeatureManagementState', 'features'))\r\n .subscribe(features => {\r\n this.buildForm(features);\r\n });\r\n }\r\n\r\n buildForm(features) {\r\n const formGroupObj = {};\r\n\r\n for (let i = 0; i < features.length; i++) {\r\n formGroupObj[i] = new FormControl(features[i].value === 'false' ? null : features[i].value);\r\n }\r\n\r\n this.form = new FormGroup(formGroupObj);\r\n }\r\n\r\n save() {\r\n if (this.modalBusy) return;\r\n\r\n this.modalBusy = true;\r\n\r\n let features = this.store.selectSnapshot(FeatureManagementState.getFeatures);\r\n\r\n features = features.map((feature, i) => ({\r\n name: feature.name,\r\n value: !this.form.value[i] || this.form.value[i] === 'false' ? null : this.form.value[i],\r\n }));\r\n\r\n this.store\r\n .dispatch(\r\n new UpdateFeatures({\r\n providerKey: this.providerKey,\r\n providerName: this.providerName,\r\n features,\r\n }),\r\n )\r\n .pipe(finalize(() => (this.modalBusy = false)))\r\n .subscribe(() => {\r\n this.visible = false;\r\n });\r\n }\r\n}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule } from '@angular/core';\r\nimport { FeatureManagementComponent } from './components/feature-management/feature-management.component';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { FeatureManagementState } from './states/feature-management.state';\r\n\r\n@NgModule({\r\n declarations: [FeatureManagementComponent],\r\n imports: [CoreModule, ThemeSharedModule, NgxsModule.forFeature([FeatureManagementState])],\r\n exports: [FeatureManagementComponent],\r\n})\r\nexport class FeatureManagementModule {}\r\n"]} \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm2015/abp-ng.feature-management.js b/npm/ng-packs/dist/feature-management/esm2015/abp-ng.feature-management.js deleted file mode 100644 index ef3c59754a6..00000000000 --- a/npm/ng-packs/dist/feature-management/esm2015/abp-ng.feature-management.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.feature-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { FeatureManagementModule, FeatureManagementComponent } from './public-api'; -export { GetFeatures as ɵe, UpdateFeatures as ɵf } from './lib/actions/feature-management.actions'; -export { FeatureManagementComponent as ɵa } from './lib/components/feature-management/feature-management.component'; -export { FeatureManagementService as ɵd } from './lib/services/feature-management.service'; -export { FeatureManagementState as ɵb } from './lib/states'; -export { FeatureManagementState as ɵc } from './lib/states/feature-management.state'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLmZlYXR1cmUtbWFuYWdlbWVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuZmVhdHVyZS1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsiYWJwLW5nLmZlYXR1cmUtbWFuYWdlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLG9FQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMsV0FBVyxJQUFJLEVBQUUsRUFBQyxjQUFjLElBQUksRUFBRSxFQUFDLE1BQU0sMENBQTBDLENBQUM7QUFDaEcsT0FBTyxFQUFDLDBCQUEwQixJQUFJLEVBQUUsRUFBQyxNQUFNLGtFQUFrRSxDQUFDO0FBRWxILE9BQU8sRUFBQyx3QkFBd0IsSUFBSSxFQUFFLEVBQUMsTUFBTSwyQ0FBMkMsQ0FBQztBQUN6RixPQUFPLEVBQUMsc0JBQXNCLElBQUksRUFBRSxFQUFDLE1BQU0sY0FBYyxDQUFDO0FBQzFELE9BQU8sRUFBQyxzQkFBc0IsSUFBSSxFQUFFLEVBQUMsTUFBTSx1Q0FBdUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcblxuZXhwb3J0IHtHZXRGZWF0dXJlcyBhcyDJtWUsVXBkYXRlRmVhdHVyZXMgYXMgybVmfSBmcm9tICcuL2xpYi9hY3Rpb25zL2ZlYXR1cmUtbWFuYWdlbWVudC5hY3Rpb25zJztcbmV4cG9ydCB7RmVhdHVyZU1hbmFnZW1lbnRDb21wb25lbnQgYXMgybVhfSBmcm9tICcuL2xpYi9jb21wb25lbnRzL2ZlYXR1cmUtbWFuYWdlbWVudC9mZWF0dXJlLW1hbmFnZW1lbnQuY29tcG9uZW50JztcbmV4cG9ydCB7RmVhdHVyZU1hbmFnZW1lbnQgYXMgybVnfSBmcm9tICcuL2xpYi9tb2RlbHMnO1xuZXhwb3J0IHtGZWF0dXJlTWFuYWdlbWVudFNlcnZpY2UgYXMgybVkfSBmcm9tICcuL2xpYi9zZXJ2aWNlcy9mZWF0dXJlLW1hbmFnZW1lbnQuc2VydmljZSc7XG5leHBvcnQge0ZlYXR1cmVNYW5hZ2VtZW50U3RhdGUgYXMgybVifSBmcm9tICcuL2xpYi9zdGF0ZXMnO1xuZXhwb3J0IHtGZWF0dXJlTWFuYWdlbWVudFN0YXRlIGFzIMm1Y30gZnJvbSAnLi9saWIvc3RhdGVzL2ZlYXR1cmUtbWFuYWdlbWVudC5zdGF0ZSc7Il19 \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm2015/lib/actions/feature-management.actions.js b/npm/ng-packs/dist/feature-management/esm2015/lib/actions/feature-management.actions.js deleted file mode 100644 index e051043f114..00000000000 --- a/npm/ng-packs/dist/feature-management/esm2015/lib/actions/feature-management.actions.js +++ /dev/null @@ -1,36 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/feature-management.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export class GetFeatures { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -GetFeatures.type = '[FeatureManagement] Get Features'; -if (false) { - /** @type {?} */ - GetFeatures.type; - /** @type {?} */ - GetFeatures.prototype.payload; -} -export class UpdateFeatures { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -UpdateFeatures.type = '[FeatureManagement] Update Features'; -if (false) { - /** @type {?} */ - UpdateFeatures.type; - /** @type {?} */ - UpdateFeatures.prototype.payload; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVhdHVyZS1tYW5hZ2VtZW50LmFjdGlvbnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmZlYXR1cmUtbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9hY3Rpb25zL2ZlYXR1cmUtbWFuYWdlbWVudC5hY3Rpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBRUEsTUFBTSxPQUFPLFdBQVc7Ozs7SUFFdEIsWUFBbUIsT0FBbUM7UUFBbkMsWUFBTyxHQUFQLE9BQU8sQ0FBNEI7SUFBRyxDQUFDOztBQUQxQyxnQkFBSSxHQUFHLGtDQUFrQyxDQUFDOzs7SUFBMUQsaUJBQTBEOztJQUM5Qyw4QkFBMEM7O0FBR3hELE1BQU0sT0FBTyxjQUFjOzs7O0lBRXpCLFlBQW1CLE9BQWdFO1FBQWhFLFlBQU8sR0FBUCxPQUFPLENBQXlEO0lBQUcsQ0FBQzs7QUFEdkUsbUJBQUksR0FBRyxxQ0FBcUMsQ0FBQzs7O0lBQTdELG9CQUE2RDs7SUFDakQsaUNBQXVFIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRmVhdHVyZU1hbmFnZW1lbnQgfSBmcm9tICcuLi9tb2RlbHMnO1xyXG5cclxuZXhwb3J0IGNsYXNzIEdldEZlYXR1cmVzIHtcclxuICBzdGF0aWMgcmVhZG9ubHkgdHlwZSA9ICdbRmVhdHVyZU1hbmFnZW1lbnRdIEdldCBGZWF0dXJlcyc7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IEZlYXR1cmVNYW5hZ2VtZW50LlByb3ZpZGVyKSB7fVxyXG59XHJcblxyXG5leHBvcnQgY2xhc3MgVXBkYXRlRmVhdHVyZXMge1xyXG4gIHN0YXRpYyByZWFkb25seSB0eXBlID0gJ1tGZWF0dXJlTWFuYWdlbWVudF0gVXBkYXRlIEZlYXR1cmVzJztcclxuICBjb25zdHJ1Y3RvcihwdWJsaWMgcGF5bG9hZDogRmVhdHVyZU1hbmFnZW1lbnQuUHJvdmlkZXIgJiBGZWF0dXJlTWFuYWdlbWVudC5GZWF0dXJlcykge31cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm2015/lib/actions/index.js b/npm/ng-packs/dist/feature-management/esm2015/lib/actions/index.js deleted file mode 100644 index 12a1b9f33eb..00000000000 --- a/npm/ng-packs/dist/feature-management/esm2015/lib/actions/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { GetFeatures, UpdateFeatures } from './feature-management.actions'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmZlYXR1cmUtbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9hY3Rpb25zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsNENBQWMsOEJBQThCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2ZlYXR1cmUtbWFuYWdlbWVudC5hY3Rpb25zJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm2015/lib/components/feature-management/feature-management.component.js b/npm/ng-packs/dist/feature-management/esm2015/lib/components/feature-management/feature-management.component.js deleted file mode 100644 index ac9fcd2c7e9..00000000000 --- a/npm/ng-packs/dist/feature-management/esm2015/lib/components/feature-management/feature-management.component.js +++ /dev/null @@ -1,158 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/feature-management/feature-management.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Component, EventEmitter, Input, Output } from '@angular/core'; -import { Select, Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { GetFeatures, UpdateFeatures } from '../../actions'; -import { FeatureManagementState } from '../../states'; -import { FormGroup, FormControl } from '@angular/forms'; -import { pluck, finalize } from 'rxjs/operators'; -export class FeatureManagementComponent { - /** - * @param {?} store - */ - constructor(store) { - this.store = store; - this.visibleChange = new EventEmitter(); - this.modalBusy = false; - } - /** - * @return {?} - */ - get visible() { - return this._visible; - } - /** - * @param {?} value - * @return {?} - */ - set visible(value) { - this._visible = value; - this.visibleChange.emit(value); - if (value) - this.openModal(); - } - /** - * @return {?} - */ - openModal() { - if (!this.providerKey || !this.providerName) { - throw new Error('Provider Key and Provider Name are required.'); - } - this.getFeatures(); - } - /** - * @return {?} - */ - getFeatures() { - this.store - .dispatch(new GetFeatures({ - providerKey: this.providerKey, - providerName: this.providerName, - })) - .pipe(pluck('FeatureManagementState', 'features')) - .subscribe((/** - * @param {?} features - * @return {?} - */ - features => { - this.buildForm(features); - })); - } - /** - * @param {?} features - * @return {?} - */ - buildForm(features) { - /** @type {?} */ - const formGroupObj = {}; - for (let i = 0; i < features.length; i++) { - formGroupObj[i] = new FormControl(features[i].value === 'false' ? null : features[i].value); - } - this.form = new FormGroup(formGroupObj); - } - /** - * @return {?} - */ - save() { - if (this.modalBusy) - return; - this.modalBusy = true; - /** @type {?} */ - let features = this.store.selectSnapshot(FeatureManagementState.getFeatures); - features = features.map((/** - * @param {?} feature - * @param {?} i - * @return {?} - */ - (feature, i) => ({ - name: feature.name, - value: !this.form.value[i] || this.form.value[i] === 'false' ? null : this.form.value[i], - }))); - this.store - .dispatch(new UpdateFeatures({ - providerKey: this.providerKey, - providerName: this.providerName, - features, - })) - .pipe(finalize((/** - * @return {?} - */ - () => (this.modalBusy = false)))) - .subscribe((/** - * @return {?} - */ - () => { - this.visible = false; - })); - } -} -FeatureManagementComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-feature-management', - template: "\r\n \r\n

{{ 'AbpFeatureManagement::Features' | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n \r\n
{{ feature.name }}
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n {{ 'AbpFeatureManagement::NoFeatureFoundMessage' | abpLocalization }}\r\n
\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n {{ 'AbpFeatureManagement::Save' | abpLocalization }}\r\n \r\n \r\n \r\n
\r\n" - }] } -]; -/** @nocollapse */ -FeatureManagementComponent.ctorParameters = () => [ - { type: Store } -]; -FeatureManagementComponent.propDecorators = { - providerKey: [{ type: Input }], - providerName: [{ type: Input }], - visible: [{ type: Input }], - visibleChange: [{ type: Output }] -}; -tslib_1.__decorate([ - Select(FeatureManagementState.getFeatures), - tslib_1.__metadata("design:type", Observable) -], FeatureManagementComponent.prototype, "features$", void 0); -if (false) { - /** @type {?} */ - FeatureManagementComponent.prototype.providerKey; - /** @type {?} */ - FeatureManagementComponent.prototype.providerName; - /** - * @type {?} - * @protected - */ - FeatureManagementComponent.prototype._visible; - /** @type {?} */ - FeatureManagementComponent.prototype.visibleChange; - /** @type {?} */ - FeatureManagementComponent.prototype.features$; - /** @type {?} */ - FeatureManagementComponent.prototype.modalBusy; - /** @type {?} */ - FeatureManagementComponent.prototype.form; - /** - * @type {?} - * @private - */ - FeatureManagementComponent.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVhdHVyZS1tYW5hZ2VtZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuZmVhdHVyZS1tYW5hZ2VtZW50LyIsInNvdX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7XHJcbiAgICAgICAgdGhpcy52aXNpYmxlID0gZmFsc2U7XHJcbiAgICAgIH0pO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm2015/lib/components/index.js b/npm/ng-packs/dist/feature-management/esm2015/lib/components/index.js deleted file mode 100644 index 4871e5312a1..00000000000 --- a/npm/ng-packs/dist/feature-management/esm2015/lib/components/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { FeatureManagementComponent } from './feature-management/feature-management.component'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmZlYXR1cmUtbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsMkNBQWMsbURBQW1ELENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2ZlYXR1cmUtbWFuYWdlbWVudC9mZWF0dXJlLW1hbmFnZW1lbnQuY29tcG9uZW50JztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm2015/lib/feature-management.module.js b/npm/ng-packs/dist/feature-management/esm2015/lib/feature-management.module.js deleted file mode 100644 index 5f9b5500f19..00000000000 --- a/npm/ng-packs/dist/feature-management/esm2015/lib/feature-management.module.js +++ /dev/null @@ -1,21 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/feature-management.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { CoreModule } from '@abp/ng.core'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; -import { NgModule } from '@angular/core'; -import { FeatureManagementComponent } from './components/feature-management/feature-management.component'; -import { NgxsModule } from '@ngxs/store'; -import { FeatureManagementState } from './states/feature-management.state'; -export class FeatureManagementModule { -} -FeatureManagementModule.decorators = [ - { type: NgModule, args: [{ - declarations: [FeatureManagementComponent], - imports: [CoreModule, ThemeSharedModule, NgxsModule.forFeature([FeatureManagementState])], - exports: [FeatureManagementComponent], - },] } -]; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVhdHVyZS1tYW5hZ2VtZW50Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuZmVhdHVyZS1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL2ZlYXR1cmUtbWFuYWdlbWVudC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQzFDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3pELE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0sOERBQThELENBQUM7QUFDMUcsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUN6QyxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQU8zRSxNQUFNLE9BQU8sdUJBQXVCOzs7WUFMbkMsUUFBUSxTQUFDO2dCQUNSLFlBQVksRUFBRSxDQUFDLDBCQUEwQixDQUFDO2dCQUMxQyxPQUFPLEVBQUUsQ0FBQyxVQUFVLEVBQUUsaUJBQWlCLEVBQUUsVUFBVSxDQUFDLFVBQVUsQ0FBQyxDQUFDLHNCQUFzQixDQUFDLENBQUMsQ0FBQztnQkFDekYsT0FBTyxFQUFFLENBQUMsMEJBQTBCLENBQUM7YUFDdEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb3JlTW9kdWxlIH0gZnJvbSAnQGFicC9uZy5jb3JlJztcclxuaW1wb3J0IHsgVGhlbWVTaGFyZWRNb2R1bGUgfSBmcm9tICdAYWJwL25nLnRoZW1lLnNoYXJlZCc7XHJcbmltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IEZlYXR1cmVNYW5hZ2VtZW50Q29tcG9uZW50IH0gZnJvbSAnLi9jb21wb25lbnRzL2ZlYXR1cmUtbWFuYWdlbWVudC9mZWF0dXJlLW1hbmFnZW1lbnQuY29tcG9uZW50JztcclxuaW1wb3J0IHsgTmd4c01vZHVsZSB9IGZyb20gJ0BuZ3hzL3N0b3JlJztcclxuaW1wb3J0IHsgRmVhdHVyZU1hbmFnZW1lbnRTdGF0ZSB9IGZyb20gJy4vc3RhdGVzL2ZlYXR1cmUtbWFuYWdlbWVudC5zdGF0ZSc7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW0ZlYXR1cmVNYW5hZ2VtZW50Q29tcG9uZW50XSxcclxuICBpbXBvcnRzOiBbQ29yZU1vZHVsZSwgVGhlbWVTaGFyZWRNb2R1bGUsIE5neHNNb2R1bGUuZm9yRmVhdHVyZShbRmVhdHVyZU1hbmFnZW1lbnRTdGF0ZV0pXSxcclxuICBleHBvcnRzOiBbRmVhdHVyZU1hbmFnZW1lbnRDb21wb25lbnRdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgRmVhdHVyZU1hbmFnZW1lbnRNb2R1bGUge31cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm2015/lib/models/feature-management.js b/npm/ng-packs/dist/feature-management/esm2015/lib/models/feature-management.js deleted file mode 100644 index f301d668a9e..00000000000 --- a/npm/ng-packs/dist/feature-management/esm2015/lib/models/feature-management.js +++ /dev/null @@ -1,70 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/feature-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var FeatureManagement; -(function (FeatureManagement) { - /** - * @record - */ - function State() { } - FeatureManagement.State = State; - if (false) { - /** @type {?} */ - State.prototype.features; - } - /** - * @record - */ - function ValueType() { } - FeatureManagement.ValueType = ValueType; - if (false) { - /** @type {?} */ - ValueType.prototype.name; - /** @type {?} */ - ValueType.prototype.properties; - /** @type {?} */ - ValueType.prototype.validator; - } - /** - * @record - */ - function Feature() { } - FeatureManagement.Feature = Feature; - if (false) { - /** @type {?} */ - Feature.prototype.name; - /** @type {?} */ - Feature.prototype.value; - /** @type {?|undefined} */ - Feature.prototype.description; - /** @type {?|undefined} */ - Feature.prototype.valueType; - /** @type {?|undefined} */ - Feature.prototype.depth; - /** @type {?|undefined} */ - Feature.prototype.parentName; - } - /** - * @record - */ - function Features() { } - FeatureManagement.Features = Features; - if (false) { - /** @type {?} */ - Features.prototype.features; - } - /** - * @record - */ - function Provider() { } - FeatureManagement.Provider = Provider; - if (false) { - /** @type {?} */ - Provider.prototype.providerName; - /** @type {?} */ - Provider.prototype.providerKey; - } -})(FeatureManagement || (FeatureManagement = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVhdHVyZS1tYW5hZ2VtZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5mZWF0dXJlLW1hbmFnZW1lbnQvIiwic291cmNlcyI6WyJsaWIvbW9kZWxzL2ZlYXR1cmUtbWFuYWdlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE1BQU0sS0FBVyxpQkFBaUIsQ0E0QmpDO0FBNUJELFdBQWlCLGlCQUFpQjs7OztJQU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ZWF0dXJlW107XHJcbiAgfVxyXG5cclxuICBleHBvcnQgaW50ZXJmYWNlIFByb3ZpZGVyIHtcclxuICAgIHByb3ZpZGVyTmFtZTogc3RyaW5nO1xyXG4gICAgcHJvdmlkZXJLZXk6IHN0cmluZztcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm2015/lib/models/index.js b/npm/ng-packs/dist/feature-management/esm2015/lib/models/index.js deleted file mode 100644 index ee0c760af8a..00000000000 --- a/npm/ng-packs/dist/feature-management/esm2015/lib/models/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export {} from './feature-management'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmZlYXR1cmUtbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxlQUFjLHNCQUFzQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mZWF0dXJlLW1hbmFnZW1lbnQnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm2015/lib/services/feature-management.service.js b/npm/ng-packs/dist/feature-management/esm2015/lib/services/feature-management.service.js deleted file mode 100644 index 377b7ae2863..00000000000 --- a/npm/ng-packs/dist/feature-management/esm2015/lib/services/feature-management.service.js +++ /dev/null @@ -1,72 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/feature-management.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { RestService } from '@abp/ng.core'; -import { Store } from '@ngxs/store'; -import * as i0 from "@angular/core"; -import * as i1 from "@abp/ng.core"; -import * as i2 from "@ngxs/store"; -export class FeatureManagementService { - /** - * @param {?} rest - * @param {?} store - */ - constructor(rest, store) { - this.rest = rest; - this.store = store; - } - /** - * @param {?} params - * @return {?} - */ - getFeatures(params) { - /** @type {?} */ - const request = { - method: 'GET', - url: '/api/abp/features', - params, - }; - return this.rest.request(request); - } - /** - * @param {?} __0 - * @return {?} - */ - updateFeatures({ features, providerKey, providerName, }) { - /** @type {?} */ - const request = { - method: 'PUT', - url: '/api/abp/features', - body: { features }, - params: { providerKey, providerName }, - }; - return this.rest.request(request); - } -} -FeatureManagementService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -FeatureManagementService.ctorParameters = () => [ - { type: RestService }, - { type: Store } -]; -/** @nocollapse */ FeatureManagementService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function FeatureManagementService_Factory() { return new FeatureManagementService(i0.ɵɵinject(i1.RestService), i0.ɵɵinject(i2.Store)); }, token: FeatureManagementService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - FeatureManagementService.prototype.rest; - /** - * @type {?} - * @private - */ - FeatureManagementService.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVhdHVyZS1tYW5hZ2VtZW50LnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmZlYXR1cmUtbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9zZXJ2aWNlcy9mZWF0dXJlLW1hbmFnZW1lbnQuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLFdBQVcsRUFBUSxNQ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2VtZW50LkZlYXR1cmVzKTogT2JzZXJ2YWJsZTxudWxsPiB7XHJcbiAgICBjb25zdCByZXF1ZXN0OiBSZXN0LlJlcXVlc3Q8RmVhdHVyZU1hbmFnZW1lbnQuRmVhdHVyZXM+ID0ge1xyXG4gICAgICBtZXRob2Q6ICdQVVQnLFxyXG4gICAgICB1cmw6ICcvYXBpL2FicC9mZWF0dXJlcycsXHJcbiAgICAgIGJvZHk6IHsgZmVhdHVyZXMgfSxcclxuICAgICAgcGFyYW1zOiB7IHByb3ZpZGVyS2V5LCBwcm92aWRlck5hbWUgfSxcclxuICAgIH07XHJcbiAgICByZXR1cm4gdGhpcy5yZXN0LnJlcXVlc3Q8RmVhdHVyZU1hbmFnZW1lbnQuRmVhdHVyZXMsIG51bGw+KHJlcXVlc3QpO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm2015/lib/states/feature-management.state.js b/npm/ng-packs/dist/feature-management/esm2015/lib/states/feature-management.state.js deleted file mode 100644 index e335bf0a37e..00000000000 --- a/npm/ng-packs/dist/feature-management/esm2015/lib/states/feature-management.state.js +++ /dev/null @@ -1,84 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/feature-management.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Action, Selector, State } from '@ngxs/store'; -import { tap } from 'rxjs/operators'; -import { GetFeatures, UpdateFeatures } from '../actions/feature-management.actions'; -import { FeatureManagementService } from '../services/feature-management.service'; -let FeatureManagementState = class FeatureManagementState { - /** - * @param {?} featureManagementService - */ - constructor(featureManagementService) { - this.featureManagementService = featureManagementService; - } - /** - * @param {?} __0 - * @return {?} - */ - static getFeatures({ features }) { - return features || []; - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - getFeatures({ patchState }, { payload }) { - return this.featureManagementService.getFeatures(payload).pipe(tap((/** - * @param {?} __0 - * @return {?} - */ - ({ features }) => patchState({ - features, - })))); - } - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - updateFeatures(_, { payload }) { - return this.featureManagementService.updateFeatures(payload); - } -}; -FeatureManagementState.ctorParameters = () => [ - { type: FeatureManagementService } -]; -tslib_1.__decorate([ - Action(GetFeatures), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetFeatures]), - tslib_1.__metadata("design:returntype", void 0) -], FeatureManagementState.prototype, "getFeatures", null); -tslib_1.__decorate([ - Action(UpdateFeatures), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, UpdateFeatures]), - tslib_1.__metadata("design:returntype", void 0) -], FeatureManagementState.prototype, "updateFeatures", null); -tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", void 0) -], FeatureManagementState, "getFeatures", null); -FeatureManagementState = tslib_1.__decorate([ - State({ - name: 'FeatureManagementState', - defaults: (/** @type {?} */ ({ features: {} })), - }), - tslib_1.__metadata("design:paramtypes", [FeatureManagementService]) -], FeatureManagementState); -export { FeatureManagementState }; -if (false) { - /** - * @type {?} - * @private - */ - FeatureManagementState.prototype.featureManagementService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVhdHVyZS1tYW5hZ2VtZW50LnN0YXRlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5mZWF0dXJlLW1hbmFnZW1lbnQvIiwic291cmNlcyI6WyJsaWIvc3RhdGVzL2ZlYXR1cmUtbWFuYWdlbWVudC5zdGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBRSxLQUFLLEVBQWdCLE1BQU0sYUFBYSxDQUFDO0FBQ3BFLE9B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gQFNlbGVjdG9yKClcclxuICBzdGF0aWMgZ2V0RmVhdHVyZXMoeyBmZWF0dXJlcyB9OiBGZWF0dXJlTWFuYWdlbWVudC5TdGF0ZSkge1xyXG4gICAgcmV0dXJuIGZlYXR1cmVzIHx8IFtdO1xyXG4gIH1cclxuXHJcbiAgY29uc3RydWN0b3IocHJpdmF0ZSBmZWF0dXJlTWFuYWdlbWVudFNlcnZpY2U6IEZlYXR1cmVNYW5hZ2VtZW50U2VydmljZSkge31cclxuXHJcbiAgQEFjdGlvbihHZXRGZWF0dXJlcylcclxuICBnZXRGZWF0dXJlcyh7IHBhdGNoU3RhdGUgfTogU3RhdGVDb250ZXh0PEZlYXR1cmVNYW5hZ2VtZW50LlN0YXRlPiwgeyBwYXlsb2FkIH06IEdldEZlYXR1cmVzKSB7XHJcbiAgICByZXR1cm4gdGhpcy5mZWF0dXJlTWFuYWdlbWVudFNlcnZpY2UuZ2V0RmVhdHVyZXMocGF5bG9hZCkucGlwZShcclxuICAgICAgdGFwKCh7IGZlYXR1cmVzIH0pID0+XHJcbiAgICAgICAgcGF0Y2hTdGF0ZSh7XHJcbiAgICAgICAgICBmZWF0dXJlcyxcclxuICAgICAgICB9KSxcclxuICAgICAgKSxcclxuICAgICk7XHJcbiAgfVxyXG5cclxuICBAQWN0aW9uKFVwZGF0ZUZlYXR1cmVzKVxyXG4gIHVwZGF0ZUZlYXR1cmVzKF8sIHsgcGF5bG9hZCB9OiBVcGRhdGVGZWF0dXJlcykge1xyXG4gICAgcmV0dXJuIHRoaXMuZmVhdHVyZU1hbmFnZW1lbnRTZXJ2aWNlLnVwZGF0ZUZlYXR1cmVzKHBheWxvYWQpO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm2015/lib/states/index.js b/npm/ng-packs/dist/feature-management/esm2015/lib/states/index.js deleted file mode 100644 index cedaaf12c24..00000000000 --- a/npm/ng-packs/dist/feature-management/esm2015/lib/states/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { FeatureManagementState } from './feature-management.state'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmZlYXR1cmUtbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9zdGF0ZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSx1Q0FBYyw0QkFBNEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZmVhdHVyZS1tYW5hZ2VtZW50LnN0YXRlJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm2015/public-api.js b/npm/ng-packs/dist/feature-management/esm2015/public-api.js deleted file mode 100644 index f1d5ce78d11..00000000000 --- a/npm/ng-packs/dist/feature-management/esm2015/public-api.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { FeatureManagementModule } from './lib/feature-management.module'; -export { FeatureManagementComponent } from './lib/components'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuZmVhdHVyZS1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsicHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHdDQUFjLGlDQUFpQyxDQUFDO0FBQ2hELDJDQUFjLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvZmVhdHVyZS1tYW5hZ2VtZW50Lm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm5/abp-ng.feature-management.js b/npm/ng-packs/dist/feature-management/esm5/abp-ng.feature-management.js deleted file mode 100644 index ef3c59754a6..00000000000 --- a/npm/ng-packs/dist/feature-management/esm5/abp-ng.feature-management.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.feature-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { FeatureManagementModule, FeatureManagementComponent } from './public-api'; -export { GetFeatures as ɵe, UpdateFeatures as ɵf } from './lib/actions/feature-management.actions'; -export { FeatureManagementComponent as ɵa } from './lib/components/feature-management/feature-management.component'; -export { FeatureManagementService as ɵd } from './lib/services/feature-management.service'; -export { FeatureManagementState as ɵb } from './lib/states'; -export { FeatureManagementState as ɵc } from './lib/states/feature-management.state'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLmZlYXR1cmUtbWFuYWdlbWVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuZmVhdHVyZS1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsiYWJwLW5nLmZlYXR1cmUtbWFuYWdlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLG9FQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMsV0FBVyxJQUFJLEVBQUUsRUFBQyxjQUFjLElBQUksRUFBRSxFQUFDLE1BQU0sMENBQTBDLENBQUM7QUFDaEcsT0FBTyxFQUFDLDBCQUEwQixJQ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uYWdlbWVudC5zdGF0ZSc7Il19 \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm5/lib/actions/feature-management.actions.js b/npm/ng-packs/dist/feature-management/esm5/lib/actions/feature-management.actions.js deleted file mode 100644 index e62ea71d48d..00000000000 --- a/npm/ng-packs/dist/feature-management/esm5/lib/actions/feature-management.actions.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/feature-management.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var GetFeatures = /** @class */ (function () { - function GetFeatures(payload) { - this.payload = payload; - } - GetFeatures.type = '[FeatureManagement] Get Features'; - return GetFeatures; -}()); -export { GetFeatures }; -if (false) { - /** @type {?} */ - GetFeatures.type; - /** @type {?} */ - GetFeatures.prototype.payload; -} -var UpdateFeatures = /** @class */ (function () { - function UpdateFeatures(payload) { - this.payload = payload; - } - UpdateFeatures.type = '[FeatureManagement] Update Features'; - return UpdateFeatures; -}()); -export { UpdateFeatures }; -if (false) { - /** @type {?} */ - UpdateFeatures.type; - /** @type {?} */ - UpdateFeatures.prototype.payload; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVhdHVyZS1tYW5hZ2VtZW50LmFjdGlvbnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmZlYXR1cmUtbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9hY3Rpb25zL2ZlYXR1cmUtbWFuYWdlbWVudC5hY3Rpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBRUE7SUFFRSxxQkFBbUIsT0FBbUM7UUFBbkMsWUFBTyxHQUFQLE9BQU8sQ0FBNEI7SUFBRyxDQUFDO0lBRDFDLGdCQUFJLEdBQUcsa0NBQWtDLENBQUM7SUFFNUQsa0JBQUM7Q0FBQSxBQUhELElBR0M7U0FIWSxXQUFXOzs7SUFDdEIsaUJBQTBEOztJQUM5Qyw4QkFBMEM7O0FBR3hEO0lBRUUsd0JBQW1CLE9BQWdFO1FBQWhFLFlBQU8sR0FBUCxPQUFPLENBQXlEO0lBQUcsQ0FBQztJQUR2RSxtQkFBSSxHQUFHLHFDQUFxQyxDQUFDO0lBRS9ELHFCQUFDO0NBQUEsQUFIRCxJQUdDO1NBSFksY0FBYzs7O0lBQ3pCLG9CQUE2RDs7SUFDakQsaUNBQXVFIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRmVhdHVyZU1hbmFnZW1lbnQgfSBmcm9tICcuLi9tb2RlbHMnO1xyXG5cclxuZXhwb3J0IGNsYXNzIEdldEZlYXR1cmVzIHtcclxuICBzdGF0aWMgcmVhZG9ubHkgdHlwZSA9ICdbRmVhdHVyZU1hbmFnZW1lbnRdIEdldCBGZWF0dXJlcyc7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IEZlYXR1cmVNYW5hZ2VtZW50LlByb3ZpZGVyKSB7fVxyXG59XHJcblxyXG5leHBvcnQgY2xhc3MgVXBkYXRlRmVhdHVyZXMge1xyXG4gIHN0YXRpYyByZWFkb25seSB0eXBlID0gJ1tGZWF0dXJlTWFuYWdlbWVudF0gVXBkYXRlIEZlYXR1cmVzJztcclxuICBjb25zdHJ1Y3RvcihwdWJsaWMgcGF5bG9hZDogRmVhdHVyZU1hbmFnZW1lbnQuUHJvdmlkZXIgJiBGZWF0dXJlTWFuYWdlbWVudC5GZWF0dXJlcykge31cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm5/lib/actions/index.js b/npm/ng-packs/dist/feature-management/esm5/lib/actions/index.js deleted file mode 100644 index 12a1b9f33eb..00000000000 --- a/npm/ng-packs/dist/feature-management/esm5/lib/actions/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { GetFeatures, UpdateFeatures } from './feature-management.actions'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmZlYXR1cmUtbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9hY3Rpb25zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsNENBQWMsOEJBQThCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2ZlYXR1cmUtbWFuYWdlbWVudC5hY3Rpb25zJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm5/lib/components/feature-management/feature-management.component.js b/npm/ng-packs/dist/feature-management/esm5/lib/components/feature-management/feature-management.component.js deleted file mode 100644 index 34771bb0098..00000000000 --- a/npm/ng-packs/dist/feature-management/esm5/lib/components/feature-management/feature-management.component.js +++ /dev/null @@ -1,176 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/feature-management/feature-management.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Component, EventEmitter, Input, Output } from '@angular/core'; -import { Select, Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { GetFeatures, UpdateFeatures } from '../../actions'; -import { FeatureManagementState } from '../../states'; -import { FormGroup, FormControl } from '@angular/forms'; -import { pluck, finalize } from 'rxjs/operators'; -var FeatureManagementComponent = /** @class */ (function () { - function FeatureManagementComponent(store) { - this.store = store; - this.visibleChange = new EventEmitter(); - this.modalBusy = false; - } - Object.defineProperty(FeatureManagementComponent.prototype, "visible", { - get: /** - * @return {?} - */ - function () { - return this._visible; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - this._visible = value; - this.visibleChange.emit(value); - if (value) - this.openModal(); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - FeatureManagementComponent.prototype.openModal = /** - * @return {?} - */ - function () { - if (!this.providerKey || !this.providerName) { - throw new Error('Provider Key and Provider Name are required.'); - } - this.getFeatures(); - }; - /** - * @return {?} - */ - FeatureManagementComponent.prototype.getFeatures = /** - * @return {?} - */ - function () { - var _this = this; - this.store - .dispatch(new GetFeatures({ - providerKey: this.providerKey, - providerName: this.providerName, - })) - .pipe(pluck('FeatureManagementState', 'features')) - .subscribe((/** - * @param {?} features - * @return {?} - */ - function (features) { - _this.buildForm(features); - })); - }; - /** - * @param {?} features - * @return {?} - */ - FeatureManagementComponent.prototype.buildForm = /** - * @param {?} features - * @return {?} - */ - function (features) { - /** @type {?} */ - var formGroupObj = {}; - for (var i = 0; i < features.length; i++) { - formGroupObj[i] = new FormControl(features[i].value === 'false' ? null : features[i].value); - } - this.form = new FormGroup(formGroupObj); - }; - /** - * @return {?} - */ - FeatureManagementComponent.prototype.save = /** - * @return {?} - */ - function () { - var _this = this; - if (this.modalBusy) - return; - this.modalBusy = true; - /** @type {?} */ - var features = this.store.selectSnapshot(FeatureManagementState.getFeatures); - features = features.map((/** - * @param {?} feature - * @param {?} i - * @return {?} - */ - function (feature, i) { return ({ - name: feature.name, - value: !_this.form.value[i] || _this.form.value[i] === 'false' ? null : _this.form.value[i], - }); })); - this.store - .dispatch(new UpdateFeatures({ - providerKey: this.providerKey, - providerName: this.providerName, - features: features, - })) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.visible = false; - })); - }; - FeatureManagementComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-feature-management', - template: "\r\n \r\n

{{ 'AbpFeatureManagement::Features' | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n \r\n
{{ feature.name }}
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n {{ 'AbpFeatureManagement::NoFeatureFoundMessage' | abpLocalization }}\r\n
\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n {{ 'AbpFeatureManagement::Save' | abpLocalization }}\r\n \r\n \r\n \r\n
\r\n" - }] } - ]; - /** @nocollapse */ - FeatureManagementComponent.ctorParameters = function () { return [ - { type: Store } - ]; }; - FeatureManagementComponent.propDecorators = { - providerKey: [{ type: Input }], - providerName: [{ type: Input }], - visible: [{ type: Input }], - visibleChange: [{ type: Output }] - }; - tslib_1.__decorate([ - Select(FeatureManagementState.getFeatures), - tslib_1.__metadata("design:type", Observable) - ], FeatureManagementComponent.prototype, "features$", void 0); - return FeatureManagementComponent; -}()); -export { FeatureManagementComponent }; -if (false) { - /** @type {?} */ - FeatureManagementComponent.prototype.providerKey; - /** @type {?} */ - FeatureManagementComponent.prototype.providerName; - /** - * @type {?} - * @protected - */ - FeatureManagementComponent.prototype._visible; - /** @type {?} */ - FeatureManagementComponent.prototype.visibleChange; - /** @type {?} */ - FeatureManagementComponent.prototype.features$; - /** @type {?} */ - FeatureManagementComponent.prototype.modalBusy; - /** @type {?} */ - FeatureManagementComponent.prototype.form; - /** - * @type {?} - * @private - */ - FeatureManagementComponent.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVhdHVyZS1tYW5hZ2VtZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuZmVhdHVyZS1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvZmVhdHVyZS1tYW5hZ2VtZW50L2ZlYXR1cmUtbWFuYWdlbWVudC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFhLE1BQU0sRUFBaU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TtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm5/lib/components/index.js b/npm/ng-packs/dist/feature-management/esm5/lib/components/index.js deleted file mode 100644 index 4871e5312a1..00000000000 --- a/npm/ng-packs/dist/feature-management/esm5/lib/components/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { FeatureManagementComponent } from './feature-management/feature-management.component'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmZlYXR1cmUtbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsMkNBQWMsbURBQW1ELENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2ZlYXR1cmUtbWFuYWdlbWVudC9mZWF0dXJlLW1hbmFnZW1lbnQuY29tcG9uZW50JztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm5/lib/feature-management.module.js b/npm/ng-packs/dist/feature-management/esm5/lib/feature-management.module.js deleted file mode 100644 index 36dd51eb9c3..00000000000 --- a/npm/ng-packs/dist/feature-management/esm5/lib/feature-management.module.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/feature-management.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { CoreModule } from '@abp/ng.core'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; -import { NgModule } from '@angular/core'; -import { FeatureManagementComponent } from './components/feature-management/feature-management.component'; -import { NgxsModule } from '@ngxs/store'; -import { FeatureManagementState } from './states/feature-management.state'; -var FeatureManagementModule = /** @class */ (function () { - function FeatureManagementModule() { - } - FeatureManagementModule.decorators = [ - { type: NgModule, args: [{ - declarations: [FeatureManagementComponent], - imports: [CoreModule, ThemeSharedModule, NgxsModule.forFeature([FeatureManagementState])], - exports: [FeatureManagementComponent], - },] } - ]; - return FeatureManagementModule; -}()); -export { FeatureManagementModule }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVhdHVyZS1tYW5hZ2VtZW50Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuZmVhdHVyZS1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL2ZlYXR1cmUtbWFuYWdlbWVudC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQzFDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3pELE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0sOERBQThELENBQUM7QUFDMUcsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUN6QyxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUUzRTtJQUFBO0lBS3NDLENBQUM7O2dCQUx0QyxRQUFRLFNBQUM7b0JBQ1IsWUFBWSxFQUFFLENBQUMsMEJBQTBCLENBQUM7b0JBQzFDLE9BQU8sRUFBRSxDQUFDLFVBQVUsRUFBRSxpQkFBaUIsRUFBRSxVQUFVLENBQUMsVUFBVSxDQUFDLENBQUMsc0JBQXNCLENBQUMsQ0FBQyxDQUFDO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ng-packs/dist/feature-management/esm5/lib/models/feature-management.js deleted file mode 100644 index f301d668a9e..00000000000 --- a/npm/ng-packs/dist/feature-management/esm5/lib/models/feature-management.js +++ /dev/null @@ -1,70 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/feature-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var FeatureManagement; -(function (FeatureManagement) { - /** - * @record - */ - function State() { } - FeatureManagement.State = State; - if (false) { - /** @type {?} */ - State.prototype.features; - } - /** - * @record - */ - function ValueType() { } - FeatureManagement.ValueType = ValueType; - if (false) { - /** @type {?} */ - ValueType.prototype.name; - /** @type {?} */ - ValueType.prototype.properties; - /** @type {?} */ - ValueType.prototype.validator; - } - /** - * @record - */ - function Feature() { } - FeatureManagement.Feature = Feature; - if (false) { - /** @type {?} */ - Feature.prototype.name; - /** @type {?} */ - Feature.prototype.value; - /** @type {?|undefined} */ - Feature.prototype.description; - /** @type {?|undefined} */ - Feature.prototype.valueType; - /** @type {?|undefined} */ - Feature.prototype.depth; - /** @type {?|undefined} */ - Feature.prototype.parentName; - } - /** - * @record - */ - function Features() { } - FeatureManagement.Features = Features; - if (false) { - /** @type {?} */ - Features.prototype.features; - } - /** - * @record - */ - function Provider() { } - FeatureManagement.Provider = Provider; - if (false) { - /** @type {?} */ - Provider.prototype.providerName; - /** @type {?} */ - Provider.prototype.providerKey; - } -})(FeatureManagement || (FeatureManagement = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVhdHVyZS1tYW5hZ2VtZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5mZWF0dXJlLW1hbmFnZW1lbnQvIiwic291cmNlcyI6WyJsaWIvbW9kZWxzL2ZlYXR1cmUtbWFuYWdlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE1BQU0sS0FBVyx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aW50ZXJmYWNlIEZlYXR1cmVzIHtcclxuICAgIGZlYXR1cmVzOiBGZWF0dXJlW107XHJcbiAgfVxyXG5cclxuICBleHBvcnQgaW50ZXJmYWNlIFByb3ZpZGVyIHtcclxuICAgIHByb3ZpZGVyTmFtZTogc3RyaW5nO1xyXG4gICAgcHJvdmlkZXJLZXk6IHN0cmluZztcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm5/lib/models/index.js b/npm/ng-packs/dist/feature-management/esm5/lib/models/index.js deleted file mode 100644 index ee0c760af8a..00000000000 --- a/npm/ng-packs/dist/feature-management/esm5/lib/models/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export {} from './feature-management'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmZlYXR1cmUtbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxlQUFjLHNCQUFzQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mZWF0dXJlLW1hbmFnZW1lbnQnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm5/lib/services/feature-management.service.js b/npm/ng-packs/dist/feature-management/esm5/lib/services/feature-management.service.js deleted file mode 100644 index 93e2b17bd98..00000000000 --- a/npm/ng-packs/dist/feature-management/esm5/lib/services/feature-management.service.js +++ /dev/null @@ -1,79 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/feature-management.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { RestService } from '@abp/ng.core'; -import { Store } from '@ngxs/store'; -import * as i0 from "@angular/core"; -import * as i1 from "@abp/ng.core"; -import * as i2 from "@ngxs/store"; -var FeatureManagementService = /** @class */ (function () { - function FeatureManagementService(rest, store) { - this.rest = rest; - this.store = store; - } - /** - * @param {?} params - * @return {?} - */ - FeatureManagementService.prototype.getFeatures = /** - * @param {?} params - * @return {?} - */ - function (params) { - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/abp/features', - params: params, - }; - return this.rest.request(request); - }; - /** - * @param {?} __0 - * @return {?} - */ - FeatureManagementService.prototype.updateFeatures = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var features = _a.features, providerKey = _a.providerKey, providerName = _a.providerName; - /** @type {?} */ - var request = { - method: 'PUT', - url: '/api/abp/features', - body: { features: features }, - params: { providerKey: providerKey, providerName: providerName }, - }; - return this.rest.request(request); - }; - FeatureManagementService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - FeatureManagementService.ctorParameters = function () { return [ - { type: RestService }, - { type: Store } - ]; }; - /** @nocollapse */ FeatureManagementService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function FeatureManagementService_Factory() { return new FeatureManagementService(i0.ɵɵinject(i1.RestService), i0.ɵɵinject(i2.Store)); }, token: FeatureManagementService, providedIn: "root" }); - return FeatureManagementService; -}()); -export { FeatureManagementService }; -if (false) { - /** - * @type {?} - * @private - */ - FeatureManagementService.prototype.rest; - /** - * @type {?} - * @private - */ - FeatureManagementService.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVhdHVyZS1tYW5hZ2VtZW50LnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmZlYXR1cmUtbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxp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dHVyZU1hbmFnZW1lbnQuUHJvdmlkZXIsIEZlYXR1cmVNYW5hZ2VtZW50LkZlYXR1cmVzPihyZXF1ZXN0KTtcclxuICB9XHJcblxyXG4gIHVwZGF0ZUZlYXR1cmVzKHtcclxuICAgIGZlYXR1cmVzLFxyXG4gICAgcHJvdmlkZXJLZXksXHJcbiAgICBwcm92aWRlck5hbWUsXHJcbiAgfTogRmVhdHVyZU1hbmFnZW1lbnQuUHJvdmlkZXIgJiBGZWF0dXJlTWFuYWdlbWVudC5GZWF0dXJlcyk6IE9ic2VydmFibGU8bnVsbD4ge1xyXG4gICAgY29uc3QgcmVxdWVzdDogUmVzdC5SZXF1ZXN0PEZlYXR1cmVNYW5hZ2VtZW50LkZlYXR1cmVzPiA9IHtcclxuICAgICAgbWV0aG9kOiAnUFVUJyxcclxuICAgICAgdXJsOiAnL2FwaS9hYnAvZmVhdHVyZXMnLFxyXG4gICAgICBib2R5OiB7IGZlYXR1cmVzIH0sXHJcbiAgICAgIHBhcmFtczogeyBwcm92aWRlcktleSwgcHJvdmlkZXJOYW1lIH0sXHJcbiAgICB9O1xyXG4gICAgcmV0dXJuIHRoaXMucmVzdC5yZXF1ZXN0PEZlYXR1cmVNYW5hZ2VtZW50LkZlYXR1cmVzLCBudWxsPihyZXF1ZXN0KTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm5/lib/states/feature-management.state.js b/npm/ng-packs/dist/feature-management/esm5/lib/states/feature-management.state.js deleted file mode 100644 index b474cba113e..00000000000 --- a/npm/ng-packs/dist/feature-management/esm5/lib/states/feature-management.state.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/feature-management.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Action, Selector, State } from '@ngxs/store'; -import { tap } from 'rxjs/operators'; -import { GetFeatures, UpdateFeatures } from '../actions/feature-management.actions'; -import { FeatureManagementService } from '../services/feature-management.service'; -var FeatureManagementState = /** @class */ (function () { - function FeatureManagementState(featureManagementService) { - this.featureManagementService = featureManagementService; - } - /** - * @param {?} __0 - * @return {?} - */ - FeatureManagementState.getFeatures = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var features = _a.features; - return features || []; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - FeatureManagementState.prototype.getFeatures = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.featureManagementService.getFeatures(payload).pipe(tap((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var features = _a.features; - return patchState({ - features: features, - }); - }))); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - FeatureManagementState.prototype.updateFeatures = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.featureManagementService.updateFeatures(payload); - }; - FeatureManagementState.ctorParameters = function () { return [ - { type: FeatureManagementService } - ]; }; - tslib_1.__decorate([ - Action(GetFeatures), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetFeatures]), - tslib_1.__metadata("design:returntype", void 0) - ], FeatureManagementState.prototype, "getFeatures", null); - tslib_1.__decorate([ - Action(UpdateFeatures), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, UpdateFeatures]), - tslib_1.__metadata("design:returntype", void 0) - ], FeatureManagementState.prototype, "updateFeatures", null); - tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", void 0) - ], FeatureManagementState, "getFeatures", null); - FeatureManagementState = tslib_1.__decorate([ - State({ - name: 'FeatureManagementState', - defaults: (/** @type {?} */ ({ features: {} })), - }), - tslib_1.__metadata("design:paramtypes", [FeatureManagementService]) - ], FeatureManagementState); - return FeatureManagementState; -}()); -export { FeatureManagementState }; -if (false) { - /** - * @type {?} - * @private - */ - FeatureManagementState.prototype.featureManagementService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVhdHVyZS1tYW5hZ2VtZW50LnN0YXRlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5mZWF0dXJlLW1hbmFnZW1lbnQvIiwic291cmNlcyI6WyJsaWIvc3RhdGVzL2ZlYXR1cmUtbWFuYWdlbWVudC5zdGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBRSxLQUFLLEVBQWdCLE1BQU0sYUFBYSxDQUFDO0FBQ3BFLE9BQU8sRUFBRSxHQUFHLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNyQyxPQUFPLEVBQUUsV0FBVyxFQUFFLGNBQWMsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBRXBGLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLHdDQUF3QyxDQUFDOztJQVloRixnQ0FBb0Isd0JBQWtEO1FBQWxELDZCQUF3QixHQUF4Qix3QkFBd0IsQ0FBMEI7SUFBRyxDQUFDOzs7OztJQUpuRSxrQ0FBVzs7OztJQUFsQixVQUFtQixFQUFxQztZQUFuQyxzQkFBUTtRQUMzQixPQUFPLFFBQVEsSUFBSSxFQUFFLENBQUM7SUFDeEIsQ0FBQzs7Ozs7O0lBS0QsNENBQVc7Ozs7O0lBQVgsVUFBWSxFQUFxRCxFQUFFLEVBQXdCO1lBQTdFLDBCQUFVO1lBQTZDLG9CQUFPO1FBQzFFLE9BQU8sSUFBSSxDQUFDLHdCQUF3QixDQUFDLFdBQVcsQ0FBQyxPQUFPLENBQUMsQ0FBQyxJQUFJLENBQzVELEdBQUc7Ozs7UUFBQyxVQUF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cGF0Y2hTdGF0ZSh7XHJcbiAgICAgICAgICBmZWF0dXJlcyxcclxuICAgICAgICB9KSxcclxuICAgICAgKSxcclxuICAgICk7XHJcbiAgfVxyXG5cclxuICBAQWN0aW9uKFVwZGF0ZUZlYXR1cmVzKVxyXG4gIHVwZGF0ZUZlYXR1cmVzKF8sIHsgcGF5bG9hZCB9OiBVcGRhdGVGZWF0dXJlcykge1xyXG4gICAgcmV0dXJuIHRoaXMuZmVhdHVyZU1hbmFnZW1lbnRTZXJ2aWNlLnVwZGF0ZUZlYXR1cmVzKHBheWxvYWQpO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm5/lib/states/index.js b/npm/ng-packs/dist/feature-management/esm5/lib/states/index.js deleted file mode 100644 index cedaaf12c24..00000000000 --- a/npm/ng-packs/dist/feature-management/esm5/lib/states/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { FeatureManagementState } from './feature-management.state'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmZlYXR1cmUtbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9zdGF0ZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSx1Q0FBYyw0QkFBNEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZmVhdHVyZS1tYW5hZ2VtZW50LnN0YXRlJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/esm5/public-api.js b/npm/ng-packs/dist/feature-management/esm5/public-api.js deleted file mode 100644 index f1d5ce78d11..00000000000 --- a/npm/ng-packs/dist/feature-management/esm5/public-api.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { FeatureManagementModule } from './lib/feature-management.module'; -export { FeatureManagementComponent } from './lib/components'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuZmVhdHVyZS1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsicHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHdDQUFjLGlDQUFpQyxDQUFDO0FBQ2hELDJDQUFjLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvZmVhdHVyZS1tYW5hZ2VtZW50Lm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/fesm2015/abp-ng.feature-management.js b/npm/ng-packs/dist/feature-management/fesm2015/abp-ng.feature-management.js deleted file mode 100644 index 53b043a663c..00000000000 --- a/npm/ng-packs/dist/feature-management/fesm2015/abp-ng.feature-management.js +++ /dev/null @@ -1,386 +0,0 @@ -import { RestService, CoreModule } from '@abp/ng.core'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; -import { Injectable, ɵɵdefineInjectable, ɵɵinject, EventEmitter, Component, Input, Output, NgModule } from '@angular/core'; -import { __decorate, __metadata } from 'tslib'; -import { Store, Action, Selector, State, Select, NgxsModule } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { tap, pluck, finalize } from 'rxjs/operators'; -import { FormControl, FormGroup } from '@angular/forms'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/feature-management.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class GetFeatures { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -GetFeatures.type = '[FeatureManagement] Get Features'; -if (false) { - /** @type {?} */ - GetFeatures.type; - /** @type {?} */ - GetFeatures.prototype.payload; -} -class UpdateFeatures { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -UpdateFeatures.type = '[FeatureManagement] Update Features'; -if (false) { - /** @type {?} */ - UpdateFeatures.type; - /** @type {?} */ - UpdateFeatures.prototype.payload; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/feature-management.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class FeatureManagementService { - /** - * @param {?} rest - * @param {?} store - */ - constructor(rest, store) { - this.rest = rest; - this.store = store; - } - /** - * @param {?} params - * @return {?} - */ - getFeatures(params) { - /** @type {?} */ - const request = { - method: 'GET', - url: '/api/abp/features', - params, - }; - return this.rest.request(request); - } - /** - * @param {?} __0 - * @return {?} - */ - updateFeatures({ features, providerKey, providerName, }) { - /** @type {?} */ - const request = { - method: 'PUT', - url: '/api/abp/features', - body: { features }, - params: { providerKey, providerName }, - }; - return this.rest.request(request); - } -} -FeatureManagementService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -FeatureManagementService.ctorParameters = () => [ - { type: RestService }, - { type: Store } -]; -/** @nocollapse */ FeatureManagementService.ngInjectableDef = ɵɵdefineInjectable({ factory: function FeatureManagementService_Factory() { return new FeatureManagementService(ɵɵinject(RestService), ɵɵinject(Store)); }, token: FeatureManagementService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - FeatureManagementService.prototype.rest; - /** - * @type {?} - * @private - */ - FeatureManagementService.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/feature-management.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -let FeatureManagementState = class FeatureManagementState { - /** - * @param {?} featureManagementService - */ - constructor(featureManagementService) { - this.featureManagementService = featureManagementService; - } - /** - * @param {?} __0 - * @return {?} - */ - static getFeatures({ features }) { - return features || []; - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - getFeatures({ patchState }, { payload }) { - return this.featureManagementService.getFeatures(payload).pipe(tap((/** - * @param {?} __0 - * @return {?} - */ - ({ features }) => patchState({ - features, - })))); - } - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - updateFeatures(_, { payload }) { - return this.featureManagementService.updateFeatures(payload); - } -}; -FeatureManagementState.ctorParameters = () => [ - { type: FeatureManagementService } -]; -__decorate([ - Action(GetFeatures), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetFeatures]), - __metadata("design:returntype", void 0) -], FeatureManagementState.prototype, "getFeatures", null); -__decorate([ - Action(UpdateFeatures), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, UpdateFeatures]), - __metadata("design:returntype", void 0) -], FeatureManagementState.prototype, "updateFeatures", null); -__decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", void 0) -], FeatureManagementState, "getFeatures", null); -FeatureManagementState = __decorate([ - State({ - name: 'FeatureManagementState', - defaults: (/** @type {?} */ ({ features: {} })), - }), - __metadata("design:paramtypes", [FeatureManagementService]) -], FeatureManagementState); -if (false) { - /** - * @type {?} - * @private - */ - FeatureManagementState.prototype.featureManagementService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/feature-management/feature-management.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class FeatureManagementComponent { - /** - * @param {?} store - */ - constructor(store) { - this.store = store; - this.visibleChange = new EventEmitter(); - this.modalBusy = false; - } - /** - * @return {?} - */ - get visible() { - return this._visible; - } - /** - * @param {?} value - * @return {?} - */ - set visible(value) { - this._visible = value; - this.visibleChange.emit(value); - if (value) - this.openModal(); - } - /** - * @return {?} - */ - openModal() { - if (!this.providerKey || !this.providerName) { - throw new Error('Provider Key and Provider Name are required.'); - } - this.getFeatures(); - } - /** - * @return {?} - */ - getFeatures() { - this.store - .dispatch(new GetFeatures({ - providerKey: this.providerKey, - providerName: this.providerName, - })) - .pipe(pluck('FeatureManagementState', 'features')) - .subscribe((/** - * @param {?} features - * @return {?} - */ - features => { - this.buildForm(features); - })); - } - /** - * @param {?} features - * @return {?} - */ - buildForm(features) { - /** @type {?} */ - const formGroupObj = {}; - for (let i = 0; i < features.length; i++) { - formGroupObj[i] = new FormControl(features[i].value === 'false' ? null : features[i].value); - } - this.form = new FormGroup(formGroupObj); - } - /** - * @return {?} - */ - save() { - if (this.modalBusy) - return; - this.modalBusy = true; - /** @type {?} */ - let features = this.store.selectSnapshot(FeatureManagementState.getFeatures); - features = features.map((/** - * @param {?} feature - * @param {?} i - * @return {?} - */ - (feature, i) => ({ - name: feature.name, - value: !this.form.value[i] || this.form.value[i] === 'false' ? null : this.form.value[i], - }))); - this.store - .dispatch(new UpdateFeatures({ - providerKey: this.providerKey, - providerName: this.providerName, - features, - })) - .pipe(finalize((/** - * @return {?} - */ - () => (this.modalBusy = false)))) - .subscribe((/** - * @return {?} - */ - () => { - this.visible = false; - })); - } -} -FeatureManagementComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-feature-management', - template: "\r\n \r\n

{{ 'AbpFeatureManagement::Features' | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n \r\n
{{ feature.name }}
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n {{ 'AbpFeatureManagement::NoFeatureFoundMessage' | abpLocalization }}\r\n
\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n {{ 'AbpFeatureManagement::Save' | abpLocalization }}\r\n \r\n \r\n \r\n
\r\n" - }] } -]; -/** @nocollapse */ -FeatureManagementComponent.ctorParameters = () => [ - { type: Store } -]; -FeatureManagementComponent.propDecorators = { - providerKey: [{ type: Input }], - providerName: [{ type: Input }], - visible: [{ type: Input }], - visibleChange: [{ type: Output }] -}; -__decorate([ - Select(FeatureManagementState.getFeatures), - __metadata("design:type", Observable) -], FeatureManagementComponent.prototype, "features$", void 0); -if (false) { - /** @type {?} */ - FeatureManagementComponent.prototype.providerKey; - /** @type {?} */ - FeatureManagementComponent.prototype.providerName; - /** - * @type {?} - * @protected - */ - FeatureManagementComponent.prototype._visible; - /** @type {?} */ - FeatureManagementComponent.prototype.visibleChange; - /** @type {?} */ - FeatureManagementComponent.prototype.features$; - /** @type {?} */ - FeatureManagementComponent.prototype.modalBusy; - /** @type {?} */ - FeatureManagementComponent.prototype.form; - /** - * @type {?} - * @private - */ - FeatureManagementComponent.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/feature-management.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class FeatureManagementModule { -} -FeatureManagementModule.decorators = [ - { type: NgModule, args: [{ - declarations: [FeatureManagementComponent], - imports: [CoreModule, ThemeSharedModule, NgxsModule.forFeature([FeatureManagementState])], - exports: [FeatureManagementComponent], - },] } -]; - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.feature-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { FeatureManagementComponent, FeatureManagementModule, FeatureManagementComponent as ɵa, FeatureManagementState as ɵb, FeatureManagementState as ɵc, FeatureManagementService as ɵd, GetFeatures as ɵe, UpdateFeatures as ɵf }; -//# sourceMappingURL=abp-ng.feature-management.js.map diff --git a/npm/ng-packs/dist/feature-management/fesm2015/abp-ng.feature-management.js.map b/npm/ng-packs/dist/feature-management/fesm2015/abp-ng.feature-management.js.map deleted file mode 100644 index c0fc0aa0c2d..00000000000 --- a/npm/ng-packs/dist/feature-management/fesm2015/abp-ng.feature-management.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.feature-management.js","sources":["ng://@abp/ng.feature-management/lib/actions/feature-management.actions.ts","ng://@abp/ng.feature-management/lib/services/feature-management.service.ts","ng://@abp/ng.feature-management/lib/states/feature-management.state.ts","ng://@abp/ng.feature-management/lib/components/feature-management/feature-management.component.ts","ng://@abp/ng.feature-management/lib/feature-management.module.ts"],"sourcesContent":["import { FeatureManagement } from '../models';\r\n\r\nexport class GetFeatures {\r\n static readonly type = '[FeatureManagement] Get Features';\r\n constructor(public payload: FeatureManagement.Provider) {}\r\n}\r\n\r\nexport class UpdateFeatures {\r\n static readonly type = '[FeatureManagement] Update Features';\r\n constructor(public payload: FeatureManagement.Provider & FeatureManagement.Features) {}\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { FeatureManagement } from '../models';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class FeatureManagementService {\r\n constructor(private rest: RestService, private store: Store) {}\r\n\r\n getFeatures(params: FeatureManagement.Provider): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/abp/features',\r\n params,\r\n };\r\n return this.rest.request(request);\r\n }\r\n\r\n updateFeatures({\r\n features,\r\n providerKey,\r\n providerName,\r\n }: FeatureManagement.Provider & FeatureManagement.Features): Observable {\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url: '/api/abp/features',\r\n body: { features },\r\n params: { providerKey, providerName },\r\n };\r\n return this.rest.request(request);\r\n }\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { tap } from 'rxjs/operators';\r\nimport { GetFeatures, UpdateFeatures } from '../actions/feature-management.actions';\r\nimport { FeatureManagement } from '../models/feature-management';\r\nimport { FeatureManagementService } from '../services/feature-management.service';\r\n\r\n@State({\r\n name: 'FeatureManagementState',\r\n defaults: { features: {} } as FeatureManagement.State,\r\n})\r\nexport class FeatureManagementState {\r\n @Selector()\r\n static getFeatures({ features }: FeatureManagement.State) {\r\n return features || [];\r\n }\r\n\r\n constructor(private featureManagementService: FeatureManagementService) {}\r\n\r\n @Action(GetFeatures)\r\n getFeatures({ patchState }: StateContext, { payload }: GetFeatures) {\r\n return this.featureManagementService.getFeatures(payload).pipe(\r\n tap(({ features }) =>\r\n patchState({\r\n features,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(UpdateFeatures)\r\n updateFeatures(_, { payload }: UpdateFeatures) {\r\n return this.featureManagementService.updateFeatures(payload);\r\n }\r\n}\r\n","import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { GetFeatures, UpdateFeatures } from '../../actions';\r\nimport { FeatureManagement } from '../../models/feature-management';\r\nimport { FeatureManagementState } from '../../states';\r\nimport { FormGroup, FormControl } from '@angular/forms';\r\nimport { pluck, finalize } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'abp-feature-management',\r\n templateUrl: './feature-management.component.html',\r\n})\r\nexport class FeatureManagementComponent {\r\n @Input()\r\n providerKey: string;\r\n\r\n @Input()\r\n providerName: string;\r\n\r\n protected _visible;\r\n\r\n @Input()\r\n get visible(): boolean {\r\n return this._visible;\r\n }\r\n\r\n set visible(value: boolean) {\r\n this._visible = value;\r\n this.visibleChange.emit(value);\r\n\r\n if (value) this.openModal();\r\n }\r\n\r\n @Output() readonly visibleChange = new EventEmitter();\r\n\r\n @Select(FeatureManagementState.getFeatures)\r\n features$: Observable;\r\n\r\n modalBusy = false;\r\n\r\n form: FormGroup;\r\n\r\n constructor(private store: Store) {}\r\n\r\n openModal() {\r\n if (!this.providerKey || !this.providerName) {\r\n throw new Error('Provider Key and Provider Name are required.');\r\n }\r\n\r\n this.getFeatures();\r\n }\r\n\r\n getFeatures() {\r\n this.store\r\n .dispatch(\r\n new GetFeatures({\r\n providerKey: this.providerKey,\r\n providerName: this.providerName,\r\n }),\r\n )\r\n .pipe(pluck('FeatureManagementState', 'features'))\r\n .subscribe(features => {\r\n this.buildForm(features);\r\n });\r\n }\r\n\r\n buildForm(features) {\r\n const formGroupObj = {};\r\n\r\n for (let i = 0; i < features.length; i++) {\r\n formGroupObj[i] = new FormControl(features[i].value === 'false' ? null : features[i].value);\r\n }\r\n\r\n this.form = new FormGroup(formGroupObj);\r\n }\r\n\r\n save() {\r\n if (this.modalBusy) return;\r\n\r\n this.modalBusy = true;\r\n\r\n let features = this.store.selectSnapshot(FeatureManagementState.getFeatures);\r\n\r\n features = features.map((feature, i) => ({\r\n name: feature.name,\r\n value: !this.form.value[i] || this.form.value[i] === 'false' ? null : this.form.value[i],\r\n }));\r\n\r\n this.store\r\n .dispatch(\r\n new UpdateFeatures({\r\n providerKey: this.providerKey,\r\n providerName: this.providerName,\r\n features,\r\n }),\r\n )\r\n .pipe(finalize(() => (this.modalBusy = false)))\r\n .subscribe(() => {\r\n this.visible = false;\r\n });\r\n }\r\n}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule } from '@angular/core';\r\nimport { FeatureManagementComponent } from './components/feature-management/feature-management.component';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { FeatureManagementState } from './states/feature-management.state';\r\n\r\n@NgModule({\r\n declarations: [FeatureManagementComponent],\r\n imports: [CoreModule, ThemeSharedModule, NgxsModule.forFeature([FeatureManagementState])],\r\n exports: [FeatureManagementComponent],\r\n})\r\nexport class FeatureManagementModule {}\r\n"],"names":["tslib_1.__decorate"],"mappings":";;;;;;;;;;;;;;AAEA,MAAa,WAAW;;;;IAEtB,YAAmB,OAAmC;QAAnC,YAAO,GAAP,OAAO,CAA4B;KAAI;;AAD1C,gBAAI,GAAG,kCAAkC,CAAC;;;IAA1D,iBAA0D;;IAC9C,8BAA0C;;AAGxD,MAAa,cAAc;;;;IAEzB,YAAmB,OAAgE;QAAhE,YAAO,GAAP,OAAO,CAAyD;KAAI;;AADvE,mBAAI,GAAG,qCAAqC,CAAC;;;IAA7D,oBAA6D;;IACjD,iCAAuE;;;;;;;;;;;;;;ACTrF,MASa,wBAAwB;;;;;IACnC,YAAoB,IAAiB,EAAU,KAAY;QAAvC,SAAI,GAAJ,IAAI,CAAa;QAAU,UAAK,GAAL,KAAK,CAAO;KAAI;;;;;IAE/D,WAAW,CAAC,MAAkC;;cACtC,OAAO,GAAuB;YAClC,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mBAAmB;YACxB,MAAM;SACP;QACD,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAyD,OAAO,CAAC,CAAC;KAC3F;;;;;IAED,cAAc,CAAC,EACb,QAAQ,EACR,WAAW,EACX,YAAY,GAC4C;;cAClD,OAAO,GAA6C;YACxD,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mBAAmB;YACxB,IAAI,EAAE,EAAE,QAAQ,EAAE;YAClB,MAAM,EAAE,EAAE,WAAW,EAAE,YAAY,EAAE;SACtC;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IAElB,0CAAgB;;;;;IAEJ,2CAAoB;;;;;;;;AC3ClC,MAYa,uBAAuB;;;YALnC,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,0BAA0B,CAAC;gBAC1C,OAAO,EAAE,CAAC,UAAU,EAAE,iBAAiB,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC;gBACzF,OAAO,EAAE,CAAC,0BAA0B,CAAC;aACtC;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/fesm5/abp-ng.feature-management.js b/npm/ng-packs/dist/feature-management/fesm5/abp-ng.feature-management.js deleted file mode 100644 index 0bc68517a7f..00000000000 --- a/npm/ng-packs/dist/feature-management/fesm5/abp-ng.feature-management.js +++ /dev/null @@ -1,427 +0,0 @@ -import { RestService, CoreModule } from '@abp/ng.core'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; -import { Injectable, ɵɵdefineInjectable, ɵɵinject, EventEmitter, Component, Input, Output, NgModule } from '@angular/core'; -import { __decorate, __metadata } from 'tslib'; -import { Store, Action, Selector, State, Select, NgxsModule } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { tap, pluck, finalize } from 'rxjs/operators'; -import { FormControl, FormGroup } from '@angular/forms'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/feature-management.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var GetFeatures = /** @class */ (function () { - function GetFeatures(payload) { - this.payload = payload; - } - GetFeatures.type = '[FeatureManagement] Get Features'; - return GetFeatures; -}()); -if (false) { - /** @type {?} */ - GetFeatures.type; - /** @type {?} */ - GetFeatures.prototype.payload; -} -var UpdateFeatures = /** @class */ (function () { - function UpdateFeatures(payload) { - this.payload = payload; - } - UpdateFeatures.type = '[FeatureManagement] Update Features'; - return UpdateFeatures; -}()); -if (false) { - /** @type {?} */ - UpdateFeatures.type; - /** @type {?} */ - UpdateFeatures.prototype.payload; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/feature-management.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var FeatureManagementService = /** @class */ (function () { - function FeatureManagementService(rest, store) { - this.rest = rest; - this.store = store; - } - /** - * @param {?} params - * @return {?} - */ - FeatureManagementService.prototype.getFeatures = /** - * @param {?} params - * @return {?} - */ - function (params) { - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/abp/features', - params: params, - }; - return this.rest.request(request); - }; - /** - * @param {?} __0 - * @return {?} - */ - FeatureManagementService.prototype.updateFeatures = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var features = _a.features, providerKey = _a.providerKey, providerName = _a.providerName; - /** @type {?} */ - var request = { - method: 'PUT', - url: '/api/abp/features', - body: { features: features }, - params: { providerKey: providerKey, providerName: providerName }, - }; - return this.rest.request(request); - }; - FeatureManagementService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - FeatureManagementService.ctorParameters = function () { return [ - { type: RestService }, - { type: Store } - ]; }; - /** @nocollapse */ FeatureManagementService.ngInjectableDef = ɵɵdefineInjectable({ factory: function FeatureManagementService_Factory() { return new FeatureManagementService(ɵɵinject(RestService), ɵɵinject(Store)); }, token: FeatureManagementService, providedIn: "root" }); - return FeatureManagementService; -}()); -if (false) { - /** - * @type {?} - * @private - */ - FeatureManagementService.prototype.rest; - /** - * @type {?} - * @private - */ - FeatureManagementService.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/feature-management.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var FeatureManagementState = /** @class */ (function () { - function FeatureManagementState(featureManagementService) { - this.featureManagementService = featureManagementService; - } - /** - * @param {?} __0 - * @return {?} - */ - FeatureManagementState.getFeatures = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var features = _a.features; - return features || []; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - FeatureManagementState.prototype.getFeatures = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.featureManagementService.getFeatures(payload).pipe(tap((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var features = _a.features; - return patchState({ - features: features, - }); - }))); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - FeatureManagementState.prototype.updateFeatures = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.featureManagementService.updateFeatures(payload); - }; - FeatureManagementState.ctorParameters = function () { return [ - { type: FeatureManagementService } - ]; }; - __decorate([ - Action(GetFeatures), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetFeatures]), - __metadata("design:returntype", void 0) - ], FeatureManagementState.prototype, "getFeatures", null); - __decorate([ - Action(UpdateFeatures), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, UpdateFeatures]), - __metadata("design:returntype", void 0) - ], FeatureManagementState.prototype, "updateFeatures", null); - __decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", void 0) - ], FeatureManagementState, "getFeatures", null); - FeatureManagementState = __decorate([ - State({ - name: 'FeatureManagementState', - defaults: (/** @type {?} */ ({ features: {} })), - }), - __metadata("design:paramtypes", [FeatureManagementService]) - ], FeatureManagementState); - return FeatureManagementState; -}()); -if (false) { - /** - * @type {?} - * @private - */ - FeatureManagementState.prototype.featureManagementService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/feature-management/feature-management.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var FeatureManagementComponent = /** @class */ (function () { - function FeatureManagementComponent(store) { - this.store = store; - this.visibleChange = new EventEmitter(); - this.modalBusy = false; - } - Object.defineProperty(FeatureManagementComponent.prototype, "visible", { - get: /** - * @return {?} - */ - function () { - return this._visible; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - this._visible = value; - this.visibleChange.emit(value); - if (value) - this.openModal(); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - FeatureManagementComponent.prototype.openModal = /** - * @return {?} - */ - function () { - if (!this.providerKey || !this.providerName) { - throw new Error('Provider Key and Provider Name are required.'); - } - this.getFeatures(); - }; - /** - * @return {?} - */ - FeatureManagementComponent.prototype.getFeatures = /** - * @return {?} - */ - function () { - var _this = this; - this.store - .dispatch(new GetFeatures({ - providerKey: this.providerKey, - providerName: this.providerName, - })) - .pipe(pluck('FeatureManagementState', 'features')) - .subscribe((/** - * @param {?} features - * @return {?} - */ - function (features) { - _this.buildForm(features); - })); - }; - /** - * @param {?} features - * @return {?} - */ - FeatureManagementComponent.prototype.buildForm = /** - * @param {?} features - * @return {?} - */ - function (features) { - /** @type {?} */ - var formGroupObj = {}; - for (var i = 0; i < features.length; i++) { - formGroupObj[i] = new FormControl(features[i].value === 'false' ? null : features[i].value); - } - this.form = new FormGroup(formGroupObj); - }; - /** - * @return {?} - */ - FeatureManagementComponent.prototype.save = /** - * @return {?} - */ - function () { - var _this = this; - if (this.modalBusy) - return; - this.modalBusy = true; - /** @type {?} */ - var features = this.store.selectSnapshot(FeatureManagementState.getFeatures); - features = features.map((/** - * @param {?} feature - * @param {?} i - * @return {?} - */ - function (feature, i) { return ({ - name: feature.name, - value: !_this.form.value[i] || _this.form.value[i] === 'false' ? null : _this.form.value[i], - }); })); - this.store - .dispatch(new UpdateFeatures({ - providerKey: this.providerKey, - providerName: this.providerName, - features: features, - })) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.visible = false; - })); - }; - FeatureManagementComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-feature-management', - template: "\r\n \r\n

{{ 'AbpFeatureManagement::Features' | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n \r\n
{{ feature.name }}
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n {{ 'AbpFeatureManagement::NoFeatureFoundMessage' | abpLocalization }}\r\n
\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n {{ 'AbpFeatureManagement::Save' | abpLocalization }}\r\n \r\n \r\n \r\n
\r\n" - }] } - ]; - /** @nocollapse */ - FeatureManagementComponent.ctorParameters = function () { return [ - { type: Store } - ]; }; - FeatureManagementComponent.propDecorators = { - providerKey: [{ type: Input }], - providerName: [{ type: Input }], - visible: [{ type: Input }], - visibleChange: [{ type: Output }] - }; - __decorate([ - Select(FeatureManagementState.getFeatures), - __metadata("design:type", Observable) - ], FeatureManagementComponent.prototype, "features$", void 0); - return FeatureManagementComponent; -}()); -if (false) { - /** @type {?} */ - FeatureManagementComponent.prototype.providerKey; - /** @type {?} */ - FeatureManagementComponent.prototype.providerName; - /** - * @type {?} - * @protected - */ - FeatureManagementComponent.prototype._visible; - /** @type {?} */ - FeatureManagementComponent.prototype.visibleChange; - /** @type {?} */ - FeatureManagementComponent.prototype.features$; - /** @type {?} */ - FeatureManagementComponent.prototype.modalBusy; - /** @type {?} */ - FeatureManagementComponent.prototype.form; - /** - * @type {?} - * @private - */ - FeatureManagementComponent.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/feature-management.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var FeatureManagementModule = /** @class */ (function () { - function FeatureManagementModule() { - } - FeatureManagementModule.decorators = [ - { type: NgModule, args: [{ - declarations: [FeatureManagementComponent], - imports: [CoreModule, ThemeSharedModule, NgxsModule.forFeature([FeatureManagementState])], - exports: [FeatureManagementComponent], - },] } - ]; - return FeatureManagementModule; -}()); - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.feature-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { FeatureManagementComponent, FeatureManagementModule, FeatureManagementComponent as ɵa, FeatureManagementState as ɵb, FeatureManagementState as ɵc, FeatureManagementService as ɵd, GetFeatures as ɵe, UpdateFeatures as ɵf }; -//# sourceMappingURL=abp-ng.feature-management.js.map diff --git a/npm/ng-packs/dist/feature-management/fesm5/abp-ng.feature-management.js.map b/npm/ng-packs/dist/feature-management/fesm5/abp-ng.feature-management.js.map deleted file mode 100644 index d9d9e5dd86c..00000000000 --- a/npm/ng-packs/dist/feature-management/fesm5/abp-ng.feature-management.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.feature-management.js","sources":["ng://@abp/ng.feature-management/lib/actions/feature-management.actions.ts","ng://@abp/ng.feature-management/lib/services/feature-management.service.ts","ng://@abp/ng.feature-management/lib/states/feature-management.state.ts","ng://@abp/ng.feature-management/lib/components/feature-management/feature-management.component.ts","ng://@abp/ng.feature-management/lib/feature-management.module.ts"],"sourcesContent":["import { FeatureManagement } from '../models';\r\n\r\nexport class GetFeatures {\r\n static readonly type = '[FeatureManagement] Get Features';\r\n constructor(public payload: FeatureManagement.Provider) {}\r\n}\r\n\r\nexport class UpdateFeatures {\r\n static readonly type = '[FeatureManagement] Update Features';\r\n constructor(public payload: FeatureManagement.Provider & FeatureManagement.Features) {}\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { FeatureManagement } from '../models';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class FeatureManagementService {\r\n constructor(private rest: RestService, private store: Store) {}\r\n\r\n getFeatures(params: FeatureManagement.Provider): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/abp/features',\r\n params,\r\n };\r\n return this.rest.request(request);\r\n }\r\n\r\n updateFeatures({\r\n features,\r\n providerKey,\r\n providerName,\r\n }: FeatureManagement.Provider & FeatureManagement.Features): Observable {\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url: '/api/abp/features',\r\n body: { features },\r\n params: { providerKey, providerName },\r\n };\r\n return this.rest.request(request);\r\n }\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { tap } from 'rxjs/operators';\r\nimport { GetFeatures, UpdateFeatures } from '../actions/feature-management.actions';\r\nimport { FeatureManagement } from '../models/feature-management';\r\nimport { FeatureManagementService } from '../services/feature-management.service';\r\n\r\n@State({\r\n name: 'FeatureManagementState',\r\n defaults: { features: {} } as FeatureManagement.State,\r\n})\r\nexport class FeatureManagementState {\r\n @Selector()\r\n static getFeatures({ features }: FeatureManagement.State) {\r\n return features || [];\r\n }\r\n\r\n constructor(private featureManagementService: FeatureManagementService) {}\r\n\r\n @Action(GetFeatures)\r\n getFeatures({ patchState }: StateContext, { payload }: GetFeatures) {\r\n return this.featureManagementService.getFeatures(payload).pipe(\r\n tap(({ features }) =>\r\n patchState({\r\n features,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(UpdateFeatures)\r\n updateFeatures(_, { payload }: UpdateFeatures) {\r\n return this.featureManagementService.updateFeatures(payload);\r\n }\r\n}\r\n","import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { GetFeatures, UpdateFeatures } from '../../actions';\r\nimport { FeatureManagement } from '../../models/feature-management';\r\nimport { FeatureManagementState } from '../../states';\r\nimport { FormGroup, FormControl } from '@angular/forms';\r\nimport { pluck, finalize } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'abp-feature-management',\r\n templateUrl: './feature-management.component.html',\r\n})\r\nexport class FeatureManagementComponent {\r\n @Input()\r\n providerKey: string;\r\n\r\n @Input()\r\n providerName: string;\r\n\r\n protected _visible;\r\n\r\n @Input()\r\n get visible(): boolean {\r\n return this._visible;\r\n }\r\n\r\n set visible(value: boolean) {\r\n this._visible = value;\r\n this.visibleChange.emit(value);\r\n\r\n if (value) this.openModal();\r\n }\r\n\r\n @Output() readonly visibleChange = new EventEmitter();\r\n\r\n @Select(FeatureManagementState.getFeatures)\r\n features$: Observable;\r\n\r\n modalBusy = false;\r\n\r\n form: FormGroup;\r\n\r\n constructor(private store: Store) {}\r\n\r\n openModal() {\r\n if (!this.providerKey || !this.providerName) {\r\n throw new Error('Provider Key and Provider Name are required.');\r\n }\r\n\r\n this.getFeatures();\r\n }\r\n\r\n getFeatures() {\r\n this.store\r\n .dispatch(\r\n new GetFeatures({\r\n providerKey: this.providerKey,\r\n providerName: this.providerName,\r\n }),\r\n )\r\n .pipe(pluck('FeatureManagementState', 'features'))\r\n .subscribe(features => {\r\n this.buildForm(features);\r\n });\r\n }\r\n\r\n buildForm(features) {\r\n const formGroupObj = {};\r\n\r\n for (let i = 0; i < features.length; i++) {\r\n formGroupObj[i] = new FormControl(features[i].value === 'false' ? null : features[i].value);\r\n }\r\n\r\n this.form = new FormGroup(formGroupObj);\r\n }\r\n\r\n save() {\r\n if (this.modalBusy) return;\r\n\r\n this.modalBusy = true;\r\n\r\n let features = this.store.selectSnapshot(FeatureManagementState.getFeatures);\r\n\r\n features = features.map((feature, i) => ({\r\n name: feature.name,\r\n value: !this.form.value[i] || this.form.value[i] === 'false' ? null : this.form.value[i],\r\n }));\r\n\r\n this.store\r\n .dispatch(\r\n new UpdateFeatures({\r\n providerKey: this.providerKey,\r\n providerName: this.providerName,\r\n features,\r\n }),\r\n )\r\n .pipe(finalize(() => (this.modalBusy = false)))\r\n .subscribe(() => {\r\n this.visible = false;\r\n });\r\n }\r\n}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule } from '@angular/core';\r\nimport { FeatureManagementComponent } from './components/feature-management/feature-management.component';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { FeatureManagementState } from './states/feature-management.state';\r\n\r\n@NgModule({\r\n declarations: [FeatureManagementComponent],\r\n imports: [CoreModule, ThemeSharedModule, NgxsModule.forFeature([FeatureManagementState])],\r\n exports: [FeatureManagementComponent],\r\n})\r\nexport class FeatureManagementModule {}\r\n"],"names":["tslib_1.__decorate"],"mappings":";;;;;;;;;;;;;;AAEA;IAEE,qBAAmB,OAAmC;QAAnC,YAAO,GAAP,OAAO,CAA4B;KAAI;IAD1C,gBAAI,GAAG,kCAAkC,CAAC;IAE5D,kBAAC;CAHD,IAGC;;;IAFC,iBAA0D;;IAC9C,8BAA0C;;AAGxD;IAEE,wBAAmB,OAAgE;QAAhE,YAAO,GAAP,OAAO,CAAyD;KAAI;IADvE,mBAAI,GAAG,qCAAqC,CAAC;IAE/D,qBAAC;CAHD,IAGC;;;IAFC,oBAA6D;;IACjD,iCAAuE;;;;;;;;;;;;;;ACTrF;IAUE,kCAAoB,IAAiB,EAAU,KAAY;QAAvC,SAAI,GAAJ,IAAI,CAAa;QAAU,UAAK,GAAL,KAAK,CAAO;KAAI;;;;;IAE/D,8CAAW;;;;IAAX,UAAY,MAAkC;;YACtC,OAAO,GAAuB;YAClC,MAAM,EAAE,KA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,YAAY;YAC/B,QAAQ,UAAA;SACT,CAAC,CACH;aACA,IAAI,CAAC,QAAQ;;;QAAC,cAAM,QAAC,KAAI,CAAC,SAAS,GAAG,KAAK,IAAC,EAAC,CAAC;aAC9C,SAAS;;;QAAC;YACT,KAAI,CAAC,OAAO,GAAG,KAAK,CAAC;SACtB,EAAC,CAAC;KACN;;gBA5FF,SAAS,SAAC;oBACT,QAAQ,EAAE,wBAAwB;oBAClC,ylDAAkD;iBACnD;;;;gBAXgB,KAAK;;;8BAanB,KAAK;+BAGL,KAAK;0BAKL,KAAK;gCAYL,MAAM;;IAGPA;QADC,MAAM,CAAC,sBAAsB,CAAC,WAAW,CAAC;kCAChC,UAAU;iEAA8B;IAiErD,iCAAC;CA7FD,IA6FC;;;IAxFC,iDACoB;;IAEpB,kDACqB;;;;;IAErB,8CAAmB;;IAcnB,mDAA+D;;IAE/D,+CACmD;;IAEnD,+CAAkB;;IAElB,0CAAgB;;;;;IAEJ,2CAAoB;;;;;;;;AC3ClC;IAOA;KAKuC;;gBALtC,QAAQ,SAAC;oBACR,YAAY,EAAE,CAAC,0BAA0B,CAAC;oBAC1C,OAAO,EAAE,CAAC,UAAU,EAAE,iBAAiB,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC;oBACzF,OAAO,EAAE,CAAC,0BAA0B,CAAC;iBACtC;;IACqC,8BAAC;CALvC;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/feature-management/lib/actions/feature-management.actions.d.ts b/npm/ng-packs/dist/feature-management/lib/actions/feature-management.actions.d.ts deleted file mode 100644 index d2fffb49d06..00000000000 --- a/npm/ng-packs/dist/feature-management/lib/actions/feature-management.actions.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { FeatureManagement } from '../models'; -export declare class GetFeatures { - payload: FeatureManagement.Provider; - static readonly type = "[FeatureManagement] Get Features"; - constructor(payload: FeatureManagement.Provider); -} -export declare class UpdateFeatures { - payload: FeatureManagement.Provider & FeatureManagement.Features; - static readonly type = "[FeatureManagement] Update Features"; - constructor(payload: FeatureManagement.Provider & FeatureManagement.Features); -} diff --git a/npm/ng-packs/dist/feature-management/lib/actions/index.d.ts b/npm/ng-packs/dist/feature-management/lib/actions/index.d.ts deleted file mode 100644 index 66678fb3226..00000000000 --- a/npm/ng-packs/dist/feature-management/lib/actions/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './feature-management.actions'; diff --git a/npm/ng-packs/dist/feature-management/lib/components/feature-management/feature-management.component.d.ts b/npm/ng-packs/dist/feature-management/lib/components/feature-management/feature-management.component.d.ts deleted file mode 100644 index 2bedc78917e..00000000000 --- a/npm/ng-packs/dist/feature-management/lib/components/feature-management/feature-management.component.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { EventEmitter } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { FeatureManagement } from '../../models/feature-management'; -import { FormGroup } from '@angular/forms'; -export declare class FeatureManagementComponent { - private store; - providerKey: string; - providerName: string; - protected _visible: any; - visible: boolean; - readonly visibleChange: EventEmitter; - features$: Observable; - modalBusy: boolean; - form: FormGroup; - constructor(store: Store); - openModal(): void; - getFeatures(): void; - buildForm(features: any): void; - save(): void; -} diff --git a/npm/ng-packs/dist/feature-management/lib/components/index.d.ts b/npm/ng-packs/dist/feature-management/lib/components/index.d.ts deleted file mode 100644 index 64f8bd0fc57..00000000000 --- a/npm/ng-packs/dist/feature-management/lib/components/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './feature-management/feature-management.component'; diff --git a/npm/ng-packs/dist/feature-management/lib/feature-management.module.d.ts b/npm/ng-packs/dist/feature-management/lib/feature-management.module.d.ts deleted file mode 100644 index 4ea54a429da..00000000000 --- a/npm/ng-packs/dist/feature-management/lib/feature-management.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class FeatureManagementModule { -} diff --git a/npm/ng-packs/dist/feature-management/lib/models/feature-management.d.ts b/npm/ng-packs/dist/feature-management/lib/models/feature-management.d.ts deleted file mode 100644 index 22ad0d4f65b..00000000000 --- a/npm/ng-packs/dist/feature-management/lib/models/feature-management.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -export declare namespace FeatureManagement { - interface State { - features: Feature[]; - } - interface ValueType { - name: string; - properties: object; - validator: object; - } - interface Feature { - name: string; - value: string; - description?: string; - valueType?: ValueType; - depth?: number; - parentName?: string; - } - interface Features { - features: Feature[]; - } - interface Provider { - providerName: string; - providerKey: string; - } -} diff --git a/npm/ng-packs/dist/feature-management/lib/models/index.d.ts b/npm/ng-packs/dist/feature-management/lib/models/index.d.ts deleted file mode 100644 index d6ed522ae0f..00000000000 --- a/npm/ng-packs/dist/feature-management/lib/models/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './feature-management'; diff --git a/npm/ng-packs/dist/feature-management/lib/services/feature-management.service.d.ts b/npm/ng-packs/dist/feature-management/lib/services/feature-management.service.d.ts deleted file mode 100644 index 844bb49f316..00000000000 --- a/npm/ng-packs/dist/feature-management/lib/services/feature-management.service.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { RestService } from '@abp/ng.core'; -import { Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { FeatureManagement } from '../models'; -export declare class FeatureManagementService { - private rest; - private store; - constructor(rest: RestService, store: Store); - getFeatures(params: FeatureManagement.Provider): Observable; - updateFeatures({ features, providerKey, providerName, }: FeatureManagement.Provider & FeatureManagement.Features): Observable; -} diff --git a/npm/ng-packs/dist/feature-management/lib/states/feature-management.state.d.ts b/npm/ng-packs/dist/feature-management/lib/states/feature-management.state.d.ts deleted file mode 100644 index d7e1966d8fb..00000000000 --- a/npm/ng-packs/dist/feature-management/lib/states/feature-management.state.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { StateContext } from '@ngxs/store'; -import { GetFeatures, UpdateFeatures } from '../actions/feature-management.actions'; -import { FeatureManagement } from '../models/feature-management'; -import { FeatureManagementService } from '../services/feature-management.service'; -export declare class FeatureManagementState { - private featureManagementService; - static getFeatures({ features }: FeatureManagement.State): FeatureManagement.Feature[]; - constructor(featureManagementService: FeatureManagementService); - getFeatures({ patchState }: StateContext, { payload }: GetFeatures): import("rxjs").Observable; - updateFeatures(_: any, { payload }: UpdateFeatures): import("rxjs").Observable; -} diff --git a/npm/ng-packs/dist/feature-management/lib/states/index.d.ts b/npm/ng-packs/dist/feature-management/lib/states/index.d.ts deleted file mode 100644 index 3c9c6e26d62..00000000000 --- a/npm/ng-packs/dist/feature-management/lib/states/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './feature-management.state'; diff --git a/npm/ng-packs/dist/feature-management/package.json b/npm/ng-packs/dist/feature-management/package.json deleted file mode 100644 index 81057b4a5dc..00000000000 --- a/npm/ng-packs/dist/feature-management/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "@abp/ng.feature-management", - "version": "1.1.0", - "dependencies": { - "@abp/ng.theme.shared": "^1.1.0", - "tslib": "^1.9.0" - }, - "publishConfig": { - "access": "public" - }, - "main": "bundles/abp-ng.feature-management.umd.js", - "module": "fesm5/abp-ng.feature-management.js", - "es2015": "fesm2015/abp-ng.feature-management.js", - "esm5": "esm5/abp-ng.feature-management.js", - "esm2015": "esm2015/abp-ng.feature-management.js", - "fesm5": "fesm5/abp-ng.feature-management.js", - "fesm2015": "fesm2015/abp-ng.feature-management.js", - "typings": "abp-ng.feature-management.d.ts", - "metadata": "abp-ng.feature-management.metadata.json", - "sideEffects": false, - "gitHead": "42d9eb857fca97c046ebac4286b6831c8b8c1887" -} diff --git a/npm/ng-packs/dist/feature-management/public-api.d.ts b/npm/ng-packs/dist/feature-management/public-api.d.ts deleted file mode 100644 index 047ac009144..00000000000 --- a/npm/ng-packs/dist/feature-management/public-api.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './lib/feature-management.module'; -export * from './lib/components'; diff --git a/npm/ng-packs/dist/identity-config/README.md b/npm/ng-packs/dist/identity-config/README.md deleted file mode 100644 index 800ae0093ce..00000000000 --- a/npm/ng-packs/dist/identity-config/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# @abp/ng.identity.config - -[docs.abp.io](https://docs.abp.io) diff --git a/npm/ng-packs/dist/identity-config/abp-ng.identity.config.d.ts b/npm/ng-packs/dist/identity-config/abp-ng.identity.config.d.ts deleted file mode 100644 index e5daacf63e5..00000000000 --- a/npm/ng-packs/dist/identity-config/abp-ng.identity.config.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * Generated bundle index. Do not edit. - */ -export * from './public-api'; diff --git a/npm/ng-packs/dist/identity-config/abp-ng.identity.config.metadata.json b/npm/ng-packs/dist/identity-config/abp-ng.identity.config.metadata.json deleted file mode 100644 index 609b9a80198..00000000000 --- a/npm/ng-packs/dist/identity-config/abp-ng.identity.config.metadata.json +++ /dev/null @@ -1 +0,0 @@ -{"__symbolic":"module","version":4,"metadata":{"IdentityConfigService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":9,"character":30},{"__symbolic":"reference","module":"@abp/ng.core","name":"RestService","line":9,"character":59}]}]},"statics":{"ngInjectableDef":{}}},"IdentityConfigModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"providers":[{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_INITIALIZER","line":5,"character":25},"deps":[{"__symbolic":"reference","name":"IdentityConfigService"}],"useFactory":{"__symbolic":"reference","module":"@abp/ng.core","name":"noop","line":5,"character":85},"multi":true}]}]}],"members":{}}},"origins":{"IdentityConfigService":"./lib/services/identity-config.service","IdentityConfigModule":"./lib/identity-config.module"},"importAs":"@abp/ng.identity.config"} \ No newline at end of file diff --git a/npm/ng-packs/dist/identity-config/bundles/abp-ng.identity.config.umd.js b/npm/ng-packs/dist/identity-config/bundles/abp-ng.identity.config.umd.js deleted file mode 100644 index fbb131de5b0..00000000000 --- a/npm/ng-packs/dist/identity-config/bundles/abp-ng.identity.config.umd.js +++ /dev/null @@ -1,87 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@abp/ng.core'), require('@angular/core'), require('@angular/router')) : - typeof define === 'function' && define.amd ? define('@abp/ng.identity.config', ['exports', '@abp/ng.core', '@angular/core', '@angular/router'], factory) : - (global = global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng.identity = global.abp.ng.identity || {}, global.abp.ng.identity.config = {}), global.ng_core, global.ng.core, global.ng.router)); -}(this, (function (exports, ng_core, core, router) { 'use strict'; - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/identity-config.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var IdentityConfigService = /** @class */ (function () { - function IdentityConfigService(router, restService) { - this.router = router; - this.restService = restService; - ng_core.addAbpRoutes([ - { - name: 'AbpUiNavigation::Menu:Administration', - path: '', - order: 1, - wrapper: true, - iconClass: 'fa fa-wrench', - }, - { - name: 'AbpIdentity::Menu:IdentityManagement', - path: 'identity', - order: 1, - parentName: 'AbpUiNavigation::Menu:Administration', - layout: "application" /* application */, - iconClass: 'fa fa-id-card-o', - children: [ - { path: 'roles', name: 'AbpIdentity::Roles', order: 1, requiredPolicy: 'AbpIdentity.Roles' }, - { path: 'users', name: 'AbpIdentity::Users', order: 2, requiredPolicy: 'AbpIdentity.Users' }, - ], - }, - ]); - } - IdentityConfigService.decorators = [ - { type: core.Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - IdentityConfigService.ctorParameters = function () { return [ - { type: router.Router }, - { type: ng_core.RestService } - ]; }; - /** @nocollapse */ IdentityConfigService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function IdentityConfigService_Factory() { return new IdentityConfigService(core.ɵɵinject(router.Router), core.ɵɵinject(ng_core.RestService)); }, token: IdentityConfigService, providedIn: "root" }); - return IdentityConfigService; - }()); - if (false) { - /** - * @type {?} - * @private - */ - IdentityConfigService.prototype.router; - /** - * @type {?} - * @private - */ - IdentityConfigService.prototype.restService; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/identity-config.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ɵ0 = ng_core.noop; - var IdentityConfigModule = /** @class */ (function () { - function IdentityConfigModule() { - } - IdentityConfigModule.decorators = [ - { type: core.NgModule, args: [{ - providers: [{ provide: core.APP_INITIALIZER, deps: [IdentityConfigService], useFactory: ɵ0, multi: true }], - },] } - ]; - return IdentityConfigModule; - }()); - - exports.IdentityConfigModule = IdentityConfigModule; - exports.IdentityConfigService = IdentityConfigService; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); -//# sourceMappingURL=abp-ng.identity.config.umd.js.map diff --git a/npm/ng-packs/dist/identity-config/bundles/abp-ng.identity.config.umd.js.map b/npm/ng-packs/dist/identity-config/bundles/abp-ng.identity.config.umd.js.map deleted file mode 100644 index 145e27783b2..00000000000 --- a/npm/ng-packs/dist/identity-config/bundles/abp-ng.identity.config.umd.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.identity.config.umd.js","sources":["ng://@abp/ng.identity.config/lib/services/identity-config.service.ts","ng://@abp/ng.identity.config/lib/identity-config.module.ts"],"sourcesContent":["import { addAbpRoutes, eLayoutType, RestService } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentityConfigService {\r\n constructor(private router: Router, private restService: RestService) {\r\n addAbpRoutes([\r\n {\r\n name: 'AbpUiNavigation::Menu:Administration',\r\n path: '',\r\n order: 1,\r\n wrapper: true,\r\n iconClass: 'fa fa-wrench',\r\n },\r\n {\r\n name: 'AbpIdentity::Menu:IdentityManagement',\r\n path: 'identity',\r\n order: 1,\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-id-card-o',\r\n children: [\r\n { path: 'roles', name: 'AbpIdentity::Roles', order: 1, requiredPolicy: 'AbpIdentity.Roles' },\r\n { path: 'users', name: 'AbpIdentity::Users', order: 2, requiredPolicy: 'AbpIdentity.Users' },\r\n ],\r\n },\r\n ]);\r\n }\r\n}\r\n","import { noop } from '@abp/ng.core';\r\nimport { APP_INITIALIZER, NgModule } from '@angular/core';\r\nimport { IdentityConfigService } from './services/identity-config.service';\r\n\r\n@NgModule({\r\n providers: [{ provide: APP_INITIALIZER, deps: [IdentityConfigService], useFactory: noop, multi: true }],\r\n})\r\nexport class IdentityConfigModule {}\r\n"],"names":["addAbpRoutes","Injectable","Router","RestService","noop","NgModule","APP_INITIALIZER"],"mappings":";;;;;;;;;;;AAAA;QASE,+BAAoB,MAAc,EAAU,WAAwB;YAAhD,WAAM,GAAN,MAAM,CAAQ;YAAU,gBAAW,GAAX,WAAW,CAAa;YAClEA,oBAAY,CAAC;gBACX;oBACE,IAAI,EAAE,sCAAsC;oBAC5C,IAAI,EAAE,EAAE;oBACR,KAAK,EAAE,CAAC;oBACR,OAAO,EAAE,IAAI;oBACb,SAAS,EAAE,cAAc;iBAC1B;gBACD;oBACE,IAAI,EAAE,sCAAsC;oBAC5C,IAAI,EAAE,UAAU;oBAChB,KAAK,EAAE,CAAC;oBACR,UAAU,EAAE,sCAAsC;oBAClD,MAAM;oBACN,SAAS,EAAE,iBAAiB;oBAC5B,QAAQ,EAAE;wBACR,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,CAAC,EAAE,cAAc,EAAE,mBAAmB,EAAE;wBAC5F,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,CAAC,EAAE,cAAc,EAAE,mBAAmB,EAAE;qBAC7F;iBACF;aACF,CAAC,CAAC;SACJ;;oBA1BFC,eAAU,SAAC;wBACV,UAAU,EAAE,MAAM;qBACnB;;;;oBALQC,aAAM;oBAFqBC,mBAAW;;;oCAA/C;KAKA,IA2BC;;;;;;QAvBa,uCAAsB;;;;;QAAE,4CAAgC;;;;;;;;ICTtE,SAKqFC,YAAI;AADzF;QAAA;SAGoC;;oBAHnCC,aAAQ,SAAC;wBACR,SAAS,EAAE,CAAC,EAAE,OAAO,EAAEC,oBAAe,EAAE,IAAI,EAAE,CAAC,qBAAqB,CAAC,EAAE,UAAU,IAAM,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;qBACxG;;QACkC,2BAAC;KAHpC;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/identity-config/bundles/abp-ng.identity.config.umd.min.js b/npm/ng-packs/dist/identity-config/bundles/abp-ng.identity.config.umd.min.js deleted file mode 100644 index 6406c3f91e1..00000000000 --- a/npm/ng-packs/dist/identity-config/bundles/abp-ng.identity.config.umd.min.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@abp/ng.core"),require("@angular/core"),require("@angular/router")):"function"==typeof define&&define.amd?define("@abp/ng.identity.config",["exports","@abp/ng.core","@angular/core","@angular/router"],t):t(((e=e||self).abp=e.abp||{},e.abp.ng=e.abp.ng||{},e.abp.ng.identity=e.abp.ng.identity||{},e.abp.ng.identity.config={}),e.ng_core,e.ng.core,e.ng.router)}(this,(function(e,t,n,r){"use strict";var i=function(){function e(e,n){this.router=e,this.restService=n,t.addAbpRoutes([{name:"AbpUiNavigation::Menu:Administration",path:"",order:1,wrapper:!0,iconClass:"fa fa-wrench"},{name:"AbpIdentity::Menu:IdentityManagement",path:"identity",order:1,parentName:"AbpUiNavigation::Menu:Administration",layout:"application",iconClass:"fa fa-id-card-o",children:[{path:"roles",name:"AbpIdentity::Roles",order:1,requiredPolicy:"AbpIdentity.Roles"},{path:"users",name:"AbpIdentity::Users",order:2,requiredPolicy:"AbpIdentity.Users"}]}])}return e.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:r.Router},{type:t.RestService}]},e.ngInjectableDef=n.ɵɵdefineInjectable({factory:function(){return new e(n.ɵɵinject(r.Router),n.ɵɵinject(t.RestService))},token:e,providedIn:"root"}),e}();var o=t.noop,a=function(){function e(){}return e.decorators=[{type:n.NgModule,args:[{providers:[{provide:n.APP_INITIALIZER,deps:[i],useFactory:o,multi:!0}]}]}],e}();e.IdentityConfigModule=a,e.IdentityConfigService=i,Object.defineProperty(e,"__esModule",{value:!0})})); -//# sourceMappingURL=abp-ng.identity.config.umd.min.js.map \ No newline at end of file diff --git a/npm/ng-packs/dist/identity-config/bundles/abp-ng.identity.config.umd.min.js.map b/npm/ng-packs/dist/identity-config/bundles/abp-ng.identity.config.umd.min.js.map deleted file mode 100644 index 6d9e88ae523..00000000000 --- a/npm/ng-packs/dist/identity-config/bundles/abp-ng.identity.config.umd.min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["ng://@abp/ng.identity.config/lib/services/identity-config.service.ts","ng://@abp/ng.identity.config/lib/identity-config.module.ts"],"names":["IdentityConfigService","router","restService","this","addAbpRoutes","name","path","order","wrapper","iconClass","parentName","layout","children","requiredPolicy","Injectable","args","providedIn","Router","RestService","ɵ0","noop","IdentityConfigModule","NgModule","providers","provide","APP_INITIALIZER","deps","useFactory","multi"],"mappings":"ieAAA,IAAAA,EAAA,WASE,SAAAA,EAAoBC,EAAwBC,GAAxBC,KAAAF,OAAAA,EAAwBE,KAAAD,YAAAA,EAC1CE,EAAAA,aAAa,CACX,CACEC,KAAM,uCACNC,KAAM,GACNC,MAAO,EACPC,SAAS,EACTC,UAAW,gBAEb,CACEJ,KAAM,uCACNC,KAAM,WACNC,MAAO,EACPG,WAAY,uCACZC,OAAM,cACNF,UAAW,kBACXG,SAAU,CACR,CAAEN,KAAM,QAASD,KAAM,qBAAsBE,MAAO,EAAGM,eAAgB,qBACvE,CAAEP,KAAM,QAASD,KAAM,qBAAsBE,MAAO,EAAGM,eAAgB,oDAtBhFC,EAAAA,WAAUC,KAAA,CAAC,CACVC,WAAY,oDAJLC,EAAAA,cAF2BC,EAAAA,sKAApC,GCAA,IAAAC,EAKqFC,EAAAA,KADrFC,EAAA,WAAA,SAAAA,KAGmC,2BAHlCC,EAAAA,SAAQP,KAAA,CAAC,CACRQ,UAAW,CAAC,CAAEC,QAASC,EAAAA,gBAAiBC,KAAM,CAAC1B,GAAwB2B,WAAUR,EAAQS,OAAO,QAE/DP,EAHnC","sourcesContent":["import { addAbpRoutes, eLayoutType, RestService } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentityConfigService {\r\n constructor(private router: Router, private restService: RestService) {\r\n addAbpRoutes([\r\n {\r\n name: 'AbpUiNavigation::Menu:Administration',\r\n path: '',\r\n order: 1,\r\n wrapper: true,\r\n iconClass: 'fa fa-wrench',\r\n },\r\n {\r\n name: 'AbpIdentity::Menu:IdentityManagement',\r\n path: 'identity',\r\n order: 1,\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-id-card-o',\r\n children: [\r\n { path: 'roles', name: 'AbpIdentity::Roles', order: 1, requiredPolicy: 'AbpIdentity.Roles' },\r\n { path: 'users', name: 'AbpIdentity::Users', order: 2, requiredPolicy: 'AbpIdentity.Users' },\r\n ],\r\n },\r\n ]);\r\n }\r\n}\r\n","import { noop } from '@abp/ng.core';\r\nimport { APP_INITIALIZER, NgModule } from '@angular/core';\r\nimport { IdentityConfigService } from './services/identity-config.service';\r\n\r\n@NgModule({\r\n providers: [{ provide: APP_INITIALIZER, deps: [IdentityConfigService], useFactory: noop, multi: true }],\r\n})\r\nexport class IdentityConfigModule {}\r\n"]} \ No newline at end of file diff --git a/npm/ng-packs/dist/identity-config/esm2015/abp-ng.identity.config.js b/npm/ng-packs/dist/identity-config/esm2015/abp-ng.identity.config.js deleted file mode 100644 index e05ade1bdaa..00000000000 --- a/npm/ng-packs/dist/identity-config/esm2015/abp-ng.identity.config.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.identity.config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { IdentityConfigService, IdentityConfigModule } from './public-api'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLmlkZW50aXR5LmNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuaWRlbnRpdHkuY29uZmlnLyIsInNvdXJjZXMiOlsiYWJwLW5nLmlkZW50aXR5LmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLDREQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/identity-config/esm2015/lib/identity-config.module.js b/npm/ng-packs/dist/identity-config/esm2015/lib/identity-config.module.js deleted file mode 100644 index c9cc9c2a923..00000000000 --- a/npm/ng-packs/dist/identity-config/esm2015/lib/identity-config.module.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/identity-config.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { noop } from '@abp/ng.core'; -import { APP_INITIALIZER, NgModule } from '@angular/core'; -import { IdentityConfigService } from './services/identity-config.service'; -const ɵ0 = noop; -export class IdentityConfigModule { -} -IdentityConfigModule.decorators = [ - { type: NgModule, args: [{ - providers: [{ provide: APP_INITIALIZER, deps: [IdentityConfigService], useFactory: ɵ0, multi: true }], - },] } -]; -export { ɵ0 }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHktY29uZmlnLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuaWRlbnRpdHkuY29uZmlnLyIsInNvdXJjZXMiOlsibGliL2lkZW50aXR5LWNvbmZpZy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ3BDLE9BQU8sRUFBRSxlQUFlLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFELE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLG9DQUFvQyxDQUFDO1dBR1UsSUFBSTtBQUV6RixNQUFNLE9BQU8sb0JBQW9COzs7WUFIaEMsUUFBUSxTQUFDO2dCQUNSLFNBQVMsRUFBRSxDQUFDLEVBQUUsT0FBTyxFQUFFLGVBQWUsRUFBRSxJQUFJLEVBQUUsQ0FBQyxxQkFBcUIsQ0FBQyxFQUFFLFVBQVUsSUFBTSxFQUFFLEtBQUssRUFBRSxJQUFJLEVBQUUsQ0FBQzthQUN4RyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IG5vb3AgfSBmcm9tICdAYWJwL25nLmNvcmUnO1xyXG5pbXBvcnQgeyBBUFBfSU5JVElBTElaRVIsIE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IElkZW50aXR5Q29uZmlnU2VydmljZSB9IGZyb20gJy4vc2VydmljZXMvaWRlbnRpdHktY29uZmlnLnNlcnZpY2UnO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBwcm92aWRlcnM6IFt7IHByb3ZpZGU6IEFQUF9JTklUSUFMSVpFUiwgZGVwczogW0lkZW50aXR5Q29uZmlnU2VydmljZV0sIHVzZUZhY3Rvcnk6IG5vb3AsIG11bHRpOiB0cnVlIH1dLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgSWRlbnRpdHlDb25maWdNb2R1bGUge31cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/identity-config/esm2015/lib/services/identity-config.service.js b/npm/ng-packs/dist/identity-config/esm2015/lib/services/identity-config.service.js deleted file mode 100644 index 914fc120d26..00000000000 --- a/npm/ng-packs/dist/identity-config/esm2015/lib/services/identity-config.service.js +++ /dev/null @@ -1,66 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/identity-config.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { addAbpRoutes, RestService } from '@abp/ng.core'; -import { Injectable } from '@angular/core'; -import { Router } from '@angular/router'; -import * as i0 from "@angular/core"; -import * as i1 from "@angular/router"; -import * as i2 from "@abp/ng.core"; -export class IdentityConfigService { - /** - * @param {?} router - * @param {?} restService - */ - constructor(router, restService) { - this.router = router; - this.restService = restService; - addAbpRoutes([ - { - name: 'AbpUiNavigation::Menu:Administration', - path: '', - order: 1, - wrapper: true, - iconClass: 'fa fa-wrench', - }, - { - name: 'AbpIdentity::Menu:IdentityManagement', - path: 'identity', - order: 1, - parentName: 'AbpUiNavigation::Menu:Administration', - layout: "application" /* application */, - iconClass: 'fa fa-id-card-o', - children: [ - { path: 'roles', name: 'AbpIdentity::Roles', order: 1, requiredPolicy: 'AbpIdentity.Roles' }, - { path: 'users', name: 'AbpIdentity::Users', order: 2, requiredPolicy: 'AbpIdentity.Users' }, - ], - }, - ]); - } -} -IdentityConfigService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -IdentityConfigService.ctorParameters = () => [ - { type: Router }, - { type: RestService } -]; -/** @nocollapse */ IdentityConfigService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function IdentityConfigService_Factory() { return new IdentityConfigService(i0.ɵɵinject(i1.Router), i0.ɵɵinject(i2.RestService)); }, token: IdentityConfigService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - IdentityConfigService.prototype.router; - /** - * @type {?} - * @private - */ - IdentityConfigService.prototype.restService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHktY29uZmlnLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmlkZW50aXR5LmNvbmZpZy8iLCJzb3VyY2VzIjpbImxpYi9zZXJ2aWNlcy9pZGVudGl0eS1jb25maWcuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQWUsV0FBVyxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ3RFLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGlCQUFpQixDQUFDOzs7O0FBTXpDLE1BQU0sT0FBTyxxQkFBcUI7Ozs7O0lBQ2hDLFlBQW9CLE1BQWMsRUFBVSxXQUF3QjtRQUFoRCxXQUFNLEdBQU4sTUFBTSxDQUFRO1FBQVUsZ0JBQVcsR0FBWCxXQUFXLENBQWE7UUFDbEUsWUFBWSxDQUFDO1lBQ1g7Z0JBQ0UsSUFBSSxFQUFFLHNDQUFzQ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ZTogJ0FicElkZW50aXR5OjpVc2VycycsIG9yZGVyOiAyLCByZXF1aXJlZFBvbGljeTogJ0FicElkZW50aXR5LlVzZXJzJyB9LFxyXG4gICAgICAgIF0sXHJcbiAgICAgIH0sXHJcbiAgICBdKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/identity-config/esm2015/public-api.js b/npm/ng-packs/dist/identity-config/esm2015/public-api.js deleted file mode 100644 index dcc5542a488..00000000000 --- a/npm/ng-packs/dist/identity-config/esm2015/public-api.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { IdentityConfigService } from './lib/services/identity-config.service'; -export { IdentityConfigModule } from './lib/identity-config.module'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuaWRlbnRpdHkuY29uZmlnLyIsInNvdXJjZXMiOlsicHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHNDQUFjLHdDQUF3QyxDQUFDO0FBQ3ZELHFDQUFjLDhCQUE4QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvc2VydmljZXMvaWRlbnRpdHktY29uZmlnLnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9pZGVudGl0eS1jb25maWcubW9kdWxlJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/identity-config/esm5/abp-ng.identity.config.js b/npm/ng-packs/dist/identity-config/esm5/abp-ng.identity.config.js deleted file mode 100644 index e05ade1bdaa..00000000000 --- a/npm/ng-packs/dist/identity-config/esm5/abp-ng.identity.config.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.identity.config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { IdentityConfigService, IdentityConfigModule } from './public-api'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLmlkZW50aXR5LmNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuaWRlbnRpdHkuY29uZmlnLyIsInNvdXJjZXMiOlsiYWJwLW5nLmlkZW50aXR5LmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLDREQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/identity-config/esm5/lib/identity-config.module.js b/npm/ng-packs/dist/identity-config/esm5/lib/identity-config.module.js deleted file mode 100644 index 83662e30d0d..00000000000 --- a/npm/ng-packs/dist/identity-config/esm5/lib/identity-config.module.js +++ /dev/null @@ -1,22 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/identity-config.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { noop } from '@abp/ng.core'; -import { APP_INITIALIZER, NgModule } from '@angular/core'; -import { IdentityConfigService } from './services/identity-config.service'; -var ɵ0 = noop; -var IdentityConfigModule = /** @class */ (function () { - function IdentityConfigModule() { - } - IdentityConfigModule.decorators = [ - { type: NgModule, args: [{ - providers: [{ provide: APP_INITIALIZER, deps: [IdentityConfigService], useFactory: ɵ0, multi: true }], - },] } - ]; - return IdentityConfigModule; -}()); -export { IdentityConfigModule }; -export { ɵ0 }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHktY29uZmlnLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuaWRlbnRpdHkuY29uZmlnLyIsInNvdXJjZXMiOlsibGliL2lkZW50aXR5LWNvbmZpZy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ3BDLE9BQU8sRUFBRSxlQUFlLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFELE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLG9DQUFvQyxDQUFDO1NBR1UsSUFBSTtBQUR6RjtJQUFBO0lBR21DLENBQUM7O2dCQUhuQyxRQUFRLFNBQUM7b0JBQ1IsU0FBUyxFQUFFLENBQUMsRUFBRSxPQUFPLEVBQUUsZUFBZSxFQUFFLElBQUksRUFBRSxDQUFDLHFCQUFxQixDQUFDLEVBQUUsVUFBVSxJQUFNLEVBQUUsS0FBSyxFQUFFLElBQUksRUFBRSxDQUFDO2lCQUN4Rzs7SUFDa0MsMkJBQUM7Q0FBQSxBQUhwQyxJQUdvQztTQUF2QixvQkFBb0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBub29wIH0gZnJvbSAnQGFicC9uZy5jb3JlJztcclxuaW1wb3J0IHsgQVBQX0lOSVRJQUxJWkVSLCBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBJZGVudGl0eUNvbmZpZ1NlcnZpY2UgfSBmcm9tICcuL3NlcnZpY2VzL2lkZW50aXR5LWNvbmZpZy5zZXJ2aWNlJztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgcHJvdmlkZXJzOiBbeyBwcm92aWRlOiBBUFBfSU5JVElBTElaRVIsIGRlcHM6IFtJZGVudGl0eUNvbmZpZ1NlcnZpY2VdLCB1c2VGYWN0b3J5OiBub29wLCBtdWx0aTogdHJ1ZSB9XSxcclxufSlcclxuZXhwb3J0IGNsYXNzIElkZW50aXR5Q29uZmlnTW9kdWxlIHt9XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/identity-config/esm5/lib/services/identity-config.service.js b/npm/ng-packs/dist/identity-config/esm5/lib/services/identity-config.service.js deleted file mode 100644 index b242ec29679..00000000000 --- a/npm/ng-packs/dist/identity-config/esm5/lib/services/identity-config.service.js +++ /dev/null @@ -1,64 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/identity-config.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { addAbpRoutes, RestService } from '@abp/ng.core'; -import { Injectable } from '@angular/core'; -import { Router } from '@angular/router'; -import * as i0 from "@angular/core"; -import * as i1 from "@angular/router"; -import * as i2 from "@abp/ng.core"; -var IdentityConfigService = /** @class */ (function () { - function IdentityConfigService(router, restService) { - this.router = router; - this.restService = restService; - addAbpRoutes([ - { - name: 'AbpUiNavigation::Menu:Administration', - path: '', - order: 1, - wrapper: true, - iconClass: 'fa fa-wrench', - }, - { - name: 'AbpIdentity::Menu:IdentityManagement', - path: 'identity', - order: 1, - parentName: 'AbpUiNavigation::Menu:Administration', - layout: "application" /* application */, - iconClass: 'fa fa-id-card-o', - children: [ - { path: 'roles', name: 'AbpIdentity::Roles', order: 1, requiredPolicy: 'AbpIdentity.Roles' }, - { path: 'users', name: 'AbpIdentity::Users', order: 2, requiredPolicy: 'AbpIdentity.Users' }, - ], - }, - ]); - } - IdentityConfigService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - IdentityConfigService.ctorParameters = function () { return [ - { type: Router }, - { type: RestService } - ]; }; - /** @nocollapse */ IdentityConfigService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function IdentityConfigService_Factory() { return new IdentityConfigService(i0.ɵɵinject(i1.Router), i0.ɵɵinject(i2.RestService)); }, token: IdentityConfigService, providedIn: "root" }); - return IdentityConfigService; -}()); -export { IdentityConfigService }; -if (false) { - /** - * @type {?} - * @private - */ - IdentityConfigService.prototype.router; - /** - * @type {?} - * @private - */ - IdentityConfigService.prototype.restService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHktY29uZmlnLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmlkZW50aXR5LmNvbmZpZy8iLCJzb3VyY2VzIjpbImxpYi9zZXJ2aWNlcy9pZGVudGl0eS1jb25maWcuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQWUsV0FBVyxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ3RFLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGlCQUFpQixDQUFDOzs7O0FBR3pDO0lBSUUsK0JBQW9CLE1BQWMsRUFBVSxXQUF3QjtRQUFoRCxXQUFNLEdBQU4sTUFBTSxDQUFRO1FBQVUsZ0JBQVcsR0FBWCxXQUFXLENBQWE7UUFDbEUsWUFBWSxDQUFDO1lBQ1g7Z0JBQ0UsSUFBSSxFQUFFLHNDQUFzQztnQkFDNUMsSUFBSSxFQUFFLEVBQUU7Z0JBQ1IsS0FBSyxFQUFFLENBQUM7Z0JBQ1IsT0FBTyxFQUFFLElBQUk7Z0JBQ2IsU0FBUyxFQUFFLGNBQWM7YUFDMUI7WUFDRDtnQkFDRSxJQUFJLEVBQUUsc0NBQXNDO2dCQ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ICAgfSxcclxuICAgIF0pO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/identity-config/esm5/public-api.js b/npm/ng-packs/dist/identity-config/esm5/public-api.js deleted file mode 100644 index dcc5542a488..00000000000 --- a/npm/ng-packs/dist/identity-config/esm5/public-api.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { IdentityConfigService } from './lib/services/identity-config.service'; -export { IdentityConfigModule } from './lib/identity-config.module'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuaWRlbnRpdHkuY29uZmlnLyIsInNvdXJjZXMiOlsicHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHNDQUFjLHdDQUF3QyxDQUFDO0FBQ3ZELHFDQUFjLDhCQUE4QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvc2VydmljZXMvaWRlbnRpdHktY29uZmlnLnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9pZGVudGl0eS1jb25maWcubW9kdWxlJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/identity-config/fesm2015/abp-ng.identity.config.js b/npm/ng-packs/dist/identity-config/fesm2015/abp-ng.identity.config.js deleted file mode 100644 index fdc986b3357..00000000000 --- a/npm/ng-packs/dist/identity-config/fesm2015/abp-ng.identity.config.js +++ /dev/null @@ -1,92 +0,0 @@ -import { addAbpRoutes, RestService, noop } from '@abp/ng.core'; -import { Injectable, ɵɵdefineInjectable, ɵɵinject, NgModule, APP_INITIALIZER } from '@angular/core'; -import { Router } from '@angular/router'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/identity-config.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class IdentityConfigService { - /** - * @param {?} router - * @param {?} restService - */ - constructor(router, restService) { - this.router = router; - this.restService = restService; - addAbpRoutes([ - { - name: 'AbpUiNavigation::Menu:Administration', - path: '', - order: 1, - wrapper: true, - iconClass: 'fa fa-wrench', - }, - { - name: 'AbpIdentity::Menu:IdentityManagement', - path: 'identity', - order: 1, - parentName: 'AbpUiNavigation::Menu:Administration', - layout: "application" /* application */, - iconClass: 'fa fa-id-card-o', - children: [ - { path: 'roles', name: 'AbpIdentity::Roles', order: 1, requiredPolicy: 'AbpIdentity.Roles' }, - { path: 'users', name: 'AbpIdentity::Users', order: 2, requiredPolicy: 'AbpIdentity.Users' }, - ], - }, - ]); - } -} -IdentityConfigService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -IdentityConfigService.ctorParameters = () => [ - { type: Router }, - { type: RestService } -]; -/** @nocollapse */ IdentityConfigService.ngInjectableDef = ɵɵdefineInjectable({ factory: function IdentityConfigService_Factory() { return new IdentityConfigService(ɵɵinject(Router), ɵɵinject(RestService)); }, token: IdentityConfigService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - IdentityConfigService.prototype.router; - /** - * @type {?} - * @private - */ - IdentityConfigService.prototype.restService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/identity-config.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -const ɵ0 = noop; -class IdentityConfigModule { -} -IdentityConfigModule.decorators = [ - { type: NgModule, args: [{ - providers: [{ provide: APP_INITIALIZER, deps: [IdentityConfigService], useFactory: ɵ0, multi: true }], - },] } -]; - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.identity.config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { IdentityConfigModule, IdentityConfigService }; -//# sourceMappingURL=abp-ng.identity.config.js.map diff --git a/npm/ng-packs/dist/identity-config/fesm2015/abp-ng.identity.config.js.map b/npm/ng-packs/dist/identity-config/fesm2015/abp-ng.identity.config.js.map deleted file mode 100644 index c446b64bf82..00000000000 --- a/npm/ng-packs/dist/identity-config/fesm2015/abp-ng.identity.config.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.identity.config.js","sources":["ng://@abp/ng.identity.config/lib/services/identity-config.service.ts","ng://@abp/ng.identity.config/lib/identity-config.module.ts"],"sourcesContent":["import { addAbpRoutes, eLayoutType, RestService } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentityConfigService {\r\n constructor(private router: Router, private restService: RestService) {\r\n addAbpRoutes([\r\n {\r\n name: 'AbpUiNavigation::Menu:Administration',\r\n path: '',\r\n order: 1,\r\n wrapper: true,\r\n iconClass: 'fa fa-wrench',\r\n },\r\n {\r\n name: 'AbpIdentity::Menu:IdentityManagement',\r\n path: 'identity',\r\n order: 1,\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-id-card-o',\r\n children: [\r\n { path: 'roles', name: 'AbpIdentity::Roles', order: 1, requiredPolicy: 'AbpIdentity.Roles' },\r\n { path: 'users', name: 'AbpIdentity::Users', order: 2, requiredPolicy: 'AbpIdentity.Users' },\r\n ],\r\n },\r\n ]);\r\n }\r\n}\r\n","import { noop } from '@abp/ng.core';\r\nimport { APP_INITIALIZER, NgModule } from '@angular/core';\r\nimport { IdentityConfigService } from './services/identity-config.service';\r\n\r\n@NgModule({\r\n providers: [{ provide: APP_INITIALIZER, deps: [IdentityConfigService], useFactory: noop, multi: true }],\r\n})\r\nexport class IdentityConfigModule {}\r\n"],"names":[],"mappings":";;;;;;;;;AAAA,MAQa,qBAAqB;;;;;IAChC,YAAoB,MAAc,EAAU,WAAwB;QAAhD,WAAM,GAAN,MAAM,CAAQ;QAAU,gBAAW,GAAX,WAAW,CAAa;QAClE,YAAY,CAAC;YACX;gBACE,IAAI,EAAE,sCAAsC;gBAC5C,IAAI,EAAE,EAAE;gBACR,KAAK,EAAE,CAAC;gBACR,OAAO,EAAE,IAAI;gBACb,SAAS,EAAE,cAAc;aAC1B;YACD;gBACE,IAAI,EAAE,sCAAsC;gBAC5C,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,CAAC;gBACR,UAAU,EAAE,sCAAsC;gBAClD,MAAM;gBACN,SAAS,EAAE,iBAAiB;gBAC5B,QAAQ,EAAE;oBACR,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,CAAC,EAAE,cAAc,EAAE,mBAAmB,EAAE;oBAC5F,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,CAAC,EAAE,cAAc,EAAE,mBAAmB,EAAE;iBAC7F;aACF;SACF,CAAC,CAAC;KACJ;;;YA1BF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;;;;YALQ,MAAM;YAFqB,WAAW;;;;;;;;IASjC,uCAAsB;;;;;IAAE,4CAAgC;;;;;;;;ACTtE,WAKqF,IAAI;AAEzF,MAAa,oBAAoB;;;YAHhC,QAAQ,SAAC;gBACR,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,qBAAqB,CAAC,EAAE,UAAU,IAAM,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;aACxG;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/identity-config/fesm5/abp-ng.identity.config.js b/npm/ng-packs/dist/identity-config/fesm5/abp-ng.identity.config.js deleted file mode 100644 index ea8cb9286e6..00000000000 --- a/npm/ng-packs/dist/identity-config/fesm5/abp-ng.identity.config.js +++ /dev/null @@ -1,92 +0,0 @@ -import { addAbpRoutes, RestService, noop } from '@abp/ng.core'; -import { Injectable, ɵɵdefineInjectable, ɵɵinject, NgModule, APP_INITIALIZER } from '@angular/core'; -import { Router } from '@angular/router'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/identity-config.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var IdentityConfigService = /** @class */ (function () { - function IdentityConfigService(router, restService) { - this.router = router; - this.restService = restService; - addAbpRoutes([ - { - name: 'AbpUiNavigation::Menu:Administration', - path: '', - order: 1, - wrapper: true, - iconClass: 'fa fa-wrench', - }, - { - name: 'AbpIdentity::Menu:IdentityManagement', - path: 'identity', - order: 1, - parentName: 'AbpUiNavigation::Menu:Administration', - layout: "application" /* application */, - iconClass: 'fa fa-id-card-o', - children: [ - { path: 'roles', name: 'AbpIdentity::Roles', order: 1, requiredPolicy: 'AbpIdentity.Roles' }, - { path: 'users', name: 'AbpIdentity::Users', order: 2, requiredPolicy: 'AbpIdentity.Users' }, - ], - }, - ]); - } - IdentityConfigService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - IdentityConfigService.ctorParameters = function () { return [ - { type: Router }, - { type: RestService } - ]; }; - /** @nocollapse */ IdentityConfigService.ngInjectableDef = ɵɵdefineInjectable({ factory: function IdentityConfigService_Factory() { return new IdentityConfigService(ɵɵinject(Router), ɵɵinject(RestService)); }, token: IdentityConfigService, providedIn: "root" }); - return IdentityConfigService; -}()); -if (false) { - /** - * @type {?} - * @private - */ - IdentityConfigService.prototype.router; - /** - * @type {?} - * @private - */ - IdentityConfigService.prototype.restService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/identity-config.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ɵ0 = noop; -var IdentityConfigModule = /** @class */ (function () { - function IdentityConfigModule() { - } - IdentityConfigModule.decorators = [ - { type: NgModule, args: [{ - providers: [{ provide: APP_INITIALIZER, deps: [IdentityConfigService], useFactory: ɵ0, multi: true }], - },] } - ]; - return IdentityConfigModule; -}()); - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.identity.config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { IdentityConfigModule, IdentityConfigService }; -//# sourceMappingURL=abp-ng.identity.config.js.map diff --git a/npm/ng-packs/dist/identity-config/fesm5/abp-ng.identity.config.js.map b/npm/ng-packs/dist/identity-config/fesm5/abp-ng.identity.config.js.map deleted file mode 100644 index da3fd9d5536..00000000000 --- a/npm/ng-packs/dist/identity-config/fesm5/abp-ng.identity.config.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.identity.config.js","sources":["ng://@abp/ng.identity.config/lib/services/identity-config.service.ts","ng://@abp/ng.identity.config/lib/identity-config.module.ts"],"sourcesContent":["import { addAbpRoutes, eLayoutType, RestService } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentityConfigService {\r\n constructor(private router: Router, private restService: RestService) {\r\n addAbpRoutes([\r\n {\r\n name: 'AbpUiNavigation::Menu:Administration',\r\n path: '',\r\n order: 1,\r\n wrapper: true,\r\n iconClass: 'fa fa-wrench',\r\n },\r\n {\r\n name: 'AbpIdentity::Menu:IdentityManagement',\r\n path: 'identity',\r\n order: 1,\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-id-card-o',\r\n children: [\r\n { path: 'roles', name: 'AbpIdentity::Roles', order: 1, requiredPolicy: 'AbpIdentity.Roles' },\r\n { path: 'users', name: 'AbpIdentity::Users', order: 2, requiredPolicy: 'AbpIdentity.Users' },\r\n ],\r\n },\r\n ]);\r\n }\r\n}\r\n","import { noop } from '@abp/ng.core';\r\nimport { APP_INITIALIZER, NgModule } from '@angular/core';\r\nimport { IdentityConfigService } from './services/identity-config.service';\r\n\r\n@NgModule({\r\n providers: [{ provide: APP_INITIALIZER, deps: [IdentityConfigService], useFactory: noop, multi: true }],\r\n})\r\nexport class IdentityConfigModule {}\r\n"],"names":[],"mappings":";;;;;;;;;AAAA;IASE,+BAAoB,MAAc,EAAU,WAAwB;QAAhD,WAAM,GAAN,MAAM,CAAQ;QAAU,gBAAW,GAAX,WAAW,CAAa;QAClE,YAAY,CAAC;YACX;gBACE,IAAI,EAAE,sCAAsC;gBAC5C,IAAI,EAAE,EAAE;gBACR,KAAK,EAAE,CAAC;gBACR,OAAO,EAAE,IAAI;gBACb,SAAS,EAAE,cAAc;aAC1B;YACD;gBACE,IAAI,EAAE,sCAAsC;gBAC5C,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,CAAC;gBACR,UAAU,EAAE,sCAAsC;gBAClD,MAAM;gBACN,SAAS,EAAE,iBAAiB;gBAC5B,QAAQ,EAAE;oBACR,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,CAAC,EAAE,cAAc,EAAE,mBAAmB,EAAE;oBAC5F,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,CAAC,EAAE,cAAc,EAAE,mBAAmB,EAAE;iBAC7F;aACF;SACF,CAAC,CAAC;KACJ;;gBA1BF,UAAU,SAAC;oBACV,UAAU,EAAE,MAAM;iBACnB;;;;gBALQ,MAAM;gBAFqB,WAAW;;;gCAA/C;CAKA,IA2BC;;;;;;IAvBa,uCAAsB;;;;;IAAE,4CAAgC;;;;;;;;ACTtE,SAKqF,IAAI;AADzF;IAAA;KAGoC;;gBAHnC,QAAQ,SAAC;oBACR,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,qBAAqB,CAAC,EAAE,UAAU,IAAM,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;iBACxG;;IACkC,2BAAC;CAHpC;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/identity-config/lib/identity-config.module.d.ts b/npm/ng-packs/dist/identity-config/lib/identity-config.module.d.ts deleted file mode 100644 index e5f9b10415d..00000000000 --- a/npm/ng-packs/dist/identity-config/lib/identity-config.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class IdentityConfigModule { -} diff --git a/npm/ng-packs/dist/identity-config/lib/services/identity-config.service.d.ts b/npm/ng-packs/dist/identity-config/lib/services/identity-config.service.d.ts deleted file mode 100644 index e4f348cd66b..00000000000 --- a/npm/ng-packs/dist/identity-config/lib/services/identity-config.service.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { RestService } from '@abp/ng.core'; -import { Router } from '@angular/router'; -export declare class IdentityConfigService { - private router; - private restService; - constructor(router: Router, restService: RestService); -} diff --git a/npm/ng-packs/dist/identity-config/package.json b/npm/ng-packs/dist/identity-config/package.json deleted file mode 100644 index 7ce02f03a4f..00000000000 --- a/npm/ng-packs/dist/identity-config/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "@abp/ng.identity.config", - "version": "1.1.0", - "publishConfig": { - "access": "public" - }, - "main": "bundles/abp-ng.identity.config.umd.js", - "module": "fesm5/abp-ng.identity.config.js", - "es2015": "fesm2015/abp-ng.identity.config.js", - "esm5": "esm5/abp-ng.identity.config.js", - "esm2015": "esm2015/abp-ng.identity.config.js", - "fesm5": "fesm5/abp-ng.identity.config.js", - "fesm2015": "fesm2015/abp-ng.identity.config.js", - "typings": "abp-ng.identity.config.d.ts", - "metadata": "abp-ng.identity.config.metadata.json", - "sideEffects": false, - "dependencies": { - "tslib": "^1.9.0" - }, - "gitHead": "42d9eb857fca97c046ebac4286b6831c8b8c1887" -} diff --git a/npm/ng-packs/dist/identity-config/public-api.d.ts b/npm/ng-packs/dist/identity-config/public-api.d.ts deleted file mode 100644 index e7026532113..00000000000 --- a/npm/ng-packs/dist/identity-config/public-api.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './lib/services/identity-config.service'; -export * from './lib/identity-config.module'; diff --git a/npm/ng-packs/dist/identity/README.md b/npm/ng-packs/dist/identity/README.md deleted file mode 100644 index 9f56af796a9..00000000000 --- a/npm/ng-packs/dist/identity/README.md +++ /dev/null @@ -1,3 +0,0 @@ -

@abp/ng.identity

- -[docs.abp.io](https://docs.abp.io) diff --git a/npm/ng-packs/dist/identity/abp-ng.identity.d.ts b/npm/ng-packs/dist/identity/abp-ng.identity.d.ts deleted file mode 100644 index 10516195cee..00000000000 --- a/npm/ng-packs/dist/identity/abp-ng.identity.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Generated bundle index. Do not edit. - */ -export * from './public-api'; -export { UsersComponent as ɵb } from './lib/components/users/users.component'; -export { IdentityRoutingModule as ɵc } from './lib/identity-routing.module'; -export { Identity as ɵa } from './lib/models/identity'; diff --git a/npm/ng-packs/dist/identity/abp-ng.identity.metadata.json b/npm/ng-packs/dist/identity/abp-ng.identity.metadata.json deleted file mode 100644 index d4c4bfd9f32..00000000000 --- a/npm/ng-packs/dist/identity/abp-ng.identity.metadata.json +++ /dev/null @@ -1 +0,0 @@ -{"__symbolic":"module","version":4,"exports":[{"from":"./lib/models/identity"}],"metadata":{"IdentityModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":13,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"RolesComponent"},{"__symbolic":"reference","name":"ɵb"}],"imports":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"NgxsModule","line":16,"character":4},"member":"forFeature"},"arguments":[[{"__symbolic":"reference","name":"IdentityState"}]]},{"__symbolic":"reference","module":"@abp/ng.core","name":"CoreModule","line":17,"character":4},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","module":"@ng-bootstrap/ng-bootstrap","name":"NgbTabsetModule","line":19,"character":4},{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ThemeSharedModule","line":20,"character":4},{"__symbolic":"reference","module":"primeng/table","name":"TableModule","line":21,"character":4},{"__symbolic":"reference","module":"@ng-bootstrap/ng-bootstrap","name":"NgbDropdownModule","line":22,"character":4},{"__symbolic":"reference","module":"@abp/ng.permission-management","name":"PermissionManagementModule","line":23,"character":4},{"__symbolic":"reference","module":"@ngx-validate/core","name":"NgxValidateCoreModule","line":24,"character":4}]}]}],"members":{}},"IdentityProviders":{"__symbolic":"function","parameters":[],"value":[]},"GetRoles":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@abp/ng.core","name":"ABP","line":5,"character":31},"member":"PageQueryParams"}]}]},"statics":{"type":"[Identity] Get Roles"}},"GetRoleById":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]},"statics":{"type":"[Identity] Get Role By Id"}},"DeleteRole":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]},"statics":{"type":"[Identity] Delete Role"}},"CreateRole":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵa"},"member":"RoleSaveRequest"}]}]},"statics":{"type":"[Identity] Create Role"}},"UpdateRole":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵa"},"member":"RoleItem"}]}]},"statics":{"type":"[Identity] Update Role"}},"GetUsers":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@abp/ng.core","name":"ABP","line":30,"character":31},"member":"PageQueryParams"}]}]},"statics":{"type":"[Identity] Get Users"}},"GetUserById":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]},"statics":{"type":"[Identity] Get User By Id"}},"DeleteUser":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]},"statics":{"type":"[Identity] Delete User"}},"CreateUser":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵa"},"member":"UserSaveRequest"}]}]},"statics":{"type":"[Identity] Create User"}},"UpdateUser":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":50,"character":30,"module":"./lib/actions/identity.actions"}]}]},"statics":{"type":"[Identity] Update User"}},"GetUserRoles":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]},"statics":{"type":"[Identity] Get User Roles"}},"RolesComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":17,"character":1},"arguments":[{"selector":"abp-roles","template":"
\r\n
\r\n
\r\n
\r\n
{{ 'AbpIdentity::Roles' | abpLocalization }}
\r\n
\r\n
\r\n \r\n \r\n {{ 'AbpIdentity::NewRole' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n {{ 'AbpIdentity::RoleName' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n
\r\n \r\n {{ 'AbpIdentity::Edit' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpIdentity::Permissions' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpIdentity::Delete' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n \r\n {{ data.name\r\n }}{{\r\n 'AbpIdentity::DisplayName:IsDefault' | abpLocalization\r\n }}\r\n {{\r\n 'AbpIdentity::DisplayName:IsPublic' | abpLocalization\r\n }}\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n

{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewRole') | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n\r\n"}]}],"members":{"data$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Select","line":22,"character":3},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"IdentityState"},"member":"getRoles"}]}]}],"totalCount$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Select","line":25,"character":3},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"IdentityState"},"member":"getRolesTotalCount"}]}]}],"formRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":48,"character":3},"arguments":["formRef",{"static":false,"read":{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":48,"character":47}}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ConfirmationService","line":52,"character":33},{"__symbolic":"reference","module":"@angular/forms","name":"FormBuilder","line":53,"character":16},{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":54,"character":19}]}],"ngOnInit":[{"__symbolic":"method"}],"createForm":[{"__symbolic":"method"}],"openModal":[{"__symbolic":"method"}],"add":[{"__symbolic":"method"}],"edit":[{"__symbolic":"method"}],"save":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}],"onPageChange":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"onClickSaveButton":[{"__symbolic":"method"}]}},"IDENTITY_ROUTES":{"routes":[{"name":"AbpUiNavigation::Menu:Administration","path":"","order":1,"wrapper":true},{"name":"AbpIdentity::Menu:IdentityManagement","path":"identity","order":1,"parentName":"AbpUiNavigation::Menu:Administration","layout":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@abp/ng.core","name":"eLayoutType","line":19,"character":14},"member":"application"},"iconClass":"fa fa-id-card-o","children":[{"path":"roles","name":"AbpIdentity::Roles","order":2,"requiredPolicy":"AbpIdentity.Roles"},{"path":"users","name":"AbpIdentity::Users","order":1,"requiredPolicy":"AbpIdentity.Users"}]}]},"IdentityService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@abp/ng.core","name":"RestService","line":9,"character":28}]}],"getRoles":[{"__symbolic":"method"}],"getRoleById":[{"__symbolic":"method"}],"deleteRole":[{"__symbolic":"method"}],"createRole":[{"__symbolic":"method"}],"updateRole":[{"__symbolic":"method"}],"getUsers":[{"__symbolic":"method"}],"getUserById":[{"__symbolic":"method"}],"getUserRoles":[{"__symbolic":"method"}],"deleteUser":[{"__symbolic":"method"}],"createUser":[{"__symbolic":"method"}],"updateUser":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"IdentityState":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"State","line":18,"character":1},"arguments":[{"name":"IdentityState","defaults":{"roles":{},"selectedRole":{},"users":{},"selectedUser":{}}}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"IdentityService"}]}],"getRoles":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":45,"character":3},"arguments":[{"__symbolic":"reference","name":"GetRoles"}]}]}],"getRole":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":56,"character":3},"arguments":[{"__symbolic":"reference","name":"GetRoleById"}]}]}],"deleteRole":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":67,"character":3},"arguments":[{"__symbolic":"reference","name":"DeleteRole"}]}]}],"addRole":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":72,"character":3},"arguments":[{"__symbolic":"reference","name":"CreateRole"}]}]}],"updateRole":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":77,"character":3},"arguments":[{"__symbolic":"reference","name":"UpdateRole"}]}]}],"getUsers":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":82,"character":3},"arguments":[{"__symbolic":"reference","name":"GetUsers"}]}]}],"getUser":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":93,"character":3},"arguments":[{"__symbolic":"reference","name":"GetUserById"}]}]}],"deleteUser":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":104,"character":3},"arguments":[{"__symbolic":"reference","name":"DeleteUser"}]}]}],"addUser":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":109,"character":3},"arguments":[{"__symbolic":"reference","name":"CreateUser"}]}]}],"updateUser":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":114,"character":3},"arguments":[{"__symbolic":"reference","name":"UpdateUser"}]}]}],"getUserRoles":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":119,"character":3},"arguments":[{"__symbolic":"reference","name":"GetUserRoles"}]}]}]},"statics":{"getRoles":{"__symbolic":"function","parameters":["roles"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"roles"},"member":"items"},"right":[]}},"getRolesTotalCount":{"__symbolic":"function","parameters":["roles"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"roles"},"member":"totalCount"},"right":0}},"getUsers":{"__symbolic":"function","parameters":["users"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"users"},"member":"items"},"right":[]}},"getUsersTotalCount":{"__symbolic":"function","parameters":["users"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"users"},"member":"totalCount"},"right":0}}}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":27,"character":1},"arguments":[{"selector":"abp-users","template":"
\r\n
\r\n
\r\n
\r\n
{{ 'AbpIdentity::Users' | abpLocalization }}
\r\n
\r\n
\r\n \r\n {{ 'AbpIdentity::NewUser' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n {{ 'AbpIdentity::UserName' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n {{ 'AbpIdentity::EmailAddress' | abpLocalization }}\r\n \r\n \r\n \r\n {{ 'AbpIdentity::PhoneNumber' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n
\r\n \r\n \r\n {{ 'AbpIdentity::Permissions' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpIdentity::Delete' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n {{ data.userName }}\r\n {{ data.email }}\r\n {{ data.phoneNumber }}\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n

{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewUser') | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n\r\n"}]}],"members":{"data$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Select","line":32,"character":3},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"IdentityState"},"member":"getUsers"}]}]}],"totalCount$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Select","line":35,"character":3},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"IdentityState"},"member":"getUsersTotalCount"}]}]}],"modalContent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":38,"character":3},"arguments":["modalContent",{"static":false}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ConfirmationService","line":76,"character":33},{"__symbolic":"reference","module":"@angular/forms","name":"FormBuilder","line":77,"character":16},{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":78,"character":19}]}],"ngOnInit":[{"__symbolic":"method"}],"onSearch":[{"__symbolic":"method"}],"buildForm":[{"__symbolic":"method"}],"openModal":[{"__symbolic":"method"}],"add":[{"__symbolic":"method"}],"edit":[{"__symbolic":"method"}],"save":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}],"onPageChange":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}]}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":27,"character":1},"arguments":[{"imports":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":28,"character":12},"member":"forChild"},"arguments":[[{"path":"","redirectTo":"roles","pathMatch":"full"},{"path":"","component":{"__symbolic":"reference","module":"@abp/ng.core","name":"DynamicLayoutComponent","line":10,"character":15},"canActivate":[{"__symbolic":"reference","module":"@abp/ng.core","name":"AuthGuard","line":11,"character":18},{"__symbolic":"reference","module":"@abp/ng.core","name":"PermissionGuard","line":11,"character":29}],"children":[{"path":"roles","component":{"__symbolic":"reference","name":"RolesComponent"},"data":{"requiredPolicy":"AbpIdentity.Roles"}},{"path":"users","component":{"__symbolic":"reference","name":"ɵb"},"data":{"requiredPolicy":"AbpIdentity.Users"}}]}]]}],"exports":[{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":29,"character":12}]}]}],"members":{}}},"origins":{"IdentityModule":"./lib/identity.module","IdentityProviders":"./lib/identity.module","GetRoles":"./lib/actions/identity.actions","GetRoleById":"./lib/actions/identity.actions","DeleteRole":"./lib/actions/identity.actions","CreateRole":"./lib/actions/identity.actions","UpdateRole":"./lib/actions/identity.actions","GetUsers":"./lib/actions/identity.actions","GetUserById":"./lib/actions/identity.actions","DeleteUser":"./lib/actions/identity.actions","CreateUser":"./lib/actions/identity.actions","UpdateUser":"./lib/actions/identity.actions","GetUserRoles":"./lib/actions/identity.actions","RolesComponent":"./lib/components/roles/roles.component","IDENTITY_ROUTES":"./lib/constants/routes","IdentityService":"./lib/services/identity.service","IdentityState":"./lib/states/identity.state","ɵa":"./lib/models/identity","ɵb":"./lib/components/users/users.component","ɵc":"./lib/identity-routing.module"},"importAs":"@abp/ng.identity"} \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/bundles/abp-ng.identity.umd.js b/npm/ng-packs/dist/identity/bundles/abp-ng.identity.umd.js deleted file mode 100644 index ab46a74c4d3..00000000000 --- a/npm/ng-packs/dist/identity/bundles/abp-ng.identity.umd.js +++ /dev/null @@ -1,1785 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@abp/ng.core'), require('@angular/core'), require('@ngxs/store'), require('@abp/ng.theme.shared'), require('@angular/forms'), require('rxjs'), require('rxjs/operators'), require('@angular/router'), require('snq'), require('@ngx-validate/core'), require('@ng-bootstrap/ng-bootstrap'), require('@abp/ng.permission-management'), require('primeng/table')) : - typeof define === 'function' && define.amd ? define('@abp/ng.identity', ['exports', '@abp/ng.core', '@angular/core', '@ngxs/store', '@abp/ng.theme.shared', '@angular/forms', 'rxjs', 'rxjs/operators', '@angular/router', 'snq', '@ngx-validate/core', '@ng-bootstrap/ng-bootstrap', '@abp/ng.permission-management', 'primeng/table'], factory) : - (global = global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng.identity = {}), global.ng_core, global.ng.core, global.store, global.ng_theme_shared, global.ng.forms, global.rxjs, global.rxjs.operators, global.ng.router, global.snq, global.core$1, global.ngBootstrap, global.ng_permissionManagement, global.table)); -}(this, (function (exports, ng_core, core, store, ng_theme_shared, forms, rxjs, operators, router, snq, core$1, ngBootstrap, ng_permissionManagement, table) { 'use strict'; - - snq = snq && snq.hasOwnProperty('default') ? snq['default'] : snq; - - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ - /* global Reflect, Promise */ - - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - - function __extends(d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - } - - var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); - }; - - function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; - } - - function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; - } - - function __param(paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } - } - - function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); - } - - function __awaiter(thisArg, _arguments, P, generator) { - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - } - - function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (_) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } - } - - function __exportStar(m, exports) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; - } - - function __values(o) { - var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0; - if (m) return m.call(o); - return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; - } - - function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; - } - - function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; - } - - function __spreadArrays() { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; - for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; - return r; - }; - - function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); - } - - function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } - } - - function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } - } - - function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); - function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } - } - - function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; - }; - - function __importStar(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result.default = mod; - return result; - } - - function __importDefault(mod) { - return (mod && mod.__esModule) ? mod : { default: mod }; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/actions/identity.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var GetRoles = /** @class */ (function () { - function GetRoles(payload) { - this.payload = payload; - } - GetRoles.type = '[Identity] Get Roles'; - return GetRoles; - }()); - if (false) { - /** @type {?} */ - GetRoles.type; - /** @type {?} */ - GetRoles.prototype.payload; - } - var GetRoleById = /** @class */ (function () { - function GetRoleById(payload) { - this.payload = payload; - } - GetRoleById.type = '[Identity] Get Role By Id'; - return GetRoleById; - }()); - if (false) { - /** @type {?} */ - GetRoleById.type; - /** @type {?} */ - GetRoleById.prototype.payload; - } - var DeleteRole = /** @class */ (function () { - function DeleteRole(payload) { - this.payload = payload; - } - DeleteRole.type = '[Identity] Delete Role'; - return DeleteRole; - }()); - if (false) { - /** @type {?} */ - DeleteRole.type; - /** @type {?} */ - DeleteRole.prototype.payload; - } - var CreateRole = /** @class */ (function () { - function CreateRole(payload) { - this.payload = payload; - } - CreateRole.type = '[Identity] Create Role'; - return CreateRole; - }()); - if (false) { - /** @type {?} */ - CreateRole.type; - /** @type {?} */ - CreateRole.prototype.payload; - } - var UpdateRole = /** @class */ (function () { - function UpdateRole(payload) { - this.payload = payload; - } - UpdateRole.type = '[Identity] Update Role'; - return UpdateRole; - }()); - if (false) { - /** @type {?} */ - UpdateRole.type; - /** @type {?} */ - UpdateRole.prototype.payload; - } - var GetUsers = /** @class */ (function () { - function GetUsers(payload) { - this.payload = payload; - } - GetUsers.type = '[Identity] Get Users'; - return GetUsers; - }()); - if (false) { - /** @type {?} */ - GetUsers.type; - /** @type {?} */ - GetUsers.prototype.payload; - } - var GetUserById = /** @class */ (function () { - function GetUserById(payload) { - this.payload = payload; - } - GetUserById.type = '[Identity] Get User By Id'; - return GetUserById; - }()); - if (false) { - /** @type {?} */ - GetUserById.type; - /** @type {?} */ - GetUserById.prototype.payload; - } - var DeleteUser = /** @class */ (function () { - function DeleteUser(payload) { - this.payload = payload; - } - DeleteUser.type = '[Identity] Delete User'; - return DeleteUser; - }()); - if (false) { - /** @type {?} */ - DeleteUser.type; - /** @type {?} */ - DeleteUser.prototype.payload; - } - var CreateUser = /** @class */ (function () { - function CreateUser(payload) { - this.payload = payload; - } - CreateUser.type = '[Identity] Create User'; - return CreateUser; - }()); - if (false) { - /** @type {?} */ - CreateUser.type; - /** @type {?} */ - CreateUser.prototype.payload; - } - var UpdateUser = /** @class */ (function () { - function UpdateUser(payload) { - this.payload = payload; - } - UpdateUser.type = '[Identity] Update User'; - return UpdateUser; - }()); - if (false) { - /** @type {?} */ - UpdateUser.type; - /** @type {?} */ - UpdateUser.prototype.payload; - } - var GetUserRoles = /** @class */ (function () { - function GetUserRoles(payload) { - this.payload = payload; - } - GetUserRoles.type = '[Identity] Get User Roles'; - return GetUserRoles; - }()); - if (false) { - /** @type {?} */ - GetUserRoles.type; - /** @type {?} */ - GetUserRoles.prototype.payload; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/identity.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var IdentityService = /** @class */ (function () { - function IdentityService(rest) { - this.rest = rest; - } - /** - * @param {?=} params - * @return {?} - */ - IdentityService.prototype.getRoles = /** - * @param {?=} params - * @return {?} - */ - function (params) { - if (params === void 0) { params = (/** @type {?} */ ({})); } - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/identity/roles', - params: params, - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - IdentityService.prototype.getRoleById = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'GET', - url: "/api/identity/roles/" + id, - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - IdentityService.prototype.deleteRole = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'DELETE', - url: "/api/identity/roles/" + id, - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - IdentityService.prototype.createRole = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var request = { - method: 'POST', - url: '/api/identity/roles', - body: body, - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - IdentityService.prototype.updateRole = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var url = "/api/identity/roles/" + body.id; - delete body.id; - /** @type {?} */ - var request = { - method: 'PUT', - url: url, - body: body, - }; - return this.rest.request(request); - }; - /** - * @param {?=} params - * @return {?} - */ - IdentityService.prototype.getUsers = /** - * @param {?=} params - * @return {?} - */ - function (params) { - if (params === void 0) { params = (/** @type {?} */ ({})); } - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/identity/users', - params: params, - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - IdentityService.prototype.getUserById = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'GET', - url: "/api/identity/users/" + id, - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - IdentityService.prototype.getUserRoles = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'GET', - url: "/api/identity/users/" + id + "/roles", - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - IdentityService.prototype.deleteUser = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'DELETE', - url: "/api/identity/users/" + id, - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - IdentityService.prototype.createUser = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var request = { - method: 'POST', - url: '/api/identity/users', - body: body, - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - IdentityService.prototype.updateUser = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var url = "/api/identity/users/" + body.id; - delete body.id; - /** @type {?} */ - var request = { - method: 'PUT', - url: url, - body: body, - }; - return this.rest.request(request); - }; - IdentityService.decorators = [ - { type: core.Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - IdentityService.ctorParameters = function () { return [ - { type: ng_core.RestService } - ]; }; - /** @nocollapse */ IdentityService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function IdentityService_Factory() { return new IdentityService(core.ɵɵinject(ng_core.RestService)); }, token: IdentityService, providedIn: "root" }); - return IdentityService; - }()); - if (false) { - /** - * @type {?} - * @private - */ - IdentityService.prototype.rest; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/states/identity.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var IdentityState = /** @class */ (function () { - function IdentityState(identityService) { - this.identityService = identityService; - } - /** - * @param {?} __0 - * @return {?} - */ - IdentityState.getRoles = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var roles = _a.roles; - return roles.items || []; - }; - /** - * @param {?} __0 - * @return {?} - */ - IdentityState.getRolesTotalCount = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var roles = _a.roles; - return roles.totalCount || 0; - }; - /** - * @param {?} __0 - * @return {?} - */ - IdentityState.getUsers = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var users = _a.users; - return users.items || []; - }; - /** - * @param {?} __0 - * @return {?} - */ - IdentityState.getUsersTotalCount = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var users = _a.users; - return users.totalCount || 0; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.getRoles = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.identityService.getRoles(payload).pipe(operators.tap((/** - * @param {?} roles - * @return {?} - */ - function (roles) { - return patchState({ - roles: roles, - }); - }))); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.getRole = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.identityService.getRoleById(payload).pipe(operators.tap((/** - * @param {?} selectedRole - * @return {?} - */ - function (selectedRole) { - return patchState({ - selectedRole: selectedRole, - }); - }))); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.deleteRole = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.identityService.deleteRole(payload); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.addRole = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.identityService.createRole(payload); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.updateRole = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var getState = _a.getState; - var payload = _b.payload; - return this.identityService.updateRole(__assign({}, getState().selectedRole, payload)); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.getUsers = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.identityService.getUsers(payload).pipe(operators.tap((/** - * @param {?} users - * @return {?} - */ - function (users) { - return patchState({ - users: users, - }); - }))); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.getUser = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.identityService.getUserById(payload).pipe(operators.tap((/** - * @param {?} selectedUser - * @return {?} - */ - function (selectedUser) { - return patchState({ - selectedUser: selectedUser, - }); - }))); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.deleteUser = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.identityService.deleteUser(payload); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.addUser = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.identityService.createUser(payload); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.updateUser = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var getState = _a.getState; - var payload = _b.payload; - return this.identityService.updateUser(__assign({}, getState().selectedUser, payload)); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.getUserRoles = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.identityService.getUserRoles(payload).pipe(operators.pluck('items'), operators.tap((/** - * @param {?} selectedUserRoles - * @return {?} - */ - function (selectedUserRoles) { - return patchState({ - selectedUserRoles: selectedUserRoles, - }); - }))); - }; - IdentityState.ctorParameters = function () { return [ - { type: IdentityService } - ]; }; - __decorate([ - store.Action(GetRoles), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetRoles]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "getRoles", null); - __decorate([ - store.Action(GetRoleById), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetRoleById]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "getRole", null); - __decorate([ - store.Action(DeleteRole), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetRoleById]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "deleteRole", null); - __decorate([ - store.Action(CreateRole), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, CreateRole]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "addRole", null); - __decorate([ - store.Action(UpdateRole), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, UpdateRole]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "updateRole", null); - __decorate([ - store.Action(GetUsers), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetUsers]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "getUsers", null); - __decorate([ - store.Action(GetUserById), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetUserById]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "getUser", null); - __decorate([ - store.Action(DeleteUser), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetUserById]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "deleteUser", null); - __decorate([ - store.Action(CreateUser), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, CreateUser]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "addUser", null); - __decorate([ - store.Action(UpdateUser), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, UpdateUser]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "updateUser", null); - __decorate([ - store.Action(GetUserRoles), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetUserRoles]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "getUserRoles", null); - __decorate([ - store.Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Array) - ], IdentityState, "getRoles", null); - __decorate([ - store.Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Number) - ], IdentityState, "getRolesTotalCount", null); - __decorate([ - store.Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Array) - ], IdentityState, "getUsers", null); - __decorate([ - store.Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Number) - ], IdentityState, "getUsersTotalCount", null); - IdentityState = __decorate([ - store.State({ - name: 'IdentityState', - defaults: (/** @type {?} */ ({ roles: {}, selectedRole: {}, users: {}, selectedUser: {} })), - }), - __metadata("design:paramtypes", [IdentityService]) - ], IdentityState); - return IdentityState; - }()); - if (false) { - /** - * @type {?} - * @private - */ - IdentityState.prototype.identityService; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/roles/roles.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var RolesComponent = /** @class */ (function () { - function RolesComponent(confirmationService, fb, store) { - this.confirmationService = confirmationService; - this.fb = fb; - this.store = store; - this.visiblePermissions = false; - this.pageQuery = {}; - this.loading = false; - this.modalBusy = false; - this.sortOrder = ''; - this.sortKey = ''; - } - /** - * @return {?} - */ - RolesComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.get(); - }; - /** - * @return {?} - */ - RolesComponent.prototype.createForm = /** - * @return {?} - */ - function () { - this.form = this.fb.group({ - name: new forms.FormControl({ value: this.selected.name || '', disabled: this.selected.isStatic }, [ - forms.Validators.required, - forms.Validators.maxLength(256), - ]), - isDefault: [this.selected.isDefault || false], - isPublic: [this.selected.isPublic || false], - }); - }; - /** - * @return {?} - */ - RolesComponent.prototype.openModal = /** - * @return {?} - */ - function () { - this.createForm(); - this.isModalVisible = true; - }; - /** - * @return {?} - */ - RolesComponent.prototype.add = /** - * @return {?} - */ - function () { - this.selected = (/** @type {?} */ ({})); - this.openModal(); - }; - /** - * @param {?} id - * @return {?} - */ - RolesComponent.prototype.edit = /** - * @param {?} id - * @return {?} - */ - function (id) { - var _this = this; - this.store - .dispatch(new GetRoleById(id)) - .pipe(operators.pluck('IdentityState', 'selectedRole')) - .subscribe((/** - * @param {?} selectedRole - * @return {?} - */ - function (selectedRole) { - _this.selected = selectedRole; - _this.openModal(); - })); - }; - /** - * @return {?} - */ - RolesComponent.prototype.save = /** - * @return {?} - */ - function () { - var _this = this; - if (!this.form.valid) - return; - this.modalBusy = true; - this.store - .dispatch(this.selected.id - ? new UpdateRole(__assign({}, this.selected, this.form.value, { id: this.selected.id })) - : new CreateRole(this.form.value)) - .pipe(operators.finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.isModalVisible = false; - _this.get(); - })); - }; - /** - * @param {?} id - * @param {?} name - * @return {?} - */ - RolesComponent.prototype.delete = /** - * @param {?} id - * @param {?} name - * @return {?} - */ - function (id, name) { - var _this = this; - this.confirmationService - .warn('AbpIdentity::RoleDeletionConfirmationMessage', 'AbpIdentity::AreYouSure', { - messageLocalizationParams: [name], - }) - .subscribe((/** - * @param {?} status - * @return {?} - */ - function (status) { - if (status === "confirm" /* confirm */) { - _this.store.dispatch(new DeleteRole(id)).subscribe((/** - * @return {?} - */ - function () { return _this.get(); })); - } - })); - }; - /** - * @param {?} data - * @return {?} - */ - RolesComponent.prototype.onPageChange = /** - * @param {?} data - * @return {?} - */ - function (data) { - this.pageQuery.skipCount = data.first; - this.pageQuery.maxResultCount = data.rows; - this.get(); - }; - /** - * @return {?} - */ - RolesComponent.prototype.get = /** - * @return {?} - */ - function () { - var _this = this; - this.loading = true; - this.store - .dispatch(new GetRoles(this.pageQuery)) - .pipe(operators.finalize((/** - * @return {?} - */ - function () { return (_this.loading = false); }))) - .subscribe(); - }; - /** - * @return {?} - */ - RolesComponent.prototype.onClickSaveButton = /** - * @return {?} - */ - function () { - this.formRef.nativeElement.dispatchEvent(new Event('submit', { bubbles: true, cancelable: true })); - }; - RolesComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-roles', - template: "
\r\n
\r\n
\r\n
\r\n
{{ 'AbpIdentity::Roles' | abpLocalization }}
\r\n
\r\n
\r\n \r\n \r\n {{ 'AbpIdentity::NewRole' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n {{ 'AbpIdentity::RoleName' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n
\r\n \r\n {{ 'AbpIdentity::Edit' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpIdentity::Permissions' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpIdentity::Delete' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n \r\n {{ data.name\r\n }}{{\r\n 'AbpIdentity::DisplayName:IsDefault' | abpLocalization\r\n }}\r\n {{\r\n 'AbpIdentity::DisplayName:IsPublic' | abpLocalization\r\n }}\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n

{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewRole') | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n\r\n" - }] } - ]; - /** @nocollapse */ - RolesComponent.ctorParameters = function () { return [ - { type: ng_theme_shared.ConfirmationService }, - { type: forms.FormBuilder }, - { type: store.Store } - ]; }; - RolesComponent.propDecorators = { - formRef: [{ type: core.ViewChild, args: ['formRef', { static: false, read: core.ElementRef },] }] - }; - __decorate([ - store.Select(IdentityState.getRoles), - __metadata("design:type", rxjs.Observable) - ], RolesComponent.prototype, "data$", void 0); - __decorate([ - store.Select(IdentityState.getRolesTotalCount), - __metadata("design:type", rxjs.Observable) - ], RolesComponent.prototype, "totalCount$", void 0); - return RolesComponent; - }()); - if (false) { - /** @type {?} */ - RolesComponent.prototype.data$; - /** @type {?} */ - RolesComponent.prototype.totalCount$; - /** @type {?} */ - RolesComponent.prototype.form; - /** @type {?} */ - RolesComponent.prototype.selected; - /** @type {?} */ - RolesComponent.prototype.isModalVisible; - /** @type {?} */ - RolesComponent.prototype.visiblePermissions; - /** @type {?} */ - RolesComponent.prototype.providerKey; - /** @type {?} */ - RolesComponent.prototype.pageQuery; - /** @type {?} */ - RolesComponent.prototype.loading; - /** @type {?} */ - RolesComponent.prototype.modalBusy; - /** @type {?} */ - RolesComponent.prototype.sortOrder; - /** @type {?} */ - RolesComponent.prototype.sortKey; - /** @type {?} */ - RolesComponent.prototype.formRef; - /** - * @type {?} - * @private - */ - RolesComponent.prototype.confirmationService; - /** - * @type {?} - * @private - */ - RolesComponent.prototype.fb; - /** - * @type {?} - * @private - */ - RolesComponent.prototype.store; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/users/users.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var UsersComponent = /** @class */ (function () { - function UsersComponent(confirmationService, fb, store) { - this.confirmationService = confirmationService; - this.fb = fb; - this.store = store; - this.visiblePermissions = false; - this.pageQuery = {}; - this.loading = false; - this.modalBusy = false; - this.sortOrder = ''; - this.sortKey = ''; - this.passwordRulesArr = (/** @type {?} */ ([])); - this.requiredPasswordLength = 1; - this.trackByFn = (/** - * @param {?} index - * @param {?} item - * @return {?} - */ - function (index, item) { return Object.keys(item)[0] || index; }); - } - Object.defineProperty(UsersComponent.prototype, "roleGroups", { - get: /** - * @return {?} - */ - function () { - var _this = this; - return snq((/** - * @return {?} - */ - function () { return (/** @type {?} */ (((/** @type {?} */ (_this.form.get('roleNames')))).controls)); }), []); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - UsersComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.get(); - /** @type {?} */ - var passwordRules = this.store.selectSnapshot(ng_core.ConfigState.getSettings('Identity.Password')); - if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') { - this.passwordRulesArr.push('number'); - } - if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') { - this.passwordRulesArr.push('small'); - } - if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') { - this.passwordRulesArr.push('capital'); - } - if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) { - this.passwordRulesArr.push('special'); - } - if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) { - this.requiredPasswordLength = +passwordRules['Abp.Identity.Password.RequiredLength']; - } - }; - /** - * @param {?} value - * @return {?} - */ - UsersComponent.prototype.onSearch = /** - * @param {?} value - * @return {?} - */ - function (value) { - this.pageQuery.filter = value; - this.get(); - }; - /** - * @return {?} - */ - UsersComponent.prototype.buildForm = /** - * @return {?} - */ - function () { - var _this = this; - this.store.dispatch(new GetRoles()).subscribe((/** - * @return {?} - */ - function () { - _this.roles = _this.store.selectSnapshot(IdentityState.getRoles); - _this.form = _this.fb.group({ - userName: [_this.selected.userName || '', [forms.Validators.required, forms.Validators.maxLength(256)]], - email: [ - _this.selected.email || '', - [forms.Validators.required, forms.Validators.email, forms.Validators.maxLength(256)], - ], - name: [_this.selected.name || '', [forms.Validators.maxLength(64)]], - surname: [_this.selected.surname || '', [forms.Validators.maxLength(64)]], - phoneNumber: [_this.selected.phoneNumber || '', [forms.Validators.maxLength(16)]], - lockoutEnabled: [_this.selected.lockoutEnabled || (_this.selected.id ? false : true)], - twoFactorEnabled: [_this.selected.twoFactorEnabled || (_this.selected.id ? false : true)], - roleNames: _this.fb.array(_this.roles.map((/** - * @param {?} role - * @return {?} - */ - function (role) { - var _a; - return _this.fb.group((_a = {}, - _a[role.name] = [ - !!snq((/** - * @return {?} - */ - function () { return _this.selectedUserRoles.find((/** - * @param {?} userRole - * @return {?} - */ - function (userRole) { return userRole.id === role.id; })); })), - ], - _a)); - }))), - }); - /** @type {?} */ - var passwordValidators = [ - core$1.validatePassword(_this.passwordRulesArr), - forms.Validators.minLength(_this.requiredPasswordLength), - forms.Validators.maxLength(32), - ]; - _this.form.addControl('password', new forms.FormControl('', __spread(passwordValidators))); - if (!_this.selected.userName) { - _this.form.get('password').setValidators(__spread(passwordValidators, [forms.Validators.required])); - _this.form.get('password').updateValueAndValidity(); - } - })); - }; - /** - * @return {?} - */ - UsersComponent.prototype.openModal = /** - * @return {?} - */ - function () { - this.buildForm(); - this.isModalVisible = true; - }; - /** - * @return {?} - */ - UsersComponent.prototype.add = /** - * @return {?} - */ - function () { - this.selected = (/** @type {?} */ ({})); - this.selectedUserRoles = (/** @type {?} */ ([])); - this.openModal(); - }; - /** - * @param {?} id - * @return {?} - */ - UsersComponent.prototype.edit = /** - * @param {?} id - * @return {?} - */ - function (id) { - var _this = this; - this.store - .dispatch(new GetUserById(id)) - .pipe(operators.switchMap((/** - * @return {?} - */ - function () { return _this.store.dispatch(new GetUserRoles(id)); })), operators.pluck('IdentityState'), operators.take(1)) - .subscribe((/** - * @param {?} state - * @return {?} - */ - function (state) { - _this.selected = state.selectedUser; - _this.selectedUserRoles = state.selectedUserRoles; - _this.openModal(); - })); - }; - /** - * @return {?} - */ - UsersComponent.prototype.save = /** - * @return {?} - */ - function () { - var _this = this; - if (!this.form.valid || this.modalBusy) - return; - this.modalBusy = true; - var roleNames = this.form.value.roleNames; - /** @type {?} */ - var mappedRoleNames = snq((/** - * @return {?} - */ - function () { - return roleNames.filter((/** - * @param {?} role - * @return {?} - */ - function (role) { return !!role[Object.keys(role)[0]]; })).map((/** - * @param {?} role - * @return {?} - */ - function (role) { return Object.keys(role)[0]; })); - }), []); - this.store - .dispatch(this.selected.id - ? new UpdateUser(__assign({}, this.selected, this.form.value, { id: this.selected.id, roleNames: mappedRoleNames })) - : new CreateUser(__assign({}, this.form.value, { roleNames: mappedRoleNames }))) - .pipe(operators.finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.isModalVisible = false; - _this.get(); - })); - }; - /** - * @param {?} id - * @param {?} userName - * @return {?} - */ - UsersComponent.prototype.delete = /** - * @param {?} id - * @param {?} userName - * @return {?} - */ - function (id, userName) { - var _this = this; - this.confirmationService - .warn('AbpIdentity::UserDeletionConfirmationMessage', 'AbpIdentity::AreYouSure', { - messageLocalizationParams: [userName], - }) - .subscribe((/** - * @param {?} status - * @return {?} - */ - function (status) { - if (status === "confirm" /* confirm */) { - _this.store.dispatch(new DeleteUser(id)).subscribe((/** - * @return {?} - */ - function () { return _this.get(); })); - } - })); - }; - /** - * @param {?} data - * @return {?} - */ - UsersComponent.prototype.onPageChange = /** - * @param {?} data - * @return {?} - */ - function (data) { - this.pageQuery.skipCount = data.first; - this.pageQuery.maxResultCount = data.rows; - this.get(); - }; - /** - * @return {?} - */ - UsersComponent.prototype.get = /** - * @return {?} - */ - function () { - var _this = this; - this.loading = true; - this.store - .dispatch(new GetUsers(this.pageQuery)) - .pipe(operators.finalize((/** - * @return {?} - */ - function () { return (_this.loading = false); }))) - .subscribe(); - }; - UsersComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-users', - template: "
\r\n
\r\n
\r\n
\r\n
{{ 'AbpIdentity::Users' | abpLocalization }}
\r\n
\r\n
\r\n \r\n {{ 'AbpIdentity::NewUser' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n {{ 'AbpIdentity::UserName' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n {{ 'AbpIdentity::EmailAddress' | abpLocalization }}\r\n \r\n \r\n \r\n {{ 'AbpIdentity::PhoneNumber' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n
\r\n \r\n \r\n {{ 'AbpIdentity::Permissions' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpIdentity::Delete' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n {{ data.userName }}\r\n {{ data.email }}\r\n {{ data.phoneNumber }}\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n

{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewUser') | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n\r\n" - }] } - ]; - /** @nocollapse */ - UsersComponent.ctorParameters = function () { return [ - { type: ng_theme_shared.ConfirmationService }, - { type: forms.FormBuilder }, - { type: store.Store } - ]; }; - UsersComponent.propDecorators = { - modalContent: [{ type: core.ViewChild, args: ['modalContent', { static: false },] }] - }; - __decorate([ - store.Select(IdentityState.getUsers), - __metadata("design:type", rxjs.Observable) - ], UsersComponent.prototype, "data$", void 0); - __decorate([ - store.Select(IdentityState.getUsersTotalCount), - __metadata("design:type", rxjs.Observable) - ], UsersComponent.prototype, "totalCount$", void 0); - return UsersComponent; - }()); - if (false) { - /** @type {?} */ - UsersComponent.prototype.data$; - /** @type {?} */ - UsersComponent.prototype.totalCount$; - /** @type {?} */ - UsersComponent.prototype.modalContent; - /** @type {?} */ - UsersComponent.prototype.form; - /** @type {?} */ - UsersComponent.prototype.selected; - /** @type {?} */ - UsersComponent.prototype.selectedUserRoles; - /** @type {?} */ - UsersComponent.prototype.roles; - /** @type {?} */ - UsersComponent.prototype.visiblePermissions; - /** @type {?} */ - UsersComponent.prototype.providerKey; - /** @type {?} */ - UsersComponent.prototype.pageQuery; - /** @type {?} */ - UsersComponent.prototype.isModalVisible; - /** @type {?} */ - UsersComponent.prototype.loading; - /** @type {?} */ - UsersComponent.prototype.modalBusy; - /** @type {?} */ - UsersComponent.prototype.sortOrder; - /** @type {?} */ - UsersComponent.prototype.sortKey; - /** @type {?} */ - UsersComponent.prototype.passwordRulesArr; - /** @type {?} */ - UsersComponent.prototype.requiredPasswordLength; - /** @type {?} */ - UsersComponent.prototype.trackByFn; - /** - * @type {?} - * @private - */ - UsersComponent.prototype.confirmationService; - /** - * @type {?} - * @private - */ - UsersComponent.prototype.fb; - /** - * @type {?} - * @private - */ - UsersComponent.prototype.store; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/identity-routing.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ɵ0 = { requiredPolicy: 'AbpIdentity.Roles' }, ɵ1 = { requiredPolicy: 'AbpIdentity.Users' }; - /** @type {?} */ - var routes = [ - { path: '', redirectTo: 'roles', pathMatch: 'full' }, - { - path: '', - component: ng_core.DynamicLayoutComponent, - canActivate: [ng_core.AuthGuard, ng_core.PermissionGuard], - children: [ - { - path: 'roles', - component: RolesComponent, - data: ɵ0, - }, - { - path: 'users', - component: UsersComponent, - data: ɵ1, - }, - ], - }, - ]; - var IdentityRoutingModule = /** @class */ (function () { - function IdentityRoutingModule() { - } - IdentityRoutingModule.decorators = [ - { type: core.NgModule, args: [{ - imports: [router.RouterModule.forChild(routes)], - exports: [router.RouterModule], - },] } - ]; - return IdentityRoutingModule; - }()); - - /** - * @fileoverview added by tsickle - * Generated from: lib/identity.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var IdentityModule = /** @class */ (function () { - function IdentityModule() { - } - IdentityModule.decorators = [ - { type: core.NgModule, args: [{ - declarations: [RolesComponent, UsersComponent], - imports: [ - store.NgxsModule.forFeature([IdentityState]), - ng_core.CoreModule, - IdentityRoutingModule, - ngBootstrap.NgbTabsetModule, - ng_theme_shared.ThemeSharedModule, - table.TableModule, - ngBootstrap.NgbDropdownModule, - ng_permissionManagement.PermissionManagementModule, - core$1.NgxValidateCoreModule, - ], - },] } - ]; - return IdentityModule; - }()); - /** - * - * @deprecated - * @return {?} - */ - function IdentityProviders() { - return []; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/constants/routes.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * - * @deprecated - * @type {?} - */ - var IDENTITY_ROUTES = { - routes: (/** @type {?} */ ([ - { - name: 'AbpUiNavigation::Menu:Administration', - path: '', - order: 1, - wrapper: true, - }, - { - name: 'AbpIdentity::Menu:IdentityManagement', - path: 'identity', - order: 1, - parentName: 'AbpUiNavigation::Menu:Administration', - layout: "application" /* application */, - iconClass: 'fa fa-id-card-o', - children: [ - { path: 'roles', name: 'AbpIdentity::Roles', order: 2, requiredPolicy: 'AbpIdentity.Roles' }, - { path: 'users', name: 'AbpIdentity::Users', order: 1, requiredPolicy: 'AbpIdentity.Users' }, - ], - }, - ])), - }; - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/identity.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var Identity; - (function (Identity) { - /** - * @record - */ - function State() { } - Identity.State = State; - if (false) { - /** @type {?} */ - State.prototype.roles; - /** @type {?} */ - State.prototype.users; - /** @type {?} */ - State.prototype.selectedRole; - /** @type {?} */ - State.prototype.selectedUser; - /** @type {?} */ - State.prototype.selectedUserRoles; - } - /** - * @record - */ - function RoleSaveRequest() { } - Identity.RoleSaveRequest = RoleSaveRequest; - if (false) { - /** @type {?} */ - RoleSaveRequest.prototype.name; - /** @type {?} */ - RoleSaveRequest.prototype.isDefault; - /** @type {?} */ - RoleSaveRequest.prototype.isPublic; - } - /** - * @record - */ - function RoleItem() { } - Identity.RoleItem = RoleItem; - if (false) { - /** @type {?} */ - RoleItem.prototype.isStatic; - /** @type {?} */ - RoleItem.prototype.concurrencyStamp; - /** @type {?} */ - RoleItem.prototype.id; - } - /** - * @record - */ - function UserItem() { } - Identity.UserItem = UserItem; - if (false) { - /** @type {?} */ - UserItem.prototype.tenantId; - /** @type {?} */ - UserItem.prototype.emailConfirmed; - /** @type {?} */ - UserItem.prototype.phoneNumberConfirmed; - /** @type {?} */ - UserItem.prototype.isLockedOut; - /** @type {?} */ - UserItem.prototype.concurrencyStamp; - /** @type {?} */ - UserItem.prototype.id; - } - /** - * @record - */ - function User() { } - Identity.User = User; - if (false) { - /** @type {?} */ - User.prototype.userName; - /** @type {?} */ - User.prototype.name; - /** @type {?} */ - User.prototype.surname; - /** @type {?} */ - User.prototype.email; - /** @type {?} */ - User.prototype.phoneNumber; - /** @type {?} */ - User.prototype.twoFactorEnabled; - /** @type {?} */ - User.prototype.lockoutEnabled; - } - /** - * @record - */ - function UserSaveRequest() { } - Identity.UserSaveRequest = UserSaveRequest; - if (false) { - /** @type {?} */ - UserSaveRequest.prototype.password; - /** @type {?} */ - UserSaveRequest.prototype.roleNames; - } - })(Identity || (Identity = {})); - - exports.CreateRole = CreateRole; - exports.CreateUser = CreateUser; - exports.DeleteRole = DeleteRole; - exports.DeleteUser = DeleteUser; - exports.GetRoleById = GetRoleById; - exports.GetRoles = GetRoles; - exports.GetUserById = GetUserById; - exports.GetUserRoles = GetUserRoles; - exports.GetUsers = GetUsers; - exports.IDENTITY_ROUTES = IDENTITY_ROUTES; - exports.IdentityModule = IdentityModule; - exports.IdentityProviders = IdentityProviders; - exports.IdentityService = IdentityService; - exports.IdentityState = IdentityState; - exports.RolesComponent = RolesComponent; - exports.UpdateRole = UpdateRole; - exports.UpdateUser = UpdateUser; - exports.ɵb = UsersComponent; - exports.ɵc = IdentityRoutingModule; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); -//# sourceMappingURL=abp-ng.identity.umd.js.map diff --git a/npm/ng-packs/dist/identity/bundles/abp-ng.identity.umd.js.map b/npm/ng-packs/dist/identity/bundles/abp-ng.identity.umd.js.map deleted file mode 100644 index 25bc52602e6..00000000000 --- a/npm/ng-packs/dist/identity/bundles/abp-ng.identity.umd.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.identity.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","ng://@abp/ng.identity/lib/actions/identity.actions.ts","ng://@abp/ng.identity/lib/services/identity.service.ts","ng://@abp/ng.identity/lib/states/identity.state.ts","ng://@abp/ng.identity/lib/components/roles/roles.component.ts","ng://@abp/ng.identity/lib/components/users/users.component.ts","ng://@abp/ng.identity/lib/identity-routing.module.ts","ng://@abp/ng.identity/lib/identity.module.ts","ng://@abp/ng.identity/lib/constants/routes.ts","ng://@abp/ng.identity/lib/models/identity.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { Identity } from '../models/identity';\r\nimport { ABP } from '@abp/ng.core';\r\n\r\nexport class GetRoles {\r\n static readonly type = '[Identity] Get Roles';\r\n constructor(public payload?: ABP.PageQueryParams) {}\r\n}\r\n\r\nexport class GetRoleById {\r\n static readonly type = '[Identity] Get Role By Id';\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class DeleteRole {\r\n static readonly type = '[Identity] Delete Role';\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class CreateRole {\r\n static readonly type = '[Identity] Create Role';\r\n constructor(public payload: Identity.RoleSaveRequest) {}\r\n}\r\n\r\nexport class UpdateRole {\r\n static readonly type = '[Identity] Update Role';\r\n constructor(public payload: Identity.RoleItem) {}\r\n}\r\n\r\nexport class GetUsers {\r\n static readonly type = '[Identity] Get Users';\r\n constructor(public payload?: ABP.PageQueryParams) {}\r\n}\r\n\r\nexport class GetUserById {\r\n static readonly type = '[Identity] Get User By Id';\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class DeleteUser {\r\n static readonly type = '[Identity] Delete User';\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class CreateUser {\r\n static readonly type = '[Identity] Create User';\r\n constructor(public payload: Identity.UserSaveRequest) {}\r\n}\r\n\r\nexport class UpdateUser {\r\n static readonly type = '[Identity] Update User';\r\n constructor(public payload: Identity.UserSaveRequest & { id: string }) {}\r\n}\r\n\r\nexport class GetUserRoles {\r\n static readonly type = '[Identity] Get User Roles';\r\n constructor(public payload: string) {}\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RestService, Rest, ABP } from '@abp/ng.core';\r\nimport { Identity } from '../models/identity';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentityService {\r\n constructor(private rest: RestService) {}\r\n\r\n getRoles(params = {} as ABP.PageQueryParams): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/identity/roles',\r\n params,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getRoleById(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: `/api/identity/roles/${id}`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n deleteRole(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'DELETE',\r\n url: `/api/identity/roles/${id}`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n createRole(body: Identity.RoleSaveRequest): Observable {\r\n const request: Rest.Request = {\r\n method: 'POST',\r\n url: '/api/identity/roles',\r\n body,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n updateRole(body: Identity.RoleItem): Observable {\r\n const url = `/api/identity/roles/${body.id}`;\r\n delete body.id;\r\n\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url,\r\n body,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getUsers(params = {} as ABP.PageQueryParams): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/identity/users',\r\n params,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getUserById(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: `/api/identity/users/${id}`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getUserRoles(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: `/api/identity/users/${id}/roles`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n deleteUser(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'DELETE',\r\n url: `/api/identity/users/${id}`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n createUser(body: Identity.UserSaveRequest): Observable {\r\n const request: Rest.Request = {\r\n method: 'POST',\r\n url: '/api/identity/users',\r\n body,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n updateUser(body: Identity.UserItem): Observable {\r\n const url = `/api/identity/users/${body.id}`;\r\n delete body.id;\r\n\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url,\r\n body,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { switchMap, tap, pluck } from 'rxjs/operators';\r\nimport {\r\n CreateRole,\r\n CreateUser,\r\n DeleteRole,\r\n DeleteUser,\r\n GetRoleById,\r\n GetRoles,\r\n GetUserById,\r\n GetUsers,\r\n UpdateRole,\r\n UpdateUser,\r\n GetUserRoles,\r\n} from '../actions/identity.actions';\r\nimport { Identity } from '../models/identity';\r\nimport { IdentityService } from '../services/identity.service';\r\n\r\n@State({\r\n name: 'IdentityState',\r\n defaults: { roles: {}, selectedRole: {}, users: {}, selectedUser: {} } as Identity.State,\r\n})\r\nexport class IdentityState {\r\n @Selector()\r\n static getRoles({ roles }: Identity.State): Identity.RoleItem[] {\r\n return roles.items || [];\r\n }\r\n\r\n @Selector()\r\n static getRolesTotalCount({ roles }: Identity.State): number {\r\n return roles.totalCount || 0;\r\n }\r\n\r\n @Selector()\r\n static getUsers({ users }: Identity.State): Identity.UserItem[] {\r\n return users.items || [];\r\n }\r\n\r\n @Selector()\r\n static getUsersTotalCount({ users }: Identity.State): number {\r\n return users.totalCount || 0;\r\n }\r\n\r\n constructor(private identityService: IdentityService) {}\r\n\r\n @Action(GetRoles)\r\n getRoles({ patchState }: StateContext, { payload }: GetRoles) {\r\n return this.identityService.getRoles(payload).pipe(\r\n tap(roles =>\r\n patchState({\r\n roles,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(GetRoleById)\r\n getRole({ patchState }: StateContext, { payload }: GetRoleById) {\r\n return this.identityService.getRoleById(payload).pipe(\r\n tap(selectedRole =>\r\n patchState({\r\n selectedRole,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(DeleteRole)\r\n deleteRole(_, { payload }: GetRoleById) {\r\n return this.identityService.deleteRole(payload);\r\n }\r\n\r\n @Action(CreateRole)\r\n addRole(_, { payload }: CreateRole) {\r\n return this.identityService.createRole(payload);\r\n }\r\n\r\n @Action(UpdateRole)\r\n updateRole({ getState }: StateContext, { payload }: UpdateRole) {\r\n return this.identityService.updateRole({ ...getState().selectedRole, ...payload });\r\n }\r\n\r\n @Action(GetUsers)\r\n getUsers({ patchState }: StateContext, { payload }: GetUsers) {\r\n return this.identityService.getUsers(payload).pipe(\r\n tap(users =>\r\n patchState({\r\n users,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(GetUserById)\r\n getUser({ patchState }: StateContext, { payload }: GetUserById) {\r\n return this.identityService.getUserById(payload).pipe(\r\n tap(selectedUser =>\r\n patchState({\r\n selectedUser,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(DeleteUser)\r\n deleteUser(_, { payload }: GetUserById) {\r\n return this.identityService.deleteUser(payload);\r\n }\r\n\r\n @Action(CreateUser)\r\n addUser(_, { payload }: CreateUser) {\r\n return this.identityService.createUser(payload);\r\n }\r\n\r\n @Action(UpdateUser)\r\n updateUser({ getState }: StateContext, { payload }: UpdateUser) {\r\n return this.identityService.updateUser({ ...getState().selectedUser, ...payload });\r\n }\r\n\r\n @Action(GetUserRoles)\r\n getUserRoles({ patchState }: StateContext, { payload }: GetUserRoles) {\r\n return this.identityService.getUserRoles(payload).pipe(\r\n pluck('items'),\r\n tap(selectedUserRoles =>\r\n patchState({\r\n selectedUserRoles,\r\n }),\r\n ),\r\n );\r\n }\r\n}\r\n","import { ABP } from '@abp/ng.core';\r\nimport { ConfirmationService, Toaster } from '@abp/ng.theme.shared';\r\nimport { Component, TemplateRef, ViewChild, OnInit, ContentChild, ElementRef } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { finalize, pluck } from 'rxjs/operators';\r\nimport {\r\n CreateRole,\r\n DeleteRole,\r\n GetRoleById,\r\n GetRoles,\r\n UpdateRole,\r\n} from '../../actions/identity.actions';\r\nimport { Identity } from '../../models/identity';\r\nimport { IdentityState } from '../../states/identity.state';\r\n\r\n@Component({\r\n selector: 'abp-roles',\r\n templateUrl: './roles.component.html',\r\n})\r\nexport class RolesComponent implements OnInit {\r\n @Select(IdentityState.getRoles)\r\n data$: Observable;\r\n\r\n @Select(IdentityState.getRolesTotalCount)\r\n totalCount$: Observable;\r\n\r\n form: FormGroup;\r\n\r\n selected: Identity.RoleItem;\r\n\r\n isModalVisible: boolean;\r\n\r\n visiblePermissions = false;\r\n\r\n providerKey: string;\r\n\r\n pageQuery: ABP.PageQueryParams = {};\r\n\r\n loading = false;\r\n\r\n modalBusy = false;\r\n\r\n sortOrder = '';\r\n\r\n sortKey = '';\r\n\r\n @ViewChild('formRef', { static: false, read: ElementRef })\r\n formRef: ElementRef;\r\n\r\n constructor(\r\n private confirmationService: ConfirmationService,\r\n private fb: FormBuilder,\r\n private store: Store,\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.get();\r\n }\r\n\r\n createForm() {\r\n this.form = this.fb.group({\r\n name: new FormControl({ value: this.selected.name || '', disabled: this.selected.isStatic }, [\r\n Validators.required,\r\n Validators.maxLength(256),\r\n ]),\r\n isDefault: [this.selected.isDefault || false],\r\n isPublic: [this.selected.isPublic || false],\r\n });\r\n }\r\n\r\n openModal() {\r\n this.createForm();\r\n this.isModalVisible = true;\r\n }\r\n\r\n add() {\r\n this.selected = {} as Identity.RoleItem;\r\n this.openModal();\r\n }\r\n\r\n edit(id: string) {\r\n this.store\r\n .dispatch(new GetRoleById(id))\r\n .pipe(pluck('IdentityState', 'selectedRole'))\r\n .subscribe(selectedRole => {\r\n this.selected = selectedRole;\r\n this.openModal();\r\n });\r\n }\r\n\r\n save() {\r\n if (!this.form.valid) return;\r\n this.modalBusy = true;\r\n\r\n this.store\r\n .dispatch(\r\n this.selected.id\r\n ? new UpdateRole({ ...this.selected, ...this.form.value, id: this.selected.id })\r\n : new CreateRole(this.form.value),\r\n )\r\n .pipe(finalize(() => (this.modalBusy = false)))\r\n .subscribe(() => {\r\n this.isModalVisible = false;\r\n this.get();\r\n });\r\n }\r\n\r\n delete(id: string, name: string) {\r\n this.confirmationService\r\n .warn('AbpIdentity::RoleDeletionConfirmationMessage', 'AbpIdentity::AreYouSure', {\r\n messageLocalizationParams: [name],\r\n })\r\n .subscribe((status: Toaster.Status) => {\r\n if (status === Toaster.Status.confirm) {\r\n this.store.dispatch(new DeleteRole(id)).subscribe(() => this.get());\r\n }\r\n });\r\n }\r\n\r\n onPageChange(data) {\r\n this.pageQuery.skipCount = data.first;\r\n this.pageQuery.maxResultCount = data.rows;\r\n\r\n this.get();\r\n }\r\n\r\n get() {\r\n this.loading = true;\r\n this.store\r\n .dispatch(new GetRoles(this.pageQuery))\r\n .pipe(finalize(() => (this.loading = false)))\r\n .subscribe();\r\n }\r\n\r\n onClickSaveButton() {\r\n this.formRef.nativeElement.dispatchEvent(\r\n new Event('submit', { bubbles: true, cancelable: true }),\r\n );\r\n }\r\n}\r\n","import { ABP, ConfigState } from '@abp/ng.core';\r\nimport { ConfirmationService, Toaster } from '@abp/ng.theme.shared';\r\nimport { Component, TemplateRef, TrackByFunction, ViewChild, OnInit } from '@angular/core';\r\nimport {\r\n AbstractControl,\r\n FormArray,\r\n FormBuilder,\r\n FormGroup,\r\n Validators,\r\n FormControl,\r\n} from '@angular/forms';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { finalize, pluck, switchMap, take } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport {\r\n CreateUser,\r\n DeleteUser,\r\n GetUserById,\r\n GetUserRoles,\r\n GetUsers,\r\n UpdateUser,\r\n GetRoles,\r\n} from '../../actions/identity.actions';\r\nimport { Identity } from '../../models/identity';\r\nimport { IdentityState } from '../../states/identity.state';\r\nimport { PasswordRules, validatePassword } from '@ngx-validate/core';\r\n@Component({\r\n selector: 'abp-users',\r\n templateUrl: './users.component.html',\r\n})\r\nexport class UsersComponent implements OnInit {\r\n @Select(IdentityState.getUsers)\r\n data$: Observable;\r\n\r\n @Select(IdentityState.getUsersTotalCount)\r\n totalCount$: Observable;\r\n\r\n @ViewChild('modalContent', { static: false })\r\n modalContent: TemplateRef;\r\n\r\n form: FormGroup;\r\n\r\n selected: Identity.UserItem;\r\n\r\n selectedUserRoles: Identity.RoleItem[];\r\n\r\n roles: Identity.RoleItem[];\r\n\r\n visiblePermissions = false;\r\n\r\n providerKey: string;\r\n\r\n pageQuery: ABP.PageQueryParams = {};\r\n\r\n isModalVisible: boolean;\r\n\r\n loading = false;\r\n\r\n modalBusy = false;\r\n\r\n sortOrder = '';\r\n\r\n sortKey = '';\r\n\r\n passwordRulesArr = [] as PasswordRules;\r\n\r\n requiredPasswordLength = 1;\r\n\r\n trackByFn: TrackByFunction = (index, item) => Object.keys(item)[0] || index;\r\n\r\n get roleGroups(): FormGroup[] {\r\n return snq(() => (this.form.get('roleNames') as FormArray).controls as FormGroup[], []);\r\n }\r\n\r\n constructor(\r\n private confirmationService: ConfirmationService,\r\n private fb: FormBuilder,\r\n private store: Store,\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.get();\r\n\r\n const passwordRules: ABP.Dictionary = this.store.selectSnapshot(\r\n ConfigState.getSettings('Identity.Password'),\r\n );\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') {\r\n this.passwordRulesArr.push('number');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') {\r\n this.passwordRulesArr.push('small');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') {\r\n this.passwordRulesArr.push('capital');\r\n }\r\n\r\n if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) {\r\n this.passwordRulesArr.push('special');\r\n }\r\n\r\n if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) {\r\n this.requiredPasswordLength = +passwordRules['Abp.Identity.Password.RequiredLength'];\r\n }\r\n }\r\n\r\n onSearch(value) {\r\n this.pageQuery.filter = value;\r\n this.get();\r\n }\r\n\r\n buildForm() {\r\n this.store.dispatch(new GetRoles()).subscribe(() => {\r\n this.roles = this.store.selectSnapshot(IdentityState.getRoles);\r\n this.form = this.fb.group({\r\n userName: [this.selected.userName || '', [Validators.required, Validators.maxLength(256)]],\r\n email: [\r\n this.selected.email || '',\r\n [Validators.required, Validators.email, Validators.maxLength(256)],\r\n ],\r\n name: [this.selected.name || '', [Validators.maxLength(64)]],\r\n surname: [this.selected.surname || '', [Validators.maxLength(64)]],\r\n phoneNumber: [this.selected.phoneNumber || '', [Validators.maxLength(16)]],\r\n lockoutEnabled: [this.selected.lockoutEnabled || (this.selected.id ? false : true)],\r\n twoFactorEnabled: [this.selected.twoFactorEnabled || (this.selected.id ? false : true)],\r\n roleNames: this.fb.array(\r\n this.roles.map(role =>\r\n this.fb.group({\r\n [role.name]: [\r\n !!snq(() => this.selectedUserRoles.find(userRole => userRole.id === role.id)),\r\n ],\r\n }),\r\n ),\r\n ),\r\n });\r\n\r\n const passwordValidators = [\r\n validatePassword(this.passwordRulesArr),\r\n Validators.minLength(this.requiredPasswordLength),\r\n Validators.maxLength(32),\r\n ];\r\n\r\n this.form.addControl('password', new FormControl('', [...passwordValidators]));\r\n\r\n if (!this.selected.userName) {\r\n this.form.get('password').setValidators([...passwordValidators, Validators.required]);\r\n this.form.get('password').updateValueAndValidity();\r\n }\r\n });\r\n }\r\n\r\n openModal() {\r\n this.buildForm();\r\n this.isModalVisible = true;\r\n }\r\n\r\n add() {\r\n this.selected = {} as Identity.UserItem;\r\n this.selectedUserRoles = [] as Identity.RoleItem[];\r\n this.openModal();\r\n }\r\n\r\n edit(id: string) {\r\n this.store\r\n .dispatch(new GetUserById(id))\r\n .pipe(\r\n switchMap(() => this.store.dispatch(new GetUserRoles(id))),\r\n pluck('IdentityState'),\r\n take(1),\r\n )\r\n .subscribe((state: Identity.State) => {\r\n this.selected = state.selectedUser;\r\n this.selectedUserRoles = state.selectedUserRoles;\r\n this.openModal();\r\n });\r\n }\r\n\r\n save() {\r\n if (!this.form.valid || this.modalBusy) return;\r\n this.modalBusy = true;\r\n\r\n const { roleNames } = this.form.value;\r\n const mappedRoleNames = snq(\r\n () =>\r\n roleNames.filter(role => !!role[Object.keys(role)[0]]).map(role => Object.keys(role)[0]),\r\n [],\r\n );\r\n\r\n this.store\r\n .dispatch(\r\n this.selected.id\r\n ? new UpdateUser({\r\n ...this.selected,\r\n ...this.form.value,\r\n id: this.selected.id,\r\n roleNames: mappedRoleNames,\r\n })\r\n : new CreateUser({\r\n ...this.form.value,\r\n roleNames: mappedRoleNames,\r\n }),\r\n )\r\n .pipe(finalize(() => (this.modalBusy = false)))\r\n .subscribe(() => {\r\n this.isModalVisible = false;\r\n this.get();\r\n });\r\n }\r\n\r\n delete(id: string, userName: string) {\r\n this.confirmationService\r\n .warn('AbpIdentity::UserDeletionConfirmationMessage', 'AbpIdentity::AreYouSure', {\r\n messageLocalizationParams: [userName],\r\n })\r\n .subscribe((status: Toaster.Status) => {\r\n if (status === Toaster.Status.confirm) {\r\n this.store.dispatch(new DeleteUser(id)).subscribe(() => this.get());\r\n }\r\n });\r\n }\r\n\r\n onPageChange(data) {\r\n this.pageQuery.skipCount = data.first;\r\n this.pageQuery.maxResultCount = data.rows;\r\n\r\n this.get();\r\n }\r\n\r\n get() {\r\n this.loading = true;\r\n this.store\r\n .dispatch(new GetUsers(this.pageQuery))\r\n .pipe(finalize(() => (this.loading = false)))\r\n .subscribe();\r\n }\r\n}\r\n","import { AuthGuard, DynamicLayoutComponent, PermissionGuard } from '@abp/ng.core';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { RolesComponent } from './components/roles/roles.component';\r\nimport { UsersComponent } from './components/users/users.component';\r\n\r\nconst routes: Routes = [\r\n { path: '', redirectTo: 'roles', pathMatch: 'full' },\r\n {\r\n path: '',\r\n component: DynamicLayoutComponent,\r\n canActivate: [AuthGuard, PermissionGuard],\r\n children: [\r\n {\r\n path: 'roles',\r\n component: RolesComponent,\r\n data: { requiredPolicy: 'AbpIdentity.Roles' },\r\n },\r\n {\r\n path: 'users',\r\n component: UsersComponent,\r\n data: { requiredPolicy: 'AbpIdentity.Users' },\r\n },\r\n ],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class IdentityRoutingModule {}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { NgModule, Provider } from '@angular/core';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { RolesComponent } from './components/roles/roles.component';\r\nimport { IdentityRoutingModule } from './identity-routing.module';\r\nimport { IdentityState } from './states/identity.state';\r\nimport { NgbTabsetModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { UsersComponent } from './components/users/users.component';\r\nimport { PermissionManagementModule } from '@abp/ng.permission-management';\r\nimport { TableModule } from 'primeng/table';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\n\r\n@NgModule({\r\n declarations: [RolesComponent, UsersComponent],\r\n imports: [\r\n NgxsModule.forFeature([IdentityState]),\r\n CoreModule,\r\n IdentityRoutingModule,\r\n NgbTabsetModule,\r\n ThemeSharedModule,\r\n TableModule,\r\n NgbDropdownModule,\r\n PermissionManagementModule,\r\n NgxValidateCoreModule,\r\n ],\r\n})\r\nexport class IdentityModule {}\r\n\r\n/**\r\n *\r\n * @deprecated\r\n */\r\nexport function IdentityProviders(): Provider[] {\r\n return [];\r\n}\r\n","import { eLayoutType, ABP } from '@abp/ng.core';\r\n\r\n/**\r\n *\r\n * @deprecated\r\n */\r\nexport const IDENTITY_ROUTES = {\r\n routes: [\r\n {\r\n name: 'AbpUiNavigation::Menu:Administration',\r\n path: '',\r\n order: 1,\r\n wrapper: true,\r\n },\r\n {\r\n name: 'AbpIdentity::Menu:IdentityManagement',\r\n path: 'identity',\r\n order: 1,\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-id-card-o',\r\n children: [\r\n { path: 'roles', name: 'AbpIdentity::Roles', order: 2, requiredPolicy: 'AbpIdentity.Roles' },\r\n { path: 'users', name: 'AbpIdentity::Users', order: 1, requiredPolicy: 'AbpIdentity.Users' },\r\n ],\r\n },\r\n ] as ABP.FullRoute[],\r\n};\r\n","import { ABP } from '@abp/ng.core';\r\n\r\nexport namespace Identity {\r\n export interface State {\r\n roles: RoleResponse;\r\n users: UserResponse;\r\n selectedRole: RoleItem;\r\n selectedUser: UserItem;\r\n selectedUserRoles: RoleItem[];\r\n }\r\n\r\n export type RoleResponse = ABP.PagedResponse;\r\n\r\n export interface RoleSaveRequest {\r\n name: string;\r\n isDefault: boolean;\r\n isPublic: boolean;\r\n }\r\n\r\n export interface RoleItem extends RoleSaveRequest {\r\n isStatic: boolean;\r\n concurrencyStamp: string;\r\n id: string;\r\n }\r\n\r\n export type UserResponse = ABP.PagedResponse;\r\n\r\n export interface UserItem extends User {\r\n tenantId: string;\r\n emailConfirmed: boolean;\r\n phoneNumberConfirmed: boolean;\r\n isLockedOut: boolean;\r\n concurrencyStamp: string;\r\n id: string;\r\n }\r\n\r\n export interface User {\r\n userName: string;\r\n name: string;\r\n surname: string;\r\n email: string;\r\n phoneNumber: string;\r\n twoFactorEnabled: true;\r\n lockoutEnabled: true;\r\n }\r\n\r\n export interface UserSaveRequest extends User {\r\n password: string;\r\n roleNames: string[];\r\n }\r\n}\r\n"],"names":["Injectable","RestService","tap","pluck","tslib_1.__decorate","Action","Selector","State","FormControl","Validators","finalize","Component","ConfirmationService","FormBuilder","Store","ViewChild","ElementRef","Select","Observable","ConfigState","validatePassword","switchMap","take","DynamicLayoutComponent","AuthGuard","PermissionGuard","NgModule","RouterModule","NgxsModule","CoreModule","NgbTabsetModule","ThemeSharedModule","TableModule","NgbDropdownModule","PermissionManagementModule","NgxValidateCoreModule"],"mappings":";;;;;;;;IAAA;IACA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA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d;YACD;gBACE,IAAI,EAAE,sCAAsC;gBAC5C,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,CAAC;gBACR,UAAU,EAAE,sCAAsC;gBAClD,MAAM;gBACN,SAAS,EAAE,iBAAiB;gBAC5B,QAAQ,EAAE;oBACR,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,CAAC,EAAE,cAAc,EAAE,mBAAmB,EAAE;oBAC5F,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,CAAC,EAAE,cAAc,EAAE,mBAAmB,EAAE;iBAC7F;aACF;SACF,EAAmB;KACrB;;;;;;;ICzBD,IAAiB,QAAQ,CAgDxB;IAhDD,WAAiB,QAAQ;;;;QACvB,oBAMC;;;;YALC,sBAAoB;;YACpB,sBAAoB;;YACpB,6BAAuB;;YACvB,6BAAuB;;YACvB,kCAA8B;;;;;QAKhC,8BAIC;;;;YAHC,+BAAa;;YACb,oCAAmB;;YACnB,mCAAkB;;;;;QAGpB,uBAIC;;;;YAHC,4BAAkB;;YAClB,oCAAyB;;YACzB,sBAAW;;;;;QAKb,uBAOC;;;;YANC,4BAAiB;;YACjB,kCAAwB;;YACxB,wCAA8B;;YAC9B,+BAAqB;;YACrB,oCAAyB;;YACzB,sBAAW;;;;;QAGb,mBAQC;;;;YAPC,wBAAiB;;YACjB,oBAAa;;YACb,uBAAgB;;YAChB,qBAAc;;YACd,2BAAoB;;YACpB,gCAAuB;;YACvB,8BAAqB;;;;;QAGvB,8BAGC;;;;YAFC,mCAAiB;;YACjB,oCAAoB;;KAEvB,EAhDgB,QAAQ,KAAR,QAAQ,QAgDxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/bundles/abp-ng.identity.umd.min.js b/npm/ng-packs/dist/identity/bundles/abp-ng.identity.umd.min.js deleted file mode 100644 index 9769303ebcb..00000000000 --- a/npm/ng-packs/dist/identity/bundles/abp-ng.identity.umd.min.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@abp/ng.core"),require("@angular/core"),require("@ngxs/store"),require("@abp/ng.theme.shared"),require("@angular/forms"),require("rxjs"),require("rxjs/operators"),require("@angular/router"),require("snq"),require("@ngx-validate/core"),require("@ng-bootstrap/ng-bootstrap"),require("@abp/ng.permission-management"),require("primeng/table")):"function"==typeof define&&define.amd?define("@abp/ng.identity",["exports","@abp/ng.core","@angular/core","@ngxs/store","@abp/ng.theme.shared","@angular/forms","rxjs","rxjs/operators","@angular/router","snq","@ngx-validate/core","@ng-bootstrap/ng-bootstrap","@abp/ng.permission-management","primeng/table"],t):t(((e=e||self).abp=e.abp||{},e.abp.ng=e.abp.ng||{},e.abp.ng.identity={}),e.ng_core,e.ng.core,e.store,e.ng_theme_shared,e.ng.forms,e.rxjs,e.rxjs.operators,e.ng.router,e.snq,e.core$1,e.ngBootstrap,e.ng_permissionManagement,e.table)}(this,(function(e,t,r,n,o,a,i,s,l,d,p,c,u,b){"use strict";d=d&&d.hasOwnProperty("default")?d.default:d;var m=function(){return(m=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0;s--)(o=e[s])&&(i=(a<3?o(i):a>3?o(t,r,i):o(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i}function g(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function f(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function h(){for(var e=[],t=0;t\r\n
\r\n
\r\n
\r\n
{{ \'AbpIdentity::Roles\' | abpLocalization }}
\r\n
\r\n
\r\n \r\n \r\n {{ \'AbpIdentity::NewRole\' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ \'AbpIdentity::Actions\' | abpLocalization }}\r\n \r\n {{ \'AbpIdentity::RoleName\' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ \'AbpIdentity::Actions\' | abpLocalization }}\r\n \r\n
\r\n \r\n {{ \'AbpIdentity::Edit\' | abpLocalization }}\r\n \r\n \r\n {{ \'AbpIdentity::Permissions\' | abpLocalization }}\r\n \r\n \r\n {{ \'AbpIdentity::Delete\' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n \r\n {{ data.name\r\n }}{{\r\n \'AbpIdentity::DisplayName:IsDefault\' | abpLocalization\r\n }}\r\n {{\r\n \'AbpIdentity::DisplayName:IsPublic\' | abpLocalization\r\n }}\r\n \r\n \r\n
\r\n \r\n
\r\n\r\n\r\n\r\n \r\n

{{ (selected?.id ? \'AbpIdentity::Edit\' : \'AbpIdentity::NewRole\') | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n {{\r\n \'AbpIdentity::Save\' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n\r\n'}]}],e.ctorParameters=function(){return[{type:o.ConfirmationService},{type:a.FormBuilder},{type:n.Store}]},e.propDecorators={formRef:[{type:r.ViewChild,args:["formRef",{static:!1,read:r.ElementRef}]}]},y([n.Select(k.getRoles),g("design:type",i.Observable)],e.prototype,"data$",void 0),y([n.Select(k.getRolesTotalCount),g("design:type",i.Observable)],e.prototype,"totalCount$",void 0),e}();var O=function(){function e(e,t,r){this.confirmationService=e,this.fb=t,this.store=r,this.visiblePermissions=!1,this.pageQuery={},this.loading=!1,this.modalBusy=!1,this.sortOrder="",this.sortKey="",this.passwordRulesArr=[],this.requiredPasswordLength=1,this.trackByFn=function(e,t){return Object.keys(t)[0]||e}}return Object.defineProperty(e.prototype,"roleGroups",{get:function(){var e=this;return d((function(){return e.form.get("roleNames").controls}),[])},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.get();var e=this.store.selectSnapshot(t.ConfigState.getSettings("Identity.Password"));"true"===(e["Abp.Identity.Password.RequireDigit"]||"").toLowerCase()&&this.passwordRulesArr.push("number"),"true"===(e["Abp.Identity.Password.RequireLowercase"]||"").toLowerCase()&&this.passwordRulesArr.push("small"),"true"===(e["Abp.Identity.Password.RequireUppercase"]||"").toLowerCase()&&this.passwordRulesArr.push("capital"),+(e["Abp.Identity.Password.RequiredUniqueChars"]||0)>0&&this.passwordRulesArr.push("special"),Number.isInteger(+e["Abp.Identity.Password.RequiredLength"])&&(this.requiredPasswordLength=+e["Abp.Identity.Password.RequiredLength"])},e.prototype.onSearch=function(e){this.pageQuery.filter=e,this.get()},e.prototype.buildForm=function(){var e=this;this.store.dispatch(new v).subscribe((function(){e.roles=e.store.selectSnapshot(k.getRoles),e.form=e.fb.group({userName:[e.selected.userName||"",[a.Validators.required,a.Validators.maxLength(256)]],email:[e.selected.email||"",[a.Validators.required,a.Validators.email,a.Validators.maxLength(256)]],name:[e.selected.name||"",[a.Validators.maxLength(64)]],surname:[e.selected.surname||"",[a.Validators.maxLength(64)]],phoneNumber:[e.selected.phoneNumber||"",[a.Validators.maxLength(16)]],lockoutEnabled:[e.selected.lockoutEnabled||!e.selected.id],twoFactorEnabled:[e.selected.twoFactorEnabled||!e.selected.id],roleNames:e.fb.array(e.roles.map((function(t){var r;return e.fb.group(((r={})[t.name]=[!!d((function(){return e.selectedUserRoles.find((function(e){return e.id===t.id}))}))],r))})))});var t=[p.validatePassword(e.passwordRulesArr),a.Validators.minLength(e.requiredPasswordLength),a.Validators.maxLength(32)];e.form.addControl("password",new a.FormControl("",h(t))),e.selected.userName||(e.form.get("password").setValidators(h(t,[a.Validators.required])),e.form.get("password").updateValueAndValidity())}))},e.prototype.openModal=function(){this.buildForm(),this.isModalVisible=!0},e.prototype.add=function(){this.selected={},this.selectedUserRoles=[],this.openModal()},e.prototype.edit=function(e){var t=this;this.store.dispatch(new C(e)).pipe(s.switchMap((function(){return t.store.dispatch(new N(e))})),s.pluck("IdentityState"),s.take(1)).subscribe((function(e){t.selected=e.selectedUser,t.selectedUserRoles=e.selectedUserRoles,t.openModal()}))},e.prototype.save=function(){var e=this;if(this.form.valid&&!this.modalBusy){this.modalBusy=!0;var t=this.form.value.roleNames,r=d((function(){return t.filter((function(e){return!!e[Object.keys(e)[0]]})).map((function(e){return Object.keys(e)[0]}))}),[]);this.store.dispatch(this.selected.id?new P(m({},this.selected,this.form.value,{id:this.selected.id,roleNames:r})):new L(m({},this.form.value,{roleNames:r}))).pipe(s.finalize((function(){return e.modalBusy=!1}))).subscribe((function(){e.isModalVisible=!1,e.get()}))}},e.prototype.delete=function(e,t){var r=this;this.confirmationService.warn("AbpIdentity::UserDeletionConfirmationMessage","AbpIdentity::AreYouSure",{messageLocalizationParams:[t]}).subscribe((function(t){"confirm"===t&&r.store.dispatch(new S(e)).subscribe((function(){return r.get()}))}))},e.prototype.onPageChange=function(e){this.pageQuery.skipCount=e.first,this.pageQuery.maxResultCount=e.rows,this.get()},e.prototype.get=function(){var e=this;this.loading=!0,this.store.dispatch(new U(this.pageQuery)).pipe(s.finalize((function(){return e.loading=!1}))).subscribe()},e.decorators=[{type:r.Component,args:[{selector:"abp-users",template:'
\r\n
\r\n
\r\n
\r\n
{{ \'AbpIdentity::Users\' | abpLocalization }}
\r\n
\r\n
\r\n \r\n {{ \'AbpIdentity::NewUser\' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ \'AbpIdentity::Actions\' | abpLocalization }}\r\n \r\n {{ \'AbpIdentity::UserName\' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n {{ \'AbpIdentity::EmailAddress\' | abpLocalization }}\r\n \r\n \r\n \r\n {{ \'AbpIdentity::PhoneNumber\' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ \'AbpIdentity::Actions\' | abpLocalization }}\r\n \r\n
\r\n \r\n \r\n {{ \'AbpIdentity::Permissions\' | abpLocalization }}\r\n \r\n \r\n {{ \'AbpIdentity::Delete\' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n {{ data.userName }}\r\n {{ data.email }}\r\n {{ data.phoneNumber }}\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n

{{ (selected?.id ? \'AbpIdentity::Edit\' : \'AbpIdentity::NewUser\') | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n {{\r\n \'AbpIdentity::Save\' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n\r\n'}]}],e.ctorParameters=function(){return[{type:o.ConfirmationService},{type:a.FormBuilder},{type:n.Store}]},e.propDecorators={modalContent:[{type:r.ViewChild,args:["modalContent",{static:!1}]}]},y([n.Select(k.getUsers),g("design:type",i.Observable)],e.prototype,"data$",void 0),y([n.Select(k.getUsersTotalCount),g("design:type",i.Observable)],e.prototype,"totalCount$",void 0),e}();var D=[{path:"",redirectTo:"roles",pathMatch:"full"},{path:"",component:t.DynamicLayoutComponent,canActivate:[t.AuthGuard,t.PermissionGuard],children:[{path:"roles",component:x,data:{requiredPolicy:"AbpIdentity.Roles"}},{path:"users",component:O,data:{requiredPolicy:"AbpIdentity.Users"}}]}],q=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{imports:[l.RouterModule.forChild(D)],exports:[l.RouterModule]}]}],e}(),M=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{declarations:[x,O],imports:[n.NgxsModule.forFeature([k]),t.CoreModule,q,c.NgbTabsetModule,o.ThemeSharedModule,b.TableModule,c.NgbDropdownModule,u.PermissionManagementModule,p.NgxValidateCoreModule]}]}],e}();var T;!function(e){function t(){}function r(){}function n(){}function o(){}function a(){}function i(){}e.State=t,e.RoleSaveRequest=r,e.RoleItem=n,e.UserItem=o,e.User=a,e.UserSaveRequest=i}(T||(T={})),e.CreateRole=A,e.CreateUser=L,e.DeleteRole=R,e.DeleteUser=S,e.GetRoleById=I,e.GetRoles=v,e.GetUserById=C,e.GetUserRoles=N,e.GetUsers=U,e.IDENTITY_ROUTES={routes:[{name:"AbpUiNavigation::Menu:Administration",path:"",order:1,wrapper:!0},{name:"AbpIdentity::Menu:IdentityManagement",path:"identity",order:1,parentName:"AbpUiNavigation::Menu:Administration",layout:"application",iconClass:"fa fa-id-card-o",children:[{path:"roles",name:"AbpIdentity::Roles",order:2,requiredPolicy:"AbpIdentity.Roles"},{path:"users",name:"AbpIdentity::Users",order:1,requiredPolicy:"AbpIdentity.Users"}]}]},e.IdentityModule=M,e.IdentityProviders=function(){return[]},e.IdentityService=z,e.IdentityState=k,e.RolesComponent=x,e.UpdateRole=w,e.UpdateUser=P,e.ɵb=O,e.ɵc=q,Object.defineProperty(e,"__esModule",{value:!0})})); -//# sourceMappingURL=abp-ng.identity.umd.min.js.map \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/bundles/abp-ng.identity.umd.min.js.map b/npm/ng-packs/dist/identity/bundles/abp-ng.identity.umd.min.js.map deleted file mode 100644 index d046c21a27f..00000000000 --- a/npm/ng-packs/dist/identity/bundles/abp-ng.identity.umd.min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@abp/ng.identity/lib/actions/identity.actions.ts","ng://@abp/ng.identity/lib/services/identity.service.ts","ng://@abp/ng.identity/lib/states/identity.state.ts","ng://@abp/ng.identity/lib/components/roles/roles.component.ts","ng://@abp/ng.identity/lib/components/users/users.component.ts","ng://@abp/ng.identity/lib/identity-routing.module.ts","ng://@abp/ng.identity/lib/identity.module.ts","ng://@abp/ng.identity/lib/constants/routes.ts","ng://@abp/ng.identity/lib/models/identity.ts"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__decorate","decorators","target","key","desc","d","c","r","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","__metadata","metadataKey","metadataValue","metadata","__read","o","m","Symbol","iterator","e","ar","next","done","push","value","error","__spread","concat","GetRoles","payload","type","GetRoleById","DeleteRole","CreateRole","UpdateRole","GetUsers","GetUserById","DeleteUser","CreateUser","UpdateUser","GetUserRoles","IdentityService","rest","getRoles","params","request","method","url","getRoleById","id","deleteRole","createRole","body","updateRole","getUsers","getUserById","getUserRoles","deleteUser","createUser","updateUser","Injectable","args","providedIn","RestService","IdentityState","identityService","_a","roles","items","getRolesTotalCount","totalCount","users","getUsersTotalCount","_b","patchState","pipe","tap","getRole","selectedRole","_","addRole","getState","getUser","selectedUser","addUser","pluck","selectedUserRoles","tslib_1.__decorate","Action","Selector","State","name","defaults","RolesComponent","confirmationService","fb","store","visiblePermissions","pageQuery","loading","modalBusy","sortOrder","sortKey","ngOnInit","get","createForm","form","group","FormControl","selected","disabled","isStatic","Validators","required","maxLength","isDefault","isPublic","openModal","isModalVisible","add","edit","_this","dispatch","subscribe","save","valid","finalize","delete","warn","messageLocalizationParams","status","onPageChange","data","skipCount","first","maxResultCount","rows","onClickSaveButton","formRef","nativeElement","dispatchEvent","Event","bubbles","cancelable","Component","selector","template","ConfirmationService","FormBuilder","Store","ViewChild","static","read","ElementRef","Select","Observable","UsersComponent","passwordRulesArr","requiredPasswordLength","trackByFn","index","item","keys","snq","passwordRules","selectSnapshot","ConfigState","getSettings","toLowerCase","Number","isInteger","onSearch","filter","buildForm","userName","email","surname","phoneNumber","lockoutEnabled","twoFactorEnabled","roleNames","array","map","role","find","userRole","passwordValidators","validatePassword","minLength","addControl","setValidators","updateValueAndValidity","switchMap","take","state","mappedRoleNames","routes","path","redirectTo","pathMatch","component","DynamicLayoutComponent","canActivate","AuthGuard","PermissionGuard","children","requiredPolicy","IdentityRoutingModule","NgModule","imports","RouterModule","forChild","exports","IdentityModule","declarations","NgxsModule","forFeature","CoreModule","NgbTabsetModule","ThemeSharedModule","TableModule","NgbDropdownModule","PermissionManagementModule","NgxValidateCoreModule","Identity","RoleSaveRequest","RoleItem","UserItem","User","UserSaveRequest","order","wrapper","parentName","layout","iconClass"],"mappings":"8iCA6BO,IAAIA,EAAW,WAQlB,OAPAA,EAAWC,OAAOC,QAAU,SAAkBC,GAC1C,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,IAE9E,OAAON,IAEKU,MAAMC,KAAMP,YAezB,SAASQ,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAId,UAAUC,OAAQc,EAAID,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOlB,OAAOsB,yBAAyBN,EAAQC,GAAOC,EACrH,GAAuB,iBAAZK,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAAST,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAId,EAAIW,EAAWR,OAAS,EAAGH,GAAK,EAAGA,KAASe,EAAIJ,EAAWX,MAAIiB,GAAKD,EAAI,EAAID,EAAEE,GAAKD,EAAI,EAAID,EAA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AS1G,KAAM,qBAAsB2I,MAAO,EAAGxB,eAAgB,gEDU/E,WACE,MAAO","sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { Identity } from '../models/identity';\r\nimport { ABP } from '@abp/ng.core';\r\n\r\nexport class GetRoles {\r\n static readonly type = '[Identity] Get Roles';\r\n constructor(public payload?: ABP.PageQueryParams) {}\r\n}\r\n\r\nexport class GetRoleById {\r\n static readonly type = '[Identity] Get Role By Id';\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class DeleteRole {\r\n static readonly type = '[Identity] Delete Role';\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class CreateRole {\r\n static readonly type = '[Identity] Create Role';\r\n constructor(public payload: Identity.RoleSaveRequest) {}\r\n}\r\n\r\nexport class UpdateRole {\r\n static readonly type = '[Identity] Update Role';\r\n constructor(public payload: Identity.RoleItem) {}\r\n}\r\n\r\nexport class GetUsers {\r\n static readonly type = '[Identity] Get Users';\r\n constructor(public payload?: ABP.PageQueryParams) {}\r\n}\r\n\r\nexport class GetUserById {\r\n static readonly type = '[Identity] Get User By Id';\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class DeleteUser {\r\n static readonly type = '[Identity] Delete User';\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class CreateUser {\r\n static readonly type = '[Identity] Create User';\r\n constructor(public payload: Identity.UserSaveRequest) {}\r\n}\r\n\r\nexport class UpdateUser {\r\n static readonly type = '[Identity] Update User';\r\n constructor(public payload: Identity.UserSaveRequest & { id: string }) {}\r\n}\r\n\r\nexport class GetUserRoles {\r\n static readonly type = '[Identity] Get User Roles';\r\n constructor(public payload: string) {}\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RestService, Rest, ABP } from '@abp/ng.core';\r\nimport { Identity } from '../models/identity';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentityService {\r\n constructor(private rest: RestService) {}\r\n\r\n getRoles(params = {} as ABP.PageQueryParams): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/identity/roles',\r\n params,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getRoleById(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: `/api/identity/roles/${id}`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n deleteRole(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'DELETE',\r\n url: `/api/identity/roles/${id}`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n createRole(body: Identity.RoleSaveRequest): Observable {\r\n const request: Rest.Request = {\r\n method: 'POST',\r\n url: '/api/identity/roles',\r\n body,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n updateRole(body: Identity.RoleItem): Observable {\r\n const url = `/api/identity/roles/${body.id}`;\r\n delete body.id;\r\n\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url,\r\n body,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getUsers(params = {} as ABP.PageQueryParams): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/identity/users',\r\n params,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getUserById(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: `/api/identity/users/${id}`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getUserRoles(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: `/api/identity/users/${id}/roles`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n deleteUser(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'DELETE',\r\n url: `/api/identity/users/${id}`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n createUser(body: Identity.UserSaveRequest): Observable {\r\n const request: Rest.Request = {\r\n method: 'POST',\r\n url: '/api/identity/users',\r\n body,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n updateUser(body: Identity.UserItem): Observable {\r\n const url = `/api/identity/users/${body.id}`;\r\n delete body.id;\r\n\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url,\r\n body,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { switchMap, tap, pluck } from 'rxjs/operators';\r\nimport {\r\n CreateRole,\r\n CreateUser,\r\n DeleteRole,\r\n DeleteUser,\r\n GetRoleById,\r\n GetRoles,\r\n GetUserById,\r\n GetUsers,\r\n UpdateRole,\r\n UpdateUser,\r\n GetUserRoles,\r\n} from '../actions/identity.actions';\r\nimport { Identity } from '../models/identity';\r\nimport { IdentityService } from '../services/identity.service';\r\n\r\n@State({\r\n name: 'IdentityState',\r\n defaults: { roles: {}, selectedRole: {}, users: {}, selectedUser: {} } as Identity.State,\r\n})\r\nexport class IdentityState {\r\n @Selector()\r\n static getRoles({ roles }: Identity.State): Identity.RoleItem[] {\r\n return roles.items || [];\r\n }\r\n\r\n @Selector()\r\n static getRolesTotalCount({ roles }: Identity.State): number {\r\n return roles.totalCount || 0;\r\n }\r\n\r\n @Selector()\r\n static getUsers({ users }: Identity.State): Identity.UserItem[] {\r\n return users.items || [];\r\n }\r\n\r\n @Selector()\r\n static getUsersTotalCount({ users }: Identity.State): number {\r\n return users.totalCount || 0;\r\n }\r\n\r\n constructor(private identityService: IdentityService) {}\r\n\r\n @Action(GetRoles)\r\n getRoles({ patchState }: StateContext, { payload }: GetRoles) {\r\n return this.identityService.getRoles(payload).pipe(\r\n tap(roles =>\r\n patchState({\r\n roles,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(GetRoleById)\r\n getRole({ patchState }: StateContext, { payload }: GetRoleById) {\r\n return this.identityService.getRoleById(payload).pipe(\r\n tap(selectedRole =>\r\n patchState({\r\n selectedRole,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(DeleteRole)\r\n deleteRole(_, { payload }: GetRoleById) {\r\n return this.identityService.deleteRole(payload);\r\n }\r\n\r\n @Action(CreateRole)\r\n addRole(_, { payload }: CreateRole) {\r\n return this.identityService.createRole(payload);\r\n }\r\n\r\n @Action(UpdateRole)\r\n updateRole({ getState }: StateContext, { payload }: UpdateRole) {\r\n return this.identityService.updateRole({ ...getState().selectedRole, ...payload });\r\n }\r\n\r\n @Action(GetUsers)\r\n getUsers({ patchState }: StateContext, { payload }: GetUsers) {\r\n return this.identityService.getUsers(payload).pipe(\r\n tap(users =>\r\n patchState({\r\n users,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(GetUserById)\r\n getUser({ patchState }: StateContext, { payload }: GetUserById) {\r\n return this.identityService.getUserById(payload).pipe(\r\n tap(selectedUser =>\r\n patchState({\r\n selectedUser,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(DeleteUser)\r\n deleteUser(_, { payload }: GetUserById) {\r\n return this.identityService.deleteUser(payload);\r\n }\r\n\r\n @Action(CreateUser)\r\n addUser(_, { payload }: CreateUser) {\r\n return this.identityService.createUser(payload);\r\n }\r\n\r\n @Action(UpdateUser)\r\n updateUser({ getState }: StateContext, { payload }: UpdateUser) {\r\n return this.identityService.updateUser({ ...getState().selectedUser, ...payload });\r\n }\r\n\r\n @Action(GetUserRoles)\r\n getUserRoles({ patchState }: StateContext, { payload }: GetUserRoles) {\r\n return this.identityService.getUserRoles(payload).pipe(\r\n pluck('items'),\r\n tap(selectedUserRoles =>\r\n patchState({\r\n selectedUserRoles,\r\n }),\r\n ),\r\n );\r\n }\r\n}\r\n","import { ABP } from '@abp/ng.core';\r\nimport { ConfirmationService, Toaster } from '@abp/ng.theme.shared';\r\nimport { Component, TemplateRef, ViewChild, OnInit, ContentChild, ElementRef } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { finalize, pluck } from 'rxjs/operators';\r\nimport {\r\n CreateRole,\r\n DeleteRole,\r\n GetRoleById,\r\n GetRoles,\r\n UpdateRole,\r\n} from '../../actions/identity.actions';\r\nimport { Identity } from '../../models/identity';\r\nimport { IdentityState } from '../../states/identity.state';\r\n\r\n@Component({\r\n selector: 'abp-roles',\r\n templateUrl: './roles.component.html',\r\n})\r\nexport class RolesComponent implements OnInit {\r\n @Select(IdentityState.getRoles)\r\n data$: Observable;\r\n\r\n @Select(IdentityState.getRolesTotalCount)\r\n totalCount$: Observable;\r\n\r\n form: FormGroup;\r\n\r\n selected: Identity.RoleItem;\r\n\r\n isModalVisible: boolean;\r\n\r\n visiblePermissions = false;\r\n\r\n providerKey: string;\r\n\r\n pageQuery: ABP.PageQueryParams = {};\r\n\r\n loading = false;\r\n\r\n modalBusy = false;\r\n\r\n sortOrder = '';\r\n\r\n sortKey = '';\r\n\r\n @ViewChild('formRef', { static: false, read: ElementRef })\r\n formRef: ElementRef;\r\n\r\n constructor(\r\n private confirmationService: ConfirmationService,\r\n private fb: FormBuilder,\r\n private store: Store,\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.get();\r\n }\r\n\r\n createForm() {\r\n this.form = this.fb.group({\r\n name: new FormControl({ value: this.selected.name || '', disabled: this.selected.isStatic }, [\r\n Validators.required,\r\n Validators.maxLength(256),\r\n ]),\r\n isDefault: [this.selected.isDefault || false],\r\n isPublic: [this.selected.isPublic || false],\r\n });\r\n }\r\n\r\n openModal() {\r\n this.createForm();\r\n this.isModalVisible = true;\r\n }\r\n\r\n add() {\r\n this.selected = {} as Identity.RoleItem;\r\n this.openModal();\r\n }\r\n\r\n edit(id: string) {\r\n this.store\r\n .dispatch(new GetRoleById(id))\r\n .pipe(pluck('IdentityState', 'selectedRole'))\r\n .subscribe(selectedRole => {\r\n this.selected = selectedRole;\r\n this.openModal();\r\n });\r\n }\r\n\r\n save() {\r\n if (!this.form.valid) return;\r\n this.modalBusy = true;\r\n\r\n this.store\r\n .dispatch(\r\n this.selected.id\r\n ? new UpdateRole({ ...this.selected, ...this.form.value, id: this.selected.id })\r\n : new CreateRole(this.form.value),\r\n )\r\n .pipe(finalize(() => (this.modalBusy = false)))\r\n .subscribe(() => {\r\n this.isModalVisible = false;\r\n this.get();\r\n });\r\n }\r\n\r\n delete(id: string, name: string) {\r\n this.confirmationService\r\n .warn('AbpIdentity::RoleDeletionConfirmationMessage', 'AbpIdentity::AreYouSure', {\r\n messageLocalizationParams: [name],\r\n })\r\n .subscribe((status: Toaster.Status) => {\r\n if (status === Toaster.Status.confirm) {\r\n this.store.dispatch(new DeleteRole(id)).subscribe(() => this.get());\r\n }\r\n });\r\n }\r\n\r\n onPageChange(data) {\r\n this.pageQuery.skipCount = data.first;\r\n this.pageQuery.maxResultCount = data.rows;\r\n\r\n this.get();\r\n }\r\n\r\n get() {\r\n this.loading = true;\r\n this.store\r\n .dispatch(new GetRoles(this.pageQuery))\r\n .pipe(finalize(() => (this.loading = false)))\r\n .subscribe();\r\n }\r\n\r\n onClickSaveButton() {\r\n this.formRef.nativeElement.dispatchEvent(\r\n new Event('submit', { bubbles: true, cancelable: true }),\r\n );\r\n }\r\n}\r\n","import { ABP, ConfigState } from '@abp/ng.core';\r\nimport { ConfirmationService, Toaster } from '@abp/ng.theme.shared';\r\nimport { Component, TemplateRef, TrackByFunction, ViewChild, OnInit } from '@angular/core';\r\nimport {\r\n AbstractControl,\r\n FormArray,\r\n FormBuilder,\r\n FormGroup,\r\n Validators,\r\n FormControl,\r\n} from '@angular/forms';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { finalize, pluck, switchMap, take } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport {\r\n CreateUser,\r\n DeleteUser,\r\n GetUserById,\r\n GetUserRoles,\r\n GetUsers,\r\n UpdateUser,\r\n GetRoles,\r\n} from '../../actions/identity.actions';\r\nimport { Identity } from '../../models/identity';\r\nimport { IdentityState } from '../../states/identity.state';\r\nimport { PasswordRules, validatePassword } from '@ngx-validate/core';\r\n@Component({\r\n selector: 'abp-users',\r\n templateUrl: './users.component.html',\r\n})\r\nexport class UsersComponent implements OnInit {\r\n @Select(IdentityState.getUsers)\r\n data$: Observable;\r\n\r\n @Select(IdentityState.getUsersTotalCount)\r\n totalCount$: Observable;\r\n\r\n @ViewChild('modalContent', { static: false })\r\n modalContent: TemplateRef;\r\n\r\n form: FormGroup;\r\n\r\n selected: Identity.UserItem;\r\n\r\n selectedUserRoles: Identity.RoleItem[];\r\n\r\n roles: Identity.RoleItem[];\r\n\r\n visiblePermissions = false;\r\n\r\n providerKey: string;\r\n\r\n pageQuery: ABP.PageQueryParams = {};\r\n\r\n isModalVisible: boolean;\r\n\r\n loading = false;\r\n\r\n modalBusy = false;\r\n\r\n sortOrder = '';\r\n\r\n sortKey = '';\r\n\r\n passwordRulesArr = [] as PasswordRules;\r\n\r\n requiredPasswordLength = 1;\r\n\r\n trackByFn: TrackByFunction = (index, item) => Object.keys(item)[0] || index;\r\n\r\n get roleGroups(): FormGroup[] {\r\n return snq(() => (this.form.get('roleNames') as FormArray).controls as FormGroup[], []);\r\n }\r\n\r\n constructor(\r\n private confirmationService: ConfirmationService,\r\n private fb: FormBuilder,\r\n private store: Store,\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.get();\r\n\r\n const passwordRules: ABP.Dictionary = this.store.selectSnapshot(\r\n ConfigState.getSettings('Identity.Password'),\r\n );\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') {\r\n this.passwordRulesArr.push('number');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') {\r\n this.passwordRulesArr.push('small');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') {\r\n this.passwordRulesArr.push('capital');\r\n }\r\n\r\n if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) {\r\n this.passwordRulesArr.push('special');\r\n }\r\n\r\n if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) {\r\n this.requiredPasswordLength = +passwordRules['Abp.Identity.Password.RequiredLength'];\r\n }\r\n }\r\n\r\n onSearch(value) {\r\n this.pageQuery.filter = value;\r\n this.get();\r\n }\r\n\r\n buildForm() {\r\n this.store.dispatch(new GetRoles()).subscribe(() => {\r\n this.roles = this.store.selectSnapshot(IdentityState.getRoles);\r\n this.form = this.fb.group({\r\n userName: [this.selected.userName || '', [Validators.required, Validators.maxLength(256)]],\r\n email: [\r\n this.selected.email || '',\r\n [Validators.required, Validators.email, Validators.maxLength(256)],\r\n ],\r\n name: [this.selected.name || '', [Validators.maxLength(64)]],\r\n surname: [this.selected.surname || '', [Validators.maxLength(64)]],\r\n phoneNumber: [this.selected.phoneNumber || '', [Validators.maxLength(16)]],\r\n lockoutEnabled: [this.selected.lockoutEnabled || (this.selected.id ? false : true)],\r\n twoFactorEnabled: [this.selected.twoFactorEnabled || (this.selected.id ? false : true)],\r\n roleNames: this.fb.array(\r\n this.roles.map(role =>\r\n this.fb.group({\r\n [role.name]: [\r\n !!snq(() => this.selectedUserRoles.find(userRole => userRole.id === role.id)),\r\n ],\r\n }),\r\n ),\r\n ),\r\n });\r\n\r\n const passwordValidators = [\r\n validatePassword(this.passwordRulesArr),\r\n Validators.minLength(this.requiredPasswordLength),\r\n Validators.maxLength(32),\r\n ];\r\n\r\n this.form.addControl('password', new FormControl('', [...passwordValidators]));\r\n\r\n if (!this.selected.userName) {\r\n this.form.get('password').setValidators([...passwordValidators, Validators.required]);\r\n this.form.get('password').updateValueAndValidity();\r\n }\r\n });\r\n }\r\n\r\n openModal() {\r\n this.buildForm();\r\n this.isModalVisible = true;\r\n }\r\n\r\n add() {\r\n this.selected = {} as Identity.UserItem;\r\n this.selectedUserRoles = [] as Identity.RoleItem[];\r\n this.openModal();\r\n }\r\n\r\n edit(id: string) {\r\n this.store\r\n .dispatch(new GetUserById(id))\r\n .pipe(\r\n switchMap(() => this.store.dispatch(new GetUserRoles(id))),\r\n pluck('IdentityState'),\r\n take(1),\r\n )\r\n .subscribe((state: Identity.State) => {\r\n this.selected = state.selectedUser;\r\n this.selectedUserRoles = state.selectedUserRoles;\r\n this.openModal();\r\n });\r\n }\r\n\r\n save() {\r\n if (!this.form.valid || this.modalBusy) return;\r\n this.modalBusy = true;\r\n\r\n const { roleNames } = this.form.value;\r\n const mappedRoleNames = snq(\r\n () =>\r\n roleNames.filter(role => !!role[Object.keys(role)[0]]).map(role => Object.keys(role)[0]),\r\n [],\r\n );\r\n\r\n this.store\r\n .dispatch(\r\n this.selected.id\r\n ? new UpdateUser({\r\n ...this.selected,\r\n ...this.form.value,\r\n id: this.selected.id,\r\n roleNames: mappedRoleNames,\r\n })\r\n : new CreateUser({\r\n ...this.form.value,\r\n roleNames: mappedRoleNames,\r\n }),\r\n )\r\n .pipe(finalize(() => (this.modalBusy = false)))\r\n .subscribe(() => {\r\n this.isModalVisible = false;\r\n this.get();\r\n });\r\n }\r\n\r\n delete(id: string, userName: string) {\r\n this.confirmationService\r\n .warn('AbpIdentity::UserDeletionConfirmationMessage', 'AbpIdentity::AreYouSure', {\r\n messageLocalizationParams: [userName],\r\n })\r\n .subscribe((status: Toaster.Status) => {\r\n if (status === Toaster.Status.confirm) {\r\n this.store.dispatch(new DeleteUser(id)).subscribe(() => this.get());\r\n }\r\n });\r\n }\r\n\r\n onPageChange(data) {\r\n this.pageQuery.skipCount = data.first;\r\n this.pageQuery.maxResultCount = data.rows;\r\n\r\n this.get();\r\n }\r\n\r\n get() {\r\n this.loading = true;\r\n this.store\r\n .dispatch(new GetUsers(this.pageQuery))\r\n .pipe(finalize(() => (this.loading = false)))\r\n .subscribe();\r\n }\r\n}\r\n","import { AuthGuard, DynamicLayoutComponent, PermissionGuard } from '@abp/ng.core';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { RolesComponent } from './components/roles/roles.component';\r\nimport { UsersComponent } from './components/users/users.component';\r\n\r\nconst routes: Routes = [\r\n { path: '', redirectTo: 'roles', pathMatch: 'full' },\r\n {\r\n path: '',\r\n component: DynamicLayoutComponent,\r\n canActivate: [AuthGuard, PermissionGuard],\r\n children: [\r\n {\r\n path: 'roles',\r\n component: RolesComponent,\r\n data: { requiredPolicy: 'AbpIdentity.Roles' },\r\n },\r\n {\r\n path: 'users',\r\n component: UsersComponent,\r\n data: { requiredPolicy: 'AbpIdentity.Users' },\r\n },\r\n ],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class IdentityRoutingModule {}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { NgModule, Provider } from '@angular/core';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { RolesComponent } from './components/roles/roles.component';\r\nimport { IdentityRoutingModule } from './identity-routing.module';\r\nimport { IdentityState } from './states/identity.state';\r\nimport { NgbTabsetModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { UsersComponent } from './components/users/users.component';\r\nimport { PermissionManagementModule } from '@abp/ng.permission-management';\r\nimport { TableModule } from 'primeng/table';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\n\r\n@NgModule({\r\n declarations: [RolesComponent, UsersComponent],\r\n imports: [\r\n NgxsModule.forFeature([IdentityState]),\r\n CoreModule,\r\n IdentityRoutingModule,\r\n NgbTabsetModule,\r\n ThemeSharedModule,\r\n TableModule,\r\n NgbDropdownModule,\r\n PermissionManagementModule,\r\n NgxValidateCoreModule,\r\n ],\r\n})\r\nexport class IdentityModule {}\r\n\r\n/**\r\n *\r\n * @deprecated\r\n */\r\nexport function IdentityProviders(): Provider[] {\r\n return [];\r\n}\r\n","import { eLayoutType, ABP } from '@abp/ng.core';\r\n\r\n/**\r\n *\r\n * @deprecated\r\n */\r\nexport const IDENTITY_ROUTES = {\r\n routes: [\r\n {\r\n name: 'AbpUiNavigation::Menu:Administration',\r\n path: '',\r\n order: 1,\r\n wrapper: true,\r\n },\r\n {\r\n name: 'AbpIdentity::Menu:IdentityManagement',\r\n path: 'identity',\r\n order: 1,\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-id-card-o',\r\n children: [\r\n { path: 'roles', name: 'AbpIdentity::Roles', order: 2, requiredPolicy: 'AbpIdentity.Roles' },\r\n { path: 'users', name: 'AbpIdentity::Users', order: 1, requiredPolicy: 'AbpIdentity.Users' },\r\n ],\r\n },\r\n ] as ABP.FullRoute[],\r\n};\r\n","import { ABP } from '@abp/ng.core';\r\n\r\nexport namespace Identity {\r\n export interface State {\r\n roles: RoleResponse;\r\n users: UserResponse;\r\n selectedRole: RoleItem;\r\n selectedUser: UserItem;\r\n selectedUserRoles: RoleItem[];\r\n }\r\n\r\n export type RoleResponse = ABP.PagedResponse;\r\n\r\n export interface RoleSaveRequest {\r\n name: string;\r\n isDefault: boolean;\r\n isPublic: boolean;\r\n }\r\n\r\n export interface RoleItem extends RoleSaveRequest {\r\n isStatic: boolean;\r\n concurrencyStamp: string;\r\n id: string;\r\n }\r\n\r\n export type UserResponse = ABP.PagedResponse;\r\n\r\n export interface UserItem extends User {\r\n tenantId: string;\r\n emailConfirmed: boolean;\r\n phoneNumberConfirmed: boolean;\r\n isLockedOut: boolean;\r\n concurrencyStamp: string;\r\n id: string;\r\n }\r\n\r\n export interface User {\r\n userName: string;\r\n name: string;\r\n surname: string;\r\n email: string;\r\n phoneNumber: string;\r\n twoFactorEnabled: true;\r\n lockoutEnabled: true;\r\n }\r\n\r\n export interface UserSaveRequest extends User {\r\n password: string;\r\n roleNames: string[];\r\n }\r\n}\r\n"]} \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm2015/abp-ng.identity.js b/npm/ng-packs/dist/identity/esm2015/abp-ng.identity.js deleted file mode 100644 index 15c240803b0..00000000000 --- a/npm/ng-packs/dist/identity/esm2015/abp-ng.identity.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.identity.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { IdentityProviders, IdentityModule, GetRoles, GetRoleById, DeleteRole, CreateRole, UpdateRole, GetUsers, GetUserById, DeleteUser, CreateUser, UpdateUser, GetUserRoles, RolesComponent, IDENTITY_ROUTES, IdentityService, IdentityState } from './public-api'; -export { UsersComponent as ɵb } from './lib/components/users/users.component'; -export { IdentityRoutingModule as ɵc } from './lib/identity-routing.module'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLmlkZW50aXR5LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5pZGVudGl0eS8iLCJzb3VyY2VzIjpbImFicC1uZy5pZGVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLHVQQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMsY0FBYyxJQUFJLEVBQUUsRUFBQyxNQUFNLHdDQUF3QyxDQUFDO0FBQzVFLE9BQU8sRUFBQyxxQkFBcUIsSUFBSSxFQUFFLEVBQUMsTUFBTSwrQkFBK0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcblxuZXhwb3J0IHtVc2Vyc0NvbXBvbmVudCBhcyDJtWJ9IGZyb20gJy4vbGliL2NvbXBvbmVudHMvdXNlcnMvdXNlcnMuY29tcG9uZW50JztcbmV4cG9ydCB7SWRlbnRpdHlSb3V0aW5nTW9kdWxlIGFzIMm1Y30gZnJvbSAnLi9saWIvaWRlbnRpdHktcm91dGluZy5tb2R1bGUnO1xuZXhwb3J0IHtJZGVudGl0eSBhcyDJtWF9IGZyb20gJy4vbGliL21vZGVscy9pZGVudGl0eSc7Il19 \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm2015/lib/actions/identity.actions.js b/npm/ng-packs/dist/identity/esm2015/lib/actions/identity.actions.js deleted file mode 100644 index 4ab6c6b951c..00000000000 --- a/npm/ng-packs/dist/identity/esm2015/lib/actions/identity.actions.js +++ /dev/null @@ -1,171 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/identity.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export class GetRoles { - /** - * @param {?=} payload - */ - constructor(payload) { - this.payload = payload; - } -} -GetRoles.type = '[Identity] Get Roles'; -if (false) { - /** @type {?} */ - GetRoles.type; - /** @type {?} */ - GetRoles.prototype.payload; -} -export class GetRoleById { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -GetRoleById.type = '[Identity] Get Role By Id'; -if (false) { - /** @type {?} */ - GetRoleById.type; - /** @type {?} */ - GetRoleById.prototype.payload; -} -export class DeleteRole { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -DeleteRole.type = '[Identity] Delete Role'; -if (false) { - /** @type {?} */ - DeleteRole.type; - /** @type {?} */ - DeleteRole.prototype.payload; -} -export class CreateRole { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -CreateRole.type = '[Identity] Create Role'; -if (false) { - /** @type {?} */ - CreateRole.type; - /** @type {?} */ - CreateRole.prototype.payload; -} -export class UpdateRole { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -UpdateRole.type = '[Identity] Update Role'; -if (false) { - /** @type {?} */ - UpdateRole.type; - /** @type {?} */ - UpdateRole.prototype.payload; -} -export class GetUsers { - /** - * @param {?=} payload - */ - constructor(payload) { - this.payload = payload; - } -} -GetUsers.type = '[Identity] Get Users'; -if (false) { - /** @type {?} */ - GetUsers.type; - /** @type {?} */ - GetUsers.prototype.payload; -} -export class GetUserById { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -GetUserById.type = '[Identity] Get User By Id'; -if (false) { - /** @type {?} */ - GetUserById.type; - /** @type {?} */ - GetUserById.prototype.payload; -} -export class DeleteUser { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -DeleteUser.type = '[Identity] Delete User'; -if (false) { - /** @type {?} */ - DeleteUser.type; - /** @type {?} */ - DeleteUser.prototype.payload; -} -export class CreateUser { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -CreateUser.type = '[Identity] Create User'; -if (false) { - /** @type {?} */ - CreateUser.type; - /** @type {?} */ - CreateUser.prototype.payload; -} -export class UpdateUser { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -UpdateUser.type = '[Identity] Update User'; -if (false) { - /** @type {?} */ - UpdateUser.type; - /** @type {?} */ - UpdateUser.prototype.payload; -} -export class GetUserRoles { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -GetUserRoles.type = '[Identity] Get User Roles'; -if (false) { - /** @type {?} */ - GetUserRoles.type; - /** @type {?} */ - GetUserRoles.prototype.payload; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHkuYWN0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuaWRlbnRpdHkvIiwic291cmNlcyI6WyJsaWIvYWN0aW9ucy9pZGVudGl0eS5hY3Rpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBR0EsTUFBTSxPQUFPLFFBQVE7Ozs7SUFFbkIsWUFBbUIsT0FBNkI7UUFBN0IsWUFBTyxHQUFQLE9BQU8sQ0FBc0I7SUFBRyxDQUFDOztBQURwQyxhQUFJLEdBQUcsc0JBQXNCLENBQUM7OztJQUE5QyxjQUE4Qzs7SUFDbEMsMkJBQW9DOztBQUdsRCxNQUFNLE9BQU8sV0FBVzs7OztJQUV0QixZQUFtQixPQUFlO1FBQWYsWUFBTyxHQUFQLE9BQU8sQ0FBUTtJQUFHLENBQUM7O0FBRHRCLGdCQUFJLEdBQUcsMkJBQTJCLENBQUM7OztJQUFuRCxpQkFBbUQ7O0lBQ3ZDLDhCQUFzQjs7QUFHcEMsTUFBTSxPQUFPLFVBQVU7Ozs7SUFFckIsWUFBbUIsT0FBZTtRQUFmLFlBQU8sR0FBUCxPQUFPLENBQVE7SUFBRyxDQUFDOztBQUR0QixlQUFJLEdBQUcsd0JBQXdCLENBQUM7OztJQUFoRCxnQkFBZ0Q7O0lBQ3BDLDZCQUFzQjs7QUFHcEMsTUFBTSxPQUFPLFVBQVU7Ozs7SUFFckIsWUFBbUIsT0FBaUM7UUFBakMsWUFBTyxHQUFQLE9BQU8sQ0FBMEI7SUFBRyxDQUFDOztBQUR4QyxlQUFJLEdBQUcsd0JBQXdCLENBQUM7OztJQUFoRCxnQkFBZ0Q7O0lBQ3BDLDZCQ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VXBkYXRlVXNlciB7XHJcbiAgc3RhdGljIHJlYWRvbmx5IHR5cGUgPSAnW0lkZW50aXR5XSBVcGRhdGUgVXNlcic7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IElkZW50aXR5LlVzZXJTYXZlUmVxdWVzdCAmIHsgaWQ6IHN0cmluZyB9KSB7fVxyXG59XHJcblxyXG5leHBvcnQgY2xhc3MgR2V0VXNlclJvbGVzIHtcclxuICBzdGF0aWMgcmVhZG9ubHkgdHlwZSA9ICdbSWRlbnRpdHldIEdldCBVc2VyIFJvbGVzJztcclxuICBjb25zdHJ1Y3RvcihwdWJsaWMgcGF5bG9hZDogc3RyaW5nKSB7fVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm2015/lib/components/roles/roles.component.js b/npm/ng-packs/dist/identity/esm2015/lib/components/roles/roles.component.js deleted file mode 100644 index 1a480a61d79..00000000000 --- a/npm/ng-packs/dist/identity/esm2015/lib/components/roles/roles.component.js +++ /dev/null @@ -1,223 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/roles/roles.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { ConfirmationService } from '@abp/ng.theme.shared'; -import { Component, ViewChild, ElementRef } from '@angular/core'; -import { FormBuilder, Validators, FormControl } from '@angular/forms'; -import { Select, Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { finalize, pluck } from 'rxjs/operators'; -import { CreateRole, DeleteRole, GetRoleById, GetRoles, UpdateRole, } from '../../actions/identity.actions'; -import { IdentityState } from '../../states/identity.state'; -export class RolesComponent { - /** - * @param {?} confirmationService - * @param {?} fb - * @param {?} store - */ - constructor(confirmationService, fb, store) { - this.confirmationService = confirmationService; - this.fb = fb; - this.store = store; - this.visiblePermissions = false; - this.pageQuery = {}; - this.loading = false; - this.modalBusy = false; - this.sortOrder = ''; - this.sortKey = ''; - } - /** - * @return {?} - */ - ngOnInit() { - this.get(); - } - /** - * @return {?} - */ - createForm() { - this.form = this.fb.group({ - name: new FormControl({ value: this.selected.name || '', disabled: this.selected.isStatic }, [ - Validators.required, - Validators.maxLength(256), - ]), - isDefault: [this.selected.isDefault || false], - isPublic: [this.selected.isPublic || false], - }); - } - /** - * @return {?} - */ - openModal() { - this.createForm(); - this.isModalVisible = true; - } - /** - * @return {?} - */ - add() { - this.selected = (/** @type {?} */ ({})); - this.openModal(); - } - /** - * @param {?} id - * @return {?} - */ - edit(id) { - this.store - .dispatch(new GetRoleById(id)) - .pipe(pluck('IdentityState', 'selectedRole')) - .subscribe((/** - * @param {?} selectedRole - * @return {?} - */ - selectedRole => { - this.selected = selectedRole; - this.openModal(); - })); - } - /** - * @return {?} - */ - save() { - if (!this.form.valid) - return; - this.modalBusy = true; - this.store - .dispatch(this.selected.id - ? new UpdateRole(Object.assign({}, this.selected, this.form.value, { id: this.selected.id })) - : new CreateRole(this.form.value)) - .pipe(finalize((/** - * @return {?} - */ - () => (this.modalBusy = false)))) - .subscribe((/** - * @return {?} - */ - () => { - this.isModalVisible = false; - this.get(); - })); - } - /** - * @param {?} id - * @param {?} name - * @return {?} - */ - delete(id, name) { - this.confirmationService - .warn('AbpIdentity::RoleDeletionConfirmationMessage', 'AbpIdentity::AreYouSure', { - messageLocalizationParams: [name], - }) - .subscribe((/** - * @param {?} status - * @return {?} - */ - (status) => { - if (status === "confirm" /* confirm */) { - this.store.dispatch(new DeleteRole(id)).subscribe((/** - * @return {?} - */ - () => this.get())); - } - })); - } - /** - * @param {?} data - * @return {?} - */ - onPageChange(data) { - this.pageQuery.skipCount = data.first; - this.pageQuery.maxResultCount = data.rows; - this.get(); - } - /** - * @return {?} - */ - get() { - this.loading = true; - this.store - .dispatch(new GetRoles(this.pageQuery)) - .pipe(finalize((/** - * @return {?} - */ - () => (this.loading = false)))) - .subscribe(); - } - /** - * @return {?} - */ - onClickSaveButton() { - this.formRef.nativeElement.dispatchEvent(new Event('submit', { bubbles: true, cancelable: true })); - } -} -RolesComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-roles', - template: "
\r\n
\r\n
\r\n
\r\n
{{ 'AbpIdentity::Roles' | abpLocalization }}
\r\n
\r\n
\r\n \r\n \r\n {{ 'AbpIdentity::NewRole' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n {{ 'AbpIdentity::RoleName' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n
\r\n \r\n {{ 'AbpIdentity::Edit' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpIdentity::Permissions' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpIdentity::Delete' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n \r\n {{ data.name\r\n }}{{\r\n 'AbpIdentity::DisplayName:IsDefault' | abpLocalization\r\n }}\r\n {{\r\n 'AbpIdentity::DisplayName:IsPublic' | abpLocalization\r\n }}\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n

{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewRole') | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n\r\n" - }] } -]; -/** @nocollapse */ -RolesComponent.ctorParameters = () => [ - { type: ConfirmationService }, - { type: FormBuilder }, - { type: Store } -]; -RolesComponent.propDecorators = { - formRef: [{ type: ViewChild, args: ['formRef', { static: false, read: ElementRef },] }] -}; -tslib_1.__decorate([ - Select(IdentityState.getRoles), - tslib_1.__metadata("design:type", Observable) -], RolesComponent.prototype, "data$", void 0); -tslib_1.__decorate([ - Select(IdentityState.getRolesTotalCount), - tslib_1.__metadata("design:type", Observable) -], RolesComponent.prototype, "totalCount$", void 0); -if (false) { - /** @type {?} */ - RolesComponent.prototype.data$; - /** @type {?} */ - RolesComponent.prototype.totalCount$; - /** @type {?} */ - RolesComponent.prototype.form; - /** @type {?} */ - RolesComponent.prototype.selected; - /** @type {?} */ - RolesComponent.prototype.isModalVisible; - /** @type {?} */ - RolesComponent.prototype.visiblePermissions; - /** @type {?} */ - RolesComponent.prototype.providerKey; - /** @type {?} */ - RolesComponent.prototype.pageQuery; - /** @type {?} */ - RolesComponent.prototype.loading; - /** @type {?} */ - RolesComponent.prototype.modalBusy; - /** @type {?} */ - RolesComponent.prototype.sortOrder; - /** @type {?} */ - RolesComponent.prototype.sortKey; - /** @type {?} */ - RolesComponent.prototype.formRef; - /** - * @type {?} - * @private - */ - RolesComponent.prototype.confirmationService; - /** - * @type {?} - * @private - */ - RolesComponent.prototype.fb; - /** - * @type {?} - * @private - */ - RolesComponent.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9sZXMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5pZGVudGl0eS8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL3JvbGVzL3JvbGVzLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFDQSxPQUFPLEVBQUUsbUJBQW1CLEVBQVcsTUFBTSxzQkFBc0IsQ0FBQztBQUNwRSxPQUFPLEVBQUUsU0FBUyxFQUFlLFNBQVMsRUFBd0IsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3BHLE9BQU8sRUFBRSxXQUFXLEVBQWEsVUFBVSxFQUFFLFdBQVcsRUFBRSx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dHJ1ZTtcclxuICAgIHRoaXMuc3RvcmVcclxuICAgICAgLmRpc3BhdGNoKG5ldyBHZXRSb2xlcyh0aGlzLnBhZ2VRdWVyeSkpXHJcbiAgICAgIC5waXBlKGZpbmFsaXplKCgpID0+ICh0aGlzLmxvYWRpbmcgPSBmYWxzZSkpKVxyXG4gICAgICAuc3Vic2NyaWJlKCk7XHJcbiAgfVxyXG5cclxuICBvbkNsaWNrU2F2ZUJ1dHRvbigpIHtcclxuICAgIHRoaXMuZm9ybVJlZi5uYXRpdmVFbGVtZW50LmRpc3BhdGNoRXZlbnQoXHJcbiAgICAgIG5ldyBFdmVudCgnc3VibWl0JywgeyBidWJibGVzOiB0cnVlLCBjYW5jZWxhYmxlOiB0cnVlIH0pLFxyXG4gICAgKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm2015/lib/components/users/users.component.js b/npm/ng-packs/dist/identity/esm2015/lib/components/users/users.component.js deleted file mode 100644 index 5a35eeafa4b..00000000000 --- a/npm/ng-packs/dist/identity/esm2015/lib/components/users/users.component.js +++ /dev/null @@ -1,328 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/users/users.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { ConfigState } from '@abp/ng.core'; -import { ConfirmationService } from '@abp/ng.theme.shared'; -import { Component, TemplateRef, ViewChild } from '@angular/core'; -import { FormBuilder, Validators, FormControl, } from '@angular/forms'; -import { Select, Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { finalize, pluck, switchMap, take } from 'rxjs/operators'; -import snq from 'snq'; -import { CreateUser, DeleteUser, GetUserById, GetUserRoles, GetUsers, UpdateUser, GetRoles, } from '../../actions/identity.actions'; -import { IdentityState } from '../../states/identity.state'; -import { validatePassword } from '@ngx-validate/core'; -export class UsersComponent { - /** - * @param {?} confirmationService - * @param {?} fb - * @param {?} store - */ - constructor(confirmationService, fb, store) { - this.confirmationService = confirmationService; - this.fb = fb; - this.store = store; - this.visiblePermissions = false; - this.pageQuery = {}; - this.loading = false; - this.modalBusy = false; - this.sortOrder = ''; - this.sortKey = ''; - this.passwordRulesArr = (/** @type {?} */ ([])); - this.requiredPasswordLength = 1; - this.trackByFn = (/** - * @param {?} index - * @param {?} item - * @return {?} - */ - (index, item) => Object.keys(item)[0] || index); - } - /** - * @return {?} - */ - get roleGroups() { - return snq((/** - * @return {?} - */ - () => (/** @type {?} */ (((/** @type {?} */ (this.form.get('roleNames')))).controls))), []); - } - /** - * @return {?} - */ - ngOnInit() { - this.get(); - /** @type {?} */ - const passwordRules = this.store.selectSnapshot(ConfigState.getSettings('Identity.Password')); - if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') { - this.passwordRulesArr.push('number'); - } - if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') { - this.passwordRulesArr.push('small'); - } - if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') { - this.passwordRulesArr.push('capital'); - } - if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) { - this.passwordRulesArr.push('special'); - } - if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) { - this.requiredPasswordLength = +passwordRules['Abp.Identity.Password.RequiredLength']; - } - } - /** - * @param {?} value - * @return {?} - */ - onSearch(value) { - this.pageQuery.filter = value; - this.get(); - } - /** - * @return {?} - */ - buildForm() { - this.store.dispatch(new GetRoles()).subscribe((/** - * @return {?} - */ - () => { - this.roles = this.store.selectSnapshot(IdentityState.getRoles); - this.form = this.fb.group({ - userName: [this.selected.userName || '', [Validators.required, Validators.maxLength(256)]], - email: [ - this.selected.email || '', - [Validators.required, Validators.email, Validators.maxLength(256)], - ], - name: [this.selected.name || '', [Validators.maxLength(64)]], - surname: [this.selected.surname || '', [Validators.maxLength(64)]], - phoneNumber: [this.selected.phoneNumber || '', [Validators.maxLength(16)]], - lockoutEnabled: [this.selected.lockoutEnabled || (this.selected.id ? false : true)], - twoFactorEnabled: [this.selected.twoFactorEnabled || (this.selected.id ? false : true)], - roleNames: this.fb.array(this.roles.map((/** - * @param {?} role - * @return {?} - */ - role => this.fb.group({ - [role.name]: [ - !!snq((/** - * @return {?} - */ - () => this.selectedUserRoles.find((/** - * @param {?} userRole - * @return {?} - */ - userRole => userRole.id === role.id)))), - ], - })))), - }); - /** @type {?} */ - const passwordValidators = [ - validatePassword(this.passwordRulesArr), - Validators.minLength(this.requiredPasswordLength), - Validators.maxLength(32), - ]; - this.form.addControl('password', new FormControl('', [...passwordValidators])); - if (!this.selected.userName) { - this.form.get('password').setValidators([...passwordValidators, Validators.required]); - this.form.get('password').updateValueAndValidity(); - } - })); - } - /** - * @return {?} - */ - openModal() { - this.buildForm(); - this.isModalVisible = true; - } - /** - * @return {?} - */ - add() { - this.selected = (/** @type {?} */ ({})); - this.selectedUserRoles = (/** @type {?} */ ([])); - this.openModal(); - } - /** - * @param {?} id - * @return {?} - */ - edit(id) { - this.store - .dispatch(new GetUserById(id)) - .pipe(switchMap((/** - * @return {?} - */ - () => this.store.dispatch(new GetUserRoles(id)))), pluck('IdentityState'), take(1)) - .subscribe((/** - * @param {?} state - * @return {?} - */ - (state) => { - this.selected = state.selectedUser; - this.selectedUserRoles = state.selectedUserRoles; - this.openModal(); - })); - } - /** - * @return {?} - */ - save() { - if (!this.form.valid || this.modalBusy) - return; - this.modalBusy = true; - const { roleNames } = this.form.value; - /** @type {?} */ - const mappedRoleNames = snq((/** - * @return {?} - */ - () => roleNames.filter((/** - * @param {?} role - * @return {?} - */ - role => !!role[Object.keys(role)[0]])).map((/** - * @param {?} role - * @return {?} - */ - role => Object.keys(role)[0]))), []); - this.store - .dispatch(this.selected.id - ? new UpdateUser(Object.assign({}, this.selected, this.form.value, { id: this.selected.id, roleNames: mappedRoleNames })) - : new CreateUser(Object.assign({}, this.form.value, { roleNames: mappedRoleNames }))) - .pipe(finalize((/** - * @return {?} - */ - () => (this.modalBusy = false)))) - .subscribe((/** - * @return {?} - */ - () => { - this.isModalVisible = false; - this.get(); - })); - } - /** - * @param {?} id - * @param {?} userName - * @return {?} - */ - delete(id, userName) { - this.confirmationService - .warn('AbpIdentity::UserDeletionConfirmationMessage', 'AbpIdentity::AreYouSure', { - messageLocalizationParams: [userName], - }) - .subscribe((/** - * @param {?} status - * @return {?} - */ - (status) => { - if (status === "confirm" /* confirm */) { - this.store.dispatch(new DeleteUser(id)).subscribe((/** - * @return {?} - */ - () => this.get())); - } - })); - } - /** - * @param {?} data - * @return {?} - */ - onPageChange(data) { - this.pageQuery.skipCount = data.first; - this.pageQuery.maxResultCount = data.rows; - this.get(); - } - /** - * @return {?} - */ - get() { - this.loading = true; - this.store - .dispatch(new GetUsers(this.pageQuery)) - .pipe(finalize((/** - * @return {?} - */ - () => (this.loading = false)))) - .subscribe(); - } -} -UsersComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-users', - template: "
\r\n
\r\n
\r\n
\r\n
{{ 'AbpIdentity::Users' | abpLocalization }}
\r\n
\r\n
\r\n \r\n {{ 'AbpIdentity::NewUser' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n {{ 'AbpIdentity::UserName' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n {{ 'AbpIdentity::EmailAddress' | abpLocalization }}\r\n \r\n \r\n \r\n {{ 'AbpIdentity::PhoneNumber' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n
\r\n \r\n \r\n {{ 'AbpIdentity::Permissions' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpIdentity::Delete' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n {{ data.userName }}\r\n {{ data.email }}\r\n {{ data.phoneNumber }}\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n

{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewUser') | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n\r\n" - }] } -]; -/** @nocollapse */ -UsersComponent.ctorParameters = () => [ - { type: ConfirmationService }, - { type: FormBuilder }, - { type: Store } -]; -UsersComponent.propDecorators = { - modalContent: [{ type: ViewChild, args: ['modalContent', { static: false },] }] -}; -tslib_1.__decorate([ - Select(IdentityState.getUsers), - tslib_1.__metadata("design:type", Observable) -], UsersComponent.prototype, "data$", void 0); -tslib_1.__decorate([ - Select(IdentityState.getUsersTotalCount), - tslib_1.__metadata("design:type", Observable) -], UsersComponent.prototype, "totalCount$", void 0); -if (false) { - /** @type {?} */ - UsersComponent.prototype.data$; - /** @type {?} */ - UsersComponent.prototype.totalCount$; - /** @type {?} */ - UsersComponent.prototype.modalContent; - /** @type {?} */ - UsersComponent.prototype.form; - /** @type {?} */ - UsersComponent.prototype.selected; - /** @type {?} */ - UsersComponent.prototype.selectedUserRoles; - /** @type {?} */ - UsersComponent.prototype.roles; - /** @type {?} */ - UsersComponent.prototype.visiblePermissions; - /** @type {?} */ - UsersComponent.prototype.providerKey; - /** @type {?} */ - UsersComponent.prototype.pageQuery; - /** @type {?} */ - UsersComponent.prototype.isModalVisible; - /** @type {?} */ - UsersComponent.prototype.loading; - /** @type {?} */ - UsersComponent.prototype.modalBusy; - /** @type {?} */ - UsersComponent.prototype.sortOrder; - /** @type {?} */ - UsersComponent.prototype.sortKey; - /** @type {?} */ - UsersComponent.prototype.passwordRulesArr; - /** @type {?} */ - UsersComponent.prototype.requiredPasswordLength; - /** @type {?} */ - UsersComponent.prototype.trackByFn; - /** - * @type {?} - * @private - */ - UsersComponent.prototype.confirmationService; - /** - * @type {?} - * @private - */ - UsersComponent.prototype.fb; - /** - * @type {?} - * @private - */ - UsersComponent.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlcnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5pZGVudGl0eS8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL3VzZXJzL3VzZXJzLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQU8sV0FBVyxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ2hELE9BQU8sRUFBRSxtQkFBbUIsRUFBVyxNQUFNLHNCQUFzQixDQUFDO0FBQ3BFLE9BQU8sRUFBRSxTQUFTLEVBQUUsV0FBVyxFQUFtQixTQUFTLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDM0YsT0FBTyxFQUdMLFdBQVcsRUFFWCxVQUFVLEVBQ1YsV0FBVyxHQUNaLE1BQU0sZ0JBQWdCLENBQUM7QUFDeEIsT0FBTyxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFDNUMsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUNsQyxPQUFPLEVBQUUsUUFBUSxFQUFFLEtBQUssRUFBRSxTQU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aW5nLCB1c2VyTmFtZTogc3RyaW5nKSB7XHJcbiAgICB0aGlzLmNvbmZpcm1hdGlvblNlcnZpY2VcclxuICAgICAgLndhcm4oJ0FicElkZW50aXR5OjpVc2VyRGVsZXRpb25Db25maXJtYXRpb25NZXNzYWdlJywgJ0FicElkZW50aXR5OjpBcmVZb3VTdXJlJywge1xyXG4gICAgICAgIG1lc3NhZ2VMb2NhbGl6YXRpb25QYXJhbXM6IFt1c2VyTmFtZV0sXHJcbiAgICAgIH0pXHJcbiAgICAgIC5zdWJzY3JpYmUoKHN0YXR1czogVG9hc3Rlci5TdGF0dXMpID0+IHtcclxuICAgICAgICBpZiAoc3RhdHVzID09PSBUb2FzdGVyLlN0YXR1cy5jb25maXJtKSB7XHJcbiAgICAgICAgICB0aGlzLnN0b3JlLmRpc3BhdGNoKG5ldyBEZWxldGVVc2VyKGlkKSkuc3Vic2NyaWJlKCgpID0+IHRoaXMuZ2V0KCkpO1xyXG4gICAgICAgIH1cclxuICAgICAgfSk7XHJcbiAgfVxyXG5cclxuICBvblBhZ2VDaGFuZ2UoZGF0YSkge1xyXG4gICAgdGhpcy5wYWdlUXVlcnkuc2tpcENvdW50ID0gZGF0YS5maXJzdDtcclxuICAgIHRoaXMucGFnZVF1ZXJ5Lm1heFJlc3VsdENvdW50ID0gZGF0YS5yb3dzO1xyXG5cclxuICAgIHRoaXMuZ2V0KCk7XHJcbiAgfVxyXG5cclxuICBnZXQoKSB7XHJcbiAgICB0aGlzLmxvYWRpbmcgPSB0cnVlO1xyXG4gICAgdGhpcy5zdG9yZVxyXG4gICAgICAuZGlzcGF0Y2gobmV3IEdldFVzZXJzKHRoaXMucGFnZVF1ZXJ5KSlcclxuICAgICAgLnBpcGUoZmluYWxpemUoKCkgPT4gKHRoaXMubG9hZGluZyA9IGZhbHNlKSkpXHJcbiAgICAgIC5zdWJzY3JpYmUoKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm2015/lib/constants/routes.js b/npm/ng-packs/dist/identity/esm2015/lib/constants/routes.js deleted file mode 100644 index 206c52f58ef..00000000000 --- a/npm/ng-packs/dist/identity/esm2015/lib/constants/routes.js +++ /dev/null @@ -1,33 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/routes.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * - * @deprecated - * @type {?} - */ -export const IDENTITY_ROUTES = { - routes: (/** @type {?} */ ([ - { - name: 'AbpUiNavigation::Menu:Administration', - path: '', - order: 1, - wrapper: true, - }, - { - name: 'AbpIdentity::Menu:IdentityManagement', - path: 'identity', - order: 1, - parentName: 'AbpUiNavigation::Menu:Administration', - layout: "application" /* application */, - iconClass: 'fa fa-id-card-o', - children: [ - { path: 'roles', name: 'AbpIdentity::Roles', order: 2, requiredPolicy: 'AbpIdentity.Roles' }, - { path: 'users', name: 'AbpIdentity::Users', order: 1, requiredPolicy: 'AbpIdentity.Users' }, - ], - }, - ])), -}; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGVzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5pZGVudGl0eS8iLCJzb3VyY2VzIjpbImxpYi9jb25zdGFudHMvcm91dGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFNQSxNQUFNLE9BQU8sZUFBZSxHQUFHO0lBQzdCLE1BQU0sRUFBRSxtQkFBQTtRQUNOO1lBQ0UsSUFBSSxFQUFFLHNDQUFzQztZQUM1QyxJQUFJLEVBQUUsRUFBRTtZQUNSLEtBQUssRUFBRSxDQUFDO1lBQ1IsT0FBTyxFQUFFLElBQUk7U0FDZDtRQUNEO1lBQ0UsSUFBSSxFQUFFLHNDQUFzQztZQUM1QyxJQUFJLEVBQUUsVUFBVTtZQUNoQixLQUFLLEVBQUUsQ0FBQztZQ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HJcbiAgICAgIGljb25DbGFzczogJ2ZhIGZhLWlkLWNhcmQtbycsXHJcbiAgICAgIGNoaWxkcmVuOiBbXHJcbiAgICAgICAgeyBwYXRoOiAncm9sZXMnLCBuYW1lOiAnQWJwSWRlbnRpdHk6OlJvbGVzJywgb3JkZXI6IDIsIHJlcXVpcmVkUG9saWN5OiAnQWJwSWRlbnRpdHkuUm9sZXMnIH0sXHJcbiAgICAgICAgeyBwYXRoOiAndXNlcnMnLCBuYW1lOiAnQWJwSWRlbnRpdHk6OlVzZXJzJywgb3JkZXI6IDEsIHJlcXVpcmVkUG9saWN5OiAnQWJwSWRlbnRpdHkuVXNlcnMnIH0sXHJcbiAgICAgIF0sXHJcbiAgICB9LFxyXG4gIF0gYXMgQUJQLkZ1bGxSb3V0ZVtdLFxyXG59O1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm2015/lib/identity-routing.module.js b/npm/ng-packs/dist/identity/esm2015/lib/identity-routing.module.js deleted file mode 100644 index 18a18a2b78c..00000000000 --- a/npm/ng-packs/dist/identity/esm2015/lib/identity-routing.module.js +++ /dev/null @@ -1,42 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/identity-routing.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { AuthGuard, DynamicLayoutComponent, PermissionGuard } from '@abp/ng.core'; -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { RolesComponent } from './components/roles/roles.component'; -import { UsersComponent } from './components/users/users.component'; -const ɵ0 = { requiredPolicy: 'AbpIdentity.Roles' }, ɵ1 = { requiredPolicy: 'AbpIdentity.Users' }; -/** @type {?} */ -const routes = [ - { path: '', redirectTo: 'roles', pathMatch: 'full' }, - { - path: '', - component: DynamicLayoutComponent, - canActivate: [AuthGuard, PermissionGuard], - children: [ - { - path: 'roles', - component: RolesComponent, - data: ɵ0, - }, - { - path: 'users', - component: UsersComponent, - data: ɵ1, - }, - ], - }, -]; -export class IdentityRoutingModule { -} -IdentityRoutingModule.decorators = [ - { type: NgModule, args: [{ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule], - },] } -]; -export { ɵ0, ɵ1 }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHktcm91dGluZy5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmlkZW50aXR5LyIsInNvdXJjZXMiOlsibGliL2lkZW50aXR5LXJvdXRpbmcubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxzQkFBc0IsRUFBRSxlQUFlLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDbEYsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFVLE1BQU0saUJBQWlCLENBQUM7QUFDdkQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLG9DQUFvQyxDQUFDO0FBQ3BFLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztXQVl0RCxFQUFFLGNBQWMsRUFBRSxtQkFBbUIsRUFBRSxPQUt2QyxFQUFFLGNBQWMsRUFBRSxtQkFBbUIsRUFBRTs7TUFmL0MsTUFBTSxHQUFXO0lBQ3JCLEVBQUUsSUFBSSxFQUFFLEVBQUUsRUFBRSxVQUFVLEVBQUUsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUU7SUFDcEQ7UUFDRSxJQUFJLEVBQUUsRUFBRTtRQUNSLFNBQVMsRUFBRSxzQkFBc0I7UUFDakMsV0FBVyxFQUFFLENBQUMsU0FBUyxFQUFFLGVBQWUsQ0FBQztRQUN6QyxRQUFRLEVBQUU7WUFDUjtnQkFDRSxJQUFJLE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WFyZCwgUGVybWlzc2lvbkd1YXJkXSxcclxuICAgIGNoaWxkcmVuOiBbXHJcbiAgICAgIHtcclxuICAgICAgICBwYXRoOiAncm9sZXMnLFxyXG4gICAgICAgIGNvbXBvbmVudDogUm9sZXNDb21wb25lbnQsXHJcbiAgICAgICAgZGF0YTogeyByZXF1aXJlZFBvbGljeTogJ0FicElkZW50aXR5LlJvbGVzJyB9LFxyXG4gICAgICB9LFxyXG4gICAgICB7XHJcbiAgICAgICAgcGF0aDogJ3VzZXJzJyxcclxuICAgICAgICBjb21wb25lbnQ6IFVzZXJzQ29tcG9uZW50LFxyXG4gICAgICAgIGRhdGE6IHsgcmVxdWlyZWRQb2xpY3k6ICdBYnBJZGVudGl0eS5Vc2VycycgfSxcclxuICAgICAgfSxcclxuICAgIF0sXHJcbiAgfSxcclxuXTtcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgaW1wb3J0czogW1JvdXRlck1vZHVsZS5mb3JDaGlsZChyb3V0ZXMpXSxcclxuICBleHBvcnRzOiBbUm91dGVyTW9kdWxlXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIElkZW50aXR5Um91dGluZ01vZHVsZSB7fVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm2015/lib/identity.module.js b/npm/ng-packs/dist/identity/esm2015/lib/identity.module.js deleted file mode 100644 index e0e98beff32..00000000000 --- a/npm/ng-packs/dist/identity/esm2015/lib/identity.module.js +++ /dev/null @@ -1,44 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/identity.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { CoreModule } from '@abp/ng.core'; -import { NgModule } from '@angular/core'; -import { NgxsModule } from '@ngxs/store'; -import { RolesComponent } from './components/roles/roles.component'; -import { IdentityRoutingModule } from './identity-routing.module'; -import { IdentityState } from './states/identity.state'; -import { NgbTabsetModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; -import { UsersComponent } from './components/users/users.component'; -import { PermissionManagementModule } from '@abp/ng.permission-management'; -import { TableModule } from 'primeng/table'; -import { NgxValidateCoreModule } from '@ngx-validate/core'; -export class IdentityModule { -} -IdentityModule.decorators = [ - { type: NgModule, args: [{ - declarations: [RolesComponent, UsersComponent], - imports: [ - NgxsModule.forFeature([IdentityState]), - CoreModule, - IdentityRoutingModule, - NgbTabsetModule, - ThemeSharedModule, - TableModule, - NgbDropdownModule, - PermissionManagementModule, - NgxValidateCoreModule, - ], - },] } -]; -/** - * - * @deprecated - * @return {?} - */ -export function IdentityProviders() { - return []; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHkubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5pZGVudGl0eS8iLCJzb3VyY2VzIjpbImxpYi9pZGVudGl0eS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQzFDLE9BQU8sRUFBRSxRQUFRLEVBQVksTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUN6QyxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sb0NBQW9DLENBQUM7QUFDcEUsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDbEUsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQ3hELE9BQU8sRUFBRSxlQUFlLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUNoRixPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxzQkFBc0IsQ0FB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Q29yZU1vZHVsZSxcclxuICBdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgSWRlbnRpdHlNb2R1bGUge31cclxuXHJcbi8qKlxyXG4gKlxyXG4gKiBAZGVwcmVjYXRlZFxyXG4gKi9cclxuZXhwb3J0IGZ1bmN0aW9uIElkZW50aXR5UHJvdmlkZXJzKCk6IFByb3ZpZGVyW10ge1xyXG4gIHJldHVybiBbXTtcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm2015/lib/models/identity.js b/npm/ng-packs/dist/identity/esm2015/lib/models/identity.js deleted file mode 100644 index 852efe6dc43..00000000000 --- a/npm/ng-packs/dist/identity/esm2015/lib/models/identity.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/identity.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var Identity; -(function (Identity) { - /** - * @record - */ - function State() { } - Identity.State = State; - if (false) { - /** @type {?} */ - State.prototype.roles; - /** @type {?} */ - State.prototype.users; - /** @type {?} */ - State.prototype.selectedRole; - /** @type {?} */ - State.prototype.selectedUser; - /** @type {?} */ - State.prototype.selectedUserRoles; - } - /** - * @record - */ - function RoleSaveRequest() { } - Identity.RoleSaveRequest = RoleSaveRequest; - if (false) { - /** @type {?} */ - RoleSaveRequest.prototype.name; - /** @type {?} */ - RoleSaveRequest.prototype.isDefault; - /** @type {?} */ - RoleSaveRequest.prototype.isPublic; - } - /** - * @record - */ - function RoleItem() { } - Identity.RoleItem = RoleItem; - if (false) { - /** @type {?} */ - RoleItem.prototype.isStatic; - /** @type {?} */ - RoleItem.prototype.concurrencyStamp; - /** @type {?} */ - RoleItem.prototype.id; - } - /** - * @record - */ - function UserItem() { } - Identity.UserItem = UserItem; - if (false) { - /** @type {?} */ - UserItem.prototype.tenantId; - /** @type {?} */ - UserItem.prototype.emailConfirmed; - /** @type {?} */ - UserItem.prototype.phoneNumberConfirmed; - /** @type {?} */ - UserItem.prototype.isLockedOut; - /** @type {?} */ - UserItem.prototype.concurrencyStamp; - /** @type {?} */ - UserItem.prototype.id; - } - /** - * @record - */ - function User() { } - Identity.User = User; - if (false) { - /** @type {?} */ - User.prototype.userName; - /** @type {?} */ - User.prototype.name; - /** @type {?} */ - User.prototype.surname; - /** @type {?} */ - User.prototype.email; - /** @type {?} */ - User.prototype.phoneNumber; - /** @type {?} */ - User.prototype.twoFactorEnabled; - /** @type {?} */ - User.prototype.lockoutEnabled; - } - /** - * @record - */ - function UserSaveRequest() { } - Identity.UserSaveRequest = UserSaveRequest; - if (false) { - /** @type {?} */ - UserSaveRequest.prototype.password; - /** @type {?} */ - UserSaveRequest.prototype.roleNames; - } -})(Identity || (Identity = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHkuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmlkZW50aXR5LyIsInNvdXJjZXMiOlsibGliL21vZGVscy9pZGVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUVBLE1BQU0sS0FBVyxRQUFRLENBZ0R4QjtBQWhERCxXQUFpQixRQUFROzs7O0lBQ3ZCLG9CQU1DOzs7O1FBTEMsc0JBQW9COztRQUNwQixzQkFBb0I7O1FBQ3BCLDZCQUF1Qjs7UUFDdkIsNkJBQXVCOztRQUN2QixrQ0FBOEI7Ozs7O0lBS2hDLDhCQUlDOzs7O1FBSEMsK0JBQWE7O1FBQ2Isb0NBQW1COztRQUNuQixtQ0FBa0I7Ozs7O0lBR3BCLHVCQUlDOzs7O1FBSEMsNEJBQWtCOztRQUNsQixvQ0FBeUI7O1FBQ3pCLHNCQUFXOzs7OztJQUtiLHVCQU9DOzs7O1FBTkMsNEJBQWlCOztRQUNqQixrQ0FBd0I7O1FBQ3hCLHdDQUE4Qjs7UUFDOUIsK0JBQXFCOztRQUNyQ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yaW5nO1xyXG4gICAgaWQ6IHN0cmluZztcclxuICB9XHJcblxyXG4gIGV4cG9ydCB0eXBlIFVzZXJSZXNwb25zZSA9IEFCUC5QYWdlZFJlc3BvbnNlPFVzZXJJdGVtPjtcclxuXHJcbiAgZXhwb3J0IGludGVyZmFjZSBVc2VySXRlbSBleHRlbmRzIFVzZXIge1xyXG4gICAgdGVuYW50SWQ6IHN0cmluZztcclxuICAgIGVtYWlsQ29uZmlybWVkOiBib29sZWFuO1xyXG4gICAgcGhvbmVOdW1iZXJDb25maXJtZWQ6IGJvb2xlYW47XHJcbiAgICBpc0xvY2tlZE91dDogYm9vbGVhbjtcclxuICAgIGNvbmN1cnJlbmN5U3RhbXA6IHN0cmluZztcclxuICAgIGlkOiBzdHJpbmc7XHJcbiAgfVxyXG5cclxuICBleHBvcnQgaW50ZXJmYWNlIFVzZXIge1xyXG4gICAgdXNlck5hbWU6IHN0cmluZztcclxuICAgIG5hbWU6IHN0cmluZztcclxuICAgIHN1cm5hbWU6IHN0cmluZztcclxuICAgIGVtYWlsOiBzdHJpbmc7XHJcbiAgICBwaG9uZU51bWJlcjogc3RyaW5nO1xyXG4gICAgdHdvRmFjdG9yRW5hYmxlZDogdHJ1ZTtcclxuICAgIGxvY2tvdXRFbmFibGVkOiB0cnVlO1xyXG4gIH1cclxuXHJcbiAgZXhwb3J0IGludGVyZmFjZSBVc2VyU2F2ZVJlcXVlc3QgZXh0ZW5kcyBVc2VyIHtcclxuICAgIHBhc3N3b3JkOiBzdHJpbmc7XHJcbiAgICByb2xlTmFtZXM6IHN0cmluZ1tdO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm2015/lib/services/identity.service.js b/npm/ng-packs/dist/identity/esm2015/lib/services/identity.service.js deleted file mode 100644 index 3912579c523..00000000000 --- a/npm/ng-packs/dist/identity/esm2015/lib/services/identity.service.js +++ /dev/null @@ -1,179 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/identity.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { RestService } from '@abp/ng.core'; -import * as i0 from "@angular/core"; -import * as i1 from "@abp/ng.core"; -export class IdentityService { - /** - * @param {?} rest - */ - constructor(rest) { - this.rest = rest; - } - /** - * @param {?=} params - * @return {?} - */ - getRoles(params = (/** @type {?} */ ({}))) { - /** @type {?} */ - const request = { - method: 'GET', - url: '/api/identity/roles', - params, - }; - return this.rest.request(request); - } - /** - * @param {?} id - * @return {?} - */ - getRoleById(id) { - /** @type {?} */ - const request = { - method: 'GET', - url: `/api/identity/roles/${id}`, - }; - return this.rest.request(request); - } - /** - * @param {?} id - * @return {?} - */ - deleteRole(id) { - /** @type {?} */ - const request = { - method: 'DELETE', - url: `/api/identity/roles/${id}`, - }; - return this.rest.request(request); - } - /** - * @param {?} body - * @return {?} - */ - createRole(body) { - /** @type {?} */ - const request = { - method: 'POST', - url: '/api/identity/roles', - body, - }; - return this.rest.request(request); - } - /** - * @param {?} body - * @return {?} - */ - updateRole(body) { - /** @type {?} */ - const url = `/api/identity/roles/${body.id}`; - delete body.id; - /** @type {?} */ - const request = { - method: 'PUT', - url, - body, - }; - return this.rest.request(request); - } - /** - * @param {?=} params - * @return {?} - */ - getUsers(params = (/** @type {?} */ ({}))) { - /** @type {?} */ - const request = { - method: 'GET', - url: '/api/identity/users', - params, - }; - return this.rest.request(request); - } - /** - * @param {?} id - * @return {?} - */ - getUserById(id) { - /** @type {?} */ - const request = { - method: 'GET', - url: `/api/identity/users/${id}`, - }; - return this.rest.request(request); - } - /** - * @param {?} id - * @return {?} - */ - getUserRoles(id) { - /** @type {?} */ - const request = { - method: 'GET', - url: `/api/identity/users/${id}/roles`, - }; - return this.rest.request(request); - } - /** - * @param {?} id - * @return {?} - */ - deleteUser(id) { - /** @type {?} */ - const request = { - method: 'DELETE', - url: `/api/identity/users/${id}`, - }; - return this.rest.request(request); - } - /** - * @param {?} body - * @return {?} - */ - createUser(body) { - /** @type {?} */ - const request = { - method: 'POST', - url: '/api/identity/users', - body, - }; - return this.rest.request(request); - } - /** - * @param {?} body - * @return {?} - */ - updateUser(body) { - /** @type {?} */ - const url = `/api/identity/users/${body.id}`; - delete body.id; - /** @type {?} */ - const request = { - method: 'PUT', - url, - body, - }; - return this.rest.request(request); - } -} -IdentityService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -IdentityService.ctorParameters = () => [ - { type: RestService } -]; -/** @nocollapse */ IdentityService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function IdentityService_Factory() { return new IdentityService(i0.ɵɵinject(i1.RestService)); }, token: IdentityService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - IdentityService.prototype.rest; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHkuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuaWRlbnRpdHkvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvaWRlbnRpdHkuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFM0MsT0FBTyxFQUFFLFdBQVcsRUFBYSxNQUFNLGNBQWMsQ0FBQzs7O0FBTXRELE1BQU0sT0FBTyxlQUFlOzs7O0lBQzFCLFlBQW9CLElBQWlCO1FBQWpCLFNBQUksR0FBSixJQUFJLENBQWE7SUFBRyxDQUFDOzs7OztJQUV6QyxRQUFRLENBQUMsTUFBTSxHQUFHLG1CQUFBLEVBQUUsRUFBdUI7O2NBQ25DLE9BQU8sR0FBdUI7WUFDbEMsTUFBTSxFQUFFLEtBQUs7WUFDYixHQUFHLEVBQUUscUJBQXFCO1lBQzFCLE1BQU07U0FDUDtR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VybiB0aGlzLnJlc3QucmVxdWVzdDxJZGVudGl0eS5Vc2VySXRlbSwgSWRlbnRpdHkuVXNlckl0ZW0+KHJlcXVlc3QpO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm2015/lib/states/identity.state.js b/npm/ng-packs/dist/identity/esm2015/lib/states/identity.state.js deleted file mode 100644 index e9af2e665f3..00000000000 --- a/npm/ng-packs/dist/identity/esm2015/lib/states/identity.state.js +++ /dev/null @@ -1,273 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/identity.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Action, Selector, State } from '@ngxs/store'; -import { tap, pluck } from 'rxjs/operators'; -import { CreateRole, CreateUser, DeleteRole, DeleteUser, GetRoleById, GetRoles, GetUserById, GetUsers, UpdateRole, UpdateUser, GetUserRoles, } from '../actions/identity.actions'; -import { IdentityService } from '../services/identity.service'; -let IdentityState = class IdentityState { - /** - * @param {?} identityService - */ - constructor(identityService) { - this.identityService = identityService; - } - /** - * @param {?} __0 - * @return {?} - */ - static getRoles({ roles }) { - return roles.items || []; - } - /** - * @param {?} __0 - * @return {?} - */ - static getRolesTotalCount({ roles }) { - return roles.totalCount || 0; - } - /** - * @param {?} __0 - * @return {?} - */ - static getUsers({ users }) { - return users.items || []; - } - /** - * @param {?} __0 - * @return {?} - */ - static getUsersTotalCount({ users }) { - return users.totalCount || 0; - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - getRoles({ patchState }, { payload }) { - return this.identityService.getRoles(payload).pipe(tap((/** - * @param {?} roles - * @return {?} - */ - roles => patchState({ - roles, - })))); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - getRole({ patchState }, { payload }) { - return this.identityService.getRoleById(payload).pipe(tap((/** - * @param {?} selectedRole - * @return {?} - */ - selectedRole => patchState({ - selectedRole, - })))); - } - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - deleteRole(_, { payload }) { - return this.identityService.deleteRole(payload); - } - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - addRole(_, { payload }) { - return this.identityService.createRole(payload); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - updateRole({ getState }, { payload }) { - return this.identityService.updateRole(Object.assign({}, getState().selectedRole, payload)); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - getUsers({ patchState }, { payload }) { - return this.identityService.getUsers(payload).pipe(tap((/** - * @param {?} users - * @return {?} - */ - users => patchState({ - users, - })))); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - getUser({ patchState }, { payload }) { - return this.identityService.getUserById(payload).pipe(tap((/** - * @param {?} selectedUser - * @return {?} - */ - selectedUser => patchState({ - selectedUser, - })))); - } - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - deleteUser(_, { payload }) { - return this.identityService.deleteUser(payload); - } - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - addUser(_, { payload }) { - return this.identityService.createUser(payload); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - updateUser({ getState }, { payload }) { - return this.identityService.updateUser(Object.assign({}, getState().selectedUser, payload)); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - getUserRoles({ patchState }, { payload }) { - return this.identityService.getUserRoles(payload).pipe(pluck('items'), tap((/** - * @param {?} selectedUserRoles - * @return {?} - */ - selectedUserRoles => patchState({ - selectedUserRoles, - })))); - } -}; -IdentityState.ctorParameters = () => [ - { type: IdentityService } -]; -tslib_1.__decorate([ - Action(GetRoles), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetRoles]), - tslib_1.__metadata("design:returntype", void 0) -], IdentityState.prototype, "getRoles", null); -tslib_1.__decorate([ - Action(GetRoleById), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetRoleById]), - tslib_1.__metadata("design:returntype", void 0) -], IdentityState.prototype, "getRole", null); -tslib_1.__decorate([ - Action(DeleteRole), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetRoleById]), - tslib_1.__metadata("design:returntype", void 0) -], IdentityState.prototype, "deleteRole", null); -tslib_1.__decorate([ - Action(CreateRole), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, CreateRole]), - tslib_1.__metadata("design:returntype", void 0) -], IdentityState.prototype, "addRole", null); -tslib_1.__decorate([ - Action(UpdateRole), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, UpdateRole]), - tslib_1.__metadata("design:returntype", void 0) -], IdentityState.prototype, "updateRole", null); -tslib_1.__decorate([ - Action(GetUsers), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetUsers]), - tslib_1.__metadata("design:returntype", void 0) -], IdentityState.prototype, "getUsers", null); -tslib_1.__decorate([ - Action(GetUserById), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetUserById]), - tslib_1.__metadata("design:returntype", void 0) -], IdentityState.prototype, "getUser", null); -tslib_1.__decorate([ - Action(DeleteUser), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetUserById]), - tslib_1.__metadata("design:returntype", void 0) -], IdentityState.prototype, "deleteUser", null); -tslib_1.__decorate([ - Action(CreateUser), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, CreateUser]), - tslib_1.__metadata("design:returntype", void 0) -], IdentityState.prototype, "addUser", null); -tslib_1.__decorate([ - Action(UpdateUser), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, UpdateUser]), - tslib_1.__metadata("design:returntype", void 0) -], IdentityState.prototype, "updateUser", null); -tslib_1.__decorate([ - Action(GetUserRoles), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetUserRoles]), - tslib_1.__metadata("design:returntype", void 0) -], IdentityState.prototype, "getUserRoles", null); -tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", Array) -], IdentityState, "getRoles", null); -tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", Number) -], IdentityState, "getRolesTotalCount", null); -tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", Array) -], IdentityState, "getUsers", null); -tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", Number) -], IdentityState, "getUsersTotalCount", null); -IdentityState = tslib_1.__decorate([ - State({ - name: 'IdentityState', - defaults: (/** @type {?} */ ({ roles: {}, selectedRole: {}, users: {}, selectedUser: {} })), - }), - tslib_1.__metadata("design:paramtypes", [IdentityService]) -], IdentityState); -export { IdentityState }; -if (false) { - /** - * @type {?} - * @private - */ - IdentityState.prototype.identityService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHkuc3RhdGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmlkZW50aXR5LyIsInNvdXJjZXMiOlsibGliL3N0YXRlcy9pZGVudGl0eS5zdGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBRSxLQUFLLEVBQWdCLE1BQU0sYUFBYSxDQUFDO0FBQ3BFLE9BQU8sRUFBYSxHQUFHLEVBQUUsS0FBSyxFQUFFLE1BQU0sZ0JBQWd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biAgICAgICAgfSksXHJcbiAgICAgICksXHJcbiAgICApO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm2015/public-api.js b/npm/ng-packs/dist/identity/esm2015/public-api.js deleted file mode 100644 index f8156847d86..00000000000 --- a/npm/ng-packs/dist/identity/esm2015/public-api.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/* - * Public API Surface of identity - */ -export { IdentityProviders, IdentityModule } from './lib/identity.module'; -export { GetRoles, GetRoleById, DeleteRole, CreateRole, UpdateRole, GetUsers, GetUserById, DeleteUser, CreateUser, UpdateUser, GetUserRoles } from './lib/actions/identity.actions'; -export { RolesComponent } from './lib/components/roles/roles.component'; -export { IDENTITY_ROUTES } from './lib/constants/routes'; -export {} from './lib/models/identity'; -export { IdentityService } from './lib/services/identity.service'; -export { IdentityState } from './lib/states/identity.state'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuaWRlbnRpdHkvIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBSUEsa0RBQWMsdUJBQXVCLENBQUM7QUFDdEMsbUpBQWMsZ0NBQWdDLENBQUM7QUFDL0MsK0JBQWMsd0NBQXdDLENBQUM7QUFDdkQsZ0NBQWMsd0JBQXdCLENBQUM7QUFDdkMsZUFBYyx1QkFBdUIsQ0FBQztBQUN0QyxnQ0FBYyxpQ0FBaUMsQ0FBQztBQUNoRCw4QkFBYyw2QkFBNkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXHJcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBpZGVudGl0eVxyXG4gKi9cclxuXHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2lkZW50aXR5Lm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2FjdGlvbnMvaWRlbnRpdHkuYWN0aW9ucyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMvcm9sZXMvcm9sZXMuY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvY29uc3RhbnRzL3JvdXRlcyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL21vZGVscy9pZGVudGl0eSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3NlcnZpY2VzL2lkZW50aXR5LnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zdGF0ZXMvaWRlbnRpdHkuc3RhdGUnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm5/abp-ng.identity.js b/npm/ng-packs/dist/identity/esm5/abp-ng.identity.js deleted file mode 100644 index 15c240803b0..00000000000 --- a/npm/ng-packs/dist/identity/esm5/abp-ng.identity.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.identity.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { IdentityProviders, IdentityModule, GetRoles, GetRoleById, DeleteRole, CreateRole, UpdateRole, GetUsers, GetUserById, DeleteUser, CreateUser, UpdateUser, GetUserRoles, RolesComponent, IDENTITY_ROUTES, IdentityService, IdentityState } from './public-api'; -export { UsersComponent as ɵb } from './lib/components/users/users.component'; -export { IdentityRoutingModule as ɵc } from './lib/identity-routing.module'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLmlkZW50aXR5LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5pZGVudGl0eS8iLCJzb3VyY2VzIjpbImFicC1uZy5pZGVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLHVQQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMsY0FBYyxJQUFJLEVBQUUsRUFBQyxNQUFNLHdDQUF3QyxDQUFDO0FBQzVFLE9BQU8sRUFBQyxxQkFBcUIsSUFBSSxFQUFFLEVBQUMsTUFBTSwrQkFBK0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcblxuZXhwb3J0IHtVc2Vyc0NvbXBvbmVudCBhcyDJtWJ9IGZyb20gJy4vbGliL2NvbXBvbmVudHMvdXNlcnMvdXNlcnMuY29tcG9uZW50JztcbmV4cG9ydCB7SWRlbnRpdHlSb3V0aW5nTW9kdWxlIGFzIMm1Y30gZnJvbSAnLi9saWIvaWRlbnRpdHktcm91dGluZy5tb2R1bGUnO1xuZXhwb3J0IHtJZGVudGl0eSBhcyDJtWF9IGZyb20gJy4vbGliL21vZGVscy9pZGVudGl0eSc7Il19 \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm5/lib/actions/identity.actions.js b/npm/ng-packs/dist/identity/esm5/lib/actions/identity.actions.js deleted file mode 100644 index d5b4245362c..00000000000 --- a/npm/ng-packs/dist/identity/esm5/lib/actions/identity.actions.js +++ /dev/null @@ -1,160 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/identity.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var GetRoles = /** @class */ (function () { - function GetRoles(payload) { - this.payload = payload; - } - GetRoles.type = '[Identity] Get Roles'; - return GetRoles; -}()); -export { GetRoles }; -if (false) { - /** @type {?} */ - GetRoles.type; - /** @type {?} */ - GetRoles.prototype.payload; -} -var GetRoleById = /** @class */ (function () { - function GetRoleById(payload) { - this.payload = payload; - } - GetRoleById.type = '[Identity] Get Role By Id'; - return GetRoleById; -}()); -export { GetRoleById }; -if (false) { - /** @type {?} */ - GetRoleById.type; - /** @type {?} */ - GetRoleById.prototype.payload; -} -var DeleteRole = /** @class */ (function () { - function DeleteRole(payload) { - this.payload = payload; - } - DeleteRole.type = '[Identity] Delete Role'; - return DeleteRole; -}()); -export { DeleteRole }; -if (false) { - /** @type {?} */ - DeleteRole.type; - /** @type {?} */ - DeleteRole.prototype.payload; -} -var CreateRole = /** @class */ (function () { - function CreateRole(payload) { - this.payload = payload; - } - CreateRole.type = '[Identity] Create Role'; - return CreateRole; -}()); -export { CreateRole }; -if (false) { - /** @type {?} */ - CreateRole.type; - /** @type {?} */ - CreateRole.prototype.payload; -} -var UpdateRole = /** @class */ (function () { - function UpdateRole(payload) { - this.payload = payload; - } - UpdateRole.type = '[Identity] Update Role'; - return UpdateRole; -}()); -export { UpdateRole }; -if (false) { - /** @type {?} */ - UpdateRole.type; - /** @type {?} */ - UpdateRole.prototype.payload; -} -var GetUsers = /** @class */ (function () { - function GetUsers(payload) { - this.payload = payload; - } - GetUsers.type = '[Identity] Get Users'; - return GetUsers; -}()); -export { GetUsers }; -if (false) { - /** @type {?} */ - GetUsers.type; - /** @type {?} */ - GetUsers.prototype.payload; -} -var GetUserById = /** @class */ (function () { - function GetUserById(payload) { - this.payload = payload; - } - GetUserById.type = '[Identity] Get User By Id'; - return GetUserById; -}()); -export { GetUserById }; -if (false) { - /** @type {?} */ - GetUserById.type; - /** @type {?} */ - GetUserById.prototype.payload; -} -var DeleteUser = /** @class */ (function () { - function DeleteUser(payload) { - this.payload = payload; - } - DeleteUser.type = '[Identity] Delete User'; - return DeleteUser; -}()); -export { DeleteUser }; -if (false) { - /** @type {?} */ - DeleteUser.type; - /** @type {?} */ - DeleteUser.prototype.payload; -} -var CreateUser = /** @class */ (function () { - function CreateUser(payload) { - this.payload = payload; - } - CreateUser.type = '[Identity] Create User'; - return CreateUser; -}()); -export { CreateUser }; -if (false) { - /** @type {?} */ - CreateUser.type; - /** @type {?} */ - CreateUser.prototype.payload; -} -var UpdateUser = /** @class */ (function () { - function UpdateUser(payload) { - this.payload = payload; - } - UpdateUser.type = '[Identity] Update User'; - return UpdateUser; -}()); -export { UpdateUser }; -if (false) { - /** @type {?} */ - UpdateUser.type; - /** @type {?} */ - UpdateUser.prototype.payload; -} -var GetUserRoles = /** @class */ (function () { - function GetUserRoles(payload) { - this.payload = payload; - } - GetUserRoles.type = '[Identity] Get User Roles'; - return GetUserRoles; -}()); -export { GetUserRoles }; -if (false) { - /** @type {?} */ - GetUserRoles.type; - /** @type {?} */ - GetUserRoles.prototype.payload; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHkuYWN0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuaWRlbnRpdHkvIiwic291cmNlcyI6WyJsaWIvYWN0aW9ucy9pZGVudGl0eS5hY3Rpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBR0E7SUFFRSxrQkFBbUIsT0FBNkI7UUFBN0IsWUFBTyxHQUFQLE9BQU8sQ0FBc0I7SUFBRyxDQUFDO0lBRHBDLGFBQUksR0FBRyxzQkFBc0IsQ0FBQztJQUVoRCxlQUFDO0NBQUEsQUFIRCxJQUdDO1NBSFksUUFBUTs7O0lBQ25CLGNBQThDOztJQUNsQywyQkFBb0M7O0FBR2xEO0lBRUUscUJBQW1CLE9BQWU7UUFBZixZQUFPLEdBQVAsT0FBTyxDQUFRO0lBQUcsQ0FBQztJQUR0QixnQkFBSSxHQUFHLDJCQUEyQixDQUFDO0lBRXJELGtCQUFDO0NBQUEsQUFIRCxJQUdDO1NBSFksV0FBVzs7O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fVxyXG59XHJcblxyXG5leHBvcnQgY2xhc3MgR2V0VXNlckJ5SWQge1xyXG4gIHN0YXRpYyByZWFkb25seSB0eXBlID0gJ1tJZGVudGl0eV0gR2V0IFVzZXIgQnkgSWQnO1xyXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBwYXlsb2FkOiBzdHJpbmcpIHt9XHJcbn1cclxuXHJcbmV4cG9ydCBjbGFzcyBEZWxldGVVc2VyIHtcclxuICBzdGF0aWMgcmVhZG9ubHkgdHlwZSA9ICdbSWRlbnRpdHldIERlbGV0ZSBVc2VyJztcclxuICBjb25zdHJ1Y3RvcihwdWJsaWMgcGF5bG9hZDogc3RyaW5nKSB7fVxyXG59XHJcblxyXG5leHBvcnQgY2xhc3MgQ3JlYXRlVXNlciB7XHJcbiAgc3RhdGljIHJlYWRvbmx5IHR5cGUgPSAnW0lkZW50aXR5XSBDcmVhdGUgVXNlcic7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IElkZW50aXR5LlVzZXJTYXZlUmVxdWVzdCkge31cclxufVxyXG5cclxuZXhwb3J0IGNsYXNzIFVwZGF0ZVVzZXIge1xyXG4gIHN0YXRpYyByZWFkb25seSB0eXBlID0gJ1tJZGVudGl0eV0gVXBkYXRlIFVzZXInO1xyXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBwYXlsb2FkOiBJZGVudGl0eS5Vc2VyU2F2ZVJlcXVlc3QgJiB7IGlkOiBzdHJpbmcgfSkge31cclxufVxyXG5cclxuZXhwb3J0IGNsYXNzIEdldFVzZXJSb2xlcyB7XHJcbiAgc3RhdGljIHJlYWRvbmx5IHR5cGUgPSAnW0lkZW50aXR5XSBHZXQgVXNlciBSb2xlcyc7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IHN0cmluZykge31cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm5/lib/components/roles/roles.component.js b/npm/ng-packs/dist/identity/esm5/lib/components/roles/roles.component.js deleted file mode 100644 index b68b5cea802..00000000000 --- a/npm/ng-packs/dist/identity/esm5/lib/components/roles/roles.component.js +++ /dev/null @@ -1,258 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/roles/roles.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { ConfirmationService } from '@abp/ng.theme.shared'; -import { Component, ViewChild, ElementRef } from '@angular/core'; -import { FormBuilder, Validators, FormControl } from '@angular/forms'; -import { Select, Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { finalize, pluck } from 'rxjs/operators'; -import { CreateRole, DeleteRole, GetRoleById, GetRoles, UpdateRole, } from '../../actions/identity.actions'; -import { IdentityState } from '../../states/identity.state'; -var RolesComponent = /** @class */ (function () { - function RolesComponent(confirmationService, fb, store) { - this.confirmationService = confirmationService; - this.fb = fb; - this.store = store; - this.visiblePermissions = false; - this.pageQuery = {}; - this.loading = false; - this.modalBusy = false; - this.sortOrder = ''; - this.sortKey = ''; - } - /** - * @return {?} - */ - RolesComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.get(); - }; - /** - * @return {?} - */ - RolesComponent.prototype.createForm = /** - * @return {?} - */ - function () { - this.form = this.fb.group({ - name: new FormControl({ value: this.selected.name || '', disabled: this.selected.isStatic }, [ - Validators.required, - Validators.maxLength(256), - ]), - isDefault: [this.selected.isDefault || false], - isPublic: [this.selected.isPublic || false], - }); - }; - /** - * @return {?} - */ - RolesComponent.prototype.openModal = /** - * @return {?} - */ - function () { - this.createForm(); - this.isModalVisible = true; - }; - /** - * @return {?} - */ - RolesComponent.prototype.add = /** - * @return {?} - */ - function () { - this.selected = (/** @type {?} */ ({})); - this.openModal(); - }; - /** - * @param {?} id - * @return {?} - */ - RolesComponent.prototype.edit = /** - * @param {?} id - * @return {?} - */ - function (id) { - var _this = this; - this.store - .dispatch(new GetRoleById(id)) - .pipe(pluck('IdentityState', 'selectedRole')) - .subscribe((/** - * @param {?} selectedRole - * @return {?} - */ - function (selectedRole) { - _this.selected = selectedRole; - _this.openModal(); - })); - }; - /** - * @return {?} - */ - RolesComponent.prototype.save = /** - * @return {?} - */ - function () { - var _this = this; - if (!this.form.valid) - return; - this.modalBusy = true; - this.store - .dispatch(this.selected.id - ? new UpdateRole(tslib_1.__assign({}, this.selected, this.form.value, { id: this.selected.id })) - : new CreateRole(this.form.value)) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.isModalVisible = false; - _this.get(); - })); - }; - /** - * @param {?} id - * @param {?} name - * @return {?} - */ - RolesComponent.prototype.delete = /** - * @param {?} id - * @param {?} name - * @return {?} - */ - function (id, name) { - var _this = this; - this.confirmationService - .warn('AbpIdentity::RoleDeletionConfirmationMessage', 'AbpIdentity::AreYouSure', { - messageLocalizationParams: [name], - }) - .subscribe((/** - * @param {?} status - * @return {?} - */ - function (status) { - if (status === "confirm" /* confirm */) { - _this.store.dispatch(new DeleteRole(id)).subscribe((/** - * @return {?} - */ - function () { return _this.get(); })); - } - })); - }; - /** - * @param {?} data - * @return {?} - */ - RolesComponent.prototype.onPageChange = /** - * @param {?} data - * @return {?} - */ - function (data) { - this.pageQuery.skipCount = data.first; - this.pageQuery.maxResultCount = data.rows; - this.get(); - }; - /** - * @return {?} - */ - RolesComponent.prototype.get = /** - * @return {?} - */ - function () { - var _this = this; - this.loading = true; - this.store - .dispatch(new GetRoles(this.pageQuery)) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.loading = false); }))) - .subscribe(); - }; - /** - * @return {?} - */ - RolesComponent.prototype.onClickSaveButton = /** - * @return {?} - */ - function () { - this.formRef.nativeElement.dispatchEvent(new Event('submit', { bubbles: true, cancelable: true })); - }; - RolesComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-roles', - template: "
\r\n
\r\n
\r\n
\r\n
{{ 'AbpIdentity::Roles' | abpLocalization }}
\r\n
\r\n
\r\n \r\n \r\n {{ 'AbpIdentity::NewRole' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n {{ 'AbpIdentity::RoleName' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n
\r\n \r\n {{ 'AbpIdentity::Edit' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpIdentity::Permissions' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpIdentity::Delete' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n \r\n {{ data.name\r\n }}{{\r\n 'AbpIdentity::DisplayName:IsDefault' | abpLocalization\r\n }}\r\n {{\r\n 'AbpIdentity::DisplayName:IsPublic' | abpLocalization\r\n }}\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n

{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewRole') | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n\r\n" - }] } - ]; - /** @nocollapse */ - RolesComponent.ctorParameters = function () { return [ - { type: ConfirmationService }, - { type: FormBuilder }, - { type: Store } - ]; }; - RolesComponent.propDecorators = { - formRef: [{ type: ViewChild, args: ['formRef', { static: false, read: ElementRef },] }] - }; - tslib_1.__decorate([ - Select(IdentityState.getRoles), - tslib_1.__metadata("design:type", Observable) - ], RolesComponent.prototype, "data$", void 0); - tslib_1.__decorate([ - Select(IdentityState.getRolesTotalCount), - tslib_1.__metadata("design:type", Observable) - ], RolesComponent.prototype, "totalCount$", void 0); - return RolesComponent; -}()); -export { RolesComponent }; -if (false) { - /** @type {?} */ - RolesComponent.prototype.data$; - /** @type {?} */ - RolesComponent.prototype.totalCount$; - /** @type {?} */ - RolesComponent.prototype.form; - /** @type {?} */ - RolesComponent.prototype.selected; - /** @type {?} */ - RolesComponent.prototype.isModalVisible; - /** @type {?} */ - RolesComponent.prototype.visiblePermissions; - /** @type {?} */ - RolesComponent.prototype.providerKey; - /** @type {?} */ - RolesComponent.prototype.pageQuery; - /** @type {?} */ - RolesComponent.prototype.loading; - /** @type {?} */ - RolesComponent.prototype.modalBusy; - /** @type {?} */ - RolesComponent.prototype.sortOrder; - /** @type {?} */ - RolesComponent.prototype.sortKey; - /** @type {?} */ - RolesComponent.prototype.formRef; - /** - * @type {?} - * @private - */ - RolesComponent.prototype.confirmationService; - /** - * @type {?} - * @private - */ - RolesComponent.prototype.fb; - /** - * @type {?} - * @private - */ - RolesComponent.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9sZXMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5pZGVudGl0eS8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL3JvbGVzL3JvbGVzLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFDQSxPQUFPLEVBQUUsbUJBQW1CLEVBQVcsTUFBTSxzQkFBc0IsQ0FBQztBQUNwRSxPQUFPLEVBQUUsU0FBUyxFQUFlLFNBQVMsRUFBd0IsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3BHLE9BQU8sRUFBRSxXQUFXLEVBQWEsVUFBVSxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ2pGLE9BQU8sRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFFLE1BQU0sYUFBYSxDQUFDO0FB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RhdGEucm93cztcclxuXHJcbiAgICB0aGlzLmdldCgpO1xyXG4gIH1cclxuXHJcbiAgZ2V0KCkge1xyXG4gICAgdGhpcy5sb2FkaW5nID0gdHJ1ZTtcclxuICAgIHRoaXMuc3RvcmVcclxuICAgICAgLmRpc3BhdGNoKG5ldyBHZXRSb2xlcyh0aGlzLnBhZ2VRdWVyeSkpXHJcbiAgICAgIC5waXBlKGZpbmFsaXplKCgpID0+ICh0aGlzLmxvYWRpbmcgPSBmYWxzZSkpKVxyXG4gICAgICAuc3Vic2NyaWJlKCk7XHJcbiAgfVxyXG5cclxuICBvbkNsaWNrU2F2ZUJ1dHRvbigpIHtcclxuICAgIHRoaXMuZm9ybVJlZi5uYXRpdmVFbGVtZW50LmRpc3BhdGNoRXZlbnQoXHJcbiAgICAgIG5ldyBFdmVudCgnc3VibWl0JywgeyBidWJibGVzOiB0cnVlLCBjYW5jZWxhYmxlOiB0cnVlIH0pLFxyXG4gICAgKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm5/lib/components/users/users.component.js b/npm/ng-packs/dist/identity/esm5/lib/components/users/users.component.js deleted file mode 100644 index eeb1fd4782e..00000000000 --- a/npm/ng-packs/dist/identity/esm5/lib/components/users/users.component.js +++ /dev/null @@ -1,375 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/users/users.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { ConfigState } from '@abp/ng.core'; -import { ConfirmationService } from '@abp/ng.theme.shared'; -import { Component, TemplateRef, ViewChild } from '@angular/core'; -import { FormBuilder, Validators, FormControl, } from '@angular/forms'; -import { Select, Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { finalize, pluck, switchMap, take } from 'rxjs/operators'; -import snq from 'snq'; -import { CreateUser, DeleteUser, GetUserById, GetUserRoles, GetUsers, UpdateUser, GetRoles, } from '../../actions/identity.actions'; -import { IdentityState } from '../../states/identity.state'; -import { validatePassword } from '@ngx-validate/core'; -var UsersComponent = /** @class */ (function () { - function UsersComponent(confirmationService, fb, store) { - this.confirmationService = confirmationService; - this.fb = fb; - this.store = store; - this.visiblePermissions = false; - this.pageQuery = {}; - this.loading = false; - this.modalBusy = false; - this.sortOrder = ''; - this.sortKey = ''; - this.passwordRulesArr = (/** @type {?} */ ([])); - this.requiredPasswordLength = 1; - this.trackByFn = (/** - * @param {?} index - * @param {?} item - * @return {?} - */ - function (index, item) { return Object.keys(item)[0] || index; }); - } - Object.defineProperty(UsersComponent.prototype, "roleGroups", { - get: /** - * @return {?} - */ - function () { - var _this = this; - return snq((/** - * @return {?} - */ - function () { return (/** @type {?} */ (((/** @type {?} */ (_this.form.get('roleNames')))).controls)); }), []); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - UsersComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.get(); - /** @type {?} */ - var passwordRules = this.store.selectSnapshot(ConfigState.getSettings('Identity.Password')); - if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') { - this.passwordRulesArr.push('number'); - } - if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') { - this.passwordRulesArr.push('small'); - } - if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') { - this.passwordRulesArr.push('capital'); - } - if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) { - this.passwordRulesArr.push('special'); - } - if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) { - this.requiredPasswordLength = +passwordRules['Abp.Identity.Password.RequiredLength']; - } - }; - /** - * @param {?} value - * @return {?} - */ - UsersComponent.prototype.onSearch = /** - * @param {?} value - * @return {?} - */ - function (value) { - this.pageQuery.filter = value; - this.get(); - }; - /** - * @return {?} - */ - UsersComponent.prototype.buildForm = /** - * @return {?} - */ - function () { - var _this = this; - this.store.dispatch(new GetRoles()).subscribe((/** - * @return {?} - */ - function () { - _this.roles = _this.store.selectSnapshot(IdentityState.getRoles); - _this.form = _this.fb.group({ - userName: [_this.selected.userName || '', [Validators.required, Validators.maxLength(256)]], - email: [ - _this.selected.email || '', - [Validators.required, Validators.email, Validators.maxLength(256)], - ], - name: [_this.selected.name || '', [Validators.maxLength(64)]], - surname: [_this.selected.surname || '', [Validators.maxLength(64)]], - phoneNumber: [_this.selected.phoneNumber || '', [Validators.maxLength(16)]], - lockoutEnabled: [_this.selected.lockoutEnabled || (_this.selected.id ? false : true)], - twoFactorEnabled: [_this.selected.twoFactorEnabled || (_this.selected.id ? false : true)], - roleNames: _this.fb.array(_this.roles.map((/** - * @param {?} role - * @return {?} - */ - function (role) { - var _a; - return _this.fb.group((_a = {}, - _a[role.name] = [ - !!snq((/** - * @return {?} - */ - function () { return _this.selectedUserRoles.find((/** - * @param {?} userRole - * @return {?} - */ - function (userRole) { return userRole.id === role.id; })); })), - ], - _a)); - }))), - }); - /** @type {?} */ - var passwordValidators = [ - validatePassword(_this.passwordRulesArr), - Validators.minLength(_this.requiredPasswordLength), - Validators.maxLength(32), - ]; - _this.form.addControl('password', new FormControl('', tslib_1.__spread(passwordValidators))); - if (!_this.selected.userName) { - _this.form.get('password').setValidators(tslib_1.__spread(passwordValidators, [Validators.required])); - _this.form.get('password').updateValueAndValidity(); - } - })); - }; - /** - * @return {?} - */ - UsersComponent.prototype.openModal = /** - * @return {?} - */ - function () { - this.buildForm(); - this.isModalVisible = true; - }; - /** - * @return {?} - */ - UsersComponent.prototype.add = /** - * @return {?} - */ - function () { - this.selected = (/** @type {?} */ ({})); - this.selectedUserRoles = (/** @type {?} */ ([])); - this.openModal(); - }; - /** - * @param {?} id - * @return {?} - */ - UsersComponent.prototype.edit = /** - * @param {?} id - * @return {?} - */ - function (id) { - var _this = this; - this.store - .dispatch(new GetUserById(id)) - .pipe(switchMap((/** - * @return {?} - */ - function () { return _this.store.dispatch(new GetUserRoles(id)); })), pluck('IdentityState'), take(1)) - .subscribe((/** - * @param {?} state - * @return {?} - */ - function (state) { - _this.selected = state.selectedUser; - _this.selectedUserRoles = state.selectedUserRoles; - _this.openModal(); - })); - }; - /** - * @return {?} - */ - UsersComponent.prototype.save = /** - * @return {?} - */ - function () { - var _this = this; - if (!this.form.valid || this.modalBusy) - return; - this.modalBusy = true; - var roleNames = this.form.value.roleNames; - /** @type {?} */ - var mappedRoleNames = snq((/** - * @return {?} - */ - function () { - return roleNames.filter((/** - * @param {?} role - * @return {?} - */ - function (role) { return !!role[Object.keys(role)[0]]; })).map((/** - * @param {?} role - * @return {?} - */ - function (role) { return Object.keys(role)[0]; })); - }), []); - this.store - .dispatch(this.selected.id - ? new UpdateUser(tslib_1.__assign({}, this.selected, this.form.value, { id: this.selected.id, roleNames: mappedRoleNames })) - : new CreateUser(tslib_1.__assign({}, this.form.value, { roleNames: mappedRoleNames }))) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.isModalVisible = false; - _this.get(); - })); - }; - /** - * @param {?} id - * @param {?} userName - * @return {?} - */ - UsersComponent.prototype.delete = /** - * @param {?} id - * @param {?} userName - * @return {?} - */ - function (id, userName) { - var _this = this; - this.confirmationService - .warn('AbpIdentity::UserDeletionConfirmationMessage', 'AbpIdentity::AreYouSure', { - messageLocalizationParams: [userName], - }) - .subscribe((/** - * @param {?} status - * @return {?} - */ - function (status) { - if (status === "confirm" /* confirm */) { - _this.store.dispatch(new DeleteUser(id)).subscribe((/** - * @return {?} - */ - function () { return _this.get(); })); - } - })); - }; - /** - * @param {?} data - * @return {?} - */ - UsersComponent.prototype.onPageChange = /** - * @param {?} data - * @return {?} - */ - function (data) { - this.pageQuery.skipCount = data.first; - this.pageQuery.maxResultCount = data.rows; - this.get(); - }; - /** - * @return {?} - */ - UsersComponent.prototype.get = /** - * @return {?} - */ - function () { - var _this = this; - this.loading = true; - this.store - .dispatch(new GetUsers(this.pageQuery)) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.loading = false); }))) - .subscribe(); - }; - UsersComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-users', - template: "
\r\n
\r\n
\r\n
\r\n
{{ 'AbpIdentity::Users' | abpLocalization }}
\r\n
\r\n
\r\n \r\n {{ 'AbpIdentity::NewUser' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n {{ 'AbpIdentity::UserName' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n {{ 'AbpIdentity::EmailAddress' | abpLocalization }}\r\n \r\n \r\n \r\n {{ 'AbpIdentity::PhoneNumber' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n
\r\n \r\n \r\n {{ 'AbpIdentity::Permissions' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpIdentity::Delete' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n {{ data.userName }}\r\n {{ data.email }}\r\n {{ data.phoneNumber }}\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n

{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewUser') | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n\r\n" - }] } - ]; - /** @nocollapse */ - UsersComponent.ctorParameters = function () { return [ - { type: ConfirmationService }, - { type: FormBuilder }, - { type: Store } - ]; }; - UsersComponent.propDecorators = { - modalContent: [{ type: ViewChild, args: ['modalContent', { static: false },] }] - }; - tslib_1.__decorate([ - Select(IdentityState.getUsers), - tslib_1.__metadata("design:type", Observable) - ], UsersComponent.prototype, "data$", void 0); - tslib_1.__decorate([ - Select(IdentityState.getUsersTotalCount), - tslib_1.__metadata("design:type", Observable) - ], UsersComponent.prototype, "totalCount$", void 0); - return UsersComponent; -}()); -export { UsersComponent }; -if (false) { - /** @type {?} */ - UsersComponent.prototype.data$; - /** @type {?} */ - UsersComponent.prototype.totalCount$; - /** @type {?} */ - UsersComponent.prototype.modalContent; - /** @type {?} */ - UsersComponent.prototype.form; - /** @type {?} */ - UsersComponent.prototype.selected; - /** @type {?} */ - UsersComponent.prototype.selectedUserRoles; - /** @type {?} */ - UsersComponent.prototype.roles; - /** @type {?} */ - UsersComponent.prototype.visiblePermissions; - /** @type {?} */ - UsersComponent.prototype.providerKey; - /** @type {?} */ - UsersComponent.prototype.pageQuery; - /** @type {?} */ - UsersComponent.prototype.isModalVisible; - /** @type {?} */ - UsersComponent.prototype.loading; - /** @type {?} */ - UsersComponent.prototype.modalBusy; - /** @type {?} */ - UsersComponent.prototype.sortOrder; - /** @type {?} */ - UsersComponent.prototype.sortKey; - /** @type {?} */ - UsersComponent.prototype.passwordRulesArr; - /** @type {?} */ - UsersComponent.prototype.requiredPasswordLength; - /** @type {?} */ - UsersComponent.prototype.trackByFn; - /** - * @type {?} - * @private - */ - UsersComponent.prototype.confirmationService; - /** - * @type {?} - * @private - */ - UsersComponent.prototype.fb; - /** - * @type {?} - * @private - */ - UsersComponent.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlI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Qua2V5cyhyb2xlKVswXSksXHJcbiAgICAgIFtdLFxyXG4gICAgKTtcclxuXHJcbiAgICB0aGlzLnN0b3JlXHJcbiAgICAgIC5kaXNwYXRjaChcclxuICAgICAgICB0aGlzLnNlbGVjdGVkLmlkXHJcbiAgICAgICAgICA/IG5ldyBVcGRhdGVVc2VyKHtcclxuICAgICAgICAgICAgICAuLi50aGlzLnNlbGVjdGVkLFxyXG4gICAgICAgICAgICAgIC4uLnRoaXMuZm9ybS52YWx1ZSxcclxuICAgICAgICAgICAgICBpZDogdGhpcy5zZWxlY3RlZC5pZCxcclxuICAgICAgICAgICAgICByb2xlTmFtZXM6IG1hcHBlZFJvbGVOYW1lcyxcclxuICAgICAgICAgICAgfSlcclxuICAgICAgICAgIDogbmV3IENyZWF0ZVVzZXIoe1xyXG4gICAgICAgICAgICAgIC4uLnRoaXMuZm9ybS52YWx1ZSxcclxuICAgICAgICAgICAgICByb2xlTmFtZXM6IG1hcHBlZFJvbGVOYW1lcyxcclxuICAgICAgICAgICAgfSksXHJcbiAgICAgIClcclxuICAgICAgLnBpcGUoZmluYWxpemUoKCkgPT4gKHRoaXMubW9kYWxCdXN5ID0gZmFsc2UpKSlcclxuICAgICAgLnN1YnNjcmliZSgoKSA9PiB7XHJcbiAgICAgICAgdGhpcy5pc01vZGFsVmlzaWJsZSA9IGZhbHNlO1xyXG4gICAgICAgIHRoaXMuZ2V0KCk7XHJcbiAgICAgIH0pO1xyXG4gIH1cclxuXHJcbiAgZGVsZXRlKGlkOiBzdHJpbmcsIHVzZXJOYW1lOiBzdHJpbmcpIHtcclxuICAgIHRoaXMuY29uZmlybWF0aW9uU2VydmljZVxyXG4gICAgICAud2FybignQWJwSWRlbnRpdHk6OlVzZXJEZWxldGlvbkNvbmZpcm1hdGlvbk1lc3NhZ2UnLCAnQWJwSWRlbnRpdHk6OkFyZVlvdVN1cmUnLCB7XHJcbiAgICAgICAgbWVzc2FnZUxvY2FsaXphdGlvblBhcmFtczogW3VzZXJOYW1lXSxcclxuICAgICAgfSlcclxuICAgICAgLnN1YnNjcmliZSgoc3RhdHVzOiBUb2FzdGVyLlN0YXR1cykgPT4ge1xyXG4gICAgICAgIGlmIChzdGF0dXMgPT09IFRvYXN0ZXIuU3RhdHVzLmNvbmZpcm0pIHtcclxuICAgICAgICAgIHRoaXMuc3RvcmUuZGlzcGF0Y2gobmV3IERlbGV0ZVVzZXIoaWQpKS5zdWJzY3JpYmUoKCkgPT4gdGhpcy5nZXQoKSk7XHJcbiAgICAgICAgfVxyXG4gICAgICB9KTtcclxuICB9XHJcblxyXG4gIG9uUGFnZUNoYW5nZShkYXRhKSB7XHJcbiAgICB0aGlzLnBhZ2VRdWVyeS5za2lwQ291bnQgPSBkYXRhLmZpcnN0O1xyXG4gICAgdGhpcy5wYWdlUXVlcnkubWF4UmVzdWx0Q291bnQgPSBkYXRhLnJvd3M7XHJcblxyXG4gICAgdGhpcy5nZXQoKTtcclxuICB9XHJcblxyXG4gIGdldCgpIHtcclxuICAgIHRoaXMubG9hZGluZyA9IHRydWU7XHJcbiAgICB0aGlzLnN0b3JlXHJcbiAgICAgIC5kaXNwYXRjaChuZXcgR2V0VXNlcnModGhpcy5wYWdlUXVlcnkpKVxyXG4gICAgICAucGlwZShmaW5hbGl6ZSgoKSA9PiAodGhpcy5sb2FkaW5nID0gZmFsc2UpKSlcclxuICAgICAgLnN1YnNjcmliZSgpO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm5/lib/constants/routes.js b/npm/ng-packs/dist/identity/esm5/lib/constants/routes.js deleted file mode 100644 index a7850e2bb31..00000000000 --- a/npm/ng-packs/dist/identity/esm5/lib/constants/routes.js +++ /dev/null @@ -1,33 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/routes.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * - * @deprecated - * @type {?} - */ -export var IDENTITY_ROUTES = { - routes: (/** @type {?} */ ([ - { - name: 'AbpUiNavigation::Menu:Administration', - path: '', - order: 1, - wrapper: true, - }, - { - name: 'AbpIdentity::Menu:IdentityManagement', - path: 'identity', - order: 1, - parentName: 'AbpUiNavigation::Menu:Administration', - layout: "application" /* application */, - iconClass: 'fa fa-id-card-o', - children: [ - { path: 'roles', name: 'AbpIdentity::Roles', order: 2, requiredPolicy: 'AbpIdentity.Roles' }, - { path: 'users', name: 'AbpIdentity::Users', order: 1, requiredPolicy: 'AbpIdentity.Users' }, - ], - }, - ])), -}; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGVzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5pZGVudGl0eS8iLCJzb3VyY2VzIjpbImxpYi9jb25zdGFudHMvcm91dGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFNQSxNQUFNLEtBQU8sZUFBZSxHQUFHO0lBQzdCLE1BQU0sRUFBRSxtQkFBQTtRQUNOO1lBQ0UsSUFBSSxFQUFFLHNDQUFzQztZQUM1QyxJQUFJLEVBQUUsRUFBRTtZQUNSLEtBQUssRUFBRSxDQUFDO1lBQ1IsT0FBTyxFQUFFLElBQUk7U0FDZDtRQUNEO1lBQ0UsSUFBSSxFQUFFLHNDQUFzQztZQUM1QyxJQUFJLEVBQUUsVUFBVTtZQUNoQixLQUFLLEVBQUUsQ0FBQztZQUNSLFVBQVUsRUFBRSxzQ0FBc0M7WUFDbEQsTUFBTSxpQ0FBeUI7WUFDL0IsU0FBUyxFQUFFLGlCQUFpQjtZQUM1QixRQUFRLEVBQUU7Z0JBQ1IsRUFBRSxJQUFJLEVBQUUsT0FBTyxFQUFFLElBQUksRUFBRSxvQkFBb0IsRUFBRSxLQUFLLEVBQUUsQ0FBQyxFQUFFLGNBQWMsRUFBRSxtQkFBbUIsRUFBRTtnQkFDNUYsRUFBR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YW1lOiAnQWJwSWRlbnRpdHk6OlVzZXJzJywgb3JkZXI6IDEsIHJlcXVpcmVkUG9saWN5OiAnQWJwSWRlbnRpdHkuVXNlcnMnIH0sXHJcbiAgICAgIF0sXHJcbiAgICB9LFxyXG4gIF0gYXMgQUJQLkZ1bGxSb3V0ZVtdLFxyXG59O1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm5/lib/identity-routing.module.js b/npm/ng-packs/dist/identity/esm5/lib/identity-routing.module.js deleted file mode 100644 index 7c83e936bd3..00000000000 --- a/npm/ng-packs/dist/identity/esm5/lib/identity-routing.module.js +++ /dev/null @@ -1,46 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/identity-routing.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { AuthGuard, DynamicLayoutComponent, PermissionGuard } from '@abp/ng.core'; -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { RolesComponent } from './components/roles/roles.component'; -import { UsersComponent } from './components/users/users.component'; -var ɵ0 = { requiredPolicy: 'AbpIdentity.Roles' }, ɵ1 = { requiredPolicy: 'AbpIdentity.Users' }; -/** @type {?} */ -var routes = [ - { path: '', redirectTo: 'roles', pathMatch: 'full' }, - { - path: '', - component: DynamicLayoutComponent, - canActivate: [AuthGuard, PermissionGuard], - children: [ - { - path: 'roles', - component: RolesComponent, - data: ɵ0, - }, - { - path: 'users', - component: UsersComponent, - data: ɵ1, - }, - ], - }, -]; -var IdentityRoutingModule = /** @class */ (function () { - function IdentityRoutingModule() { - } - IdentityRoutingModule.decorators = [ - { type: NgModule, args: [{ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule], - },] } - ]; - return IdentityRoutingModule; -}()); -export { IdentityRoutingModule }; -export { ɵ0, ɵ1 }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHktcm91dGluZ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IFJvbGVzQ29tcG9uZW50LFxyXG4gICAgICAgIGRhdGE6IHsgcmVxdWlyZWRQb2xpY3k6ICdBYnBJZGVudGl0eS5Sb2xlcycgfSxcclxuICAgICAgfSxcclxuICAgICAge1xyXG4gICAgICAgIHBhdGg6ICd1c2VycycsXHJcbiAgICAgICAgY29tcG9uZW50OiBVc2Vyc0NvbXBvbmVudCxcclxuICAgICAgICBkYXRhOiB7IHJlcXVpcmVkUG9saWN5OiAnQWJwSWRlbnRpdHkuVXNlcnMnIH0sXHJcbiAgICAgIH0sXHJcbiAgICBdLFxyXG4gIH0sXHJcbl07XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGltcG9ydHM6IFtSb3V0ZXJNb2R1bGUuZm9yQ2hpbGQocm91dGVzKV0sXHJcbiAgZXhwb3J0czogW1JvdXRlck1vZHVsZV0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBJZGVudGl0eVJvdXRpbmdNb2R1bGUge31cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm5/lib/identity.module.js b/npm/ng-packs/dist/identity/esm5/lib/identity.module.js deleted file mode 100644 index 2b510a04d34..00000000000 --- a/npm/ng-packs/dist/identity/esm5/lib/identity.module.js +++ /dev/null @@ -1,48 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/identity.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { CoreModule } from '@abp/ng.core'; -import { NgModule } from '@angular/core'; -import { NgxsModule } from '@ngxs/store'; -import { RolesComponent } from './components/roles/roles.component'; -import { IdentityRoutingModule } from './identity-routing.module'; -import { IdentityState } from './states/identity.state'; -import { NgbTabsetModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; -import { UsersComponent } from './components/users/users.component'; -import { PermissionManagementModule } from '@abp/ng.permission-management'; -import { TableModule } from 'primeng/table'; -import { NgxValidateCoreModule } from '@ngx-validate/core'; -var IdentityModule = /** @class */ (function () { - function IdentityModule() { - } - IdentityModule.decorators = [ - { type: NgModule, args: [{ - declarations: [RolesComponent, UsersComponent], - imports: [ - NgxsModule.forFeature([IdentityState]), - CoreModule, - IdentityRoutingModule, - NgbTabsetModule, - ThemeSharedModule, - TableModule, - NgbDropdownModule, - PermissionManagementModule, - NgxValidateCoreModule, - ], - },] } - ]; - return IdentityModule; -}()); -export { IdentityModule }; -/** - * - * @deprecated - * @return {?} - */ -export function IdentityProviders() { - return []; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHkubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5pZGVudGl0eS8iLCJzb3VyY2VzIjpbImxpYi9pZGVudGl0eS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQzFDLE9BQU8sRUFBRSxRQUFRLEVBQVksTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUN6QyxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sb0NBQW9DLENBQUM7QUFDcEUsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDbEUsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQ3hELE9BQU8sRUFBRSxlQUFlLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUNoRixPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUN6RCxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sb0NBQW9DLENBQUM7QUFDcEUsT0F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xuICBdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgSWRlbnRpdHlNb2R1bGUge31cclxuXHJcbi8qKlxyXG4gKlxyXG4gKiBAZGVwcmVjYXRlZFxyXG4gKi9cclxuZXhwb3J0IGZ1bmN0aW9uIElkZW50aXR5UHJvdmlkZXJzKCk6IFByb3ZpZGVyW10ge1xyXG4gIHJldHVybiBbXTtcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm5/lib/models/identity.js b/npm/ng-packs/dist/identity/esm5/lib/models/identity.js deleted file mode 100644 index 852efe6dc43..00000000000 --- a/npm/ng-packs/dist/identity/esm5/lib/models/identity.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/identity.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var Identity; -(function (Identity) { - /** - * @record - */ - function State() { } - Identity.State = State; - if (false) { - /** @type {?} */ - State.prototype.roles; - /** @type {?} */ - State.prototype.users; - /** @type {?} */ - State.prototype.selectedRole; - /** @type {?} */ - State.prototype.selectedUser; - /** @type {?} */ - State.prototype.selectedUserRoles; - } - /** - * @record - */ - function RoleSaveRequest() { } - Identity.RoleSaveRequest = RoleSaveRequest; - if (false) { - /** @type {?} */ - RoleSaveRequest.prototype.name; - /** @type {?} */ - RoleSaveRequest.prototype.isDefault; - /** @type {?} */ - RoleSaveRequest.prototype.isPublic; - } - /** - * @record - */ - function RoleItem() { } - Identity.RoleItem = RoleItem; - if (false) { - /** @type {?} */ - RoleItem.prototype.isStatic; - /** @type {?} */ - RoleItem.prototype.concurrencyStamp; - /** @type {?} */ - RoleItem.prototype.id; - } - /** - * @record - */ - function UserItem() { } - Identity.UserItem = UserItem; - if (false) { - /** @type {?} */ - UserItem.prototype.tenantId; - /** @type {?} */ - UserItem.prototype.emailConfirmed; - /** @type {?} */ - UserItem.prototype.phoneNumberConfirmed; - /** @type {?} */ - UserItem.prototype.isLockedOut; - /** @type {?} */ - UserItem.prototype.concurrencyStamp; - /** @type {?} */ - UserItem.prototype.id; - } - /** - * @record - */ - function User() { } - Identity.User = User; - if (false) { - /** @type {?} */ - User.prototype.userName; - /** @type {?} */ - User.prototype.name; - /** @type {?} */ - User.prototype.surname; - /** @type {?} */ - User.prototype.email; - /** @type {?} */ - User.prototype.phoneNumber; - /** @type {?} */ - User.prototype.twoFactorEnabled; - /** @type {?} */ - User.prototype.lockoutEnabled; - } - /** - * @record - */ - function UserSaveRequest() { } - Identity.UserSaveRequest = UserSaveRequest; - if (false) { - /** @type {?} */ - UserSaveRequest.prototype.password; - /** @type {?} */ - UserSaveRequest.prototype.roleNames; - } -})(Identity || (Identity = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHkuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmlkZW50aXR5LyIsInNvdXJjZXMiOlsibGliL21vZGVscy9pZGVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUVBLE1BQU0sS0FBVyxRQUFRLENBZ0R4QjtBQWhERCxXQUFpQixRQUFROzs7O0lBQ3ZCLG9CQU1DOzs7O1FBTEMsc0JBQW9COztRQUNwQixzQkFBb0I7O1FBQ3BCLDZCQUF1Qjs7UUFDdkIsNkJBQXVCOztRQUN2QixrQ0FBOEI7Ozs7O0lBS2hDLDhCQUlDOzs7O1FBSEMsK0JBQWE7O1FBQ2Isb0NBQW1COztRQUNuQixtQ0FBa0I7Ozs7O0lBR3BCLHVCQUlDOzs7O1FBSEMsNEJBQWtCOztRQUNsQixvQ0FBeUI7O1FBQ3pCLHNCQUFXOzs7OztJQUtiLHVCQU9DOzs7O1FBTkMsNEJBQWlCOztRQUNqQixrQ0FBd0I7O1FBQ3hCLHdDQUE4Qjs7UUFDOUIsK0JBQXFCOztRQUNyQixvQ0FBeUI7O1FBQ3pC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6IHN0cmluZztcclxuICB9XHJcblxyXG4gIGV4cG9ydCB0eXBlIFVzZXJSZXNwb25zZSA9IEFCUC5QYWdlZFJlc3BvbnNlPFVzZXJJdGVtPjtcclxuXHJcbiAgZXhwb3J0IGludGVyZmFjZSBVc2VySXRlbSBleHRlbmRzIFVzZXIge1xyXG4gICAgdGVuYW50SWQ6IHN0cmluZztcclxuICAgIGVtYWlsQ29uZmlybWVkOiBib29sZWFuO1xyXG4gICAgcGhvbmVOdW1iZXJDb25maXJtZWQ6IGJvb2xlYW47XHJcbiAgICBpc0xvY2tlZE91dDogYm9vbGVhbjtcclxuICAgIGNvbmN1cnJlbmN5U3RhbXA6IHN0cmluZztcclxuICAgIGlkOiBzdHJpbmc7XHJcbiAgfVxyXG5cclxuICBleHBvcnQgaW50ZXJmYWNlIFVzZXIge1xyXG4gICAgdXNlck5hbWU6IHN0cmluZztcclxuICAgIG5hbWU6IHN0cmluZztcclxuICAgIHN1cm5hbWU6IHN0cmluZztcclxuICAgIGVtYWlsOiBzdHJpbmc7XHJcbiAgICBwaG9uZU51bWJlcjogc3RyaW5nO1xyXG4gICAgdHdvRmFjdG9yRW5hYmxlZDogdHJ1ZTtcclxuICAgIGxvY2tvdXRFbmFibGVkOiB0cnVlO1xyXG4gIH1cclxuXHJcbiAgZXhwb3J0IGludGVyZmFjZSBVc2VyU2F2ZVJlcXVlc3QgZXh0ZW5kcyBVc2VyIHtcclxuICAgIHBhc3N3b3JkOiBzdHJpbmc7XHJcbiAgICByb2xlTmFtZXM6IHN0cmluZ1tdO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm5/lib/services/identity.service.js b/npm/ng-packs/dist/identity/esm5/lib/services/identity.service.js deleted file mode 100644 index 05ded06c2a6..00000000000 --- a/npm/ng-packs/dist/identity/esm5/lib/services/identity.service.js +++ /dev/null @@ -1,224 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/identity.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { RestService } from '@abp/ng.core'; -import * as i0 from "@angular/core"; -import * as i1 from "@abp/ng.core"; -var IdentityService = /** @class */ (function () { - function IdentityService(rest) { - this.rest = rest; - } - /** - * @param {?=} params - * @return {?} - */ - IdentityService.prototype.getRoles = /** - * @param {?=} params - * @return {?} - */ - function (params) { - if (params === void 0) { params = (/** @type {?} */ ({})); } - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/identity/roles', - params: params, - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - IdentityService.prototype.getRoleById = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'GET', - url: "/api/identity/roles/" + id, - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - IdentityService.prototype.deleteRole = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'DELETE', - url: "/api/identity/roles/" + id, - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - IdentityService.prototype.createRole = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var request = { - method: 'POST', - url: '/api/identity/roles', - body: body, - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - IdentityService.prototype.updateRole = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var url = "/api/identity/roles/" + body.id; - delete body.id; - /** @type {?} */ - var request = { - method: 'PUT', - url: url, - body: body, - }; - return this.rest.request(request); - }; - /** - * @param {?=} params - * @return {?} - */ - IdentityService.prototype.getUsers = /** - * @param {?=} params - * @return {?} - */ - function (params) { - if (params === void 0) { params = (/** @type {?} */ ({})); } - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/identity/users', - params: params, - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - IdentityService.prototype.getUserById = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'GET', - url: "/api/identity/users/" + id, - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - IdentityService.prototype.getUserRoles = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'GET', - url: "/api/identity/users/" + id + "/roles", - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - IdentityService.prototype.deleteUser = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'DELETE', - url: "/api/identity/users/" + id, - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - IdentityService.prototype.createUser = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var request = { - method: 'POST', - url: '/api/identity/users', - body: body, - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - IdentityService.prototype.updateUser = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var url = "/api/identity/users/" + body.id; - delete body.id; - /** @type {?} */ - var request = { - method: 'PUT', - url: url, - body: body, - }; - return this.rest.request(request); - }; - IdentityService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - IdentityService.ctorParameters = function () { return [ - { type: RestService } - ]; }; - /** @nocollapse */ IdentityService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function IdentityService_Factory() { return new IdentityService(i0.ɵɵinject(i1.RestService)); }, token: IdentityService, providedIn: "root" }); - return IdentityService; -}()); -export { IdentityService }; -if (false) { - /** - * @type {?} - * @private - */ - IdentityService.prototype.rest; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHkuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuaWRlbnRpdHkvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvaWRlbnRpdHkuc2VydmljZ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3Q+ID0ge1xyXG4gICAgICBtZXRob2Q6ICdQT1NUJyxcclxuICAgICAgdXJsOiAnL2FwaS9pZGVudGl0eS91c2VycycsXHJcbiAgICAgIGJvZHksXHJcbiAgICB9O1xyXG5cclxuICAgIHJldHVybiB0aGlzLnJlc3QucmVxdWVzdDxJZGVudGl0eS5Vc2VyU2F2ZVJlcXVlc3QsIElkZW50aXR5LlVzZXJJdGVtPihyZXF1ZXN0KTtcclxuICB9XHJcblxyXG4gIHVwZGF0ZVVzZXIoYm9keTogSWRlbnRpdHkuVXNlckl0ZW0pOiBPYnNlcnZhYmxlPElkZW50aXR5LlVzZXJJdGVtPiB7XHJcbiAgICBjb25zdCB1cmwgPSBgL2FwaS9pZGVudGl0eS91c2Vycy8ke2JvZHkuaWR9YDtcclxuICAgIGRlbGV0ZSBib2R5LmlkO1xyXG5cclxuICAgIGNvbnN0IHJlcXVlc3Q6IFJlc3QuUmVxdWVzdDxJZGVudGl0eS5Vc2VySXRlbT4gPSB7XHJcbiAgICAgIG1ldGhvZDogJ1BVVCcsXHJcbiAgICAgIHVybCxcclxuICAgICAgYm9keSxcclxuICAgIH07XHJcblxyXG4gICAgcmV0dXJuIHRoaXMucmVzdC5yZXF1ZXN0PElkZW50aXR5LlVzZXJJdGVtLCBJZGVudGl0eS5Vc2VySXRlbT4ocmVxdWVzdCk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm5/lib/states/identity.state.js b/npm/ng-packs/dist/identity/esm5/lib/states/identity.state.js deleted file mode 100644 index 36649c8bd11..00000000000 --- a/npm/ng-packs/dist/identity/esm5/lib/states/identity.state.js +++ /dev/null @@ -1,374 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/identity.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Action, Selector, State } from '@ngxs/store'; -import { tap, pluck } from 'rxjs/operators'; -import { CreateRole, CreateUser, DeleteRole, DeleteUser, GetRoleById, GetRoles, GetUserById, GetUsers, UpdateRole, UpdateUser, GetUserRoles, } from '../actions/identity.actions'; -import { IdentityService } from '../services/identity.service'; -var IdentityState = /** @class */ (function () { - function IdentityState(identityService) { - this.identityService = identityService; - } - /** - * @param {?} __0 - * @return {?} - */ - IdentityState.getRoles = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var roles = _a.roles; - return roles.items || []; - }; - /** - * @param {?} __0 - * @return {?} - */ - IdentityState.getRolesTotalCount = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var roles = _a.roles; - return roles.totalCount || 0; - }; - /** - * @param {?} __0 - * @return {?} - */ - IdentityState.getUsers = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var users = _a.users; - return users.items || []; - }; - /** - * @param {?} __0 - * @return {?} - */ - IdentityState.getUsersTotalCount = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var users = _a.users; - return users.totalCount || 0; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.getRoles = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.identityService.getRoles(payload).pipe(tap((/** - * @param {?} roles - * @return {?} - */ - function (roles) { - return patchState({ - roles: roles, - }); - }))); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.getRole = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.identityService.getRoleById(payload).pipe(tap((/** - * @param {?} selectedRole - * @return {?} - */ - function (selectedRole) { - return patchState({ - selectedRole: selectedRole, - }); - }))); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.deleteRole = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.identityService.deleteRole(payload); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.addRole = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.identityService.createRole(payload); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.updateRole = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var getState = _a.getState; - var payload = _b.payload; - return this.identityService.updateRole(tslib_1.__assign({}, getState().selectedRole, payload)); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.getUsers = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.identityService.getUsers(payload).pipe(tap((/** - * @param {?} users - * @return {?} - */ - function (users) { - return patchState({ - users: users, - }); - }))); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.getUser = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.identityService.getUserById(payload).pipe(tap((/** - * @param {?} selectedUser - * @return {?} - */ - function (selectedUser) { - return patchState({ - selectedUser: selectedUser, - }); - }))); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.deleteUser = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.identityService.deleteUser(payload); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.addUser = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.identityService.createUser(payload); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.updateUser = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var getState = _a.getState; - var payload = _b.payload; - return this.identityService.updateUser(tslib_1.__assign({}, getState().selectedUser, payload)); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.getUserRoles = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.identityService.getUserRoles(payload).pipe(pluck('items'), tap((/** - * @param {?} selectedUserRoles - * @return {?} - */ - function (selectedUserRoles) { - return patchState({ - selectedUserRoles: selectedUserRoles, - }); - }))); - }; - IdentityState.ctorParameters = function () { return [ - { type: IdentityService } - ]; }; - tslib_1.__decorate([ - Action(GetRoles), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetRoles]), - tslib_1.__metadata("design:returntype", void 0) - ], IdentityState.prototype, "getRoles", null); - tslib_1.__decorate([ - Action(GetRoleById), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetRoleById]), - tslib_1.__metadata("design:returntype", void 0) - ], IdentityState.prototype, "getRole", null); - tslib_1.__decorate([ - Action(DeleteRole), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetRoleById]), - tslib_1.__metadata("design:returntype", void 0) - ], IdentityState.prototype, "deleteRole", null); - tslib_1.__decorate([ - Action(CreateRole), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, CreateRole]), - tslib_1.__metadata("design:returntype", void 0) - ], IdentityState.prototype, "addRole", null); - tslib_1.__decorate([ - Action(UpdateRole), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, UpdateRole]), - tslib_1.__metadata("design:returntype", void 0) - ], IdentityState.prototype, "updateRole", null); - tslib_1.__decorate([ - Action(GetUsers), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetUsers]), - tslib_1.__metadata("design:returntype", void 0) - ], IdentityState.prototype, "getUsers", null); - tslib_1.__decorate([ - Action(GetUserById), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetUserById]), - tslib_1.__metadata("design:returntype", void 0) - ], IdentityState.prototype, "getUser", null); - tslib_1.__decorate([ - Action(DeleteUser), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetUserById]), - tslib_1.__metadata("design:returntype", void 0) - ], IdentityState.prototype, "deleteUser", null); - tslib_1.__decorate([ - Action(CreateUser), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, CreateUser]), - tslib_1.__metadata("design:returntype", void 0) - ], IdentityState.prototype, "addUser", null); - tslib_1.__decorate([ - Action(UpdateUser), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, UpdateUser]), - tslib_1.__metadata("design:returntype", void 0) - ], IdentityState.prototype, "updateUser", null); - tslib_1.__decorate([ - Action(GetUserRoles), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetUserRoles]), - tslib_1.__metadata("design:returntype", void 0) - ], IdentityState.prototype, "getUserRoles", null); - tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", Array) - ], IdentityState, "getRoles", null); - tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", Number) - ], IdentityState, "getRolesTotalCount", null); - tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", Array) - ], IdentityState, "getUsers", null); - tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", Number) - ], IdentityState, "getUsersTotalCount", null); - IdentityState = tslib_1.__decorate([ - State({ - name: 'IdentityState', - defaults: (/** @type {?} */ ({ roles: {}, selectedRole: {}, users: {}, selectedUser: {} })), - }), - tslib_1.__metadata("design:paramtypes", [IdentityService]) - ], IdentityState); - return IdentityState; -}()); -export { IdentityState }; -if (false) { - /** - * @type {?} - * @private - */ - IdentityState.prototype.identityService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHkuc3RhdGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLmlkZW50aXR5LyIsInNvdXJjZXMiOlsibGliL3N0YXRlcy9pZGVudGl0eS5zdGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBRSxLQUFLLEVBQWdCLE1BQU0sYUFBYSxDQUFDO0FBQ3BFLE9BQU8sRUFBYSxHQUFHLEVBQUUsS0FBSyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDdkQsT0FBTyxFQUNMLFVBQVUsRUFDVixVQUFVLEVBQ1YsVUFBVSxFQUNWLFVBQVUsRUFDVixXQUFXLEVBQ1gsUUFBUSxFQUNSLFdBQVcsRUFDWCxRQUFRLEVBQ1IsVUFBVSxFQUNWLFVBQVUsRUFDVixZQUFZLEdBQ2IsTUFBTSw2QkFBNkIsQ0FBQztBQUVyQyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sOEJBQThCLENBQUM7O0lBMkI3RCx1QkFBb0IsZUFBZ0M7UUFBaEMsb0JBQWUsR0FBZixlQUFlLENBQWlCO0lBQUcsQ0FBQzs7Ozs7SUFuQmpELHNCQUFROzs7O0lBQWYsVUFBZ0IsRUFBeUI7WUFBdkIsZ0JBQUs7UUFDckIsT0FBTyxLQUFLLENBQUMsS0FBSyxJQUFJLEVBQUUsQ0FBQztJQUMzQixDQUFDOzs7OztJQUdNLGdDQUFrQjs7OztJQUF6QixVQUEwQixFQUF5QjtZQUF2QixnQkF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GVVc2VyKVxyXG4gIGFkZFVzZXIoXywgeyBwYXlsb2FkIH06IENyZWF0ZVVzZXIpIHtcclxuICAgIHJldHVybiB0aGlzLmlkZW50aXR5U2VydmljZS5jcmVhdGVVc2VyKHBheWxvYWQpO1xyXG4gIH1cclxuXHJcbiAgQEFjdGlvbihVcGRhdGVVc2VyKVxyXG4gIHVwZGF0ZVVzZXIoeyBnZXRTdGF0ZSB9OiBTdGF0ZUNvbnRleHQ8SWRlbnRpdHkuU3RhdGU+LCB7IHBheWxvYWQgfTogVXBkYXRlVXNlcikge1xyXG4gICAgcmV0dXJuIHRoaXMuaWRlbnRpdHlTZXJ2aWNlLnVwZGF0ZVVzZXIoeyAuLi5nZXRTdGF0ZSgpLnNlbGVjdGVkVXNlciwgLi4ucGF5bG9hZCB9KTtcclxuICB9XHJcblxyXG4gIEBBY3Rpb24oR2V0VXNlclJvbGVzKVxyXG4gIGdldFVzZXJSb2xlcyh7IHBhdGNoU3RhdGUgfTogU3RhdGVDb250ZXh0PElkZW50aXR5LlN0YXRlPiwgeyBwYXlsb2FkIH06IEdldFVzZXJSb2xlcykge1xyXG4gICAgcmV0dXJuIHRoaXMuaWRlbnRpdHlTZXJ2aWNlLmdldFVzZXJSb2xlcyhwYXlsb2FkKS5waXBlKFxyXG4gICAgICBwbHVjaygnaXRlbXMnKSxcclxuICAgICAgdGFwKHNlbGVjdGVkVXNlclJvbGVzID0+XHJcbiAgICAgICAgcGF0Y2hTdGF0ZSh7XHJcbiAgICAgICAgICBzZWxlY3RlZFVzZXJSb2xlcyxcclxuICAgICAgICB9KSxcclxuICAgICAgKSxcclxuICAgICk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/esm5/public-api.js b/npm/ng-packs/dist/identity/esm5/public-api.js deleted file mode 100644 index f8156847d86..00000000000 --- a/npm/ng-packs/dist/identity/esm5/public-api.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/* - * Public API Surface of identity - */ -export { IdentityProviders, IdentityModule } from './lib/identity.module'; -export { GetRoles, GetRoleById, DeleteRole, CreateRole, UpdateRole, GetUsers, GetUserById, DeleteUser, CreateUser, UpdateUser, GetUserRoles } from './lib/actions/identity.actions'; -export { RolesComponent } from './lib/components/roles/roles.component'; -export { IDENTITY_ROUTES } from './lib/constants/routes'; -export {} from './lib/models/identity'; -export { IdentityService } from './lib/services/identity.service'; -export { IdentityState } from './lib/states/identity.state'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuaWRlbnRpdHkvIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBSUEsa0RBQWMsdUJBQXVCLENBQUM7QUFDdEMsbUpBQWMsZ0NBQWdDLENBQUM7QUFDL0MsK0JBQWMsd0NBQXdDLENBQUM7QUFDdkQsZ0NBQWMsd0JBQXdCLENBQUM7QUFDdkMsZUFBYyx1QkFBdUIsQ0FBQztBQUN0QyxnQ0FBYyxpQ0FBaUMsQ0FBQztBQUNoRCw4QkFBYyw2QkFBNkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXHJcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBpZGVudGl0eVxyXG4gKi9cclxuXHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2lkZW50aXR5Lm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2FjdGlvbnMvaWRlbnRpdHkuYWN0aW9ucyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMvcm9sZXMvcm9sZXMuY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvY29uc3RhbnRzL3JvdXRlcyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL21vZGVscy9pZGVudGl0eSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3NlcnZpY2VzL2lkZW50aXR5LnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zdGF0ZXMvaWRlbnRpdHkuc3RhdGUnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/fesm2015/abp-ng.identity.js b/npm/ng-packs/dist/identity/fesm2015/abp-ng.identity.js deleted file mode 100644 index 6c44cef6e12..00000000000 --- a/npm/ng-packs/dist/identity/fesm2015/abp-ng.identity.js +++ /dev/null @@ -1,1376 +0,0 @@ -import { RestService, ConfigState, DynamicLayoutComponent, AuthGuard, PermissionGuard, CoreModule } from '@abp/ng.core'; -import { Injectable, ɵɵdefineInjectable, ɵɵinject, Component, ViewChild, ElementRef, NgModule } from '@angular/core'; -import { Action, Selector, State, Store, Select, NgxsModule } from '@ngxs/store'; -import { __decorate, __metadata } from 'tslib'; -import { ConfirmationService, ThemeSharedModule } from '@abp/ng.theme.shared'; -import { FormControl, Validators, FormBuilder } from '@angular/forms'; -import { Observable } from 'rxjs'; -import { tap, pluck, finalize, switchMap, take } from 'rxjs/operators'; -import { RouterModule } from '@angular/router'; -import snq from 'snq'; -import { validatePassword, NgxValidateCoreModule } from '@ngx-validate/core'; -import { NgbTabsetModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; -import { PermissionManagementModule } from '@abp/ng.permission-management'; -import { TableModule } from 'primeng/table'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/identity.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class GetRoles { - /** - * @param {?=} payload - */ - constructor(payload) { - this.payload = payload; - } -} -GetRoles.type = '[Identity] Get Roles'; -if (false) { - /** @type {?} */ - GetRoles.type; - /** @type {?} */ - GetRoles.prototype.payload; -} -class GetRoleById { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -GetRoleById.type = '[Identity] Get Role By Id'; -if (false) { - /** @type {?} */ - GetRoleById.type; - /** @type {?} */ - GetRoleById.prototype.payload; -} -class DeleteRole { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -DeleteRole.type = '[Identity] Delete Role'; -if (false) { - /** @type {?} */ - DeleteRole.type; - /** @type {?} */ - DeleteRole.prototype.payload; -} -class CreateRole { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -CreateRole.type = '[Identity] Create Role'; -if (false) { - /** @type {?} */ - CreateRole.type; - /** @type {?} */ - CreateRole.prototype.payload; -} -class UpdateRole { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -UpdateRole.type = '[Identity] Update Role'; -if (false) { - /** @type {?} */ - UpdateRole.type; - /** @type {?} */ - UpdateRole.prototype.payload; -} -class GetUsers { - /** - * @param {?=} payload - */ - constructor(payload) { - this.payload = payload; - } -} -GetUsers.type = '[Identity] Get Users'; -if (false) { - /** @type {?} */ - GetUsers.type; - /** @type {?} */ - GetUsers.prototype.payload; -} -class GetUserById { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -GetUserById.type = '[Identity] Get User By Id'; -if (false) { - /** @type {?} */ - GetUserById.type; - /** @type {?} */ - GetUserById.prototype.payload; -} -class DeleteUser { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -DeleteUser.type = '[Identity] Delete User'; -if (false) { - /** @type {?} */ - DeleteUser.type; - /** @type {?} */ - DeleteUser.prototype.payload; -} -class CreateUser { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -CreateUser.type = '[Identity] Create User'; -if (false) { - /** @type {?} */ - CreateUser.type; - /** @type {?} */ - CreateUser.prototype.payload; -} -class UpdateUser { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -UpdateUser.type = '[Identity] Update User'; -if (false) { - /** @type {?} */ - UpdateUser.type; - /** @type {?} */ - UpdateUser.prototype.payload; -} -class GetUserRoles { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -GetUserRoles.type = '[Identity] Get User Roles'; -if (false) { - /** @type {?} */ - GetUserRoles.type; - /** @type {?} */ - GetUserRoles.prototype.payload; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/identity.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class IdentityService { - /** - * @param {?} rest - */ - constructor(rest) { - this.rest = rest; - } - /** - * @param {?=} params - * @return {?} - */ - getRoles(params = (/** @type {?} */ ({}))) { - /** @type {?} */ - const request = { - method: 'GET', - url: '/api/identity/roles', - params, - }; - return this.rest.request(request); - } - /** - * @param {?} id - * @return {?} - */ - getRoleById(id) { - /** @type {?} */ - const request = { - method: 'GET', - url: `/api/identity/roles/${id}`, - }; - return this.rest.request(request); - } - /** - * @param {?} id - * @return {?} - */ - deleteRole(id) { - /** @type {?} */ - const request = { - method: 'DELETE', - url: `/api/identity/roles/${id}`, - }; - return this.rest.request(request); - } - /** - * @param {?} body - * @return {?} - */ - createRole(body) { - /** @type {?} */ - const request = { - method: 'POST', - url: '/api/identity/roles', - body, - }; - return this.rest.request(request); - } - /** - * @param {?} body - * @return {?} - */ - updateRole(body) { - /** @type {?} */ - const url = `/api/identity/roles/${body.id}`; - delete body.id; - /** @type {?} */ - const request = { - method: 'PUT', - url, - body, - }; - return this.rest.request(request); - } - /** - * @param {?=} params - * @return {?} - */ - getUsers(params = (/** @type {?} */ ({}))) { - /** @type {?} */ - const request = { - method: 'GET', - url: '/api/identity/users', - params, - }; - return this.rest.request(request); - } - /** - * @param {?} id - * @return {?} - */ - getUserById(id) { - /** @type {?} */ - const request = { - method: 'GET', - url: `/api/identity/users/${id}`, - }; - return this.rest.request(request); - } - /** - * @param {?} id - * @return {?} - */ - getUserRoles(id) { - /** @type {?} */ - const request = { - method: 'GET', - url: `/api/identity/users/${id}/roles`, - }; - return this.rest.request(request); - } - /** - * @param {?} id - * @return {?} - */ - deleteUser(id) { - /** @type {?} */ - const request = { - method: 'DELETE', - url: `/api/identity/users/${id}`, - }; - return this.rest.request(request); - } - /** - * @param {?} body - * @return {?} - */ - createUser(body) { - /** @type {?} */ - const request = { - method: 'POST', - url: '/api/identity/users', - body, - }; - return this.rest.request(request); - } - /** - * @param {?} body - * @return {?} - */ - updateUser(body) { - /** @type {?} */ - const url = `/api/identity/users/${body.id}`; - delete body.id; - /** @type {?} */ - const request = { - method: 'PUT', - url, - body, - }; - return this.rest.request(request); - } -} -IdentityService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -IdentityService.ctorParameters = () => [ - { type: RestService } -]; -/** @nocollapse */ IdentityService.ngInjectableDef = ɵɵdefineInjectable({ factory: function IdentityService_Factory() { return new IdentityService(ɵɵinject(RestService)); }, token: IdentityService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - IdentityService.prototype.rest; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/identity.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -let IdentityState = class IdentityState { - /** - * @param {?} identityService - */ - constructor(identityService) { - this.identityService = identityService; - } - /** - * @param {?} __0 - * @return {?} - */ - static getRoles({ roles }) { - return roles.items || []; - } - /** - * @param {?} __0 - * @return {?} - */ - static getRolesTotalCount({ roles }) { - return roles.totalCount || 0; - } - /** - * @param {?} __0 - * @return {?} - */ - static getUsers({ users }) { - return users.items || []; - } - /** - * @param {?} __0 - * @return {?} - */ - static getUsersTotalCount({ users }) { - return users.totalCount || 0; - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - getRoles({ patchState }, { payload }) { - return this.identityService.getRoles(payload).pipe(tap((/** - * @param {?} roles - * @return {?} - */ - roles => patchState({ - roles, - })))); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - getRole({ patchState }, { payload }) { - return this.identityService.getRoleById(payload).pipe(tap((/** - * @param {?} selectedRole - * @return {?} - */ - selectedRole => patchState({ - selectedRole, - })))); - } - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - deleteRole(_, { payload }) { - return this.identityService.deleteRole(payload); - } - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - addRole(_, { payload }) { - return this.identityService.createRole(payload); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - updateRole({ getState }, { payload }) { - return this.identityService.updateRole(Object.assign({}, getState().selectedRole, payload)); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - getUsers({ patchState }, { payload }) { - return this.identityService.getUsers(payload).pipe(tap((/** - * @param {?} users - * @return {?} - */ - users => patchState({ - users, - })))); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - getUser({ patchState }, { payload }) { - return this.identityService.getUserById(payload).pipe(tap((/** - * @param {?} selectedUser - * @return {?} - */ - selectedUser => patchState({ - selectedUser, - })))); - } - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - deleteUser(_, { payload }) { - return this.identityService.deleteUser(payload); - } - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - addUser(_, { payload }) { - return this.identityService.createUser(payload); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - updateUser({ getState }, { payload }) { - return this.identityService.updateUser(Object.assign({}, getState().selectedUser, payload)); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - getUserRoles({ patchState }, { payload }) { - return this.identityService.getUserRoles(payload).pipe(pluck('items'), tap((/** - * @param {?} selectedUserRoles - * @return {?} - */ - selectedUserRoles => patchState({ - selectedUserRoles, - })))); - } -}; -IdentityState.ctorParameters = () => [ - { type: IdentityService } -]; -__decorate([ - Action(GetRoles), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetRoles]), - __metadata("design:returntype", void 0) -], IdentityState.prototype, "getRoles", null); -__decorate([ - Action(GetRoleById), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetRoleById]), - __metadata("design:returntype", void 0) -], IdentityState.prototype, "getRole", null); -__decorate([ - Action(DeleteRole), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetRoleById]), - __metadata("design:returntype", void 0) -], IdentityState.prototype, "deleteRole", null); -__decorate([ - Action(CreateRole), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, CreateRole]), - __metadata("design:returntype", void 0) -], IdentityState.prototype, "addRole", null); -__decorate([ - Action(UpdateRole), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, UpdateRole]), - __metadata("design:returntype", void 0) -], IdentityState.prototype, "updateRole", null); -__decorate([ - Action(GetUsers), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetUsers]), - __metadata("design:returntype", void 0) -], IdentityState.prototype, "getUsers", null); -__decorate([ - Action(GetUserById), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetUserById]), - __metadata("design:returntype", void 0) -], IdentityState.prototype, "getUser", null); -__decorate([ - Action(DeleteUser), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetUserById]), - __metadata("design:returntype", void 0) -], IdentityState.prototype, "deleteUser", null); -__decorate([ - Action(CreateUser), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, CreateUser]), - __metadata("design:returntype", void 0) -], IdentityState.prototype, "addUser", null); -__decorate([ - Action(UpdateUser), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, UpdateUser]), - __metadata("design:returntype", void 0) -], IdentityState.prototype, "updateUser", null); -__decorate([ - Action(GetUserRoles), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetUserRoles]), - __metadata("design:returntype", void 0) -], IdentityState.prototype, "getUserRoles", null); -__decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Array) -], IdentityState, "getRoles", null); -__decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Number) -], IdentityState, "getRolesTotalCount", null); -__decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Array) -], IdentityState, "getUsers", null); -__decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Number) -], IdentityState, "getUsersTotalCount", null); -IdentityState = __decorate([ - State({ - name: 'IdentityState', - defaults: (/** @type {?} */ ({ roles: {}, selectedRole: {}, users: {}, selectedUser: {} })), - }), - __metadata("design:paramtypes", [IdentityService]) -], IdentityState); -if (false) { - /** - * @type {?} - * @private - */ - IdentityState.prototype.identityService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/roles/roles.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class RolesComponent { - /** - * @param {?} confirmationService - * @param {?} fb - * @param {?} store - */ - constructor(confirmationService, fb, store) { - this.confirmationService = confirmationService; - this.fb = fb; - this.store = store; - this.visiblePermissions = false; - this.pageQuery = {}; - this.loading = false; - this.modalBusy = false; - this.sortOrder = ''; - this.sortKey = ''; - } - /** - * @return {?} - */ - ngOnInit() { - this.get(); - } - /** - * @return {?} - */ - createForm() { - this.form = this.fb.group({ - name: new FormControl({ value: this.selected.name || '', disabled: this.selected.isStatic }, [ - Validators.required, - Validators.maxLength(256), - ]), - isDefault: [this.selected.isDefault || false], - isPublic: [this.selected.isPublic || false], - }); - } - /** - * @return {?} - */ - openModal() { - this.createForm(); - this.isModalVisible = true; - } - /** - * @return {?} - */ - add() { - this.selected = (/** @type {?} */ ({})); - this.openModal(); - } - /** - * @param {?} id - * @return {?} - */ - edit(id) { - this.store - .dispatch(new GetRoleById(id)) - .pipe(pluck('IdentityState', 'selectedRole')) - .subscribe((/** - * @param {?} selectedRole - * @return {?} - */ - selectedRole => { - this.selected = selectedRole; - this.openModal(); - })); - } - /** - * @return {?} - */ - save() { - if (!this.form.valid) - return; - this.modalBusy = true; - this.store - .dispatch(this.selected.id - ? new UpdateRole(Object.assign({}, this.selected, this.form.value, { id: this.selected.id })) - : new CreateRole(this.form.value)) - .pipe(finalize((/** - * @return {?} - */ - () => (this.modalBusy = false)))) - .subscribe((/** - * @return {?} - */ - () => { - this.isModalVisible = false; - this.get(); - })); - } - /** - * @param {?} id - * @param {?} name - * @return {?} - */ - delete(id, name) { - this.confirmationService - .warn('AbpIdentity::RoleDeletionConfirmationMessage', 'AbpIdentity::AreYouSure', { - messageLocalizationParams: [name], - }) - .subscribe((/** - * @param {?} status - * @return {?} - */ - (status) => { - if (status === "confirm" /* confirm */) { - this.store.dispatch(new DeleteRole(id)).subscribe((/** - * @return {?} - */ - () => this.get())); - } - })); - } - /** - * @param {?} data - * @return {?} - */ - onPageChange(data) { - this.pageQuery.skipCount = data.first; - this.pageQuery.maxResultCount = data.rows; - this.get(); - } - /** - * @return {?} - */ - get() { - this.loading = true; - this.store - .dispatch(new GetRoles(this.pageQuery)) - .pipe(finalize((/** - * @return {?} - */ - () => (this.loading = false)))) - .subscribe(); - } - /** - * @return {?} - */ - onClickSaveButton() { - this.formRef.nativeElement.dispatchEvent(new Event('submit', { bubbles: true, cancelable: true })); - } -} -RolesComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-roles', - template: "
\r\n
\r\n
\r\n
\r\n
{{ 'AbpIdentity::Roles' | abpLocalization }}
\r\n
\r\n
\r\n \r\n \r\n {{ 'AbpIdentity::NewRole' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n {{ 'AbpIdentity::RoleName' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n
\r\n \r\n {{ 'AbpIdentity::Edit' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpIdentity::Permissions' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpIdentity::Delete' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n \r\n {{ data.name\r\n }}{{\r\n 'AbpIdentity::DisplayName:IsDefault' | abpLocalization\r\n }}\r\n {{\r\n 'AbpIdentity::DisplayName:IsPublic' | abpLocalization\r\n }}\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n

{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewRole') | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n\r\n" - }] } -]; -/** @nocollapse */ -RolesComponent.ctorParameters = () => [ - { type: ConfirmationService }, - { type: FormBuilder }, - { type: Store } -]; -RolesComponent.propDecorators = { - formRef: [{ type: ViewChild, args: ['formRef', { static: false, read: ElementRef },] }] -}; -__decorate([ - Select(IdentityState.getRoles), - __metadata("design:type", Observable) -], RolesComponent.prototype, "data$", void 0); -__decorate([ - Select(IdentityState.getRolesTotalCount), - __metadata("design:type", Observable) -], RolesComponent.prototype, "totalCount$", void 0); -if (false) { - /** @type {?} */ - RolesComponent.prototype.data$; - /** @type {?} */ - RolesComponent.prototype.totalCount$; - /** @type {?} */ - RolesComponent.prototype.form; - /** @type {?} */ - RolesComponent.prototype.selected; - /** @type {?} */ - RolesComponent.prototype.isModalVisible; - /** @type {?} */ - RolesComponent.prototype.visiblePermissions; - /** @type {?} */ - RolesComponent.prototype.providerKey; - /** @type {?} */ - RolesComponent.prototype.pageQuery; - /** @type {?} */ - RolesComponent.prototype.loading; - /** @type {?} */ - RolesComponent.prototype.modalBusy; - /** @type {?} */ - RolesComponent.prototype.sortOrder; - /** @type {?} */ - RolesComponent.prototype.sortKey; - /** @type {?} */ - RolesComponent.prototype.formRef; - /** - * @type {?} - * @private - */ - RolesComponent.prototype.confirmationService; - /** - * @type {?} - * @private - */ - RolesComponent.prototype.fb; - /** - * @type {?} - * @private - */ - RolesComponent.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/users/users.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class UsersComponent { - /** - * @param {?} confirmationService - * @param {?} fb - * @param {?} store - */ - constructor(confirmationService, fb, store) { - this.confirmationService = confirmationService; - this.fb = fb; - this.store = store; - this.visiblePermissions = false; - this.pageQuery = {}; - this.loading = false; - this.modalBusy = false; - this.sortOrder = ''; - this.sortKey = ''; - this.passwordRulesArr = (/** @type {?} */ ([])); - this.requiredPasswordLength = 1; - this.trackByFn = (/** - * @param {?} index - * @param {?} item - * @return {?} - */ - (index, item) => Object.keys(item)[0] || index); - } - /** - * @return {?} - */ - get roleGroups() { - return snq((/** - * @return {?} - */ - () => (/** @type {?} */ (((/** @type {?} */ (this.form.get('roleNames')))).controls))), []); - } - /** - * @return {?} - */ - ngOnInit() { - this.get(); - /** @type {?} */ - const passwordRules = this.store.selectSnapshot(ConfigState.getSettings('Identity.Password')); - if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') { - this.passwordRulesArr.push('number'); - } - if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') { - this.passwordRulesArr.push('small'); - } - if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') { - this.passwordRulesArr.push('capital'); - } - if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) { - this.passwordRulesArr.push('special'); - } - if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) { - this.requiredPasswordLength = +passwordRules['Abp.Identity.Password.RequiredLength']; - } - } - /** - * @param {?} value - * @return {?} - */ - onSearch(value) { - this.pageQuery.filter = value; - this.get(); - } - /** - * @return {?} - */ - buildForm() { - this.store.dispatch(new GetRoles()).subscribe((/** - * @return {?} - */ - () => { - this.roles = this.store.selectSnapshot(IdentityState.getRoles); - this.form = this.fb.group({ - userName: [this.selected.userName || '', [Validators.required, Validators.maxLength(256)]], - email: [ - this.selected.email || '', - [Validators.required, Validators.email, Validators.maxLength(256)], - ], - name: [this.selected.name || '', [Validators.maxLength(64)]], - surname: [this.selected.surname || '', [Validators.maxLength(64)]], - phoneNumber: [this.selected.phoneNumber || '', [Validators.maxLength(16)]], - lockoutEnabled: [this.selected.lockoutEnabled || (this.selected.id ? false : true)], - twoFactorEnabled: [this.selected.twoFactorEnabled || (this.selected.id ? false : true)], - roleNames: this.fb.array(this.roles.map((/** - * @param {?} role - * @return {?} - */ - role => this.fb.group({ - [role.name]: [ - !!snq((/** - * @return {?} - */ - () => this.selectedUserRoles.find((/** - * @param {?} userRole - * @return {?} - */ - userRole => userRole.id === role.id)))), - ], - })))), - }); - /** @type {?} */ - const passwordValidators = [ - validatePassword(this.passwordRulesArr), - Validators.minLength(this.requiredPasswordLength), - Validators.maxLength(32), - ]; - this.form.addControl('password', new FormControl('', [...passwordValidators])); - if (!this.selected.userName) { - this.form.get('password').setValidators([...passwordValidators, Validators.required]); - this.form.get('password').updateValueAndValidity(); - } - })); - } - /** - * @return {?} - */ - openModal() { - this.buildForm(); - this.isModalVisible = true; - } - /** - * @return {?} - */ - add() { - this.selected = (/** @type {?} */ ({})); - this.selectedUserRoles = (/** @type {?} */ ([])); - this.openModal(); - } - /** - * @param {?} id - * @return {?} - */ - edit(id) { - this.store - .dispatch(new GetUserById(id)) - .pipe(switchMap((/** - * @return {?} - */ - () => this.store.dispatch(new GetUserRoles(id)))), pluck('IdentityState'), take(1)) - .subscribe((/** - * @param {?} state - * @return {?} - */ - (state) => { - this.selected = state.selectedUser; - this.selectedUserRoles = state.selectedUserRoles; - this.openModal(); - })); - } - /** - * @return {?} - */ - save() { - if (!this.form.valid || this.modalBusy) - return; - this.modalBusy = true; - const { roleNames } = this.form.value; - /** @type {?} */ - const mappedRoleNames = snq((/** - * @return {?} - */ - () => roleNames.filter((/** - * @param {?} role - * @return {?} - */ - role => !!role[Object.keys(role)[0]])).map((/** - * @param {?} role - * @return {?} - */ - role => Object.keys(role)[0]))), []); - this.store - .dispatch(this.selected.id - ? new UpdateUser(Object.assign({}, this.selected, this.form.value, { id: this.selected.id, roleNames: mappedRoleNames })) - : new CreateUser(Object.assign({}, this.form.value, { roleNames: mappedRoleNames }))) - .pipe(finalize((/** - * @return {?} - */ - () => (this.modalBusy = false)))) - .subscribe((/** - * @return {?} - */ - () => { - this.isModalVisible = false; - this.get(); - })); - } - /** - * @param {?} id - * @param {?} userName - * @return {?} - */ - delete(id, userName) { - this.confirmationService - .warn('AbpIdentity::UserDeletionConfirmationMessage', 'AbpIdentity::AreYouSure', { - messageLocalizationParams: [userName], - }) - .subscribe((/** - * @param {?} status - * @return {?} - */ - (status) => { - if (status === "confirm" /* confirm */) { - this.store.dispatch(new DeleteUser(id)).subscribe((/** - * @return {?} - */ - () => this.get())); - } - })); - } - /** - * @param {?} data - * @return {?} - */ - onPageChange(data) { - this.pageQuery.skipCount = data.first; - this.pageQuery.maxResultCount = data.rows; - this.get(); - } - /** - * @return {?} - */ - get() { - this.loading = true; - this.store - .dispatch(new GetUsers(this.pageQuery)) - .pipe(finalize((/** - * @return {?} - */ - () => (this.loading = false)))) - .subscribe(); - } -} -UsersComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-users', - template: "
\r\n
\r\n
\r\n
\r\n
{{ 'AbpIdentity::Users' | abpLocalization }}
\r\n
\r\n
\r\n \r\n {{ 'AbpIdentity::NewUser' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n {{ 'AbpIdentity::UserName' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n {{ 'AbpIdentity::EmailAddress' | abpLocalization }}\r\n \r\n \r\n \r\n {{ 'AbpIdentity::PhoneNumber' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n
\r\n \r\n \r\n {{ 'AbpIdentity::Permissions' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpIdentity::Delete' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n {{ data.userName }}\r\n {{ data.email }}\r\n {{ data.phoneNumber }}\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n

{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewUser') | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n\r\n" - }] } -]; -/** @nocollapse */ -UsersComponent.ctorParameters = () => [ - { type: ConfirmationService }, - { type: FormBuilder }, - { type: Store } -]; -UsersComponent.propDecorators = { - modalContent: [{ type: ViewChild, args: ['modalContent', { static: false },] }] -}; -__decorate([ - Select(IdentityState.getUsers), - __metadata("design:type", Observable) -], UsersComponent.prototype, "data$", void 0); -__decorate([ - Select(IdentityState.getUsersTotalCount), - __metadata("design:type", Observable) -], UsersComponent.prototype, "totalCount$", void 0); -if (false) { - /** @type {?} */ - UsersComponent.prototype.data$; - /** @type {?} */ - UsersComponent.prototype.totalCount$; - /** @type {?} */ - UsersComponent.prototype.modalContent; - /** @type {?} */ - UsersComponent.prototype.form; - /** @type {?} */ - UsersComponent.prototype.selected; - /** @type {?} */ - UsersComponent.prototype.selectedUserRoles; - /** @type {?} */ - UsersComponent.prototype.roles; - /** @type {?} */ - UsersComponent.prototype.visiblePermissions; - /** @type {?} */ - UsersComponent.prototype.providerKey; - /** @type {?} */ - UsersComponent.prototype.pageQuery; - /** @type {?} */ - UsersComponent.prototype.isModalVisible; - /** @type {?} */ - UsersComponent.prototype.loading; - /** @type {?} */ - UsersComponent.prototype.modalBusy; - /** @type {?} */ - UsersComponent.prototype.sortOrder; - /** @type {?} */ - UsersComponent.prototype.sortKey; - /** @type {?} */ - UsersComponent.prototype.passwordRulesArr; - /** @type {?} */ - UsersComponent.prototype.requiredPasswordLength; - /** @type {?} */ - UsersComponent.prototype.trackByFn; - /** - * @type {?} - * @private - */ - UsersComponent.prototype.confirmationService; - /** - * @type {?} - * @private - */ - UsersComponent.prototype.fb; - /** - * @type {?} - * @private - */ - UsersComponent.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/identity-routing.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -const ɵ0 = { requiredPolicy: 'AbpIdentity.Roles' }, ɵ1 = { requiredPolicy: 'AbpIdentity.Users' }; -/** @type {?} */ -const routes = [ - { path: '', redirectTo: 'roles', pathMatch: 'full' }, - { - path: '', - component: DynamicLayoutComponent, - canActivate: [AuthGuard, PermissionGuard], - children: [ - { - path: 'roles', - component: RolesComponent, - data: ɵ0, - }, - { - path: 'users', - component: UsersComponent, - data: ɵ1, - }, - ], - }, -]; -class IdentityRoutingModule { -} -IdentityRoutingModule.decorators = [ - { type: NgModule, args: [{ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule], - },] } -]; - -/** - * @fileoverview added by tsickle - * Generated from: lib/identity.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class IdentityModule { -} -IdentityModule.decorators = [ - { type: NgModule, args: [{ - declarations: [RolesComponent, UsersComponent], - imports: [ - NgxsModule.forFeature([IdentityState]), - CoreModule, - IdentityRoutingModule, - NgbTabsetModule, - ThemeSharedModule, - TableModule, - NgbDropdownModule, - PermissionManagementModule, - NgxValidateCoreModule, - ], - },] } -]; -/** - * - * @deprecated - * @return {?} - */ -function IdentityProviders() { - return []; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/routes.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * - * @deprecated - * @type {?} - */ -const IDENTITY_ROUTES = { - routes: (/** @type {?} */ ([ - { - name: 'AbpUiNavigation::Menu:Administration', - path: '', - order: 1, - wrapper: true, - }, - { - name: 'AbpIdentity::Menu:IdentityManagement', - path: 'identity', - order: 1, - parentName: 'AbpUiNavigation::Menu:Administration', - layout: "application" /* application */, - iconClass: 'fa fa-id-card-o', - children: [ - { path: 'roles', name: 'AbpIdentity::Roles', order: 2, requiredPolicy: 'AbpIdentity.Roles' }, - { path: 'users', name: 'AbpIdentity::Users', order: 1, requiredPolicy: 'AbpIdentity.Users' }, - ], - }, - ])), -}; - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/identity.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var Identity; -(function (Identity) { - /** - * @record - */ - function State() { } - Identity.State = State; - if (false) { - /** @type {?} */ - State.prototype.roles; - /** @type {?} */ - State.prototype.users; - /** @type {?} */ - State.prototype.selectedRole; - /** @type {?} */ - State.prototype.selectedUser; - /** @type {?} */ - State.prototype.selectedUserRoles; - } - /** - * @record - */ - function RoleSaveRequest() { } - Identity.RoleSaveRequest = RoleSaveRequest; - if (false) { - /** @type {?} */ - RoleSaveRequest.prototype.name; - /** @type {?} */ - RoleSaveRequest.prototype.isDefault; - /** @type {?} */ - RoleSaveRequest.prototype.isPublic; - } - /** - * @record - */ - function RoleItem() { } - Identity.RoleItem = RoleItem; - if (false) { - /** @type {?} */ - RoleItem.prototype.isStatic; - /** @type {?} */ - RoleItem.prototype.concurrencyStamp; - /** @type {?} */ - RoleItem.prototype.id; - } - /** - * @record - */ - function UserItem() { } - Identity.UserItem = UserItem; - if (false) { - /** @type {?} */ - UserItem.prototype.tenantId; - /** @type {?} */ - UserItem.prototype.emailConfirmed; - /** @type {?} */ - UserItem.prototype.phoneNumberConfirmed; - /** @type {?} */ - UserItem.prototype.isLockedOut; - /** @type {?} */ - UserItem.prototype.concurrencyStamp; - /** @type {?} */ - UserItem.prototype.id; - } - /** - * @record - */ - function User() { } - Identity.User = User; - if (false) { - /** @type {?} */ - User.prototype.userName; - /** @type {?} */ - User.prototype.name; - /** @type {?} */ - User.prototype.surname; - /** @type {?} */ - User.prototype.email; - /** @type {?} */ - User.prototype.phoneNumber; - /** @type {?} */ - User.prototype.twoFactorEnabled; - /** @type {?} */ - User.prototype.lockoutEnabled; - } - /** - * @record - */ - function UserSaveRequest() { } - Identity.UserSaveRequest = UserSaveRequest; - if (false) { - /** @type {?} */ - UserSaveRequest.prototype.password; - /** @type {?} */ - UserSaveRequest.prototype.roleNames; - } -})(Identity || (Identity = {})); - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.identity.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { CreateRole, CreateUser, DeleteRole, DeleteUser, GetRoleById, GetRoles, GetUserById, GetUserRoles, GetUsers, IDENTITY_ROUTES, IdentityModule, IdentityProviders, IdentityService, IdentityState, RolesComponent, UpdateRole, UpdateUser, UsersComponent as ɵb, IdentityRoutingModule as ɵc }; -//# sourceMappingURL=abp-ng.identity.js.map diff --git a/npm/ng-packs/dist/identity/fesm2015/abp-ng.identity.js.map b/npm/ng-packs/dist/identity/fesm2015/abp-ng.identity.js.map deleted file mode 100644 index c1b307398fd..00000000000 --- a/npm/ng-packs/dist/identity/fesm2015/abp-ng.identity.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.identity.js","sources":["ng://@abp/ng.identity/lib/actions/identity.actions.ts","ng://@abp/ng.identity/lib/services/identity.service.ts","ng://@abp/ng.identity/lib/states/identity.state.ts","ng://@abp/ng.identity/lib/components/roles/roles.component.ts","ng://@abp/ng.identity/lib/components/users/users.component.ts","ng://@abp/ng.identity/lib/identity-routing.module.ts","ng://@abp/ng.identity/lib/identity.module.ts","ng://@abp/ng.identity/lib/constants/routes.ts","ng://@abp/ng.identity/lib/models/identity.ts"],"sourcesContent":["import { Identity } from '../models/identity';\r\nimport { ABP } from '@abp/ng.core';\r\n\r\nexport class GetRoles {\r\n static readonly type = '[Identity] Get Roles';\r\n constructor(public payload?: ABP.PageQueryParams) {}\r\n}\r\n\r\nexport class GetRoleById {\r\n static readonly type = '[Identity] Get Role By Id';\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class DeleteRole {\r\n static readonly type = '[Identity] Delete Role';\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class CreateRole {\r\n static readonly type = '[Identity] Create Role';\r\n constructor(public payload: Identity.RoleSaveRequest) {}\r\n}\r\n\r\nexport class UpdateRole {\r\n static readonly type = '[Identity] Update Role';\r\n constructor(public payload: Identity.RoleItem) {}\r\n}\r\n\r\nexport class GetUsers {\r\n static readonly type = '[Identity] Get Users';\r\n constructor(public payload?: ABP.PageQueryParams) {}\r\n}\r\n\r\nexport class GetUserById {\r\n static readonly type = '[Identity] Get User By Id';\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class DeleteUser {\r\n static readonly type = '[Identity] Delete User';\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class CreateUser {\r\n static readonly type = '[Identity] Create User';\r\n constructor(public payload: Identity.UserSaveRequest) {}\r\n}\r\n\r\nexport class UpdateUser {\r\n static readonly type = '[Identity] Update User';\r\n constructor(public payload: Identity.UserSaveRequest & { id: string }) {}\r\n}\r\n\r\nexport class GetUserRoles {\r\n static readonly type = '[Identity] Get User Roles';\r\n constructor(public payload: string) {}\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RestService, Rest, ABP } from '@abp/ng.core';\r\nimport { Identity } from '../models/identity';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentityService {\r\n constructor(private rest: RestService) {}\r\n\r\n getRoles(params = {} as ABP.PageQueryParams): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/identity/roles',\r\n params,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getRoleById(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: `/api/identity/roles/${id}`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n deleteRole(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'DELETE',\r\n url: `/api/identity/roles/${id}`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n createRole(body: Identity.RoleSaveRequest): Observable {\r\n const request: Rest.Request = {\r\n method: 'POST',\r\n url: '/api/identity/roles',\r\n body,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n updateRole(body: Identity.RoleItem): Observable {\r\n const url = `/api/identity/roles/${body.id}`;\r\n delete body.id;\r\n\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url,\r\n body,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getUsers(params = {} as ABP.PageQueryParams): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/identity/users',\r\n params,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getUserById(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: `/api/identity/users/${id}`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getUserRoles(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: `/api/identity/users/${id}/roles`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n deleteUser(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'DELETE',\r\n url: `/api/identity/users/${id}`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n createUser(body: Identity.UserSaveRequest): Observable {\r\n const request: Rest.Request = {\r\n method: 'POST',\r\n url: '/api/identity/users',\r\n body,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n updateUser(body: Identity.UserItem): Observable {\r\n const url = `/api/identity/users/${body.id}`;\r\n delete body.id;\r\n\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url,\r\n body,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { switchMap, tap, pluck } from 'rxjs/operators';\r\nimport {\r\n CreateRole,\r\n CreateUser,\r\n DeleteRole,\r\n DeleteUser,\r\n GetRoleById,\r\n GetRoles,\r\n GetUserById,\r\n GetUsers,\r\n UpdateRole,\r\n UpdateUser,\r\n GetUserRoles,\r\n} from '../actions/identity.actions';\r\nimport { Identity } from '../models/identity';\r\nimport { IdentityService } from '../services/identity.service';\r\n\r\n@State({\r\n name: 'IdentityState',\r\n defaults: { roles: {}, selectedRole: {}, users: {}, selectedUser: {} } as Identity.State,\r\n})\r\nexport class IdentityState {\r\n @Selector()\r\n static getRoles({ roles }: Identity.State): Identity.RoleItem[] {\r\n return roles.items || [];\r\n }\r\n\r\n @Selector()\r\n static getRolesTotalCount({ roles }: Identity.State): number {\r\n return roles.totalCount || 0;\r\n }\r\n\r\n @Selector()\r\n static getUsers({ users }: Identity.State): Identity.UserItem[] {\r\n return users.items || [];\r\n }\r\n\r\n @Selector()\r\n static getUsersTotalCount({ users }: Identity.State): number {\r\n return users.totalCount || 0;\r\n }\r\n\r\n constructor(private identityService: IdentityService) {}\r\n\r\n @Action(GetRoles)\r\n getRoles({ patchState }: StateContext, { payload }: GetRoles) {\r\n return this.identityService.getRoles(payload).pipe(\r\n tap(roles =>\r\n patchState({\r\n roles,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(GetRoleById)\r\n getRole({ patchState }: StateContext, { payload }: GetRoleById) {\r\n return this.identityService.getRoleById(payload).pipe(\r\n tap(selectedRole =>\r\n patchState({\r\n selectedRole,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(DeleteRole)\r\n deleteRole(_, { payload }: GetRoleById) {\r\n return this.identityService.deleteRole(payload);\r\n }\r\n\r\n @Action(CreateRole)\r\n addRole(_, { payload }: CreateRole) {\r\n return this.identityService.createRole(payload);\r\n }\r\n\r\n @Action(UpdateRole)\r\n updateRole({ getState }: StateContext, { payload }: UpdateRole) {\r\n return this.identityService.updateRole({ ...getState().selectedRole, ...payload });\r\n }\r\n\r\n @Action(GetUsers)\r\n getUsers({ patchState }: StateContext, { payload }: GetUsers) {\r\n return this.identityService.getUsers(payload).pipe(\r\n tap(users =>\r\n patchState({\r\n users,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(GetUserById)\r\n getUser({ patchState }: StateContext, { payload }: GetUserById) {\r\n return this.identityService.getUserById(payload).pipe(\r\n tap(selectedUser =>\r\n patchState({\r\n selectedUser,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(DeleteUser)\r\n deleteUser(_, { payload }: GetUserById) {\r\n return this.identityService.deleteUser(payload);\r\n }\r\n\r\n @Action(CreateUser)\r\n addUser(_, { payload }: CreateUser) {\r\n return this.identityService.createUser(payload);\r\n }\r\n\r\n @Action(UpdateUser)\r\n updateUser({ getState }: StateContext, { payload }: UpdateUser) {\r\n return this.identityService.updateUser({ ...getState().selectedUser, ...payload });\r\n }\r\n\r\n @Action(GetUserRoles)\r\n getUserRoles({ patchState }: StateContext, { payload }: GetUserRoles) {\r\n return this.identityService.getUserRoles(payload).pipe(\r\n pluck('items'),\r\n tap(selectedUserRoles =>\r\n patchState({\r\n selectedUserRoles,\r\n }),\r\n ),\r\n );\r\n }\r\n}\r\n","import { ABP } from '@abp/ng.core';\r\nimport { ConfirmationService, Toaster } from '@abp/ng.theme.shared';\r\nimport { Component, TemplateRef, ViewChild, OnInit, ContentChild, ElementRef } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { finalize, pluck } from 'rxjs/operators';\r\nimport {\r\n CreateRole,\r\n DeleteRole,\r\n GetRoleById,\r\n GetRoles,\r\n UpdateRole,\r\n} from '../../actions/identity.actions';\r\nimport { Identity } from '../../models/identity';\r\nimport { IdentityState } from '../../states/identity.state';\r\n\r\n@Component({\r\n selector: 'abp-roles',\r\n templateUrl: './roles.component.html',\r\n})\r\nexport class RolesComponent implements OnInit {\r\n @Select(IdentityState.getRoles)\r\n data$: Observable;\r\n\r\n @Select(IdentityState.getRolesTotalCount)\r\n totalCount$: Observable;\r\n\r\n form: FormGroup;\r\n\r\n selected: Identity.RoleItem;\r\n\r\n isModalVisible: boolean;\r\n\r\n visiblePermissions = false;\r\n\r\n providerKey: string;\r\n\r\n pageQuery: ABP.PageQueryParams = {};\r\n\r\n loading = false;\r\n\r\n modalBusy = false;\r\n\r\n sortOrder = '';\r\n\r\n sortKey = '';\r\n\r\n @ViewChild('formRef', { static: false, read: ElementRef })\r\n formRef: ElementRef;\r\n\r\n constructor(\r\n private confirmationService: ConfirmationService,\r\n private fb: FormBuilder,\r\n private store: Store,\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.get();\r\n }\r\n\r\n createForm() {\r\n this.form = this.fb.group({\r\n name: new FormControl({ value: this.selected.name || '', disabled: this.selected.isStatic }, [\r\n Validators.required,\r\n Validators.maxLength(256),\r\n ]),\r\n isDefault: [this.selected.isDefault || false],\r\n isPublic: [this.selected.isPublic || false],\r\n });\r\n }\r\n\r\n openModal() {\r\n this.createForm();\r\n this.isModalVisible = true;\r\n }\r\n\r\n add() {\r\n this.selected = {} as Identity.RoleItem;\r\n this.openModal();\r\n }\r\n\r\n edit(id: string) {\r\n this.store\r\n .dispatch(new GetRoleById(id))\r\n .pipe(pluck('IdentityState', 'selectedRole'))\r\n .subscribe(selectedRole => {\r\n this.selected = selectedRole;\r\n this.openModal();\r\n });\r\n }\r\n\r\n save() {\r\n if (!this.form.valid) return;\r\n this.modalBusy = true;\r\n\r\n this.store\r\n .dispatch(\r\n this.selected.id\r\n ? new UpdateRole({ ...this.selected, ...this.form.value, id: this.selected.id })\r\n : new CreateRole(this.form.value),\r\n )\r\n .pipe(finalize(() => (this.modalBusy = false)))\r\n .subscribe(() => {\r\n this.isModalVisible = false;\r\n this.get();\r\n });\r\n }\r\n\r\n delete(id: string, name: string) {\r\n this.confirmationService\r\n .warn('AbpIdentity::RoleDeletionConfirmationMessage', 'AbpIdentity::AreYouSure', {\r\n messageLocalizationParams: [name],\r\n })\r\n .subscribe((status: Toaster.Status) => {\r\n if (status === Toaster.Status.confirm) {\r\n this.store.dispatch(new DeleteRole(id)).subscribe(() => this.get());\r\n }\r\n });\r\n }\r\n\r\n onPageChange(data) {\r\n this.pageQuery.skipCount = data.first;\r\n this.pageQuery.maxResultCount = data.rows;\r\n\r\n this.get();\r\n }\r\n\r\n get() {\r\n this.loading = true;\r\n this.store\r\n .dispatch(new GetRoles(this.pageQuery))\r\n .pipe(finalize(() => (this.loading = false)))\r\n .subscribe();\r\n }\r\n\r\n onClickSaveButton() {\r\n this.formRef.nativeElement.dispatchEvent(\r\n new Event('submit', { bubbles: true, cancelable: true }),\r\n );\r\n }\r\n}\r\n","import { ABP, ConfigState } from '@abp/ng.core';\r\nimport { ConfirmationService, Toaster } from '@abp/ng.theme.shared';\r\nimport { Component, TemplateRef, TrackByFunction, ViewChild, OnInit } from '@angular/core';\r\nimport {\r\n AbstractControl,\r\n FormArray,\r\n FormBuilder,\r\n FormGroup,\r\n Validators,\r\n FormControl,\r\n} from '@angular/forms';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { finalize, pluck, switchMap, take } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport {\r\n CreateUser,\r\n DeleteUser,\r\n GetUserById,\r\n GetUserRoles,\r\n GetUsers,\r\n UpdateUser,\r\n GetRoles,\r\n} from '../../actions/identity.actions';\r\nimport { Identity } from '../../models/identity';\r\nimport { IdentityState } from '../../states/identity.state';\r\nimport { PasswordRules, validatePassword } from '@ngx-validate/core';\r\n@Component({\r\n selector: 'abp-users',\r\n templateUrl: './users.component.html',\r\n})\r\nexport class UsersComponent implements OnInit {\r\n @Select(IdentityState.getUsers)\r\n data$: Observable;\r\n\r\n @Select(IdentityState.getUsersTotalCount)\r\n totalCount$: Observable;\r\n\r\n @ViewChild('modalContent', { static: false })\r\n modalContent: TemplateRef;\r\n\r\n form: FormGroup;\r\n\r\n selected: Identity.UserItem;\r\n\r\n selectedUserRoles: Identity.RoleItem[];\r\n\r\n roles: Identity.RoleItem[];\r\n\r\n visiblePermissions = false;\r\n\r\n providerKey: string;\r\n\r\n pageQuery: ABP.PageQueryParams = {};\r\n\r\n isModalVisible: boolean;\r\n\r\n loading = false;\r\n\r\n modalBusy = false;\r\n\r\n sortOrder = '';\r\n\r\n sortKey = '';\r\n\r\n passwordRulesArr = [] as PasswordRules;\r\n\r\n requiredPasswordLength = 1;\r\n\r\n trackByFn: TrackByFunction = (index, item) => Object.keys(item)[0] || index;\r\n\r\n get roleGroups(): FormGroup[] {\r\n return snq(() => (this.form.get('roleNames') as FormArray).controls as FormGroup[], []);\r\n }\r\n\r\n constructor(\r\n private confirmationService: ConfirmationService,\r\n private fb: FormBuilder,\r\n private store: Store,\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.get();\r\n\r\n const passwordRules: ABP.Dictionary = this.store.selectSnapshot(\r\n ConfigState.getSettings('Identity.Password'),\r\n );\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') {\r\n this.passwordRulesArr.push('number');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') {\r\n this.passwordRulesArr.push('small');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') {\r\n this.passwordRulesArr.push('capital');\r\n }\r\n\r\n if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) {\r\n this.passwordRulesArr.push('special');\r\n }\r\n\r\n if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) {\r\n this.requiredPasswordLength = +passwordRules['Abp.Identity.Password.RequiredLength'];\r\n }\r\n }\r\n\r\n onSearch(value) {\r\n this.pageQuery.filter = value;\r\n this.get();\r\n }\r\n\r\n buildForm() {\r\n this.store.dispatch(new GetRoles()).subscribe(() => {\r\n this.roles = this.store.selectSnapshot(IdentityState.getRoles);\r\n this.form = this.fb.group({\r\n userName: [this.selected.userName || '', [Validators.required, Validators.maxLength(256)]],\r\n email: [\r\n this.selected.email || '',\r\n [Validators.required, Validators.email, Validators.maxLength(256)],\r\n ],\r\n name: [this.selected.name || '', [Validators.maxLength(64)]],\r\n surname: [this.selected.surname || '', [Validators.maxLength(64)]],\r\n phoneNumber: [this.selected.phoneNumber || '', [Validators.maxLength(16)]],\r\n lockoutEnabled: [this.selected.lockoutEnabled || (this.selected.id ? false : true)],\r\n twoFactorEnabled: [this.selected.twoFactorEnabled || (this.selected.id ? false : true)],\r\n roleNames: this.fb.array(\r\n this.roles.map(role =>\r\n this.fb.group({\r\n [role.name]: [\r\n !!snq(() => this.selectedUserRoles.find(userRole => userRole.id === role.id)),\r\n ],\r\n }),\r\n ),\r\n ),\r\n });\r\n\r\n const passwordValidators = [\r\n validatePassword(this.passwordRulesArr),\r\n Validators.minLength(this.requiredPasswordLength),\r\n Validators.maxLength(32),\r\n ];\r\n\r\n this.form.addControl('password', new FormControl('', [...passwordValidators]));\r\n\r\n if (!this.selected.userName) {\r\n this.form.get('password').setValidators([...passwordValidators, Validators.required]);\r\n this.form.get('password').updateValueAndValidity();\r\n }\r\n });\r\n }\r\n\r\n openModal() {\r\n this.buildForm();\r\n this.isModalVisible = true;\r\n }\r\n\r\n add() {\r\n this.selected = {} as Identity.UserItem;\r\n this.selectedUserRoles = [] as Identity.RoleItem[];\r\n this.openModal();\r\n }\r\n\r\n edit(id: string) {\r\n this.store\r\n .dispatch(new GetUserById(id))\r\n .pipe(\r\n switchMap(() => this.store.dispatch(new GetUserRoles(id))),\r\n pluck('IdentityState'),\r\n take(1),\r\n )\r\n .subscribe((state: Identity.State) => {\r\n this.selected = state.selectedUser;\r\n this.selectedUserRoles = state.selectedUserRoles;\r\n this.openModal();\r\n });\r\n }\r\n\r\n save() {\r\n if (!this.form.valid || this.modalBusy) return;\r\n this.modalBusy = true;\r\n\r\n const { roleNames } = this.form.value;\r\n const mappedRoleNames = snq(\r\n () =>\r\n roleNames.filter(role => !!role[Object.keys(role)[0]]).map(role => Object.keys(role)[0]),\r\n [],\r\n );\r\n\r\n this.store\r\n .dispatch(\r\n this.selected.id\r\n ? new UpdateUser({\r\n ...this.selected,\r\n ...this.form.value,\r\n id: this.selected.id,\r\n roleNames: mappedRoleNames,\r\n })\r\n : new CreateUser({\r\n ...this.form.value,\r\n roleNames: mappedRoleNames,\r\n }),\r\n )\r\n .pipe(finalize(() => (this.modalBusy = false)))\r\n .subscribe(() => {\r\n this.isModalVisible = false;\r\n this.get();\r\n });\r\n }\r\n\r\n delete(id: string, userName: string) {\r\n this.confirmationService\r\n .warn('AbpIdentity::UserDeletionConfirmationMessage', 'AbpIdentity::AreYouSure', {\r\n messageLocalizationParams: [userName],\r\n })\r\n .subscribe((status: Toaster.Status) => {\r\n if (status === Toaster.Status.confirm) {\r\n this.store.dispatch(new DeleteUser(id)).subscribe(() => this.get());\r\n }\r\n });\r\n }\r\n\r\n onPageChange(data) {\r\n this.pageQuery.skipCount = data.first;\r\n this.pageQuery.maxResultCount = data.rows;\r\n\r\n this.get();\r\n }\r\n\r\n get() {\r\n this.loading = true;\r\n this.store\r\n .dispatch(new GetUsers(this.pageQuery))\r\n .pipe(finalize(() => (this.loading = false)))\r\n .subscribe();\r\n }\r\n}\r\n","import { AuthGuard, DynamicLayoutComponent, PermissionGuard } from '@abp/ng.core';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { RolesComponent } from './components/roles/roles.component';\r\nimport { UsersComponent } from './components/users/users.component';\r\n\r\nconst routes: Routes = [\r\n { path: '', redirectTo: 'roles', pathMatch: 'full' },\r\n {\r\n path: '',\r\n component: DynamicLayoutComponent,\r\n canActivate: [AuthGuard, PermissionGuard],\r\n children: [\r\n {\r\n path: 'roles',\r\n component: RolesComponent,\r\n data: { requiredPolicy: 'AbpIdentity.Roles' },\r\n },\r\n {\r\n path: 'users',\r\n component: UsersComponent,\r\n data: { requiredPolicy: 'AbpIdentity.Users' },\r\n },\r\n ],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class IdentityRoutingModule {}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { NgModule, Provider } from '@angular/core';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { RolesComponent } from './components/roles/roles.component';\r\nimport { IdentityRoutingModule } from './identity-routing.module';\r\nimport { IdentityState } from './states/identity.state';\r\nimport { NgbTabsetModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { UsersComponent } from './components/users/users.component';\r\nimport { PermissionManagementModule } from '@abp/ng.permission-management';\r\nimport { TableModule } from 'primeng/table';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\n\r\n@NgModule({\r\n declarations: [RolesComponent, UsersComponent],\r\n imports: [\r\n NgxsModule.forFeature([IdentityState]),\r\n CoreModule,\r\n IdentityRoutingModule,\r\n NgbTabsetModule,\r\n ThemeSharedModule,\r\n TableModule,\r\n NgbDropdownModule,\r\n PermissionManagementModule,\r\n NgxValidateCoreModule,\r\n ],\r\n})\r\nexport class IdentityModule {}\r\n\r\n/**\r\n *\r\n * @deprecated\r\n */\r\nexport function IdentityProviders(): Provider[] {\r\n return [];\r\n}\r\n","import { eLayoutType, ABP } from '@abp/ng.core';\r\n\r\n/**\r\n *\r\n * @deprecated\r\n */\r\nexport const IDENTITY_ROUTES = {\r\n routes: [\r\n {\r\n name: 'AbpUiNavigation::Menu:Administration',\r\n path: '',\r\n order: 1,\r\n wrapper: true,\r\n },\r\n {\r\n name: 'AbpIdentity::Menu:IdentityManagement',\r\n path: 'identity',\r\n order: 1,\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-id-card-o',\r\n children: [\r\n { path: 'roles', name: 'AbpIdentity::Roles', order: 2, requiredPolicy: 'AbpIdentity.Roles' },\r\n { path: 'users', name: 'AbpIdentity::Users', order: 1, requiredPolicy: 'AbpIdentity.Users' },\r\n ],\r\n },\r\n ] as ABP.FullRoute[],\r\n};\r\n","import { ABP } from '@abp/ng.core';\r\n\r\nexport namespace Identity {\r\n export interface State {\r\n roles: RoleResponse;\r\n users: UserResponse;\r\n selectedRole: RoleItem;\r\n selectedUser: UserItem;\r\n selectedUserRoles: RoleItem[];\r\n }\r\n\r\n export type RoleResponse = ABP.PagedResponse;\r\n\r\n export interface RoleSaveRequest {\r\n name: string;\r\n isDefault: boolean;\r\n isPublic: boolean;\r\n }\r\n\r\n export interface RoleItem extends RoleSaveRequest {\r\n isStatic: boolean;\r\n concurrencyStamp: string;\r\n id: string;\r\n }\r\n\r\n export type UserResponse = ABP.PagedResponse;\r\n\r\n export interface UserItem extends User {\r\n tenantId: string;\r\n emailConfirmed: boolean;\r\n phoneNumberConfirmed: boolean;\r\n isLockedOut: boolean;\r\n concurrencyStamp: string;\r\n id: string;\r\n }\r\n\r\n export interface User {\r\n userName: string;\r\n name: string;\r\n surname: string;\r\n email: string;\r\n phoneNumber: string;\r\n twoFactorEnabled: true;\r\n lockoutEnabled: true;\r\n }\r\n\r\n export interface UserSaveRequest extends User {\r\n password: string;\r\n roleNames: string[];\r\n }\r\n}\r\n"],"names":["tslib_1.__decorate"],"mappings":";;;;;;;;;;;;;;;;;;;;AAGA,MAAa,QAAQ;;;;IAEnB,YAAmB,OAA6B;QAA7B,YAAO,GAAP,OAAO,CAAsB;KAAI;;AADpC,aAAI,GAAG,sBAAsB,CAAC;;;IAA9C,cAA8C;;IAClC,2BAAoC;;AAGlD,MAAa,WAAW;;;;IAEtB,YAAmB,OAAe;QAAf,YAAO,GAAP,OAAO,CAAQ;KAAI;;AADtB,gBAAI,GAAG,2BAA2B,CAAC;;;IAAnD,iBAAmD;;IACvC,8BAAsB;;AAGpC,MAAa,UAAU;;;;IAErB,YAAmB,OAAe;QAAf,YAAO,GAAP,OAAO,CAAQ;KAAI;;AADtB,eAAI,GAAG,wBAAwB,CAAC;;;IAAhD,gBAAgD;;IACpC,6BAAsB;;AAGpC,MAAa,UAAU;;;;IAErB,YAAmB,OAAiC;QAAjC,YAAO,GAAP,OAAO,CAA0B;KAAI;;AADxC,eAAI,GAAG,wBAAwB,CAAC;;;IAAhD,gBAAgD;;IACpC,6BAAwC;;AAGtD,MAAa,UAAU;;;;IAErB,YAAmB,OAA0B;QAA1B,YAAO,GAAP,OAAO,CAAmB;KAAI;;AADjC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SACF;KACF,EAAmB;CACrB;;;;;;;ACzBD,IAAiB,QAAQ,CAgDxB;AAhDD,WAAiB,QAAQ;;;;IACvB,oBAMC;;;;QALC,sBAAoB;;QACpB,sBAAoB;;QACpB,6BAAuB;;QACvB,6BAAuB;;QACvB,kCAA8B;;;;;IAKhC,8BAIC;;;;QAHC,+BAAa;;QACb,oCAAmB;;QACnB,mCAAkB;;;;;IAGpB,uBAIC;;;;QAHC,4BAAkB;;QAClB,oCAAyB;;QACzB,sBAAW;;;;;IAKb,uBAOC;;;;QANC,4BAAiB;;QACjB,kCAAwB;;QACxB,wCAA8B;;QAC9B,+BAAqB;;QACrB,oCAAyB;;QACzB,sBAAW;;;;;IAGb,mBAQC;;;;QAPC,wBAAiB;;QACjB,oBAAa;;QACb,uBAAgB;;QAChB,qBAAc;;QACd,2BAAoB;;QACpB,gCAAuB;;QACvB,8BAAqB;;;;;IAGvB,8BAGC;;;;QAFC,mCAAiB;;QACjB,oCAAoB;;CAEvB,EAhDgB,QAAQ,KAAR,QAAQ,QAgDxB;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/fesm5/abp-ng.identity.js b/npm/ng-packs/dist/identity/fesm5/abp-ng.identity.js deleted file mode 100644 index 55e4f0c294d..00000000000 --- a/npm/ng-packs/dist/identity/fesm5/abp-ng.identity.js +++ /dev/null @@ -1,1585 +0,0 @@ -import { RestService, ConfigState, DynamicLayoutComponent, AuthGuard, PermissionGuard, CoreModule } from '@abp/ng.core'; -import { Injectable, ɵɵdefineInjectable, ɵɵinject, Component, ViewChild, ElementRef, NgModule } from '@angular/core'; -import { Action, Selector, State, Store, Select, NgxsModule } from '@ngxs/store'; -import { __assign, __decorate, __metadata, __spread } from 'tslib'; -import { ConfirmationService, ThemeSharedModule } from '@abp/ng.theme.shared'; -import { FormControl, Validators, FormBuilder } from '@angular/forms'; -import { Observable } from 'rxjs'; -import { tap, pluck, finalize, switchMap, take } from 'rxjs/operators'; -import { RouterModule } from '@angular/router'; -import snq from 'snq'; -import { validatePassword, NgxValidateCoreModule } from '@ngx-validate/core'; -import { NgbTabsetModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; -import { PermissionManagementModule } from '@abp/ng.permission-management'; -import { TableModule } from 'primeng/table'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/identity.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var GetRoles = /** @class */ (function () { - function GetRoles(payload) { - this.payload = payload; - } - GetRoles.type = '[Identity] Get Roles'; - return GetRoles; -}()); -if (false) { - /** @type {?} */ - GetRoles.type; - /** @type {?} */ - GetRoles.prototype.payload; -} -var GetRoleById = /** @class */ (function () { - function GetRoleById(payload) { - this.payload = payload; - } - GetRoleById.type = '[Identity] Get Role By Id'; - return GetRoleById; -}()); -if (false) { - /** @type {?} */ - GetRoleById.type; - /** @type {?} */ - GetRoleById.prototype.payload; -} -var DeleteRole = /** @class */ (function () { - function DeleteRole(payload) { - this.payload = payload; - } - DeleteRole.type = '[Identity] Delete Role'; - return DeleteRole; -}()); -if (false) { - /** @type {?} */ - DeleteRole.type; - /** @type {?} */ - DeleteRole.prototype.payload; -} -var CreateRole = /** @class */ (function () { - function CreateRole(payload) { - this.payload = payload; - } - CreateRole.type = '[Identity] Create Role'; - return CreateRole; -}()); -if (false) { - /** @type {?} */ - CreateRole.type; - /** @type {?} */ - CreateRole.prototype.payload; -} -var UpdateRole = /** @class */ (function () { - function UpdateRole(payload) { - this.payload = payload; - } - UpdateRole.type = '[Identity] Update Role'; - return UpdateRole; -}()); -if (false) { - /** @type {?} */ - UpdateRole.type; - /** @type {?} */ - UpdateRole.prototype.payload; -} -var GetUsers = /** @class */ (function () { - function GetUsers(payload) { - this.payload = payload; - } - GetUsers.type = '[Identity] Get Users'; - return GetUsers; -}()); -if (false) { - /** @type {?} */ - GetUsers.type; - /** @type {?} */ - GetUsers.prototype.payload; -} -var GetUserById = /** @class */ (function () { - function GetUserById(payload) { - this.payload = payload; - } - GetUserById.type = '[Identity] Get User By Id'; - return GetUserById; -}()); -if (false) { - /** @type {?} */ - GetUserById.type; - /** @type {?} */ - GetUserById.prototype.payload; -} -var DeleteUser = /** @class */ (function () { - function DeleteUser(payload) { - this.payload = payload; - } - DeleteUser.type = '[Identity] Delete User'; - return DeleteUser; -}()); -if (false) { - /** @type {?} */ - DeleteUser.type; - /** @type {?} */ - DeleteUser.prototype.payload; -} -var CreateUser = /** @class */ (function () { - function CreateUser(payload) { - this.payload = payload; - } - CreateUser.type = '[Identity] Create User'; - return CreateUser; -}()); -if (false) { - /** @type {?} */ - CreateUser.type; - /** @type {?} */ - CreateUser.prototype.payload; -} -var UpdateUser = /** @class */ (function () { - function UpdateUser(payload) { - this.payload = payload; - } - UpdateUser.type = '[Identity] Update User'; - return UpdateUser; -}()); -if (false) { - /** @type {?} */ - UpdateUser.type; - /** @type {?} */ - UpdateUser.prototype.payload; -} -var GetUserRoles = /** @class */ (function () { - function GetUserRoles(payload) { - this.payload = payload; - } - GetUserRoles.type = '[Identity] Get User Roles'; - return GetUserRoles; -}()); -if (false) { - /** @type {?} */ - GetUserRoles.type; - /** @type {?} */ - GetUserRoles.prototype.payload; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/identity.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var IdentityService = /** @class */ (function () { - function IdentityService(rest) { - this.rest = rest; - } - /** - * @param {?=} params - * @return {?} - */ - IdentityService.prototype.getRoles = /** - * @param {?=} params - * @return {?} - */ - function (params) { - if (params === void 0) { params = (/** @type {?} */ ({})); } - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/identity/roles', - params: params, - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - IdentityService.prototype.getRoleById = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'GET', - url: "/api/identity/roles/" + id, - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - IdentityService.prototype.deleteRole = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'DELETE', - url: "/api/identity/roles/" + id, - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - IdentityService.prototype.createRole = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var request = { - method: 'POST', - url: '/api/identity/roles', - body: body, - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - IdentityService.prototype.updateRole = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var url = "/api/identity/roles/" + body.id; - delete body.id; - /** @type {?} */ - var request = { - method: 'PUT', - url: url, - body: body, - }; - return this.rest.request(request); - }; - /** - * @param {?=} params - * @return {?} - */ - IdentityService.prototype.getUsers = /** - * @param {?=} params - * @return {?} - */ - function (params) { - if (params === void 0) { params = (/** @type {?} */ ({})); } - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/identity/users', - params: params, - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - IdentityService.prototype.getUserById = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'GET', - url: "/api/identity/users/" + id, - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - IdentityService.prototype.getUserRoles = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'GET', - url: "/api/identity/users/" + id + "/roles", - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - IdentityService.prototype.deleteUser = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'DELETE', - url: "/api/identity/users/" + id, - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - IdentityService.prototype.createUser = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var request = { - method: 'POST', - url: '/api/identity/users', - body: body, - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - IdentityService.prototype.updateUser = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var url = "/api/identity/users/" + body.id; - delete body.id; - /** @type {?} */ - var request = { - method: 'PUT', - url: url, - body: body, - }; - return this.rest.request(request); - }; - IdentityService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - IdentityService.ctorParameters = function () { return [ - { type: RestService } - ]; }; - /** @nocollapse */ IdentityService.ngInjectableDef = ɵɵdefineInjectable({ factory: function IdentityService_Factory() { return new IdentityService(ɵɵinject(RestService)); }, token: IdentityService, providedIn: "root" }); - return IdentityService; -}()); -if (false) { - /** - * @type {?} - * @private - */ - IdentityService.prototype.rest; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/identity.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var IdentityState = /** @class */ (function () { - function IdentityState(identityService) { - this.identityService = identityService; - } - /** - * @param {?} __0 - * @return {?} - */ - IdentityState.getRoles = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var roles = _a.roles; - return roles.items || []; - }; - /** - * @param {?} __0 - * @return {?} - */ - IdentityState.getRolesTotalCount = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var roles = _a.roles; - return roles.totalCount || 0; - }; - /** - * @param {?} __0 - * @return {?} - */ - IdentityState.getUsers = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var users = _a.users; - return users.items || []; - }; - /** - * @param {?} __0 - * @return {?} - */ - IdentityState.getUsersTotalCount = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var users = _a.users; - return users.totalCount || 0; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.getRoles = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.identityService.getRoles(payload).pipe(tap((/** - * @param {?} roles - * @return {?} - */ - function (roles) { - return patchState({ - roles: roles, - }); - }))); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.getRole = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.identityService.getRoleById(payload).pipe(tap((/** - * @param {?} selectedRole - * @return {?} - */ - function (selectedRole) { - return patchState({ - selectedRole: selectedRole, - }); - }))); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.deleteRole = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.identityService.deleteRole(payload); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.addRole = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.identityService.createRole(payload); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.updateRole = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var getState = _a.getState; - var payload = _b.payload; - return this.identityService.updateRole(__assign({}, getState().selectedRole, payload)); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.getUsers = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.identityService.getUsers(payload).pipe(tap((/** - * @param {?} users - * @return {?} - */ - function (users) { - return patchState({ - users: users, - }); - }))); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.getUser = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.identityService.getUserById(payload).pipe(tap((/** - * @param {?} selectedUser - * @return {?} - */ - function (selectedUser) { - return patchState({ - selectedUser: selectedUser, - }); - }))); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.deleteUser = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.identityService.deleteUser(payload); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.addUser = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.identityService.createUser(payload); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.updateUser = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var getState = _a.getState; - var payload = _b.payload; - return this.identityService.updateUser(__assign({}, getState().selectedUser, payload)); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - IdentityState.prototype.getUserRoles = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.identityService.getUserRoles(payload).pipe(pluck('items'), tap((/** - * @param {?} selectedUserRoles - * @return {?} - */ - function (selectedUserRoles) { - return patchState({ - selectedUserRoles: selectedUserRoles, - }); - }))); - }; - IdentityState.ctorParameters = function () { return [ - { type: IdentityService } - ]; }; - __decorate([ - Action(GetRoles), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetRoles]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "getRoles", null); - __decorate([ - Action(GetRoleById), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetRoleById]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "getRole", null); - __decorate([ - Action(DeleteRole), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetRoleById]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "deleteRole", null); - __decorate([ - Action(CreateRole), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, CreateRole]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "addRole", null); - __decorate([ - Action(UpdateRole), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, UpdateRole]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "updateRole", null); - __decorate([ - Action(GetUsers), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetUsers]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "getUsers", null); - __decorate([ - Action(GetUserById), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetUserById]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "getUser", null); - __decorate([ - Action(DeleteUser), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetUserById]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "deleteUser", null); - __decorate([ - Action(CreateUser), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, CreateUser]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "addUser", null); - __decorate([ - Action(UpdateUser), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, UpdateUser]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "updateUser", null); - __decorate([ - Action(GetUserRoles), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetUserRoles]), - __metadata("design:returntype", void 0) - ], IdentityState.prototype, "getUserRoles", null); - __decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Array) - ], IdentityState, "getRoles", null); - __decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Number) - ], IdentityState, "getRolesTotalCount", null); - __decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Array) - ], IdentityState, "getUsers", null); - __decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Number) - ], IdentityState, "getUsersTotalCount", null); - IdentityState = __decorate([ - State({ - name: 'IdentityState', - defaults: (/** @type {?} */ ({ roles: {}, selectedRole: {}, users: {}, selectedUser: {} })), - }), - __metadata("design:paramtypes", [IdentityService]) - ], IdentityState); - return IdentityState; -}()); -if (false) { - /** - * @type {?} - * @private - */ - IdentityState.prototype.identityService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/roles/roles.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var RolesComponent = /** @class */ (function () { - function RolesComponent(confirmationService, fb, store) { - this.confirmationService = confirmationService; - this.fb = fb; - this.store = store; - this.visiblePermissions = false; - this.pageQuery = {}; - this.loading = false; - this.modalBusy = false; - this.sortOrder = ''; - this.sortKey = ''; - } - /** - * @return {?} - */ - RolesComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.get(); - }; - /** - * @return {?} - */ - RolesComponent.prototype.createForm = /** - * @return {?} - */ - function () { - this.form = this.fb.group({ - name: new FormControl({ value: this.selected.name || '', disabled: this.selected.isStatic }, [ - Validators.required, - Validators.maxLength(256), - ]), - isDefault: [this.selected.isDefault || false], - isPublic: [this.selected.isPublic || false], - }); - }; - /** - * @return {?} - */ - RolesComponent.prototype.openModal = /** - * @return {?} - */ - function () { - this.createForm(); - this.isModalVisible = true; - }; - /** - * @return {?} - */ - RolesComponent.prototype.add = /** - * @return {?} - */ - function () { - this.selected = (/** @type {?} */ ({})); - this.openModal(); - }; - /** - * @param {?} id - * @return {?} - */ - RolesComponent.prototype.edit = /** - * @param {?} id - * @return {?} - */ - function (id) { - var _this = this; - this.store - .dispatch(new GetRoleById(id)) - .pipe(pluck('IdentityState', 'selectedRole')) - .subscribe((/** - * @param {?} selectedRole - * @return {?} - */ - function (selectedRole) { - _this.selected = selectedRole; - _this.openModal(); - })); - }; - /** - * @return {?} - */ - RolesComponent.prototype.save = /** - * @return {?} - */ - function () { - var _this = this; - if (!this.form.valid) - return; - this.modalBusy = true; - this.store - .dispatch(this.selected.id - ? new UpdateRole(__assign({}, this.selected, this.form.value, { id: this.selected.id })) - : new CreateRole(this.form.value)) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.isModalVisible = false; - _this.get(); - })); - }; - /** - * @param {?} id - * @param {?} name - * @return {?} - */ - RolesComponent.prototype.delete = /** - * @param {?} id - * @param {?} name - * @return {?} - */ - function (id, name) { - var _this = this; - this.confirmationService - .warn('AbpIdentity::RoleDeletionConfirmationMessage', 'AbpIdentity::AreYouSure', { - messageLocalizationParams: [name], - }) - .subscribe((/** - * @param {?} status - * @return {?} - */ - function (status) { - if (status === "confirm" /* confirm */) { - _this.store.dispatch(new DeleteRole(id)).subscribe((/** - * @return {?} - */ - function () { return _this.get(); })); - } - })); - }; - /** - * @param {?} data - * @return {?} - */ - RolesComponent.prototype.onPageChange = /** - * @param {?} data - * @return {?} - */ - function (data) { - this.pageQuery.skipCount = data.first; - this.pageQuery.maxResultCount = data.rows; - this.get(); - }; - /** - * @return {?} - */ - RolesComponent.prototype.get = /** - * @return {?} - */ - function () { - var _this = this; - this.loading = true; - this.store - .dispatch(new GetRoles(this.pageQuery)) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.loading = false); }))) - .subscribe(); - }; - /** - * @return {?} - */ - RolesComponent.prototype.onClickSaveButton = /** - * @return {?} - */ - function () { - this.formRef.nativeElement.dispatchEvent(new Event('submit', { bubbles: true, cancelable: true })); - }; - RolesComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-roles', - template: "
\r\n
\r\n
\r\n
\r\n
{{ 'AbpIdentity::Roles' | abpLocalization }}
\r\n
\r\n
\r\n \r\n \r\n {{ 'AbpIdentity::NewRole' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n {{ 'AbpIdentity::RoleName' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n
\r\n \r\n {{ 'AbpIdentity::Edit' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpIdentity::Permissions' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpIdentity::Delete' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n \r\n {{ data.name\r\n }}{{\r\n 'AbpIdentity::DisplayName:IsDefault' | abpLocalization\r\n }}\r\n {{\r\n 'AbpIdentity::DisplayName:IsPublic' | abpLocalization\r\n }}\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n

{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewRole') | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n\r\n" - }] } - ]; - /** @nocollapse */ - RolesComponent.ctorParameters = function () { return [ - { type: ConfirmationService }, - { type: FormBuilder }, - { type: Store } - ]; }; - RolesComponent.propDecorators = { - formRef: [{ type: ViewChild, args: ['formRef', { static: false, read: ElementRef },] }] - }; - __decorate([ - Select(IdentityState.getRoles), - __metadata("design:type", Observable) - ], RolesComponent.prototype, "data$", void 0); - __decorate([ - Select(IdentityState.getRolesTotalCount), - __metadata("design:type", Observable) - ], RolesComponent.prototype, "totalCount$", void 0); - return RolesComponent; -}()); -if (false) { - /** @type {?} */ - RolesComponent.prototype.data$; - /** @type {?} */ - RolesComponent.prototype.totalCount$; - /** @type {?} */ - RolesComponent.prototype.form; - /** @type {?} */ - RolesComponent.prototype.selected; - /** @type {?} */ - RolesComponent.prototype.isModalVisible; - /** @type {?} */ - RolesComponent.prototype.visiblePermissions; - /** @type {?} */ - RolesComponent.prototype.providerKey; - /** @type {?} */ - RolesComponent.prototype.pageQuery; - /** @type {?} */ - RolesComponent.prototype.loading; - /** @type {?} */ - RolesComponent.prototype.modalBusy; - /** @type {?} */ - RolesComponent.prototype.sortOrder; - /** @type {?} */ - RolesComponent.prototype.sortKey; - /** @type {?} */ - RolesComponent.prototype.formRef; - /** - * @type {?} - * @private - */ - RolesComponent.prototype.confirmationService; - /** - * @type {?} - * @private - */ - RolesComponent.prototype.fb; - /** - * @type {?} - * @private - */ - RolesComponent.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/users/users.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var UsersComponent = /** @class */ (function () { - function UsersComponent(confirmationService, fb, store) { - this.confirmationService = confirmationService; - this.fb = fb; - this.store = store; - this.visiblePermissions = false; - this.pageQuery = {}; - this.loading = false; - this.modalBusy = false; - this.sortOrder = ''; - this.sortKey = ''; - this.passwordRulesArr = (/** @type {?} */ ([])); - this.requiredPasswordLength = 1; - this.trackByFn = (/** - * @param {?} index - * @param {?} item - * @return {?} - */ - function (index, item) { return Object.keys(item)[0] || index; }); - } - Object.defineProperty(UsersComponent.prototype, "roleGroups", { - get: /** - * @return {?} - */ - function () { - var _this = this; - return snq((/** - * @return {?} - */ - function () { return (/** @type {?} */ (((/** @type {?} */ (_this.form.get('roleNames')))).controls)); }), []); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - UsersComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.get(); - /** @type {?} */ - var passwordRules = this.store.selectSnapshot(ConfigState.getSettings('Identity.Password')); - if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') { - this.passwordRulesArr.push('number'); - } - if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') { - this.passwordRulesArr.push('small'); - } - if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') { - this.passwordRulesArr.push('capital'); - } - if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) { - this.passwordRulesArr.push('special'); - } - if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) { - this.requiredPasswordLength = +passwordRules['Abp.Identity.Password.RequiredLength']; - } - }; - /** - * @param {?} value - * @return {?} - */ - UsersComponent.prototype.onSearch = /** - * @param {?} value - * @return {?} - */ - function (value) { - this.pageQuery.filter = value; - this.get(); - }; - /** - * @return {?} - */ - UsersComponent.prototype.buildForm = /** - * @return {?} - */ - function () { - var _this = this; - this.store.dispatch(new GetRoles()).subscribe((/** - * @return {?} - */ - function () { - _this.roles = _this.store.selectSnapshot(IdentityState.getRoles); - _this.form = _this.fb.group({ - userName: [_this.selected.userName || '', [Validators.required, Validators.maxLength(256)]], - email: [ - _this.selected.email || '', - [Validators.required, Validators.email, Validators.maxLength(256)], - ], - name: [_this.selected.name || '', [Validators.maxLength(64)]], - surname: [_this.selected.surname || '', [Validators.maxLength(64)]], - phoneNumber: [_this.selected.phoneNumber || '', [Validators.maxLength(16)]], - lockoutEnabled: [_this.selected.lockoutEnabled || (_this.selected.id ? false : true)], - twoFactorEnabled: [_this.selected.twoFactorEnabled || (_this.selected.id ? false : true)], - roleNames: _this.fb.array(_this.roles.map((/** - * @param {?} role - * @return {?} - */ - function (role) { - var _a; - return _this.fb.group((_a = {}, - _a[role.name] = [ - !!snq((/** - * @return {?} - */ - function () { return _this.selectedUserRoles.find((/** - * @param {?} userRole - * @return {?} - */ - function (userRole) { return userRole.id === role.id; })); })), - ], - _a)); - }))), - }); - /** @type {?} */ - var passwordValidators = [ - validatePassword(_this.passwordRulesArr), - Validators.minLength(_this.requiredPasswordLength), - Validators.maxLength(32), - ]; - _this.form.addControl('password', new FormControl('', __spread(passwordValidators))); - if (!_this.selected.userName) { - _this.form.get('password').setValidators(__spread(passwordValidators, [Validators.required])); - _this.form.get('password').updateValueAndValidity(); - } - })); - }; - /** - * @return {?} - */ - UsersComponent.prototype.openModal = /** - * @return {?} - */ - function () { - this.buildForm(); - this.isModalVisible = true; - }; - /** - * @return {?} - */ - UsersComponent.prototype.add = /** - * @return {?} - */ - function () { - this.selected = (/** @type {?} */ ({})); - this.selectedUserRoles = (/** @type {?} */ ([])); - this.openModal(); - }; - /** - * @param {?} id - * @return {?} - */ - UsersComponent.prototype.edit = /** - * @param {?} id - * @return {?} - */ - function (id) { - var _this = this; - this.store - .dispatch(new GetUserById(id)) - .pipe(switchMap((/** - * @return {?} - */ - function () { return _this.store.dispatch(new GetUserRoles(id)); })), pluck('IdentityState'), take(1)) - .subscribe((/** - * @param {?} state - * @return {?} - */ - function (state) { - _this.selected = state.selectedUser; - _this.selectedUserRoles = state.selectedUserRoles; - _this.openModal(); - })); - }; - /** - * @return {?} - */ - UsersComponent.prototype.save = /** - * @return {?} - */ - function () { - var _this = this; - if (!this.form.valid || this.modalBusy) - return; - this.modalBusy = true; - var roleNames = this.form.value.roleNames; - /** @type {?} */ - var mappedRoleNames = snq((/** - * @return {?} - */ - function () { - return roleNames.filter((/** - * @param {?} role - * @return {?} - */ - function (role) { return !!role[Object.keys(role)[0]]; })).map((/** - * @param {?} role - * @return {?} - */ - function (role) { return Object.keys(role)[0]; })); - }), []); - this.store - .dispatch(this.selected.id - ? new UpdateUser(__assign({}, this.selected, this.form.value, { id: this.selected.id, roleNames: mappedRoleNames })) - : new CreateUser(__assign({}, this.form.value, { roleNames: mappedRoleNames }))) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.isModalVisible = false; - _this.get(); - })); - }; - /** - * @param {?} id - * @param {?} userName - * @return {?} - */ - UsersComponent.prototype.delete = /** - * @param {?} id - * @param {?} userName - * @return {?} - */ - function (id, userName) { - var _this = this; - this.confirmationService - .warn('AbpIdentity::UserDeletionConfirmationMessage', 'AbpIdentity::AreYouSure', { - messageLocalizationParams: [userName], - }) - .subscribe((/** - * @param {?} status - * @return {?} - */ - function (status) { - if (status === "confirm" /* confirm */) { - _this.store.dispatch(new DeleteUser(id)).subscribe((/** - * @return {?} - */ - function () { return _this.get(); })); - } - })); - }; - /** - * @param {?} data - * @return {?} - */ - UsersComponent.prototype.onPageChange = /** - * @param {?} data - * @return {?} - */ - function (data) { - this.pageQuery.skipCount = data.first; - this.pageQuery.maxResultCount = data.rows; - this.get(); - }; - /** - * @return {?} - */ - UsersComponent.prototype.get = /** - * @return {?} - */ - function () { - var _this = this; - this.loading = true; - this.store - .dispatch(new GetUsers(this.pageQuery)) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.loading = false); }))) - .subscribe(); - }; - UsersComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-users', - template: "
\r\n
\r\n
\r\n
\r\n
{{ 'AbpIdentity::Users' | abpLocalization }}
\r\n
\r\n
\r\n \r\n {{ 'AbpIdentity::NewUser' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n {{ 'AbpIdentity::UserName' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n {{ 'AbpIdentity::EmailAddress' | abpLocalization }}\r\n \r\n \r\n \r\n {{ 'AbpIdentity::PhoneNumber' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ 'AbpIdentity::Actions' | abpLocalization }}\r\n \r\n
\r\n \r\n \r\n {{ 'AbpIdentity::Permissions' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpIdentity::Delete' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n {{ data.userName }}\r\n {{ data.email }}\r\n {{ data.phoneNumber }}\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n

{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewUser') | abpLocalization }}

\r\n
\r\n\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n\r\n" - }] } - ]; - /** @nocollapse */ - UsersComponent.ctorParameters = function () { return [ - { type: ConfirmationService }, - { type: FormBuilder }, - { type: Store } - ]; }; - UsersComponent.propDecorators = { - modalContent: [{ type: ViewChild, args: ['modalContent', { static: false },] }] - }; - __decorate([ - Select(IdentityState.getUsers), - __metadata("design:type", Observable) - ], UsersComponent.prototype, "data$", void 0); - __decorate([ - Select(IdentityState.getUsersTotalCount), - __metadata("design:type", Observable) - ], UsersComponent.prototype, "totalCount$", void 0); - return UsersComponent; -}()); -if (false) { - /** @type {?} */ - UsersComponent.prototype.data$; - /** @type {?} */ - UsersComponent.prototype.totalCount$; - /** @type {?} */ - UsersComponent.prototype.modalContent; - /** @type {?} */ - UsersComponent.prototype.form; - /** @type {?} */ - UsersComponent.prototype.selected; - /** @type {?} */ - UsersComponent.prototype.selectedUserRoles; - /** @type {?} */ - UsersComponent.prototype.roles; - /** @type {?} */ - UsersComponent.prototype.visiblePermissions; - /** @type {?} */ - UsersComponent.prototype.providerKey; - /** @type {?} */ - UsersComponent.prototype.pageQuery; - /** @type {?} */ - UsersComponent.prototype.isModalVisible; - /** @type {?} */ - UsersComponent.prototype.loading; - /** @type {?} */ - UsersComponent.prototype.modalBusy; - /** @type {?} */ - UsersComponent.prototype.sortOrder; - /** @type {?} */ - UsersComponent.prototype.sortKey; - /** @type {?} */ - UsersComponent.prototype.passwordRulesArr; - /** @type {?} */ - UsersComponent.prototype.requiredPasswordLength; - /** @type {?} */ - UsersComponent.prototype.trackByFn; - /** - * @type {?} - * @private - */ - UsersComponent.prototype.confirmationService; - /** - * @type {?} - * @private - */ - UsersComponent.prototype.fb; - /** - * @type {?} - * @private - */ - UsersComponent.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/identity-routing.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ɵ0 = { requiredPolicy: 'AbpIdentity.Roles' }, ɵ1 = { requiredPolicy: 'AbpIdentity.Users' }; -/** @type {?} */ -var routes = [ - { path: '', redirectTo: 'roles', pathMatch: 'full' }, - { - path: '', - component: DynamicLayoutComponent, - canActivate: [AuthGuard, PermissionGuard], - children: [ - { - path: 'roles', - component: RolesComponent, - data: ɵ0, - }, - { - path: 'users', - component: UsersComponent, - data: ɵ1, - }, - ], - }, -]; -var IdentityRoutingModule = /** @class */ (function () { - function IdentityRoutingModule() { - } - IdentityRoutingModule.decorators = [ - { type: NgModule, args: [{ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule], - },] } - ]; - return IdentityRoutingModule; -}()); - -/** - * @fileoverview added by tsickle - * Generated from: lib/identity.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var IdentityModule = /** @class */ (function () { - function IdentityModule() { - } - IdentityModule.decorators = [ - { type: NgModule, args: [{ - declarations: [RolesComponent, UsersComponent], - imports: [ - NgxsModule.forFeature([IdentityState]), - CoreModule, - IdentityRoutingModule, - NgbTabsetModule, - ThemeSharedModule, - TableModule, - NgbDropdownModule, - PermissionManagementModule, - NgxValidateCoreModule, - ], - },] } - ]; - return IdentityModule; -}()); -/** - * - * @deprecated - * @return {?} - */ -function IdentityProviders() { - return []; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/routes.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * - * @deprecated - * @type {?} - */ -var IDENTITY_ROUTES = { - routes: (/** @type {?} */ ([ - { - name: 'AbpUiNavigation::Menu:Administration', - path: '', - order: 1, - wrapper: true, - }, - { - name: 'AbpIdentity::Menu:IdentityManagement', - path: 'identity', - order: 1, - parentName: 'AbpUiNavigation::Menu:Administration', - layout: "application" /* application */, - iconClass: 'fa fa-id-card-o', - children: [ - { path: 'roles', name: 'AbpIdentity::Roles', order: 2, requiredPolicy: 'AbpIdentity.Roles' }, - { path: 'users', name: 'AbpIdentity::Users', order: 1, requiredPolicy: 'AbpIdentity.Users' }, - ], - }, - ])), -}; - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/identity.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var Identity; -(function (Identity) { - /** - * @record - */ - function State() { } - Identity.State = State; - if (false) { - /** @type {?} */ - State.prototype.roles; - /** @type {?} */ - State.prototype.users; - /** @type {?} */ - State.prototype.selectedRole; - /** @type {?} */ - State.prototype.selectedUser; - /** @type {?} */ - State.prototype.selectedUserRoles; - } - /** - * @record - */ - function RoleSaveRequest() { } - Identity.RoleSaveRequest = RoleSaveRequest; - if (false) { - /** @type {?} */ - RoleSaveRequest.prototype.name; - /** @type {?} */ - RoleSaveRequest.prototype.isDefault; - /** @type {?} */ - RoleSaveRequest.prototype.isPublic; - } - /** - * @record - */ - function RoleItem() { } - Identity.RoleItem = RoleItem; - if (false) { - /** @type {?} */ - RoleItem.prototype.isStatic; - /** @type {?} */ - RoleItem.prototype.concurrencyStamp; - /** @type {?} */ - RoleItem.prototype.id; - } - /** - * @record - */ - function UserItem() { } - Identity.UserItem = UserItem; - if (false) { - /** @type {?} */ - UserItem.prototype.tenantId; - /** @type {?} */ - UserItem.prototype.emailConfirmed; - /** @type {?} */ - UserItem.prototype.phoneNumberConfirmed; - /** @type {?} */ - UserItem.prototype.isLockedOut; - /** @type {?} */ - UserItem.prototype.concurrencyStamp; - /** @type {?} */ - UserItem.prototype.id; - } - /** - * @record - */ - function User() { } - Identity.User = User; - if (false) { - /** @type {?} */ - User.prototype.userName; - /** @type {?} */ - User.prototype.name; - /** @type {?} */ - User.prototype.surname; - /** @type {?} */ - User.prototype.email; - /** @type {?} */ - User.prototype.phoneNumber; - /** @type {?} */ - User.prototype.twoFactorEnabled; - /** @type {?} */ - User.prototype.lockoutEnabled; - } - /** - * @record - */ - function UserSaveRequest() { } - Identity.UserSaveRequest = UserSaveRequest; - if (false) { - /** @type {?} */ - UserSaveRequest.prototype.password; - /** @type {?} */ - UserSaveRequest.prototype.roleNames; - } -})(Identity || (Identity = {})); - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.identity.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { CreateRole, CreateUser, DeleteRole, DeleteUser, GetRoleById, GetRoles, GetUserById, GetUserRoles, GetUsers, IDENTITY_ROUTES, IdentityModule, IdentityProviders, IdentityService, IdentityState, RolesComponent, UpdateRole, UpdateUser, UsersComponent as ɵb, IdentityRoutingModule as ɵc }; -//# sourceMappingURL=abp-ng.identity.js.map diff --git a/npm/ng-packs/dist/identity/fesm5/abp-ng.identity.js.map b/npm/ng-packs/dist/identity/fesm5/abp-ng.identity.js.map deleted file mode 100644 index 9f088b3aeb3..00000000000 --- a/npm/ng-packs/dist/identity/fesm5/abp-ng.identity.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.identity.js","sources":["ng://@abp/ng.identity/lib/actions/identity.actions.ts","ng://@abp/ng.identity/lib/services/identity.service.ts","ng://@abp/ng.identity/lib/states/identity.state.ts","ng://@abp/ng.identity/lib/components/roles/roles.component.ts","ng://@abp/ng.identity/lib/components/users/users.component.ts","ng://@abp/ng.identity/lib/identity-routing.module.ts","ng://@abp/ng.identity/lib/identity.module.ts","ng://@abp/ng.identity/lib/constants/routes.ts","ng://@abp/ng.identity/lib/models/identity.ts"],"sourcesContent":["import { Identity } from '../models/identity';\r\nimport { ABP } from '@abp/ng.core';\r\n\r\nexport class GetRoles {\r\n static readonly type = '[Identity] Get Roles';\r\n constructor(public payload?: ABP.PageQueryParams) {}\r\n}\r\n\r\nexport class GetRoleById {\r\n static readonly type = '[Identity] Get Role By Id';\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class DeleteRole {\r\n static readonly type = '[Identity] Delete Role';\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class CreateRole {\r\n static readonly type = '[Identity] Create Role';\r\n constructor(public payload: Identity.RoleSaveRequest) {}\r\n}\r\n\r\nexport class UpdateRole {\r\n static readonly type = '[Identity] Update Role';\r\n constructor(public payload: Identity.RoleItem) {}\r\n}\r\n\r\nexport class GetUsers {\r\n static readonly type = '[Identity] Get Users';\r\n constructor(public payload?: ABP.PageQueryParams) {}\r\n}\r\n\r\nexport class GetUserById {\r\n static readonly type = '[Identity] Get User By Id';\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class DeleteUser {\r\n static readonly type = '[Identity] Delete User';\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class CreateUser {\r\n static readonly type = '[Identity] Create User';\r\n constructor(public payload: Identity.UserSaveRequest) {}\r\n}\r\n\r\nexport class UpdateUser {\r\n static readonly type = '[Identity] Update User';\r\n constructor(public payload: Identity.UserSaveRequest & { id: string }) {}\r\n}\r\n\r\nexport class GetUserRoles {\r\n static readonly type = '[Identity] Get User Roles';\r\n constructor(public payload: string) {}\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RestService, Rest, ABP } from '@abp/ng.core';\r\nimport { Identity } from '../models/identity';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentityService {\r\n constructor(private rest: RestService) {}\r\n\r\n getRoles(params = {} as ABP.PageQueryParams): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/identity/roles',\r\n params,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getRoleById(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: `/api/identity/roles/${id}`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n deleteRole(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'DELETE',\r\n url: `/api/identity/roles/${id}`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n createRole(body: Identity.RoleSaveRequest): Observable {\r\n const request: Rest.Request = {\r\n method: 'POST',\r\n url: '/api/identity/roles',\r\n body,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n updateRole(body: Identity.RoleItem): Observable {\r\n const url = `/api/identity/roles/${body.id}`;\r\n delete body.id;\r\n\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url,\r\n body,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getUsers(params = {} as ABP.PageQueryParams): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/identity/users',\r\n params,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getUserById(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: `/api/identity/users/${id}`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getUserRoles(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: `/api/identity/users/${id}/roles`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n deleteUser(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'DELETE',\r\n url: `/api/identity/users/${id}`,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n createUser(body: Identity.UserSaveRequest): Observable {\r\n const request: Rest.Request = {\r\n method: 'POST',\r\n url: '/api/identity/users',\r\n body,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n updateUser(body: Identity.UserItem): Observable {\r\n const url = `/api/identity/users/${body.id}`;\r\n delete body.id;\r\n\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url,\r\n body,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { switchMap, tap, pluck } from 'rxjs/operators';\r\nimport {\r\n CreateRole,\r\n CreateUser,\r\n DeleteRole,\r\n DeleteUser,\r\n GetRoleById,\r\n GetRoles,\r\n GetUserById,\r\n GetUsers,\r\n UpdateRole,\r\n UpdateUser,\r\n GetUserRoles,\r\n} from '../actions/identity.actions';\r\nimport { Identity } from '../models/identity';\r\nimport { IdentityService } from '../services/identity.service';\r\n\r\n@State({\r\n name: 'IdentityState',\r\n defaults: { roles: {}, selectedRole: {}, users: {}, selectedUser: {} } as Identity.State,\r\n})\r\nexport class IdentityState {\r\n @Selector()\r\n static getRoles({ roles }: Identity.State): Identity.RoleItem[] {\r\n return roles.items || [];\r\n }\r\n\r\n @Selector()\r\n static getRolesTotalCount({ roles }: Identity.State): number {\r\n return roles.totalCount || 0;\r\n }\r\n\r\n @Selector()\r\n static getUsers({ users }: Identity.State): Identity.UserItem[] {\r\n return users.items || [];\r\n }\r\n\r\n @Selector()\r\n static getUsersTotalCount({ users }: Identity.State): number {\r\n return users.totalCount || 0;\r\n }\r\n\r\n constructor(private identityService: IdentityService) {}\r\n\r\n @Action(GetRoles)\r\n getRoles({ patchState }: StateContext, { payload }: GetRoles) {\r\n return this.identityService.getRoles(payload).pipe(\r\n tap(roles =>\r\n patchState({\r\n roles,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(GetRoleById)\r\n getRole({ patchState }: StateContext, { payload }: GetRoleById) {\r\n return this.identityService.getRoleById(payload).pipe(\r\n tap(selectedRole =>\r\n patchState({\r\n selectedRole,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(DeleteRole)\r\n deleteRole(_, { payload }: GetRoleById) {\r\n return this.identityService.deleteRole(payload);\r\n }\r\n\r\n @Action(CreateRole)\r\n addRole(_, { payload }: CreateRole) {\r\n return this.identityService.createRole(payload);\r\n }\r\n\r\n @Action(UpdateRole)\r\n updateRole({ getState }: StateContext, { payload }: UpdateRole) {\r\n return this.identityService.updateRole({ ...getState().selectedRole, ...payload });\r\n }\r\n\r\n @Action(GetUsers)\r\n getUsers({ patchState }: StateContext, { payload }: GetUsers) {\r\n return this.identityService.getUsers(payload).pipe(\r\n tap(users =>\r\n patchState({\r\n users,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(GetUserById)\r\n getUser({ patchState }: StateContext, { payload }: GetUserById) {\r\n return this.identityService.getUserById(payload).pipe(\r\n tap(selectedUser =>\r\n patchState({\r\n selectedUser,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(DeleteUser)\r\n deleteUser(_, { payload }: GetUserById) {\r\n return this.identityService.deleteUser(payload);\r\n }\r\n\r\n @Action(CreateUser)\r\n addUser(_, { payload }: CreateUser) {\r\n return this.identityService.createUser(payload);\r\n }\r\n\r\n @Action(UpdateUser)\r\n updateUser({ getState }: StateContext, { payload }: UpdateUser) {\r\n return this.identityService.updateUser({ ...getState().selectedUser, ...payload });\r\n }\r\n\r\n @Action(GetUserRoles)\r\n getUserRoles({ patchState }: StateContext, { payload }: GetUserRoles) {\r\n return this.identityService.getUserRoles(payload).pipe(\r\n pluck('items'),\r\n tap(selectedUserRoles =>\r\n patchState({\r\n selectedUserRoles,\r\n }),\r\n ),\r\n );\r\n }\r\n}\r\n","import { ABP } from '@abp/ng.core';\r\nimport { ConfirmationService, Toaster } from '@abp/ng.theme.shared';\r\nimport { Component, TemplateRef, ViewChild, OnInit, ContentChild, ElementRef } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { finalize, pluck } from 'rxjs/operators';\r\nimport {\r\n CreateRole,\r\n DeleteRole,\r\n GetRoleById,\r\n GetRoles,\r\n UpdateRole,\r\n} from '../../actions/identity.actions';\r\nimport { Identity } from '../../models/identity';\r\nimport { IdentityState } from '../../states/identity.state';\r\n\r\n@Component({\r\n selector: 'abp-roles',\r\n templateUrl: './roles.component.html',\r\n})\r\nexport class RolesComponent implements OnInit {\r\n @Select(IdentityState.getRoles)\r\n data$: Observable;\r\n\r\n @Select(IdentityState.getRolesTotalCount)\r\n totalCount$: Observable;\r\n\r\n form: FormGroup;\r\n\r\n selected: Identity.RoleItem;\r\n\r\n isModalVisible: boolean;\r\n\r\n visiblePermissions = false;\r\n\r\n providerKey: string;\r\n\r\n pageQuery: ABP.PageQueryParams = {};\r\n\r\n loading = false;\r\n\r\n modalBusy = false;\r\n\r\n sortOrder = '';\r\n\r\n sortKey = '';\r\n\r\n @ViewChild('formRef', { static: false, read: ElementRef })\r\n formRef: ElementRef;\r\n\r\n constructor(\r\n private confirmationService: ConfirmationService,\r\n private fb: FormBuilder,\r\n private store: Store,\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.get();\r\n }\r\n\r\n createForm() {\r\n this.form = this.fb.group({\r\n name: new FormControl({ value: this.selected.name || '', disabled: this.selected.isStatic }, [\r\n Validators.required,\r\n Validators.maxLength(256),\r\n ]),\r\n isDefault: [this.selected.isDefault || false],\r\n isPublic: [this.selected.isPublic || false],\r\n });\r\n }\r\n\r\n openModal() {\r\n this.createForm();\r\n this.isModalVisible = true;\r\n }\r\n\r\n add() {\r\n this.selected = {} as Identity.RoleItem;\r\n this.openModal();\r\n }\r\n\r\n edit(id: string) {\r\n this.store\r\n .dispatch(new GetRoleById(id))\r\n .pipe(pluck('IdentityState', 'selectedRole'))\r\n .subscribe(selectedRole => {\r\n this.selected = selectedRole;\r\n this.openModal();\r\n });\r\n }\r\n\r\n save() {\r\n if (!this.form.valid) return;\r\n this.modalBusy = true;\r\n\r\n this.store\r\n .dispatch(\r\n this.selected.id\r\n ? new UpdateRole({ ...this.selected, ...this.form.value, id: this.selected.id })\r\n : new CreateRole(this.form.value),\r\n )\r\n .pipe(finalize(() => (this.modalBusy = false)))\r\n .subscribe(() => {\r\n this.isModalVisible = false;\r\n this.get();\r\n });\r\n }\r\n\r\n delete(id: string, name: string) {\r\n this.confirmationService\r\n .warn('AbpIdentity::RoleDeletionConfirmationMessage', 'AbpIdentity::AreYouSure', {\r\n messageLocalizationParams: [name],\r\n })\r\n .subscribe((status: Toaster.Status) => {\r\n if (status === Toaster.Status.confirm) {\r\n this.store.dispatch(new DeleteRole(id)).subscribe(() => this.get());\r\n }\r\n });\r\n }\r\n\r\n onPageChange(data) {\r\n this.pageQuery.skipCount = data.first;\r\n this.pageQuery.maxResultCount = data.rows;\r\n\r\n this.get();\r\n }\r\n\r\n get() {\r\n this.loading = true;\r\n this.store\r\n .dispatch(new GetRoles(this.pageQuery))\r\n .pipe(finalize(() => (this.loading = false)))\r\n .subscribe();\r\n }\r\n\r\n onClickSaveButton() {\r\n this.formRef.nativeElement.dispatchEvent(\r\n new Event('submit', { bubbles: true, cancelable: true }),\r\n );\r\n }\r\n}\r\n","import { ABP, ConfigState } from '@abp/ng.core';\r\nimport { ConfirmationService, Toaster } from '@abp/ng.theme.shared';\r\nimport { Component, TemplateRef, TrackByFunction, ViewChild, OnInit } from '@angular/core';\r\nimport {\r\n AbstractControl,\r\n FormArray,\r\n FormBuilder,\r\n FormGroup,\r\n Validators,\r\n FormControl,\r\n} from '@angular/forms';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { finalize, pluck, switchMap, take } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport {\r\n CreateUser,\r\n DeleteUser,\r\n GetUserById,\r\n GetUserRoles,\r\n GetUsers,\r\n UpdateUser,\r\n GetRoles,\r\n} from '../../actions/identity.actions';\r\nimport { Identity } from '../../models/identity';\r\nimport { IdentityState } from '../../states/identity.state';\r\nimport { PasswordRules, validatePassword } from '@ngx-validate/core';\r\n@Component({\r\n selector: 'abp-users',\r\n templateUrl: './users.component.html',\r\n})\r\nexport class UsersComponent implements OnInit {\r\n @Select(IdentityState.getUsers)\r\n data$: Observable;\r\n\r\n @Select(IdentityState.getUsersTotalCount)\r\n totalCount$: Observable;\r\n\r\n @ViewChild('modalContent', { static: false })\r\n modalContent: TemplateRef;\r\n\r\n form: FormGroup;\r\n\r\n selected: Identity.UserItem;\r\n\r\n selectedUserRoles: Identity.RoleItem[];\r\n\r\n roles: Identity.RoleItem[];\r\n\r\n visiblePermissions = false;\r\n\r\n providerKey: string;\r\n\r\n pageQuery: ABP.PageQueryParams = {};\r\n\r\n isModalVisible: boolean;\r\n\r\n loading = false;\r\n\r\n modalBusy = false;\r\n\r\n sortOrder = '';\r\n\r\n sortKey = '';\r\n\r\n passwordRulesArr = [] as PasswordRules;\r\n\r\n requiredPasswordLength = 1;\r\n\r\n trackByFn: TrackByFunction = (index, item) => Object.keys(item)[0] || index;\r\n\r\n get roleGroups(): FormGroup[] {\r\n return snq(() => (this.form.get('roleNames') as FormArray).controls as FormGroup[], []);\r\n }\r\n\r\n constructor(\r\n private confirmationService: ConfirmationService,\r\n private fb: FormBuilder,\r\n private store: Store,\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.get();\r\n\r\n const passwordRules: ABP.Dictionary = this.store.selectSnapshot(\r\n ConfigState.getSettings('Identity.Password'),\r\n );\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireDigit'] || '').toLowerCase() === 'true') {\r\n this.passwordRulesArr.push('number');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireLowercase'] || '').toLowerCase() === 'true') {\r\n this.passwordRulesArr.push('small');\r\n }\r\n\r\n if ((passwordRules['Abp.Identity.Password.RequireUppercase'] || '').toLowerCase() === 'true') {\r\n this.passwordRulesArr.push('capital');\r\n }\r\n\r\n if (+(passwordRules['Abp.Identity.Password.RequiredUniqueChars'] || 0) > 0) {\r\n this.passwordRulesArr.push('special');\r\n }\r\n\r\n if (Number.isInteger(+passwordRules['Abp.Identity.Password.RequiredLength'])) {\r\n this.requiredPasswordLength = +passwordRules['Abp.Identity.Password.RequiredLength'];\r\n }\r\n }\r\n\r\n onSearch(value) {\r\n this.pageQuery.filter = value;\r\n this.get();\r\n }\r\n\r\n buildForm() {\r\n this.store.dispatch(new GetRoles()).subscribe(() => {\r\n this.roles = this.store.selectSnapshot(IdentityState.getRoles);\r\n this.form = this.fb.group({\r\n userName: [this.selected.userName || '', [Validators.required, Validators.maxLength(256)]],\r\n email: [\r\n this.selected.email || '',\r\n [Validators.required, Validators.email, Validators.maxLength(256)],\r\n ],\r\n name: [this.selected.name || '', [Validators.maxLength(64)]],\r\n surname: [this.selected.surname || '', [Validators.maxLength(64)]],\r\n phoneNumber: [this.selected.phoneNumber || '', [Validators.maxLength(16)]],\r\n lockoutEnabled: [this.selected.lockoutEnabled || (this.selected.id ? false : true)],\r\n twoFactorEnabled: [this.selected.twoFactorEnabled || (this.selected.id ? false : true)],\r\n roleNames: this.fb.array(\r\n this.roles.map(role =>\r\n this.fb.group({\r\n [role.name]: [\r\n !!snq(() => this.selectedUserRoles.find(userRole => userRole.id === role.id)),\r\n ],\r\n }),\r\n ),\r\n ),\r\n });\r\n\r\n const passwordValidators = [\r\n validatePassword(this.passwordRulesArr),\r\n Validators.minLength(this.requiredPasswordLength),\r\n Validators.maxLength(32),\r\n ];\r\n\r\n this.form.addControl('password', new FormControl('', [...passwordValidators]));\r\n\r\n if (!this.selected.userName) {\r\n this.form.get('password').setValidators([...passwordValidators, Validators.required]);\r\n this.form.get('password').updateValueAndValidity();\r\n }\r\n });\r\n }\r\n\r\n openModal() {\r\n this.buildForm();\r\n this.isModalVisible = true;\r\n }\r\n\r\n add() {\r\n this.selected = {} as Identity.UserItem;\r\n this.selectedUserRoles = [] as Identity.RoleItem[];\r\n this.openModal();\r\n }\r\n\r\n edit(id: string) {\r\n this.store\r\n .dispatch(new GetUserById(id))\r\n .pipe(\r\n switchMap(() => this.store.dispatch(new GetUserRoles(id))),\r\n pluck('IdentityState'),\r\n take(1),\r\n )\r\n .subscribe((state: Identity.State) => {\r\n this.selected = state.selectedUser;\r\n this.selectedUserRoles = state.selectedUserRoles;\r\n this.openModal();\r\n });\r\n }\r\n\r\n save() {\r\n if (!this.form.valid || this.modalBusy) return;\r\n this.modalBusy = true;\r\n\r\n const { roleNames } = this.form.value;\r\n const mappedRoleNames = snq(\r\n () =>\r\n roleNames.filter(role => !!role[Object.keys(role)[0]]).map(role => Object.keys(role)[0]),\r\n [],\r\n );\r\n\r\n this.store\r\n .dispatch(\r\n this.selected.id\r\n ? new UpdateUser({\r\n ...this.selected,\r\n ...this.form.value,\r\n id: this.selected.id,\r\n roleNames: mappedRoleNames,\r\n })\r\n : new CreateUser({\r\n ...this.form.value,\r\n roleNames: mappedRoleNames,\r\n }),\r\n )\r\n .pipe(finalize(() => (this.modalBusy = false)))\r\n .subscribe(() => {\r\n this.isModalVisible = false;\r\n this.get();\r\n });\r\n }\r\n\r\n delete(id: string, userName: string) {\r\n this.confirmationService\r\n .warn('AbpIdentity::UserDeletionConfirmationMessage', 'AbpIdentity::AreYouSure', {\r\n messageLocalizationParams: [userName],\r\n })\r\n .subscribe((status: Toaster.Status) => {\r\n if (status === Toaster.Status.confirm) {\r\n this.store.dispatch(new DeleteUser(id)).subscribe(() => this.get());\r\n }\r\n });\r\n }\r\n\r\n onPageChange(data) {\r\n this.pageQuery.skipCount = data.first;\r\n this.pageQuery.maxResultCount = data.rows;\r\n\r\n this.get();\r\n }\r\n\r\n get() {\r\n this.loading = true;\r\n this.store\r\n .dispatch(new GetUsers(this.pageQuery))\r\n .pipe(finalize(() => (this.loading = false)))\r\n .subscribe();\r\n }\r\n}\r\n","import { AuthGuard, DynamicLayoutComponent, PermissionGuard } from '@abp/ng.core';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { RolesComponent } from './components/roles/roles.component';\r\nimport { UsersComponent } from './components/users/users.component';\r\n\r\nconst routes: Routes = [\r\n { path: '', redirectTo: 'roles', pathMatch: 'full' },\r\n {\r\n path: '',\r\n component: DynamicLayoutComponent,\r\n canActivate: [AuthGuard, PermissionGuard],\r\n children: [\r\n {\r\n path: 'roles',\r\n component: RolesComponent,\r\n data: { requiredPolicy: 'AbpIdentity.Roles' },\r\n },\r\n {\r\n path: 'users',\r\n component: UsersComponent,\r\n data: { requiredPolicy: 'AbpIdentity.Users' },\r\n },\r\n ],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class IdentityRoutingModule {}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { NgModule, Provider } from '@angular/core';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { RolesComponent } from './components/roles/roles.component';\r\nimport { IdentityRoutingModule } from './identity-routing.module';\r\nimport { IdentityState } from './states/identity.state';\r\nimport { NgbTabsetModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { UsersComponent } from './components/users/users.component';\r\nimport { PermissionManagementModule } from '@abp/ng.permission-management';\r\nimport { TableModule } from 'primeng/table';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\n\r\n@NgModule({\r\n declarations: [RolesComponent, UsersComponent],\r\n imports: [\r\n NgxsModule.forFeature([IdentityState]),\r\n CoreModule,\r\n IdentityRoutingModule,\r\n NgbTabsetModule,\r\n ThemeSharedModule,\r\n TableModule,\r\n NgbDropdownModule,\r\n PermissionManagementModule,\r\n NgxValidateCoreModule,\r\n ],\r\n})\r\nexport class IdentityModule {}\r\n\r\n/**\r\n *\r\n * @deprecated\r\n */\r\nexport function IdentityProviders(): Provider[] {\r\n return [];\r\n}\r\n","import { eLayoutType, ABP } from '@abp/ng.core';\r\n\r\n/**\r\n *\r\n * @deprecated\r\n */\r\nexport const IDENTITY_ROUTES = {\r\n routes: [\r\n {\r\n name: 'AbpUiNavigation::Menu:Administration',\r\n path: '',\r\n order: 1,\r\n wrapper: true,\r\n },\r\n {\r\n name: 'AbpIdentity::Menu:IdentityManagement',\r\n path: 'identity',\r\n order: 1,\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-id-card-o',\r\n children: [\r\n { path: 'roles', name: 'AbpIdentity::Roles', order: 2, requiredPolicy: 'AbpIdentity.Roles' },\r\n { path: 'users', name: 'AbpIdentity::Users', order: 1, requiredPolicy: 'AbpIdentity.Users' },\r\n ],\r\n },\r\n ] as ABP.FullRoute[],\r\n};\r\n","import { ABP } from '@abp/ng.core';\r\n\r\nexport namespace Identity {\r\n export interface State {\r\n roles: RoleResponse;\r\n users: UserResponse;\r\n selectedRole: RoleItem;\r\n selectedUser: UserItem;\r\n selectedUserRoles: RoleItem[];\r\n }\r\n\r\n export type RoleResponse = ABP.PagedResponse;\r\n\r\n export interface RoleSaveRequest {\r\n name: string;\r\n isDefault: boolean;\r\n isPublic: boolean;\r\n }\r\n\r\n export interface RoleItem extends RoleSaveRequest {\r\n isStatic: boolean;\r\n concurrencyStamp: string;\r\n id: string;\r\n }\r\n\r\n export type UserResponse = ABP.PagedResponse;\r\n\r\n export interface UserItem extends User {\r\n tenantId: string;\r\n emailConfirmed: boolean;\r\n phoneNumberConfirmed: boolean;\r\n isLockedOut: boolean;\r\n concurrencyStamp: string;\r\n id: string;\r\n }\r\n\r\n export interface User {\r\n userName: string;\r\n name: string;\r\n surname: string;\r\n email: string;\r\n phoneNumber: string;\r\n twoFactorEnabled: true;\r\n lockoutEnabled: true;\r\n }\r\n\r\n export interface UserSaveRequest extends User {\r\n password: string;\r\n roleNames: string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;;;QAFC,mCAAiB;;QACjB,oCAAoB;;CAEvB,EAhDgB,QAAQ,KAAR,QAAQ,QAgDxB;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/identity/lib/actions/identity.actions.d.ts b/npm/ng-packs/dist/identity/lib/actions/identity.actions.d.ts deleted file mode 100644 index 3836c1359b2..00000000000 --- a/npm/ng-packs/dist/identity/lib/actions/identity.actions.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { Identity } from '../models/identity'; -import { ABP } from '@abp/ng.core'; -export declare class GetRoles { - payload?: ABP.PageQueryParams; - static readonly type = "[Identity] Get Roles"; - constructor(payload?: ABP.PageQueryParams); -} -export declare class GetRoleById { - payload: string; - static readonly type = "[Identity] Get Role By Id"; - constructor(payload: string); -} -export declare class DeleteRole { - payload: string; - static readonly type = "[Identity] Delete Role"; - constructor(payload: string); -} -export declare class CreateRole { - payload: Identity.RoleSaveRequest; - static readonly type = "[Identity] Create Role"; - constructor(payload: Identity.RoleSaveRequest); -} -export declare class UpdateRole { - payload: Identity.RoleItem; - static readonly type = "[Identity] Update Role"; - constructor(payload: Identity.RoleItem); -} -export declare class GetUsers { - payload?: ABP.PageQueryParams; - static readonly type = "[Identity] Get Users"; - constructor(payload?: ABP.PageQueryParams); -} -export declare class GetUserById { - payload: string; - static readonly type = "[Identity] Get User By Id"; - constructor(payload: string); -} -export declare class DeleteUser { - payload: string; - static readonly type = "[Identity] Delete User"; - constructor(payload: string); -} -export declare class CreateUser { - payload: Identity.UserSaveRequest; - static readonly type = "[Identity] Create User"; - constructor(payload: Identity.UserSaveRequest); -} -export declare class UpdateUser { - payload: Identity.UserSaveRequest & { - id: string; - }; - static readonly type = "[Identity] Update User"; - constructor(payload: Identity.UserSaveRequest & { - id: string; - }); -} -export declare class GetUserRoles { - payload: string; - static readonly type = "[Identity] Get User Roles"; - constructor(payload: string); -} diff --git a/npm/ng-packs/dist/identity/lib/components/roles/roles.component.d.ts b/npm/ng-packs/dist/identity/lib/components/roles/roles.component.d.ts deleted file mode 100644 index d68803f44bc..00000000000 --- a/npm/ng-packs/dist/identity/lib/components/roles/roles.component.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { ABP } from '@abp/ng.core'; -import { ConfirmationService } from '@abp/ng.theme.shared'; -import { OnInit, ElementRef } from '@angular/core'; -import { FormBuilder, FormGroup } from '@angular/forms'; -import { Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { Identity } from '../../models/identity'; -export declare class RolesComponent implements OnInit { - private confirmationService; - private fb; - private store; - data$: Observable; - totalCount$: Observable; - form: FormGroup; - selected: Identity.RoleItem; - isModalVisible: boolean; - visiblePermissions: boolean; - providerKey: string; - pageQuery: ABP.PageQueryParams; - loading: boolean; - modalBusy: boolean; - sortOrder: string; - sortKey: string; - formRef: ElementRef; - constructor(confirmationService: ConfirmationService, fb: FormBuilder, store: Store); - ngOnInit(): void; - createForm(): void; - openModal(): void; - add(): void; - edit(id: string): void; - save(): void; - delete(id: string, name: string): void; - onPageChange(data: any): void; - get(): void; - onClickSaveButton(): void; -} diff --git a/npm/ng-packs/dist/identity/lib/components/users/users.component.d.ts b/npm/ng-packs/dist/identity/lib/components/users/users.component.d.ts deleted file mode 100644 index 2f23f2276f8..00000000000 --- a/npm/ng-packs/dist/identity/lib/components/users/users.component.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { ABP } from '@abp/ng.core'; -import { ConfirmationService } from '@abp/ng.theme.shared'; -import { TemplateRef, TrackByFunction, OnInit } from '@angular/core'; -import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms'; -import { Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { Identity } from '../../models/identity'; -export declare class UsersComponent implements OnInit { - private confirmationService; - private fb; - private store; - data$: Observable; - totalCount$: Observable; - modalContent: TemplateRef; - form: FormGroup; - selected: Identity.UserItem; - selectedUserRoles: Identity.RoleItem[]; - roles: Identity.RoleItem[]; - visiblePermissions: boolean; - providerKey: string; - pageQuery: ABP.PageQueryParams; - isModalVisible: boolean; - loading: boolean; - modalBusy: boolean; - sortOrder: string; - sortKey: string; - passwordRulesArr: ("number" | "small" | "capital" | "special")[]; - requiredPasswordLength: number; - trackByFn: TrackByFunction; - readonly roleGroups: FormGroup[]; - constructor(confirmationService: ConfirmationService, fb: FormBuilder, store: Store); - ngOnInit(): void; - onSearch(value: any): void; - buildForm(): void; - openModal(): void; - add(): void; - edit(id: string): void; - save(): void; - delete(id: string, userName: string): void; - onPageChange(data: any): void; - get(): void; -} diff --git a/npm/ng-packs/dist/identity/lib/constants/routes.d.ts b/npm/ng-packs/dist/identity/lib/constants/routes.d.ts deleted file mode 100644 index 2e8137a3817..00000000000 --- a/npm/ng-packs/dist/identity/lib/constants/routes.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { ABP } from '@abp/ng.core'; -/** - * - * @deprecated - */ -export declare const IDENTITY_ROUTES: { - routes: ABP.FullRoute[]; -}; diff --git a/npm/ng-packs/dist/identity/lib/identity-routing.module.d.ts b/npm/ng-packs/dist/identity/lib/identity-routing.module.d.ts deleted file mode 100644 index 583fb5a5e7a..00000000000 --- a/npm/ng-packs/dist/identity/lib/identity-routing.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class IdentityRoutingModule { -} diff --git a/npm/ng-packs/dist/identity/lib/identity.module.d.ts b/npm/ng-packs/dist/identity/lib/identity.module.d.ts deleted file mode 100644 index 88bfa9e51dc..00000000000 --- a/npm/ng-packs/dist/identity/lib/identity.module.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Provider } from '@angular/core'; -export declare class IdentityModule { -} -/** - * - * @deprecated - */ -export declare function IdentityProviders(): Provider[]; diff --git a/npm/ng-packs/dist/identity/lib/models/identity.d.ts b/npm/ng-packs/dist/identity/lib/models/identity.d.ts deleted file mode 100644 index d7ce3f7698c..00000000000 --- a/npm/ng-packs/dist/identity/lib/models/identity.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { ABP } from '@abp/ng.core'; -export declare namespace Identity { - interface State { - roles: RoleResponse; - users: UserResponse; - selectedRole: RoleItem; - selectedUser: UserItem; - selectedUserRoles: RoleItem[]; - } - type RoleResponse = ABP.PagedResponse; - interface RoleSaveRequest { - name: string; - isDefault: boolean; - isPublic: boolean; - } - interface RoleItem extends RoleSaveRequest { - isStatic: boolean; - concurrencyStamp: string; - id: string; - } - type UserResponse = ABP.PagedResponse; - interface UserItem extends User { - tenantId: string; - emailConfirmed: boolean; - phoneNumberConfirmed: boolean; - isLockedOut: boolean; - concurrencyStamp: string; - id: string; - } - interface User { - userName: string; - name: string; - surname: string; - email: string; - phoneNumber: string; - twoFactorEnabled: true; - lockoutEnabled: true; - } - interface UserSaveRequest extends User { - password: string; - roleNames: string[]; - } -} diff --git a/npm/ng-packs/dist/identity/lib/services/identity.service.d.ts b/npm/ng-packs/dist/identity/lib/services/identity.service.d.ts deleted file mode 100644 index aede6cda739..00000000000 --- a/npm/ng-packs/dist/identity/lib/services/identity.service.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Observable } from 'rxjs'; -import { RestService, ABP } from '@abp/ng.core'; -import { Identity } from '../models/identity'; -export declare class IdentityService { - private rest; - constructor(rest: RestService); - getRoles(params?: ABP.PageQueryParams): Observable; - getRoleById(id: string): Observable; - deleteRole(id: string): Observable; - createRole(body: Identity.RoleSaveRequest): Observable; - updateRole(body: Identity.RoleItem): Observable; - getUsers(params?: ABP.PageQueryParams): Observable; - getUserById(id: string): Observable; - getUserRoles(id: string): Observable; - deleteUser(id: string): Observable; - createUser(body: Identity.UserSaveRequest): Observable; - updateUser(body: Identity.UserItem): Observable; -} diff --git a/npm/ng-packs/dist/identity/lib/states/identity.state.d.ts b/npm/ng-packs/dist/identity/lib/states/identity.state.d.ts deleted file mode 100644 index f85f77d4a2c..00000000000 --- a/npm/ng-packs/dist/identity/lib/states/identity.state.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { StateContext } from '@ngxs/store'; -import { CreateRole, CreateUser, GetRoleById, GetRoles, GetUserById, GetUsers, UpdateRole, UpdateUser, GetUserRoles } from '../actions/identity.actions'; -import { Identity } from '../models/identity'; -import { IdentityService } from '../services/identity.service'; -export declare class IdentityState { - private identityService; - static getRoles({ roles }: Identity.State): Identity.RoleItem[]; - static getRolesTotalCount({ roles }: Identity.State): number; - static getUsers({ users }: Identity.State): Identity.UserItem[]; - static getUsersTotalCount({ users }: Identity.State): number; - constructor(identityService: IdentityService); - getRoles({ patchState }: StateContext, { payload }: GetRoles): import("rxjs").Observable>; - getRole({ patchState }: StateContext, { payload }: GetRoleById): import("rxjs").Observable; - deleteRole(_: any, { payload }: GetRoleById): import("rxjs").Observable; - addRole(_: any, { payload }: CreateRole): import("rxjs").Observable; - updateRole({ getState }: StateContext, { payload }: UpdateRole): import("rxjs").Observable; - getUsers({ patchState }: StateContext, { payload }: GetUsers): import("rxjs").Observable>; - getUser({ patchState }: StateContext, { payload }: GetUserById): import("rxjs").Observable; - deleteUser(_: any, { payload }: GetUserById): import("rxjs").Observable; - addUser(_: any, { payload }: CreateUser): import("rxjs").Observable; - updateUser({ getState }: StateContext, { payload }: UpdateUser): import("rxjs").Observable; - getUserRoles({ patchState }: StateContext, { payload }: GetUserRoles): import("rxjs").Observable; -} diff --git a/npm/ng-packs/dist/identity/package.json b/npm/ng-packs/dist/identity/package.json deleted file mode 100644 index f47b5b8fceb..00000000000 --- a/npm/ng-packs/dist/identity/package.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "@abp/ng.identity", - "version": "1.1.0", - "dependencies": { - "@abp/ng.identity.config": "^1.1.0", - "@abp/ng.permission-management": "^1.1.0", - "@abp/ng.theme.shared": "^1.1.0", - "tslib": "^1.9.0" - }, - "publishConfig": { - "access": "public" - }, - "main": "bundles/abp-ng.identity.umd.js", - "module": "fesm5/abp-ng.identity.js", - "es2015": "fesm2015/abp-ng.identity.js", - "esm5": "esm5/abp-ng.identity.js", - "esm2015": "esm2015/abp-ng.identity.js", - "fesm5": "fesm5/abp-ng.identity.js", - "fesm2015": "fesm2015/abp-ng.identity.js", - "typings": "abp-ng.identity.d.ts", - "metadata": "abp-ng.identity.metadata.json", - "sideEffects": false, - "gitHead": "42d9eb857fca97c046ebac4286b6831c8b8c1887" -} diff --git a/npm/ng-packs/dist/identity/public-api.d.ts b/npm/ng-packs/dist/identity/public-api.d.ts deleted file mode 100644 index 86a8ec61dcb..00000000000 --- a/npm/ng-packs/dist/identity/public-api.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export * from './lib/identity.module'; -export * from './lib/actions/identity.actions'; -export * from './lib/components/roles/roles.component'; -export * from './lib/constants/routes'; -export * from './lib/models/identity'; -export * from './lib/services/identity.service'; -export * from './lib/states/identity.state'; diff --git a/npm/ng-packs/dist/permission-management/README.md b/npm/ng-packs/dist/permission-management/README.md deleted file mode 100644 index db523171a39..00000000000 --- a/npm/ng-packs/dist/permission-management/README.md +++ /dev/null @@ -1,3 +0,0 @@ -

@abp/ng.permission-management

- -[docs.abp.io](https://docs.abp.io) diff --git a/npm/ng-packs/dist/permission-management/abp-ng.permission-management.d.ts b/npm/ng-packs/dist/permission-management/abp-ng.permission-management.d.ts deleted file mode 100644 index dcffdd9db34..00000000000 --- a/npm/ng-packs/dist/permission-management/abp-ng.permission-management.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Generated bundle index. Do not edit. - */ -export * from './public-api'; -export { GetPermissions as ɵd, UpdatePermissions as ɵe } from './lib/actions/permission-management.actions'; -export { PermissionManagementComponent as ɵa } from './lib/components/permission-management.component'; -export { PermissionManagement as ɵf } from './lib/models/permission-management'; -export { PermissionManagementService as ɵc } from './lib/services/permission-management.service'; -export { PermissionManagementState as ɵb } from './lib/states/permission-management.state'; diff --git a/npm/ng-packs/dist/permission-management/abp-ng.permission-management.metadata.json b/npm/ng-packs/dist/permission-management/abp-ng.permission-management.metadata.json deleted file mode 100644 index fcbdba710f5..00000000000 --- a/npm/ng-packs/dist/permission-management/abp-ng.permission-management.metadata.json +++ /dev/null @@ -1 +0,0 @@ -{"__symbolic":"module","version":4,"exports":[{"from":"./lib/permission-management.state"},{"from":"./lib/permission-management-state.service"}],"metadata":{"PermissionManagementModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":7,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"}],"imports":[{"__symbolic":"reference","module":"@abp/ng.core","name":"CoreModule","line":9,"character":12},{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ThemeSharedModule","line":9,"character":24},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"NgxsModule","line":9,"character":43},"member":"forFeature"},"arguments":[[{"__symbolic":"reference","name":"ɵb"}]]}],"exports":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":22,"character":1},"arguments":[{"selector":"abp-permission-management","template":"\r\n \r\n \r\n

\r\n {{ 'AbpPermissionManagement::Permissions' | abpLocalization }} - {{ data.entityName }}\r\n

\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n {{ group?.displayName }}\r\n
  • \r\n
\r\n
\r\n
\r\n

{{ selectedGroup?.displayName }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n {{ permission.displayName }}\r\n \r\n {{ provider.providerName }}: {{ provider.providerKey }}\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n
\r\n"}]}],"members":{"providerName":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"providerKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3}}]}],"hideBadges":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"visible":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":3}}]}],"visibleChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":54,"character":3}}]}],"groups$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Select","line":56,"character":3},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵb"},"member":"getPermissionGroups"}]}]}],"entityName$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Select","line":59,"character":3},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵb"},"member":"getEntityDisplayName"}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":94,"character":29},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":94,"character":54}]}],"ngOnInit":[{"__symbolic":"method"}],"getChecked":[{"__symbolic":"method"}],"isGrantedByOtherProviderName":[{"__symbolic":"method"}],"onClickCheckbox":[{"__symbolic":"method"}],"setTabCheckboxState":[{"__symbolic":"method"}],"setGrantCheckboxState":[{"__symbolic":"method"}],"onClickSelectThisTab":[{"__symbolic":"method"}],"onClickSelectAll":[{"__symbolic":"method"}],"onChangeGroup":[{"__symbolic":"method"}],"submit":[{"__symbolic":"method"}],"openModal":[{"__symbolic":"method"}],"initModal":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"State","line":6,"character":1},"arguments":[{"name":"PermissionManagementState","defaults":{"permissionRes":{}}}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵc"}]}],"permissionManagementGet":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":23,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵd"}]}]}],"permissionManagementUpdate":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":34,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵe"}]}]}]},"statics":{"getPermissionGroups":{"__symbolic":"function","parameters":["permissionRes"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"permissionRes"},"member":"groups"},"right":[]}},"getEntityDisplayName":{"__symbolic":"function","parameters":["permissionRes"],"value":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"permissionRes"},"member":"entityDisplayName"}}}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@abp/ng.core","name":"RestService","line":9,"character":28}]}],"getPermissions":[{"__symbolic":"method"}],"updatePermissions":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵd":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵf"},"member":"GrantedProvider"}]}]},"statics":{"type":"[PermissionManagement] Get Permissions"}},"ɵe":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":9,"character":30,"module":"./lib/actions/permission-management.actions"}]}]},"statics":{"type":"[PermissionManagement] Update Permissions"}}},"origins":{"PermissionManagementModule":"./lib/permission-management.module","ɵa":"./lib/components/permission-management.component","ɵb":"./lib/states/permission-management.state","ɵc":"./lib/services/permission-management.service","ɵd":"./lib/actions/permission-management.actions","ɵe":"./lib/actions/permission-management.actions","ɵf":"./lib/models/permission-management"},"importAs":"@abp/ng.permission-management"} \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/bundles/abp-ng.permission-management.umd.js b/npm/ng-packs/dist/permission-management/bundles/abp-ng.permission-management.umd.js deleted file mode 100644 index b6da0c6777d..00000000000 --- a/npm/ng-packs/dist/permission-management/bundles/abp-ng.permission-management.umd.js +++ /dev/null @@ -1,1102 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@abp/ng.core'), require('@abp/ng.theme.shared'), require('@angular/core'), require('@ngxs/store'), require('rxjs'), require('rxjs/operators')) : - typeof define === 'function' && define.amd ? define('@abp/ng.permission-management', ['exports', '@abp/ng.core', '@abp/ng.theme.shared', '@angular/core', '@ngxs/store', 'rxjs', 'rxjs/operators'], factory) : - (global = global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng['permission-management'] = {}), global.ng_core, global.ng_theme_shared, global.ng.core, global.store, global.rxjs, global.rxjs.operators)); -}(this, (function (exports, ng_core, ng_theme_shared, core, store, rxjs, operators) { 'use strict'; - - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ - /* global Reflect, Promise */ - - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - - function __extends(d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - } - - var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); - }; - - function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; - } - - function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; - } - - function __param(paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } - } - - function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); - } - - function __awaiter(thisArg, _arguments, P, generator) { - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - } - - function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (_) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } - } - - function __exportStar(m, exports) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; - } - - function __values(o) { - var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0; - if (m) return m.call(o); - return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; - } - - function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; - } - - function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; - } - - function __spreadArrays() { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; - for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; - return r; - }; - - function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); - } - - function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } - } - - function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } - } - - function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); - function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } - } - - function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; - }; - - function __importStar(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result.default = mod; - return result; - } - - function __importDefault(mod) { - return (mod && mod.__esModule) ? mod : { default: mod }; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/actions/permission-management.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var GetPermissions = /** @class */ (function () { - function GetPermissions(payload) { - this.payload = payload; - } - GetPermissions.type = '[PermissionManagement] Get Permissions'; - return GetPermissions; - }()); - if (false) { - /** @type {?} */ - GetPermissions.type; - /** @type {?} */ - GetPermissions.prototype.payload; - } - var UpdatePermissions = /** @class */ (function () { - function UpdatePermissions(payload) { - this.payload = payload; - } - UpdatePermissions.type = '[PermissionManagement] Update Permissions'; - return UpdatePermissions; - }()); - if (false) { - /** @type {?} */ - UpdatePermissions.type; - /** @type {?} */ - UpdatePermissions.prototype.payload; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/permission-management.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var PermissionManagementService = /** @class */ (function () { - function PermissionManagementService(rest) { - this.rest = rest; - } - /** - * @param {?} params - * @return {?} - */ - PermissionManagementService.prototype.getPermissions = /** - * @param {?} params - * @return {?} - */ - function (params) { - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/abp/permissions', - params: params, - }; - return this.rest.request(request); - }; - /** - * @param {?} __0 - * @return {?} - */ - PermissionManagementService.prototype.updatePermissions = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var permissions = _a.permissions, providerKey = _a.providerKey, providerName = _a.providerName; - /** @type {?} */ - var request = { - method: 'PUT', - url: '/api/abp/permissions', - body: { permissions: permissions }, - params: { providerKey: providerKey, providerName: providerName }, - }; - return this.rest.request(request); - }; - PermissionManagementService.decorators = [ - { type: core.Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - PermissionManagementService.ctorParameters = function () { return [ - { type: ng_core.RestService } - ]; }; - /** @nocollapse */ PermissionManagementService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function PermissionManagementService_Factory() { return new PermissionManagementService(core.ɵɵinject(ng_core.RestService)); }, token: PermissionManagementService, providedIn: "root" }); - return PermissionManagementService; - }()); - if (false) { - /** - * @type {?} - * @private - */ - PermissionManagementService.prototype.rest; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/states/permission-management.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var PermissionManagementState = /** @class */ (function () { - function PermissionManagementState(permissionManagementService) { - this.permissionManagementService = permissionManagementService; - } - /** - * @param {?} __0 - * @return {?} - */ - PermissionManagementState.getPermissionGroups = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var permissionRes = _a.permissionRes; - return permissionRes.groups || []; - }; - /** - * @param {?} __0 - * @return {?} - */ - PermissionManagementState.getEntityDisplayName = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var permissionRes = _a.permissionRes; - return permissionRes.entityDisplayName; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - PermissionManagementState.prototype.permissionManagementGet = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.permissionManagementService.getPermissions(payload).pipe(operators.tap((/** - * @param {?} permissionResponse - * @return {?} - */ - function (permissionResponse) { - return patchState({ - permissionRes: permissionResponse, - }); - }))); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - PermissionManagementState.prototype.permissionManagementUpdate = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.permissionManagementService.updatePermissions(payload); - }; - PermissionManagementState.ctorParameters = function () { return [ - { type: PermissionManagementService } - ]; }; - __decorate([ - store.Action(GetPermissions), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetPermissions]), - __metadata("design:returntype", void 0) - ], PermissionManagementState.prototype, "permissionManagementGet", null); - __decorate([ - store.Action(UpdatePermissions), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, UpdatePermissions]), - __metadata("design:returntype", void 0) - ], PermissionManagementState.prototype, "permissionManagementUpdate", null); - __decorate([ - store.Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", void 0) - ], PermissionManagementState, "getPermissionGroups", null); - __decorate([ - store.Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", String) - ], PermissionManagementState, "getEntityDisplayName", null); - PermissionManagementState = __decorate([ - store.State({ - name: 'PermissionManagementState', - defaults: (/** @type {?} */ ({ permissionRes: {} })), - }), - __metadata("design:paramtypes", [PermissionManagementService]) - ], PermissionManagementState); - return PermissionManagementState; - }()); - if (false) { - /** - * @type {?} - * @private - */ - PermissionManagementState.prototype.permissionManagementService; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/permission-management.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var PermissionManagementComponent = /** @class */ (function () { - function PermissionManagementComponent(store, renderer) { - this.store = store; - this.renderer = renderer; - this.hideBadges = false; - this.visibleChange = new core.EventEmitter(); - this.permissions = []; - this.selectThisTab = false; - this.selectAllTab = false; - this.modalBusy = false; - this.trackByFn = (/** - * @param {?} _ - * @param {?} item - * @return {?} - */ - function (_, item) { return item.name; }); - } - Object.defineProperty(PermissionManagementComponent.prototype, "visible", { - get: /** - * @return {?} - */ - function () { - return this._visible; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - if (!this.selectedGroup) - return; - this._visible = value; - this.visibleChange.emit(value); - if (!value) { - this.selectedGroup = null; - } - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(PermissionManagementComponent.prototype, "selectedGroupPermissions$", { - get: /** - * @return {?} - */ - function () { - var _this = this; - return this.groups$.pipe(operators.map((/** - * @param {?} groups - * @return {?} - */ - function (groups) { - return _this.selectedGroup - ? groups.find((/** - * @param {?} group - * @return {?} - */ - function (group) { return group.name === _this.selectedGroup.name; })).permissions - : []; - })), operators.map((/** - * @param {?} permissions - * @return {?} - */ - function (permissions) { - return permissions.map((/** - * @param {?} permission - * @return {?} - */ - function (permission) { - return ((/** @type {?} */ (((/** @type {?} */ (__assign({}, permission, { margin: findMargin(permissions, permission), isGranted: _this.permissions.find((/** - * @param {?} per - * @return {?} - */ - function (per) { return per.name === permission.name; })).isGranted }))))))); - })); - }))); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - PermissionManagementComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { }; - /** - * @param {?} name - * @return {?} - */ - PermissionManagementComponent.prototype.getChecked = /** - * @param {?} name - * @return {?} - */ - function (name) { - return (this.permissions.find((/** - * @param {?} per - * @return {?} - */ - function (per) { return per.name === name; })) || { isGranted: false }).isGranted; - }; - /** - * @param {?} grantedProviders - * @return {?} - */ - PermissionManagementComponent.prototype.isGrantedByOtherProviderName = /** - * @param {?} grantedProviders - * @return {?} - */ - function (grantedProviders) { - var _this = this; - if (grantedProviders.length) { - return grantedProviders.findIndex((/** - * @param {?} p - * @return {?} - */ - function (p) { return p.providerName !== _this.providerName; })) > -1; - } - return false; - }; - /** - * @param {?} clickedPermission - * @param {?} value - * @return {?} - */ - PermissionManagementComponent.prototype.onClickCheckbox = /** - * @param {?} clickedPermission - * @param {?} value - * @return {?} - */ - function (clickedPermission, value) { - var _this = this; - if (clickedPermission.isGranted && - this.isGrantedByOtherProviderName(clickedPermission.grantedProviders)) - return; - setTimeout((/** - * @return {?} - */ - function () { - _this.permissions = _this.permissions.map((/** - * @param {?} per - * @return {?} - */ - function (per) { - if (clickedPermission.name === per.name) { - return __assign({}, per, { isGranted: !per.isGranted }); - } - else if (clickedPermission.name === per.parentName && clickedPermission.isGranted) { - return __assign({}, per, { isGranted: false }); - } - else if (clickedPermission.parentName === per.name && !clickedPermission.isGranted) { - return __assign({}, per, { isGranted: true }); - } - return per; - })); - _this.setTabCheckboxState(); - _this.setGrantCheckboxState(); - }), 0); - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.setTabCheckboxState = /** - * @return {?} - */ - function () { - var _this = this; - this.selectedGroupPermissions$.pipe(operators.take(1)).subscribe((/** - * @param {?} permissions - * @return {?} - */ - function (permissions) { - /** @type {?} */ - var selectedPermissions = permissions.filter((/** - * @param {?} per - * @return {?} - */ - function (per) { return per.isGranted; })); - /** @type {?} */ - var element = (/** @type {?} */ (document.querySelector('#select-all-in-this-tabs'))); - if (selectedPermissions.length === permissions.length) { - element.indeterminate = false; - _this.selectThisTab = true; - } - else if (selectedPermissions.length === 0) { - element.indeterminate = false; - _this.selectThisTab = false; - } - else { - element.indeterminate = true; - } - })); - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.setGrantCheckboxState = /** - * @return {?} - */ - function () { - /** @type {?} */ - var selectedAllPermissions = this.permissions.filter((/** - * @param {?} per - * @return {?} - */ - function (per) { return per.isGranted; })); - /** @type {?} */ - var checkboxElement = (/** @type {?} */ (document.querySelector('#select-all-in-all-tabs'))); - if (selectedAllPermissions.length === this.permissions.length) { - checkboxElement.indeterminate = false; - this.selectAllTab = true; - } - else if (selectedAllPermissions.length === 0) { - checkboxElement.indeterminate = false; - this.selectAllTab = false; - } - else { - checkboxElement.indeterminate = true; - } - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.onClickSelectThisTab = /** - * @return {?} - */ - function () { - var _this = this; - this.selectedGroupPermissions$.pipe(operators.take(1)).subscribe((/** - * @param {?} permissions - * @return {?} - */ - function (permissions) { - permissions.forEach((/** - * @param {?} permission - * @return {?} - */ - function (permission) { - if (permission.isGranted && _this.isGrantedByOtherProviderName(permission.grantedProviders)) - return; - /** @type {?} */ - var index = _this.permissions.findIndex((/** - * @param {?} per - * @return {?} - */ - function (per) { return per.name === permission.name; })); - _this.permissions = __spread(_this.permissions.slice(0, index), [ - __assign({}, _this.permissions[index], { isGranted: !_this.selectThisTab }) - ], _this.permissions.slice(index + 1)); - })); - })); - this.setGrantCheckboxState(); - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.onClickSelectAll = /** - * @return {?} - */ - function () { - var _this = this; - this.permissions = this.permissions.map((/** - * @param {?} permission - * @return {?} - */ - function (permission) { return (__assign({}, permission, { isGranted: _this.isGrantedByOtherProviderName(permission.grantedProviders) || !_this.selectAllTab })); })); - this.selectThisTab = !this.selectAllTab; - }; - /** - * @param {?} group - * @return {?} - */ - PermissionManagementComponent.prototype.onChangeGroup = /** - * @param {?} group - * @return {?} - */ - function (group) { - this.selectedGroup = group; - this.setTabCheckboxState(); - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.submit = /** - * @return {?} - */ - function () { - var _this = this; - this.modalBusy = true; - /** @type {?} */ - var unchangedPermissions = getPermissions(this.store.selectSnapshot(PermissionManagementState.getPermissionGroups)); - /** @type {?} */ - var changedPermissions = this.permissions - .filter((/** - * @param {?} per - * @return {?} - */ - function (per) { - return unchangedPermissions.find((/** - * @param {?} unchanged - * @return {?} - */ - function (unchanged) { return unchanged.name === per.name; })).isGranted === - per.isGranted - ? false - : true; - })) - .map((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var name = _a.name, isGranted = _a.isGranted; - return ({ name: name, isGranted: isGranted }); - })); - if (changedPermissions.length) { - this.store - .dispatch(new UpdatePermissions({ - providerKey: this.providerKey, - providerName: this.providerName, - permissions: changedPermissions, - })) - .pipe(operators.finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.visible = false; - })); - } - else { - this.modalBusy = false; - this.visible = false; - } - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.openModal = /** - * @return {?} - */ - function () { - var _this = this; - if (!this.providerKey || !this.providerName) { - throw new Error('Provider Key and Provider Name are required.'); - } - this.store - .dispatch(new GetPermissions({ - providerKey: this.providerKey, - providerName: this.providerName, - })) - .pipe(operators.pluck('PermissionManagementState', 'permissionRes')) - .subscribe((/** - * @param {?} permissionRes - * @return {?} - */ - function (permissionRes) { - _this.selectedGroup = permissionRes.groups[0]; - _this.permissions = getPermissions(permissionRes.groups); - _this.visible = true; - })); - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.initModal = /** - * @return {?} - */ - function () { - this.setTabCheckboxState(); - this.setGrantCheckboxState(); - }; - /** - * @param {?} __0 - * @return {?} - */ - PermissionManagementComponent.prototype.ngOnChanges = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var visible = _a.visible; - if (!visible) - return; - if (visible.currentValue) { - this.openModal(); - } - else if (visible.currentValue === false && this.visible) { - this.visible = false; - } - }; - PermissionManagementComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-permission-management', - template: "\r\n \r\n \r\n

\r\n {{ 'AbpPermissionManagement::Permissions' | abpLocalization }} - {{ data.entityName }}\r\n

\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n {{ group?.displayName }}\r\n
  • \r\n
\r\n
\r\n
\r\n

{{ selectedGroup?.displayName }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n {{ permission.displayName }}\r\n \r\n {{ provider.providerName }}: {{ provider.providerKey }}\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n
\r\n" - }] } - ]; - /** @nocollapse */ - PermissionManagementComponent.ctorParameters = function () { return [ - { type: store.Store }, - { type: core.Renderer2 } - ]; }; - PermissionManagementComponent.propDecorators = { - providerName: [{ type: core.Input }], - providerKey: [{ type: core.Input }], - hideBadges: [{ type: core.Input }], - visible: [{ type: core.Input }], - visibleChange: [{ type: core.Output }] - }; - __decorate([ - store.Select(PermissionManagementState.getPermissionGroups), - __metadata("design:type", rxjs.Observable) - ], PermissionManagementComponent.prototype, "groups$", void 0); - __decorate([ - store.Select(PermissionManagementState.getEntityDisplayName), - __metadata("design:type", rxjs.Observable) - ], PermissionManagementComponent.prototype, "entityName$", void 0); - return PermissionManagementComponent; - }()); - if (false) { - /** @type {?} */ - PermissionManagementComponent.prototype.providerName; - /** @type {?} */ - PermissionManagementComponent.prototype.providerKey; - /** @type {?} */ - PermissionManagementComponent.prototype.hideBadges; - /** - * @type {?} - * @protected - */ - PermissionManagementComponent.prototype._visible; - /** @type {?} */ - PermissionManagementComponent.prototype.visibleChange; - /** @type {?} */ - PermissionManagementComponent.prototype.groups$; - /** @type {?} */ - PermissionManagementComponent.prototype.entityName$; - /** @type {?} */ - PermissionManagementComponent.prototype.selectedGroup; - /** @type {?} */ - PermissionManagementComponent.prototype.permissions; - /** @type {?} */ - PermissionManagementComponent.prototype.selectThisTab; - /** @type {?} */ - PermissionManagementComponent.prototype.selectAllTab; - /** @type {?} */ - PermissionManagementComponent.prototype.modalBusy; - /** @type {?} */ - PermissionManagementComponent.prototype.trackByFn; - /** - * @type {?} - * @private - */ - PermissionManagementComponent.prototype.store; - /** - * @type {?} - * @private - */ - PermissionManagementComponent.prototype.renderer; - } - /** - * @param {?} permissions - * @param {?} permission - * @return {?} - */ - function findMargin(permissions, permission) { - /** @type {?} */ - var parentPermission = permissions.find((/** - * @param {?} per - * @return {?} - */ - function (per) { return per.name === permission.parentName; })); - if (parentPermission && parentPermission.parentName) { - /** @type {?} */ - var margin = 20; - return (margin += findMargin(permissions, parentPermission)); - } - return parentPermission ? 20 : 0; - } - /** - * @param {?} groups - * @return {?} - */ - function getPermissions(groups) { - return groups.reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { return __spread(acc, val.permissions); }), []); - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/permission-management.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var PermissionManagementModule = /** @class */ (function () { - function PermissionManagementModule() { - } - PermissionManagementModule.decorators = [ - { type: core.NgModule, args: [{ - declarations: [PermissionManagementComponent], - imports: [ng_core.CoreModule, ng_theme_shared.ThemeSharedModule, store.NgxsModule.forFeature([PermissionManagementState])], - exports: [PermissionManagementComponent], - },] } - ]; - return PermissionManagementModule; - }()); - - /** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/permission-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var PermissionManagement; - (function (PermissionManagement) { - /** - * @record - */ - function State() { } - PermissionManagement.State = State; - if (false) { - /** @type {?} */ - State.prototype.permissionRes; - } - /** - * @record - */ - function Response() { } - PermissionManagement.Response = Response; - if (false) { - /** @type {?} */ - Response.prototype.entityDisplayName; - /** @type {?} */ - Response.prototype.groups; - } - /** - * @record - */ - function Group() { } - PermissionManagement.Group = Group; - if (false) { - /** @type {?} */ - Group.prototype.name; - /** @type {?} */ - Group.prototype.displayName; - /** @type {?} */ - Group.prototype.permissions; - } - /** - * @record - */ - function MinimumPermission() { } - PermissionManagement.MinimumPermission = MinimumPermission; - if (false) { - /** @type {?} */ - MinimumPermission.prototype.name; - /** @type {?} */ - MinimumPermission.prototype.isGranted; - } - /** - * @record - */ - function Permission() { } - PermissionManagement.Permission = Permission; - if (false) { - /** @type {?} */ - Permission.prototype.displayName; - /** @type {?} */ - Permission.prototype.parentName; - /** @type {?} */ - Permission.prototype.allowedProviders; - /** @type {?} */ - Permission.prototype.grantedProviders; - } - /** - * @record - */ - function GrantedProvider() { } - PermissionManagement.GrantedProvider = GrantedProvider; - if (false) { - /** @type {?} */ - GrantedProvider.prototype.providerName; - /** @type {?} */ - GrantedProvider.prototype.providerKey; - } - /** - * @record - */ - function UpdateRequest() { } - PermissionManagement.UpdateRequest = UpdateRequest; - if (false) { - /** @type {?} */ - UpdateRequest.prototype.permissions; - } - })(PermissionManagement || (PermissionManagement = {})); - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/permission-management-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var PermissionManagementStateService = /** @class */ (function () { - function PermissionManagementStateService(store) { - this.store = store; - } - /** - * @return {?} - */ - PermissionManagementStateService.prototype.getPermissionGroups = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(PermissionManagementState.getPermissionGroups); - }; - /** - * @return {?} - */ - PermissionManagementStateService.prototype.getEntityDisplayName = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(PermissionManagementState.getEntityDisplayName); - }; - PermissionManagementStateService.decorators = [ - { type: core.Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - PermissionManagementStateService.ctorParameters = function () { return [ - { type: store.Store } - ]; }; - /** @nocollapse */ PermissionManagementStateService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function PermissionManagementStateService_Factory() { return new PermissionManagementStateService(core.ɵɵinject(store.Store)); }, token: PermissionManagementStateService, providedIn: "root" }); - return PermissionManagementStateService; - }()); - if (false) { - /** - * @type {?} - * @private - */ - PermissionManagementStateService.prototype.store; - } - - exports.GetPermissions = GetPermissions; - exports.PermissionManagementComponent = PermissionManagementComponent; - exports.PermissionManagementModule = PermissionManagementModule; - exports.PermissionManagementService = PermissionManagementService; - exports.PermissionManagementState = PermissionManagementState; - exports.PermissionManagementStateService = PermissionManagementStateService; - exports.UpdatePermissions = UpdatePermissions; - exports.ɵa = PermissionManagementComponent; - exports.ɵb = PermissionManagementState; - exports.ɵc = PermissionManagementService; - exports.ɵd = GetPermissions; - exports.ɵe = UpdatePermissions; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); -//# sourceMappingURL=abp-ng.permission-management.umd.js.map diff --git a/npm/ng-packs/dist/permission-management/bundles/abp-ng.permission-management.umd.js.map b/npm/ng-packs/dist/permission-management/bundles/abp-ng.permission-management.umd.js.map deleted file mode 100644 index 60b0ef744da..00000000000 --- a/npm/ng-packs/dist/permission-management/bundles/abp-ng.permission-management.umd.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.permission-management.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","ng://@abp/ng.permission-management/lib/actions/permission-management.actions.ts","ng://@abp/ng.permission-management/lib/services/permission-management.service.ts","ng://@abp/ng.permission-management/lib/states/permission-management.state.ts","ng://@abp/ng.permission-management/lib/components/permission-management.component.ts","ng://@abp/ng.permission-management/lib/permission-management.module.ts","ng://@abp/ng.permission-management/lib/models/permission-management.ts","ng://@abp/ng.permission-management/lib/services/permission-management-state.service.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { PermissionManagement } from '../models/permission-management';\r\n\r\nexport class GetPermissions {\r\n static readonly type = '[PermissionManagement] Get Permissions';\r\n constructor(public payload: PermissionManagement.GrantedProvider) {}\r\n}\r\n\r\nexport class UpdatePermissions {\r\n static readonly type = '[PermissionManagement] Update Permissions';\r\n constructor(public payload: PermissionManagement.GrantedProvider & PermissionManagement.UpdateRequest) {}\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport { Observable } from 'rxjs';\r\nimport { PermissionManagement } from '../models/permission-management';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PermissionManagementService {\r\n constructor(private rest: RestService) {}\r\n\r\n getPermissions(params: PermissionManagement.GrantedProvider): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/abp/permissions',\r\n params,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n updatePermissions({\r\n permissions,\r\n providerKey,\r\n providerName,\r\n }: PermissionManagement.GrantedProvider & PermissionManagement.UpdateRequest): Observable {\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url: '/api/abp/permissions',\r\n body: { permissions },\r\n params: { providerKey, providerName },\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n}\r\n","import { State, Action, StateContext, Selector } from '@ngxs/store';\r\nimport { GetPermissions, UpdatePermissions } from '../actions/permission-management.actions';\r\nimport { PermissionManagement } from '../models/permission-management';\r\nimport { PermissionManagementService } from '../services/permission-management.service';\r\nimport { tap } from 'rxjs/operators';\r\n\r\n@State({\r\n name: 'PermissionManagementState',\r\n defaults: { permissionRes: {} } as PermissionManagement.State,\r\n})\r\nexport class PermissionManagementState {\r\n @Selector()\r\n static getPermissionGroups({ permissionRes }: PermissionManagement.State) {\r\n return permissionRes.groups || [];\r\n }\r\n\r\n @Selector()\r\n static getEntityDisplayName({ permissionRes }: PermissionManagement.State): string {\r\n return permissionRes.entityDisplayName;\r\n }\r\n\r\n constructor(private permissionManagementService: PermissionManagementService) {}\r\n\r\n @Action(GetPermissions)\r\n permissionManagementGet({ patchState }: StateContext, { payload }: GetPermissions) {\r\n return this.permissionManagementService.getPermissions(payload).pipe(\r\n tap(permissionResponse =>\r\n patchState({\r\n permissionRes: permissionResponse,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(UpdatePermissions)\r\n permissionManagementUpdate(_, { payload }: UpdatePermissions) {\r\n return this.permissionManagementService.updatePermissions(payload);\r\n }\r\n}\r\n","import {\r\n Component,\r\n EventEmitter,\r\n Input,\r\n OnChanges,\r\n OnInit,\r\n Output,\r\n Renderer2,\r\n SimpleChanges,\r\n TrackByFunction,\r\n} from '@angular/core';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { from, Observable } from 'rxjs';\r\nimport { map, pluck, take, finalize } from 'rxjs/operators';\r\nimport { GetPermissions, UpdatePermissions } from '../actions/permission-management.actions';\r\nimport { PermissionManagement } from '../models/permission-management';\r\nimport { PermissionManagementState } from '../states/permission-management.state';\r\n\r\ntype PermissionWithMargin = PermissionManagement.Permission & {\r\n margin: number;\r\n};\r\n\r\n@Component({\r\n selector: 'abp-permission-management',\r\n templateUrl: './permission-management.component.html',\r\n})\r\nexport class PermissionManagementComponent implements OnInit, OnChanges {\r\n @Input()\r\n providerName: string;\r\n\r\n @Input()\r\n providerKey: string;\r\n\r\n @Input()\r\n hideBadges = false;\r\n\r\n protected _visible;\r\n\r\n @Input()\r\n get visible(): boolean {\r\n return this._visible;\r\n }\r\n\r\n set visible(value: boolean) {\r\n if (!this.selectedGroup) return;\r\n\r\n this._visible = value;\r\n this.visibleChange.emit(value);\r\n\r\n if (!value) {\r\n this.selectedGroup = null;\r\n }\r\n }\r\n\r\n @Output() readonly visibleChange = new EventEmitter();\r\n\r\n @Select(PermissionManagementState.getPermissionGroups)\r\n groups$: Observable;\r\n\r\n @Select(PermissionManagementState.getEntityDisplayName)\r\n entityName$: Observable;\r\n\r\n selectedGroup: PermissionManagement.Group;\r\n\r\n permissions: PermissionManagement.Permission[] = [];\r\n\r\n selectThisTab = false;\r\n\r\n selectAllTab = false;\r\n\r\n modalBusy = false;\r\n\r\n trackByFn: TrackByFunction = (_, item) => item.name;\r\n\r\n get selectedGroupPermissions$(): Observable {\r\n return this.groups$.pipe(\r\n map(groups =>\r\n this.selectedGroup\r\n ? groups.find(group => group.name === this.selectedGroup.name).permissions\r\n : [],\r\n ),\r\n map(permissions =>\r\n permissions.map(\r\n permission =>\r\n (({\r\n ...permission,\r\n margin: findMargin(permissions, permission),\r\n isGranted: this.permissions.find(per => per.name === permission.name).isGranted,\r\n } as any) as PermissionWithMargin),\r\n ),\r\n ),\r\n );\r\n }\r\n\r\n constructor(private store: Store, private renderer: Renderer2) {}\r\n\r\n ngOnInit(): void {}\r\n\r\n getChecked(name: string) {\r\n return (this.permissions.find(per => per.name === name) || { isGranted: false }).isGranted;\r\n }\r\n\r\n isGrantedByOtherProviderName(grantedProviders: PermissionManagement.GrantedProvider[]): boolean {\r\n if (grantedProviders.length) {\r\n return grantedProviders.findIndex(p => p.providerName !== this.providerName) > -1;\r\n }\r\n return false;\r\n }\r\n\r\n onClickCheckbox(clickedPermission: PermissionManagement.Permission, value) {\r\n if (\r\n clickedPermission.isGranted &&\r\n this.isGrantedByOtherProviderName(clickedPermission.grantedProviders)\r\n )\r\n return;\r\n\r\n setTimeout(() => {\r\n this.permissions = this.permissions.map(per => {\r\n if (clickedPermission.name === per.name) {\r\n return { ...per, isGranted: !per.isGranted };\r\n } else if (clickedPermission.name === per.parentName && clickedPermission.isGranted) {\r\n return { ...per, isGranted: false };\r\n } else if (clickedPermission.parentName === per.name && !clickedPermission.isGranted) {\r\n return { ...per, isGranted: true };\r\n }\r\n\r\n return per;\r\n });\r\n\r\n this.setTabCheckboxState();\r\n this.setGrantCheckboxState();\r\n }, 0);\r\n }\r\n\r\n setTabCheckboxState() {\r\n this.selectedGroupPermissions$.pipe(take(1)).subscribe(permissions => {\r\n const selectedPermissions = permissions.filter(per => per.isGranted);\r\n const element = document.querySelector('#select-all-in-this-tabs') as any;\r\n\r\n if (selectedPermissions.length === permissions.length) {\r\n element.indeterminate = false;\r\n this.selectThisTab = true;\r\n } else if (selectedPermissions.length === 0) {\r\n element.indeterminate = false;\r\n this.selectThisTab = false;\r\n } else {\r\n element.indeterminate = true;\r\n }\r\n });\r\n }\r\n\r\n setGrantCheckboxState() {\r\n const selectedAllPermissions = this.permissions.filter(per => per.isGranted);\r\n const checkboxElement = document.querySelector('#select-all-in-all-tabs') as any;\r\n\r\n if (selectedAllPermissions.length === this.permissions.length) {\r\n checkboxElement.indeterminate = false;\r\n this.selectAllTab = true;\r\n } else if (selectedAllPermissions.length === 0) {\r\n checkboxElement.indeterminate = false;\r\n this.selectAllTab = false;\r\n } else {\r\n checkboxElement.indeterminate = true;\r\n }\r\n }\r\n\r\n onClickSelectThisTab() {\r\n this.selectedGroupPermissions$.pipe(take(1)).subscribe(permissions => {\r\n permissions.forEach(permission => {\r\n if (permission.isGranted && this.isGrantedByOtherProviderName(permission.grantedProviders))\r\n return;\r\n\r\n const index = this.permissions.findIndex(per => per.name === permission.name);\r\n\r\n this.permissions = [\r\n ...this.permissions.slice(0, index),\r\n { ...this.permissions[index], isGranted: !this.selectThisTab },\r\n ...this.permissions.slice(index + 1),\r\n ];\r\n });\r\n });\r\n\r\n this.setGrantCheckboxState();\r\n }\r\n\r\n onClickSelectAll() {\r\n this.permissions = this.permissions.map(permission => ({\r\n ...permission,\r\n isGranted:\r\n this.isGrantedByOtherProviderName(permission.grantedProviders) || !this.selectAllTab,\r\n }));\r\n\r\n this.selectThisTab = !this.selectAllTab;\r\n }\r\n\r\n onChangeGroup(group: PermissionManagement.Group) {\r\n this.selectedGroup = group;\r\n this.setTabCheckboxState();\r\n }\r\n\r\n submit() {\r\n this.modalBusy = true;\r\n const unchangedPermissions = getPermissions(\r\n this.store.selectSnapshot(PermissionManagementState.getPermissionGroups),\r\n );\r\n\r\n const changedPermissions: PermissionManagement.MinimumPermission[] = this.permissions\r\n .filter(per =>\r\n unchangedPermissions.find(unchanged => unchanged.name === per.name).isGranted ===\r\n per.isGranted\r\n ? false\r\n : true,\r\n )\r\n .map(({ name, isGranted }) => ({ name, isGranted }));\r\n\r\n if (changedPermissions.length) {\r\n this.store\r\n .dispatch(\r\n new UpdatePermissions({\r\n providerKey: this.providerKey,\r\n providerName: this.providerName,\r\n permissions: changedPermissions,\r\n }),\r\n )\r\n .pipe(finalize(() => (this.modalBusy = false)))\r\n .subscribe(() => {\r\n this.visible = false;\r\n });\r\n } else {\r\n this.modalBusy = false;\r\n this.visible = false;\r\n }\r\n }\r\n\r\n openModal() {\r\n if (!this.providerKey || !this.providerName) {\r\n throw new Error('Provider Key and Provider Name are required.');\r\n }\r\n\r\n this.store\r\n .dispatch(\r\n new GetPermissions({\r\n providerKey: this.providerKey,\r\n providerName: this.providerName,\r\n }),\r\n )\r\n .pipe(pluck('PermissionManagementState', 'permissionRes'))\r\n .subscribe((permissionRes: PermissionManagement.Response) => {\r\n this.selectedGroup = permissionRes.groups[0];\r\n this.permissions = getPermissions(permissionRes.groups);\r\n\r\n this.visible = true;\r\n });\r\n }\r\n\r\n initModal() {\r\n this.setTabCheckboxState();\r\n this.setGrantCheckboxState();\r\n }\r\n\r\n ngOnChanges({ visible }: SimpleChanges): void {\r\n if (!visible) return;\r\n\r\n if (visible.currentValue) {\r\n this.openModal();\r\n } else if (visible.currentValue === false && this.visible) {\r\n this.visible = false;\r\n }\r\n }\r\n}\r\n\r\nfunction findMargin(\r\n permissions: PermissionManagement.Permission[],\r\n permission: PermissionManagement.Permission,\r\n) {\r\n const parentPermission = permissions.find(per => per.name === permission.parentName);\r\n\r\n if (parentPermission && parentPermission.parentName) {\r\n let margin = 20;\r\n return (margin += findMargin(permissions, parentPermission));\r\n }\r\n\r\n return parentPermission ? 20 : 0;\r\n}\r\n\r\nfunction getPermissions(groups: PermissionManagement.Group[]): PermissionManagement.Permission[] {\r\n return groups.reduce((acc, val) => [...acc, ...val.permissions], []);\r\n}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule } from '@angular/core';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { PermissionManagementComponent } from './components/permission-management.component';\r\nimport { PermissionManagementState } from './states/permission-management.state';\r\n\r\n@NgModule({\r\n declarations: [PermissionManagementComponent],\r\n imports: [CoreModule, ThemeSharedModule, NgxsModule.forFeature([PermissionManagementState])],\r\n exports: [PermissionManagementComponent],\r\n})\r\nexport class PermissionManagementModule {}\r\n","export namespace PermissionManagement {\r\n export interface State {\r\n permissionRes: Response;\r\n }\r\n\r\n export interface Response {\r\n entityDisplayName: string;\r\n groups: Group[];\r\n }\r\n\r\n export interface Group {\r\n name: string;\r\n displayName: string;\r\n permissions: Permission[];\r\n }\r\n\r\n export interface MinimumPermission {\r\n name: string;\r\n isGranted: boolean;\r\n }\r\n\r\n export interface Permission extends MinimumPermission {\r\n displayName: string;\r\n parentName: string;\r\n allowedProviders: string[];\r\n grantedProviders: GrantedProvider[];\r\n }\r\n\r\n export interface GrantedProvider {\r\n providerName: string;\r\n providerKey: string;\r\n }\r\n\r\n export interface UpdateRequest {\r\n permissions: MinimumPermission[];\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { PermissionManagementState } from '../states/permission-management.state';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PermissionManagementStateService {\r\n constructor(private store: Store) {}\r\n\r\n getPermissionGroups() {\r\n return this.store.selectSnapshot(PermissionManagementState.getPermissionGroups);\r\n }\r\n getEntityDisplayName() {\r\n return this.store.selectSnapshot(PermissionManagementState.getEntityDisplayName);\r\n }\r\n}\r\n"],"names":["Injectable","RestService","tap","tslib_1.__decorate","Action","Selector","State","EventEmitter","map","take","finalize","pluck","Component","Store","Renderer2","Input","Output","Select","Observable","NgModule","CoreModule","ThemeSharedModule","NgxsModule"],"mappings":";;;;;;IAAA;IACA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACnF,IAAI,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;;AAEF,IAAO,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;IAChC,IAAI,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACxB,IAAI,SAAS,EAAE,GAAG,EAAE,IAAI,C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m/ng-packs/dist/permission-management/bundles/abp-ng.permission-management.umd.min.js b/npm/ng-packs/dist/permission-management/bundles/abp-ng.permission-management.umd.min.js deleted file mode 100644 index fb1575c1fdd..00000000000 --- a/npm/ng-packs/dist/permission-management/bundles/abp-ng.permission-management.umd.min.js +++ /dev/null @@ -1,16 +0,0 @@ -!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@abp/ng.core"),require("@abp/ng.theme.shared"),require("@angular/core"),require("@ngxs/store"),require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@abp/ng.permission-management",["exports","@abp/ng.core","@abp/ng.theme.shared","@angular/core","@ngxs/store","rxjs","rxjs/operators"],n):n(((e=e||self).abp=e.abp||{},e.abp.ng=e.abp.ng||{},e.abp.ng["permission-management"]={}),e.ng_core,e.ng_theme_shared,e.ng.core,e.store,e.rxjs,e.rxjs.operators)}(this,(function(e,n,t,r,i,s,o){"use strict"; -/*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */var a=function(){return(a=Object.assign||function(e){for(var n,t=1,r=arguments.length;t=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(n,t,o):i(n,t))||o);return s>3&&o&&Object.defineProperty(n,t,o),o}function p(e,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,n)}function l(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var r,i,s=t.call(e),o=[];try{for(;(void 0===n||n-- >0)&&!(r=s.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(t=s.return)&&t.call(s)}finally{if(i)throw i.error}}return o}function u(){for(var e=[],n=0;n-1},e.prototype.onClickCheckbox=function(e,n){var t=this;e.isGranted&&this.isGrantedByOtherProviderName(e.grantedProviders)||setTimeout((function(){t.permissions=t.permissions.map((function(n){return e.name===n.name?a({},n,{isGranted:!n.isGranted}):e.name===n.parentName&&e.isGranted?a({},n,{isGranted:!1}):e.parentName!==n.name||e.isGranted?n:a({},n,{isGranted:!0})})),t.setTabCheckboxState(),t.setGrantCheckboxState()}),0)},e.prototype.setTabCheckboxState=function(){var e=this;this.selectedGroupPermissions$.pipe(o.take(1)).subscribe((function(n){var t=n.filter((function(e){return e.isGranted})),r=document.querySelector("#select-all-in-this-tabs");t.length===n.length?(r.indeterminate=!1,e.selectThisTab=!0):0===t.length?(r.indeterminate=!1,e.selectThisTab=!1):r.indeterminate=!0}))},e.prototype.setGrantCheckboxState=function(){var e=this.permissions.filter((function(e){return e.isGranted})),n=document.querySelector("#select-all-in-all-tabs");e.length===this.permissions.length?(n.indeterminate=!1,this.selectAllTab=!0):0===e.length?(n.indeterminate=!1,this.selectAllTab=!1):n.indeterminate=!0},e.prototype.onClickSelectThisTab=function(){var e=this;this.selectedGroupPermissions$.pipe(o.take(1)).subscribe((function(n){n.forEach((function(n){if(!n.isGranted||!e.isGrantedByOtherProviderName(n.grantedProviders)){var t=e.permissions.findIndex((function(e){return e.name===n.name}));e.permissions=u(e.permissions.slice(0,t),[a({},e.permissions[t],{isGranted:!e.selectThisTab})],e.permissions.slice(t+1))}}))})),this.setGrantCheckboxState()},e.prototype.onClickSelectAll=function(){var e=this;this.permissions=this.permissions.map((function(n){return a({},n,{isGranted:e.isGrantedByOtherProviderName(n.grantedProviders)||!e.selectAllTab})})),this.selectThisTab=!this.selectAllTab},e.prototype.onChangeGroup=function(e){this.selectedGroup=e,this.setTabCheckboxState()},e.prototype.submit=function(){var e=this;this.modalBusy=!0;var n=y(this.store.selectSnapshot(h.getPermissionGroups)),t=this.permissions.filter((function(e){return n.find((function(n){return n.name===e.name})).isGranted!==e.isGranted})).map((function(e){return{name:e.name,isGranted:e.isGranted}}));t.length?this.store.dispatch(new d({providerKey:this.providerKey,providerName:this.providerName,permissions:t})).pipe(o.finalize((function(){return e.modalBusy=!1}))).subscribe((function(){e.visible=!1})):(this.modalBusy=!1,this.visible=!1)},e.prototype.openModal=function(){var e=this;if(!this.providerKey||!this.providerName)throw new Error("Provider Key and Provider Name are required.");this.store.dispatch(new m({providerKey:this.providerKey,providerName:this.providerName})).pipe(o.pluck("PermissionManagementState","permissionRes")).subscribe((function(n){e.selectedGroup=n.groups[0],e.permissions=y(n.groups),e.visible=!0}))},e.prototype.initModal=function(){this.setTabCheckboxState(),this.setGrantCheckboxState()},e.prototype.ngOnChanges=function(e){var n=e.visible;n&&(n.currentValue?this.openModal():!1===n.currentValue&&this.visible&&(this.visible=!1))},e.decorators=[{type:r.Component,args:[{selector:"abp-permission-management",template:'\r\n \r\n \r\n

\r\n {{ \'AbpPermissionManagement::Permissions\' | abpLocalization }} - {{ data.entityName }}\r\n

\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n

{{ selectedGroup?.displayName }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n {{ permission.displayName }}\r\n \r\n {{ provider.providerName }}: {{ provider.providerKey }}\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n {{\r\n \'AbpIdentity::Save\' | abpLocalization\r\n }}\r\n \r\n
\r\n
\r\n'}]}],e.ctorParameters=function(){return[{type:i.Store},{type:r.Renderer2}]},e.propDecorators={providerName:[{type:r.Input}],providerKey:[{type:r.Input}],hideBadges:[{type:r.Input}],visible:[{type:r.Input}],visibleChange:[{type:r.Output}]},c([i.Select(h.getPermissionGroups),p("design:type",s.Observable)],e.prototype,"groups$",void 0),c([i.Select(h.getEntityDisplayName),p("design:type",s.Observable)],e.prototype,"entityName$",void 0),e}();function g(e,n){var t=e.find((function(e){return e.name===n.parentName}));return t&&t.parentName?20+g(e,t):t?20:0}function y(e){return e.reduce((function(e,n){return u(e,n.permissions)}),[])}var v,P=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{declarations:[b],imports:[n.CoreModule,t.ThemeSharedModule,i.NgxsModule.forFeature([h])],exports:[b]}]}],e}();!function(e){function n(){}function t(){}function r(){}function i(){}function s(){}function o(){}function a(){}e.State=n,e.Response=t,e.Group=r,e.MinimumPermission=i,e.Permission=s,e.GrantedProvider=o,e.UpdateRequest=a}(v||(v={}));var G=function(){function e(e){this.store=e}return e.prototype.getPermissionGroups=function(){return this.store.selectSnapshot(h.getPermissionGroups)},e.prototype.getEntityDisplayName=function(){return this.store.selectSnapshot(h.getEntityDisplayName)},e.decorators=[{type:r.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:i.Store}]},e.ngInjectableDef=r.ɵɵdefineInjectable({factory:function(){return new e(r.ɵɵinject(i.Store))},token:e,providedIn:"root"}),e}();e.GetPermissions=m,e.PermissionManagementComponent=b,e.PermissionManagementModule=P,e.PermissionManagementService=f,e.PermissionManagementState=h,e.PermissionManagementStateService=G,e.UpdatePermissions=d,e.ɵa=b,e.ɵb=h,e.ɵc=f,e.ɵd=m,e.ɵe=d,Object.defineProperty(e,"__esModule",{value:!0})})); -//# sourceMappingURL=abp-ng.permission-management.umd.min.js.map \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/bundles/abp-ng.permission-management.umd.min.js.map b/npm/ng-packs/dist/permission-management/bundles/abp-ng.permission-management.umd.min.js.map deleted file mode 100644 index b98e92944a7..00000000000 --- a/npm/ng-packs/dist/permission-management/bundles/abp-ng.permission-management.umd.min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@abp/ng.permission-management/lib/actions/permission-management.actions.ts","ng://@abp/ng.permission-management/lib/services/permission-management.service.ts","ng://@abp/ng.permission-management/lib/states/permission-management.state.ts","ng://@abp/ng.permission-management/lib/components/permission-management.component.ts","ng://@abp/ng.permission-management/lib/permission-management.module.ts","ng://@abp/ng.permission-management/lib/models/permission-management.ts","ng://@abp/ng.permission-management/lib/services/permission-management-state.service.ts"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__decorate","decorators","target","key","desc","d","c","r","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","__metadata","metadataKey","metadataValue","metadata","__read","o","m","Symbol","iterator","e","ar","next","done","push","value","error","__spread","concat","GetPermissions","payload","type","UpdatePermissions","PermissionManagementService","rest","getPermissions","params","request","method","url","updatePermissions","_a","body","permissions","providerKey","providerName","Injectable","args","providedIn","RestService","PermissionManagementState","permissionManagementService","getPermissionGroups","permissionRes","groups","getEntityDisplayName","entityDisplayName","permissionManagementGet","_b","patchState","pipe","tap","permissionResponse","permissionManagementUpdate","_","tslib_1.__decorate","Action","Selector","State","name","defaults","PermissionManagementComponent","store","renderer","hideBadges","visibleChange","EventEmitter","selectThisTab","selectAllTab","modalBusy","trackByFn","item","_visible","selectedGroup","emit","_this","groups$","map","find","group","permission","margin","findMargin","isGranted","per","ngOnInit","getChecked","isGrantedByOtherProviderName","grantedProviders","findIndex","onClickCheckbox","clickedPermission","setTimeout","parentName","setTabCheckboxState","setGrantCheckboxState","selectedGroupPermissions$","take","subscribe","selectedPermissions","filter","element","document","querySelector","indeterminate","selectedAllPermissions","checkboxElement","onClickSelectThisTab","forEach","index","slice","onClickSelectAll","onChangeGroup","submit","unchangedPermissions","selectSnapshot","changedPermissions","unchanged","dispatch","finalize","visible","openModal","Error","pluck","initModal","ngOnChanges","currentValue","Component","selector","template","Store","Renderer2","Input","Output","Select","Observable","parentPermission","reduce","acc","val","PermissionManagement","PermissionManagementModule","NgModule","declarations","imports","CoreModule","ThemeSharedModule","NgxsModule","forFeature","exports","Response","Group","MinimumPermission","Permission","GrantedProvider","UpdateRequest","PermissionManagementStateService"],"mappings":";;;;;;;;;;;;;;oFA6BO,IAAIA,EAAW,WAQlB,OAPAA,EAAWC,OAAOC,QAAU,SAAkBC,GAC1C,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,IAE9E,OAAON,IAEKU,MAAMC,KAAMP,YAezB,SAASQ,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAId,UAAUC,OAAQc,EAAID,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOlB,OAAOsB,yBAAyBN,EAAQC,GAAOC,EACrH,GAAuB,iBAAZK,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAAST,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAId,EAAIW,EAAWR,OAAS,EAAGH,GAAK,EAAGA,KAASe,EAAIJ,EAAWX,MAAIiB,GAAKD,EAAI,EAAID,EAAEE,GAAKD,EAAI,EAAID,EAAEH,EAAQC,EAAKI,GAAKF,EAAEH,EAAQC,KAASI,GAChJ,OAAOD,EAAI,GAAKC,GAAKrB,OAAOyB,eAAeT,EAAQC,EAAKI,GAAIA,EAOzD,SAASK,EAAWC,EAAaC,GACpC,GAAuB,iBAAZL,SAAoD,mBAArBA,QAAQM,SAAyB,OAAON,QAAQM,SAASF,EAAaC,GAuD7G,SAASE,EAAOC,EAAG1B,GACtB,IAAI2B,EAAsB,mBAAXC,QAAyBF,EAAEE,OAAOC,UACjD,IAAKF,EAAG,OAAOD,EACf,IAAmBV,EAAYc,EAA3B/B,EAAI4B,EAAErB,KAAKoB,GAAOK,EAAK,GAC3B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AOA,SAAAC,KAKA,SAAAC,iHAjCF,CAAiBf,IAAAA,EAAoB,KCArC,IAAAgB,EAAA,WAQE,SAAAA,EAAoB9F,GAAA1E,KAAA0E,MAAAA,SAEpB8F,EAAA5K,UAAA0D,oBAAA,WACE,OAAOtD,KAAK0E,MAAMqD,eAAe3E,EAA0BE,sBAE7DkH,EAAA5K,UAAA6D,qBAAA,WACE,OAAOzD,KAAK0E,MAAMqD,eAAe3E,EAA0BK,2CAV9DT,EAAAA,WAAUC,KAAA,CAAC,CACVC,WAAY,oDAJL4F,EAAAA,qIADT","sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { PermissionManagement } from '../models/permission-management';\r\n\r\nexport class GetPermissions {\r\n static readonly type = '[PermissionManagement] Get Permissions';\r\n constructor(public payload: PermissionManagement.GrantedProvider) {}\r\n}\r\n\r\nexport class UpdatePermissions {\r\n static readonly type = '[PermissionManagement] Update Permissions';\r\n constructor(public payload: PermissionManagement.GrantedProvider & PermissionManagement.UpdateRequest) {}\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport { Observable } from 'rxjs';\r\nimport { PermissionManagement } from '../models/permission-management';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PermissionManagementService {\r\n constructor(private rest: RestService) {}\r\n\r\n getPermissions(params: PermissionManagement.GrantedProvider): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/abp/permissions',\r\n params,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n updatePermissions({\r\n permissions,\r\n providerKey,\r\n providerName,\r\n }: PermissionManagement.GrantedProvider & PermissionManagement.UpdateRequest): Observable {\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url: '/api/abp/permissions',\r\n body: { permissions },\r\n params: { providerKey, providerName },\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n}\r\n","import { State, Action, StateContext, Selector } from '@ngxs/store';\r\nimport { GetPermissions, UpdatePermissions } from '../actions/permission-management.actions';\r\nimport { PermissionManagement } from '../models/permission-management';\r\nimport { PermissionManagementService } from '../services/permission-management.service';\r\nimport { tap } from 'rxjs/operators';\r\n\r\n@State({\r\n name: 'PermissionManagementState',\r\n defaults: { permissionRes: {} } as PermissionManagement.State,\r\n})\r\nexport class PermissionManagementState {\r\n @Selector()\r\n static getPermissionGroups({ permissionRes }: PermissionManagement.State) {\r\n return permissionRes.groups || [];\r\n }\r\n\r\n @Selector()\r\n static getEntityDisplayName({ permissionRes }: PermissionManagement.State): string {\r\n return permissionRes.entityDisplayName;\r\n }\r\n\r\n constructor(private permissionManagementService: PermissionManagementService) {}\r\n\r\n @Action(GetPermissions)\r\n permissionManagementGet({ patchState }: StateContext, { payload }: GetPermissions) {\r\n return this.permissionManagementService.getPermissions(payload).pipe(\r\n tap(permissionResponse =>\r\n patchState({\r\n permissionRes: permissionResponse,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(UpdatePermissions)\r\n permissionManagementUpdate(_, { payload }: UpdatePermissions) {\r\n return this.permissionManagementService.updatePermissions(payload);\r\n }\r\n}\r\n","import {\r\n Component,\r\n EventEmitter,\r\n Input,\r\n OnChanges,\r\n OnInit,\r\n Output,\r\n Renderer2,\r\n SimpleChanges,\r\n TrackByFunction,\r\n} from '@angular/core';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { from, Observable } from 'rxjs';\r\nimport { map, pluck, take, finalize } from 'rxjs/operators';\r\nimport { GetPermissions, UpdatePermissions } from '../actions/permission-management.actions';\r\nimport { PermissionManagement } from '../models/permission-management';\r\nimport { PermissionManagementState } from '../states/permission-management.state';\r\n\r\ntype PermissionWithMargin = PermissionManagement.Permission & {\r\n margin: number;\r\n};\r\n\r\n@Component({\r\n selector: 'abp-permission-management',\r\n templateUrl: './permission-management.component.html',\r\n})\r\nexport class PermissionManagementComponent implements OnInit, OnChanges {\r\n @Input()\r\n providerName: string;\r\n\r\n @Input()\r\n providerKey: string;\r\n\r\n @Input()\r\n hideBadges = false;\r\n\r\n protected _visible;\r\n\r\n @Input()\r\n get visible(): boolean {\r\n return this._visible;\r\n }\r\n\r\n set visible(value: boolean) {\r\n if (!this.selectedGroup) return;\r\n\r\n this._visible = value;\r\n this.visibleChange.emit(value);\r\n\r\n if (!value) {\r\n this.selectedGroup = null;\r\n }\r\n }\r\n\r\n @Output() readonly visibleChange = new EventEmitter();\r\n\r\n @Select(PermissionManagementState.getPermissionGroups)\r\n groups$: Observable;\r\n\r\n @Select(PermissionManagementState.getEntityDisplayName)\r\n entityName$: Observable;\r\n\r\n selectedGroup: PermissionManagement.Group;\r\n\r\n permissions: PermissionManagement.Permission[] = [];\r\n\r\n selectThisTab = false;\r\n\r\n selectAllTab = false;\r\n\r\n modalBusy = false;\r\n\r\n trackByFn: TrackByFunction = (_, item) => item.name;\r\n\r\n get selectedGroupPermissions$(): Observable {\r\n return this.groups$.pipe(\r\n map(groups =>\r\n this.selectedGroup\r\n ? groups.find(group => group.name === this.selectedGroup.name).permissions\r\n : [],\r\n ),\r\n map(permissions =>\r\n permissions.map(\r\n permission =>\r\n (({\r\n ...permission,\r\n margin: findMargin(permissions, permission),\r\n isGranted: this.permissions.find(per => per.name === permission.name).isGranted,\r\n } as any) as PermissionWithMargin),\r\n ),\r\n ),\r\n );\r\n }\r\n\r\n constructor(private store: Store, private renderer: Renderer2) {}\r\n\r\n ngOnInit(): void {}\r\n\r\n getChecked(name: string) {\r\n return (this.permissions.find(per => per.name === name) || { isGranted: false }).isGranted;\r\n }\r\n\r\n isGrantedByOtherProviderName(grantedProviders: PermissionManagement.GrantedProvider[]): boolean {\r\n if (grantedProviders.length) {\r\n return grantedProviders.findIndex(p => p.providerName !== this.providerName) > -1;\r\n }\r\n return false;\r\n }\r\n\r\n onClickCheckbox(clickedPermission: PermissionManagement.Permission, value) {\r\n if (\r\n clickedPermission.isGranted &&\r\n this.isGrantedByOtherProviderName(clickedPermission.grantedProviders)\r\n )\r\n return;\r\n\r\n setTimeout(() => {\r\n this.permissions = this.permissions.map(per => {\r\n if (clickedPermission.name === per.name) {\r\n return { ...per, isGranted: !per.isGranted };\r\n } else if (clickedPermission.name === per.parentName && clickedPermission.isGranted) {\r\n return { ...per, isGranted: false };\r\n } else if (clickedPermission.parentName === per.name && !clickedPermission.isGranted) {\r\n return { ...per, isGranted: true };\r\n }\r\n\r\n return per;\r\n });\r\n\r\n this.setTabCheckboxState();\r\n this.setGrantCheckboxState();\r\n }, 0);\r\n }\r\n\r\n setTabCheckboxState() {\r\n this.selectedGroupPermissions$.pipe(take(1)).subscribe(permissions => {\r\n const selectedPermissions = permissions.filter(per => per.isGranted);\r\n const element = document.querySelector('#select-all-in-this-tabs') as any;\r\n\r\n if (selectedPermissions.length === permissions.length) {\r\n element.indeterminate = false;\r\n this.selectThisTab = true;\r\n } else if (selectedPermissions.length === 0) {\r\n element.indeterminate = false;\r\n this.selectThisTab = false;\r\n } else {\r\n element.indeterminate = true;\r\n }\r\n });\r\n }\r\n\r\n setGrantCheckboxState() {\r\n const selectedAllPermissions = this.permissions.filter(per => per.isGranted);\r\n const checkboxElement = document.querySelector('#select-all-in-all-tabs') as any;\r\n\r\n if (selectedAllPermissions.length === this.permissions.length) {\r\n checkboxElement.indeterminate = false;\r\n this.selectAllTab = true;\r\n } else if (selectedAllPermissions.length === 0) {\r\n checkboxElement.indeterminate = false;\r\n this.selectAllTab = false;\r\n } else {\r\n checkboxElement.indeterminate = true;\r\n }\r\n }\r\n\r\n onClickSelectThisTab() {\r\n this.selectedGroupPermissions$.pipe(take(1)).subscribe(permissions => {\r\n permissions.forEach(permission => {\r\n if (permission.isGranted && this.isGrantedByOtherProviderName(permission.grantedProviders))\r\n return;\r\n\r\n const index = this.permissions.findIndex(per => per.name === permission.name);\r\n\r\n this.permissions = [\r\n ...this.permissions.slice(0, index),\r\n { ...this.permissions[index], isGranted: !this.selectThisTab },\r\n ...this.permissions.slice(index + 1),\r\n ];\r\n });\r\n });\r\n\r\n this.setGrantCheckboxState();\r\n }\r\n\r\n onClickSelectAll() {\r\n this.permissions = this.permissions.map(permission => ({\r\n ...permission,\r\n isGranted:\r\n this.isGrantedByOtherProviderName(permission.grantedProviders) || !this.selectAllTab,\r\n }));\r\n\r\n this.selectThisTab = !this.selectAllTab;\r\n }\r\n\r\n onChangeGroup(group: PermissionManagement.Group) {\r\n this.selectedGroup = group;\r\n this.setTabCheckboxState();\r\n }\r\n\r\n submit() {\r\n this.modalBusy = true;\r\n const unchangedPermissions = getPermissions(\r\n this.store.selectSnapshot(PermissionManagementState.getPermissionGroups),\r\n );\r\n\r\n const changedPermissions: PermissionManagement.MinimumPermission[] = this.permissions\r\n .filter(per =>\r\n unchangedPermissions.find(unchanged => unchanged.name === per.name).isGranted ===\r\n per.isGranted\r\n ? false\r\n : true,\r\n )\r\n .map(({ name, isGranted }) => ({ name, isGranted }));\r\n\r\n if (changedPermissions.length) {\r\n this.store\r\n .dispatch(\r\n new UpdatePermissions({\r\n providerKey: this.providerKey,\r\n providerName: this.providerName,\r\n permissions: changedPermissions,\r\n }),\r\n )\r\n .pipe(finalize(() => (this.modalBusy = false)))\r\n .subscribe(() => {\r\n this.visible = false;\r\n });\r\n } else {\r\n this.modalBusy = false;\r\n this.visible = false;\r\n }\r\n }\r\n\r\n openModal() {\r\n if (!this.providerKey || !this.providerName) {\r\n throw new Error('Provider Key and Provider Name are required.');\r\n }\r\n\r\n this.store\r\n .dispatch(\r\n new GetPermissions({\r\n providerKey: this.providerKey,\r\n providerName: this.providerName,\r\n }),\r\n )\r\n .pipe(pluck('PermissionManagementState', 'permissionRes'))\r\n .subscribe((permissionRes: PermissionManagement.Response) => {\r\n this.selectedGroup = permissionRes.groups[0];\r\n this.permissions = getPermissions(permissionRes.groups);\r\n\r\n this.visible = true;\r\n });\r\n }\r\n\r\n initModal() {\r\n this.setTabCheckboxState();\r\n this.setGrantCheckboxState();\r\n }\r\n\r\n ngOnChanges({ visible }: SimpleChanges): void {\r\n if (!visible) return;\r\n\r\n if (visible.currentValue) {\r\n this.openModal();\r\n } else if (visible.currentValue === false && this.visible) {\r\n this.visible = false;\r\n }\r\n }\r\n}\r\n\r\nfunction findMargin(\r\n permissions: PermissionManagement.Permission[],\r\n permission: PermissionManagement.Permission,\r\n) {\r\n const parentPermission = permissions.find(per => per.name === permission.parentName);\r\n\r\n if (parentPermission && parentPermission.parentName) {\r\n let margin = 20;\r\n return (margin += findMargin(permissions, parentPermission));\r\n }\r\n\r\n return parentPermission ? 20 : 0;\r\n}\r\n\r\nfunction getPermissions(groups: PermissionManagement.Group[]): PermissionManagement.Permission[] {\r\n return groups.reduce((acc, val) => [...acc, ...val.permissions], []);\r\n}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule } from '@angular/core';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { PermissionManagementComponent } from './components/permission-management.component';\r\nimport { PermissionManagementState } from './states/permission-management.state';\r\n\r\n@NgModule({\r\n declarations: [PermissionManagementComponent],\r\n imports: [CoreModule, ThemeSharedModule, NgxsModule.forFeature([PermissionManagementState])],\r\n exports: [PermissionManagementComponent],\r\n})\r\nexport class PermissionManagementModule {}\r\n","export namespace PermissionManagement {\r\n export interface State {\r\n permissionRes: Response;\r\n }\r\n\r\n export interface Response {\r\n entityDisplayName: string;\r\n groups: Group[];\r\n }\r\n\r\n export interface Group {\r\n name: string;\r\n displayName: string;\r\n permissions: Permission[];\r\n }\r\n\r\n export interface MinimumPermission {\r\n name: string;\r\n isGranted: boolean;\r\n }\r\n\r\n export interface Permission extends MinimumPermission {\r\n displayName: string;\r\n parentName: string;\r\n allowedProviders: string[];\r\n grantedProviders: GrantedProvider[];\r\n }\r\n\r\n export interface GrantedProvider {\r\n providerName: string;\r\n providerKey: string;\r\n }\r\n\r\n export interface UpdateRequest {\r\n permissions: MinimumPermission[];\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { PermissionManagementState } from '../states/permission-management.state';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PermissionManagementStateService {\r\n constructor(private store: Store) {}\r\n\r\n getPermissionGroups() {\r\n return this.store.selectSnapshot(PermissionManagementState.getPermissionGroups);\r\n }\r\n getEntityDisplayName() {\r\n return this.store.selectSnapshot(PermissionManagementState.getEntityDisplayName);\r\n }\r\n}\r\n"]} \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm2015/abp-ng.permission-management.js b/npm/ng-packs/dist/permission-management/esm2015/abp-ng.permission-management.js deleted file mode 100644 index a72fdefa719..00000000000 --- a/npm/ng-packs/dist/permission-management/esm2015/abp-ng.permission-management.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.permission-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { PermissionManagementModule, GetPermissions, UpdatePermissions, PermissionManagementComponent, PermissionManagementService, PermissionManagementStateService, PermissionManagementState } from './public-api'; -export { GetPermissions as ɵd, UpdatePermissions as ɵe } from './lib/actions/permission-management.actions'; -export { PermissionManagementComponent as ɵa } from './lib/components/permission-management.component'; -export { PermissionManagementService as ɵc } from './lib/services/permission-management.service'; -export { PermissionManagementState as ɵb } from './lib/states/permission-management.state'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLnBlcm1pc3Npb24tbWFuYWdlbWVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcucGVybWlzc2lvbi1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsiYWJwLW5nLnBlcm1pc3Npb24tbWFuYWdlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLHVNQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMsY0FBYyxJQUFJLEVBQUUsRUFBQyxpQkFBaUIsSUFBSSxFQUFFLEVBQUMsTUFBTSw2Q0FBNkMsQ0FBQztBQUN6RyxPQUFPLEVBQUMsNkJBQTZCLElBQUksRUFBRSxFQUFDLE1BQU0sa0RBQWtELENBQUM7QUFFckcsT0FBTyxFQUFDLDJCQUEyQixJQUFJLEVBQUUsRUFBQyxNQUFNLDhDQUE4QyxDQUFDO0FBQy9GLE9BQU8sRUFBQyx5QkFBeUIsSUFBSSxFQUFFLEVBQUMsTUFBTSwwQ0FBMEMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcblxuZXhwb3J0IHtHZXRQZXJtaXNzaW9ucyBhcyDJtWQsVXBkYXRlUGVybWlzc2lvbnMgYXMgybVlfSBmcm9tICcuL2xpYi9hY3Rpb25zL3Blcm1pc3Npb24tbWFuYWdlbWVudC5hY3Rpb25zJztcbmV4cG9ydCB7UGVybWlzc2lvbk1hbmFnZW1lbnRDb21wb25lbnQgYXMgybVhfSBmcm9tICcuL2xpYi9jb21wb25lbnRzL3Blcm1pc3Npb24tbWFuYWdlbWVudC5jb21wb25lbnQnO1xuZXhwb3J0IHtQZXJtaXNzaW9uTWFuYWdlbWVudCBhcyDJtWZ9IGZyb20gJy4vbGliL21vZGVscy9wZXJtaXNzaW9uLW1hbmFnZW1lbnQnO1xuZXhwb3J0IHtQZXJtaXNzaW9uTWFuYWdlbWVudFNlcnZpY2UgYXMgybVjfSBmcm9tICcuL2xpYi9zZXJ2aWNlcy9wZXJtaXNzaW9uLW1hbmFnZW1lbnQuc2VydmljZSc7XG5leHBvcnQge1Blcm1pc3Npb25NYW5hZ2VtZW50U3RhdGUgYXMgybVifSBmcm9tICcuL2xpYi9zdGF0ZXMvcGVybWlzc2lvbi1tYW5hZ2VtZW50LnN0YXRlJzsiXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm2015/lib/actions/index.js b/npm/ng-packs/dist/permission-management/esm2015/lib/actions/index.js deleted file mode 100644 index faab391ed0d..00000000000 --- a/npm/ng-packs/dist/permission-management/esm2015/lib/actions/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { GetPermissions, UpdatePermissions } from './permission-management.actions'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnBlcm1pc3Npb24tbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9hY3Rpb25zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsa0RBQWMsaUNBQWlDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3Blcm1pc3Npb24tbWFuYWdlbWVudC5hY3Rpb25zJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm2015/lib/actions/permission-management.actions.js b/npm/ng-packs/dist/permission-management/esm2015/lib/actions/permission-management.actions.js deleted file mode 100644 index ea8cf857e59..00000000000 --- a/npm/ng-packs/dist/permission-management/esm2015/lib/actions/permission-management.actions.js +++ /dev/null @@ -1,36 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/permission-management.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export class GetPermissions { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -GetPermissions.type = '[PermissionManagement] Get Permissions'; -if (false) { - /** @type {?} */ - GetPermissions.type; - /** @type {?} */ - GetPermissions.prototype.payload; -} -export class UpdatePermissions { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -UpdatePermissions.type = '[PermissionManagement] Update Permissions'; -if (false) { - /** @type {?} */ - UpdatePermissions.type; - /** @type {?} */ - UpdatePermissions.prototype.payload; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi1tYW5hZ2VtZW50LmFjdGlvbnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnBlcm1pc3Npb24tbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9hY3Rpb25zL3Blcm1pc3Npb24tbWFuYWdlbWVudC5hY3Rpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBRUEsTUFBTSxPQUFPLGNBQWM7Ozs7SUFFekIsWUFBbUIsT0FBNkM7UUFBN0MsWUFBTyxHQUFQLE9BQU8sQ0FBc0M7SUFBRyxDQUFDOztBQURwRCxtQkFBSSxHQUFHLHdDQUF3QyxDQUFDOzs7SUFBaEUsb0JBQWdFOztJQUNwRCxpQ0FBb0Q7O0FBR2xFLE1BQU0sT0FBTyxpQkFBaUI7Ozs7SUFFNUIsWUFBbUIsT0FBa0Y7UUFBbEYsWUFBTyxHQUFQLE9BQU8sQ0FBMkU7SUFBRyxDQUFDOztBQUR6RixzQkFBSSxHQUFHLDJDQUEyQyxDQUFDOzs7SUFBbkUsdUJBQW1FOztJQUN2RCxvQ0FBeUYiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQZXJtaXNzaW9uTWFuYWdlbWVudCB9IGZyb20gJy4uL21vZGVscy9wZXJtaXNzaW9uLW1hbmFnZW1lbnQnO1xyXG5cclxuZXhwb3J0IGNsYXNzIEdldFBlcm1pc3Npb25zIHtcclxuICBzdGF0aWMgcmVhZG9ubHkgdHlwZSA9ICdbUGVybWlzc2lvbk1hbmFnZW1lbnRdIEdldCBQZXJtaXNzaW9ucyc7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IFBlcm1pc3Npb25NYW5hZ2VtZW50LkdyYW50ZWRQcm92aWRlcikge31cclxufVxyXG5cclxuZXhwb3J0IGNsYXNzIFVwZGF0ZVBlcm1pc3Npb25zIHtcclxuICBzdGF0aWMgcmVhZG9ubHkgdHlwZSA9ICdbUGVybWlzc2lvbk1hbmFnZW1lbnRdIFVwZGF0ZSBQZXJtaXNzaW9ucyc7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IFBlcm1pc3Npb25NYW5hZ2VtZW50LkdyYW50ZWRQcm92aWRlciAmIFBlcm1pc3Npb25NYW5hZ2VtZW50LlVwZGF0ZVJlcXVlc3QpIHt9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm2015/lib/components/index.js b/npm/ng-packs/dist/permission-management/esm2015/lib/components/index.js deleted file mode 100644 index a399c481edf..00000000000 --- a/npm/ng-packs/dist/permission-management/esm2015/lib/components/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { PermissionManagementComponent } from './permission-management.component'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnBlcm1pc3Npb24tbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsOENBQWMsbUNBQW1DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3Blcm1pc3Npb24tbWFuYWdlbWVudC5jb21wb25lbnQnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm2015/lib/components/permission-management.component.js b/npm/ng-packs/dist/permission-management/esm2015/lib/components/permission-management.component.js deleted file mode 100644 index 51ed23c12b2..00000000000 --- a/npm/ng-packs/dist/permission-management/esm2015/lib/components/permission-management.component.js +++ /dev/null @@ -1,439 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/permission-management.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Component, EventEmitter, Input, Output, Renderer2, } from '@angular/core'; -import { Select, Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { map, pluck, take, finalize } from 'rxjs/operators'; -import { GetPermissions, UpdatePermissions } from '../actions/permission-management.actions'; -import { PermissionManagementState } from '../states/permission-management.state'; -export class PermissionManagementComponent { - /** - * @param {?} store - * @param {?} renderer - */ - constructor(store, renderer) { - this.store = store; - this.renderer = renderer; - this.hideBadges = false; - this.visibleChange = new EventEmitter(); - this.permissions = []; - this.selectThisTab = false; - this.selectAllTab = false; - this.modalBusy = false; - this.trackByFn = (/** - * @param {?} _ - * @param {?} item - * @return {?} - */ - (_, item) => item.name); - } - /** - * @return {?} - */ - get visible() { - return this._visible; - } - /** - * @param {?} value - * @return {?} - */ - set visible(value) { - if (!this.selectedGroup) - return; - this._visible = value; - this.visibleChange.emit(value); - if (!value) { - this.selectedGroup = null; - } - } - /** - * @return {?} - */ - get selectedGroupPermissions$() { - return this.groups$.pipe(map((/** - * @param {?} groups - * @return {?} - */ - groups => this.selectedGroup - ? groups.find((/** - * @param {?} group - * @return {?} - */ - group => group.name === this.selectedGroup.name)).permissions - : [])), map((/** - * @param {?} permissions - * @return {?} - */ - permissions => permissions.map((/** - * @param {?} permission - * @return {?} - */ - permission => ((/** @type {?} */ (((/** @type {?} */ (Object.assign({}, permission, { margin: findMargin(permissions, permission), isGranted: this.permissions.find((/** - * @param {?} per - * @return {?} - */ - per => per.name === permission.name)).isGranted })))))))))))); - } - /** - * @return {?} - */ - ngOnInit() { } - /** - * @param {?} name - * @return {?} - */ - getChecked(name) { - return (this.permissions.find((/** - * @param {?} per - * @return {?} - */ - per => per.name === name)) || { isGranted: false }).isGranted; - } - /** - * @param {?} grantedProviders - * @return {?} - */ - isGrantedByOtherProviderName(grantedProviders) { - if (grantedProviders.length) { - return grantedProviders.findIndex((/** - * @param {?} p - * @return {?} - */ - p => p.providerName !== this.providerName)) > -1; - } - return false; - } - /** - * @param {?} clickedPermission - * @param {?} value - * @return {?} - */ - onClickCheckbox(clickedPermission, value) { - if (clickedPermission.isGranted && - this.isGrantedByOtherProviderName(clickedPermission.grantedProviders)) - return; - setTimeout((/** - * @return {?} - */ - () => { - this.permissions = this.permissions.map((/** - * @param {?} per - * @return {?} - */ - per => { - if (clickedPermission.name === per.name) { - return Object.assign({}, per, { isGranted: !per.isGranted }); - } - else if (clickedPermission.name === per.parentName && clickedPermission.isGranted) { - return Object.assign({}, per, { isGranted: false }); - } - else if (clickedPermission.parentName === per.name && !clickedPermission.isGranted) { - return Object.assign({}, per, { isGranted: true }); - } - return per; - })); - this.setTabCheckboxState(); - this.setGrantCheckboxState(); - }), 0); - } - /** - * @return {?} - */ - setTabCheckboxState() { - this.selectedGroupPermissions$.pipe(take(1)).subscribe((/** - * @param {?} permissions - * @return {?} - */ - permissions => { - /** @type {?} */ - const selectedPermissions = permissions.filter((/** - * @param {?} per - * @return {?} - */ - per => per.isGranted)); - /** @type {?} */ - const element = (/** @type {?} */ (document.querySelector('#select-all-in-this-tabs'))); - if (selectedPermissions.length === permissions.length) { - element.indeterminate = false; - this.selectThisTab = true; - } - else if (selectedPermissions.length === 0) { - element.indeterminate = false; - this.selectThisTab = false; - } - else { - element.indeterminate = true; - } - })); - } - /** - * @return {?} - */ - setGrantCheckboxState() { - /** @type {?} */ - const selectedAllPermissions = this.permissions.filter((/** - * @param {?} per - * @return {?} - */ - per => per.isGranted)); - /** @type {?} */ - const checkboxElement = (/** @type {?} */ (document.querySelector('#select-all-in-all-tabs'))); - if (selectedAllPermissions.length === this.permissions.length) { - checkboxElement.indeterminate = false; - this.selectAllTab = true; - } - else if (selectedAllPermissions.length === 0) { - checkboxElement.indeterminate = false; - this.selectAllTab = false; - } - else { - checkboxElement.indeterminate = true; - } - } - /** - * @return {?} - */ - onClickSelectThisTab() { - this.selectedGroupPermissions$.pipe(take(1)).subscribe((/** - * @param {?} permissions - * @return {?} - */ - permissions => { - permissions.forEach((/** - * @param {?} permission - * @return {?} - */ - permission => { - if (permission.isGranted && this.isGrantedByOtherProviderName(permission.grantedProviders)) - return; - /** @type {?} */ - const index = this.permissions.findIndex((/** - * @param {?} per - * @return {?} - */ - per => per.name === permission.name)); - this.permissions = [ - ...this.permissions.slice(0, index), - Object.assign({}, this.permissions[index], { isGranted: !this.selectThisTab }), - ...this.permissions.slice(index + 1), - ]; - })); - })); - this.setGrantCheckboxState(); - } - /** - * @return {?} - */ - onClickSelectAll() { - this.permissions = this.permissions.map((/** - * @param {?} permission - * @return {?} - */ - permission => (Object.assign({}, permission, { isGranted: this.isGrantedByOtherProviderName(permission.grantedProviders) || !this.selectAllTab })))); - this.selectThisTab = !this.selectAllTab; - } - /** - * @param {?} group - * @return {?} - */ - onChangeGroup(group) { - this.selectedGroup = group; - this.setTabCheckboxState(); - } - /** - * @return {?} - */ - submit() { - this.modalBusy = true; - /** @type {?} */ - const unchangedPermissions = getPermissions(this.store.selectSnapshot(PermissionManagementState.getPermissionGroups)); - /** @type {?} */ - const changedPermissions = this.permissions - .filter((/** - * @param {?} per - * @return {?} - */ - per => unchangedPermissions.find((/** - * @param {?} unchanged - * @return {?} - */ - unchanged => unchanged.name === per.name)).isGranted === - per.isGranted - ? false - : true)) - .map((/** - * @param {?} __0 - * @return {?} - */ - ({ name, isGranted }) => ({ name, isGranted }))); - if (changedPermissions.length) { - this.store - .dispatch(new UpdatePermissions({ - providerKey: this.providerKey, - providerName: this.providerName, - permissions: changedPermissions, - })) - .pipe(finalize((/** - * @return {?} - */ - () => (this.modalBusy = false)))) - .subscribe((/** - * @return {?} - */ - () => { - this.visible = false; - })); - } - else { - this.modalBusy = false; - this.visible = false; - } - } - /** - * @return {?} - */ - openModal() { - if (!this.providerKey || !this.providerName) { - throw new Error('Provider Key and Provider Name are required.'); - } - this.store - .dispatch(new GetPermissions({ - providerKey: this.providerKey, - providerName: this.providerName, - })) - .pipe(pluck('PermissionManagementState', 'permissionRes')) - .subscribe((/** - * @param {?} permissionRes - * @return {?} - */ - (permissionRes) => { - this.selectedGroup = permissionRes.groups[0]; - this.permissions = getPermissions(permissionRes.groups); - this.visible = true; - })); - } - /** - * @return {?} - */ - initModal() { - this.setTabCheckboxState(); - this.setGrantCheckboxState(); - } - /** - * @param {?} __0 - * @return {?} - */ - ngOnChanges({ visible }) { - if (!visible) - return; - if (visible.currentValue) { - this.openModal(); - } - else if (visible.currentValue === false && this.visible) { - this.visible = false; - } - } -} -PermissionManagementComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-permission-management', - template: "\r\n \r\n \r\n

\r\n {{ 'AbpPermissionManagement::Permissions' | abpLocalization }} - {{ data.entityName }}\r\n

\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n {{ group?.displayName }}\r\n
  • \r\n
\r\n
\r\n
\r\n

{{ selectedGroup?.displayName }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n {{ permission.displayName }}\r\n \r\n {{ provider.providerName }}: {{ provider.providerKey }}\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n
\r\n" - }] } -]; -/** @nocollapse */ -PermissionManagementComponent.ctorParameters = () => [ - { type: Store }, - { type: Renderer2 } -]; -PermissionManagementComponent.propDecorators = { - providerName: [{ type: Input }], - providerKey: [{ type: Input }], - hideBadges: [{ type: Input }], - visible: [{ type: Input }], - visibleChange: [{ type: Output }] -}; -tslib_1.__decorate([ - Select(PermissionManagementState.getPermissionGroups), - tslib_1.__metadata("design:type", Observable) -], PermissionManagementComponent.prototype, "groups$", void 0); -tslib_1.__decorate([ - Select(PermissionManagementState.getEntityDisplayName), - tslib_1.__metadata("design:type", Observable) -], PermissionManagementComponent.prototype, "entityName$", void 0); -if (false) { - /** @type {?} */ - PermissionManagementComponent.prototype.providerName; - /** @type {?} */ - PermissionManagementComponent.prototype.providerKey; - /** @type {?} */ - PermissionManagementComponent.prototype.hideBadges; - /** - * @type {?} - * @protected - */ - PermissionManagementComponent.prototype._visible; - /** @type {?} */ - PermissionManagementComponent.prototype.visibleChange; - /** @type {?} */ - PermissionManagementComponent.prototype.groups$; - /** @type {?} */ - PermissionManagementComponent.prototype.entityName$; - /** @type {?} */ - PermissionManagementComponent.prototype.selectedGroup; - /** @type {?} */ - PermissionManagementComponent.prototype.permissions; - /** @type {?} */ - PermissionManagementComponent.prototype.selectThisTab; - /** @type {?} */ - PermissionManagementComponent.prototype.selectAllTab; - /** @type {?} */ - PermissionManagementComponent.prototype.modalBusy; - /** @type {?} */ - PermissionManagementComponent.prototype.trackByFn; - /** - * @type {?} - * @private - */ - PermissionManagementComponent.prototype.store; - /** - * @type {?} - * @private - */ - PermissionManagementComponent.prototype.renderer; -} -/** - * @param {?} permissions - * @param {?} permission - * @return {?} - */ -function findMargin(permissions, permission) { - /** @type {?} */ - const parentPermission = permissions.find((/** - * @param {?} per - * @return {?} - */ - per => per.name === permission.parentName)); - if (parentPermission && parentPermission.parentName) { - /** @type {?} */ - let margin = 20; - return (margin += findMargin(permissions, parentPermission)); - } - return parentPermission ? 20 : 0; -} -/** - * @param {?} groups - * @return {?} - */ -function getPermissions(groups) { - return groups.reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - (acc, val) => [...acc, ...val.permissions]), []); -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi1tYW5hZ2VtZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcucGVybWlzc2lvbi1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvcGVybWlzc2lvbi1tYW5hZ2VtZW50LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULFlBQVksRUFDWixLQUFLLEVBR0wsTUFBTSxFQUNOLFNBQVMsR0FHVixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUM1QyxPQUFPLEVBQVEsVUFBVSxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQ3hDLE9BQU8sRUFBRSxHQUFHLEVBQUUsS0FBSyxFQUFFLElBQUksRUFBRSxRQUFRLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM1RCxPQUFPLEVBQU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npb25zOiBQZXJtaXNzaW9uTWFuYWdlbWVudC5QZXJtaXNzaW9uW10sXHJcbiAgcGVybWlzc2lvbjogUGVybWlzc2lvbk1hbmFnZW1lbnQuUGVybWlzc2lvbixcclxuKSB7XHJcbiAgY29uc3QgcGFyZW50UGVybWlzc2lvbiA9IHBlcm1pc3Npb25zLmZpbmQocGVyID0+IHBlci5uYW1lID09PSBwZXJtaXNzaW9uLnBhcmVudE5hbWUpO1xyXG5cclxuICBpZiAocGFyZW50UGVybWlzc2lvbiAmJiBwYXJlbnRQZXJtaXNzaW9uLnBhcmVudE5hbWUpIHtcclxuICAgIGxldCBtYXJnaW4gPSAyMDtcclxuICAgIHJldHVybiAobWFyZ2luICs9IGZpbmRNYXJnaW4ocGVybWlzc2lvbnMsIHBhcmVudFBlcm1pc3Npb24pKTtcclxuICB9XHJcblxyXG4gIHJldHVybiBwYXJlbnRQZXJtaXNzaW9uID8gMjAgOiAwO1xyXG59XHJcblxyXG5mdW5jdGlvbiBnZXRQZXJtaXNzaW9ucyhncm91cHM6IFBlcm1pc3Npb25NYW5hZ2VtZW50Lkdyb3VwW10pOiBQZXJtaXNzaW9uTWFuYWdlbWVudC5QZXJtaXNzaW9uW10ge1xyXG4gIHJldHVybiBncm91cHMucmVkdWNlKChhY2MsIHZhbCkgPT4gWy4uLmFjYywgLi4udmFsLnBlcm1pc3Npb25zXSwgW10pO1xyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm2015/lib/models/index.js b/npm/ng-packs/dist/permission-management/esm2015/lib/models/index.js deleted file mode 100644 index efd7ca016b5..00000000000 --- a/npm/ng-packs/dist/permission-management/esm2015/lib/models/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export {} from './permission-management'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnBlcm1pc3Npb24tbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxlQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wZXJtaXNzaW9uLW1hbmFnZW1lbnQnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm2015/lib/models/permission-management.js b/npm/ng-packs/dist/permission-management/esm2015/lib/models/permission-management.js deleted file mode 100644 index 38716ae75dd..00000000000 --- a/npm/ng-packs/dist/permission-management/esm2015/lib/models/permission-management.js +++ /dev/null @@ -1,88 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/permission-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var PermissionManagement; -(function (PermissionManagement) { - /** - * @record - */ - function State() { } - PermissionManagement.State = State; - if (false) { - /** @type {?} */ - State.prototype.permissionRes; - } - /** - * @record - */ - function Response() { } - PermissionManagement.Response = Response; - if (false) { - /** @type {?} */ - Response.prototype.entityDisplayName; - /** @type {?} */ - Response.prototype.groups; - } - /** - * @record - */ - function Group() { } - PermissionManagement.Group = Group; - if (false) { - /** @type {?} */ - Group.prototype.name; - /** @type {?} */ - Group.prototype.displayName; - /** @type {?} */ - Group.prototype.permissions; - } - /** - * @record - */ - function MinimumPermission() { } - PermissionManagement.MinimumPermission = MinimumPermission; - if (false) { - /** @type {?} */ - MinimumPermission.prototype.name; - /** @type {?} */ - MinimumPermission.prototype.isGranted; - } - /** - * @record - */ - function Permission() { } - PermissionManagement.Permission = Permission; - if (false) { - /** @type {?} */ - Permission.prototype.displayName; - /** @type {?} */ - Permission.prototype.parentName; - /** @type {?} */ - Permission.prototype.allowedProviders; - /** @type {?} */ - Permission.prototype.grantedProviders; - } - /** - * @record - */ - function GrantedProvider() { } - PermissionManagement.GrantedProvider = GrantedProvider; - if (false) { - /** @type {?} */ - GrantedProvider.prototype.providerName; - /** @type {?} */ - GrantedProvider.prototype.providerKey; - } - /** - * @record - */ - function UpdateRequest() { } - PermissionManagement.UpdateRequest = UpdateRequest; - if (false) { - /** @type {?} */ - UpdateRequest.prototype.permissions; - } -})(PermissionManagement || (PermissionManagement = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi1tYW5hZ2VtZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5wZXJtaXNzaW9uLW1hbmFnZW1lbnQvIiwic291cmNlcyI6WyJsaWIvbW9kZWxzL3Blcm1pc3Npb24tbWFuYWdlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE1BQU0sS0FBVyxvQkFBb0IsQ0FvQ3BDO0FBcENELFdBQWlCLG9CQUFvQjs7OztJQUNuQyxvQkFFQzs7OztRQURDLDhCQUF3Qjs7Ozs7SUFHMUIsdUJBR0M7Ozs7UUFGQyxxQ0FBMEI7O1FBQzFCLDBCQUFnQjs7Ozs7SUFHbEIsb0JBSUM7Ozs7UUFIQyxxQkFBYTs7UUFDYiw0QkFBb0I7O1FBQ3BCLDRCQUEwQjs7Ozs7SUFHNUIsZ0NBR0M7Ozs7UUFGQyxpQ0FBYTs7UUFDYixzQ0FBbUI7Ozs7O0lBR3JCLHlCQUtDOzs7O1FBSkMsaUNBQW9COztRQUNwQixnQ0FBbUI7O1FBQ25CLHNDQUEyQjs7UUFDM0Isc0NBQW9DOzs7OztJQUd0Qyw4QkFHQzs7OztRQUZDLHVDQUFxQjs7UUFDckIsc0NBQW9COzs7OztJQUd0Qiw0QkFFQzs7OztRQURDLG9DQUFpQzs7QU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BvcnQgaW50ZXJmYWNlIFVwZGF0ZVJlcXVlc3Qge1xyXG4gICAgcGVybWlzc2lvbnM6IE1pbmltdW1QZXJtaXNzaW9uW107XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm2015/lib/permission-management.module.js b/npm/ng-packs/dist/permission-management/esm2015/lib/permission-management.module.js deleted file mode 100644 index 699040eb16e..00000000000 --- a/npm/ng-packs/dist/permission-management/esm2015/lib/permission-management.module.js +++ /dev/null @@ -1,21 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/permission-management.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { CoreModule } from '@abp/ng.core'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; -import { NgModule } from '@angular/core'; -import { NgxsModule } from '@ngxs/store'; -import { PermissionManagementComponent } from './components/permission-management.component'; -import { PermissionManagementState } from './states/permission-management.state'; -export class PermissionManagementModule { -} -PermissionManagementModule.decorators = [ - { type: NgModule, args: [{ - declarations: [PermissionManagementComponent], - imports: [CoreModule, ThemeSharedModule, NgxsModule.forFeature([PermissionManagementState])], - exports: [PermissionManagementComponent], - },] } -]; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi1tYW5hZ2VtZW50Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcucGVybWlzc2lvbi1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL3Blcm1pc3Npb24tbWFuYWdlbWVudC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQzFDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3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AgZGVjbGFyYXRpb25zOiBbUGVybWlzc2lvbk1hbmFnZW1lbnRDb21wb25lbnRdLFxyXG4gIGltcG9ydHM6IFtDb3JlTW9kdWxlLCBUaGVtZVNoYXJlZE1vZHVsZSwgTmd4c01vZHVsZS5mb3JGZWF0dXJlKFtQZXJtaXNzaW9uTWFuYWdlbWVudFN0YXRlXSldLFxyXG4gIGV4cG9ydHM6IFtQZXJtaXNzaW9uTWFuYWdlbWVudENvbXBvbmVudF0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBQZXJtaXNzaW9uTWFuYWdlbWVudE1vZHVsZSB7fVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm2015/lib/services/index.js b/npm/ng-packs/dist/permission-management/esm2015/lib/services/index.js deleted file mode 100644 index 554d9b6d4a8..00000000000 --- a/npm/ng-packs/dist/permission-management/esm2015/lib/services/index.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { PermissionManagementService } from './permission-management.service'; -export { PermissionManagementStateService } from './permission-management-state.service'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnBlcm1pc3Npb24tbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9zZXJ2aWNlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLDRDQUFjLGlDQUFpQyxDQUFDO0FBQ2hELGlEQUFjLHVDQUF1QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wZXJtaXNzaW9uLW1hbmFnZW1lbnQuc2VydmljZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vcGVybWlzc2lvbi1tYW5hZ2VtZW50LXN0YXRlLnNlcnZpY2UnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm2015/lib/services/permission-management-state.service.js b/npm/ng-packs/dist/permission-management/esm2015/lib/services/permission-management-state.service.js deleted file mode 100644 index 12521955677..00000000000 --- a/npm/ng-packs/dist/permission-management/esm2015/lib/services/permission-management-state.service.js +++ /dev/null @@ -1,48 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/permission-management-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { PermissionManagementState } from '../states/permission-management.state'; -import * as i0 from "@angular/core"; -import * as i1 from "@ngxs/store"; -export class PermissionManagementStateService { - /** - * @param {?} store - */ - constructor(store) { - this.store = store; - } - /** - * @return {?} - */ - getPermissionGroups() { - return this.store.selectSnapshot(PermissionManagementState.getPermissionGroups); - } - /** - * @return {?} - */ - getEntityDisplayName() { - return this.store.selectSnapshot(PermissionManagementState.getEntityDisplayName); - } -} -PermissionManagementStateService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -PermissionManagementStateService.ctorParameters = () => [ - { type: Store } -]; -/** @nocollapse */ PermissionManagementStateService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function PermissionManagementStateService_Factory() { return new PermissionManagementStateService(i0.ɵɵinject(i1.Store)); }, token: PermissionManagementStateService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - PermissionManagementStateService.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi1tYW5hZ2VtZW50LXN0YXRlLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnBlcm1pc3Npb24tbWFuYWdlbWVudC8iLCJzb3VyY2VzIj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3Jvb3QnLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgUGVybWlzc2lvbk1hbmFnZW1lbnRTdGF0ZVNlcnZpY2Uge1xyXG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgc3RvcmU6IFN0b3JlKSB7fVxyXG5cclxuICBnZXRQZXJtaXNzaW9uR3JvdXBzKCkge1xyXG4gICAgcmV0dXJuIHRoaXMuc3RvcmUuc2VsZWN0U25hcHNob3QoUGVybWlzc2lvbk1hbmFnZW1lbnRTdGF0ZS5nZXRQZXJtaXNzaW9uR3JvdXBzKTtcclxuICB9XHJcbiAgZ2V0RW50aXR5RGlzcGxheU5hbWUoKSB7XHJcbiAgICByZXR1cm4gdGhpcy5zdG9yZS5zZWxlY3RTbmFwc2hvdChQZXJtaXNzaW9uTWFuYWdlbWVudFN0YXRlLmdldEVudGl0eURpc3BsYXlOYW1lKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm2015/lib/services/permission-management.service.js b/npm/ng-packs/dist/permission-management/esm2015/lib/services/permission-management.service.js deleted file mode 100644 index a383a156107..00000000000 --- a/npm/ng-packs/dist/permission-management/esm2015/lib/services/permission-management.service.js +++ /dev/null @@ -1,62 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/permission-management.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { RestService } from '@abp/ng.core'; -import * as i0 from "@angular/core"; -import * as i1 from "@abp/ng.core"; -export class PermissionManagementService { - /** - * @param {?} rest - */ - constructor(rest) { - this.rest = rest; - } - /** - * @param {?} params - * @return {?} - */ - getPermissions(params) { - /** @type {?} */ - const request = { - method: 'GET', - url: '/api/abp/permissions', - params, - }; - return this.rest.request(request); - } - /** - * @param {?} __0 - * @return {?} - */ - updatePermissions({ permissions, providerKey, providerName, }) { - /** @type {?} */ - const request = { - method: 'PUT', - url: '/api/abp/permissions', - body: { permissions }, - params: { providerKey, providerName }, - }; - return this.rest.request(request); - } -} -PermissionManagementService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -PermissionManagementService.ctorParameters = () => [ - { type: RestService } -]; -/** @nocollapse */ PermissionManagementService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function PermissionManagementService_Factory() { return new PermissionManagementService(i0.ɵɵinject(i1.RestService)); }, token: PermissionManagementService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - PermissionManagementService.prototype.rest; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi1tYW5hZ2VtZW50LnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnBlcm1pc3Npb24tbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9zZXJ2aWNlcy9wZXJtaXNzaW9uLW1hbmFnZW1lbnQuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLFdBQVcsRUFBUSxNQUFNLGNBQWMsQ0FBQzs7O0FBT2pELE1BQU0sT0FBTywyQkFBMkI7Ozs7SUFDdEMsWUFBb0IsSUFBaUI7UUFBakIsU0FBSSxHQUFKLElBQUksQ0FBYTtJQUFHLENBQUM7Ozs7O0lBRXpDLGNBQWMsQ0FBQyxNQUE0Qzs7Y0FDbkQsT0FBTyxHQUF1RDtZQUNsRSxNQUFNLEVBQUUsS0FBSztZQUNiLEdBQUcsRUFBRSxzQkFBc0I7WUFDM0IsTUFBTTtTQUNQO1FBRUQsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBc0UsT0FBTyxDQUFDLENBQUM7SUFDekcsQ0FBQzs7Ozs7SU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N0LCBudWxsPihyZXF1ZXN0KTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm2015/lib/states/index.js b/npm/ng-packs/dist/permission-management/esm2015/lib/states/index.js deleted file mode 100644 index 9aa0719b446..00000000000 --- a/npm/ng-packs/dist/permission-management/esm2015/lib/states/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { PermissionManagementState } from './permission-management.state'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnBlcm1pc3Npb24tbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9zdGF0ZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSwwQ0FBYywrQkFBK0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcGVybWlzc2lvbi1tYW5hZ2VtZW50LnN0YXRlJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm2015/lib/states/permission-management.state.js b/npm/ng-packs/dist/permission-management/esm2015/lib/states/permission-management.state.js deleted file mode 100644 index 053cba581b4..00000000000 --- a/npm/ng-packs/dist/permission-management/esm2015/lib/states/permission-management.state.js +++ /dev/null @@ -1,97 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/permission-management.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { State, Action, Selector } from '@ngxs/store'; -import { GetPermissions, UpdatePermissions } from '../actions/permission-management.actions'; -import { PermissionManagementService } from '../services/permission-management.service'; -import { tap } from 'rxjs/operators'; -let PermissionManagementState = class PermissionManagementState { - /** - * @param {?} permissionManagementService - */ - constructor(permissionManagementService) { - this.permissionManagementService = permissionManagementService; - } - /** - * @param {?} __0 - * @return {?} - */ - static getPermissionGroups({ permissionRes }) { - return permissionRes.groups || []; - } - /** - * @param {?} __0 - * @return {?} - */ - static getEntityDisplayName({ permissionRes }) { - return permissionRes.entityDisplayName; - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - permissionManagementGet({ patchState }, { payload }) { - return this.permissionManagementService.getPermissions(payload).pipe(tap((/** - * @param {?} permissionResponse - * @return {?} - */ - permissionResponse => patchState({ - permissionRes: permissionResponse, - })))); - } - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - permissionManagementUpdate(_, { payload }) { - return this.permissionManagementService.updatePermissions(payload); - } -}; -PermissionManagementState.ctorParameters = () => [ - { type: PermissionManagementService } -]; -tslib_1.__decorate([ - Action(GetPermissions), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetPermissions]), - tslib_1.__metadata("design:returntype", void 0) -], PermissionManagementState.prototype, "permissionManagementGet", null); -tslib_1.__decorate([ - Action(UpdatePermissions), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, UpdatePermissions]), - tslib_1.__metadata("design:returntype", void 0) -], PermissionManagementState.prototype, "permissionManagementUpdate", null); -tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", void 0) -], PermissionManagementState, "getPermissionGroups", null); -tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", String) -], PermissionManagementState, "getEntityDisplayName", null); -PermissionManagementState = tslib_1.__decorate([ - State({ - name: 'PermissionManagementState', - defaults: (/** @type {?} */ ({ permissionRes: {} })), - }), - tslib_1.__metadata("design:paramtypes", [PermissionManagementService]) -], PermissionManagementState); -export { PermissionManagementState }; -if (false) { - /** - * @type {?} - * @private - */ - PermissionManagementState.prototype.permissionManagementService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi1tYW5hZ2VtZW50LnN0YXRlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5wZXJtaXNzaW9uLW1hbmFnZW1lbnQvIiwic291cmNlcyI6WyJsaWIvc3RhdGVzL3Blcm1pc3Npb24tbWFuYWdlbWVudC5zdGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBZ0IsUUFBUSxFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQ3BFLE9BQU8sRUFBRSxjQUFjLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSwwQ0FBMEMsQ0FBQztBQUU3RixPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSwyQ0FBMkMsQ0FBQztBQUN4RixPQUFPLEVBQUUsR0FBRyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7SUFNeEIseUJBQXlCLFNBQXpCLHlCQUF5Qjs7OztJQVdwQyxZQUFvQiwyQkFBd0Q7UUFBeEQsZ0NBQTJCLEdBQTNCLDJCQUEyQixDQUE2QjtJQUFHLENBQUM7Ozs7O0lBVGhGLE1BQU0sQ0FBQyxtQkFBbUIsQ0FBQyxFQUFFLGFBQWEsRUFBOEI7UUFDdEUsT0FBTyxhQUFhLENBQUMsTUFBTSxJQUFJLEVBQUUsQ0FBQztJQUNwQyxDQUFDOzs7OztJQUdELE1BQU0sQ0FBQyxvQkFBb0IsQ0FBQyxFQUFFLGFBQWEsRUFBOEI7UUFDdkUsT0FBTyxhQUFhLENBQUMsaUJBQWlCLENBQUM7SUFDekMsQ0FBQzs7Ozs7O0lBS0QsdUJBQXVC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XR5RGlzcGxheU5hbWU7XHJcbiAgfVxyXG5cclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHBlcm1pc3Npb25NYW5hZ2VtZW50U2VydmljZTogUGVybWlzc2lvbk1hbmFnZW1lbnRTZXJ2aWNlKSB7fVxyXG5cclxuICBAQWN0aW9uKEdldFBlcm1pc3Npb25zKVxyXG4gIHBlcm1pc3Npb25NYW5hZ2VtZW50R2V0KHsgcGF0Y2hTdGF0ZSB9OiBTdGF0ZUNvbnRleHQ8UGVybWlzc2lvbk1hbmFnZW1lbnQuU3RhdGU+LCB7IHBheWxvYWQgfTogR2V0UGVybWlzc2lvbnMpIHtcclxuICAgIHJldHVybiB0aGlzLnBlcm1pc3Npb25NYW5hZ2VtZW50U2VydmljZS5nZXRQZXJtaXNzaW9ucyhwYXlsb2FkKS5waXBlKFxyXG4gICAgICB0YXAocGVybWlzc2lvblJlc3BvbnNlID0+XHJcbiAgICAgICAgcGF0Y2hTdGF0ZSh7XHJcbiAgICAgICAgICBwZXJtaXNzaW9uUmVzOiBwZXJtaXNzaW9uUmVzcG9uc2UsXHJcbiAgICAgICAgfSksXHJcbiAgICAgICksXHJcbiAgICApO1xyXG4gIH1cclxuXHJcbiAgQEFjdGlvbihVcGRhdGVQZXJtaXNzaW9ucylcclxuICBwZXJtaXNzaW9uTWFuYWdlbWVudFVwZGF0ZShfLCB7IHBheWxvYWQgfTogVXBkYXRlUGVybWlzc2lvbnMpIHtcclxuICAgIHJldHVybiB0aGlzLnBlcm1pc3Npb25NYW5hZ2VtZW50U2VydmljZS51cGRhdGVQZXJtaXNzaW9ucyhwYXlsb2FkKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm2015/public-api.js b/npm/ng-packs/dist/permission-management/esm2015/public-api.js deleted file mode 100644 index 87c1cd6e53f..00000000000 --- a/npm/ng-packs/dist/permission-management/esm2015/public-api.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/* - * Public API Surface of permission-management - */ -export { PermissionManagementModule } from './lib/permission-management.module'; -export { GetPermissions, UpdatePermissions } from './lib/actions'; -export { PermissionManagementComponent } from './lib/components'; -export {} from './lib/models'; -export { PermissionManagementService, PermissionManagementStateService } from './lib/services'; -export { PermissionManagementState } from './lib/states'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcucGVybWlzc2lvbi1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsicHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLDJDQUFjLG9DQUFvQyxDQUFDO0FBQ25ELGtEQUFjLGVBQWUsQ0FBQztBQUM5Qiw4Q0FBYyxrQkFBa0IsQ0FBQztBQUNqQyxlQUFjLGNBQWMsQ0FBQztBQUM3Qiw4RUFBYyxnQkFBZ0IsQ0FBQztBQUMvQiwwQ0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxyXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgcGVybWlzc2lvbi1tYW5hZ2VtZW50XHJcbiAqL1xyXG5cclxuZXhwb3J0ICogZnJvbSAnLi9saWIvcGVybWlzc2lvbi1tYW5hZ2VtZW50Lm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2FjdGlvbnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21wb25lbnRzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvbW9kZWxzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvc2VydmljZXMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zdGF0ZXMnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm5/abp-ng.permission-management.js b/npm/ng-packs/dist/permission-management/esm5/abp-ng.permission-management.js deleted file mode 100644 index a72fdefa719..00000000000 --- a/npm/ng-packs/dist/permission-management/esm5/abp-ng.permission-management.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.permission-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { PermissionManagementModule, GetPermissions, UpdatePermissions, PermissionManagementComponent, PermissionManagementService, PermissionManagementStateService, PermissionManagementState } from './public-api'; -export { GetPermissions as ɵd, UpdatePermissions as ɵe } from './lib/actions/permission-management.actions'; -export { PermissionManagementComponent as ɵa } from './lib/components/permission-management.component'; -export { PermissionManagementService as ɵc } from './lib/services/permission-management.service'; -export { PermissionManagementState as ɵb } from './lib/states/permission-management.state'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLnBlcm1pc3Npb24tbWFuYWdlbWVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcucGVybWlzc2lvbi1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsiYWJwLW5nLnBlcm1pc3Npb24tbWFuYWdlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLHVNQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMsY0FBYyxJQUFJLEVBQUUsRUFBQyxpQkFBaUIsSUFBSSxFQUFFLEVBQUMsTUFBTSw2Q0FBNkMsQ0FBQztBQUN6RyxPQUFPLEVBQUMsNkJBQTZCLElBQUksRUFBRSxFQUFDLE1BQU0sa0RBQWtELENBQUM7QUFFckcsT0FBTyxFQUFDLDJCQUEyQixJQUFJLEVBQUUsRUFBQyxNQUFNLDhDQUE4QyxDQUFDO0FBQy9GLE9BQU8sRUFBQyx5QkFBeUIsSUFBSSxFQUFFLEVBQUMsTUFBTSwwQ0FBMEMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcblxuZXhwb3J0IHtHZXRQZXJtaXNzaW9ucyBhcyDJtWQsVXBkYXRlUGVybWlzc2lvbnMgYXMgybVlfSBmcm9tICcuL2xpYi9hY3Rpb25zL3Blcm1pc3Npb24tbWFuYWdlbWVudC5hY3Rpb25zJztcbmV4cG9ydCB7UGVybWlzc2lvbk1hbmFnZW1lbnRDb21wb25lbnQgYXMgybVhfSBmcm9tICcuL2xpYi9jb21wb25lbnRzL3Blcm1pc3Npb24tbWFuYWdlbWVudC5jb21wb25lbnQnO1xuZXhwb3J0IHtQZXJtaXNzaW9uTWFuYWdlbWVudCBhcyDJtWZ9IGZyb20gJy4vbGliL21vZGVscy9wZXJtaXNzaW9uLW1hbmFnZW1lbnQnO1xuZXhwb3J0IHtQZXJtaXNzaW9uTWFuYWdlbWVudFNlcnZpY2UgYXMgybVjfSBmcm9tICcuL2xpYi9zZXJ2aWNlcy9wZXJtaXNzaW9uLW1hbmFnZW1lbnQuc2VydmljZSc7XG5leHBvcnQge1Blcm1pc3Npb25NYW5hZ2VtZW50U3RhdGUgYXMgybVifSBmcm9tICcuL2xpYi9zdGF0ZXMvcGVybWlzc2lvbi1tYW5hZ2VtZW50LnN0YXRlJzsiXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm5/lib/actions/index.js b/npm/ng-packs/dist/permission-management/esm5/lib/actions/index.js deleted file mode 100644 index faab391ed0d..00000000000 --- a/npm/ng-packs/dist/permission-management/esm5/lib/actions/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { GetPermissions, UpdatePermissions } from './permission-management.actions'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnBlcm1pc3Npb24tbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9hY3Rpb25zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsa0RBQWMsaUNBQWlDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3Blcm1pc3Npb24tbWFuYWdlbWVudC5hY3Rpb25zJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm5/lib/actions/permission-management.actions.js b/npm/ng-packs/dist/permission-management/esm5/lib/actions/permission-management.actions.js deleted file mode 100644 index 3b2d22a2e6b..00000000000 --- a/npm/ng-packs/dist/permission-management/esm5/lib/actions/permission-management.actions.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/permission-management.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var GetPermissions = /** @class */ (function () { - function GetPermissions(payload) { - this.payload = payload; - } - GetPermissions.type = '[PermissionManagement] Get Permissions'; - return GetPermissions; -}()); -export { GetPermissions }; -if (false) { - /** @type {?} */ - GetPermissions.type; - /** @type {?} */ - GetPermissions.prototype.payload; -} -var UpdatePermissions = /** @class */ (function () { - function UpdatePermissions(payload) { - this.payload = payload; - } - UpdatePermissions.type = '[PermissionManagement] Update Permissions'; - return UpdatePermissions; -}()); -export { UpdatePermissions }; -if (false) { - /** @type {?} */ - UpdatePermissions.type; - /** @type {?} */ - UpdatePermissions.prototype.payload; -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clxufVxyXG5cclxuZXhwb3J0IGNsYXNzIFVwZGF0ZVBlcm1pc3Npb25zIHtcclxuICBzdGF0aWMgcmVhZG9ubHkgdHlwZSA9ICdbUGVybWlzc2lvbk1hbmFnZW1lbnRdIFVwZGF0ZSBQZXJtaXNzaW9ucyc7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IFBlcm1pc3Npb25NYW5hZ2VtZW50LkdyYW50ZWRQcm92aWRlciAmIFBlcm1pc3Npb25NYW5hZ2VtZW50LlVwZGF0ZVJlcXVlc3QpIHt9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm5/lib/components/index.js b/npm/ng-packs/dist/permission-management/esm5/lib/components/index.js deleted file mode 100644 index a399c481edf..00000000000 --- a/npm/ng-packs/dist/permission-management/esm5/lib/components/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { PermissionManagementComponent } from './permission-management.component'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnBlcm1pc3Npb24tbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsOENBQWMsbUNBQW1DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3Blcm1pc3Npb24tbWFuYWdlbWVudC5jb21wb25lbnQnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm5/lib/components/permission-management.component.js b/npm/ng-packs/dist/permission-management/esm5/lib/components/permission-management.component.js deleted file mode 100644 index a019a9ad598..00000000000 --- a/npm/ng-packs/dist/permission-management/esm5/lib/components/permission-management.component.js +++ /dev/null @@ -1,508 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/permission-management.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Component, EventEmitter, Input, Output, Renderer2, } from '@angular/core'; -import { Select, Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { map, pluck, take, finalize } from 'rxjs/operators'; -import { GetPermissions, UpdatePermissions } from '../actions/permission-management.actions'; -import { PermissionManagementState } from '../states/permission-management.state'; -var PermissionManagementComponent = /** @class */ (function () { - function PermissionManagementComponent(store, renderer) { - this.store = store; - this.renderer = renderer; - this.hideBadges = false; - this.visibleChange = new EventEmitter(); - this.permissions = []; - this.selectThisTab = false; - this.selectAllTab = false; - this.modalBusy = false; - this.trackByFn = (/** - * @param {?} _ - * @param {?} item - * @return {?} - */ - function (_, item) { return item.name; }); - } - Object.defineProperty(PermissionManagementComponent.prototype, "visible", { - get: /** - * @return {?} - */ - function () { - return this._visible; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - if (!this.selectedGroup) - return; - this._visible = value; - this.visibleChange.emit(value); - if (!value) { - this.selectedGroup = null; - } - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(PermissionManagementComponent.prototype, "selectedGroupPermissions$", { - get: /** - * @return {?} - */ - function () { - var _this = this; - return this.groups$.pipe(map((/** - * @param {?} groups - * @return {?} - */ - function (groups) { - return _this.selectedGroup - ? groups.find((/** - * @param {?} group - * @return {?} - */ - function (group) { return group.name === _this.selectedGroup.name; })).permissions - : []; - })), map((/** - * @param {?} permissions - * @return {?} - */ - function (permissions) { - return permissions.map((/** - * @param {?} permission - * @return {?} - */ - function (permission) { - return ((/** @type {?} */ (((/** @type {?} */ (tslib_1.__assign({}, permission, { margin: findMargin(permissions, permission), isGranted: _this.permissions.find((/** - * @param {?} per - * @return {?} - */ - function (per) { return per.name === permission.name; })).isGranted }))))))); - })); - }))); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - PermissionManagementComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { }; - /** - * @param {?} name - * @return {?} - */ - PermissionManagementComponent.prototype.getChecked = /** - * @param {?} name - * @return {?} - */ - function (name) { - return (this.permissions.find((/** - * @param {?} per - * @return {?} - */ - function (per) { return per.name === name; })) || { isGranted: false }).isGranted; - }; - /** - * @param {?} grantedProviders - * @return {?} - */ - PermissionManagementComponent.prototype.isGrantedByOtherProviderName = /** - * @param {?} grantedProviders - * @return {?} - */ - function (grantedProviders) { - var _this = this; - if (grantedProviders.length) { - return grantedProviders.findIndex((/** - * @param {?} p - * @return {?} - */ - function (p) { return p.providerName !== _this.providerName; })) > -1; - } - return false; - }; - /** - * @param {?} clickedPermission - * @param {?} value - * @return {?} - */ - PermissionManagementComponent.prototype.onClickCheckbox = /** - * @param {?} clickedPermission - * @param {?} value - * @return {?} - */ - function (clickedPermission, value) { - var _this = this; - if (clickedPermission.isGranted && - this.isGrantedByOtherProviderName(clickedPermission.grantedProviders)) - return; - setTimeout((/** - * @return {?} - */ - function () { - _this.permissions = _this.permissions.map((/** - * @param {?} per - * @return {?} - */ - function (per) { - if (clickedPermission.name === per.name) { - return tslib_1.__assign({}, per, { isGranted: !per.isGranted }); - } - else if (clickedPermission.name === per.parentName && clickedPermission.isGranted) { - return tslib_1.__assign({}, per, { isGranted: false }); - } - else if (clickedPermission.parentName === per.name && !clickedPermission.isGranted) { - return tslib_1.__assign({}, per, { isGranted: true }); - } - return per; - })); - _this.setTabCheckboxState(); - _this.setGrantCheckboxState(); - }), 0); - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.setTabCheckboxState = /** - * @return {?} - */ - function () { - var _this = this; - this.selectedGroupPermissions$.pipe(take(1)).subscribe((/** - * @param {?} permissions - * @return {?} - */ - function (permissions) { - /** @type {?} */ - var selectedPermissions = permissions.filter((/** - * @param {?} per - * @return {?} - */ - function (per) { return per.isGranted; })); - /** @type {?} */ - var element = (/** @type {?} */ (document.querySelector('#select-all-in-this-tabs'))); - if (selectedPermissions.length === permissions.length) { - element.indeterminate = false; - _this.selectThisTab = true; - } - else if (selectedPermissions.length === 0) { - element.indeterminate = false; - _this.selectThisTab = false; - } - else { - element.indeterminate = true; - } - })); - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.setGrantCheckboxState = /** - * @return {?} - */ - function () { - /** @type {?} */ - var selectedAllPermissions = this.permissions.filter((/** - * @param {?} per - * @return {?} - */ - function (per) { return per.isGranted; })); - /** @type {?} */ - var checkboxElement = (/** @type {?} */ (document.querySelector('#select-all-in-all-tabs'))); - if (selectedAllPermissions.length === this.permissions.length) { - checkboxElement.indeterminate = false; - this.selectAllTab = true; - } - else if (selectedAllPermissions.length === 0) { - checkboxElement.indeterminate = false; - this.selectAllTab = false; - } - else { - checkboxElement.indeterminate = true; - } - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.onClickSelectThisTab = /** - * @return {?} - */ - function () { - var _this = this; - this.selectedGroupPermissions$.pipe(take(1)).subscribe((/** - * @param {?} permissions - * @return {?} - */ - function (permissions) { - permissions.forEach((/** - * @param {?} permission - * @return {?} - */ - function (permission) { - if (permission.isGranted && _this.isGrantedByOtherProviderName(permission.grantedProviders)) - return; - /** @type {?} */ - var index = _this.permissions.findIndex((/** - * @param {?} per - * @return {?} - */ - function (per) { return per.name === permission.name; })); - _this.permissions = tslib_1.__spread(_this.permissions.slice(0, index), [ - tslib_1.__assign({}, _this.permissions[index], { isGranted: !_this.selectThisTab }) - ], _this.permissions.slice(index + 1)); - })); - })); - this.setGrantCheckboxState(); - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.onClickSelectAll = /** - * @return {?} - */ - function () { - var _this = this; - this.permissions = this.permissions.map((/** - * @param {?} permission - * @return {?} - */ - function (permission) { return (tslib_1.__assign({}, permission, { isGranted: _this.isGrantedByOtherProviderName(permission.grantedProviders) || !_this.selectAllTab })); })); - this.selectThisTab = !this.selectAllTab; - }; - /** - * @param {?} group - * @return {?} - */ - PermissionManagementComponent.prototype.onChangeGroup = /** - * @param {?} group - * @return {?} - */ - function (group) { - this.selectedGroup = group; - this.setTabCheckboxState(); - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.submit = /** - * @return {?} - */ - function () { - var _this = this; - this.modalBusy = true; - /** @type {?} */ - var unchangedPermissions = getPermissions(this.store.selectSnapshot(PermissionManagementState.getPermissionGroups)); - /** @type {?} */ - var changedPermissions = this.permissions - .filter((/** - * @param {?} per - * @return {?} - */ - function (per) { - return unchangedPermissions.find((/** - * @param {?} unchanged - * @return {?} - */ - function (unchanged) { return unchanged.name === per.name; })).isGranted === - per.isGranted - ? false - : true; - })) - .map((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var name = _a.name, isGranted = _a.isGranted; - return ({ name: name, isGranted: isGranted }); - })); - if (changedPermissions.length) { - this.store - .dispatch(new UpdatePermissions({ - providerKey: this.providerKey, - providerName: this.providerName, - permissions: changedPermissions, - })) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.visible = false; - })); - } - else { - this.modalBusy = false; - this.visible = false; - } - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.openModal = /** - * @return {?} - */ - function () { - var _this = this; - if (!this.providerKey || !this.providerName) { - throw new Error('Provider Key and Provider Name are required.'); - } - this.store - .dispatch(new GetPermissions({ - providerKey: this.providerKey, - providerName: this.providerName, - })) - .pipe(pluck('PermissionManagementState', 'permissionRes')) - .subscribe((/** - * @param {?} permissionRes - * @return {?} - */ - function (permissionRes) { - _this.selectedGroup = permissionRes.groups[0]; - _this.permissions = getPermissions(permissionRes.groups); - _this.visible = true; - })); - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.initModal = /** - * @return {?} - */ - function () { - this.setTabCheckboxState(); - this.setGrantCheckboxState(); - }; - /** - * @param {?} __0 - * @return {?} - */ - PermissionManagementComponent.prototype.ngOnChanges = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var visible = _a.visible; - if (!visible) - return; - if (visible.currentValue) { - this.openModal(); - } - else if (visible.currentValue === false && this.visible) { - this.visible = false; - } - }; - PermissionManagementComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-permission-management', - template: "\r\n \r\n \r\n

\r\n {{ 'AbpPermissionManagement::Permissions' | abpLocalization }} - {{ data.entityName }}\r\n

\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n {{ group?.displayName }}\r\n
  • \r\n
\r\n
\r\n
\r\n

{{ selectedGroup?.displayName }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n {{ permission.displayName }}\r\n \r\n {{ provider.providerName }}: {{ provider.providerKey }}\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n
\r\n" - }] } - ]; - /** @nocollapse */ - PermissionManagementComponent.ctorParameters = function () { return [ - { type: Store }, - { type: Renderer2 } - ]; }; - PermissionManagementComponent.propDecorators = { - providerName: [{ type: Input }], - providerKey: [{ type: Input }], - hideBadges: [{ type: Input }], - visible: [{ type: Input }], - visibleChange: [{ type: Output }] - }; - tslib_1.__decorate([ - Select(PermissionManagementState.getPermissionGroups), - tslib_1.__metadata("design:type", Observable) - ], PermissionManagementComponent.prototype, "groups$", void 0); - tslib_1.__decorate([ - Select(PermissionManagementState.getEntityDisplayName), - tslib_1.__metadata("design:type", Observable) - ], PermissionManagementComponent.prototype, "entityName$", void 0); - return PermissionManagementComponent; -}()); -export { PermissionManagementComponent }; -if (false) { - /** @type {?} */ - PermissionManagementComponent.prototype.providerName; - /** @type {?} */ - PermissionManagementComponent.prototype.providerKey; - /** @type {?} */ - PermissionManagementComponent.prototype.hideBadges; - /** - * @type {?} - * @protected - */ - PermissionManagementComponent.prototype._visible; - /** @type {?} */ - PermissionManagementComponent.prototype.visibleChange; - /** @type {?} */ - PermissionManagementComponent.prototype.groups$; - /** @type {?} */ - PermissionManagementComponent.prototype.entityName$; - /** @type {?} */ - PermissionManagementComponent.prototype.selectedGroup; - /** @type {?} */ - PermissionManagementComponent.prototype.permissions; - /** @type {?} */ - PermissionManagementComponent.prototype.selectThisTab; - /** @type {?} */ - PermissionManagementComponent.prototype.selectAllTab; - /** @type {?} */ - PermissionManagementComponent.prototype.modalBusy; - /** @type {?} */ - PermissionManagementComponent.prototype.trackByFn; - /** - * @type {?} - * @private - */ - PermissionManagementComponent.prototype.store; - /** - * @type {?} - * @private - */ - PermissionManagementComponent.prototype.renderer; -} -/** - * @param {?} permissions - * @param {?} permission - * @return {?} - */ -function findMargin(permissions, permission) { - /** @type {?} */ - var parentPermission = permissions.find((/** - * @param {?} per - * @return {?} - */ - function (per) { return per.name === permission.parentName; })); - if (parentPermission && parentPermission.parentName) { - /** @type {?} */ - var margin = 20; - return (margin += findMargin(permissions, parentPermission)); - } - return parentPermission ? 20 : 0; -} -/** - * @param {?} groups - * @return {?} - */ -function getPermissions(groups) { - return groups.reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { return tslib_1.__spread(acc, val.permissions); }), []); -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi1tYW5hZ2VtZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcucGVybWlzc2lvbi1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvcGVybWlzc2lvbi1tYW5hZ2VtZW50LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULFlBQVksRUFDWixLQUFLL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bWUpO1xyXG5cclxuICBpZiAocGFyZW50UGVybWlzc2lvbiAmJiBwYXJlbnRQZXJtaXNzaW9uLnBhcmVudE5hbWUpIHtcclxuICAgIGxldCBtYXJnaW4gPSAyMDtcclxuICAgIHJldHVybiAobWFyZ2luICs9IGZpbmRNYXJnaW4ocGVybWlzc2lvbnMsIHBhcmVudFBlcm1pc3Npb24pKTtcclxuICB9XHJcblxyXG4gIHJldHVybiBwYXJlbnRQZXJtaXNzaW9uID8gMjAgOiAwO1xyXG59XHJcblxyXG5mdW5jdGlvbiBnZXRQZXJtaXNzaW9ucyhncm91cHM6IFBlcm1pc3Npb25NYW5hZ2VtZW50Lkdyb3VwW10pOiBQZXJtaXNzaW9uTWFuYWdlbWVudC5QZXJtaXNzaW9uW10ge1xyXG4gIHJldHVybiBncm91cHMucmVkdWNlKChhY2MsIHZhbCkgPT4gWy4uLmFjYywgLi4udmFsLnBlcm1pc3Npb25zXSwgW10pO1xyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm5/lib/models/index.js b/npm/ng-packs/dist/permission-management/esm5/lib/models/index.js deleted file mode 100644 index efd7ca016b5..00000000000 --- a/npm/ng-packs/dist/permission-management/esm5/lib/models/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export {} from './permission-management'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnBlcm1pc3Npb24tbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxlQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wZXJtaXNzaW9uLW1hbmFnZW1lbnQnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm5/lib/models/permission-management.js b/npm/ng-packs/dist/permission-management/esm5/lib/models/permission-management.js deleted file mode 100644 index 38716ae75dd..00000000000 --- a/npm/ng-packs/dist/permission-management/esm5/lib/models/permission-management.js +++ /dev/null @@ -1,88 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/permission-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var PermissionManagement; -(function (PermissionManagement) { - /** - * @record - */ - function State() { } - PermissionManagement.State = State; - if (false) { - /** @type {?} */ - State.prototype.permissionRes; - } - /** - * @record - */ - function Response() { } - PermissionManagement.Response = Response; - if (false) { - /** @type {?} */ - Response.prototype.entityDisplayName; - /** @type {?} */ - Response.prototype.groups; - } - /** - * @record - */ - function Group() { } - PermissionManagement.Group = Group; - if (false) { - /** @type {?} */ - Group.prototype.name; - /** @type {?} */ - Group.prototype.displayName; - /** @type {?} */ - Group.prototype.permissions; - } - /** - * @record - */ - function MinimumPermission() { } - PermissionManagement.MinimumPermission = MinimumPermission; - if (false) { - /** @type {?} */ - MinimumPermission.prototype.name; - /** @type {?} */ - MinimumPermission.prototype.isGranted; - } - /** - * @record - */ - function Permission() { } - PermissionManagement.Permission = Permission; - if (false) { - /** @type {?} */ - Permission.prototype.displayName; - /** @type {?} */ - Permission.prototype.parentName; - /** @type {?} */ - Permission.prototype.allowedProviders; - /** @type {?} */ - Permission.prototype.grantedProviders; - } - /** - * @record - */ - function GrantedProvider() { } - PermissionManagement.GrantedProvider = GrantedProvider; - if (false) { - /** @type {?} */ - GrantedProvider.prototype.providerName; - /** @type {?} */ - GrantedProvider.prototype.providerKey; - } - /** - * @record - */ - function UpdateRequest() { } - PermissionManagement.UpdateRequest = UpdateRequest; - if (false) { - /** @type {?} */ - UpdateRequest.prototype.permissions; - } -})(PermissionManagement || (PermissionManagement = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi1tYW5hZ2VtZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5wZXJtaXNzaW9uLW1hbmFnZW1lbnQvIiwic291cmNlcyI6WyJsaWIvbW9kZWxzL3Blcm1pc3Npb24tbWFuYWdlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE1BQU0sS0FBVyxvQkFBb0IsQ0FvQ3BDO0FBcENELFdBQWlCLG9CQUFvQjs7OztJQUNuQyxvQkFFQzs7OztRQURDLDhCQUF3Qjs7Ozs7SUFHMUIsdUJBR0M7Ozs7UUFGQyxxQ0FBMEI7O1FBQzFCLDBCQUFnQjs7Ozs7SUFHbEIsb0JBSUM7Ozs7UUFIQyxxQkFBYTs7UUFDYiw0QkFBb0I7O1FBQ3BCLDRCQUEwQjs7Ozs7SUFHNUIsZ0NBR0M7Ozs7UUFGQyxpQ0FBYTs7UUFDYixzQ0FBbUI7Ozs7O0lBR3JCLHlCQUtDOzs7O1FBSkMsaUNBQW9COztRQUNwQixnQ0FBbUI7O1FBQ25CLHNDQUEyQjs7UUFDM0Isc0NBQW9DOzs7OztJQUd0Qyw4QkFHQzs7OztRQUZDLHVDQUFxQjs7UUFDckIsc0NBQW9COzs7OztJQUd0Qiw0QkFFQzs7OztRQURDLG9DQUFpQzs7QUFFckMsQ0FBQyxFQXBDZ0Isb0JBQW9CLEtBQXBCLG9CQUFvQixRQW9DcEMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgbmFtZXNwYWNlIFBlcm1pc3Npb25NYW5hZ2VtZW50IHtcclxuICBleHBvcnQgaW50ZXJmYWNlIFN0YXRlIHtcclxuICAgIHBlcm1pc3Npb25SZXM6IFJlc3BvbnNlO1xyXG4gIH1cclxuXHJcbiAgZXhwb3J0IGludGVyZmFjZSBSZXNwb25zZSB7XHJcbiAgICBlbnRpdHlEaXNwbGF5TmFtZTogc3RyaW5nO1xyXG4gICAgZ3JvdXBzOiBHcm91cFtdO1xyXG4gIH1cclxuXHJcbiAgZXhwb3J0IGludGVyZmFjZSBHcm91cCB7XHJcbiAgICBuYW1lOiBzdHJpbmc7XHJcbiAgICBkaXNwbGF5TmFtZTogc3RyaW5nO1xyXG4gICAgcGVybWlzc2lvbnM6IFBlcm1pc3Npb25bXTtcclxuICB9XHJcblxyXG4gIGV4cG9ydCBpbnRlcmZhY2UgTWluaW11bVBlcm1pc3Npb24ge1xyXG4gICAgbmFtZTogc3RyaW5nO1xyXG4gICAgaXNHcmFudGVkOiBib29sZWFuO1xyXG4gIH1cclxuXHJcbiAgZXhwb3J0IGludGVyZmFjZSBQZXJtaXNzaW9uIGV4dGVuZHMgTWluaW11bVBlcm1pc3Npb24ge1xyXG4gICAgZGlzcGxheU5hbWU6IHN0cmluZztcclxuICAgIHBhcmVudE5hbWU6IHN0cmluZztcclxuICAgIGFsbG93ZWRQcm92aWRlcnM6IHN0cmluZ1tdO1xyXG4gICAgZ3JhbnRlZFByb3ZpZGVyczogR3JhbnRlZFByb3ZpZGVyW107XHJcbiAgfVxyXG5cclxuICBleHBvcnQgaW50ZXJmYWNlIEdyYW50ZWRQcm92aWRlciB7XHJcbiAgICBwcm92aWRlck5hbWU6IHN0cmluZztcclxuICAgIHByb3ZpZGVyS2V5OiBzdHJpbmc7XHJcbiAgfVxyXG5cclxuICBleHBvcnQgaW50ZXJmYWNlIFVwZGF0ZVJlcXVlc3Qge1xyXG4gICAgcGVybWlzc2lvbnM6IE1pbmltdW1QZXJtaXNzaW9uW107XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm5/lib/permission-management.module.js b/npm/ng-packs/dist/permission-management/esm5/lib/permission-management.module.js deleted file mode 100644 index 5d170e88e36..00000000000 --- a/npm/ng-packs/dist/permission-management/esm5/lib/permission-management.module.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/permission-management.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { CoreModule } from '@abp/ng.core'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; -import { NgModule } from '@angular/core'; -import { NgxsModule } from '@ngxs/store'; -import { PermissionManagementComponent } from './components/permission-management.component'; -import { PermissionManagementState } from './states/permission-management.state'; -var PermissionManagementModule = /** @class */ (function () { - function PermissionManagementModule() { - } - PermissionManagementModule.decorators = [ - { type: NgModule, args: [{ - declarations: [PermissionManagementComponent], - imports: [CoreModule, ThemeSharedModule, NgxsModule.forFeature([PermissionManagementState])], - exports: [PermissionManagementComponent], - },] } - ]; - return PermissionManagementModule; -}()); -export { PermissionManagementModule }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi1tYW5hZ2VtZW50Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcucGVybWlzc2lvbi1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL3Blcm1pc3Npb24tbWFuYWdlbWVudC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQzFDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3pELE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUN6QyxPQUFPLEVBQUUsNkJBQTZCLEVBQUUsTUFBTSw4Q0FBOEMsQ0FBQztBQUM3RixPQUFPLEVBQU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E5neHNNb2R1bGUuZm9yRmVhdHVyZShbUGVybWlzc2lvbk1hbmFnZW1lbnRTdGF0ZV0pXSxcclxuICBleHBvcnRzOiBbUGVybWlzc2lvbk1hbmFnZW1lbnRDb21wb25lbnRdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgUGVybWlzc2lvbk1hbmFnZW1lbnRNb2R1bGUge31cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm5/lib/services/index.js b/npm/ng-packs/dist/permission-management/esm5/lib/services/index.js deleted file mode 100644 index 554d9b6d4a8..00000000000 --- a/npm/ng-packs/dist/permission-management/esm5/lib/services/index.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { PermissionManagementService } from './permission-management.service'; -export { PermissionManagementStateService } from './permission-management-state.service'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnBlcm1pc3Npb24tbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9zZXJ2aWNlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLDRDQUFjLGlDQUFpQyxDQUFDO0FBQ2hELGlEQUFjLHVDQUF1QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wZXJtaXNzaW9uLW1hbmFnZW1lbnQuc2VydmljZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vcGVybWlzc2lvbi1tYW5hZ2VtZW50LXN0YXRlLnNlcnZpY2UnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm5/lib/services/permission-management-state.service.js b/npm/ng-packs/dist/permission-management/esm5/lib/services/permission-management-state.service.js deleted file mode 100644 index 660b000adda..00000000000 --- a/npm/ng-packs/dist/permission-management/esm5/lib/services/permission-management-state.service.js +++ /dev/null @@ -1,53 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/permission-management-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { PermissionManagementState } from '../states/permission-management.state'; -import * as i0 from "@angular/core"; -import * as i1 from "@ngxs/store"; -var PermissionManagementStateService = /** @class */ (function () { - function PermissionManagementStateService(store) { - this.store = store; - } - /** - * @return {?} - */ - PermissionManagementStateService.prototype.getPermissionGroups = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(PermissionManagementState.getPermissionGroups); - }; - /** - * @return {?} - */ - PermissionManagementStateService.prototype.getEntityDisplayName = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(PermissionManagementState.getEntityDisplayName); - }; - PermissionManagementStateService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - PermissionManagementStateService.ctorParameters = function () { return [ - { type: Store } - ]; }; - /** @nocollapse */ PermissionManagementStateService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function PermissionManagementStateService_Factory() { return new PermissionManagementStateService(i0.ɵɵinject(i1.Store)); }, token: PermissionManagementStateService, providedIn: "root" }); - return PermissionManagementStateService; -}()); -export { PermissionManagementStateService }; -if (false) { - /** - * @type {?} - * @private - */ - PermissionManagementStateService.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi1tYW5hZ2VtZW50LXN0YXRlLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnBlcm1pc3Npb24tbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9zZXJ2aWNlcy9wZXJtaXNzaW9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GVkSW46ICdyb290JyxcclxufSlcclxuZXhwb3J0IGNsYXNzIFBlcm1pc3Npb25NYW5hZ2VtZW50U3RhdGVTZXJ2aWNlIHtcclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHN0b3JlOiBTdG9yZSkge31cclxuXHJcbiAgZ2V0UGVybWlzc2lvbkdyb3VwcygpIHtcclxuICAgIHJldHVybiB0aGlzLnN0b3JlLnNlbGVjdFNuYXBzaG90KFBlcm1pc3Npb25NYW5hZ2VtZW50U3RhdGUuZ2V0UGVybWlzc2lvbkdyb3Vwcyk7XHJcbiAgfVxyXG4gIGdldEVudGl0eURpc3BsYXlOYW1lKCkge1xyXG4gICAgcmV0dXJuIHRoaXMuc3RvcmUuc2VsZWN0U25hcHNob3QoUGVybWlzc2lvbk1hbmFnZW1lbnRTdGF0ZS5nZXRFbnRpdHlEaXNwbGF5TmFtZSk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm5/lib/services/permission-management.service.js b/npm/ng-packs/dist/permission-management/esm5/lib/services/permission-management.service.js deleted file mode 100644 index f4d85f66ad1..00000000000 --- a/npm/ng-packs/dist/permission-management/esm5/lib/services/permission-management.service.js +++ /dev/null @@ -1,70 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/permission-management.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { RestService } from '@abp/ng.core'; -import * as i0 from "@angular/core"; -import * as i1 from "@abp/ng.core"; -var PermissionManagementService = /** @class */ (function () { - function PermissionManagementService(rest) { - this.rest = rest; - } - /** - * @param {?} params - * @return {?} - */ - PermissionManagementService.prototype.getPermissions = /** - * @param {?} params - * @return {?} - */ - function (params) { - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/abp/permissions', - params: params, - }; - return this.rest.request(request); - }; - /** - * @param {?} __0 - * @return {?} - */ - PermissionManagementService.prototype.updatePermissions = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var permissions = _a.permissions, providerKey = _a.providerKey, providerName = _a.providerName; - /** @type {?} */ - var request = { - method: 'PUT', - url: '/api/abp/permissions', - body: { permissions: permissions }, - params: { providerKey: providerKey, providerName: providerName }, - }; - return this.rest.request(request); - }; - PermissionManagementService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - PermissionManagementService.ctorParameters = function () { return [ - { type: RestService } - ]; }; - /** @nocollapse */ PermissionManagementService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function PermissionManagementService_Factory() { return new PermissionManagementService(i0.ɵɵinject(i1.RestService)); }, token: PermissionManagementService, providedIn: "root" }); - return PermissionManagementService; -}()); -export { PermissionManagementService }; -if (false) { - /** - * @type {?} - * @private - */ - PermissionManagementService.prototype.rest; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi1tYW5hZ2VtZW50LnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnBlcm1pc3Npb24tbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9zZXJ2aWNlcy9wZXJtaXNzaW9uLW1hbmFnZW1lbnQuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLFdBQVcsRUFBUSxNQUFNLGNBQWMsQ0FBQzs7O0FBSWpEO0lBSUUscUNBQW9CLElBQWlCO1FBQWpCLFNBQUksR0FBSixJQUFJLENBQWE7SUFBRyxDQUFDOzs7OztJQUV6QyxvREFBYzs7OztJQUFkLFVBQWUsTUFBNEM7O1lBQ25ELE9BQU8sR0FBdUQ7WUFDbEUsTUFBTSxFQUFFLEtBQUs7WUFDYixHQUFHLE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BpL2FicC9wZXJtaXNzaW9ucycsXHJcbiAgICAgIGJvZHk6IHsgcGVybWlzc2lvbnMgfSxcclxuICAgICAgcGFyYW1zOiB7IHByb3ZpZGVyS2V5LCBwcm92aWRlck5hbWUgfSxcclxuICAgIH07XHJcblxyXG4gICAgcmV0dXJuIHRoaXMucmVzdC5yZXF1ZXN0PFBlcm1pc3Npb25NYW5hZ2VtZW50LlVwZGF0ZVJlcXVlc3QsIG51bGw+KHJlcXVlc3QpO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm5/lib/states/index.js b/npm/ng-packs/dist/permission-management/esm5/lib/states/index.js deleted file mode 100644 index 9aa0719b446..00000000000 --- a/npm/ng-packs/dist/permission-management/esm5/lib/states/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { PermissionManagementState } from './permission-management.state'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnBlcm1pc3Npb24tbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9zdGF0ZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSwwQ0FBYywrQkFBK0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcGVybWlzc2lvbi1tYW5hZ2VtZW50LnN0YXRlJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm5/lib/states/permission-management.state.js b/npm/ng-packs/dist/permission-management/esm5/lib/states/permission-management.state.js deleted file mode 100644 index 5817efee42b..00000000000 --- a/npm/ng-packs/dist/permission-management/esm5/lib/states/permission-management.state.js +++ /dev/null @@ -1,120 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/permission-management.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { State, Action, Selector } from '@ngxs/store'; -import { GetPermissions, UpdatePermissions } from '../actions/permission-management.actions'; -import { PermissionManagementService } from '../services/permission-management.service'; -import { tap } from 'rxjs/operators'; -var PermissionManagementState = /** @class */ (function () { - function PermissionManagementState(permissionManagementService) { - this.permissionManagementService = permissionManagementService; - } - /** - * @param {?} __0 - * @return {?} - */ - PermissionManagementState.getPermissionGroups = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var permissionRes = _a.permissionRes; - return permissionRes.groups || []; - }; - /** - * @param {?} __0 - * @return {?} - */ - PermissionManagementState.getEntityDisplayName = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var permissionRes = _a.permissionRes; - return permissionRes.entityDisplayName; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - PermissionManagementState.prototype.permissionManagementGet = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.permissionManagementService.getPermissions(payload).pipe(tap((/** - * @param {?} permissionResponse - * @return {?} - */ - function (permissionResponse) { - return patchState({ - permissionRes: permissionResponse, - }); - }))); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - PermissionManagementState.prototype.permissionManagementUpdate = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.permissionManagementService.updatePermissions(payload); - }; - PermissionManagementState.ctorParameters = function () { return [ - { type: PermissionManagementService } - ]; }; - tslib_1.__decorate([ - Action(GetPermissions), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetPermissions]), - tslib_1.__metadata("design:returntype", void 0) - ], PermissionManagementState.prototype, "permissionManagementGet", null); - tslib_1.__decorate([ - Action(UpdatePermissions), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, UpdatePermissions]), - tslib_1.__metadata("design:returntype", void 0) - ], PermissionManagementState.prototype, "permissionManagementUpdate", null); - tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", void 0) - ], PermissionManagementState, "getPermissionGroups", null); - tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", String) - ], PermissionManagementState, "getEntityDisplayName", null); - PermissionManagementState = tslib_1.__decorate([ - State({ - name: 'PermissionManagementState', - defaults: (/** @type {?} */ ({ permissionRes: {} })), - }), - tslib_1.__metadata("design:paramtypes", [PermissionManagementService]) - ], PermissionManagementState); - return PermissionManagementState; -}()); -export { PermissionManagementState }; -if (false) { - /** - * @type {?} - * @private - */ - PermissionManagementState.prototype.permissionManagementService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVybWlzc2lvbi1tYW5hZ2VtZW50LnN0YXRlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5wZXJtaXNzaW9uLW1hbmFnZW1lbnQvIiwic291cmNlcyI6WyJsaWIvc3RhdGVzL3Blcm1pc3Npb24tbWFuYWdlbWVudC5zdGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBZ0IsUUFBUSxFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQ3BFLE9BQU8sRUFBRSxjQUFjLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSwwQ0FBMEMsQ0FBQztBQUU3RixPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSwyQ0FBMkMsQ0FB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Npb25SZXM6IHBlcm1pc3Npb25SZXNwb25zZSxcclxuICAgICAgICB9KSxcclxuICAgICAgKSxcclxuICAgICk7XHJcbiAgfVxyXG5cclxuICBAQWN0aW9uKFVwZGF0ZVBlcm1pc3Npb25zKVxyXG4gIHBlcm1pc3Npb25NYW5hZ2VtZW50VXBkYXRlKF8sIHsgcGF5bG9hZCB9OiBVcGRhdGVQZXJtaXNzaW9ucykge1xyXG4gICAgcmV0dXJuIHRoaXMucGVybWlzc2lvbk1hbmFnZW1lbnRTZXJ2aWNlLnVwZGF0ZVBlcm1pc3Npb25zKHBheWxvYWQpO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/esm5/public-api.js b/npm/ng-packs/dist/permission-management/esm5/public-api.js deleted file mode 100644 index 87c1cd6e53f..00000000000 --- a/npm/ng-packs/dist/permission-management/esm5/public-api.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/* - * Public API Surface of permission-management - */ -export { PermissionManagementModule } from './lib/permission-management.module'; -export { GetPermissions, UpdatePermissions } from './lib/actions'; -export { PermissionManagementComponent } from './lib/components'; -export {} from './lib/models'; -export { PermissionManagementService, PermissionManagementStateService } from './lib/services'; -export { PermissionManagementState } from './lib/states'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcucGVybWlzc2lvbi1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsicHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLDJDQUFjLG9DQUFvQyxDQUFDO0FBQ25ELGtEQUFjLGVBQWUsQ0FBQztBQUM5Qiw4Q0FBYyxrQkFBa0IsQ0FBQztBQUNqQyxlQUFjLGNBQWMsQ0FBQztBQUM3Qiw4RUFBYyxnQkFBZ0IsQ0FBQztBQUMvQiwwQ0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxyXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgcGVybWlzc2lvbi1tYW5hZ2VtZW50XHJcbiAqL1xyXG5cclxuZXhwb3J0ICogZnJvbSAnLi9saWIvcGVybWlzc2lvbi1tYW5hZ2VtZW50Lm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2FjdGlvbnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21wb25lbnRzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvbW9kZWxzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvc2VydmljZXMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zdGF0ZXMnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/fesm2015/abp-ng.permission-management.js b/npm/ng-packs/dist/permission-management/fesm2015/abp-ng.permission-management.js deleted file mode 100644 index e9b8e00af94..00000000000 --- a/npm/ng-packs/dist/permission-management/fesm2015/abp-ng.permission-management.js +++ /dev/null @@ -1,815 +0,0 @@ -import { RestService, CoreModule } from '@abp/ng.core'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; -import { Injectable, ɵɵdefineInjectable, ɵɵinject, EventEmitter, Component, Renderer2, Input, Output, NgModule } from '@angular/core'; -import { Action, Selector, State, Store, Select, NgxsModule } from '@ngxs/store'; -import { __decorate, __metadata } from 'tslib'; -import { Observable } from 'rxjs'; -import { tap, map, take, finalize, pluck } from 'rxjs/operators'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/permission-management.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class GetPermissions { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -GetPermissions.type = '[PermissionManagement] Get Permissions'; -if (false) { - /** @type {?} */ - GetPermissions.type; - /** @type {?} */ - GetPermissions.prototype.payload; -} -class UpdatePermissions { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -UpdatePermissions.type = '[PermissionManagement] Update Permissions'; -if (false) { - /** @type {?} */ - UpdatePermissions.type; - /** @type {?} */ - UpdatePermissions.prototype.payload; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/permission-management.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class PermissionManagementService { - /** - * @param {?} rest - */ - constructor(rest) { - this.rest = rest; - } - /** - * @param {?} params - * @return {?} - */ - getPermissions(params) { - /** @type {?} */ - const request = { - method: 'GET', - url: '/api/abp/permissions', - params, - }; - return this.rest.request(request); - } - /** - * @param {?} __0 - * @return {?} - */ - updatePermissions({ permissions, providerKey, providerName, }) { - /** @type {?} */ - const request = { - method: 'PUT', - url: '/api/abp/permissions', - body: { permissions }, - params: { providerKey, providerName }, - }; - return this.rest.request(request); - } -} -PermissionManagementService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -PermissionManagementService.ctorParameters = () => [ - { type: RestService } -]; -/** @nocollapse */ PermissionManagementService.ngInjectableDef = ɵɵdefineInjectable({ factory: function PermissionManagementService_Factory() { return new PermissionManagementService(ɵɵinject(RestService)); }, token: PermissionManagementService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - PermissionManagementService.prototype.rest; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/permission-management.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -let PermissionManagementState = class PermissionManagementState { - /** - * @param {?} permissionManagementService - */ - constructor(permissionManagementService) { - this.permissionManagementService = permissionManagementService; - } - /** - * @param {?} __0 - * @return {?} - */ - static getPermissionGroups({ permissionRes }) { - return permissionRes.groups || []; - } - /** - * @param {?} __0 - * @return {?} - */ - static getEntityDisplayName({ permissionRes }) { - return permissionRes.entityDisplayName; - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - permissionManagementGet({ patchState }, { payload }) { - return this.permissionManagementService.getPermissions(payload).pipe(tap((/** - * @param {?} permissionResponse - * @return {?} - */ - permissionResponse => patchState({ - permissionRes: permissionResponse, - })))); - } - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - permissionManagementUpdate(_, { payload }) { - return this.permissionManagementService.updatePermissions(payload); - } -}; -PermissionManagementState.ctorParameters = () => [ - { type: PermissionManagementService } -]; -__decorate([ - Action(GetPermissions), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetPermissions]), - __metadata("design:returntype", void 0) -], PermissionManagementState.prototype, "permissionManagementGet", null); -__decorate([ - Action(UpdatePermissions), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, UpdatePermissions]), - __metadata("design:returntype", void 0) -], PermissionManagementState.prototype, "permissionManagementUpdate", null); -__decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", void 0) -], PermissionManagementState, "getPermissionGroups", null); -__decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", String) -], PermissionManagementState, "getEntityDisplayName", null); -PermissionManagementState = __decorate([ - State({ - name: 'PermissionManagementState', - defaults: (/** @type {?} */ ({ permissionRes: {} })), - }), - __metadata("design:paramtypes", [PermissionManagementService]) -], PermissionManagementState); -if (false) { - /** - * @type {?} - * @private - */ - PermissionManagementState.prototype.permissionManagementService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/permission-management.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class PermissionManagementComponent { - /** - * @param {?} store - * @param {?} renderer - */ - constructor(store, renderer) { - this.store = store; - this.renderer = renderer; - this.hideBadges = false; - this.visibleChange = new EventEmitter(); - this.permissions = []; - this.selectThisTab = false; - this.selectAllTab = false; - this.modalBusy = false; - this.trackByFn = (/** - * @param {?} _ - * @param {?} item - * @return {?} - */ - (_, item) => item.name); - } - /** - * @return {?} - */ - get visible() { - return this._visible; - } - /** - * @param {?} value - * @return {?} - */ - set visible(value) { - if (!this.selectedGroup) - return; - this._visible = value; - this.visibleChange.emit(value); - if (!value) { - this.selectedGroup = null; - } - } - /** - * @return {?} - */ - get selectedGroupPermissions$() { - return this.groups$.pipe(map((/** - * @param {?} groups - * @return {?} - */ - groups => this.selectedGroup - ? groups.find((/** - * @param {?} group - * @return {?} - */ - group => group.name === this.selectedGroup.name)).permissions - : [])), map((/** - * @param {?} permissions - * @return {?} - */ - permissions => permissions.map((/** - * @param {?} permission - * @return {?} - */ - permission => ((/** @type {?} */ (((/** @type {?} */ (Object.assign({}, permission, { margin: findMargin(permissions, permission), isGranted: this.permissions.find((/** - * @param {?} per - * @return {?} - */ - per => per.name === permission.name)).isGranted })))))))))))); - } - /** - * @return {?} - */ - ngOnInit() { } - /** - * @param {?} name - * @return {?} - */ - getChecked(name) { - return (this.permissions.find((/** - * @param {?} per - * @return {?} - */ - per => per.name === name)) || { isGranted: false }).isGranted; - } - /** - * @param {?} grantedProviders - * @return {?} - */ - isGrantedByOtherProviderName(grantedProviders) { - if (grantedProviders.length) { - return grantedProviders.findIndex((/** - * @param {?} p - * @return {?} - */ - p => p.providerName !== this.providerName)) > -1; - } - return false; - } - /** - * @param {?} clickedPermission - * @param {?} value - * @return {?} - */ - onClickCheckbox(clickedPermission, value) { - if (clickedPermission.isGranted && - this.isGrantedByOtherProviderName(clickedPermission.grantedProviders)) - return; - setTimeout((/** - * @return {?} - */ - () => { - this.permissions = this.permissions.map((/** - * @param {?} per - * @return {?} - */ - per => { - if (clickedPermission.name === per.name) { - return Object.assign({}, per, { isGranted: !per.isGranted }); - } - else if (clickedPermission.name === per.parentName && clickedPermission.isGranted) { - return Object.assign({}, per, { isGranted: false }); - } - else if (clickedPermission.parentName === per.name && !clickedPermission.isGranted) { - return Object.assign({}, per, { isGranted: true }); - } - return per; - })); - this.setTabCheckboxState(); - this.setGrantCheckboxState(); - }), 0); - } - /** - * @return {?} - */ - setTabCheckboxState() { - this.selectedGroupPermissions$.pipe(take(1)).subscribe((/** - * @param {?} permissions - * @return {?} - */ - permissions => { - /** @type {?} */ - const selectedPermissions = permissions.filter((/** - * @param {?} per - * @return {?} - */ - per => per.isGranted)); - /** @type {?} */ - const element = (/** @type {?} */ (document.querySelector('#select-all-in-this-tabs'))); - if (selectedPermissions.length === permissions.length) { - element.indeterminate = false; - this.selectThisTab = true; - } - else if (selectedPermissions.length === 0) { - element.indeterminate = false; - this.selectThisTab = false; - } - else { - element.indeterminate = true; - } - })); - } - /** - * @return {?} - */ - setGrantCheckboxState() { - /** @type {?} */ - const selectedAllPermissions = this.permissions.filter((/** - * @param {?} per - * @return {?} - */ - per => per.isGranted)); - /** @type {?} */ - const checkboxElement = (/** @type {?} */ (document.querySelector('#select-all-in-all-tabs'))); - if (selectedAllPermissions.length === this.permissions.length) { - checkboxElement.indeterminate = false; - this.selectAllTab = true; - } - else if (selectedAllPermissions.length === 0) { - checkboxElement.indeterminate = false; - this.selectAllTab = false; - } - else { - checkboxElement.indeterminate = true; - } - } - /** - * @return {?} - */ - onClickSelectThisTab() { - this.selectedGroupPermissions$.pipe(take(1)).subscribe((/** - * @param {?} permissions - * @return {?} - */ - permissions => { - permissions.forEach((/** - * @param {?} permission - * @return {?} - */ - permission => { - if (permission.isGranted && this.isGrantedByOtherProviderName(permission.grantedProviders)) - return; - /** @type {?} */ - const index = this.permissions.findIndex((/** - * @param {?} per - * @return {?} - */ - per => per.name === permission.name)); - this.permissions = [ - ...this.permissions.slice(0, index), - Object.assign({}, this.permissions[index], { isGranted: !this.selectThisTab }), - ...this.permissions.slice(index + 1), - ]; - })); - })); - this.setGrantCheckboxState(); - } - /** - * @return {?} - */ - onClickSelectAll() { - this.permissions = this.permissions.map((/** - * @param {?} permission - * @return {?} - */ - permission => (Object.assign({}, permission, { isGranted: this.isGrantedByOtherProviderName(permission.grantedProviders) || !this.selectAllTab })))); - this.selectThisTab = !this.selectAllTab; - } - /** - * @param {?} group - * @return {?} - */ - onChangeGroup(group) { - this.selectedGroup = group; - this.setTabCheckboxState(); - } - /** - * @return {?} - */ - submit() { - this.modalBusy = true; - /** @type {?} */ - const unchangedPermissions = getPermissions(this.store.selectSnapshot(PermissionManagementState.getPermissionGroups)); - /** @type {?} */ - const changedPermissions = this.permissions - .filter((/** - * @param {?} per - * @return {?} - */ - per => unchangedPermissions.find((/** - * @param {?} unchanged - * @return {?} - */ - unchanged => unchanged.name === per.name)).isGranted === - per.isGranted - ? false - : true)) - .map((/** - * @param {?} __0 - * @return {?} - */ - ({ name, isGranted }) => ({ name, isGranted }))); - if (changedPermissions.length) { - this.store - .dispatch(new UpdatePermissions({ - providerKey: this.providerKey, - providerName: this.providerName, - permissions: changedPermissions, - })) - .pipe(finalize((/** - * @return {?} - */ - () => (this.modalBusy = false)))) - .subscribe((/** - * @return {?} - */ - () => { - this.visible = false; - })); - } - else { - this.modalBusy = false; - this.visible = false; - } - } - /** - * @return {?} - */ - openModal() { - if (!this.providerKey || !this.providerName) { - throw new Error('Provider Key and Provider Name are required.'); - } - this.store - .dispatch(new GetPermissions({ - providerKey: this.providerKey, - providerName: this.providerName, - })) - .pipe(pluck('PermissionManagementState', 'permissionRes')) - .subscribe((/** - * @param {?} permissionRes - * @return {?} - */ - (permissionRes) => { - this.selectedGroup = permissionRes.groups[0]; - this.permissions = getPermissions(permissionRes.groups); - this.visible = true; - })); - } - /** - * @return {?} - */ - initModal() { - this.setTabCheckboxState(); - this.setGrantCheckboxState(); - } - /** - * @param {?} __0 - * @return {?} - */ - ngOnChanges({ visible }) { - if (!visible) - return; - if (visible.currentValue) { - this.openModal(); - } - else if (visible.currentValue === false && this.visible) { - this.visible = false; - } - } -} -PermissionManagementComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-permission-management', - template: "\r\n \r\n \r\n

\r\n {{ 'AbpPermissionManagement::Permissions' | abpLocalization }} - {{ data.entityName }}\r\n

\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n {{ group?.displayName }}\r\n
  • \r\n
\r\n
\r\n
\r\n

{{ selectedGroup?.displayName }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n {{ permission.displayName }}\r\n \r\n {{ provider.providerName }}: {{ provider.providerKey }}\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n
\r\n" - }] } -]; -/** @nocollapse */ -PermissionManagementComponent.ctorParameters = () => [ - { type: Store }, - { type: Renderer2 } -]; -PermissionManagementComponent.propDecorators = { - providerName: [{ type: Input }], - providerKey: [{ type: Input }], - hideBadges: [{ type: Input }], - visible: [{ type: Input }], - visibleChange: [{ type: Output }] -}; -__decorate([ - Select(PermissionManagementState.getPermissionGroups), - __metadata("design:type", Observable) -], PermissionManagementComponent.prototype, "groups$", void 0); -__decorate([ - Select(PermissionManagementState.getEntityDisplayName), - __metadata("design:type", Observable) -], PermissionManagementComponent.prototype, "entityName$", void 0); -if (false) { - /** @type {?} */ - PermissionManagementComponent.prototype.providerName; - /** @type {?} */ - PermissionManagementComponent.prototype.providerKey; - /** @type {?} */ - PermissionManagementComponent.prototype.hideBadges; - /** - * @type {?} - * @protected - */ - PermissionManagementComponent.prototype._visible; - /** @type {?} */ - PermissionManagementComponent.prototype.visibleChange; - /** @type {?} */ - PermissionManagementComponent.prototype.groups$; - /** @type {?} */ - PermissionManagementComponent.prototype.entityName$; - /** @type {?} */ - PermissionManagementComponent.prototype.selectedGroup; - /** @type {?} */ - PermissionManagementComponent.prototype.permissions; - /** @type {?} */ - PermissionManagementComponent.prototype.selectThisTab; - /** @type {?} */ - PermissionManagementComponent.prototype.selectAllTab; - /** @type {?} */ - PermissionManagementComponent.prototype.modalBusy; - /** @type {?} */ - PermissionManagementComponent.prototype.trackByFn; - /** - * @type {?} - * @private - */ - PermissionManagementComponent.prototype.store; - /** - * @type {?} - * @private - */ - PermissionManagementComponent.prototype.renderer; -} -/** - * @param {?} permissions - * @param {?} permission - * @return {?} - */ -function findMargin(permissions, permission) { - /** @type {?} */ - const parentPermission = permissions.find((/** - * @param {?} per - * @return {?} - */ - per => per.name === permission.parentName)); - if (parentPermission && parentPermission.parentName) { - /** @type {?} */ - let margin = 20; - return (margin += findMargin(permissions, parentPermission)); - } - return parentPermission ? 20 : 0; -} -/** - * @param {?} groups - * @return {?} - */ -function getPermissions(groups) { - return groups.reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - (acc, val) => [...acc, ...val.permissions]), []); -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/permission-management.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class PermissionManagementModule { -} -PermissionManagementModule.decorators = [ - { type: NgModule, args: [{ - declarations: [PermissionManagementComponent], - imports: [CoreModule, ThemeSharedModule, NgxsModule.forFeature([PermissionManagementState])], - exports: [PermissionManagementComponent], - },] } -]; - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/permission-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var PermissionManagement; -(function (PermissionManagement) { - /** - * @record - */ - function State() { } - PermissionManagement.State = State; - if (false) { - /** @type {?} */ - State.prototype.permissionRes; - } - /** - * @record - */ - function Response() { } - PermissionManagement.Response = Response; - if (false) { - /** @type {?} */ - Response.prototype.entityDisplayName; - /** @type {?} */ - Response.prototype.groups; - } - /** - * @record - */ - function Group() { } - PermissionManagement.Group = Group; - if (false) { - /** @type {?} */ - Group.prototype.name; - /** @type {?} */ - Group.prototype.displayName; - /** @type {?} */ - Group.prototype.permissions; - } - /** - * @record - */ - function MinimumPermission() { } - PermissionManagement.MinimumPermission = MinimumPermission; - if (false) { - /** @type {?} */ - MinimumPermission.prototype.name; - /** @type {?} */ - MinimumPermission.prototype.isGranted; - } - /** - * @record - */ - function Permission() { } - PermissionManagement.Permission = Permission; - if (false) { - /** @type {?} */ - Permission.prototype.displayName; - /** @type {?} */ - Permission.prototype.parentName; - /** @type {?} */ - Permission.prototype.allowedProviders; - /** @type {?} */ - Permission.prototype.grantedProviders; - } - /** - * @record - */ - function GrantedProvider() { } - PermissionManagement.GrantedProvider = GrantedProvider; - if (false) { - /** @type {?} */ - GrantedProvider.prototype.providerName; - /** @type {?} */ - GrantedProvider.prototype.providerKey; - } - /** - * @record - */ - function UpdateRequest() { } - PermissionManagement.UpdateRequest = UpdateRequest; - if (false) { - /** @type {?} */ - UpdateRequest.prototype.permissions; - } -})(PermissionManagement || (PermissionManagement = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/permission-management-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class PermissionManagementStateService { - /** - * @param {?} store - */ - constructor(store) { - this.store = store; - } - /** - * @return {?} - */ - getPermissionGroups() { - return this.store.selectSnapshot(PermissionManagementState.getPermissionGroups); - } - /** - * @return {?} - */ - getEntityDisplayName() { - return this.store.selectSnapshot(PermissionManagementState.getEntityDisplayName); - } -} -PermissionManagementStateService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -PermissionManagementStateService.ctorParameters = () => [ - { type: Store } -]; -/** @nocollapse */ PermissionManagementStateService.ngInjectableDef = ɵɵdefineInjectable({ factory: function PermissionManagementStateService_Factory() { return new PermissionManagementStateService(ɵɵinject(Store)); }, token: PermissionManagementStateService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - PermissionManagementStateService.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.permission-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { GetPermissions, PermissionManagementComponent, PermissionManagementModule, PermissionManagementService, PermissionManagementState, PermissionManagementStateService, UpdatePermissions, PermissionManagementComponent as ɵa, PermissionManagementState as ɵb, PermissionManagementService as ɵc, GetPermissions as ɵd, UpdatePermissions as ɵe }; -//# sourceMappingURL=abp-ng.permission-management.js.map diff --git a/npm/ng-packs/dist/permission-management/fesm2015/abp-ng.permission-management.js.map b/npm/ng-packs/dist/permission-management/fesm2015/abp-ng.permission-management.js.map deleted file mode 100644 index 21fafc9f73d..00000000000 --- a/npm/ng-packs/dist/permission-management/fesm2015/abp-ng.permission-management.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.permission-management.js","sources":["ng://@abp/ng.permission-management/lib/actions/permission-management.actions.ts","ng://@abp/ng.permission-management/lib/services/permission-management.service.ts","ng://@abp/ng.permission-management/lib/states/permission-management.state.ts","ng://@abp/ng.permission-management/lib/components/permission-management.component.ts","ng://@abp/ng.permission-management/lib/permission-management.module.ts","ng://@abp/ng.permission-management/lib/models/permission-management.ts","ng://@abp/ng.permission-management/lib/services/permission-management-state.service.ts"],"sourcesContent":["import { PermissionManagement } from '../models/permission-management';\r\n\r\nexport class GetPermissions {\r\n static readonly type = '[PermissionManagement] Get Permissions';\r\n constructor(public payload: PermissionManagement.GrantedProvider) {}\r\n}\r\n\r\nexport class UpdatePermissions {\r\n static readonly type = '[PermissionManagement] Update Permissions';\r\n constructor(public payload: PermissionManagement.GrantedProvider & PermissionManagement.UpdateRequest) {}\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport { Observable } from 'rxjs';\r\nimport { PermissionManagement } from '../models/permission-management';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PermissionManagementService {\r\n constructor(private rest: RestService) {}\r\n\r\n getPermissions(params: PermissionManagement.GrantedProvider): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/abp/permissions',\r\n params,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n updatePermissions({\r\n permissions,\r\n providerKey,\r\n providerName,\r\n }: PermissionManagement.GrantedProvider & PermissionManagement.UpdateRequest): Observable {\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url: '/api/abp/permissions',\r\n body: { permissions },\r\n params: { providerKey, providerName },\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n}\r\n","import { State, Action, StateContext, Selector } from '@ngxs/store';\r\nimport { GetPermissions, UpdatePermissions } from '../actions/permission-management.actions';\r\nimport { PermissionManagement } from '../models/permission-management';\r\nimport { PermissionManagementService } from '../services/permission-management.service';\r\nimport { tap } from 'rxjs/operators';\r\n\r\n@State({\r\n name: 'PermissionManagementState',\r\n defaults: { permissionRes: {} } as PermissionManagement.State,\r\n})\r\nexport class PermissionManagementState {\r\n @Selector()\r\n static getPermissionGroups({ permissionRes }: PermissionManagement.State) {\r\n return permissionRes.groups || [];\r\n }\r\n\r\n @Selector()\r\n static getEntityDisplayName({ permissionRes }: PermissionManagement.State): string {\r\n return permissionRes.entityDisplayName;\r\n }\r\n\r\n constructor(private permissionManagementService: PermissionManagementService) {}\r\n\r\n @Action(GetPermissions)\r\n permissionManagementGet({ patchState }: StateContext, { payload }: GetPermissions) {\r\n return this.permissionManagementService.getPermissions(payload).pipe(\r\n tap(permissionResponse =>\r\n patchState({\r\n permissionRes: permissionResponse,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(UpdatePermissions)\r\n permissionManagementUpdate(_, { payload }: UpdatePermissions) {\r\n return this.permissionManagementService.updatePermissions(payload);\r\n }\r\n}\r\n","import {\r\n Component,\r\n EventEmitter,\r\n Input,\r\n OnChanges,\r\n OnInit,\r\n Output,\r\n Renderer2,\r\n SimpleChanges,\r\n TrackByFunction,\r\n} from '@angular/core';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { from, Observable } from 'rxjs';\r\nimport { map, pluck, take, finalize } from 'rxjs/operators';\r\nimport { GetPermissions, UpdatePermissions } from '../actions/permission-management.actions';\r\nimport { PermissionManagement } from '../models/permission-management';\r\nimport { PermissionManagementState } from '../states/permission-management.state';\r\n\r\ntype PermissionWithMargin = PermissionManagement.Permission & {\r\n margin: number;\r\n};\r\n\r\n@Component({\r\n selector: 'abp-permission-management',\r\n templateUrl: './permission-management.component.html',\r\n})\r\nexport class PermissionManagementComponent implements OnInit, OnChanges {\r\n @Input()\r\n providerName: string;\r\n\r\n @Input()\r\n providerKey: string;\r\n\r\n @Input()\r\n hideBadges = false;\r\n\r\n protected _visible;\r\n\r\n @Input()\r\n get visible(): boolean {\r\n return this._visible;\r\n }\r\n\r\n set visible(value: boolean) {\r\n if (!this.selectedGroup) return;\r\n\r\n this._visible = value;\r\n this.visibleChange.emit(value);\r\n\r\n if (!value) {\r\n this.selectedGroup = null;\r\n }\r\n }\r\n\r\n @Output() readonly visibleChange = new EventEmitter();\r\n\r\n @Select(PermissionManagementState.getPermissionGroups)\r\n groups$: Observable;\r\n\r\n @Select(PermissionManagementState.getEntityDisplayName)\r\n entityName$: Observable;\r\n\r\n selectedGroup: PermissionManagement.Group;\r\n\r\n permissions: PermissionManagement.Permission[] = [];\r\n\r\n selectThisTab = false;\r\n\r\n selectAllTab = false;\r\n\r\n modalBusy = false;\r\n\r\n trackByFn: TrackByFunction = (_, item) => item.name;\r\n\r\n get selectedGroupPermissions$(): Observable {\r\n return this.groups$.pipe(\r\n map(groups =>\r\n this.selectedGroup\r\n ? groups.find(group => group.name === this.selectedGroup.name).permissions\r\n : [],\r\n ),\r\n map(permissions =>\r\n permissions.map(\r\n permission =>\r\n (({\r\n ...permission,\r\n margin: findMargin(permissions, permission),\r\n isGranted: this.permissions.find(per => per.name === permission.name).isGranted,\r\n } as any) as PermissionWithMargin),\r\n ),\r\n ),\r\n );\r\n }\r\n\r\n constructor(private store: Store, private renderer: Renderer2) {}\r\n\r\n ngOnInit(): void {}\r\n\r\n getChecked(name: string) {\r\n return (this.permissions.find(per => per.name === name) || { isGranted: false }).isGranted;\r\n }\r\n\r\n isGrantedByOtherProviderName(grantedProviders: PermissionManagement.GrantedProvider[]): boolean {\r\n if (grantedProviders.length) {\r\n return grantedProviders.findIndex(p => p.providerName !== this.providerName) > -1;\r\n }\r\n return false;\r\n }\r\n\r\n onClickCheckbox(clickedPermission: PermissionManagement.Permission, value) {\r\n if (\r\n clickedPermission.isGranted &&\r\n this.isGrantedByOtherProviderName(clickedPermission.grantedProviders)\r\n )\r\n return;\r\n\r\n setTimeout(() => {\r\n this.permissions = this.permissions.map(per => {\r\n if (clickedPermission.name === per.name) {\r\n return { ...per, isGranted: !per.isGranted };\r\n } else if (clickedPermission.name === per.parentName && clickedPermission.isGranted) {\r\n return { ...per, isGranted: false };\r\n } else if (clickedPermission.parentName === per.name && !clickedPermission.isGranted) {\r\n return { ...per, isGranted: true };\r\n }\r\n\r\n return per;\r\n });\r\n\r\n this.setTabCheckboxState();\r\n this.setGrantCheckboxState();\r\n }, 0);\r\n }\r\n\r\n setTabCheckboxState() {\r\n this.selectedGroupPermissions$.pipe(take(1)).subscribe(permissions => {\r\n const selectedPermissions = permissions.filter(per => per.isGranted);\r\n const element = document.querySelector('#select-all-in-this-tabs') as any;\r\n\r\n if (selectedPermissions.length === permissions.length) {\r\n element.indeterminate = false;\r\n this.selectThisTab = true;\r\n } else if (selectedPermissions.length === 0) {\r\n element.indeterminate = false;\r\n this.selectThisTab = false;\r\n } else {\r\n element.indeterminate = true;\r\n }\r\n });\r\n }\r\n\r\n setGrantCheckboxState() {\r\n const selectedAllPermissions = this.permissions.filter(per => per.isGranted);\r\n const checkboxElement = document.querySelector('#select-all-in-all-tabs') as any;\r\n\r\n if (selectedAllPermissions.length === this.permissions.length) {\r\n checkboxElement.indeterminate = false;\r\n this.selectAllTab = true;\r\n } else if (selectedAllPermissions.length === 0) {\r\n checkboxElement.indeterminate = false;\r\n this.selectAllTab = false;\r\n } else {\r\n checkboxElement.indeterminate = true;\r\n }\r\n }\r\n\r\n onClickSelectThisTab() {\r\n this.selectedGroupPermissions$.pipe(take(1)).subscribe(permissions => {\r\n permissions.forEach(permission => {\r\n if (permission.isGranted && this.isGrantedByOtherProviderName(permission.grantedProviders))\r\n return;\r\n\r\n const index = this.permissions.findIndex(per => per.name === permission.name);\r\n\r\n this.permissions = [\r\n ...this.permissions.slice(0, index),\r\n { ...this.permissions[index], isGranted: !this.selectThisTab },\r\n ...this.permissions.slice(index + 1),\r\n ];\r\n });\r\n });\r\n\r\n this.setGrantCheckboxState();\r\n }\r\n\r\n onClickSelectAll() {\r\n this.permissions = this.permissions.map(permission => ({\r\n ...permission,\r\n isGranted:\r\n this.isGrantedByOtherProviderName(permission.grantedProviders) || !this.selectAllTab,\r\n }));\r\n\r\n this.selectThisTab = !this.selectAllTab;\r\n }\r\n\r\n onChangeGroup(group: PermissionManagement.Group) {\r\n this.selectedGroup = group;\r\n this.setTabCheckboxState();\r\n }\r\n\r\n submit() {\r\n this.modalBusy = true;\r\n const unchangedPermissions = getPermissions(\r\n this.store.selectSnapshot(PermissionManagementState.getPermissionGroups),\r\n );\r\n\r\n const changedPermissions: PermissionManagement.MinimumPermission[] = this.permissions\r\n .filter(per =>\r\n unchangedPermissions.find(unchanged => unchanged.name === per.name).isGranted ===\r\n per.isGranted\r\n ? false\r\n : true,\r\n )\r\n .map(({ name, isGranted }) => ({ name, isGranted }));\r\n\r\n if (changedPermissions.length) {\r\n this.store\r\n .dispatch(\r\n new UpdatePermissions({\r\n providerKey: this.providerKey,\r\n providerName: this.providerName,\r\n permissions: changedPermissions,\r\n }),\r\n )\r\n .pipe(finalize(() => (this.modalBusy = false)))\r\n .subscribe(() => {\r\n this.visible = false;\r\n });\r\n } else {\r\n this.modalBusy = false;\r\n this.visible = false;\r\n }\r\n }\r\n\r\n openModal() {\r\n if (!this.providerKey || !this.providerName) {\r\n throw new Error('Provider Key and Provider Name are required.');\r\n }\r\n\r\n this.store\r\n .dispatch(\r\n new GetPermissions({\r\n providerKey: this.providerKey,\r\n providerName: this.providerName,\r\n }),\r\n )\r\n .pipe(pluck('PermissionManagementState', 'permissionRes'))\r\n .subscribe((permissionRes: PermissionManagement.Response) => {\r\n this.selectedGroup = permissionRes.groups[0];\r\n this.permissions = getPermissions(permissionRes.groups);\r\n\r\n this.visible = true;\r\n });\r\n }\r\n\r\n initModal() {\r\n this.setTabCheckboxState();\r\n this.setGrantCheckboxState();\r\n }\r\n\r\n ngOnChanges({ visible }: SimpleChanges): void {\r\n if (!visible) return;\r\n\r\n if (visible.currentValue) {\r\n this.openModal();\r\n } else if (visible.currentValue === false && this.visible) {\r\n this.visible = false;\r\n }\r\n }\r\n}\r\n\r\nfunction findMargin(\r\n permissions: PermissionManagement.Permission[],\r\n permission: PermissionManagement.Permission,\r\n) {\r\n const parentPermission = permissions.find(per => per.name === permission.parentName);\r\n\r\n if (parentPermission && parentPermission.parentName) {\r\n let margin = 20;\r\n return (margin += findMargin(permissions, parentPermission));\r\n }\r\n\r\n return parentPermission ? 20 : 0;\r\n}\r\n\r\nfunction getPermissions(groups: PermissionManagement.Group[]): PermissionManagement.Permission[] {\r\n return groups.reduce((acc, val) => [...acc, ...val.permissions], []);\r\n}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule } from '@angular/core';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { PermissionManagementComponent } from './components/permission-management.component';\r\nimport { PermissionManagementState } from './states/permission-management.state';\r\n\r\n@NgModule({\r\n declarations: [PermissionManagementComponent],\r\n imports: [CoreModule, ThemeSharedModule, NgxsModule.forFeature([PermissionManagementState])],\r\n exports: [PermissionManagementComponent],\r\n})\r\nexport class PermissionManagementModule {}\r\n","export namespace PermissionManagement {\r\n export interface State {\r\n permissionRes: Response;\r\n }\r\n\r\n export interface Response {\r\n entityDisplayName: string;\r\n groups: Group[];\r\n }\r\n\r\n export interface Group {\r\n name: string;\r\n displayName: string;\r\n permissions: Permission[];\r\n }\r\n\r\n export interface MinimumPermission {\r\n name: string;\r\n isGranted: boolean;\r\n }\r\n\r\n export interface Permission extends MinimumPermission {\r\n displayName: string;\r\n parentName: string;\r\n allowedProviders: string[];\r\n grantedProviders: GrantedProvider[];\r\n }\r\n\r\n export interface GrantedProvider {\r\n providerName: string;\r\n providerKey: string;\r\n }\r\n\r\n export interface UpdateRequest {\r\n permissions: MinimumPermission[];\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { PermissionManagementState } from '../states/permission-management.state';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PermissionManagementStateService {\r\n constructor(private store: Store) {}\r\n\r\n getPermissionGroups() {\r\n return this.store.selectSnapshot(PermissionManagementState.getPermissionGroups);\r\n }\r\n getEntityDisplayName() {\r\n return this.store.selectSnapshot(PermissionManagementState.getEntityDisplayName);\r\n }\r\n}\r\n"],"names":["tslib_1.__decorate"],"mappings":";;;;;;;;;;;;;AAEA,MAAa,cAAc;;;;IAEzB,YAAmB,OAA6C;QAA7C,YAAO,GAAP,OAAO,CAAsC;KAAI;;AADpD,mBAAI,GAAG,wCAAwC,CAAC;;;IAAhE,oBAAgE;;IACpD,iCAAoD;;AAGlE,MAAa,iBAAiB;;;;IAE5B,YAAmB,OAAkF;QAAlF,YAAO,GAAP,OAAO,CAA2E;KAAI;;AADzF,sBAAI,GAAG,2CAA2C,CAAC;;;IAAnE,uBAAmE;;IACvD,oCAAyF;;;;;;;;ACTvG,MAQa,2BAA2B;;;;IACtC,YAAoB,IAAiB;QAAjB,SAAI,GAAJ,IAAI,CAAa;KAAI;;;;;IAEzC,cAAc,CAAC,MAA4C;;cACnD,OAAO,GAAuD;YAClE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,sBAAsB;YAC3B,MAAM;SACP;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAsE,OAAO,CAAC,CAAC;KACxG;;;;;IAED,iBAAiB,CAAC,EAChB,WAAW,EACX,WAAW,EACX,YAAY,GAC8D;;cACpE,OAAO,GAAqD;YAChE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,sBAAsB;YAC3B,IAAI,EAAE,EAAE,WAAW,EAAE;YACrB,MAAM,EAAE,EAAE,WAAW,EAAE,YAAY,EAAE;SACtC;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAA2C,OAAO,CAAC,CAAC;KAC7E;;;YA7BF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;;;;YANQ,WAAW;;;;;;;;IAQN,2CAAyB;;;;;;;;ICC1B,y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AGtB,4BAEC;;;;QADC,oCAAiC;;CAEpC,EApCgB,oBAAoB,KAApB,oBAAoB,QAoCpC;;;;;;;;;;;;;ACpCD,MAOa,gCAAgC;;;;IAC3C,YAAoB,KAAY;QAAZ,UAAK,GAAL,KAAK,CAAO;KAAI;;;;IAEpC,mBAAmB;QACjB,OAAO,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,yBAAyB,CAAC,mBAAmB,CAAC,CAAC;KACjF;;;;IACD,oBAAoB;QAClB,OAAO,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,yBAAyB,CAAC,oBAAoB,CAAC,CAAC;KAClF;;;YAXF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;;;;YALQ,KAAK;;;;;;;;IAOA,iDAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/fesm5/abp-ng.permission-management.js b/npm/ng-packs/dist/permission-management/fesm5/abp-ng.permission-management.js deleted file mode 100644 index 1e0f7cf5e99..00000000000 --- a/npm/ng-packs/dist/permission-management/fesm5/abp-ng.permission-management.js +++ /dev/null @@ -1,916 +0,0 @@ -import { RestService, CoreModule } from '@abp/ng.core'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; -import { Injectable, ɵɵdefineInjectable, ɵɵinject, EventEmitter, Component, Renderer2, Input, Output, NgModule } from '@angular/core'; -import { Action, Selector, State, Store, Select, NgxsModule } from '@ngxs/store'; -import { __decorate, __metadata, __assign, __spread } from 'tslib'; -import { Observable } from 'rxjs'; -import { tap, map, take, finalize, pluck } from 'rxjs/operators'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/permission-management.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var GetPermissions = /** @class */ (function () { - function GetPermissions(payload) { - this.payload = payload; - } - GetPermissions.type = '[PermissionManagement] Get Permissions'; - return GetPermissions; -}()); -if (false) { - /** @type {?} */ - GetPermissions.type; - /** @type {?} */ - GetPermissions.prototype.payload; -} -var UpdatePermissions = /** @class */ (function () { - function UpdatePermissions(payload) { - this.payload = payload; - } - UpdatePermissions.type = '[PermissionManagement] Update Permissions'; - return UpdatePermissions; -}()); -if (false) { - /** @type {?} */ - UpdatePermissions.type; - /** @type {?} */ - UpdatePermissions.prototype.payload; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/permission-management.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var PermissionManagementService = /** @class */ (function () { - function PermissionManagementService(rest) { - this.rest = rest; - } - /** - * @param {?} params - * @return {?} - */ - PermissionManagementService.prototype.getPermissions = /** - * @param {?} params - * @return {?} - */ - function (params) { - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/abp/permissions', - params: params, - }; - return this.rest.request(request); - }; - /** - * @param {?} __0 - * @return {?} - */ - PermissionManagementService.prototype.updatePermissions = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var permissions = _a.permissions, providerKey = _a.providerKey, providerName = _a.providerName; - /** @type {?} */ - var request = { - method: 'PUT', - url: '/api/abp/permissions', - body: { permissions: permissions }, - params: { providerKey: providerKey, providerName: providerName }, - }; - return this.rest.request(request); - }; - PermissionManagementService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - PermissionManagementService.ctorParameters = function () { return [ - { type: RestService } - ]; }; - /** @nocollapse */ PermissionManagementService.ngInjectableDef = ɵɵdefineInjectable({ factory: function PermissionManagementService_Factory() { return new PermissionManagementService(ɵɵinject(RestService)); }, token: PermissionManagementService, providedIn: "root" }); - return PermissionManagementService; -}()); -if (false) { - /** - * @type {?} - * @private - */ - PermissionManagementService.prototype.rest; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/permission-management.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var PermissionManagementState = /** @class */ (function () { - function PermissionManagementState(permissionManagementService) { - this.permissionManagementService = permissionManagementService; - } - /** - * @param {?} __0 - * @return {?} - */ - PermissionManagementState.getPermissionGroups = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var permissionRes = _a.permissionRes; - return permissionRes.groups || []; - }; - /** - * @param {?} __0 - * @return {?} - */ - PermissionManagementState.getEntityDisplayName = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var permissionRes = _a.permissionRes; - return permissionRes.entityDisplayName; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - PermissionManagementState.prototype.permissionManagementGet = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.permissionManagementService.getPermissions(payload).pipe(tap((/** - * @param {?} permissionResponse - * @return {?} - */ - function (permissionResponse) { - return patchState({ - permissionRes: permissionResponse, - }); - }))); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - PermissionManagementState.prototype.permissionManagementUpdate = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.permissionManagementService.updatePermissions(payload); - }; - PermissionManagementState.ctorParameters = function () { return [ - { type: PermissionManagementService } - ]; }; - __decorate([ - Action(GetPermissions), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetPermissions]), - __metadata("design:returntype", void 0) - ], PermissionManagementState.prototype, "permissionManagementGet", null); - __decorate([ - Action(UpdatePermissions), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, UpdatePermissions]), - __metadata("design:returntype", void 0) - ], PermissionManagementState.prototype, "permissionManagementUpdate", null); - __decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", void 0) - ], PermissionManagementState, "getPermissionGroups", null); - __decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", String) - ], PermissionManagementState, "getEntityDisplayName", null); - PermissionManagementState = __decorate([ - State({ - name: 'PermissionManagementState', - defaults: (/** @type {?} */ ({ permissionRes: {} })), - }), - __metadata("design:paramtypes", [PermissionManagementService]) - ], PermissionManagementState); - return PermissionManagementState; -}()); -if (false) { - /** - * @type {?} - * @private - */ - PermissionManagementState.prototype.permissionManagementService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/permission-management.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var PermissionManagementComponent = /** @class */ (function () { - function PermissionManagementComponent(store, renderer) { - this.store = store; - this.renderer = renderer; - this.hideBadges = false; - this.visibleChange = new EventEmitter(); - this.permissions = []; - this.selectThisTab = false; - this.selectAllTab = false; - this.modalBusy = false; - this.trackByFn = (/** - * @param {?} _ - * @param {?} item - * @return {?} - */ - function (_, item) { return item.name; }); - } - Object.defineProperty(PermissionManagementComponent.prototype, "visible", { - get: /** - * @return {?} - */ - function () { - return this._visible; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - if (!this.selectedGroup) - return; - this._visible = value; - this.visibleChange.emit(value); - if (!value) { - this.selectedGroup = null; - } - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(PermissionManagementComponent.prototype, "selectedGroupPermissions$", { - get: /** - * @return {?} - */ - function () { - var _this = this; - return this.groups$.pipe(map((/** - * @param {?} groups - * @return {?} - */ - function (groups) { - return _this.selectedGroup - ? groups.find((/** - * @param {?} group - * @return {?} - */ - function (group) { return group.name === _this.selectedGroup.name; })).permissions - : []; - })), map((/** - * @param {?} permissions - * @return {?} - */ - function (permissions) { - return permissions.map((/** - * @param {?} permission - * @return {?} - */ - function (permission) { - return ((/** @type {?} */ (((/** @type {?} */ (__assign({}, permission, { margin: findMargin(permissions, permission), isGranted: _this.permissions.find((/** - * @param {?} per - * @return {?} - */ - function (per) { return per.name === permission.name; })).isGranted }))))))); - })); - }))); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - PermissionManagementComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { }; - /** - * @param {?} name - * @return {?} - */ - PermissionManagementComponent.prototype.getChecked = /** - * @param {?} name - * @return {?} - */ - function (name) { - return (this.permissions.find((/** - * @param {?} per - * @return {?} - */ - function (per) { return per.name === name; })) || { isGranted: false }).isGranted; - }; - /** - * @param {?} grantedProviders - * @return {?} - */ - PermissionManagementComponent.prototype.isGrantedByOtherProviderName = /** - * @param {?} grantedProviders - * @return {?} - */ - function (grantedProviders) { - var _this = this; - if (grantedProviders.length) { - return grantedProviders.findIndex((/** - * @param {?} p - * @return {?} - */ - function (p) { return p.providerName !== _this.providerName; })) > -1; - } - return false; - }; - /** - * @param {?} clickedPermission - * @param {?} value - * @return {?} - */ - PermissionManagementComponent.prototype.onClickCheckbox = /** - * @param {?} clickedPermission - * @param {?} value - * @return {?} - */ - function (clickedPermission, value) { - var _this = this; - if (clickedPermission.isGranted && - this.isGrantedByOtherProviderName(clickedPermission.grantedProviders)) - return; - setTimeout((/** - * @return {?} - */ - function () { - _this.permissions = _this.permissions.map((/** - * @param {?} per - * @return {?} - */ - function (per) { - if (clickedPermission.name === per.name) { - return __assign({}, per, { isGranted: !per.isGranted }); - } - else if (clickedPermission.name === per.parentName && clickedPermission.isGranted) { - return __assign({}, per, { isGranted: false }); - } - else if (clickedPermission.parentName === per.name && !clickedPermission.isGranted) { - return __assign({}, per, { isGranted: true }); - } - return per; - })); - _this.setTabCheckboxState(); - _this.setGrantCheckboxState(); - }), 0); - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.setTabCheckboxState = /** - * @return {?} - */ - function () { - var _this = this; - this.selectedGroupPermissions$.pipe(take(1)).subscribe((/** - * @param {?} permissions - * @return {?} - */ - function (permissions) { - /** @type {?} */ - var selectedPermissions = permissions.filter((/** - * @param {?} per - * @return {?} - */ - function (per) { return per.isGranted; })); - /** @type {?} */ - var element = (/** @type {?} */ (document.querySelector('#select-all-in-this-tabs'))); - if (selectedPermissions.length === permissions.length) { - element.indeterminate = false; - _this.selectThisTab = true; - } - else if (selectedPermissions.length === 0) { - element.indeterminate = false; - _this.selectThisTab = false; - } - else { - element.indeterminate = true; - } - })); - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.setGrantCheckboxState = /** - * @return {?} - */ - function () { - /** @type {?} */ - var selectedAllPermissions = this.permissions.filter((/** - * @param {?} per - * @return {?} - */ - function (per) { return per.isGranted; })); - /** @type {?} */ - var checkboxElement = (/** @type {?} */ (document.querySelector('#select-all-in-all-tabs'))); - if (selectedAllPermissions.length === this.permissions.length) { - checkboxElement.indeterminate = false; - this.selectAllTab = true; - } - else if (selectedAllPermissions.length === 0) { - checkboxElement.indeterminate = false; - this.selectAllTab = false; - } - else { - checkboxElement.indeterminate = true; - } - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.onClickSelectThisTab = /** - * @return {?} - */ - function () { - var _this = this; - this.selectedGroupPermissions$.pipe(take(1)).subscribe((/** - * @param {?} permissions - * @return {?} - */ - function (permissions) { - permissions.forEach((/** - * @param {?} permission - * @return {?} - */ - function (permission) { - if (permission.isGranted && _this.isGrantedByOtherProviderName(permission.grantedProviders)) - return; - /** @type {?} */ - var index = _this.permissions.findIndex((/** - * @param {?} per - * @return {?} - */ - function (per) { return per.name === permission.name; })); - _this.permissions = __spread(_this.permissions.slice(0, index), [ - __assign({}, _this.permissions[index], { isGranted: !_this.selectThisTab }) - ], _this.permissions.slice(index + 1)); - })); - })); - this.setGrantCheckboxState(); - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.onClickSelectAll = /** - * @return {?} - */ - function () { - var _this = this; - this.permissions = this.permissions.map((/** - * @param {?} permission - * @return {?} - */ - function (permission) { return (__assign({}, permission, { isGranted: _this.isGrantedByOtherProviderName(permission.grantedProviders) || !_this.selectAllTab })); })); - this.selectThisTab = !this.selectAllTab; - }; - /** - * @param {?} group - * @return {?} - */ - PermissionManagementComponent.prototype.onChangeGroup = /** - * @param {?} group - * @return {?} - */ - function (group) { - this.selectedGroup = group; - this.setTabCheckboxState(); - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.submit = /** - * @return {?} - */ - function () { - var _this = this; - this.modalBusy = true; - /** @type {?} */ - var unchangedPermissions = getPermissions(this.store.selectSnapshot(PermissionManagementState.getPermissionGroups)); - /** @type {?} */ - var changedPermissions = this.permissions - .filter((/** - * @param {?} per - * @return {?} - */ - function (per) { - return unchangedPermissions.find((/** - * @param {?} unchanged - * @return {?} - */ - function (unchanged) { return unchanged.name === per.name; })).isGranted === - per.isGranted - ? false - : true; - })) - .map((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var name = _a.name, isGranted = _a.isGranted; - return ({ name: name, isGranted: isGranted }); - })); - if (changedPermissions.length) { - this.store - .dispatch(new UpdatePermissions({ - providerKey: this.providerKey, - providerName: this.providerName, - permissions: changedPermissions, - })) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.visible = false; - })); - } - else { - this.modalBusy = false; - this.visible = false; - } - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.openModal = /** - * @return {?} - */ - function () { - var _this = this; - if (!this.providerKey || !this.providerName) { - throw new Error('Provider Key and Provider Name are required.'); - } - this.store - .dispatch(new GetPermissions({ - providerKey: this.providerKey, - providerName: this.providerName, - })) - .pipe(pluck('PermissionManagementState', 'permissionRes')) - .subscribe((/** - * @param {?} permissionRes - * @return {?} - */ - function (permissionRes) { - _this.selectedGroup = permissionRes.groups[0]; - _this.permissions = getPermissions(permissionRes.groups); - _this.visible = true; - })); - }; - /** - * @return {?} - */ - PermissionManagementComponent.prototype.initModal = /** - * @return {?} - */ - function () { - this.setTabCheckboxState(); - this.setGrantCheckboxState(); - }; - /** - * @param {?} __0 - * @return {?} - */ - PermissionManagementComponent.prototype.ngOnChanges = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var visible = _a.visible; - if (!visible) - return; - if (visible.currentValue) { - this.openModal(); - } - else if (visible.currentValue === false && this.visible) { - this.visible = false; - } - }; - PermissionManagementComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-permission-management', - template: "\r\n \r\n \r\n

\r\n {{ 'AbpPermissionManagement::Permissions' | abpLocalization }} - {{ data.entityName }}\r\n

\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n {{ group?.displayName }}\r\n
  • \r\n
\r\n
\r\n
\r\n

{{ selectedGroup?.displayName }}

\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n {{ permission.displayName }}\r\n \r\n {{ provider.providerName }}: {{ provider.providerKey }}\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n
\r\n" - }] } - ]; - /** @nocollapse */ - PermissionManagementComponent.ctorParameters = function () { return [ - { type: Store }, - { type: Renderer2 } - ]; }; - PermissionManagementComponent.propDecorators = { - providerName: [{ type: Input }], - providerKey: [{ type: Input }], - hideBadges: [{ type: Input }], - visible: [{ type: Input }], - visibleChange: [{ type: Output }] - }; - __decorate([ - Select(PermissionManagementState.getPermissionGroups), - __metadata("design:type", Observable) - ], PermissionManagementComponent.prototype, "groups$", void 0); - __decorate([ - Select(PermissionManagementState.getEntityDisplayName), - __metadata("design:type", Observable) - ], PermissionManagementComponent.prototype, "entityName$", void 0); - return PermissionManagementComponent; -}()); -if (false) { - /** @type {?} */ - PermissionManagementComponent.prototype.providerName; - /** @type {?} */ - PermissionManagementComponent.prototype.providerKey; - /** @type {?} */ - PermissionManagementComponent.prototype.hideBadges; - /** - * @type {?} - * @protected - */ - PermissionManagementComponent.prototype._visible; - /** @type {?} */ - PermissionManagementComponent.prototype.visibleChange; - /** @type {?} */ - PermissionManagementComponent.prototype.groups$; - /** @type {?} */ - PermissionManagementComponent.prototype.entityName$; - /** @type {?} */ - PermissionManagementComponent.prototype.selectedGroup; - /** @type {?} */ - PermissionManagementComponent.prototype.permissions; - /** @type {?} */ - PermissionManagementComponent.prototype.selectThisTab; - /** @type {?} */ - PermissionManagementComponent.prototype.selectAllTab; - /** @type {?} */ - PermissionManagementComponent.prototype.modalBusy; - /** @type {?} */ - PermissionManagementComponent.prototype.trackByFn; - /** - * @type {?} - * @private - */ - PermissionManagementComponent.prototype.store; - /** - * @type {?} - * @private - */ - PermissionManagementComponent.prototype.renderer; -} -/** - * @param {?} permissions - * @param {?} permission - * @return {?} - */ -function findMargin(permissions, permission) { - /** @type {?} */ - var parentPermission = permissions.find((/** - * @param {?} per - * @return {?} - */ - function (per) { return per.name === permission.parentName; })); - if (parentPermission && parentPermission.parentName) { - /** @type {?} */ - var margin = 20; - return (margin += findMargin(permissions, parentPermission)); - } - return parentPermission ? 20 : 0; -} -/** - * @param {?} groups - * @return {?} - */ -function getPermissions(groups) { - return groups.reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { return __spread(acc, val.permissions); }), []); -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/permission-management.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var PermissionManagementModule = /** @class */ (function () { - function PermissionManagementModule() { - } - PermissionManagementModule.decorators = [ - { type: NgModule, args: [{ - declarations: [PermissionManagementComponent], - imports: [CoreModule, ThemeSharedModule, NgxsModule.forFeature([PermissionManagementState])], - exports: [PermissionManagementComponent], - },] } - ]; - return PermissionManagementModule; -}()); - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/permission-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var PermissionManagement; -(function (PermissionManagement) { - /** - * @record - */ - function State() { } - PermissionManagement.State = State; - if (false) { - /** @type {?} */ - State.prototype.permissionRes; - } - /** - * @record - */ - function Response() { } - PermissionManagement.Response = Response; - if (false) { - /** @type {?} */ - Response.prototype.entityDisplayName; - /** @type {?} */ - Response.prototype.groups; - } - /** - * @record - */ - function Group() { } - PermissionManagement.Group = Group; - if (false) { - /** @type {?} */ - Group.prototype.name; - /** @type {?} */ - Group.prototype.displayName; - /** @type {?} */ - Group.prototype.permissions; - } - /** - * @record - */ - function MinimumPermission() { } - PermissionManagement.MinimumPermission = MinimumPermission; - if (false) { - /** @type {?} */ - MinimumPermission.prototype.name; - /** @type {?} */ - MinimumPermission.prototype.isGranted; - } - /** - * @record - */ - function Permission() { } - PermissionManagement.Permission = Permission; - if (false) { - /** @type {?} */ - Permission.prototype.displayName; - /** @type {?} */ - Permission.prototype.parentName; - /** @type {?} */ - Permission.prototype.allowedProviders; - /** @type {?} */ - Permission.prototype.grantedProviders; - } - /** - * @record - */ - function GrantedProvider() { } - PermissionManagement.GrantedProvider = GrantedProvider; - if (false) { - /** @type {?} */ - GrantedProvider.prototype.providerName; - /** @type {?} */ - GrantedProvider.prototype.providerKey; - } - /** - * @record - */ - function UpdateRequest() { } - PermissionManagement.UpdateRequest = UpdateRequest; - if (false) { - /** @type {?} */ - UpdateRequest.prototype.permissions; - } -})(PermissionManagement || (PermissionManagement = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/permission-management-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var PermissionManagementStateService = /** @class */ (function () { - function PermissionManagementStateService(store) { - this.store = store; - } - /** - * @return {?} - */ - PermissionManagementStateService.prototype.getPermissionGroups = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(PermissionManagementState.getPermissionGroups); - }; - /** - * @return {?} - */ - PermissionManagementStateService.prototype.getEntityDisplayName = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(PermissionManagementState.getEntityDisplayName); - }; - PermissionManagementStateService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - PermissionManagementStateService.ctorParameters = function () { return [ - { type: Store } - ]; }; - /** @nocollapse */ PermissionManagementStateService.ngInjectableDef = ɵɵdefineInjectable({ factory: function PermissionManagementStateService_Factory() { return new PermissionManagementStateService(ɵɵinject(Store)); }, token: PermissionManagementStateService, providedIn: "root" }); - return PermissionManagementStateService; -}()); -if (false) { - /** - * @type {?} - * @private - */ - PermissionManagementStateService.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.permission-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { GetPermissions, PermissionManagementComponent, PermissionManagementModule, PermissionManagementService, PermissionManagementState, PermissionManagementStateService, UpdatePermissions, PermissionManagementComponent as ɵa, PermissionManagementState as ɵb, PermissionManagementService as ɵc, GetPermissions as ɵd, UpdatePermissions as ɵe }; -//# sourceMappingURL=abp-ng.permission-management.js.map diff --git a/npm/ng-packs/dist/permission-management/fesm5/abp-ng.permission-management.js.map b/npm/ng-packs/dist/permission-management/fesm5/abp-ng.permission-management.js.map deleted file mode 100644 index f7eea945ebf..00000000000 --- a/npm/ng-packs/dist/permission-management/fesm5/abp-ng.permission-management.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.permission-management.js","sources":["ng://@abp/ng.permission-management/lib/actions/permission-management.actions.ts","ng://@abp/ng.permission-management/lib/services/permission-management.service.ts","ng://@abp/ng.permission-management/lib/states/permission-management.state.ts","ng://@abp/ng.permission-management/lib/components/permission-management.component.ts","ng://@abp/ng.permission-management/lib/permission-management.module.ts","ng://@abp/ng.permission-management/lib/models/permission-management.ts","ng://@abp/ng.permission-management/lib/services/permission-management-state.service.ts"],"sourcesContent":["import { PermissionManagement } from '../models/permission-management';\r\n\r\nexport class GetPermissions {\r\n static readonly type = '[PermissionManagement] Get Permissions';\r\n constructor(public payload: PermissionManagement.GrantedProvider) {}\r\n}\r\n\r\nexport class UpdatePermissions {\r\n static readonly type = '[PermissionManagement] Update Permissions';\r\n constructor(public payload: PermissionManagement.GrantedProvider & PermissionManagement.UpdateRequest) {}\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport { Observable } from 'rxjs';\r\nimport { PermissionManagement } from '../models/permission-management';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PermissionManagementService {\r\n constructor(private rest: RestService) {}\r\n\r\n getPermissions(params: PermissionManagement.GrantedProvider): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/abp/permissions',\r\n params,\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n updatePermissions({\r\n permissions,\r\n providerKey,\r\n providerName,\r\n }: PermissionManagement.GrantedProvider & PermissionManagement.UpdateRequest): Observable {\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url: '/api/abp/permissions',\r\n body: { permissions },\r\n params: { providerKey, providerName },\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n}\r\n","import { State, Action, StateContext, Selector } from '@ngxs/store';\r\nimport { GetPermissions, UpdatePermissions } from '../actions/permission-management.actions';\r\nimport { PermissionManagement } from '../models/permission-management';\r\nimport { PermissionManagementService } from '../services/permission-management.service';\r\nimport { tap } from 'rxjs/operators';\r\n\r\n@State({\r\n name: 'PermissionManagementState',\r\n defaults: { permissionRes: {} } as PermissionManagement.State,\r\n})\r\nexport class PermissionManagementState {\r\n @Selector()\r\n static getPermissionGroups({ permissionRes }: PermissionManagement.State) {\r\n return permissionRes.groups || [];\r\n }\r\n\r\n @Selector()\r\n static getEntityDisplayName({ permissionRes }: PermissionManagement.State): string {\r\n return permissionRes.entityDisplayName;\r\n }\r\n\r\n constructor(private permissionManagementService: PermissionManagementService) {}\r\n\r\n @Action(GetPermissions)\r\n permissionManagementGet({ patchState }: StateContext, { payload }: GetPermissions) {\r\n return this.permissionManagementService.getPermissions(payload).pipe(\r\n tap(permissionResponse =>\r\n patchState({\r\n permissionRes: permissionResponse,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(UpdatePermissions)\r\n permissionManagementUpdate(_, { payload }: UpdatePermissions) {\r\n return this.permissionManagementService.updatePermissions(payload);\r\n }\r\n}\r\n","import {\r\n Component,\r\n EventEmitter,\r\n Input,\r\n OnChanges,\r\n OnInit,\r\n Output,\r\n Renderer2,\r\n SimpleChanges,\r\n TrackByFunction,\r\n} from '@angular/core';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { from, Observable } from 'rxjs';\r\nimport { map, pluck, take, finalize } from 'rxjs/operators';\r\nimport { GetPermissions, UpdatePermissions } from '../actions/permission-management.actions';\r\nimport { PermissionManagement } from '../models/permission-management';\r\nimport { PermissionManagementState } from '../states/permission-management.state';\r\n\r\ntype PermissionWithMargin = PermissionManagement.Permission & {\r\n margin: number;\r\n};\r\n\r\n@Component({\r\n selector: 'abp-permission-management',\r\n templateUrl: './permission-management.component.html',\r\n})\r\nexport class PermissionManagementComponent implements OnInit, OnChanges {\r\n @Input()\r\n providerName: string;\r\n\r\n @Input()\r\n providerKey: string;\r\n\r\n @Input()\r\n hideBadges = false;\r\n\r\n protected _visible;\r\n\r\n @Input()\r\n get visible(): boolean {\r\n return this._visible;\r\n }\r\n\r\n set visible(value: boolean) {\r\n if (!this.selectedGroup) return;\r\n\r\n this._visible = value;\r\n this.visibleChange.emit(value);\r\n\r\n if (!value) {\r\n this.selectedGroup = null;\r\n }\r\n }\r\n\r\n @Output() readonly visibleChange = new EventEmitter();\r\n\r\n @Select(PermissionManagementState.getPermissionGroups)\r\n groups$: Observable;\r\n\r\n @Select(PermissionManagementState.getEntityDisplayName)\r\n entityName$: Observable;\r\n\r\n selectedGroup: PermissionManagement.Group;\r\n\r\n permissions: PermissionManagement.Permission[] = [];\r\n\r\n selectThisTab = false;\r\n\r\n selectAllTab = false;\r\n\r\n modalBusy = false;\r\n\r\n trackByFn: TrackByFunction = (_, item) => item.name;\r\n\r\n get selectedGroupPermissions$(): Observable {\r\n return this.groups$.pipe(\r\n map(groups =>\r\n this.selectedGroup\r\n ? groups.find(group => group.name === this.selectedGroup.name).permissions\r\n : [],\r\n ),\r\n map(permissions =>\r\n permissions.map(\r\n permission =>\r\n (({\r\n ...permission,\r\n margin: findMargin(permissions, permission),\r\n isGranted: this.permissions.find(per => per.name === permission.name).isGranted,\r\n } as any) as PermissionWithMargin),\r\n ),\r\n ),\r\n );\r\n }\r\n\r\n constructor(private store: Store, private renderer: Renderer2) {}\r\n\r\n ngOnInit(): void {}\r\n\r\n getChecked(name: string) {\r\n return (this.permissions.find(per => per.name === name) || { isGranted: false }).isGranted;\r\n }\r\n\r\n isGrantedByOtherProviderName(grantedProviders: PermissionManagement.GrantedProvider[]): boolean {\r\n if (grantedProviders.length) {\r\n return grantedProviders.findIndex(p => p.providerName !== this.providerName) > -1;\r\n }\r\n return false;\r\n }\r\n\r\n onClickCheckbox(clickedPermission: PermissionManagement.Permission, value) {\r\n if (\r\n clickedPermission.isGranted &&\r\n this.isGrantedByOtherProviderName(clickedPermission.grantedProviders)\r\n )\r\n return;\r\n\r\n setTimeout(() => {\r\n this.permissions = this.permissions.map(per => {\r\n if (clickedPermission.name === per.name) {\r\n return { ...per, isGranted: !per.isGranted };\r\n } else if (clickedPermission.name === per.parentName && clickedPermission.isGranted) {\r\n return { ...per, isGranted: false };\r\n } else if (clickedPermission.parentName === per.name && !clickedPermission.isGranted) {\r\n return { ...per, isGranted: true };\r\n }\r\n\r\n return per;\r\n });\r\n\r\n this.setTabCheckboxState();\r\n this.setGrantCheckboxState();\r\n }, 0);\r\n }\r\n\r\n setTabCheckboxState() {\r\n this.selectedGroupPermissions$.pipe(take(1)).subscribe(permissions => {\r\n const selectedPermissions = permissions.filter(per => per.isGranted);\r\n const element = document.querySelector('#select-all-in-this-tabs') as any;\r\n\r\n if (selectedPermissions.length === permissions.length) {\r\n element.indeterminate = false;\r\n this.selectThisTab = true;\r\n } else if (selectedPermissions.length === 0) {\r\n element.indeterminate = false;\r\n this.selectThisTab = false;\r\n } else {\r\n element.indeterminate = true;\r\n }\r\n });\r\n }\r\n\r\n setGrantCheckboxState() {\r\n const selectedAllPermissions = this.permissions.filter(per => per.isGranted);\r\n const checkboxElement = document.querySelector('#select-all-in-all-tabs') as any;\r\n\r\n if (selectedAllPermissions.length === this.permissions.length) {\r\n checkboxElement.indeterminate = false;\r\n this.selectAllTab = true;\r\n } else if (selectedAllPermissions.length === 0) {\r\n checkboxElement.indeterminate = false;\r\n this.selectAllTab = false;\r\n } else {\r\n checkboxElement.indeterminate = true;\r\n }\r\n }\r\n\r\n onClickSelectThisTab() {\r\n this.selectedGroupPermissions$.pipe(take(1)).subscribe(permissions => {\r\n permissions.forEach(permission => {\r\n if (permission.isGranted && this.isGrantedByOtherProviderName(permission.grantedProviders))\r\n return;\r\n\r\n const index = this.permissions.findIndex(per => per.name === permission.name);\r\n\r\n this.permissions = [\r\n ...this.permissions.slice(0, index),\r\n { ...this.permissions[index], isGranted: !this.selectThisTab },\r\n ...this.permissions.slice(index + 1),\r\n ];\r\n });\r\n });\r\n\r\n this.setGrantCheckboxState();\r\n }\r\n\r\n onClickSelectAll() {\r\n this.permissions = this.permissions.map(permission => ({\r\n ...permission,\r\n isGranted:\r\n this.isGrantedByOtherProviderName(permission.grantedProviders) || !this.selectAllTab,\r\n }));\r\n\r\n this.selectThisTab = !this.selectAllTab;\r\n }\r\n\r\n onChangeGroup(group: PermissionManagement.Group) {\r\n this.selectedGroup = group;\r\n this.setTabCheckboxState();\r\n }\r\n\r\n submit() {\r\n this.modalBusy = true;\r\n const unchangedPermissions = getPermissions(\r\n this.store.selectSnapshot(PermissionManagementState.getPermissionGroups),\r\n );\r\n\r\n const changedPermissions: PermissionManagement.MinimumPermission[] = this.permissions\r\n .filter(per =>\r\n unchangedPermissions.find(unchanged => unchanged.name === per.name).isGranted ===\r\n per.isGranted\r\n ? false\r\n : true,\r\n )\r\n .map(({ name, isGranted }) => ({ name, isGranted }));\r\n\r\n if (changedPermissions.length) {\r\n this.store\r\n .dispatch(\r\n new UpdatePermissions({\r\n providerKey: this.providerKey,\r\n providerName: this.providerName,\r\n permissions: changedPermissions,\r\n }),\r\n )\r\n .pipe(finalize(() => (this.modalBusy = false)))\r\n .subscribe(() => {\r\n this.visible = false;\r\n });\r\n } else {\r\n this.modalBusy = false;\r\n this.visible = false;\r\n }\r\n }\r\n\r\n openModal() {\r\n if (!this.providerKey || !this.providerName) {\r\n throw new Error('Provider Key and Provider Name are required.');\r\n }\r\n\r\n this.store\r\n .dispatch(\r\n new GetPermissions({\r\n providerKey: this.providerKey,\r\n providerName: this.providerName,\r\n }),\r\n )\r\n .pipe(pluck('PermissionManagementState', 'permissionRes'))\r\n .subscribe((permissionRes: PermissionManagement.Response) => {\r\n this.selectedGroup = permissionRes.groups[0];\r\n this.permissions = getPermissions(permissionRes.groups);\r\n\r\n this.visible = true;\r\n });\r\n }\r\n\r\n initModal() {\r\n this.setTabCheckboxState();\r\n this.setGrantCheckboxState();\r\n }\r\n\r\n ngOnChanges({ visible }: SimpleChanges): void {\r\n if (!visible) return;\r\n\r\n if (visible.currentValue) {\r\n this.openModal();\r\n } else if (visible.currentValue === false && this.visible) {\r\n this.visible = false;\r\n }\r\n }\r\n}\r\n\r\nfunction findMargin(\r\n permissions: PermissionManagement.Permission[],\r\n permission: PermissionManagement.Permission,\r\n) {\r\n const parentPermission = permissions.find(per => per.name === permission.parentName);\r\n\r\n if (parentPermission && parentPermission.parentName) {\r\n let margin = 20;\r\n return (margin += findMargin(permissions, parentPermission));\r\n }\r\n\r\n return parentPermission ? 20 : 0;\r\n}\r\n\r\nfunction getPermissions(groups: PermissionManagement.Group[]): PermissionManagement.Permission[] {\r\n return groups.reduce((acc, val) => [...acc, ...val.permissions], []);\r\n}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule } from '@angular/core';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { PermissionManagementComponent } from './components/permission-management.component';\r\nimport { PermissionManagementState } from './states/permission-management.state';\r\n\r\n@NgModule({\r\n declarations: [PermissionManagementComponent],\r\n imports: [CoreModule, ThemeSharedModule, NgxsModule.forFeature([PermissionManagementState])],\r\n exports: [PermissionManagementComponent],\r\n})\r\nexport class PermissionManagementModule {}\r\n","export namespace PermissionManagement {\r\n export interface State {\r\n permissionRes: Response;\r\n }\r\n\r\n export interface Response {\r\n entityDisplayName: string;\r\n groups: Group[];\r\n }\r\n\r\n export interface Group {\r\n name: string;\r\n displayName: string;\r\n permissions: Permission[];\r\n }\r\n\r\n export interface MinimumPermission {\r\n name: string;\r\n isGranted: boolean;\r\n }\r\n\r\n export interface Permission extends MinimumPermission {\r\n displayName: string;\r\n parentName: string;\r\n allowedProviders: string[];\r\n grantedProviders: GrantedProvider[];\r\n }\r\n\r\n export interface GrantedProvider {\r\n providerName: string;\r\n providerKey: string;\r\n }\r\n\r\n export interface UpdateRequest {\r\n permissions: MinimumPermission[];\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { PermissionManagementState } from '../states/permission-management.state';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PermissionManagementStateService {\r\n constructor(private store: Store) {}\r\n\r\n getPermissionGroups() {\r\n return this.store.selectSnapshot(PermissionManagementState.getPermissionGroups);\r\n }\r\n getEntityDisplayName() {\r\n return this.store.selectSnapshot(PermissionManagementState.getEntityDisplayName);\r\n }\r\n}\r\n"],"names":["tslib_1.__decorate"],"mappings":";;;;;;;;;;;;;AAEA;IAEE,wBAAmB,OAA6C;QAA7C,YAAO,GAAP,OAAO,CAAsC;KAAI;IADpD,mBAAI,GAAG,wCAAwC,CAAC;IAElE,qBAAC;CAHD,IAGC;;;IAFC,oBAAgE;;IACpD,iCAAoD;;AAGlE;IAEE,2BAAmB,OAAkF;QAAlF,YAAO,GAAP,OAAO,CAA2E;KAAI;IADzF,sBAAI,GAAG,2CAA2C,CAAC;IAErE,wBAAC;CAHD,IAGC;;;IAFC,uBAAmE;;IACvD,oCAAyF;;;;;;;;ACTvG;IASE,qCAAoB,IAAiB;QAAjB,SAAI,GAAJ,IAAI,CAAa;KAAI;;;;;IAEzC,oDAAc;;;;IAAd,UAAe,MAA4C;;YACnD,OAAO,GAAuD;YAClE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,sBAAsB;YAC3B,MAAM,QAAA;SACP;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAsE,OAAO,CAAC,CAAC;KACxG;;;;;IAED,uDAAiB;;;;IAAjB,UAAkB,EAI0D;YAH1E,4BAAW,EACX,4BAAW,EACX,8BAAY;;YAEN,OAAO,GAAqD;YAChE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,sBAAsB;YAC3B,IA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;;IACD,+DAAoB;;;IAApB;QACE,OAAO,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,yBAAyB,CAAC,oBAAoB,CAAC,CAAC;KAClF;;gBAXF,UAAU,SAAC;oBACV,UAAU,EAAE,MAAM;iBACnB;;;;gBALQ,KAAK;;;2CADd;CAIA,IAYC;;;;;;IARa,iDAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/permission-management/lib/actions/index.d.ts b/npm/ng-packs/dist/permission-management/lib/actions/index.d.ts deleted file mode 100644 index 5fb2c9e8e4e..00000000000 --- a/npm/ng-packs/dist/permission-management/lib/actions/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './permission-management.actions'; diff --git a/npm/ng-packs/dist/permission-management/lib/actions/permission-management.actions.d.ts b/npm/ng-packs/dist/permission-management/lib/actions/permission-management.actions.d.ts deleted file mode 100644 index 602e5f1b17a..00000000000 --- a/npm/ng-packs/dist/permission-management/lib/actions/permission-management.actions.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { PermissionManagement } from '../models/permission-management'; -export declare class GetPermissions { - payload: PermissionManagement.GrantedProvider; - static readonly type = "[PermissionManagement] Get Permissions"; - constructor(payload: PermissionManagement.GrantedProvider); -} -export declare class UpdatePermissions { - payload: PermissionManagement.GrantedProvider & PermissionManagement.UpdateRequest; - static readonly type = "[PermissionManagement] Update Permissions"; - constructor(payload: PermissionManagement.GrantedProvider & PermissionManagement.UpdateRequest); -} diff --git a/npm/ng-packs/dist/permission-management/lib/components/index.d.ts b/npm/ng-packs/dist/permission-management/lib/components/index.d.ts deleted file mode 100644 index efa91b45a2c..00000000000 --- a/npm/ng-packs/dist/permission-management/lib/components/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './permission-management.component'; diff --git a/npm/ng-packs/dist/permission-management/lib/components/permission-management.component.d.ts b/npm/ng-packs/dist/permission-management/lib/components/permission-management.component.d.ts deleted file mode 100644 index 1c47a81c81c..00000000000 --- a/npm/ng-packs/dist/permission-management/lib/components/permission-management.component.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { EventEmitter, OnChanges, OnInit, Renderer2, SimpleChanges, TrackByFunction } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { PermissionManagement } from '../models/permission-management'; -declare type PermissionWithMargin = PermissionManagement.Permission & { - margin: number; -}; -export declare class PermissionManagementComponent implements OnInit, OnChanges { - private store; - private renderer; - providerName: string; - providerKey: string; - hideBadges: boolean; - protected _visible: any; - visible: boolean; - readonly visibleChange: EventEmitter; - groups$: Observable; - entityName$: Observable; - selectedGroup: PermissionManagement.Group; - permissions: PermissionManagement.Permission[]; - selectThisTab: boolean; - selectAllTab: boolean; - modalBusy: boolean; - trackByFn: TrackByFunction; - readonly selectedGroupPermissions$: Observable; - constructor(store: Store, renderer: Renderer2); - ngOnInit(): void; - getChecked(name: string): boolean; - isGrantedByOtherProviderName(grantedProviders: PermissionManagement.GrantedProvider[]): boolean; - onClickCheckbox(clickedPermission: PermissionManagement.Permission, value: any): void; - setTabCheckboxState(): void; - setGrantCheckboxState(): void; - onClickSelectThisTab(): void; - onClickSelectAll(): void; - onChangeGroup(group: PermissionManagement.Group): void; - submit(): void; - openModal(): void; - initModal(): void; - ngOnChanges({ visible }: SimpleChanges): void; -} -export {}; diff --git a/npm/ng-packs/dist/permission-management/lib/models/index.d.ts b/npm/ng-packs/dist/permission-management/lib/models/index.d.ts deleted file mode 100644 index 6a06f3adabe..00000000000 --- a/npm/ng-packs/dist/permission-management/lib/models/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './permission-management'; diff --git a/npm/ng-packs/dist/permission-management/lib/models/permission-management.d.ts b/npm/ng-packs/dist/permission-management/lib/models/permission-management.d.ts deleted file mode 100644 index 3a348ccfc96..00000000000 --- a/npm/ng-packs/dist/permission-management/lib/models/permission-management.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -export declare namespace PermissionManagement { - interface State { - permissionRes: Response; - } - interface Response { - entityDisplayName: string; - groups: Group[]; - } - interface Group { - name: string; - displayName: string; - permissions: Permission[]; - } - interface MinimumPermission { - name: string; - isGranted: boolean; - } - interface Permission extends MinimumPermission { - displayName: string; - parentName: string; - allowedProviders: string[]; - grantedProviders: GrantedProvider[]; - } - interface GrantedProvider { - providerName: string; - providerKey: string; - } - interface UpdateRequest { - permissions: MinimumPermission[]; - } -} diff --git a/npm/ng-packs/dist/permission-management/lib/permission-management.module.d.ts b/npm/ng-packs/dist/permission-management/lib/permission-management.module.d.ts deleted file mode 100644 index 25c34182d15..00000000000 --- a/npm/ng-packs/dist/permission-management/lib/permission-management.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class PermissionManagementModule { -} diff --git a/npm/ng-packs/dist/permission-management/lib/services/index.d.ts b/npm/ng-packs/dist/permission-management/lib/services/index.d.ts deleted file mode 100644 index 8ac3c56f619..00000000000 --- a/npm/ng-packs/dist/permission-management/lib/services/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './permission-management.service'; -export * from './permission-management-state.service'; diff --git a/npm/ng-packs/dist/permission-management/lib/services/permission-management-state.service.d.ts b/npm/ng-packs/dist/permission-management/lib/services/permission-management-state.service.d.ts deleted file mode 100644 index 00e55b32dab..00000000000 --- a/npm/ng-packs/dist/permission-management/lib/services/permission-management-state.service.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Store } from '@ngxs/store'; -export declare class PermissionManagementStateService { - private store; - constructor(store: Store); - getPermissionGroups(): import("../models").PermissionManagement.Group[]; - getEntityDisplayName(): string; -} diff --git a/npm/ng-packs/dist/permission-management/lib/services/permission-management.service.d.ts b/npm/ng-packs/dist/permission-management/lib/services/permission-management.service.d.ts deleted file mode 100644 index 6740735293b..00000000000 --- a/npm/ng-packs/dist/permission-management/lib/services/permission-management.service.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { RestService } from '@abp/ng.core'; -import { Observable } from 'rxjs'; -import { PermissionManagement } from '../models/permission-management'; -export declare class PermissionManagementService { - private rest; - constructor(rest: RestService); - getPermissions(params: PermissionManagement.GrantedProvider): Observable; - updatePermissions({ permissions, providerKey, providerName, }: PermissionManagement.GrantedProvider & PermissionManagement.UpdateRequest): Observable; -} diff --git a/npm/ng-packs/dist/permission-management/lib/states/index.d.ts b/npm/ng-packs/dist/permission-management/lib/states/index.d.ts deleted file mode 100644 index 1d8fcc0d5d0..00000000000 --- a/npm/ng-packs/dist/permission-management/lib/states/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './permission-management.state'; diff --git a/npm/ng-packs/dist/permission-management/lib/states/permission-management.state.d.ts b/npm/ng-packs/dist/permission-management/lib/states/permission-management.state.d.ts deleted file mode 100644 index 1395f4d47f4..00000000000 --- a/npm/ng-packs/dist/permission-management/lib/states/permission-management.state.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { StateContext } from '@ngxs/store'; -import { GetPermissions, UpdatePermissions } from '../actions/permission-management.actions'; -import { PermissionManagement } from '../models/permission-management'; -import { PermissionManagementService } from '../services/permission-management.service'; -export declare class PermissionManagementState { - private permissionManagementService; - static getPermissionGroups({ permissionRes }: PermissionManagement.State): PermissionManagement.Group[]; - static getEntityDisplayName({ permissionRes }: PermissionManagement.State): string; - constructor(permissionManagementService: PermissionManagementService); - permissionManagementGet({ patchState }: StateContext, { payload }: GetPermissions): import("rxjs").Observable; - permissionManagementUpdate(_: any, { payload }: UpdatePermissions): import("rxjs").Observable; -} diff --git a/npm/ng-packs/dist/permission-management/package.json b/npm/ng-packs/dist/permission-management/package.json deleted file mode 100644 index e77dffb16a7..00000000000 --- a/npm/ng-packs/dist/permission-management/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "@abp/ng.permission-management", - "version": "1.1.0", - "dependencies": { - "@abp/ng.theme.shared": "^1.1.0", - "tslib": "^1.9.0" - }, - "publishConfig": { - "access": "public" - }, - "main": "bundles/abp-ng.permission-management.umd.js", - "module": "fesm5/abp-ng.permission-management.js", - "es2015": "fesm2015/abp-ng.permission-management.js", - "esm5": "esm5/abp-ng.permission-management.js", - "esm2015": "esm2015/abp-ng.permission-management.js", - "fesm5": "fesm5/abp-ng.permission-management.js", - "fesm2015": "fesm2015/abp-ng.permission-management.js", - "typings": "abp-ng.permission-management.d.ts", - "metadata": "abp-ng.permission-management.metadata.json", - "sideEffects": false, - "gitHead": "42d9eb857fca97c046ebac4286b6831c8b8c1887" -} diff --git a/npm/ng-packs/dist/permission-management/public-api.d.ts b/npm/ng-packs/dist/permission-management/public-api.d.ts deleted file mode 100644 index 47632ca4cd1..00000000000 --- a/npm/ng-packs/dist/permission-management/public-api.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export * from './lib/permission-management.module'; -export * from './lib/actions'; -export * from './lib/components'; -export * from './lib/models'; -export * from './lib/services'; -export * from './lib/states'; diff --git a/npm/ng-packs/dist/setting-management-config/README.md b/npm/ng-packs/dist/setting-management-config/README.md deleted file mode 100644 index 7bd97160047..00000000000 --- a/npm/ng-packs/dist/setting-management-config/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# @abp/ng.setting-management.config - -[docs.abp.io](https://docs.abp.io) diff --git a/npm/ng-packs/dist/setting-management-config/abp-ng.setting-management.config.d.ts b/npm/ng-packs/dist/setting-management-config/abp-ng.setting-management.config.d.ts deleted file mode 100644 index 58c924adb33..00000000000 --- a/npm/ng-packs/dist/setting-management-config/abp-ng.setting-management.config.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Generated bundle index. Do not edit. - */ -export * from './public-api'; -export { SettingManagementConfigService as ɵa } from './lib/services/setting-management-config.service'; diff --git a/npm/ng-packs/dist/setting-management-config/abp-ng.setting-management.config.metadata.json b/npm/ng-packs/dist/setting-management-config/abp-ng.setting-management.config.metadata.json deleted file mode 100644 index 4159f1f64f8..00000000000 --- a/npm/ng-packs/dist/setting-management-config/abp-ng.setting-management.config.metadata.json +++ /dev/null @@ -1 +0,0 @@ -{"__symbolic":"module","version":4,"metadata":{"SettingManagementConfigModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"providers":[{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_INITIALIZER","line":5,"character":25},"deps":[{"__symbolic":"reference","name":"ɵa"}],"useFactory":{"__symbolic":"reference","module":"@abp/ng.core","name":"noop","line":5,"character":94},"multi":true}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":9,"character":29}]}]},"statics":{"ngInjectableDef":{}}}},"origins":{"SettingManagementConfigModule":"./lib/setting-management-config.module","ɵa":"./lib/services/setting-management-config.service"},"importAs":"@abp/ng.setting-management.config"} \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management-config/bundles/abp-ng.setting-management.config.umd.js b/npm/ng-packs/dist/setting-management-config/bundles/abp-ng.setting-management.config.umd.js deleted file mode 100644 index 41f2aecf131..00000000000 --- a/npm/ng-packs/dist/setting-management-config/bundles/abp-ng.setting-management.config.umd.js +++ /dev/null @@ -1,278 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@abp/ng.core'), require('@abp/ng.theme.shared'), require('@ngxs/store')) : - typeof define === 'function' && define.amd ? define('@abp/ng.setting-management.config', ['exports', '@angular/core', '@abp/ng.core', '@abp/ng.theme.shared', '@ngxs/store'], factory) : - (global = global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng['setting-management'] = global.abp.ng['setting-management'] || {}, global.abp.ng['setting-management'].config = {}), global.ng.core, global.ng_core, global.ng_theme_shared, global.store)); -}(this, (function (exports, core, ng_core, ng_theme_shared, store) { 'use strict'; - - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ - /* global Reflect, Promise */ - - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - - function __extends(d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - } - - var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); - }; - - function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; - } - - function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; - } - - function __param(paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } - } - - function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); - } - - function __awaiter(thisArg, _arguments, P, generator) { - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - } - - function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (_) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } - } - - function __exportStar(m, exports) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; - } - - function __values(o) { - var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0; - if (m) return m.call(o); - return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; - } - - function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; - } - - function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; - } - - function __spreadArrays() { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; - for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; - return r; - }; - - function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); - } - - function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } - } - - function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } - } - - function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); - function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } - } - - function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; - }; - - function __importStar(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result.default = mod; - return result; - } - - function __importDefault(mod) { - return (mod && mod.__esModule) ? mod : { default: mod }; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/setting-management-config.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var SettingManagementConfigService = /** @class */ (function () { - function SettingManagementConfigService(store) { - var _this = this; - this.store = store; - /** @type {?} */ - var route = (/** @type {?} */ ({ - name: 'AbpSettingManagement::Settings', - path: 'setting-management', - parentName: 'AbpUiNavigation::Menu:Administration', - requiredPolicy: 'AbpAccount.SettingManagement', - layout: "application" /* application */, - order: 6, - iconClass: 'fa fa-cog', - })); - ng_core.addAbpRoutes(route); - setTimeout((/** - * @return {?} - */ - function () { - /** @type {?} */ - var tabs = ng_theme_shared.getSettingTabs(); - if (!tabs || !tabs.length) { - _this.store.dispatch(new ng_core.PatchRouteByName('AbpSettingManagement::Settings', __assign({}, route, { invisible: true }))); - } - })); - } - SettingManagementConfigService.decorators = [ - { type: core.Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - SettingManagementConfigService.ctorParameters = function () { return [ - { type: store.Store } - ]; }; - /** @nocollapse */ SettingManagementConfigService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function SettingManagementConfigService_Factory() { return new SettingManagementConfigService(core.ɵɵinject(store.Store)); }, token: SettingManagementConfigService, providedIn: "root" }); - return SettingManagementConfigService; - }()); - if (false) { - /** - * @type {?} - * @private - */ - SettingManagementConfigService.prototype.store; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/setting-management-config.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ɵ0 = ng_core.noop; - var SettingManagementConfigModule = /** @class */ (function () { - function SettingManagementConfigModule() { - } - SettingManagementConfigModule.decorators = [ - { type: core.NgModule, args: [{ - providers: [{ provide: core.APP_INITIALIZER, deps: [SettingManagementConfigService], useFactory: ɵ0, multi: true }], - },] } - ]; - return SettingManagementConfigModule; - }()); - - exports.SettingManagementConfigModule = SettingManagementConfigModule; - exports.ɵa = SettingManagementConfigService; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); -//# sourceMappingURL=abp-ng.setting-management.config.umd.js.map diff --git a/npm/ng-packs/dist/setting-management-config/bundles/abp-ng.setting-management.config.umd.js.map b/npm/ng-packs/dist/setting-management-config/bundles/abp-ng.setting-management.config.umd.js.map deleted file mode 100644 index 43308d8b779..00000000000 --- a/npm/ng-packs/dist/setting-management-config/bundles/abp-ng.setting-management.config.umd.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.setting-management.config.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","ng://@abp/ng.setting-management.config/lib/services/setting-management-config.service.ts","ng://@abp/ng.setting-management.config/lib/setting-management-config.module.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { addAbpRoutes, eLayoutType, PatchRouteByName, ABP } from '@abp/ng.core';\r\nimport { getSettingTabs } from '@abp/ng.theme.shared';\r\nimport { Store } from '@ngxs/store';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class SettingManagementConfigService {\r\n constructor(private store: Store) {\r\n const route = {\r\n name: 'AbpSettingManagement::Settings',\r\n path: 'setting-management',\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n requiredPolicy: 'AbpAccount.SettingManagement',\r\n layout: eLayoutType.application,\r\n order: 6,\r\n iconClass: 'fa fa-cog',\r\n } as ABP.FullRoute;\r\n\r\n addAbpRoutes(route);\r\n\r\n setTimeout(() => {\r\n const tabs = getSettingTabs();\r\n if (!tabs || !tabs.length) {\r\n this.store.dispatch(new PatchRouteByName('AbpSettingManagement::Settings', { ...route, invisible: true }));\r\n }\r\n });\r\n }\r\n}\r\n","import { NgModule, APP_INITIALIZER } from '@angular/core';\r\nimport { SettingManagementConfigService } from './services/setting-management-config.service';\r\nimport { noop } from '@abp/ng.core';\r\n\r\n@NgModule({\r\n providers: [{ provide: APP_INITIALIZER, deps: [SettingManagementConfigService], useFactory: noop, multi: true }],\r\n})\r\nexport class SettingManagementConfigModule {}\r\n"],"names":["addAbpRoutes","getSettingTabs","PatchRouteByName","Injectable","Store","noop","NgModule","APP_INITIALIZER"],"mappings":";;;;;;IAAA;IACA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACnF,IAAI,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;;AAEF,IAAO,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;IAChC,IAAI,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACxB,IAAI,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE;IAC3C,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,KAAK,IAAI,GAAG,MAAM,CAAC,MAAM,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,KAAK,CAAO;;gBACxB,KAAK,sBAAG;gBACZ,IAAI,EAAE,gCAAgC;gBACtC,IAAI,EAAE,oBAAoB;gBAC1B,UAAU,EAAE,sCAAsC;gBAClD,cAAc,EAAE,8BAA8B;gBAC9C,MAAM;gBACN,KAAK,EAAE,CAAC;gBACR,SAAS,EAAE,WAAW;aACvB,EAAiB;YAElBA,oBAAY,CAAC,KAAK,CAAC,CAAC;YAEpB,UAAU;;;YAAC;;oBACH,IAAI,GAAGC,8BAAc,EAAE;gBAC7B,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;oBACzB,KAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAIC,wBAAgB,CAAC,gCAAgC,eAAO,KAAK,IAAE,SAAS,EAAE,IAAI,IAAG,CAAC,CAAC;iBAC5G;aACF,EAAC,CAAC;SACJ;;oBAvBFC,eAAU,SAAC;wBACV,UAAU,EAAE,MAAM;qBACnB;;;;oBAJQC,WAAK;;;6CAHd;KAKA,IAwBC;;;;;;QApBa,+CAAoB;;;;;;;;ICTlC,SAK8FC,YAAI;AADlG;QAAA;SAG6C;;oBAH5CC,aAAQ,SAAC;wBACR,SAAS,EAAE,CAAC,EAAE,OAAO,EAAEC,oBAAe,EAAE,IAAI,EAAE,CAAC,8BAA8B,CAAC,EAAE,UAAU,IAAM,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;qBACjH;;QAC2C,oCAAC;KAH7C;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management-config/bundles/abp-ng.setting-management.config.umd.min.js b/npm/ng-packs/dist/setting-management-config/bundles/abp-ng.setting-management.config.umd.min.js deleted file mode 100644 index 5cbfc5078d9..00000000000 --- a/npm/ng-packs/dist/setting-management-config/bundles/abp-ng.setting-management.config.umd.min.js +++ /dev/null @@ -1,16 +0,0 @@ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@abp/ng.core"),require("@abp/ng.theme.shared"),require("@ngxs/store")):"function"==typeof define&&define.amd?define("@abp/ng.setting-management.config",["exports","@angular/core","@abp/ng.core","@abp/ng.theme.shared","@ngxs/store"],t):t(((e=e||self).abp=e.abp||{},e.abp.ng=e.abp.ng||{},e.abp.ng["setting-management"]=e.abp.ng["setting-management"]||{},e.abp.ng["setting-management"].config={}),e.ng.core,e.ng_core,e.ng_theme_shared,e.store)}(this,(function(e,t,n,a,r){"use strict"; -/*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */var o=function(){return(o=Object.assign||function(e){for(var t,n=1,a=arguments.length;n= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { addAbpRoutes, eLayoutType, PatchRouteByName, ABP } from '@abp/ng.core';\r\nimport { getSettingTabs } from '@abp/ng.theme.shared';\r\nimport { Store } from '@ngxs/store';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class SettingManagementConfigService {\r\n constructor(private store: Store) {\r\n const route = {\r\n name: 'AbpSettingManagement::Settings',\r\n path: 'setting-management',\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n requiredPolicy: 'AbpAccount.SettingManagement',\r\n layout: eLayoutType.application,\r\n order: 6,\r\n iconClass: 'fa fa-cog',\r\n } as ABP.FullRoute;\r\n\r\n addAbpRoutes(route);\r\n\r\n setTimeout(() => {\r\n const tabs = getSettingTabs();\r\n if (!tabs || !tabs.length) {\r\n this.store.dispatch(new PatchRouteByName('AbpSettingManagement::Settings', { ...route, invisible: true }));\r\n }\r\n });\r\n }\r\n}\r\n","import { NgModule, APP_INITIALIZER } from '@angular/core';\r\nimport { SettingManagementConfigService } from './services/setting-management-config.service';\r\nimport { noop } from '@abp/ng.core';\r\n\r\n@NgModule({\r\n providers: [{ provide: APP_INITIALIZER, deps: [SettingManagementConfigService], useFactory: noop, multi: true }],\r\n})\r\nexport class SettingManagementConfigModule {}\r\n"]} \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management-config/esm2015/abp-ng.setting-management.config.js b/npm/ng-packs/dist/setting-management-config/esm2015/abp-ng.setting-management.config.js deleted file mode 100644 index 41754229dda..00000000000 --- a/npm/ng-packs/dist/setting-management-config/esm2015/abp-ng.setting-management.config.js +++ /dev/null @@ -1,11 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.setting-management.config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { SettingManagementConfigModule } from './public-api'; -export { SettingManagementConfigService as ɵa } from './lib/services/setting-management-config.service'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLnNldHRpbmctbWFuYWdlbWVudC5jb25maWcuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnNldHRpbmctbWFuYWdlbWVudC5jb25maWcvIiwic291cmNlcyI6WyJhYnAtbmcuc2V0dGluZy1tYW5hZ2VtZW50LmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLDhDQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMsOEJBQThCLElBQUksRUFBRSxFQUFDLE1BQU0sa0RBQWtELENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG5cbmV4cG9ydCB7U2V0dGluZ01hbmFnZW1lbnRDb25maWdTZXJ2aWNlIGFzIMm1YX0gZnJvbSAnLi9saWIvc2VydmljZXMvc2V0dGluZy1tYW5hZ2VtZW50LWNvbmZpZy5zZXJ2aWNlJzsiXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management-config/esm2015/lib/services/setting-management-config.service.js b/npm/ng-packs/dist/setting-management-config/esm2015/lib/services/setting-management-config.service.js deleted file mode 100644 index 2f6259303b2..00000000000 --- a/npm/ng-packs/dist/setting-management-config/esm2015/lib/services/setting-management-config.service.js +++ /dev/null @@ -1,58 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/setting-management-config.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { addAbpRoutes, PatchRouteByName } from '@abp/ng.core'; -import { getSettingTabs } from '@abp/ng.theme.shared'; -import { Store } from '@ngxs/store'; -import * as i0 from "@angular/core"; -import * as i1 from "@ngxs/store"; -export class SettingManagementConfigService { - /** - * @param {?} store - */ - constructor(store) { - this.store = store; - /** @type {?} */ - const route = (/** @type {?} */ ({ - name: 'AbpSettingManagement::Settings', - path: 'setting-management', - parentName: 'AbpUiNavigation::Menu:Administration', - requiredPolicy: 'AbpAccount.SettingManagement', - layout: "application" /* application */, - order: 6, - iconClass: 'fa fa-cog', - })); - addAbpRoutes(route); - setTimeout((/** - * @return {?} - */ - () => { - /** @type {?} */ - const tabs = getSettingTabs(); - if (!tabs || !tabs.length) { - this.store.dispatch(new PatchRouteByName('AbpSettingManagement::Settings', Object.assign({}, route, { invisible: true }))); - } - })); - } -} -SettingManagementConfigService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -SettingManagementConfigService.ctorParameters = () => [ - { type: Store } -]; -/** @nocollapse */ SettingManagementConfigService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function SettingManagementConfigService_Factory() { return new SettingManagementConfigService(i0.ɵɵinject(i1.Store)); }, token: SettingManagementConfigService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - SettingManagementConfigService.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZy1tYW5hZ2VtZW50LWNvbmZpZy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5zZXR0aW5nLW1hbmFnZW1lbnQuY29uZmlnLyIsInNvdXJjZXMiOlsibGliL3NlcnZpY2VzL3NldHRpbmctbWFuYWdlbWVudC1jb25maWcuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLFlBQVksRUFBZSxnQkFBZ0IsRUFBTyxNQUFNLGNBQWMsQ0FBQztBQUNoRixPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDdEQsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLGFBQWEsQ0FBQzs7O0FBS3BDLE1BQU0sT0FBTyw4QkFBOEI7Ozs7SUFDekMsWUFBb0IsS0FBWTtRQUFaLFVBQUssR0FBTCxLQUFLLENBQU87O2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luamVjdGFibGUoe1xyXG4gIHByb3ZpZGVkSW46ICdyb290JyxcclxufSlcclxuZXhwb3J0IGNsYXNzIFNldHRpbmdNYW5hZ2VtZW50Q29uZmlnU2VydmljZSB7XHJcbiAgY29uc3RydWN0b3IocHJpdmF0ZSBzdG9yZTogU3RvcmUpIHtcclxuICAgIGNvbnN0IHJvdXRlID0ge1xyXG4gICAgICBuYW1lOiAnQWJwU2V0dGluZ01hbmFnZW1lbnQ6OlNldHRpbmdzJyxcclxuICAgICAgcGF0aDogJ3NldHRpbmctbWFuYWdlbWVudCcsXHJcbiAgICAgIHBhcmVudE5hbWU6ICdBYnBVaU5hdmlnYXRpb246Ok1lbnU6QWRtaW5pc3RyYXRpb24nLFxyXG4gICAgICByZXF1aXJlZFBvbGljeTogJ0FicEFjY291bnQuU2V0dGluZ01hbmFnZW1lbnQnLFxyXG4gICAgICBsYXlvdXQ6IGVMYXlvdXRUeXBlLmFwcGxpY2F0aW9uLFxyXG4gICAgICBvcmRlcjogNixcclxuICAgICAgaWNvbkNsYXNzOiAnZmEgZmEtY29nJyxcclxuICAgIH0gYXMgQUJQLkZ1bGxSb3V0ZTtcclxuXHJcbiAgICBhZGRBYnBSb3V0ZXMocm91dGUpO1xyXG5cclxuICAgIHNldFRpbWVvdXQoKCkgPT4ge1xyXG4gICAgICBjb25zdCB0YWJzID0gZ2V0U2V0dGluZ1RhYnMoKTtcclxuICAgICAgaWYgKCF0YWJzIHx8ICF0YWJzLmxlbmd0aCkge1xyXG4gICAgICAgIHRoaXMuc3RvcmUuZGlzcGF0Y2gobmV3IFBhdGNoUm91dGVCeU5hbWUoJ0FicFNldHRpbmdNYW5hZ2VtZW50OjpTZXR0aW5ncycsIHsgLi4ucm91dGUsIGludmlzaWJsZTogdHJ1ZSB9KSk7XHJcbiAgICAgIH1cclxuICAgIH0pO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management-config/esm2015/lib/setting-management-config.module.js b/npm/ng-packs/dist/setting-management-config/esm2015/lib/setting-management-config.module.js deleted file mode 100644 index 39458db283b..00000000000 --- a/npm/ng-packs/dist/setting-management-config/esm2015/lib/setting-management-config.module.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/setting-management-config.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { NgModule, APP_INITIALIZER } from '@angular/core'; -import { SettingManagementConfigService } from './services/setting-management-config.service'; -import { noop } from '@abp/ng.core'; -const ɵ0 = noop; -export class SettingManagementConfigModule { -} -SettingManagementConfigModule.decorators = [ - { type: NgModule, args: [{ - providers: [{ provide: APP_INITIALIZER, deps: [SettingManagementConfigService], useFactory: ɵ0, multi: true }], - },] } -]; -export { ɵ0 }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZy1tYW5hZ2VtZW50LWNvbmZpZy5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnNldHRpbmctbWFuYWdlbWVudC5jb25maWcvIiwic291cmNlcyI6WyJsaWIvc2V0dGluZy1tYW5hZ2VtZW50LWNvbmZpZy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLGVBQWUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxRCxPQUFPLEVBQUUsOEJBQThCLEVBQUUsTUFBTSw4Q0FBOEMsQ0FBQztBQUM5RixPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sY0FBYyxDQUFDO1dBRzBELElBQUk7QUFFbEcsTUFBTSxPQUFPLDZCQUE2Qjs7O1lBSHpDLFFBQVEsU0FBQztnQkFDUixTQUFTLEVBQUUsQ0FBQyxFQUFFLE9BQU8sRUFBRSxlQUFlLEVBQUUsSUFBSSxFQUFFLENBQUMsOEJBQThCLENBQUMsRUFBRSxVQUFVLElBQU0sRUFBRSxLQUFLLEVBQUUsSUFBSSxFQUFFLENBQUM7YUFDakgiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSwgQVBQX0lOSVRJQUxJWkVSIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IFNldHRpbmdNYW5hZ2VtZW50Q29uZmlnU2VydmljZSB9IGZyb20gJy4vc2VydmljZXMvc2V0dGluZy1tYW5hZ2VtZW50LWNvbmZpZy5zZXJ2aWNlJztcclxuaW1wb3J0IHsgbm9vcCB9IGZyb20gJ0BhYnAvbmcuY29yZSc7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIHByb3ZpZGVyczogW3sgcHJvdmlkZTogQVBQX0lOSVRJQUxJWkVSLCBkZXBzOiBbU2V0dGluZ01hbmFnZW1lbnRDb25maWdTZXJ2aWNlXSwgdXNlRmFjdG9yeTogbm9vcCwgbXVsdGk6IHRydWUgfV0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBTZXR0aW5nTWFuYWdlbWVudENvbmZpZ01vZHVsZSB7fVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management-config/esm2015/public-api.js b/npm/ng-packs/dist/setting-management-config/esm2015/public-api.js deleted file mode 100644 index c1b6079a4ea..00000000000 --- a/npm/ng-packs/dist/setting-management-config/esm2015/public-api.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { SettingManagementConfigModule } from './lib/setting-management-config.module'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuc2V0dGluZy1tYW5hZ2VtZW50LmNvbmZpZy8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSw4Q0FBYyx3Q0FBd0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliL3NldHRpbmctbWFuYWdlbWVudC1jb25maWcubW9kdWxlJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management-config/esm5/abp-ng.setting-management.config.js b/npm/ng-packs/dist/setting-management-config/esm5/abp-ng.setting-management.config.js deleted file mode 100644 index 41754229dda..00000000000 --- a/npm/ng-packs/dist/setting-management-config/esm5/abp-ng.setting-management.config.js +++ /dev/null @@ -1,11 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.setting-management.config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { SettingManagementConfigModule } from './public-api'; -export { SettingManagementConfigService as ɵa } from './lib/services/setting-management-config.service'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLnNldHRpbmctbWFuYWdlbWVudC5jb25maWcuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnNldHRpbmctbWFuYWdlbWVudC5jb25maWcvIiwic291cmNlcyI6WyJhYnAtbmcuc2V0dGluZy1tYW5hZ2VtZW50LmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLDhDQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMsOEJBQThCLElBQUksRUFBRSxFQUFDLE1BQU0sa0RBQWtELENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG5cbmV4cG9ydCB7U2V0dGluZ01hbmFnZW1lbnRDb25maWdTZXJ2aWNlIGFzIMm1YX0gZnJvbSAnLi9saWIvc2VydmljZXMvc2V0dGluZy1tYW5hZ2VtZW50LWNvbmZpZy5zZXJ2aWNlJzsiXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management-config/esm5/lib/services/setting-management-config.service.js b/npm/ng-packs/dist/setting-management-config/esm5/lib/services/setting-management-config.service.js deleted file mode 100644 index 558dbefa82c..00000000000 --- a/npm/ng-packs/dist/setting-management-config/esm5/lib/services/setting-management-config.service.js +++ /dev/null @@ -1,59 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/setting-management-config.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Injectable } from '@angular/core'; -import { addAbpRoutes, PatchRouteByName } from '@abp/ng.core'; -import { getSettingTabs } from '@abp/ng.theme.shared'; -import { Store } from '@ngxs/store'; -import * as i0 from "@angular/core"; -import * as i1 from "@ngxs/store"; -var SettingManagementConfigService = /** @class */ (function () { - function SettingManagementConfigService(store) { - var _this = this; - this.store = store; - /** @type {?} */ - var route = (/** @type {?} */ ({ - name: 'AbpSettingManagement::Settings', - path: 'setting-management', - parentName: 'AbpUiNavigation::Menu:Administration', - requiredPolicy: 'AbpAccount.SettingManagement', - layout: "application" /* application */, - order: 6, - iconClass: 'fa fa-cog', - })); - addAbpRoutes(route); - setTimeout((/** - * @return {?} - */ - function () { - /** @type {?} */ - var tabs = getSettingTabs(); - if (!tabs || !tabs.length) { - _this.store.dispatch(new PatchRouteByName('AbpSettingManagement::Settings', tslib_1.__assign({}, route, { invisible: true }))); - } - })); - } - SettingManagementConfigService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - SettingManagementConfigService.ctorParameters = function () { return [ - { type: Store } - ]; }; - /** @nocollapse */ SettingManagementConfigService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function SettingManagementConfigService_Factory() { return new SettingManagementConfigService(i0.ɵɵinject(i1.Store)); }, token: SettingManagementConfigService, providedIn: "root" }); - return SettingManagementConfigService; -}()); -export { SettingManagementConfigService }; -if (false) { - /** - * @type {?} - * @private - */ - SettingManagementConfigService.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZy1tYW5hZ2VtZW50LWNvbmZpZy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5zZXR0aW5nLW1hbmFnZW1lbnQuY29uZmlnLyIsInNvdXJjZXMiOlsibGliL3NlcnZpY2VzL3NldHRpbmctbWFuYWdlbWVudC1jb25maWcuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxZQUFZLEVBQWUsZ0JBQWdCLEVBQU8sTUFBTSxjQUFjLENBQUM7QUFDaEYsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3RELE9BQU8sRUFBRSxLQUFLLEVBQUUsTUFBTSxhQUFhLENBQUM7OztBQUVwQztJQUlFLHdDQUFvQixLQUFZO1FBQWhDLGlCQW1CQztRQW5CbUIsVUFBSyxHQUFMLEtBQUssQ0FBTzs7WUFDeEIsS0FBSyxHQUFHLG1CQUFBO1lBQ1osSUFBSSxFQUFFLGdDQUFnQztZQUN0QyxJQUFJLEVBQUUsb0JBQW9CO1lBQzFCLFVBQVUsRUFBRSxzQ0FBc0M7WUFDbEQsY0FBYyxFQUFFLDhCQUE4QjtZQUM5QyxNQUFNLGlDQUF5QjtZQUMvQixLQUFLLEVBQUUsQ0FBQztZQUNSL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ihwcml2YXRlIHN0b3JlOiBTdG9yZSkge1xyXG4gICAgY29uc3Qgcm91dGUgPSB7XHJcbiAgICAgIG5hbWU6ICdBYnBTZXR0aW5nTWFuYWdlbWVudDo6U2V0dGluZ3MnLFxyXG4gICAgICBwYXRoOiAnc2V0dGluZy1tYW5hZ2VtZW50JyxcclxuICAgICAgcGFyZW50TmFtZTogJ0FicFVpTmF2aWdhdGlvbjo6TWVudTpBZG1pbmlzdHJhdGlvbicsXHJcbiAgICAgIHJlcXVpcmVkUG9saWN5OiAnQWJwQWNjb3VudC5TZXR0aW5nTWFuYWdlbWVudCcsXHJcbiAgICAgIGxheW91dDogZUxheW91dFR5cGUuYXBwbGljYXRpb24sXHJcbiAgICAgIG9yZGVyOiA2LFxyXG4gICAgICBpY29uQ2xhc3M6ICdmYSBmYS1jb2cnLFxyXG4gICAgfSBhcyBBQlAuRnVsbFJvdXRlO1xyXG5cclxuICAgIGFkZEFicFJvdXRlcyhyb3V0ZSk7XHJcblxyXG4gICAgc2V0VGltZW91dCgoKSA9PiB7XHJcbiAgICAgIGNvbnN0IHRhYnMgPSBnZXRTZXR0aW5nVGFicygpO1xyXG4gICAgICBpZiAoIXRhYnMgfHwgIXRhYnMubGVuZ3RoKSB7XHJcbiAgICAgICAgdGhpcy5zdG9yZS5kaXNwYXRjaChuZXcgUGF0Y2hSb3V0ZUJ5TmFtZSgnQWJwU2V0dGluZ01hbmFnZW1lbnQ6OlNldHRpbmdzJywgeyAuLi5yb3V0ZSwgaW52aXNpYmxlOiB0cnVlIH0pKTtcclxuICAgICAgfVxyXG4gICAgfSk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management-config/esm5/lib/setting-management-config.module.js b/npm/ng-packs/dist/setting-management-config/esm5/lib/setting-management-config.module.js deleted file mode 100644 index d9dc204df39..00000000000 --- a/npm/ng-packs/dist/setting-management-config/esm5/lib/setting-management-config.module.js +++ /dev/null @@ -1,22 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/setting-management-config.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { NgModule, APP_INITIALIZER } from '@angular/core'; -import { SettingManagementConfigService } from './services/setting-management-config.service'; -import { noop } from '@abp/ng.core'; -var ɵ0 = noop; -var SettingManagementConfigModule = /** @class */ (function () { - function SettingManagementConfigModule() { - } - SettingManagementConfigModule.decorators = [ - { type: NgModule, args: [{ - providers: [{ provide: APP_INITIALIZER, deps: [SettingManagementConfigService], useFactory: ɵ0, multi: true }], - },] } - ]; - return SettingManagementConfigModule; -}()); -export { SettingManagementConfigModule }; -export { ɵ0 }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZy1tYW5hZ2VtZW50LWNvbmZpZy5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnNldHRpbmctbWFuYWdlbWVudC5jb25maWcvIiwic291cmNlcyI6WyJsaWIvc2V0dGluZy1tYW5hZ2VtZW50LWNvbmZpZy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLGVBQWUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxRCxPQUFPLEVBQUUsOEJBQThCLEVBQUUsTUFBTSw4Q0FBOEMsQ0FBQztBQUM5RixPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sY0FBYyxDQUFDO1NBRzBELElBQUk7QUFEbEc7SUFBQTtJQUc0QyxDQUFDOztnQkFINUMsUUFBUSxTQUFDO29CQUNSLFNBQVMsRUFBRSxDQUFDLEVBQUUsT0FBTyxFQUFFLGVBQWUsRUFBRSxJQUFJLEVBQUUsQ0FBQyw4QkFBOEIsQ0FBQyxFQUFFLFVBQVUsSUFBTSxFQUFFLEtBQUssRUFBRSxJQUFJLEVBQUUsQ0FBQztpQkFDakg7O0lBQzJDLG9DQUFDO0NBQUEsQUFIN0MsSUFHNkM7U0FBaEMsNkJBQTZCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUsIEFQUF9JTklUSUFMSVpFUiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBTZXR0aW5nTWFuYWdlbWVudENvbmZpZ1NlcnZpY2UgfSBmcm9tICcuL3NlcnZpY2VzL3NldHRpbmctbWFuYWdlbWVudC1jb25maWcuc2VydmljZSc7XHJcbmltcG9ydCB7IG5vb3AgfSBmcm9tICdAYWJwL25nLmNvcmUnO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBwcm92aWRlcnM6IFt7IHByb3ZpZGU6IEFQUF9JTklUSUFMSVpFUiwgZGVwczogW1NldHRpbmdNYW5hZ2VtZW50Q29uZmlnU2VydmljZV0sIHVzZUZhY3Rvcnk6IG5vb3AsIG11bHRpOiB0cnVlIH1dLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgU2V0dGluZ01hbmFnZW1lbnRDb25maWdNb2R1bGUge31cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management-config/esm5/public-api.js b/npm/ng-packs/dist/setting-management-config/esm5/public-api.js deleted file mode 100644 index c1b6079a4ea..00000000000 --- a/npm/ng-packs/dist/setting-management-config/esm5/public-api.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { SettingManagementConfigModule } from './lib/setting-management-config.module'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuc2V0dGluZy1tYW5hZ2VtZW50LmNvbmZpZy8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSw4Q0FBYyx3Q0FBd0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliL3NldHRpbmctbWFuYWdlbWVudC1jb25maWcubW9kdWxlJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management-config/fesm2015/abp-ng.setting-management.config.js b/npm/ng-packs/dist/setting-management-config/fesm2015/abp-ng.setting-management.config.js deleted file mode 100644 index 0cb2a60dfd0..00000000000 --- a/npm/ng-packs/dist/setting-management-config/fesm2015/abp-ng.setting-management.config.js +++ /dev/null @@ -1,85 +0,0 @@ -import { Injectable, ɵɵdefineInjectable, ɵɵinject, NgModule, APP_INITIALIZER } from '@angular/core'; -import { addAbpRoutes, PatchRouteByName, noop } from '@abp/ng.core'; -import { getSettingTabs } from '@abp/ng.theme.shared'; -import { Store } from '@ngxs/store'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/setting-management-config.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class SettingManagementConfigService { - /** - * @param {?} store - */ - constructor(store) { - this.store = store; - /** @type {?} */ - const route = (/** @type {?} */ ({ - name: 'AbpSettingManagement::Settings', - path: 'setting-management', - parentName: 'AbpUiNavigation::Menu:Administration', - requiredPolicy: 'AbpAccount.SettingManagement', - layout: "application" /* application */, - order: 6, - iconClass: 'fa fa-cog', - })); - addAbpRoutes(route); - setTimeout((/** - * @return {?} - */ - () => { - /** @type {?} */ - const tabs = getSettingTabs(); - if (!tabs || !tabs.length) { - this.store.dispatch(new PatchRouteByName('AbpSettingManagement::Settings', Object.assign({}, route, { invisible: true }))); - } - })); - } -} -SettingManagementConfigService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -SettingManagementConfigService.ctorParameters = () => [ - { type: Store } -]; -/** @nocollapse */ SettingManagementConfigService.ngInjectableDef = ɵɵdefineInjectable({ factory: function SettingManagementConfigService_Factory() { return new SettingManagementConfigService(ɵɵinject(Store)); }, token: SettingManagementConfigService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - SettingManagementConfigService.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/setting-management-config.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -const ɵ0 = noop; -class SettingManagementConfigModule { -} -SettingManagementConfigModule.decorators = [ - { type: NgModule, args: [{ - providers: [{ provide: APP_INITIALIZER, deps: [SettingManagementConfigService], useFactory: ɵ0, multi: true }], - },] } -]; - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.setting-management.config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { SettingManagementConfigModule, SettingManagementConfigService as ɵa }; -//# sourceMappingURL=abp-ng.setting-management.config.js.map diff --git a/npm/ng-packs/dist/setting-management-config/fesm2015/abp-ng.setting-management.config.js.map b/npm/ng-packs/dist/setting-management-config/fesm2015/abp-ng.setting-management.config.js.map deleted file mode 100644 index edbcd6ae10e..00000000000 --- a/npm/ng-packs/dist/setting-management-config/fesm2015/abp-ng.setting-management.config.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.setting-management.config.js","sources":["ng://@abp/ng.setting-management.config/lib/services/setting-management-config.service.ts","ng://@abp/ng.setting-management.config/lib/setting-management-config.module.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\nimport { addAbpRoutes, eLayoutType, PatchRouteByName, ABP } from '@abp/ng.core';\r\nimport { getSettingTabs } from '@abp/ng.theme.shared';\r\nimport { Store } from '@ngxs/store';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class SettingManagementConfigService {\r\n constructor(private store: Store) {\r\n const route = {\r\n name: 'AbpSettingManagement::Settings',\r\n path: 'setting-management',\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n requiredPolicy: 'AbpAccount.SettingManagement',\r\n layout: eLayoutType.application,\r\n order: 6,\r\n iconClass: 'fa fa-cog',\r\n } as ABP.FullRoute;\r\n\r\n addAbpRoutes(route);\r\n\r\n setTimeout(() => {\r\n const tabs = getSettingTabs();\r\n if (!tabs || !tabs.length) {\r\n this.store.dispatch(new PatchRouteByName('AbpSettingManagement::Settings', { ...route, invisible: true }));\r\n }\r\n });\r\n }\r\n}\r\n","import { NgModule, APP_INITIALIZER } from '@angular/core';\r\nimport { SettingManagementConfigService } from './services/setting-management-config.service';\r\nimport { noop } from '@abp/ng.core';\r\n\r\n@NgModule({\r\n providers: [{ provide: APP_INITIALIZER, deps: [SettingManagementConfigService], useFactory: noop, multi: true }],\r\n})\r\nexport class SettingManagementConfigModule {}\r\n"],"names":[],"mappings":";;;;;;;;;;AAAA,MAQa,8BAA8B;;;;IACzC,YAAoB,KAAY;QAAZ,UAAK,GAAL,KAAK,CAAO;;cACxB,KAAK,sBAAG;YACZ,IAAI,EAAE,gCAAgC;YACtC,IAAI,EAAE,oBAAoB;YAC1B,UAAU,EAAE,sCAAsC;YAClD,cAAc,EAAE,8BAA8B;YAC9C,MAAM;YACN,KAAK,EAAE,CAAC;YACR,SAAS,EAAE,WAAW;SACvB,EAAiB;QAElB,YAAY,CAAC,KAAK,CAAC,CAAC;QAEpB,UAAU;;;QAAC;;kBACH,IAAI,GAAG,cAAc,EAAE;YAC7B,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;gBACzB,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,gBAAgB,CAAC,gCAAgC,oBAAO,KAAK,IAAE,SAAS,EAAE,IAAI,IAAG,CAAC,CAAC;aAC5G;SACF,EAAC,CAAC;KACJ;;;YAvBF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;;;;YAJQ,KAAK;;;;;;;;IAMA,+CAAoB;;;;;;;;ACTlC,WAK8F,IAAI;AAElG,MAAa,6BAA6B;;;YAHzC,QAAQ,SAAC;gBACR,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,8BAA8B,CAAC,EAAE,UAAU,IAAM,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;aACjH;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management-config/fesm5/abp-ng.setting-management.config.js b/npm/ng-packs/dist/setting-management-config/fesm5/abp-ng.setting-management.config.js deleted file mode 100644 index 0eb0c70f7d5..00000000000 --- a/npm/ng-packs/dist/setting-management-config/fesm5/abp-ng.setting-management.config.js +++ /dev/null @@ -1,88 +0,0 @@ -import { Injectable, ɵɵdefineInjectable, ɵɵinject, NgModule, APP_INITIALIZER } from '@angular/core'; -import { __assign } from 'tslib'; -import { addAbpRoutes, PatchRouteByName, noop } from '@abp/ng.core'; -import { getSettingTabs } from '@abp/ng.theme.shared'; -import { Store } from '@ngxs/store'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/setting-management-config.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var SettingManagementConfigService = /** @class */ (function () { - function SettingManagementConfigService(store) { - var _this = this; - this.store = store; - /** @type {?} */ - var route = (/** @type {?} */ ({ - name: 'AbpSettingManagement::Settings', - path: 'setting-management', - parentName: 'AbpUiNavigation::Menu:Administration', - requiredPolicy: 'AbpAccount.SettingManagement', - layout: "application" /* application */, - order: 6, - iconClass: 'fa fa-cog', - })); - addAbpRoutes(route); - setTimeout((/** - * @return {?} - */ - function () { - /** @type {?} */ - var tabs = getSettingTabs(); - if (!tabs || !tabs.length) { - _this.store.dispatch(new PatchRouteByName('AbpSettingManagement::Settings', __assign({}, route, { invisible: true }))); - } - })); - } - SettingManagementConfigService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - SettingManagementConfigService.ctorParameters = function () { return [ - { type: Store } - ]; }; - /** @nocollapse */ SettingManagementConfigService.ngInjectableDef = ɵɵdefineInjectable({ factory: function SettingManagementConfigService_Factory() { return new SettingManagementConfigService(ɵɵinject(Store)); }, token: SettingManagementConfigService, providedIn: "root" }); - return SettingManagementConfigService; -}()); -if (false) { - /** - * @type {?} - * @private - */ - SettingManagementConfigService.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/setting-management-config.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ɵ0 = noop; -var SettingManagementConfigModule = /** @class */ (function () { - function SettingManagementConfigModule() { - } - SettingManagementConfigModule.decorators = [ - { type: NgModule, args: [{ - providers: [{ provide: APP_INITIALIZER, deps: [SettingManagementConfigService], useFactory: ɵ0, multi: true }], - },] } - ]; - return SettingManagementConfigModule; -}()); - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.setting-management.config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { SettingManagementConfigModule, SettingManagementConfigService as ɵa }; -//# sourceMappingURL=abp-ng.setting-management.config.js.map diff --git a/npm/ng-packs/dist/setting-management-config/fesm5/abp-ng.setting-management.config.js.map b/npm/ng-packs/dist/setting-management-config/fesm5/abp-ng.setting-management.config.js.map deleted file mode 100644 index 0d03537221d..00000000000 --- a/npm/ng-packs/dist/setting-management-config/fesm5/abp-ng.setting-management.config.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.setting-management.config.js","sources":["ng://@abp/ng.setting-management.config/lib/services/setting-management-config.service.ts","ng://@abp/ng.setting-management.config/lib/setting-management-config.module.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\nimport { addAbpRoutes, eLayoutType, PatchRouteByName, ABP } from '@abp/ng.core';\r\nimport { getSettingTabs } from '@abp/ng.theme.shared';\r\nimport { Store } from '@ngxs/store';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class SettingManagementConfigService {\r\n constructor(private store: Store) {\r\n const route = {\r\n name: 'AbpSettingManagement::Settings',\r\n path: 'setting-management',\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n requiredPolicy: 'AbpAccount.SettingManagement',\r\n layout: eLayoutType.application,\r\n order: 6,\r\n iconClass: 'fa fa-cog',\r\n } as ABP.FullRoute;\r\n\r\n addAbpRoutes(route);\r\n\r\n setTimeout(() => {\r\n const tabs = getSettingTabs();\r\n if (!tabs || !tabs.length) {\r\n this.store.dispatch(new PatchRouteByName('AbpSettingManagement::Settings', { ...route, invisible: true }));\r\n }\r\n });\r\n }\r\n}\r\n","import { NgModule, APP_INITIALIZER } from '@angular/core';\r\nimport { SettingManagementConfigService } from './services/setting-management-config.service';\r\nimport { noop } from '@abp/ng.core';\r\n\r\n@NgModule({\r\n providers: [{ provide: APP_INITIALIZER, deps: [SettingManagementConfigService], useFactory: noop, multi: true }],\r\n})\r\nexport class SettingManagementConfigModule {}\r\n"],"names":[],"mappings":";;;;;;;;;;;;IASE,wCAAoB,KAAY;QAAhC,iBAmBC;QAnBmB,UAAK,GAAL,KAAK,CAAO;;YACxB,KAAK,sBAAG;YACZ,IAAI,EAAE,gCAAgC;YACtC,IAAI,EAAE,oBAAoB;YAC1B,UAAU,EAAE,sCAAsC;YAClD,cAAc,EAAE,8BAA8B;YAC9C,MAAM;YACN,KAAK,EAAE,CAAC;YACR,SAAS,EAAE,WAAW;SACvB,EAAiB;QAElB,YAAY,CAAC,KAAK,CAAC,CAAC;QAEpB,UAAU;;;QAAC;;gBACH,IAAI,GAAG,cAAc,EAAE;YAC7B,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;gBACzB,KAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,gBAAgB,CAAC,gCAAgC,eAAO,KAAK,IAAE,SAAS,EAAE,IAAI,IAAG,CAAC,CAAC;aAC5G;SACF,EAAC,CAAC;KACJ;;gBAvBF,UAAU,SAAC;oBACV,UAAU,EAAE,MAAM;iBACnB;;;;gBAJQ,KAAK;;;yCAHd;CAKA,IAwBC;;;;;;IApBa,+CAAoB;;;;;;;;ACTlC,SAK8F,IAAI;AADlG;IAAA;KAG6C;;gBAH5C,QAAQ,SAAC;oBACR,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,8BAA8B,CAAC,EAAE,UAAU,IAAM,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;iBACjH;;IAC2C,oCAAC;CAH7C;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management-config/lib/services/setting-management-config.service.d.ts b/npm/ng-packs/dist/setting-management-config/lib/services/setting-management-config.service.d.ts deleted file mode 100644 index bee566f5a95..00000000000 --- a/npm/ng-packs/dist/setting-management-config/lib/services/setting-management-config.service.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { Store } from '@ngxs/store'; -export declare class SettingManagementConfigService { - private store; - constructor(store: Store); -} diff --git a/npm/ng-packs/dist/setting-management-config/lib/setting-management-config.module.d.ts b/npm/ng-packs/dist/setting-management-config/lib/setting-management-config.module.d.ts deleted file mode 100644 index 370824f370f..00000000000 --- a/npm/ng-packs/dist/setting-management-config/lib/setting-management-config.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class SettingManagementConfigModule { -} diff --git a/npm/ng-packs/dist/setting-management-config/package.json b/npm/ng-packs/dist/setting-management-config/package.json deleted file mode 100644 index 1272178f168..00000000000 --- a/npm/ng-packs/dist/setting-management-config/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "@abp/ng.setting-management.config", - "version": "1.1.0", - "publishConfig": { - "access": "public" - }, - "main": "bundles/abp-ng.setting-management.config.umd.js", - "module": "fesm5/abp-ng.setting-management.config.js", - "es2015": "fesm2015/abp-ng.setting-management.config.js", - "esm5": "esm5/abp-ng.setting-management.config.js", - "esm2015": "esm2015/abp-ng.setting-management.config.js", - "fesm5": "fesm5/abp-ng.setting-management.config.js", - "fesm2015": "fesm2015/abp-ng.setting-management.config.js", - "typings": "abp-ng.setting-management.config.d.ts", - "metadata": "abp-ng.setting-management.config.metadata.json", - "sideEffects": false, - "dependencies": { - "tslib": "^1.9.0" - }, - "gitHead": "42d9eb857fca97c046ebac4286b6831c8b8c1887" -} diff --git a/npm/ng-packs/dist/setting-management-config/public-api.d.ts b/npm/ng-packs/dist/setting-management-config/public-api.d.ts deleted file mode 100644 index 236ed82079d..00000000000 --- a/npm/ng-packs/dist/setting-management-config/public-api.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './lib/setting-management-config.module'; diff --git a/npm/ng-packs/dist/setting-management/README.md b/npm/ng-packs/dist/setting-management/README.md deleted file mode 100644 index 4d6e7525c0b..00000000000 --- a/npm/ng-packs/dist/setting-management/README.md +++ /dev/null @@ -1,3 +0,0 @@ -

 @abp/ng.setting-management

- -[docs.abp.io](https://docs.abp.io) diff --git a/npm/ng-packs/dist/setting-management/abp-ng.setting-management.d.ts b/npm/ng-packs/dist/setting-management/abp-ng.setting-management.d.ts deleted file mode 100644 index 67f637466d3..00000000000 --- a/npm/ng-packs/dist/setting-management/abp-ng.setting-management.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Generated bundle index. Do not edit. - */ -export * from './public-api'; -export { SetSelectedSettingTab as ɵc } from './lib/actions/setting-management.actions'; -export { SettingManagementRoutingModule as ɵa } from './lib/setting-management-routing.module'; -export { SettingManagementState as ɵb } from './lib/states/setting-management.state'; diff --git a/npm/ng-packs/dist/setting-management/abp-ng.setting-management.metadata.json b/npm/ng-packs/dist/setting-management/abp-ng.setting-management.metadata.json deleted file mode 100644 index 860536d12a7..00000000000 --- a/npm/ng-packs/dist/setting-management/abp-ng.setting-management.metadata.json +++ /dev/null @@ -1 +0,0 @@ -{"__symbolic":"module","version":4,"metadata":{"SettingManagementModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":8,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"SettingManagementComponent"}],"imports":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","module":"@abp/ng.core","name":"CoreModule","line":12,"character":4},{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ThemeSharedModule","line":13,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"NgxsModule","line":14,"character":4},"member":"forFeature"},"arguments":[[{"__symbolic":"reference","name":"ɵb"}]]}]}]}],"members":{}},"SettingManagementComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"abp-setting-management","template":"
\r\n
\r\n

{{ 'AbpSettingManagement::Settings' | abpLocalization }}

\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
    \r\n \r\n {{ setting.name | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":31,"character":30},{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":31,"character":53}]}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":15,"character":1},"arguments":[{"imports":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":16,"character":12},"member":"forChild"},"arguments":[[{"path":"","component":{"__symbolic":"reference","module":"@abp/ng.core","name":"DynamicLayoutComponent","line":8,"character":15},"children":[{"path":"","component":{"__symbolic":"reference","name":"SettingManagementComponent"},"data":{"requiredPolicy":"AbpAccount.SettingManagement"}}]}]]}],"exports":[{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":17,"character":12}]}]}],"members":{}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"State","line":4,"character":1},"arguments":[{"name":"SettingManagementState","defaults":{"selectedTab":{}}}]}],"members":{"settingManagementAction":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":14,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵc"}]}]}]},"statics":{"getSelectedTab":{"__symbolic":"function","parameters":["selectedTab"],"value":{"__symbolic":"reference","name":"selectedTab"}}}},"ɵc":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"SettingTab","line":4,"character":30}]}]},"statics":{"type":"[SettingManagement] Set Selected Tab"}}},"origins":{"SettingManagementModule":"./lib/setting-management.module","SettingManagementComponent":"./lib/components/setting-management.component","ɵa":"./lib/setting-management-routing.module","ɵb":"./lib/states/setting-management.state","ɵc":"./lib/actions/setting-management.actions"},"importAs":"@abp/ng.setting-management"} \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/bundles/abp-ng.setting-management.umd.js b/npm/ng-packs/dist/setting-management/bundles/abp-ng.setting-management.umd.js deleted file mode 100644 index 2a78ebee2d5..00000000000 --- a/npm/ng-packs/dist/setting-management/bundles/abp-ng.setting-management.umd.js +++ /dev/null @@ -1,433 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@abp/ng.core'), require('@abp/ng.theme.shared'), require('@angular/core'), require('@angular/router'), require('@ngxs/store')) : - typeof define === 'function' && define.amd ? define('@abp/ng.setting-management', ['exports', '@abp/ng.core', '@abp/ng.theme.shared', '@angular/core', '@angular/router', '@ngxs/store'], factory) : - (global = global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng['setting-management'] = {}), global.ng_core, global.ng_theme_shared, global.ng.core, global.ng.router, global.store)); -}(this, (function (exports, ng_core, ng_theme_shared, core, router, store) { 'use strict'; - - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ - /* global Reflect, Promise */ - - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - - function __extends(d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - } - - var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); - }; - - function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; - } - - function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; - } - - function __param(paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } - } - - function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); - } - - function __awaiter(thisArg, _arguments, P, generator) { - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - } - - function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (_) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } - } - - function __exportStar(m, exports) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; - } - - function __values(o) { - var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0; - if (m) return m.call(o); - return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; - } - - function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; - } - - function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; - } - - function __spreadArrays() { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; - for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; - return r; - }; - - function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); - } - - function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } - } - - function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } - } - - function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); - function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } - } - - function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; - }; - - function __importStar(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result.default = mod; - return result; - } - - function __importDefault(mod) { - return (mod && mod.__esModule) ? mod : { default: mod }; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/actions/setting-management.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var SetSelectedSettingTab = /** @class */ (function () { - function SetSelectedSettingTab(payload) { - this.payload = payload; - } - SetSelectedSettingTab.type = '[SettingManagement] Set Selected Tab'; - return SetSelectedSettingTab; - }()); - if (false) { - /** @type {?} */ - SetSelectedSettingTab.type; - /** @type {?} */ - SetSelectedSettingTab.prototype.payload; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/states/setting-management.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var SettingManagementState = /** @class */ (function () { - function SettingManagementState() { - } - /** - * @param {?} __0 - * @return {?} - */ - SettingManagementState.getSelectedTab = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var selectedTab = _a.selectedTab; - return selectedTab; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - SettingManagementState.prototype.settingManagementAction = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - patchState({ - selectedTab: payload, - }); - }; - __decorate([ - store.Action(SetSelectedSettingTab), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, SetSelectedSettingTab]), - __metadata("design:returntype", void 0) - ], SettingManagementState.prototype, "settingManagementAction", null); - __decorate([ - store.Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", void 0) - ], SettingManagementState, "getSelectedTab", null); - SettingManagementState = __decorate([ - store.State({ - name: 'SettingManagementState', - defaults: (/** @type {?} */ ({ selectedTab: {} })), - }) - ], SettingManagementState); - return SettingManagementState; - }()); - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/setting-management.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var SettingManagementComponent = /** @class */ (function () { - function SettingManagementComponent(router, store) { - this.router = router; - this.store = store; - this.settings = []; - this.trackByFn = (/** - * @param {?} _ - * @param {?} item - * @return {?} - */ - function (_, item) { return item.name; }); - } - Object.defineProperty(SettingManagementComponent.prototype, "selected", { - get: /** - * @return {?} - */ - function () { - /** @type {?} */ - var value = this.store.selectSnapshot(SettingManagementState.getSelectedTab); - if ((!value || !value.component) && this.settings.length) { - return this.settings[0]; - } - return value; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - this.store.dispatch(new SetSelectedSettingTab(value)); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - SettingManagementComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - var _this = this; - this.settings = ng_theme_shared.getSettingTabs() - .filter((/** - * @param {?} setting - * @return {?} - */ - function (setting) { return _this.store.selectSnapshot(ng_core.ConfigState.getGrantedPolicy(setting.requiredPolicy)); })) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - function (a, b) { return a.order - b.order; })); - if (!this.selected && this.settings.length) { - this.selected = this.settings[0]; - } - }; - SettingManagementComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-setting-management', - template: "
\r\n
\r\n

{{ 'AbpSettingManagement::Settings' | abpLocalization }}

\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
    \r\n \r\n {{ setting.name | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n" - }] } - ]; - /** @nocollapse */ - SettingManagementComponent.ctorParameters = function () { return [ - { type: router.Router }, - { type: store.Store } - ]; }; - return SettingManagementComponent; - }()); - if (false) { - /** @type {?} */ - SettingManagementComponent.prototype.settings; - /** @type {?} */ - SettingManagementComponent.prototype.trackByFn; - /** - * @type {?} - * @private - */ - SettingManagementComponent.prototype.router; - /** - * @type {?} - * @private - */ - SettingManagementComponent.prototype.store; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/setting-management-routing.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ɵ0 = { requiredPolicy: 'AbpAccount.SettingManagement' }; - /** @type {?} */ - var routes = [ - { - path: '', - component: ng_core.DynamicLayoutComponent, - children: [ - { path: '', component: SettingManagementComponent, data: ɵ0 }, - ], - }, - ]; - var SettingManagementRoutingModule = /** @class */ (function () { - function SettingManagementRoutingModule() { - } - SettingManagementRoutingModule.decorators = [ - { type: core.NgModule, args: [{ - imports: [router.RouterModule.forChild(routes)], - exports: [router.RouterModule], - },] } - ]; - return SettingManagementRoutingModule; - }()); - - /** - * @fileoverview added by tsickle - * Generated from: lib/setting-management.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var SettingManagementModule = /** @class */ (function () { - function SettingManagementModule() { - } - SettingManagementModule.decorators = [ - { type: core.NgModule, args: [{ - declarations: [SettingManagementComponent], - imports: [ - SettingManagementRoutingModule, - ng_core.CoreModule, - ng_theme_shared.ThemeSharedModule, - store.NgxsModule.forFeature([SettingManagementState]), - ], - },] } - ]; - return SettingManagementModule; - }()); - - exports.SettingManagementComponent = SettingManagementComponent; - exports.SettingManagementModule = SettingManagementModule; - exports.ɵa = SettingManagementRoutingModule; - exports.ɵb = SettingManagementState; - exports.ɵc = SetSelectedSettingTab; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); -//# sourceMappingURL=abp-ng.setting-management.umd.js.map diff --git a/npm/ng-packs/dist/setting-management/bundles/abp-ng.setting-management.umd.js.map b/npm/ng-packs/dist/setting-management/bundles/abp-ng.setting-management.umd.js.map deleted file mode 100644 index d36c743d0f9..00000000000 --- a/npm/ng-packs/dist/setting-management/bundles/abp-ng.setting-management.umd.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.setting-management.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","ng://@abp/ng.setting-management/lib/actions/setting-management.actions.ts","ng://@abp/ng.setting-management/lib/states/setting-management.state.ts","ng://@abp/ng.setting-management/lib/components/setting-management.component.ts","ng://@abp/ng.setting-management/lib/setting-management-routing.module.ts","ng://@abp/ng.setting-management/lib/setting-management.module.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { SettingTab } from '@abp/ng.theme.shared';\r\n\r\nexport class SetSelectedSettingTab {\r\n static readonly type = '[SettingManagement] Set Selected Tab';\r\n constructor(public payload: SettingTab) {}\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { SetSelectedSettingTab } from '../actions/setting-management.actions';\r\nimport { SettingManagement } from '../models/setting-management';\r\n\r\n@State({\r\n name: 'SettingManagementState',\r\n defaults: { selectedTab: {} } as SettingManagement.State,\r\n})\r\nexport class SettingManagementState {\r\n @Selector()\r\n static getSelectedTab({ selectedTab }: SettingManagement.State) {\r\n return selectedTab;\r\n }\r\n\r\n @Action(SetSelectedSettingTab)\r\n settingManagementAction({ patchState }: StateContext, { payload }: SetSelectedSettingTab) {\r\n patchState({\r\n selectedTab: payload,\r\n });\r\n }\r\n}\r\n","import { Component, TrackByFunction, OnInit } from '@angular/core';\r\nimport { SettingTab, getSettingTabs } from '@abp/ng.theme.shared';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngxs/store';\r\nimport { ConfigState } from '@abp/ng.core';\r\nimport { SettingManagementState } from '../states/setting-management.state';\r\nimport { SetSelectedSettingTab } from '../actions/setting-management.actions';\r\nimport { RouterState } from '@ngxs/router-plugin';\r\n\r\n@Component({\r\n selector: 'abp-setting-management',\r\n templateUrl: './setting-management.component.html',\r\n})\r\nexport class SettingManagementComponent implements OnInit {\r\n settings: SettingTab[] = [];\r\n\r\n set selected(value: SettingTab) {\r\n this.store.dispatch(new SetSelectedSettingTab(value));\r\n }\r\n get selected(): SettingTab {\r\n const value = this.store.selectSnapshot(SettingManagementState.getSelectedTab);\r\n\r\n if ((!value || !value.component) && this.settings.length) {\r\n return this.settings[0];\r\n }\r\n\r\n return value;\r\n }\r\n\r\n trackByFn: TrackByFunction = (_, item) => item.name;\r\n\r\n constructor(private router: Router, private store: Store) {}\r\n\r\n ngOnInit() {\r\n this.settings = getSettingTabs()\r\n .filter(setting => this.store.selectSnapshot(ConfigState.getGrantedPolicy(setting.requiredPolicy)))\r\n .sort((a, b) => a.order - b.order);\r\n\r\n if (!this.selected && this.settings.length) {\r\n this.selected = this.settings[0];\r\n }\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { SettingManagementComponent } from './components/setting-management.component';\r\nimport { DynamicLayoutComponent } from '@abp/ng.core';\r\n\r\nconst routes: Routes = [\r\n {\r\n path: '',\r\n component: DynamicLayoutComponent,\r\n children: [\r\n { path: '', component: SettingManagementComponent, data: { requiredPolicy: 'AbpAccount.SettingManagement' } },\r\n ],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class SettingManagementRoutingModule {}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule } from '@angular/core';\r\nimport { SettingManagementRoutingModule } from './setting-management-routing.module';\r\nimport { SettingManagementComponent } from './components/setting-management.component';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { SettingManagementState } from './states/setting-management.state';\r\n\r\n@NgModule({\r\n declarations: [SettingManagementComponent],\r\n imports: [\r\n SettingManagementRoutingModule,\r\n CoreModule,\r\n ThemeSharedModule,\r\n NgxsModule.forFeature([SettingManagementState]),\r\n ],\r\n})\r\nexport class SettingManagementModule {}\r\n"],"names":["tslib_1.__decorate","Action","Selector","State","getSettingTabs","ConfigState","Component","Router","Store","DynamicLayoutComponent","NgModule","RouterModule","CoreModule","ThemeSharedModule","NgxsModule"],"mappings":";;;;;;IAAA;IACA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;I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AA8B,EAAE;;QAL3G,MAAM,GAAW;QACrB;YACE,IAAI,EAAE,EAAE;YACR,SAAS,EAAEC,8BAAsB;YACjC,QAAQ,EAAE;gBACR,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,0BAA0B,EAAE,IAAI,IAAoD,EAAE;aAC9G;SACF;KACF;AAED;QAAA;SAI8C;;oBAJ7CC,aAAQ,SAAC;wBACR,OAAO,EAAE,CAACC,mBAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;wBACxC,OAAO,EAAE,CAACA,mBAAY,CAAC;qBACxB;;QAC4C,qCAAC;KAJ9C;;;;;;;ACfA;QAQA;SASuC;;oBATtCD,aAAQ,SAAC;wBACR,YAAY,EAAE,CAAC,0BAA0B,CAAC;wBAC1C,OAAO,EAAE;4BACP,8BAA8B;4BAC9BE,kBAAU;4BACVC,iCAAiB;4BACjBC,gBAAU,CAAC,UAAU,CAAC,CAAC,sBAAsB,CAAC,CAAC;yBAChD;qBACF;;QACqC,8BAAC;KATvC;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/bundles/abp-ng.setting-management.umd.min.js b/npm/ng-packs/dist/setting-management/bundles/abp-ng.setting-management.umd.min.js deleted file mode 100644 index bb7fe5152e2..00000000000 --- a/npm/ng-packs/dist/setting-management/bundles/abp-ng.setting-management.umd.min.js +++ /dev/null @@ -1,16 +0,0 @@ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@abp/ng.core"),require("@abp/ng.theme.shared"),require("@angular/core"),require("@angular/router"),require("@ngxs/store")):"function"==typeof define&&define.amd?define("@abp/ng.setting-management",["exports","@abp/ng.core","@abp/ng.theme.shared","@angular/core","@angular/router","@ngxs/store"],t):t(((e=e||self).abp=e.abp||{},e.abp.ng=e.abp.ng||{},e.abp.ng["setting-management"]={}),e.ng_core,e.ng_theme_shared,e.ng.core,e.ng.router,e.store)}(this,(function(e,t,n,r,a,o){"use strict"; -/*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */function i(e,t,n,r){var a,o=arguments.length,i=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function s(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}var c=function(){function e(e){this.payload=e}return e.type="[SettingManagement] Set Selected Tab",e}();var l=function(){function e(){}return e.getSelectedTab=function(e){return e.selectedTab},e.prototype.settingManagementAction=function(e,t){(0,e.patchState)({selectedTab:t.payload})},i([o.Action(c),s("design:type",Function),s("design:paramtypes",[Object,c]),s("design:returntype",void 0)],e.prototype,"settingManagementAction",null),i([o.Selector(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",void 0)],e,"getSelectedTab",null),e=i([o.State({name:"SettingManagementState",defaults:{selectedTab:{}}})],e)}(),d=function(){function e(e,t){this.router=e,this.store=t,this.settings=[],this.trackByFn=function(e,t){return t.name}}return Object.defineProperty(e.prototype,"selected",{get:function(){var e=this.store.selectSnapshot(l.getSelectedTab);return e&&e.component||!this.settings.length?e:this.settings[0]},set:function(e){this.store.dispatch(new c(e))},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.settings=n.getSettingTabs().filter((function(n){return e.store.selectSnapshot(t.ConfigState.getGrantedPolicy(n.requiredPolicy))})).sort((function(e,t){return e.order-t.order})),!this.selected&&this.settings.length&&(this.selected=this.settings[0])},e.decorators=[{type:r.Component,args:[{selector:"abp-setting-management",template:'
\r\n
\r\n

{{ \'AbpSettingManagement::Settings\' | abpLocalization }}

\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n'}]}],e.ctorParameters=function(){return[{type:a.Router},{type:o.Store}]},e}();var u=[{path:"",component:t.DynamicLayoutComponent,children:[{path:"",component:d,data:{requiredPolicy:"AbpAccount.SettingManagement"}}]}],g=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{imports:[a.RouterModule.forChild(u)],exports:[a.RouterModule]}]}],e}(),p=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{declarations:[d],imports:[g,t.CoreModule,n.ThemeSharedModule,o.NgxsModule.forFeature([l])]}]}],e}();e.SettingManagementComponent=d,e.SettingManagementModule=p,e.ɵa=g,e.ɵb=l,e.ɵc=c,Object.defineProperty(e,"__esModule",{value:!0})})); -//# sourceMappingURL=abp-ng.setting-management.umd.min.js.map \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/bundles/abp-ng.setting-management.umd.min.js.map b/npm/ng-packs/dist/setting-management/bundles/abp-ng.setting-management.umd.min.js.map deleted file mode 100644 index 21dc196828c..00000000000 --- a/npm/ng-packs/dist/setting-management/bundles/abp-ng.setting-management.umd.min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@abp/ng.setting-management/lib/actions/setting-management.actions.ts","ng://@abp/ng.setting-management/lib/states/setting-management.state.ts","ng://@abp/ng.setting-management/lib/components/setting-management.component.ts","ng://@abp/ng.setting-management/lib/setting-management-routing.module.ts","ng://@abp/ng.setting-management/lib/setting-management.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__metadata","metadataKey","metadataValue","metadata","SetSelectedSettingTab","payload","this","type","SettingManagementState","getSelectedTab","_a","selectedTab","prototype","settingManagementAction","_b","patchState","tslib_1.__decorate","Action","Selector","State","name","defaults","SettingManagementComponent","router","store","settings","trackByFn","_","item","value","selectSnapshot","component","dispatch","ngOnInit","_this","getSettingTabs","filter","setting","ConfigState","getGrantedPolicy","requiredPolicy","sort","a","b","order","selected","Component","args","selector","template","Router","Store","routes","path","DynamicLayoutComponent","children","data","SettingManagementRoutingModule","NgModule","imports","RouterModule","forChild","exports","SettingManagementModule","declarations","CoreModule","ThemeSharedModule","NgxsModule","forFeature"],"mappings":";;;;;;;;;;;;;;oFAoDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,EAOzD,SAASO,EAAWC,EAAaC,GACpC,GAAuB,iBAAZN,SAAoD,mBAArBA,QAAQO,SAAyB,OAAOP,QAAQO,SAASF,EAAaC,GC9DpH,IAAAE,EAAA,WAE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AA,cACAC,EAAAA,SAuCT7B,EA1CA,GCAA,IAKM8B,EAAiB,CACrB,CACEC,KAAM,GACNtB,UAAWuB,EAAAA,uBACXC,SAAU,CACR,CAAEF,KAAM,GAAItB,UAAWT,EAA4BkC,KAAM,CAAEhB,eAAgB,oCAKjFiB,EAAA,WAAA,SAAAA,KAI6C,2BAJ5CC,EAAAA,SAAQX,KAAA,CAAC,CACRY,QAAS,CAACC,EAAAA,aAAaC,SAAST,IAChCU,QAAS,CAACF,EAAAA,kBAEiCH,EAJ7C,GCfAM,EAAA,WAQA,SAAAA,KASsC,2BATrCL,EAAAA,SAAQX,KAAA,CAAC,CACRiB,aAAc,CAAC1C,GACfqC,QAAS,CACPF,EACAQ,EAAAA,WACAC,EAAAA,kBACAC,EAAAA,WAAWC,WAAW,CAAC5D,SAGWuD,EAjBtC","sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { SettingTab } from '@abp/ng.theme.shared';\r\n\r\nexport class SetSelectedSettingTab {\r\n static readonly type = '[SettingManagement] Set Selected Tab';\r\n constructor(public payload: SettingTab) {}\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { SetSelectedSettingTab } from '../actions/setting-management.actions';\r\nimport { SettingManagement } from '../models/setting-management';\r\n\r\n@State({\r\n name: 'SettingManagementState',\r\n defaults: { selectedTab: {} } as SettingManagement.State,\r\n})\r\nexport class SettingManagementState {\r\n @Selector()\r\n static getSelectedTab({ selectedTab }: SettingManagement.State) {\r\n return selectedTab;\r\n }\r\n\r\n @Action(SetSelectedSettingTab)\r\n settingManagementAction({ patchState }: StateContext, { payload }: SetSelectedSettingTab) {\r\n patchState({\r\n selectedTab: payload,\r\n });\r\n }\r\n}\r\n","import { Component, TrackByFunction, OnInit } from '@angular/core';\r\nimport { SettingTab, getSettingTabs } from '@abp/ng.theme.shared';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngxs/store';\r\nimport { ConfigState } from '@abp/ng.core';\r\nimport { SettingManagementState } from '../states/setting-management.state';\r\nimport { SetSelectedSettingTab } from '../actions/setting-management.actions';\r\nimport { RouterState } from '@ngxs/router-plugin';\r\n\r\n@Component({\r\n selector: 'abp-setting-management',\r\n templateUrl: './setting-management.component.html',\r\n})\r\nexport class SettingManagementComponent implements OnInit {\r\n settings: SettingTab[] = [];\r\n\r\n set selected(value: SettingTab) {\r\n this.store.dispatch(new SetSelectedSettingTab(value));\r\n }\r\n get selected(): SettingTab {\r\n const value = this.store.selectSnapshot(SettingManagementState.getSelectedTab);\r\n\r\n if ((!value || !value.component) && this.settings.length) {\r\n return this.settings[0];\r\n }\r\n\r\n return value;\r\n }\r\n\r\n trackByFn: TrackByFunction = (_, item) => item.name;\r\n\r\n constructor(private router: Router, private store: Store) {}\r\n\r\n ngOnInit() {\r\n this.settings = getSettingTabs()\r\n .filter(setting => this.store.selectSnapshot(ConfigState.getGrantedPolicy(setting.requiredPolicy)))\r\n .sort((a, b) => a.order - b.order);\r\n\r\n if (!this.selected && this.settings.length) {\r\n this.selected = this.settings[0];\r\n }\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { SettingManagementComponent } from './components/setting-management.component';\r\nimport { DynamicLayoutComponent } from '@abp/ng.core';\r\n\r\nconst routes: Routes = [\r\n {\r\n path: '',\r\n component: DynamicLayoutComponent,\r\n children: [\r\n { path: '', component: SettingManagementComponent, data: { requiredPolicy: 'AbpAccount.SettingManagement' } },\r\n ],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class SettingManagementRoutingModule {}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule } from '@angular/core';\r\nimport { SettingManagementRoutingModule } from './setting-management-routing.module';\r\nimport { SettingManagementComponent } from './components/setting-management.component';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { SettingManagementState } from './states/setting-management.state';\r\n\r\n@NgModule({\r\n declarations: [SettingManagementComponent],\r\n imports: [\r\n SettingManagementRoutingModule,\r\n CoreModule,\r\n ThemeSharedModule,\r\n NgxsModule.forFeature([SettingManagementState]),\r\n ],\r\n})\r\nexport class SettingManagementModule {}\r\n"]} \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/esm2015/abp-ng.setting-management.js b/npm/ng-packs/dist/setting-management/esm2015/abp-ng.setting-management.js deleted file mode 100644 index 1a0ea701ca2..00000000000 --- a/npm/ng-packs/dist/setting-management/esm2015/abp-ng.setting-management.js +++ /dev/null @@ -1,13 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.setting-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { SettingManagementModule, SettingManagementComponent } from './public-api'; -export { SetSelectedSettingTab as ɵc } from './lib/actions/setting-management.actions'; -export { SettingManagementRoutingModule as ɵa } from './lib/setting-management-routing.module'; -export { SettingManagementState as ɵb } from './lib/states/setting-management.state'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLnNldHRpbmctbWFuYWdlbWVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuc2V0dGluZy1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsiYWJwLW5nLnNldHRpbmctbWFuYWdlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLG9FQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMscUJBQXFCLElBQUksRUFBRSxFQUFDLE1BQU0sMENBQTBDLENBQUM7QUFDckYsT0FBTyxFQUFDLDhCQUE4QixJQUFJLEVBQUUsRUFBQyxNQUFNLHlDQUF5QyxDQUFDO0FBQzdGLE9BQU8sRUFBQyxzQkFBc0IsSUFBSSxFQUFFLEVBQUMsTUFBTSx1Q0FBdUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcblxuZXhwb3J0IHtTZXRTZWxlY3RlZFNldHRpbmdUYWIgYXMgybVjfSBmcm9tICcuL2xpYi9hY3Rpb25zL3NldHRpbmctbWFuYWdlbWVudC5hY3Rpb25zJztcbmV4cG9ydCB7U2V0dGluZ01hbmFnZW1lbnRSb3V0aW5nTW9kdWxlIGFzIMm1YX0gZnJvbSAnLi9saWIvc2V0dGluZy1tYW5hZ2VtZW50LXJvdXRpbmcubW9kdWxlJztcbmV4cG9ydCB7U2V0dGluZ01hbmFnZW1lbnRTdGF0ZSBhcyDJtWJ9IGZyb20gJy4vbGliL3N0YXRlcy9zZXR0aW5nLW1hbmFnZW1lbnQuc3RhdGUnOyJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/esm2015/lib/actions/setting-management.actions.js b/npm/ng-packs/dist/setting-management/esm2015/lib/actions/setting-management.actions.js deleted file mode 100644 index 001001efb16..00000000000 --- a/npm/ng-packs/dist/setting-management/esm2015/lib/actions/setting-management.actions.js +++ /dev/null @@ -1,21 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/setting-management.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export class SetSelectedSettingTab { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -SetSelectedSettingTab.type = '[SettingManagement] Set Selected Tab'; -if (false) { - /** @type {?} */ - SetSelectedSettingTab.type; - /** @type {?} */ - SetSelectedSettingTab.prototype.payload; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZy1tYW5hZ2VtZW50LmFjdGlvbnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnNldHRpbmctbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9hY3Rpb25zL3NldHRpbmctbWFuYWdlbWVudC5hY3Rpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBRUEsTUFBTSxPQUFPLHFCQUFxQjs7OztJQUVoQyxZQUFtQixPQUFtQjtRQUFuQixZQUFPLEdBQVAsT0FBTyxDQUFZO0lBQUcsQ0FBQzs7QUFEMUIsMEJBQUksR0FBRyxzQ0FBc0MsQ0FBQzs7O0lBQTlELDJCQUE4RDs7SUFDbEQsd0NBQTBCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgU2V0dGluZ1RhYiB9IGZyb20gJ0BhYnAvbmcudGhlbWUuc2hhcmVkJztcclxuXHJcbmV4cG9ydCBjbGFzcyBTZXRTZWxlY3RlZFNldHRpbmdUYWIge1xyXG4gIHN0YXRpYyByZWFkb25seSB0eXBlID0gJ1tTZXR0aW5nTWFuYWdlbWVudF0gU2V0IFNlbGVjdGVkIFRhYic7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IFNldHRpbmdUYWIpIHt9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/esm2015/lib/components/setting-management.component.js b/npm/ng-packs/dist/setting-management/esm2015/lib/components/setting-management.component.js deleted file mode 100644 index f44e98309c9..00000000000 --- a/npm/ng-packs/dist/setting-management/esm2015/lib/components/setting-management.component.js +++ /dev/null @@ -1,95 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/setting-management.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component } from '@angular/core'; -import { getSettingTabs } from '@abp/ng.theme.shared'; -import { Router } from '@angular/router'; -import { Store } from '@ngxs/store'; -import { ConfigState } from '@abp/ng.core'; -import { SettingManagementState } from '../states/setting-management.state'; -import { SetSelectedSettingTab } from '../actions/setting-management.actions'; -export class SettingManagementComponent { - /** - * @param {?} router - * @param {?} store - */ - constructor(router, store) { - this.router = router; - this.store = store; - this.settings = []; - this.trackByFn = (/** - * @param {?} _ - * @param {?} item - * @return {?} - */ - (_, item) => item.name); - } - /** - * @param {?} value - * @return {?} - */ - set selected(value) { - this.store.dispatch(new SetSelectedSettingTab(value)); - } - /** - * @return {?} - */ - get selected() { - /** @type {?} */ - const value = this.store.selectSnapshot(SettingManagementState.getSelectedTab); - if ((!value || !value.component) && this.settings.length) { - return this.settings[0]; - } - return value; - } - /** - * @return {?} - */ - ngOnInit() { - this.settings = getSettingTabs() - .filter((/** - * @param {?} setting - * @return {?} - */ - setting => this.store.selectSnapshot(ConfigState.getGrantedPolicy(setting.requiredPolicy)))) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - (a, b) => a.order - b.order)); - if (!this.selected && this.settings.length) { - this.selected = this.settings[0]; - } - } -} -SettingManagementComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-setting-management', - template: "
\r\n
\r\n

{{ 'AbpSettingManagement::Settings' | abpLocalization }}

\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
    \r\n \r\n {{ setting.name | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n" - }] } -]; -/** @nocollapse */ -SettingManagementComponent.ctorParameters = () => [ - { type: Router }, - { type: Store } -]; -if (false) { - /** @type {?} */ - SettingManagementComponent.prototype.settings; - /** @type {?} */ - SettingManagementComponent.prototype.trackByFn; - /** - * @type {?} - * @private - */ - SettingManagementComponent.prototype.router; - /** - * @type {?} - * @private - */ - SettingManagementComponent.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZy1tYW5hZ2VtZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuc2V0dGluZy1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvc2V0dGluZy1tYW5hZ2VtZW50LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQTJCLE1BQU0sZUFBZSxDQUFDO0FBQ25FLE9BQU8sRUFBYyxjQUFjLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDekMsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUNwQyxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQzNDLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLG9DQUFvQyxDQUFDO0FBQzVFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUF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0ZSByb3V0ZXI6IFJvdXRlciwgcHJpdmF0ZSBzdG9yZTogU3RvcmUpIHt9XHJcblxyXG4gIG5nT25Jbml0KCkge1xyXG4gICAgdGhpcy5zZXR0aW5ncyA9IGdldFNldHRpbmdUYWJzKClcclxuICAgICAgLmZpbHRlcihzZXR0aW5nID0+IHRoaXMuc3RvcmUuc2VsZWN0U25hcHNob3QoQ29uZmlnU3RhdGUuZ2V0R3JhbnRlZFBvbGljeShzZXR0aW5nLnJlcXVpcmVkUG9saWN5KSkpXHJcbiAgICAgIC5zb3J0KChhLCBiKSA9PiBhLm9yZGVyIC0gYi5vcmRlcik7XHJcblxyXG4gICAgaWYgKCF0aGlzLnNlbGVjdGVkICYmIHRoaXMuc2V0dGluZ3MubGVuZ3RoKSB7XHJcbiAgICAgIHRoaXMuc2VsZWN0ZWQgPSB0aGlzLnNldHRpbmdzWzBdO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/esm2015/lib/models/setting-management.js b/npm/ng-packs/dist/setting-management/esm2015/lib/models/setting-management.js deleted file mode 100644 index 702286b62f0..00000000000 --- a/npm/ng-packs/dist/setting-management/esm2015/lib/models/setting-management.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/setting-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var SettingManagement; -(function (SettingManagement) { - /** - * @record - */ - function State() { } - SettingManagement.State = State; - if (false) { - /** @type {?} */ - State.prototype.selectedTab; - } -})(SettingManagement || (SettingManagement = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZy1tYW5hZ2VtZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5zZXR0aW5nLW1hbmFnZW1lbnQvIiwic291cmNlcyI6WyJsaWIvbW9kZWxzL3NldHRpbmctbWFuYWdlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUVBLE1BQU0sS0FBVyxpQkFBaUIsQ0FJakM7QUFKRCxXQUFpQixpQkFBaUI7Ozs7SUFDaEMsb0JBRUM7Ozs7UUFEQyw0QkFBd0I7O0FBRTVCLENBQUMsRUFKZ0IsaUJBQWlCLEtBQWpCLGlCQUFpQixRQUlqQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFNldHRpbmdUYWIgfSBmcm9tICdAYWJwL25nLnRoZW1lLnNoYXJlZCc7XHJcblxyXG5leHBvcnQgbmFtZXNwYWNlIFNldHRpbmdNYW5hZ2VtZW50IHtcclxuICBleHBvcnQgaW50ZXJmYWNlIFN0YXRlIHtcclxuICAgIHNlbGVjdGVkVGFiOiBTZXR0aW5nVGFiO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/esm2015/lib/setting-management-routing.module.js b/npm/ng-packs/dist/setting-management/esm2015/lib/setting-management-routing.module.js deleted file mode 100644 index a421024af6b..00000000000 --- a/npm/ng-packs/dist/setting-management/esm2015/lib/setting-management-routing.module.js +++ /dev/null @@ -1,30 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/setting-management-routing.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { SettingManagementComponent } from './components/setting-management.component'; -import { DynamicLayoutComponent } from '@abp/ng.core'; -const ɵ0 = { requiredPolicy: 'AbpAccount.SettingManagement' }; -/** @type {?} */ -const routes = [ - { - path: '', - component: DynamicLayoutComponent, - children: [ - { path: '', component: SettingManagementComponent, data: ɵ0 }, - ], - }, -]; -export class SettingManagementRoutingModule { -} -SettingManagementRoutingModule.decorators = [ - { type: NgModule, args: [{ - imports: [RouterModule.forChild(routes)], - ex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bmltcG9ydCB7IFJvdXRlck1vZHVsZSwgUm91dGVzIH0gZnJvbSAnQGFuZ3VsYXIvcm91dGVyJztcclxuaW1wb3J0IHsgU2V0dGluZ01hbmFnZW1lbnRDb21wb25lbnQgfSBmcm9tICcuL2NvbXBvbmVudHMvc2V0dGluZy1tYW5hZ2VtZW50LmNvbXBvbmVudCc7XHJcbmltcG9ydCB7IER5bmFtaWNMYXlvdXRDb21wb25lbnQgfSBmcm9tICdAYWJwL25nLmNvcmUnO1xyXG5cclxuY29uc3Qgcm91dGVzOiBSb3V0ZXMgPSBbXHJcbiAge1xyXG4gICAgcGF0aDogJycsXHJcbiAgICBjb21wb25lbnQ6IER5bmFtaWNMYXlvdXRDb21wb25lbnQsXHJcbiAgICBjaGlsZHJlbjogW1xyXG4gICAgICB7IHBhdGg6ICcnLCBjb21wb25lbnQ6IFNldHRpbmdNYW5hZ2VtZW50Q29tcG9uZW50LCBkYXRhOiB7IHJlcXVpcmVkUG9saWN5OiAnQWJwQWNjb3VudC5TZXR0aW5nTWFuYWdlbWVudCcgfSB9LFxyXG4gICAgXSxcclxuICB9LFxyXG5dO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBpbXBvcnRzOiBbUm91dGVyTW9kdWxlLmZvckNoaWxkKHJvdXRlcyldLFxyXG4gIGV4cG9ydHM6IFtSb3V0ZXJNb2R1bGVdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgU2V0dGluZ01hbmFnZW1lbnRSb3V0aW5nTW9kdWxlIHt9XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/esm2015/lib/setting-management.module.js b/npm/ng-packs/dist/setting-management/esm2015/lib/setting-management.module.js deleted file mode 100644 index 6595fef5eab..00000000000 --- a/npm/ng-packs/dist/setting-management/esm2015/lib/setting-management.module.js +++ /dev/null @@ -1,26 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/setting-management.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { CoreModule } from '@abp/ng.core'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; -import { NgModule } from '@angular/core'; -import { SettingManagementRoutingModule } from './setting-management-routing.module'; -import { SettingManagementComponent } from './components/setting-management.component'; -import { NgxsModule } from '@ngxs/store'; -import { SettingManagementState } from './states/setting-management.state'; -export class SettingManagementModule { -} -SettingManagementModule.decorators = [ - { type: NgModule, args: [{ - declarations: [SettingManagementComponent], - imports: [ - SettingManagementRoutingModule, - CoreModule, - ThemeSharedModule, - NgxsModule.forFeature([SettingManagementState]), - ], - },] } -]; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZy1tYW5hZ2VtZW50Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuc2V0dGluZy1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL3NldHRpbmctbWFuYWdlbWVudC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQzFDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3pELE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLDhCQUE4QixFQUFFLE1BQU0scUNBQXFDLENBQUM7QUFDckYsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0sMkNBQTJDLENBQUM7QUFDdkYsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUN6QyxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQVczRSxNQUFNLE9BQU8sdUJBQXVCOzs7WUFUbkMsUUFBUSxTQUFDO2dCQUNS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JGZWF0dXJlKFtTZXR0aW5nTWFuYWdlbWVudFN0YXRlXSksXHJcbiAgXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIFNldHRpbmdNYW5hZ2VtZW50TW9kdWxlIHt9XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/esm2015/lib/states/setting-management.state.js b/npm/ng-packs/dist/setting-management/esm2015/lib/states/setting-management.state.js deleted file mode 100644 index d5d5c80a563..00000000000 --- a/npm/ng-packs/dist/setting-management/esm2015/lib/states/setting-management.state.js +++ /dev/null @@ -1,47 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/setting-management.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Action, Selector, State } from '@ngxs/store'; -import { SetSelectedSettingTab } from '../actions/setting-management.actions'; -let SettingManagementState = class SettingManagementState { - /** - * @param {?} __0 - * @return {?} - */ - static getSelectedTab({ selectedTab }) { - return selectedTab; - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - settingManagementAction({ patchState }, { payload }) { - patchState({ - selectedTab: payload, - }); - } -}; -tslib_1.__decorate([ - Action(SetSelectedSettingTab), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, SetSelectedSettingTab]), - tslib_1.__metadata("design:returntype", void 0) -], SettingManagementState.prototype, "settingManagementAction", null); -tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", void 0) -], SettingManagementState, "getSelectedTab", null); -SettingManagementState = tslib_1.__decorate([ - State({ - name: 'SettingManagementState', - defaults: (/** @type {?} */ ({ selectedTab: {} })), - }) -], SettingManagementState); -export { SettingManagementState }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZy1tYW5hZ2VtZW50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N0b3JlJztcclxuaW1wb3J0IHsgU2V0U2VsZWN0ZWRTZXR0aW5nVGFiIH0gZnJvbSAnLi4vYWN0aW9ucy9zZXR0aW5nLW1hbmFnZW1lbnQuYWN0aW9ucyc7XHJcbmltcG9ydCB7IFNldHRpbmdNYW5hZ2VtZW50IH0gZnJvbSAnLi4vbW9kZWxzL3NldHRpbmctbWFuYWdlbWVudCc7XHJcblxyXG5AU3RhdGU8U2V0dGluZ01hbmFnZW1lbnQuU3RhdGU+KHtcclxuICBuYW1lOiAnU2V0dGluZ01hbmFnZW1lbnRTdGF0ZScsXHJcbiAgZGVmYXVsdHM6IHsgc2VsZWN0ZWRUYWI6IHt9IH0gYXMgU2V0dGluZ01hbmFnZW1lbnQuU3RhdGUsXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBTZXR0aW5nTWFuYWdlbWVudFN0YXRlIHtcclxuICBAU2VsZWN0b3IoKVxyXG4gIHN0YXRpYyBnZXRTZWxlY3RlZFRhYih7IHNlbGVjdGVkVGFiIH06IFNldHRpbmdNYW5hZ2VtZW50LlN0YXRlKSB7XHJcbiAgICByZXR1cm4gc2VsZWN0ZWRUYWI7XHJcbiAgfVxyXG5cclxuICBAQWN0aW9uKFNldFNlbGVjdGVkU2V0dGluZ1RhYilcclxuICBzZXR0aW5nTWFuYWdlbWVudEFjdGlvbih7IHBhdGNoU3RhdGUgfTogU3RhdGVDb250ZXh0PFNldHRpbmdNYW5hZ2VtZW50LlN0YXRlPiwgeyBwYXlsb2FkIH06IFNldFNlbGVjdGVkU2V0dGluZ1RhYikge1xyXG4gICAgcGF0Y2hTdGF0ZSh7XHJcbiAgICAgIHNlbGVjdGVkVGFiOiBwYXlsb2FkLFxyXG4gICAgfSk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/esm2015/public-api.js b/npm/ng-packs/dist/setting-management/esm2015/public-api.js deleted file mode 100644 index d90b2aecb84..00000000000 --- a/npm/ng-packs/dist/setting-management/esm2015/public-api.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { SettingManagementModule } from './lib/setting-management.module'; -export { SettingManagementComponent } from './lib/components/setting-management.component'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuc2V0dGluZy1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsicHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHdDQUFjLGlDQUFpQyxDQUFDO0FBQ2hELDJDQUFjLCtDQUErQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvc2V0dGluZy1tYW5hZ2VtZW50Lm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMvc2V0dGluZy1tYW5hZ2VtZW50LmNvbXBvbmVudCc7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/esm5/abp-ng.setting-management.js b/npm/ng-packs/dist/setting-management/esm5/abp-ng.setting-management.js deleted file mode 100644 index 1a0ea701ca2..00000000000 --- a/npm/ng-packs/dist/setting-management/esm5/abp-ng.setting-management.js +++ /dev/null @@ -1,13 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.setting-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { SettingManagementModule, SettingManagementComponent } from './public-api'; -export { SetSelectedSettingTab as ɵc } from './lib/actions/setting-management.actions'; -export { SettingManagementRoutingModule as ɵa } from './lib/setting-management-routing.module'; -export { SettingManagementState as ɵb } from './lib/states/setting-management.state'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLnNldHRpbmctbWFuYWdlbWVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuc2V0dGluZy1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsiYWJwLW5nLnNldHRpbmctbWFuYWdlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLG9FQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMscUJBQXFCLElBQUksRUFBRSxFQUFDLE1BQU0sMENBQTBDLENBQUM7QUFDckYsT0FBTyxFQUFDLDhCQUE4QixJQUFJLEVBQUUsRUFBQyxNQUFNLHlDQUF5QyxDQUFDO0FBQzdGLE9BQU8sRUFBQyxzQkFBc0IsSUFBSSxFQUFFLEVBQUMsTUFBTSx1Q0FBdUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcblxuZXhwb3J0IHtTZXRTZWxlY3RlZFNldHRpbmdUYWIgYXMgybVjfSBmcm9tICcuL2xpYi9hY3Rpb25zL3NldHRpbmctbWFuYWdlbWVudC5hY3Rpb25zJztcbmV4cG9ydCB7U2V0dGluZ01hbmFnZW1lbnRSb3V0aW5nTW9kdWxlIGFzIMm1YX0gZnJvbSAnLi9saWIvc2V0dGluZy1tYW5hZ2VtZW50LXJvdXRpbmcubW9kdWxlJztcbmV4cG9ydCB7U2V0dGluZ01hbmFnZW1lbnRTdGF0ZSBhcyDJtWJ9IGZyb20gJy4vbGliL3N0YXRlcy9zZXR0aW5nLW1hbmFnZW1lbnQuc3RhdGUnOyJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/esm5/lib/actions/setting-management.actions.js b/npm/ng-packs/dist/setting-management/esm5/lib/actions/setting-management.actions.js deleted file mode 100644 index fe8910d90cc..00000000000 --- a/npm/ng-packs/dist/setting-management/esm5/lib/actions/setting-management.actions.js +++ /dev/null @@ -1,20 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/setting-management.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var SetSelectedSettingTab = /** @class */ (function () { - function SetSelectedSettingTab(payload) { - this.payload = payload; - } - SetSelectedSettingTab.type = '[SettingManagement] Set Selected Tab'; - return SetSelectedSettingTab; -}()); -export { SetSelectedSettingTab }; -if (false) { - /** @type {?} */ - SetSelectedSettingTab.type; - /** @type {?} */ - SetSelectedSettingTab.prototype.payload; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZy1tYW5hZ2VtZW50LmFjdGlvbnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnNldHRpbmctbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9hY3Rpb25zL3NldHRpbmctbWFuYWdlbWVudC5hY3Rpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBRUE7SUFFRSwrQkFBbUIsT0FBbUI7UUFBbkIsWUFBTyxHQUFQLE9BQU8sQ0FBWTtJQUFHLENBQUM7SUFEMUIsMEJBQUksR0FBRyxzQ0FBc0MsQ0FBQztJQUVoRSw0QkFBQztDQUFBLEFBSEQsSUFHQztTQUhZLHFCQUFxQjs7O0lBQ2hDLDJCQUE4RDs7SUFDbEQsd0NBQTBCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgU2V0dGluZ1RhYiB9IGZyb20gJ0BhYnAvbmcudGhlbWUuc2hhcmVkJztcclxuXHJcbmV4cG9ydCBjbGFzcyBTZXRTZWxlY3RlZFNldHRpbmdUYWIge1xyXG4gIHN0YXRpYyByZWFkb25seSB0eXBlID0gJ1tTZXR0aW5nTWFuYWdlbWVudF0gU2V0IFNlbGVjdGVkIFRhYic7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IFNldHRpbmdUYWIpIHt9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/esm5/lib/components/setting-management.component.js b/npm/ng-packs/dist/setting-management/esm5/lib/components/setting-management.component.js deleted file mode 100644 index c57f82c957c..00000000000 --- a/npm/ng-packs/dist/setting-management/esm5/lib/components/setting-management.component.js +++ /dev/null @@ -1,101 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/setting-management.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component } from '@angular/core'; -import { getSettingTabs } from '@abp/ng.theme.shared'; -import { Router } from '@angular/router'; -import { Store } from '@ngxs/store'; -import { ConfigState } from '@abp/ng.core'; -import { SettingManagementState } from '../states/setting-management.state'; -import { SetSelectedSettingTab } from '../actions/setting-management.actions'; -var SettingManagementComponent = /** @class */ (function () { - function SettingManagementComponent(router, store) { - this.router = router; - this.store = store; - this.settings = []; - this.trackByFn = (/** - * @param {?} _ - * @param {?} item - * @return {?} - */ - function (_, item) { return item.name; }); - } - Object.defineProperty(SettingManagementComponent.prototype, "selected", { - get: /** - * @return {?} - */ - function () { - /** @type {?} */ - var value = this.store.selectSnapshot(SettingManagementState.getSelectedTab); - if ((!value || !value.component) && this.settings.length) { - return this.settings[0]; - } - return value; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - this.store.dispatch(new SetSelectedSettingTab(value)); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - SettingManagementComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - var _this = this; - this.settings = getSettingTabs() - .filter((/** - * @param {?} setting - * @return {?} - */ - function (setting) { return _this.store.selectSnapshot(ConfigState.getGrantedPolicy(setting.requiredPolicy)); })) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - function (a, b) { return a.order - b.order; })); - if (!this.selected && this.settings.length) { - this.selected = this.settings[0]; - } - }; - SettingManagementComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-setting-management', - template: "
\r\n
\r\n

{{ 'AbpSettingManagement::Settings' | abpLocalization }}

\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
    \r\n \r\n {{ setting.name | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n" - }] } - ]; - /** @nocollapse */ - SettingManagementComponent.ctorParameters = function () { return [ - { type: Router }, - { type: Store } - ]; }; - return SettingManagementComponent; -}()); -export { SettingManagementComponent }; -if (false) { - /** @type {?} */ - SettingManagementComponent.prototype.settings; - /** @type {?} */ - SettingManagementComponent.prototype.trackByFn; - /** - * @type {?} - * @private - */ - SettingManagementComponent.prototype.router; - /** - * @type {?} - * @private - */ - SettingManagementComponent.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZy1tYW5hZ2VtZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuc2V0dGluZy1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvc2V0dGluZy1tYW5hZ2VtZW50LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQTJCLE1BQU0sZUFBZSxDQUFDO0FBQ25FLE9BQU8sRUFBYyxjQUFjLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsTUFBTSxFQU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ZWxlY3RlZFRhYik7XHJcblxyXG4gICAgaWYgKCghdmFsdWUgfHwgIXZhbHVlLmNvbXBvbmVudCkgJiYgdGhpcy5zZXR0aW5ncy5sZW5ndGgpIHtcclxuICAgICAgcmV0dXJuIHRoaXMuc2V0dGluZ3NbMF07XHJcbiAgICB9XHJcblxyXG4gICAgcmV0dXJuIHZhbHVlO1xyXG4gIH1cclxuXHJcbiAgdHJhY2tCeUZuOiBUcmFja0J5RnVuY3Rpb248U2V0dGluZ1RhYj4gPSAoXywgaXRlbSkgPT4gaXRlbS5uYW1lO1xyXG5cclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHJvdXRlcjogUm91dGVyLCBwcml2YXRlIHN0b3JlOiBTdG9yZSkge31cclxuXHJcbiAgbmdPbkluaXQoKSB7XHJcbiAgICB0aGlzLnNldHRpbmdzID0gZ2V0U2V0dGluZ1RhYnMoKVxyXG4gICAgICAuZmlsdGVyKHNldHRpbmcgPT4gdGhpcy5zdG9yZS5zZWxlY3RTbmFwc2hvdChDb25maWdTdGF0ZS5nZXRHcmFudGVkUG9saWN5KHNldHRpbmcucmVxdWlyZWRQb2xpY3kpKSlcclxuICAgICAgLnNvcnQoKGEsIGIpID0+IGEub3JkZXIgLSBiLm9yZGVyKTtcclxuXHJcbiAgICBpZiAoIXRoaXMuc2VsZWN0ZWQgJiYgdGhpcy5zZXR0aW5ncy5sZW5ndGgpIHtcclxuICAgICAgdGhpcy5zZWxlY3RlZCA9IHRoaXMuc2V0dGluZ3NbMF07XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/esm5/lib/models/setting-management.js b/npm/ng-packs/dist/setting-management/esm5/lib/models/setting-management.js deleted file mode 100644 index 702286b62f0..00000000000 --- a/npm/ng-packs/dist/setting-management/esm5/lib/models/setting-management.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/setting-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var SettingManagement; -(function (SettingManagement) { - /** - * @record - */ - function State() { } - SettingManagement.State = State; - if (false) { - /** @type {?} */ - State.prototype.selectedTab; - } -})(SettingManagement || (SettingManagement = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZy1tYW5hZ2VtZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5zZXR0aW5nLW1hbmFnZW1lbnQvIiwic291cmNlcyI6WyJsaWIvbW9kZWxzL3NldHRpbmctbWFuYWdlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUVBLE1BQU0sS0FBVyxpQkFBaUIsQ0FJakM7QUFKRCxXQUFpQixpQkFBaUI7Ozs7SUFDaEMsb0JBRUM7Ozs7UUFEQyw0QkFBd0I7O0FBRTVCLENBQUMsRUFKZ0IsaUJBQWlCLEtBQWpCLGlCQUFpQixRQUlqQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFNldHRpbmdUYWIgfSBmcm9tICdAYWJwL25nLnRoZW1lLnNoYXJlZCc7XHJcblxyXG5leHBvcnQgbmFtZXNwYWNlIFNldHRpbmdNYW5hZ2VtZW50IHtcclxuICBleHBvcnQgaW50ZXJmYWNlIFN0YXRlIHtcclxuICAgIHNlbGVjdGVkVGFiOiBTZXR0aW5nVGFiO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/esm5/lib/setting-management-routing.module.js b/npm/ng-packs/dist/setting-management/esm5/lib/setting-management-routing.module.js deleted file mode 100644 index 530a3784301..00000000000 --- a/npm/ng-packs/dist/setting-management/esm5/lib/setting-management-routing.module.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/setting-management-routing.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { SettingManagementComponent } from './components/setting-management.component'; -import { DynamicLayoutComponent } from '@abp/ng.core'; -var ɵ0 = { requiredPolicy: 'AbpAccount.SettingManagement' }; -/** @type {?} */ -var routes = [ - { - path: '', - component: DynamicLayoutComponent, - children: [ - { path: '', component: SettingManagementComponent, data: ɵ0 }, - ], - }, -]; -var SettingManagementRoutingModule = /** @class */ (function () { - function SettingManagementRoutingModule() { - } - SettingManagementRoutingModule.decorators = [ - { type: NgModule, args: [{ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule], - },] } - ]; - return SettingManagementRoutingModule; -}()); -export { SettingManagementRoutingModule }; -export { ɵ0 }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZy1tYW5hZ2VtZW50LXJvdXRpbmcubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5zZXR0aW5nLW1hbmFnZW1lbnQvIiwic291cmNlcyI6WyJsaWIvc2V0dGluZy1tYW5hZ2VtZW50LXJvdXRpbmcubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFVLE1BQU0saUJBQWlCLENBQUM7QUFDdkQsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0sMkNBQTJDLENBQUM7QUFDdkYsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sY0FBYyxDQUFDO1NBT1MsRUFBRSxjQUFjLEVBQUUsOEJBQThCLEVBQUU7O0lBTDNHLE1BQU0sR0FBVztJQUNyQjtRQUNFLElBQUksRUFBRSxFQUFFO1FBQ1IsU0FBUyxFQUFFLHNCQUFzQjtRQU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HJcbkBOZ01vZHVsZSh7XHJcbiAgaW1wb3J0czogW1JvdXRlck1vZHVsZS5mb3JDaGlsZChyb3V0ZXMpXSxcclxuICBleHBvcnRzOiBbUm91dGVyTW9kdWxlXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIFNldHRpbmdNYW5hZ2VtZW50Um91dGluZ01vZHVsZSB7fVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/esm5/lib/setting-management.module.js b/npm/ng-packs/dist/setting-management/esm5/lib/setting-management.module.js deleted file mode 100644 index 329d5cbb06a..00000000000 --- a/npm/ng-packs/dist/setting-management/esm5/lib/setting-management.module.js +++ /dev/null @@ -1,30 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/setting-management.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { CoreModule } from '@abp/ng.core'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; -import { NgModule } from '@angular/core'; -import { SettingManagementRoutingModule } from './setting-management-routing.module'; -import { SettingManagementComponent } from './components/setting-management.component'; -import { NgxsModule } from '@ngxs/store'; -import { SettingManagementState } from './states/setting-management.state'; -var SettingManagementModule = /** @class */ (function () { - function SettingManagementModule() { - } - SettingManagementModule.decorators = [ - { type: NgModule, args: [{ - declarations: [SettingManagementComponent], - imports: [ - SettingManagementRoutingModule, - CoreModule, - ThemeSharedModule, - NgxsModule.forFeature([SettingManagementState]), - ], - },] } - ]; - return SettingManagementModule; -}()); -export { SettingManagementModule }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZy1tYW5hZ2VtZW50Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuc2V0dGluZy1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL3NldHRpbmctbWFuYWdlbWVudC5tb2R1bGUudHMiXSwibmFtZXMiOltdLC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ctbWFuYWdlbWVudC1yb3V0aW5nLm1vZHVsZSc7XHJcbmltcG9ydCB7IFNldHRpbmdNYW5hZ2VtZW50Q29tcG9uZW50IH0gZnJvbSAnLi9jb21wb25lbnRzL3NldHRpbmctbWFuYWdlbWVudC5jb21wb25lbnQnO1xyXG5pbXBvcnQgeyBOZ3hzTW9kdWxlIH0gZnJvbSAnQG5neHMvc3RvcmUnO1xyXG5pbXBvcnQgeyBTZXR0aW5nTWFuYWdlbWVudFN0YXRlIH0gZnJvbSAnLi9zdGF0ZXMvc2V0dGluZy1tYW5hZ2VtZW50LnN0YXRlJztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbU2V0dGluZ01hbmFnZW1lbnRDb21wb25lbnRdLFxyXG4gIGltcG9ydHM6IFtcclxuICAgIFNldHRpbmdNYW5hZ2VtZW50Um91dGluZ01vZHVsZSxcclxuICAgIENvcmVNb2R1bGUsXHJcbiAgICBUaGVtZVNoYXJlZE1vZHVsZSxcclxuICAgIE5neHNNb2R1bGUuZm9yRmVhdHVyZShbU2V0dGluZ01hbmFnZW1lbnRTdGF0ZV0pLFxyXG4gIF0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBTZXR0aW5nTWFuYWdlbWVudE1vZHVsZSB7fVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/esm5/lib/states/setting-management.state.js b/npm/ng-packs/dist/setting-management/esm5/lib/states/setting-management.state.js deleted file mode 100644 index a164ccd705b..00000000000 --- a/npm/ng-packs/dist/setting-management/esm5/lib/states/setting-management.state.js +++ /dev/null @@ -1,62 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/setting-management.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Action, Selector, State } from '@ngxs/store'; -import { SetSelectedSettingTab } from '../actions/setting-management.actions'; -var SettingManagementState = /** @class */ (function () { - function SettingManagementState() { - } - /** - * @param {?} __0 - * @return {?} - */ - SettingManagementState.getSelectedTab = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var selectedTab = _a.selectedTab; - return selectedTab; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - SettingManagementState.prototype.settingManagementAction = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - patchState({ - selectedTab: payload, - }); - }; - tslib_1.__decorate([ - Action(SetSelectedSettingTab), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, SetSelectedSettingTab]), - tslib_1.__metadata("design:returntype", void 0) - ], SettingManagementState.prototype, "settingManagementAction", null); - tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", void 0) - ], SettingManagementState, "getSelectedTab", null); - SettingManagementState = tslib_1.__decorate([ - State({ - name: 'SettingManagementState', - defaults: (/** @type {?} */ ({ selectedTab: {} })), - }) - ], SettingManagementState); - return SettingManagementState; -}()); -export { SettingManagementState }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZy1tYW5hZ2VtZW50LnN0YXRlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5zZXR0aW5nLW1hbmFnZW1lbnQvIiwic291cmNlcyI6WyJsaWIvc3RhdGVzL3NldHRpbmctbWFuYWdlbWVudC5zdGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBRSxLQUFLLEVBQWdCLE1BQU0sYUFBYSxDQUFDO0FBQ3BFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHVDQUF1QyxDQUFDOzs7SUFtQjlFLENBQUM7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gIGRlZmF1bHRzOiB7IHNlbGVjdGVkVGFiOiB7fSB9IGFzIFNldHRpbmdNYW5hZ2VtZW50LlN0YXRlLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgU2V0dGluZ01hbmFnZW1lbnRTdGF0ZSB7XHJcbiAgQFNlbGVjdG9yKClcclxuICBzdGF0aWMgZ2V0U2VsZWN0ZWRUYWIoeyBzZWxlY3RlZFRhYiB9OiBTZXR0aW5nTWFuYWdlbWVudC5TdGF0ZSkge1xyXG4gICAgcmV0dXJuIHNlbGVjdGVkVGFiO1xyXG4gIH1cclxuXHJcbiAgQEFjdGlvbihTZXRTZWxlY3RlZFNldHRpbmdUYWIpXHJcbiAgc2V0dGluZ01hbmFnZW1lbnRBY3Rpb24oeyBwYXRjaFN0YXRlIH06IFN0YXRlQ29udGV4dDxTZXR0aW5nTWFuYWdlbWVudC5TdGF0ZT4sIHsgcGF5bG9hZCB9OiBTZXRTZWxlY3RlZFNldHRpbmdUYWIpIHtcclxuICAgIHBhdGNoU3RhdGUoe1xyXG4gICAgICBzZWxlY3RlZFRhYjogcGF5bG9hZCxcclxuICAgIH0pO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/esm5/public-api.js b/npm/ng-packs/dist/setting-management/esm5/public-api.js deleted file mode 100644 index d90b2aecb84..00000000000 --- a/npm/ng-packs/dist/setting-management/esm5/public-api.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { SettingManagementModule } from './lib/setting-management.module'; -export { SettingManagementComponent } from './lib/components/setting-management.component'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcuc2V0dGluZy1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsicHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHdDQUFjLGlDQUFpQyxDQUFDO0FBQ2hELDJDQUFjLCtDQUErQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvc2V0dGluZy1tYW5hZ2VtZW50Lm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMvc2V0dGluZy1tYW5hZ2VtZW50LmNvbXBvbmVudCc7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/fesm2015/abp-ng.setting-management.js b/npm/ng-packs/dist/setting-management/fesm2015/abp-ng.setting-management.js deleted file mode 100644 index 36afc65cc7d..00000000000 --- a/npm/ng-packs/dist/setting-management/fesm2015/abp-ng.setting-management.js +++ /dev/null @@ -1,217 +0,0 @@ -import { ConfigState, DynamicLayoutComponent, CoreModule } from '@abp/ng.core'; -import { getSettingTabs, ThemeSharedModule } from '@abp/ng.theme.shared'; -import { Component, NgModule } from '@angular/core'; -import { Router, RouterModule } from '@angular/router'; -import { Action, Selector, State, Store, NgxsModule } from '@ngxs/store'; -import { __decorate, __metadata } from 'tslib'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/setting-management.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class SetSelectedSettingTab { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -SetSelectedSettingTab.type = '[SettingManagement] Set Selected Tab'; -if (false) { - /** @type {?} */ - SetSelectedSettingTab.type; - /** @type {?} */ - SetSelectedSettingTab.prototype.payload; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/setting-management.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -let SettingManagementState = class SettingManagementState { - /** - * @param {?} __0 - * @return {?} - */ - static getSelectedTab({ selectedTab }) { - return selectedTab; - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - settingManagementAction({ patchState }, { payload }) { - patchState({ - selectedTab: payload, - }); - } -}; -__decorate([ - Action(SetSelectedSettingTab), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, SetSelectedSettingTab]), - __metadata("design:returntype", void 0) -], SettingManagementState.prototype, "settingManagementAction", null); -__decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", void 0) -], SettingManagementState, "getSelectedTab", null); -SettingManagementState = __decorate([ - State({ - name: 'SettingManagementState', - defaults: (/** @type {?} */ ({ selectedTab: {} })), - }) -], SettingManagementState); - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/setting-management.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class SettingManagementComponent { - /** - * @param {?} router - * @param {?} store - */ - constructor(router, store) { - this.router = router; - this.store = store; - this.settings = []; - this.trackByFn = (/** - * @param {?} _ - * @param {?} item - * @return {?} - */ - (_, item) => item.name); - } - /** - * @param {?} value - * @return {?} - */ - set selected(value) { - this.store.dispatch(new SetSelectedSettingTab(value)); - } - /** - * @return {?} - */ - get selected() { - /** @type {?} */ - const value = this.store.selectSnapshot(SettingManagementState.getSelectedTab); - if ((!value || !value.component) && this.settings.length) { - return this.settings[0]; - } - return value; - } - /** - * @return {?} - */ - ngOnInit() { - this.settings = getSettingTabs() - .filter((/** - * @param {?} setting - * @return {?} - */ - setting => this.store.selectSnapshot(ConfigState.getGrantedPolicy(setting.requiredPolicy)))) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - (a, b) => a.order - b.order)); - if (!this.selected && this.settings.length) { - this.selected = this.settings[0]; - } - } -} -SettingManagementComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-setting-management', - template: "
\r\n
\r\n

{{ 'AbpSettingManagement::Settings' | abpLocalization }}

\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
    \r\n \r\n {{ setting.name | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n" - }] } -]; -/** @nocollapse */ -SettingManagementComponent.ctorParameters = () => [ - { type: Router }, - { type: Store } -]; -if (false) { - /** @type {?} */ - SettingManagementComponent.prototype.settings; - /** @type {?} */ - SettingManagementComponent.prototype.trackByFn; - /** - * @type {?} - * @private - */ - SettingManagementComponent.prototype.router; - /** - * @type {?} - * @private - */ - SettingManagementComponent.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/setting-management-routing.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -const ɵ0 = { requiredPolicy: 'AbpAccount.SettingManagement' }; -/** @type {?} */ -const routes = [ - { - path: '', - component: DynamicLayoutComponent, - children: [ - { path: '', component: SettingManagementComponent, data: ɵ0 }, - ], - }, -]; -class SettingManagementRoutingModule { -} -SettingManagementRoutingModule.decorators = [ - { type: NgModule, args: [{ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule], - },] } -]; - -/** - * @fileoverview added by tsickle - * Generated from: lib/setting-management.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class SettingManagementModule { -} -SettingManagementModule.decorators = [ - { type: NgModule, args: [{ - declarations: [SettingManagementComponent], - imports: [ - SettingManagementRoutingModule, - CoreModule, - ThemeSharedModule, - NgxsModule.forFeature([SettingManagementState]), - ], - },] } -]; - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.setting-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { SettingManagementComponent, SettingManagementModule, SettingManagementRoutingModule as ɵa, SettingManagementState as ɵb, SetSelectedSettingTab as ɵc }; -//# sourceMappingURL=abp-ng.setting-management.js.map diff --git a/npm/ng-packs/dist/setting-management/fesm2015/abp-ng.setting-management.js.map b/npm/ng-packs/dist/setting-management/fesm2015/abp-ng.setting-management.js.map deleted file mode 100644 index 636dab2ed3a..00000000000 --- a/npm/ng-packs/dist/setting-management/fesm2015/abp-ng.setting-management.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.setting-management.js","sources":["ng://@abp/ng.setting-management/lib/actions/setting-management.actions.ts","ng://@abp/ng.setting-management/lib/states/setting-management.state.ts","ng://@abp/ng.setting-management/lib/components/setting-management.component.ts","ng://@abp/ng.setting-management/lib/setting-management-routing.module.ts","ng://@abp/ng.setting-management/lib/setting-management.module.ts"],"sourcesContent":["import { SettingTab } from '@abp/ng.theme.shared';\r\n\r\nexport class SetSelectedSettingTab {\r\n static readonly type = '[SettingManagement] Set Selected Tab';\r\n constructor(public payload: SettingTab) {}\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { SetSelectedSettingTab } from '../actions/setting-management.actions';\r\nimport { SettingManagement } from '../models/setting-management';\r\n\r\n@State({\r\n name: 'SettingManagementState',\r\n defaults: { selectedTab: {} } as SettingManagement.State,\r\n})\r\nexport class SettingManagementState {\r\n @Selector()\r\n static getSelectedTab({ selectedTab }: SettingManagement.State) {\r\n return selectedTab;\r\n }\r\n\r\n @Action(SetSelectedSettingTab)\r\n settingManagementAction({ patchState }: StateContext, { payload }: SetSelectedSettingTab) {\r\n patchState({\r\n selectedTab: payload,\r\n });\r\n }\r\n}\r\n","import { Component, TrackByFunction, OnInit } from '@angular/core';\r\nimport { SettingTab, getSettingTabs } from '@abp/ng.theme.shared';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngxs/store';\r\nimport { ConfigState } from '@abp/ng.core';\r\nimport { SettingManagementState } from '../states/setting-management.state';\r\nimport { SetSelectedSettingTab } from '../actions/setting-management.actions';\r\nimport { RouterState } from '@ngxs/router-plugin';\r\n\r\n@Component({\r\n selector: 'abp-setting-management',\r\n templateUrl: './setting-management.component.html',\r\n})\r\nexport class SettingManagementComponent implements OnInit {\r\n settings: SettingTab[] = [];\r\n\r\n set selected(value: SettingTab) {\r\n this.store.dispatch(new SetSelectedSettingTab(value));\r\n }\r\n get selected(): SettingTab {\r\n const value = this.store.selectSnapshot(SettingManagementState.getSelectedTab);\r\n\r\n if ((!value || !value.component) && this.settings.length) {\r\n return this.settings[0];\r\n }\r\n\r\n return value;\r\n }\r\n\r\n trackByFn: TrackByFunction = (_, item) => item.name;\r\n\r\n constructor(private router: Router, private store: Store) {}\r\n\r\n ngOnInit() {\r\n this.settings = getSettingTabs()\r\n .filter(setting => this.store.selectSnapshot(ConfigState.getGrantedPolicy(setting.requiredPolicy)))\r\n .sort((a, b) => a.order - b.order);\r\n\r\n if (!this.selected && this.settings.length) {\r\n this.selected = this.settings[0];\r\n }\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { SettingManagementComponent } from './components/setting-management.component';\r\nimport { DynamicLayoutComponent } from '@abp/ng.core';\r\n\r\nconst routes: Routes = [\r\n {\r\n path: '',\r\n component: DynamicLayoutComponent,\r\n children: [\r\n { path: '', component: SettingManagementComponent, data: { requiredPolicy: 'AbpAccount.SettingManagement' } },\r\n ],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class SettingManagementRoutingModule {}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule } from '@angular/core';\r\nimport { SettingManagementRoutingModule } from './setting-management-routing.module';\r\nimport { SettingManagementComponent } from './components/setting-management.component';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { SettingManagementState } from './states/setting-management.state';\r\n\r\n@NgModule({\r\n declarations: [SettingManagementComponent],\r\n imports: [\r\n SettingManagementRoutingModule,\r\n CoreModule,\r\n ThemeSharedModule,\r\n NgxsModule.forFeature([SettingManagementState]),\r\n ],\r\n})\r\nexport class SettingManagementModule {}\r\n"],"names":["tslib_1.__decorate"],"mappings":";;;;;;;;;;;;AAEA,MAAa,qBAAqB;;;;IAEhC,YAAmB,OAAmB;QAAnB,YAAO,GAAP,OAAO,CAAY;KAAI;;AAD1B,0BAAI,GAAG,sCAAsC,CAAC;;;IAA9D,2BAA8D;;IAClD,wCAA0B;;;;;;;;ICI3B,sBAAsB,SAAtB,sBAAsB;;;;;IAEjC,OAAO,cAAc,CAAC,EAAE,WAAW,EAA2B;QAC5D,OAAO,WAAW,CAAC;KACpB;;;;;;IAGD,uBAAuB,CAAC,EAAE,UAAU,EAAyC,EAAE,EAAE,OAAO,EAAyB;QAC/G,UAAU,CAAC;YACT,WAAW,EAAE,OAAO;SACrB,CAAC,CAAC;KACJ;CACF,CAAA;AALCA;IADC,MAAM,CAAC,qBAAqB,CAAC;;6CAC8D,qBAAqB;;qEAIhH;AATDA;IADC,QAAQ,EAAE;;;;kDAGV;AAJU,sBAAsB;IAJlC,KAAK,CAA0B;QAC9B,IAAI,EAAE,wBAAwB;QAC9B,QAAQ,qBAAE,EAAE,WAAW,EAAE,EAAE,EAAE,EAA2B;KACzD,CAAC;GACW,sBAAsB,CAYlC;;;;;;;ACpBD,MAaa,0BAA0B;;;;;IAkBrC,YAAoB,MAAc,EAAU,KAAY;QAApC,WAAM,GAAN,MAAM,CAAQ;QAAU,UAAK,GAAL,KAAK,CAAO;QAjBxD,aAAQ,GAAiB,EAAE,CAAC;QAe5B,cAAS;;;;;QAAgC,CAAC,CAAC,EAAE,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,EAAE,sBAAsB;QACjC,QAAQ,EAAE;YACR,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,0BAA0B,EAAE,IAAI,IAAoD,EAAE;SAC9G;KACF;CACF;AAMD,MAAa,8BAA8B;;;YAJ1C,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;gBACxC,OAAO,EAAE,CAAC,YAAY,CAAC;aACxB;;;;;;;;AClBD,MAiBa,uBAAuB;;;YATnC,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,0BAA0B,CAAC;gBAC1C,OAAO,EAAE;oBACP,8BAA8B;oBAC9B,UAAU;oBACV,iBAAiB;oBACjB,UAAU,CAAC,UAAU,CAAC,CAAC,sBAAsB,CAAC,CAAC;iBAChD;aACF;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/fesm5/abp-ng.setting-management.js b/npm/ng-packs/dist/setting-management/fesm5/abp-ng.setting-management.js deleted file mode 100644 index 8fc4cc54fbb..00000000000 --- a/npm/ng-packs/dist/setting-management/fesm5/abp-ng.setting-management.js +++ /dev/null @@ -1,241 +0,0 @@ -import { ConfigState, DynamicLayoutComponent, CoreModule } from '@abp/ng.core'; -import { getSettingTabs, ThemeSharedModule } from '@abp/ng.theme.shared'; -import { Component, NgModule } from '@angular/core'; -import { Router, RouterModule } from '@angular/router'; -import { Action, Selector, State, Store, NgxsModule } from '@ngxs/store'; -import { __decorate, __metadata } from 'tslib'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/setting-management.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var SetSelectedSettingTab = /** @class */ (function () { - function SetSelectedSettingTab(payload) { - this.payload = payload; - } - SetSelectedSettingTab.type = '[SettingManagement] Set Selected Tab'; - return SetSelectedSettingTab; -}()); -if (false) { - /** @type {?} */ - SetSelectedSettingTab.type; - /** @type {?} */ - SetSelectedSettingTab.prototype.payload; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/setting-management.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var SettingManagementState = /** @class */ (function () { - function SettingManagementState() { - } - /** - * @param {?} __0 - * @return {?} - */ - SettingManagementState.getSelectedTab = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var selectedTab = _a.selectedTab; - return selectedTab; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - SettingManagementState.prototype.settingManagementAction = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - patchState({ - selectedTab: payload, - }); - }; - __decorate([ - Action(SetSelectedSettingTab), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, SetSelectedSettingTab]), - __metadata("design:returntype", void 0) - ], SettingManagementState.prototype, "settingManagementAction", null); - __decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", void 0) - ], SettingManagementState, "getSelectedTab", null); - SettingManagementState = __decorate([ - State({ - name: 'SettingManagementState', - defaults: (/** @type {?} */ ({ selectedTab: {} })), - }) - ], SettingManagementState); - return SettingManagementState; -}()); - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/setting-management.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var SettingManagementComponent = /** @class */ (function () { - function SettingManagementComponent(router, store) { - this.router = router; - this.store = store; - this.settings = []; - this.trackByFn = (/** - * @param {?} _ - * @param {?} item - * @return {?} - */ - function (_, item) { return item.name; }); - } - Object.defineProperty(SettingManagementComponent.prototype, "selected", { - get: /** - * @return {?} - */ - function () { - /** @type {?} */ - var value = this.store.selectSnapshot(SettingManagementState.getSelectedTab); - if ((!value || !value.component) && this.settings.length) { - return this.settings[0]; - } - return value; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - this.store.dispatch(new SetSelectedSettingTab(value)); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - SettingManagementComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - var _this = this; - this.settings = getSettingTabs() - .filter((/** - * @param {?} setting - * @return {?} - */ - function (setting) { return _this.store.selectSnapshot(ConfigState.getGrantedPolicy(setting.requiredPolicy)); })) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - function (a, b) { return a.order - b.order; })); - if (!this.selected && this.settings.length) { - this.selected = this.settings[0]; - } - }; - SettingManagementComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-setting-management', - template: "
\r\n
\r\n

{{ 'AbpSettingManagement::Settings' | abpLocalization }}

\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
    \r\n \r\n {{ setting.name | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n" - }] } - ]; - /** @nocollapse */ - SettingManagementComponent.ctorParameters = function () { return [ - { type: Router }, - { type: Store } - ]; }; - return SettingManagementComponent; -}()); -if (false) { - /** @type {?} */ - SettingManagementComponent.prototype.settings; - /** @type {?} */ - SettingManagementComponent.prototype.trackByFn; - /** - * @type {?} - * @private - */ - SettingManagementComponent.prototype.router; - /** - * @type {?} - * @private - */ - SettingManagementComponent.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/setting-management-routing.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ɵ0 = { requiredPolicy: 'AbpAccount.SettingManagement' }; -/** @type {?} */ -var routes = [ - { - path: '', - component: DynamicLayoutComponent, - children: [ - { path: '', component: SettingManagementComponent, data: ɵ0 }, - ], - }, -]; -var SettingManagementRoutingModule = /** @class */ (function () { - function SettingManagementRoutingModule() { - } - SettingManagementRoutingModule.decorators = [ - { type: NgModule, args: [{ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule], - },] } - ]; - return SettingManagementRoutingModule; -}()); - -/** - * @fileoverview added by tsickle - * Generated from: lib/setting-management.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var SettingManagementModule = /** @class */ (function () { - function SettingManagementModule() { - } - SettingManagementModule.decorators = [ - { type: NgModule, args: [{ - declarations: [SettingManagementComponent], - imports: [ - SettingManagementRoutingModule, - CoreModule, - ThemeSharedModule, - NgxsModule.forFeature([SettingManagementState]), - ], - },] } - ]; - return SettingManagementModule; -}()); - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.setting-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { SettingManagementComponent, SettingManagementModule, SettingManagementRoutingModule as ɵa, SettingManagementState as ɵb, SetSelectedSettingTab as ɵc }; -//# sourceMappingURL=abp-ng.setting-management.js.map diff --git a/npm/ng-packs/dist/setting-management/fesm5/abp-ng.setting-management.js.map b/npm/ng-packs/dist/setting-management/fesm5/abp-ng.setting-management.js.map deleted file mode 100644 index f0713f61fd9..00000000000 --- a/npm/ng-packs/dist/setting-management/fesm5/abp-ng.setting-management.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.setting-management.js","sources":["ng://@abp/ng.setting-management/lib/actions/setting-management.actions.ts","ng://@abp/ng.setting-management/lib/states/setting-management.state.ts","ng://@abp/ng.setting-management/lib/components/setting-management.component.ts","ng://@abp/ng.setting-management/lib/setting-management-routing.module.ts","ng://@abp/ng.setting-management/lib/setting-management.module.ts"],"sourcesContent":["import { SettingTab } from '@abp/ng.theme.shared';\r\n\r\nexport class SetSelectedSettingTab {\r\n static readonly type = '[SettingManagement] Set Selected Tab';\r\n constructor(public payload: SettingTab) {}\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { SetSelectedSettingTab } from '../actions/setting-management.actions';\r\nimport { SettingManagement } from '../models/setting-management';\r\n\r\n@State({\r\n name: 'SettingManagementState',\r\n defaults: { selectedTab: {} } as SettingManagement.State,\r\n})\r\nexport class SettingManagementState {\r\n @Selector()\r\n static getSelectedTab({ selectedTab }: SettingManagement.State) {\r\n return selectedTab;\r\n }\r\n\r\n @Action(SetSelectedSettingTab)\r\n settingManagementAction({ patchState }: StateContext, { payload }: SetSelectedSettingTab) {\r\n patchState({\r\n selectedTab: payload,\r\n });\r\n }\r\n}\r\n","import { Component, TrackByFunction, OnInit } from '@angular/core';\r\nimport { SettingTab, getSettingTabs } from '@abp/ng.theme.shared';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngxs/store';\r\nimport { ConfigState } from '@abp/ng.core';\r\nimport { SettingManagementState } from '../states/setting-management.state';\r\nimport { SetSelectedSettingTab } from '../actions/setting-management.actions';\r\nimport { RouterState } from '@ngxs/router-plugin';\r\n\r\n@Component({\r\n selector: 'abp-setting-management',\r\n templateUrl: './setting-management.component.html',\r\n})\r\nexport class SettingManagementComponent implements OnInit {\r\n settings: SettingTab[] = [];\r\n\r\n set selected(value: SettingTab) {\r\n this.store.dispatch(new SetSelectedSettingTab(value));\r\n }\r\n get selected(): SettingTab {\r\n const value = this.store.selectSnapshot(SettingManagementState.getSelectedTab);\r\n\r\n if ((!value || !value.component) && this.settings.length) {\r\n return this.settings[0];\r\n }\r\n\r\n return value;\r\n }\r\n\r\n trackByFn: TrackByFunction = (_, item) => item.name;\r\n\r\n constructor(private router: Router, private store: Store) {}\r\n\r\n ngOnInit() {\r\n this.settings = getSettingTabs()\r\n .filter(setting => this.store.selectSnapshot(ConfigState.getGrantedPolicy(setting.requiredPolicy)))\r\n .sort((a, b) => a.order - b.order);\r\n\r\n if (!this.selected && this.settings.length) {\r\n this.selected = this.settings[0];\r\n }\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { SettingManagementComponent } from './components/setting-management.component';\r\nimport { DynamicLayoutComponent } from '@abp/ng.core';\r\n\r\nconst routes: Routes = [\r\n {\r\n path: '',\r\n component: DynamicLayoutComponent,\r\n children: [\r\n { path: '', component: SettingManagementComponent, data: { requiredPolicy: 'AbpAccount.SettingManagement' } },\r\n ],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class SettingManagementRoutingModule {}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule } from '@angular/core';\r\nimport { SettingManagementRoutingModule } from './setting-management-routing.module';\r\nimport { SettingManagementComponent } from './components/setting-management.component';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { SettingManagementState } from './states/setting-management.state';\r\n\r\n@NgModule({\r\n declarations: [SettingManagementComponent],\r\n imports: [\r\n SettingManagementRoutingModule,\r\n CoreModule,\r\n ThemeSharedModule,\r\n NgxsModule.forFeature([SettingManagementState]),\r\n ],\r\n})\r\nexport class SettingManagementModule {}\r\n"],"names":["tslib_1.__decorate"],"mappings":";;;;;;;;;;;;AAEA;IAEE,+BAAmB,OAAmB;QAAnB,YAAO,GAAP,OAAO,CAAY;KAAI;IAD1B,0BAAI,GAAG,sCAAsC,CAAC;IAEhE,4BAAC;CAHD,IAGC;;;IAFC,2BAA8D;;IAClD,wCAA0B;;;;;;;;;;KCgBvC;;;;;IAVQ,qCAAc;;;;IAArB,UAAsB,EAAwC;YAAtC,4BAAW;QACjC,OAAO,WAAW,CAAC;KACpB;;;;;;IAGD,wDAAuB;;;;;IAAvB,UAAwB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vC;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/setting-management/lib/actions/setting-management.actions.d.ts b/npm/ng-packs/dist/setting-management/lib/actions/setting-management.actions.d.ts deleted file mode 100644 index 2a99b1e78ad..00000000000 --- a/npm/ng-packs/dist/setting-management/lib/actions/setting-management.actions.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { SettingTab } from '@abp/ng.theme.shared'; -export declare class SetSelectedSettingTab { - payload: SettingTab; - static readonly type = "[SettingManagement] Set Selected Tab"; - constructor(payload: SettingTab); -} diff --git a/npm/ng-packs/dist/setting-management/lib/components/setting-management.component.d.ts b/npm/ng-packs/dist/setting-management/lib/components/setting-management.component.d.ts deleted file mode 100644 index b0ac89fcbd5..00000000000 --- a/npm/ng-packs/dist/setting-management/lib/components/setting-management.component.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { TrackByFunction, OnInit } from '@angular/core'; -import { SettingTab } from '@abp/ng.theme.shared'; -import { Router } from '@angular/router'; -import { Store } from '@ngxs/store'; -export declare class SettingManagementComponent implements OnInit { - private router; - private store; - settings: SettingTab[]; - selected: SettingTab; - trackByFn: TrackByFunction; - constructor(router: Router, store: Store); - ngOnInit(): void; -} diff --git a/npm/ng-packs/dist/setting-management/lib/models/setting-management.d.ts b/npm/ng-packs/dist/setting-management/lib/models/setting-management.d.ts deleted file mode 100644 index f87f8646f0b..00000000000 --- a/npm/ng-packs/dist/setting-management/lib/models/setting-management.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { SettingTab } from '@abp/ng.theme.shared'; -export declare namespace SettingManagement { - interface State { - selectedTab: SettingTab; - } -} diff --git a/npm/ng-packs/dist/setting-management/lib/setting-management-routing.module.d.ts b/npm/ng-packs/dist/setting-management/lib/setting-management-routing.module.d.ts deleted file mode 100644 index bd40fcbd7c0..00000000000 --- a/npm/ng-packs/dist/setting-management/lib/setting-management-routing.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class SettingManagementRoutingModule { -} diff --git a/npm/ng-packs/dist/setting-management/lib/setting-management.module.d.ts b/npm/ng-packs/dist/setting-management/lib/setting-management.module.d.ts deleted file mode 100644 index 2cd13bf3e07..00000000000 --- a/npm/ng-packs/dist/setting-management/lib/setting-management.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class SettingManagementModule { -} diff --git a/npm/ng-packs/dist/setting-management/lib/states/setting-management.state.d.ts b/npm/ng-packs/dist/setting-management/lib/states/setting-management.state.d.ts deleted file mode 100644 index 47be9be1fba..00000000000 --- a/npm/ng-packs/dist/setting-management/lib/states/setting-management.state.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { StateContext } from '@ngxs/store'; -import { SetSelectedSettingTab } from '../actions/setting-management.actions'; -import { SettingManagement } from '../models/setting-management'; -export declare class SettingManagementState { - static getSelectedTab({ selectedTab }: SettingManagement.State): import("@abp/ng.theme.shared").SettingTab; - settingManagementAction({ patchState }: StateContext, { payload }: SetSelectedSettingTab): void; -} diff --git a/npm/ng-packs/dist/setting-management/package.json b/npm/ng-packs/dist/setting-management/package.json deleted file mode 100644 index 81670f01e3d..00000000000 --- a/npm/ng-packs/dist/setting-management/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "@abp/ng.setting-management", - "version": "1.1.0", - "dependencies": { - "@abp/ng.setting-management.config": "^1.1.0", - "@abp/ng.theme.shared": "^1.1.0", - "tslib": "^1.9.0" - }, - "publishConfig": { - "access": "public" - }, - "main": "bundles/abp-ng.setting-management.umd.js", - "module": "fesm5/abp-ng.setting-management.js", - "es2015": "fesm2015/abp-ng.setting-management.js", - "esm5": "esm5/abp-ng.setting-management.js", - "esm2015": "esm2015/abp-ng.setting-management.js", - "fesm5": "fesm5/abp-ng.setting-management.js", - "fesm2015": "fesm2015/abp-ng.setting-management.js", - "typings": "abp-ng.setting-management.d.ts", - "metadata": "abp-ng.setting-management.metadata.json", - "sideEffects": false, - "gitHead": "42d9eb857fca97c046ebac4286b6831c8b8c1887" -} diff --git a/npm/ng-packs/dist/setting-management/public-api.d.ts b/npm/ng-packs/dist/setting-management/public-api.d.ts deleted file mode 100644 index 8027d769f99..00000000000 --- a/npm/ng-packs/dist/setting-management/public-api.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './lib/setting-management.module'; -export * from './lib/components/setting-management.component'; diff --git a/npm/ng-packs/dist/tenant-management-config/README.md b/npm/ng-packs/dist/tenant-management-config/README.md deleted file mode 100644 index e2d3c3638b1..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# @abp/ng.tenant-management.config - -[docs.abp.io](https://docs.abp.io) diff --git a/npm/ng-packs/dist/tenant-management-config/abp-ng.tenant-management.config.d.ts b/npm/ng-packs/dist/tenant-management-config/abp-ng.tenant-management.config.d.ts deleted file mode 100644 index e5daacf63e5..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/abp-ng.tenant-management.config.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * Generated bundle index. Do not edit. - */ -export * from './public-api'; diff --git a/npm/ng-packs/dist/tenant-management-config/abp-ng.tenant-management.config.metadata.json b/npm/ng-packs/dist/tenant-management-config/abp-ng.tenant-management.config.metadata.json deleted file mode 100644 index a36dc9cabd5..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/abp-ng.tenant-management.config.metadata.json +++ /dev/null @@ -1 +0,0 @@ -{"__symbolic":"module","version":4,"metadata":{"TenantManagementConfigService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}]},"statics":{"ngInjectableDef":{}}},"TenantManagementConfigModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"providers":[{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_INITIALIZER","line":5,"character":25},"deps":[{"__symbolic":"reference","name":"TenantManagementConfigService"}],"useFactory":{"__symbolic":"reference","module":"@abp/ng.core","name":"noop","line":5,"character":93},"multi":true}]}]}],"members":{}}},"origins":{"TenantManagementConfigService":"./lib/services/tenant-management-config.service","TenantManagementConfigModule":"./lib/tenant-management-config.module"},"importAs":"@abp/ng.tenant-management.config"} \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management-config/bundles/abp-ng.tenant-management.config.umd.js b/npm/ng-packs/dist/tenant-management-config/bundles/abp-ng.tenant-management.config.umd.js deleted file mode 100644 index 90f55aa8ad7..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/bundles/abp-ng.tenant-management.config.umd.js +++ /dev/null @@ -1,64 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@abp/ng.core')) : - typeof define === 'function' && define.amd ? define('@abp/ng.tenant-management.config', ['exports', '@angular/core', '@abp/ng.core'], factory) : - (global = global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng['tenant-management'] = global.abp.ng['tenant-management'] || {}, global.abp.ng['tenant-management'].config = {}), global.ng.core, global.ng_core)); -}(this, (function (exports, core, ng_core) { 'use strict'; - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/tenant-management-config.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var TenantManagementConfigService = /** @class */ (function () { - function TenantManagementConfigService() { - ng_core.addAbpRoutes({ - name: 'AbpTenantManagement::Menu:TenantManagement', - path: 'tenant-management', - parentName: 'AbpUiNavigation::Menu:Administration', - layout: "application" /* application */, - iconClass: 'fa fa-users', - children: [ - { - path: 'tenants', - name: 'AbpTenantManagement::Tenants', - order: 1, - requiredPolicy: 'AbpTenantManagement.Tenants', - }, - ], - }); - } - TenantManagementConfigService.decorators = [ - { type: core.Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - TenantManagementConfigService.ctorParameters = function () { return []; }; - /** @nocollapse */ TenantManagementConfigService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function TenantManagementConfigService_Factory() { return new TenantManagementConfigService(); }, token: TenantManagementConfigService, providedIn: "root" }); - return TenantManagementConfigService; - }()); - - /** - * @fileoverview added by tsickle - * Generated from: lib/tenant-management-config.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ɵ0 = ng_core.noop; - var TenantManagementConfigModule = /** @class */ (function () { - function TenantManagementConfigModule() { - } - TenantManagementConfigModule.decorators = [ - { type: core.NgModule, args: [{ - providers: [{ provide: core.APP_INITIALIZER, deps: [TenantManagementConfigService], useFactory: ɵ0, multi: true }], - },] } - ]; - return TenantManagementConfigModule; - }()); - - exports.TenantManagementConfigModule = TenantManagementConfigModule; - exports.TenantManagementConfigService = TenantManagementConfigService; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); -//# sourceMappingURL=abp-ng.tenant-management.config.umd.js.map diff --git a/npm/ng-packs/dist/tenant-management-config/bundles/abp-ng.tenant-management.config.umd.js.map b/npm/ng-packs/dist/tenant-management-config/bundles/abp-ng.tenant-management.config.umd.js.map deleted file mode 100644 index 99a79238f1e..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/bundles/abp-ng.tenant-management.config.umd.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.tenant-management.config.umd.js","sources":["ng://@abp/ng.tenant-management.config/lib/services/tenant-management-config.service.ts","ng://@abp/ng.tenant-management.config/lib/tenant-management-config.module.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\nimport { addAbpRoutes, eLayoutType } from '@abp/ng.core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class TenantManagementConfigService {\r\n constructor() {\r\n addAbpRoutes({\r\n name: 'AbpTenantManagement::Menu:TenantManagement',\r\n path: 'tenant-management',\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-users',\r\n children: [\r\n {\r\n path: 'tenants',\r\n name: 'AbpTenantManagement::Tenants',\r\n order: 1,\r\n requiredPolicy: 'AbpTenantManagement.Tenants',\r\n },\r\n ],\r\n });\r\n }\r\n}\r\n","import { NgModule, APP_INITIALIZER } from '@angular/core';\r\nimport { TenantManagementConfigService } from './services/tenant-management-config.service';\r\nimport { noop } from '@abp/ng.core';\r\n\r\n@NgModule({\r\n providers: [{ provide: APP_INITIALIZER, deps: [TenantManagementConfigService], useFactory: noop, multi: true }],\r\n})\r\nexport class TenantManagementConfigModule {}\r\n"],"names":["addAbpRoutes","Injectable","noop","NgModule","APP_INITIALIZER"],"mappings":";;;;;;;;;;;AAAA;QAOE;YACEA,oBAAY,CAAC;gBACX,IAAI,EAAE,4CAA4C;gBAClD,IAAI,EAAE,mBAAmB;gBACzB,UAAU,EAAE,sCAAsC;gBAClD,MAAM;gBACN,SAAS,EAAE,aAAa;gBACxB,QAAQ,EAAE;oBACR;wBACE,IAAI,EAAE,SAAS;wBACf,IAAI,EAAE,8BAA8B;wBACpC,KAAK,EAAE,CAAC;wBACR,cAAc,EAAE,6BAA6B;qBAC9C;iBACF;aACF,CAAC,CAAC;SACJ;;oBApBFC,eAAU,SAAC;wBACV,UAAU,EAAE,MAAM;qBACnB;;;;;4CALD;KAGA;;;;;;;ICHA,SAK6FC,YAAI;AADjG;QAAA;SAG4C;;oBAH3CC,aAAQ,SAAC;wBACR,SAAS,EAAE,CAAC,EAAE,OAAO,EAAEC,oBAAe,EAAE,IAAI,EAAE,CAAC,6BAA6B,CAAC,EAAE,UAAU,IAAM,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;qBAChH;;QAC0C,mCAAC;KAH5C;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management-config/bundles/abp-ng.tenant-management.config.umd.min.js b/npm/ng-packs/dist/tenant-management-config/bundles/abp-ng.tenant-management.config.umd.min.js deleted file mode 100644 index 857503d8fde..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/bundles/abp-ng.tenant-management.config.umd.min.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@abp/ng.core")):"function"==typeof define&&define.amd?define("@abp/ng.tenant-management.config",["exports","@angular/core","@abp/ng.core"],e):e(((n=n||self).abp=n.abp||{},n.abp.ng=n.abp.ng||{},n.abp.ng["tenant-management"]=n.abp.ng["tenant-management"]||{},n.abp.ng["tenant-management"].config={}),n.ng.core,n.ng_core)}(this,(function(n,e,a){"use strict";var t=function(){function n(){a.addAbpRoutes({name:"AbpTenantManagement::Menu:TenantManagement",path:"tenant-management",parentName:"AbpUiNavigation::Menu:Administration",layout:"application",iconClass:"fa fa-users",children:[{path:"tenants",name:"AbpTenantManagement::Tenants",order:1,requiredPolicy:"AbpTenantManagement.Tenants"}]})}return n.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[]},n.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new n},token:n,providedIn:"root"}),n}(),o=a.noop,r=function(){function n(){}return n.decorators=[{type:e.NgModule,args:[{providers:[{provide:e.APP_INITIALIZER,deps:[t],useFactory:o,multi:!0}]}]}],n}();n.TenantManagementConfigModule=r,n.TenantManagementConfigService=t,Object.defineProperty(n,"__esModule",{value:!0})})); -//# sourceMappingURL=abp-ng.tenant-management.config.umd.min.js.map \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management-config/bundles/abp-ng.tenant-management.config.umd.min.js.map b/npm/ng-packs/dist/tenant-management-config/bundles/abp-ng.tenant-management.config.umd.min.js.map deleted file mode 100644 index fbddb34b10f..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/bundles/abp-ng.tenant-management.config.umd.min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["ng://@abp/ng.tenant-management.config/lib/services/tenant-management-config.service.ts","ng://@abp/ng.tenant-management.config/lib/tenant-management-config.module.ts"],"names":["TenantManagementConfigService","addAbpRoutes","name","path","parentName","layout","iconClass","children","order","requiredPolicy","Injectable","args","providedIn","ɵ0","noop","TenantManagementConfigModule","NgModule","providers","provide","APP_INITIALIZER","deps","useFactory","multi"],"mappings":"mdAAA,IAAAA,EAAA,WAOE,SAAAA,IACEC,EAAAA,aAAa,CACXC,KAAM,6CACNC,KAAM,oBACNC,WAAY,uCACZC,OAAM,cACNC,UAAW,cACXC,SAAU,CACR,CACEJ,KAAM,UACND,KAAM,+BACNM,MAAO,EACPC,eAAgB,6DAhBzBC,EAAAA,WAAUC,KAAA,CAAC,CACVC,WAAY,wJAJd,GCAAC,EAK6FC,EAAAA,KAD7FC,EAAA,WAAA,SAAAA,KAG2C,2BAH1CC,EAAAA,SAAQL,KAAA,CAAC,CACRM,UAAW,CAAC,CAAEC,QAASC,EAAAA,gBAAiBC,KAAM,CAACpB,GAAgCqB,WAAUR,EAAQS,OAAO,QAE/DP,EAH3C","sourcesContent":["import { Injectable } from '@angular/core';\r\nimport { addAbpRoutes, eLayoutType } from '@abp/ng.core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class TenantManagementConfigService {\r\n constructor() {\r\n addAbpRoutes({\r\n name: 'AbpTenantManagement::Menu:TenantManagement',\r\n path: 'tenant-management',\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-users',\r\n children: [\r\n {\r\n path: 'tenants',\r\n name: 'AbpTenantManagement::Tenants',\r\n order: 1,\r\n requiredPolicy: 'AbpTenantManagement.Tenants',\r\n },\r\n ],\r\n });\r\n }\r\n}\r\n","import { NgModule, APP_INITIALIZER } from '@angular/core';\r\nimport { TenantManagementConfigService } from './services/tenant-management-config.service';\r\nimport { noop } from '@abp/ng.core';\r\n\r\n@NgModule({\r\n providers: [{ provide: APP_INITIALIZER, deps: [TenantManagementConfigService], useFactory: noop, multi: true }],\r\n})\r\nexport class TenantManagementConfigModule {}\r\n"]} \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management-config/esm2015/abp-ng.tenant-management.config.js b/npm/ng-packs/dist/tenant-management-config/esm2015/abp-ng.tenant-management.config.js deleted file mode 100644 index 3cc8d539226..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/esm2015/abp-ng.tenant-management.config.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.tenant-management.config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { TenantManagementConfigService, TenantManagementConfigModule } from './public-api'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLnRlbmFudC1tYW5hZ2VtZW50LmNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGVuYW50LW1hbmFnZW1lbnQuY29uZmlnLyIsInNvdXJjZXMiOlsiYWJwLW5nLnRlbmFudC1tYW5hZ2VtZW50LmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLDRFQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management-config/esm2015/lib/services/tenant-management-config.service.js b/npm/ng-packs/dist/tenant-management-config/esm2015/lib/services/tenant-management-config.service.js deleted file mode 100644 index 599a217a14b..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/esm2015/lib/services/tenant-management-config.service.js +++ /dev/null @@ -1,36 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/tenant-management-config.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { addAbpRoutes } from '@abp/ng.core'; -import * as i0 from "@angular/core"; -export class TenantManagementConfigService { - constructor() { - addAbpRoutes({ - name: 'AbpTenantManagement::Menu:TenantManagement', - path: 'tenant-management', - parentName: 'AbpUiNavigation::Menu:Administration', - layout: "application" /* application */, - iconClass: 'fa fa-users', - children: [ - { - path: 'tenants', - name: 'AbpTenantManagement::Tenants', - order: 1, - requiredPolicy: 'AbpTenantManagement.Tenants', - }, - ], - }); - } -} -TenantManagementConfigService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -TenantManagementConfigService.ctorParameters = () => []; -/** @nocollapse */ TenantManagementConfigService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function TenantManagementConfigService_Factory() { return new TenantManagementConfigService(); }, token: TenantManagementConfigService, providedIn: "root" }); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50LW1hbmFnZW1lbnQtY29uZmlnLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LmNvbmZpZy8iLCJzb3VyY2VzIjpbImxpYi9zZXJ2aWNlcy90ZW5hbnQtbWFuYWdlbWVudC1jb25maWcuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLFlBQVksRUFBZSxNQUFNLGNBQWMsQ0FBQzs7QUFLekQsTUFBTSxPQUFPLDZCQUE2QjtJQUN4QztRQUNFLFlBQVksQ0FBQztZQUNYLElBQUksRUFBRSw0Q0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VuOiBbXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgcGF0aDogJ3RlbmFudHMnLFxyXG4gICAgICAgICAgbmFtZTogJ0FicFRlbmFudE1hbmFnZW1lbnQ6OlRlbmFudHMnLFxyXG4gICAgICAgICAgb3JkZXI6IDEsXHJcbiAgICAgICAgICByZXF1aXJlZFBvbGljeTogJ0FicFRlbmFudE1hbmFnZW1lbnQuVGVuYW50cycsXHJcbiAgICAgICAgfSxcclxuICAgICAgXSxcclxuICAgIH0pO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management-config/esm2015/lib/tenant-management-config.module.js b/npm/ng-packs/dist/tenant-management-config/esm2015/lib/tenant-management-config.module.js deleted file mode 100644 index f0933d14de3..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/esm2015/lib/tenant-management-config.module.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/tenant-management-config.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { NgModule, APP_INITIALIZER } from '@angular/core'; -import { TenantManagementConfigService } from './services/tenant-management-config.service'; -import { noop } from '@abp/ng.core'; -const ɵ0 = noop; -export class TenantManagementConfigModule { -} -TenantManagementConfigModule.decorators = [ - { type: NgModule, args: [{ - providers: [{ provide: APP_INITIALIZER, deps: [TenantManagementConfigService], useFactory: ɵ0, multi: true }], - },] } -]; -export { ɵ0 }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50LW1hbmFnZW1lbnQtY29uZmlnLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGVuYW50LW1hbmFnZW1lbnQuY29uZmlnLyIsInNvdXJjZXMiOlsibGliL3RlbmFudC1tYW5hZ2VtZW50LWNvbmZpZy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLGVBQWUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxRCxPQUFPLEVBQUUsNkJBQTZCLEVBQUUsTUFBTSw2Q0FBNkMsQ0FBQztBQUM1RixPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sY0FBYyxDQUFDO1dBR3lELElBQUk7QUFFakcsTUFBTSxPQUFPLDRCQUE0Qjs7O1lBSHhDLFFBQVEsU0FBQztnQkFDUixTQUFTLEVBQUUsQ0FBQyxFQUFFLE9BQU8sRUFBRSxlQUFlLEVBQUUsSUFBSSxFQUFFLENBQUMsNkJBQTZCLENBQUMsRUFBRSxVQUFVLElBQU0sRUFBRSxLQUFLLEVBQUUsSUFBSSxFQUFFLENBQUM7YUFDaEgiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSwgQVBQX0lOSVRJQUxJWkVSIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IFRlbmFudE1hbmFnZW1lbnRDb25maWdTZXJ2aWNlIH0gZnJvbSAnLi9zZXJ2aWNlcy90ZW5hbnQtbWFuYWdlbWVudC1jb25maWcuc2VydmljZSc7XHJcbmltcG9ydCB7IG5vb3AgfSBmcm9tICdAYWJwL25nLmNvcmUnO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBwcm92aWRlcnM6IFt7IHByb3ZpZGU6IEFQUF9JTklUSUFMSVpFUiwgZGVwczogW1RlbmFudE1hbmFnZW1lbnRDb25maWdTZXJ2aWNlXSwgdXNlRmFjdG9yeTogbm9vcCwgbXVsdGk6IHRydWUgfV0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBUZW5hbnRNYW5hZ2VtZW50Q29uZmlnTW9kdWxlIHt9XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management-config/esm2015/public-api.js b/npm/ng-packs/dist/tenant-management-config/esm2015/public-api.js deleted file mode 100644 index b46b44b13da..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/esm2015/public-api.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { TenantManagementConfigService } from './lib/services/tenant-management-config.service'; -export { TenantManagementConfigModule } from './lib/tenant-management-config.module'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGVuYW50LW1hbmFnZW1lbnQuY29uZmlnLyIsInNvdXJjZXMiOlsicHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLDhDQUFjLGlEQUFpRCxDQUFDO0FBQ2hFLDZDQUFjLHVDQUF1QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvc2VydmljZXMvdGVuYW50LW1hbmFnZW1lbnQtY29uZmlnLnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi90ZW5hbnQtbWFuYWdlbWVudC1jb25maWcubW9kdWxlJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management-config/esm5/abp-ng.tenant-management.config.js b/npm/ng-packs/dist/tenant-management-config/esm5/abp-ng.tenant-management.config.js deleted file mode 100644 index 3cc8d539226..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/esm5/abp-ng.tenant-management.config.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.tenant-management.config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { TenantManagementConfigService, TenantManagementConfigModule } from './public-api'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLnRlbmFudC1tYW5hZ2VtZW50LmNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGVuYW50LW1hbmFnZW1lbnQuY29uZmlnLyIsInNvdXJjZXMiOlsiYWJwLW5nLnRlbmFudC1tYW5hZ2VtZW50LmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLDRFQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management-config/esm5/lib/services/tenant-management-config.service.js b/npm/ng-packs/dist/tenant-management-config/esm5/lib/services/tenant-management-config.service.js deleted file mode 100644 index ff839cf7eec..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/esm5/lib/services/tenant-management-config.service.js +++ /dev/null @@ -1,38 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/tenant-management-config.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { addAbpRoutes } from '@abp/ng.core'; -import * as i0 from "@angular/core"; -var TenantManagementConfigService = /** @class */ (function () { - function TenantManagementConfigService() { - addAbpRoutes({ - name: 'AbpTenantManagement::Menu:TenantManagement', - path: 'tenant-management', - parentName: 'AbpUiNavigation::Menu:Administration', - layout: "application" /* application */, - iconClass: 'fa fa-users', - children: [ - { - path: 'tenants', - name: 'AbpTenantManagement::Tenants', - order: 1, - requiredPolicy: 'AbpTenantManagement.Tenants', - }, - ], - }); - } - TenantManagementConfigService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - TenantManagementConfigService.ctorParameters = function () { return []; }; - /** @nocollapse */ TenantManagementConfigService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function TenantManagementConfigService_Factory() { return new TenantManagementConfigService(); }, token: TenantManagementConfigService, providedIn: "root" }); - return TenantManagementConfigService; -}()); -export { TenantManagementConfigService }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50LW1hbmFnZW1lbnQtY29uZmlnLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LmNvbmZpZy8iLCJzb3VyY2VzIjpbImxpYi9zZXJ2aWNlcy90ZW5hbnQtbWFuYWdlbWVudC1jb25maWcuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLFlBQVksRUFBZSxNQUFNLGNBQWMsQ0FBQzs7QUFFekQ7SUFJRTtRQUNFLFlBQVksQ0FBQztZQUNYLElBQUksRUFBRSw0Q0FBNEM7WUFDbEQsSUFBSSxFQUFFLG1CQUFtQjtZQUN6QixVQUFVLEVBQUUsc0NBQXNDO1lBQ2xELE1BQU0saUNBQXlCO1lBQy9CLFNBQVMsRUFBRSxhQUFhO1lBQ3hCLFFBQVEsRUFBRTtnQkFDUjtvQkFDRSxJQUFJLEVBQUUsU0FBUztvQkFDZixJQUFJLEVBQUUsOEJBQThCO29CQUNwQyxLQUFLLEVBQUUsQ0FBQztvQkFDUixjQUFjLEVBQUUsNkJBQTZCO2lCQUM5QzthQUNGO1NBQ0YsQ0FBQyxDQUFDO0lBQ0wsQ0FBQzs7Z0JBcEJGLFVBQVUsU0FBQztvQkFDVixVQUFVLEVBQUUsTUF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-packs/dist/tenant-management-config/esm5/lib/tenant-management-config.module.js b/npm/ng-packs/dist/tenant-management-config/esm5/lib/tenant-management-config.module.js deleted file mode 100644 index 08e14299627..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/esm5/lib/tenant-management-config.module.js +++ /dev/null @@ -1,22 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/tenant-management-config.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { NgModule, APP_INITIALIZER } from '@angular/core'; -import { TenantManagementConfigService } from './services/tenant-management-config.service'; -import { noop } from '@abp/ng.core'; -var ɵ0 = noop; -var TenantManagementConfigModule = /** @class */ (function () { - function TenantManagementConfigModule() { - } - TenantManagementConfigModule.decorators = [ - { type: NgModule, args: [{ - providers: [{ provide: APP_INITIALIZER, deps: [TenantManagementConfigService], useFactory: ɵ0, multi: true }], - },] } - ]; - return TenantManagementConfigModule; -}()); -export { TenantManagementConfigModule }; -export { ɵ0 }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50LW1hbmFnZW1lbnQtY29uZmlnLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGVuYW50LW1hbmFnZW1lbnQuY29uZmlnLyIsInNvdXJjZXMiOlsibGliL3RlbmFudC1tYW5hZ2VtZW50LWNvbmZpZy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLGVBQWUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxRCxPQUFPLEVBQUUsNkJBQTZCLEVBQUUsTUFBTSw2Q0FBNkMsQ0FBQztBQUM1RixPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sY0FBYyxDQUFDO1NBR3lELElBQUk7QUFEakc7SUFBQTtJQUcyQyxDQUFDOztnQkFIM0MsUUFBUSxTQUFDO29CQUNSLFNBQVMsRUFBRSxDQUFDLEVBQUUsT0FBTyxFQUFFLGVBQWUsRUFBRSxJQUFJLEVBQUUsQ0FBQyw2QkFBNkIsQ0FBQyxFQUFFLFVBQVUsSUFBTSxFQUFFLEtBQUssRUFBRSxJQUFJLEVBQUUsQ0FBQztpQkFDaEg7O0lBQzBDLG1DQUFDO0NBQUEsQUFINUMsSUFHNEM7U0FBL0IsNEJBQTRCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUsIEFQUF9JTklUSUFMSVpFUiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBUZW5hbnRNYW5hZ2VtZW50Q29uZmlnU2VydmljZSB9IGZyb20gJy4vc2VydmljZXMvdGVuYW50LW1hbmFnZW1lbnQtY29uZmlnLnNlcnZpY2UnO1xyXG5pbXBvcnQgeyBub29wIH0gZnJvbSAnQGFicC9uZy5jb3JlJztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgcHJvdmlkZXJzOiBbeyBwcm92aWRlOiBBUFBfSU5JVElBTElaRVIsIGRlcHM6IFtUZW5hbnRNYW5hZ2VtZW50Q29uZmlnU2VydmljZV0sIHVzZUZhY3Rvcnk6IG5vb3AsIG11bHRpOiB0cnVlIH1dLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgVGVuYW50TWFuYWdlbWVudENvbmZpZ01vZHVsZSB7fVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management-config/esm5/public-api.js b/npm/ng-packs/dist/tenant-management-config/esm5/public-api.js deleted file mode 100644 index b46b44b13da..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/esm5/public-api.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { TenantManagementConfigService } from './lib/services/tenant-management-config.service'; -export { TenantManagementConfigModule } from './lib/tenant-management-config.module'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGVuYW50LW1hbmFnZW1lbnQuY29uZmlnLyIsInNvdXJjZXMiOlsicHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLDhDQUFjLGlEQUFpRCxDQUFDO0FBQ2hFLDZDQUFjLHVDQUF1QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvc2VydmljZXMvdGVuYW50LW1hbmFnZW1lbnQtY29uZmlnLnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi90ZW5hbnQtbWFuYWdlbWVudC1jb25maWcubW9kdWxlJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management-config/fesm2015/abp-ng.tenant-management.config.js b/npm/ng-packs/dist/tenant-management-config/fesm2015/abp-ng.tenant-management.config.js deleted file mode 100644 index 1d9209bd5ac..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/fesm2015/abp-ng.tenant-management.config.js +++ /dev/null @@ -1,64 +0,0 @@ -import { Injectable, ɵɵdefineInjectable, NgModule, APP_INITIALIZER } from '@angular/core'; -import { addAbpRoutes, noop } from '@abp/ng.core'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/tenant-management-config.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class TenantManagementConfigService { - constructor() { - addAbpRoutes({ - name: 'AbpTenantManagement::Menu:TenantManagement', - path: 'tenant-management', - parentName: 'AbpUiNavigation::Menu:Administration', - layout: "application" /* application */, - iconClass: 'fa fa-users', - children: [ - { - path: 'tenants', - name: 'AbpTenantManagement::Tenants', - order: 1, - requiredPolicy: 'AbpTenantManagement.Tenants', - }, - ], - }); - } -} -TenantManagementConfigService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -TenantManagementConfigService.ctorParameters = () => []; -/** @nocollapse */ TenantManagementConfigService.ngInjectableDef = ɵɵdefineInjectable({ factory: function TenantManagementConfigService_Factory() { return new TenantManagementConfigService(); }, token: TenantManagementConfigService, providedIn: "root" }); - -/** - * @fileoverview added by tsickle - * Generated from: lib/tenant-management-config.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -const ɵ0 = noop; -class TenantManagementConfigModule { -} -TenantManagementConfigModule.decorators = [ - { type: NgModule, args: [{ - providers: [{ provide: APP_INITIALIZER, deps: [TenantManagementConfigService], useFactory: ɵ0, multi: true }], - },] } -]; - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.tenant-management.config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { TenantManagementConfigModule, TenantManagementConfigService }; -//# sourceMappingURL=abp-ng.tenant-management.config.js.map diff --git a/npm/ng-packs/dist/tenant-management-config/fesm2015/abp-ng.tenant-management.config.js.map b/npm/ng-packs/dist/tenant-management-config/fesm2015/abp-ng.tenant-management.config.js.map deleted file mode 100644 index dc37bd387a6..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/fesm2015/abp-ng.tenant-management.config.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.tenant-management.config.js","sources":["ng://@abp/ng.tenant-management.config/lib/services/tenant-management-config.service.ts","ng://@abp/ng.tenant-management.config/lib/tenant-management-config.module.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\nimport { addAbpRoutes, eLayoutType } from '@abp/ng.core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class TenantManagementConfigService {\r\n constructor() {\r\n addAbpRoutes({\r\n name: 'AbpTenantManagement::Menu:TenantManagement',\r\n path: 'tenant-management',\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-users',\r\n children: [\r\n {\r\n path: 'tenants',\r\n name: 'AbpTenantManagement::Tenants',\r\n order: 1,\r\n requiredPolicy: 'AbpTenantManagement.Tenants',\r\n },\r\n ],\r\n });\r\n }\r\n}\r\n","import { NgModule, APP_INITIALIZER } from '@angular/core';\r\nimport { TenantManagementConfigService } from './services/tenant-management-config.service';\r\nimport { noop } from '@abp/ng.core';\r\n\r\n@NgModule({\r\n providers: [{ provide: APP_INITIALIZER, deps: [TenantManagementConfigService], useFactory: noop, multi: true }],\r\n})\r\nexport class TenantManagementConfigModule {}\r\n"],"names":[],"mappings":";;;;;;;;AAAA,MAMa,6BAA6B;IACxC;QACE,YAAY,CAAC;YACX,IAAI,EAAE,4CAA4C;YAClD,IAAI,EAAE,mBAAmB;YACzB,UAAU,EAAE,sCAAsC;YAClD,MAAM;YACN,SAAS,EAAE,aAAa;YACxB,QAAQ,EAAE;gBACR;oBACE,IAAI,EAAE,SAAS;oBACf,IAAI,EAAE,8BAA8B;oBACpC,KAAK,EAAE,CAAC;oBACR,cAAc,EAAE,6BAA6B;iBAC9C;aACF;SACF,CAAC,CAAC;KACJ;;;YApBF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;;;;;;;;;;;ACLD,WAK6F,IAAI;AAEjG,MAAa,4BAA4B;;;YAHxC,QAAQ,SAAC;gBACR,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,6BAA6B,CAAC,EAAE,UAAU,IAAM,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;aAChH;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management-config/fesm5/abp-ng.tenant-management.config.js b/npm/ng-packs/dist/tenant-management-config/fesm5/abp-ng.tenant-management.config.js deleted file mode 100644 index 20397074c63..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/fesm5/abp-ng.tenant-management.config.js +++ /dev/null @@ -1,68 +0,0 @@ -import { Injectable, ɵɵdefineInjectable, NgModule, APP_INITIALIZER } from '@angular/core'; -import { addAbpRoutes, noop } from '@abp/ng.core'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/tenant-management-config.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var TenantManagementConfigService = /** @class */ (function () { - function TenantManagementConfigService() { - addAbpRoutes({ - name: 'AbpTenantManagement::Menu:TenantManagement', - path: 'tenant-management', - parentName: 'AbpUiNavigation::Menu:Administration', - layout: "application" /* application */, - iconClass: 'fa fa-users', - children: [ - { - path: 'tenants', - name: 'AbpTenantManagement::Tenants', - order: 1, - requiredPolicy: 'AbpTenantManagement.Tenants', - }, - ], - }); - } - TenantManagementConfigService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - TenantManagementConfigService.ctorParameters = function () { return []; }; - /** @nocollapse */ TenantManagementConfigService.ngInjectableDef = ɵɵdefineInjectable({ factory: function TenantManagementConfigService_Factory() { return new TenantManagementConfigService(); }, token: TenantManagementConfigService, providedIn: "root" }); - return TenantManagementConfigService; -}()); - -/** - * @fileoverview added by tsickle - * Generated from: lib/tenant-management-config.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ɵ0 = noop; -var TenantManagementConfigModule = /** @class */ (function () { - function TenantManagementConfigModule() { - } - TenantManagementConfigModule.decorators = [ - { type: NgModule, args: [{ - providers: [{ provide: APP_INITIALIZER, deps: [TenantManagementConfigService], useFactory: ɵ0, multi: true }], - },] } - ]; - return TenantManagementConfigModule; -}()); - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.tenant-management.config.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { TenantManagementConfigModule, TenantManagementConfigService }; -//# sourceMappingURL=abp-ng.tenant-management.config.js.map diff --git a/npm/ng-packs/dist/tenant-management-config/fesm5/abp-ng.tenant-management.config.js.map b/npm/ng-packs/dist/tenant-management-config/fesm5/abp-ng.tenant-management.config.js.map deleted file mode 100644 index 901c422b799..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/fesm5/abp-ng.tenant-management.config.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.tenant-management.config.js","sources":["ng://@abp/ng.tenant-management.config/lib/services/tenant-management-config.service.ts","ng://@abp/ng.tenant-management.config/lib/tenant-management-config.module.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\nimport { addAbpRoutes, eLayoutType } from '@abp/ng.core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class TenantManagementConfigService {\r\n constructor() {\r\n addAbpRoutes({\r\n name: 'AbpTenantManagement::Menu:TenantManagement',\r\n path: 'tenant-management',\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-users',\r\n children: [\r\n {\r\n path: 'tenants',\r\n name: 'AbpTenantManagement::Tenants',\r\n order: 1,\r\n requiredPolicy: 'AbpTenantManagement.Tenants',\r\n },\r\n ],\r\n });\r\n }\r\n}\r\n","import { NgModule, APP_INITIALIZER } from '@angular/core';\r\nimport { TenantManagementConfigService } from './services/tenant-management-config.service';\r\nimport { noop } from '@abp/ng.core';\r\n\r\n@NgModule({\r\n providers: [{ provide: APP_INITIALIZER, deps: [TenantManagementConfigService], useFactory: noop, multi: true }],\r\n})\r\nexport class TenantManagementConfigModule {}\r\n"],"names":[],"mappings":";;;;;;;;AAAA;IAOE;QACE,YAAY,CAAC;YACX,IAAI,EAAE,4CAA4C;YAClD,IAAI,EAAE,mBAAmB;YACzB,UAAU,EAAE,sCAAsC;YAClD,MAAM;YACN,SAAS,EAAE,aAAa;YACxB,QAAQ,EAAE;gBACR;oBACE,IAAI,EAAE,SAAS;oBACf,IAAI,EAAE,8BAA8B;oBACpC,KAAK,EAAE,CAAC;oBACR,cAAc,EAAE,6BAA6B;iBAC9C;aACF;SACF,CAAC,CAAC;KACJ;;gBApBF,UAAU,SAAC;oBACV,UAAU,EAAE,MAAM;iBACnB;;;;;wCALD;CAGA;;;;;;;ACHA,SAK6F,IAAI;AADjG;IAAA;KAG4C;;gBAH3C,QAAQ,SAAC;oBACR,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,6BAA6B,CAAC,EAAE,UAAU,IAAM,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;iBAChH;;IAC0C,mCAAC;CAH5C;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management-config/lib/services/tenant-management-config.service.d.ts b/npm/ng-packs/dist/tenant-management-config/lib/services/tenant-management-config.service.d.ts deleted file mode 100644 index 201893a86ce..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/lib/services/tenant-management-config.service.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare class TenantManagementConfigService { - constructor(); -} diff --git a/npm/ng-packs/dist/tenant-management-config/lib/tenant-management-config.module.d.ts b/npm/ng-packs/dist/tenant-management-config/lib/tenant-management-config.module.d.ts deleted file mode 100644 index bf19c8e3fce..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/lib/tenant-management-config.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class TenantManagementConfigModule { -} diff --git a/npm/ng-packs/dist/tenant-management-config/package.json b/npm/ng-packs/dist/tenant-management-config/package.json deleted file mode 100644 index 95c5ef3c2df..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "@abp/ng.tenant-management.config", - "version": "1.1.0", - "publishConfig": { - "access": "public" - }, - "main": "bundles/abp-ng.tenant-management.config.umd.js", - "module": "fesm5/abp-ng.tenant-management.config.js", - "es2015": "fesm2015/abp-ng.tenant-management.config.js", - "esm5": "esm5/abp-ng.tenant-management.config.js", - "esm2015": "esm2015/abp-ng.tenant-management.config.js", - "fesm5": "fesm5/abp-ng.tenant-management.config.js", - "fesm2015": "fesm2015/abp-ng.tenant-management.config.js", - "typings": "abp-ng.tenant-management.config.d.ts", - "metadata": "abp-ng.tenant-management.config.metadata.json", - "sideEffects": false, - "dependencies": { - "tslib": "^1.9.0" - }, - "gitHead": "42d9eb857fca97c046ebac4286b6831c8b8c1887" -} diff --git a/npm/ng-packs/dist/tenant-management-config/public-api.d.ts b/npm/ng-packs/dist/tenant-management-config/public-api.d.ts deleted file mode 100644 index a6d21694db6..00000000000 --- a/npm/ng-packs/dist/tenant-management-config/public-api.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './lib/services/tenant-management-config.service'; -export * from './lib/tenant-management-config.module'; diff --git a/npm/ng-packs/dist/tenant-management/README.md b/npm/ng-packs/dist/tenant-management/README.md deleted file mode 100644 index f44dae0ecb8..00000000000 --- a/npm/ng-packs/dist/tenant-management/README.md +++ /dev/null @@ -1,3 +0,0 @@ -

@abp/ng.tenant-management

- -[docs.abp.io](https://docs.abp.io) diff --git a/npm/ng-packs/dist/tenant-management/abp-ng.tenant-management.d.ts b/npm/ng-packs/dist/tenant-management/abp-ng.tenant-management.d.ts deleted file mode 100644 index b5663621ae2..00000000000 --- a/npm/ng-packs/dist/tenant-management/abp-ng.tenant-management.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Generated bundle index. Do not edit. - */ -export * from './public-api'; -export { CreateTenant as ɵf, DeleteTenant as ɵh, GetTenantById as ɵe, GetTenants as ɵd, UpdateTenant as ɵg } from './lib/actions/tenant-management.actions'; -export { TenantsComponent as ɵa } from './lib/components/tenants/tenants.component'; -export { TenantManagement as ɵi } from './lib/models/tenant-management'; -export { TenantManagementService as ɵc } from './lib/services/tenant-management.service'; -export { TenantManagementState as ɵb } from './lib/states/tenant-management.state'; -export { TenantManagementRoutingModule as ɵj } from './lib/tenant-management-routing.module'; diff --git a/npm/ng-packs/dist/tenant-management/abp-ng.tenant-management.metadata.json b/npm/ng-packs/dist/tenant-management/abp-ng.tenant-management.metadata.json deleted file mode 100644 index 304802f8c20..00000000000 --- a/npm/ng-packs/dist/tenant-management/abp-ng.tenant-management.metadata.json +++ /dev/null @@ -1 +0,0 @@ -{"__symbolic":"module","version":4,"exports":[{"from":"./lib/tenant-management.state"},{"from":"./lib/tenant-management-state.service"}],"metadata":{"TenantManagementModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"}],"imports":[{"__symbolic":"reference","name":"ɵj"},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"NgxsModule","line":16,"character":4},"member":"forFeature"},"arguments":[[{"__symbolic":"reference","name":"ɵb"}]]},{"__symbolic":"reference","module":"@ngx-validate/core","name":"NgxValidateCoreModule","line":17,"character":4},{"__symbolic":"reference","module":"@abp/ng.core","name":"CoreModule","line":18,"character":4},{"__symbolic":"reference","module":"primeng/table","name":"TableModule","line":19,"character":4},{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ThemeSharedModule","line":20,"character":4},{"__symbolic":"reference","module":"@ng-bootstrap/ng-bootstrap","name":"NgbDropdownModule","line":21,"character":4},{"__symbolic":"reference","module":"@abp/ng.feature-management","name":"FeatureManagementModule","line":22,"character":4}]}]}],"members":{}},"TenantManagementProviders":{"__symbolic":"function","parameters":[],"value":[]},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"abp-tenants","template":"
\r\n
\r\n
\r\n
\r\n
{{ 'AbpTenantManagement::Tenants' | abpLocalization }}
\r\n
\r\n
\r\n \r\n \r\n {{ 'AbpTenantManagement::NewTenant' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'AbpTenantManagement::Actions' | abpLocalization }}\r\n \r\n {{ 'AbpTenantManagement::TenantName' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ 'AbpTenantManagement::Actions' | abpLocalization }}\r\n \r\n
\r\n \r\n {{ 'AbpTenantManagement::Edit' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpTenantManagement::Permission:ManageConnectionStrings' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpTenantManagement::Permission:ManageFeatures' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpTenantManagement::Delete' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n {{ data.name }}\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n

{{ selectedModalContent.title | abpLocalization }}

\r\n
\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n"}]}],"members":{"data$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Select","line":28,"character":3},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵb"},"member":"get"}]}]}],"totalCount$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Select","line":31,"character":3},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵb"},"member":"getTenantsTotalCount"}]}]}],"tenantModalTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":70,"character":3},"arguments":["tenantModalTemplate",{"static":false}]}]}],"connectionStringModalTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":73,"character":3},"arguments":["connectionStringModalTemplate",{"static":false}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ConfirmationService","line":97,"character":33},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","module":"@angular/forms","name":"FormBuilder","line":99,"character":16},{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":100,"character":19}]}],"ngOnInit":[{"__symbolic":"method"}],"onSearch":[{"__symbolic":"method"}],"createTenantForm":[{"__symbolic":"method"}],"createDefaultConnectionStringForm":[{"__symbolic":"method"}],"openModal":[{"__symbolic":"method"}],"onEditConnectionString":[{"__symbolic":"method"}],"addTenant":[{"__symbolic":"method"}],"editTenant":[{"__symbolic":"method"}],"save":[{"__symbolic":"method"}],"saveConnectionString":[{"__symbolic":"method"}],"saveTenant":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}],"onPageChange":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"onSharedDatabaseChange":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"State","line":13,"character":1},"arguments":[{"name":"TenantManagementState","defaults":{"result":{},"selectedItem":{}}}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵc"}]}],"get":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":30,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵd"}]}]}],"getById":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":41,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵe"}]}]}],"delete":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":52,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵh"}]}]}],"add":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":57,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵf"}]}]}],"update":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":62,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵg"}]}]}]},"statics":{"get":{"__symbolic":"function","parameters":["result"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"result"},"member":"items"},"right":[]}},"getTenantsTotalCount":{"__symbolic":"function","parameters":["result"],"value":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"result"},"member":"totalCount"}}}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@abp/ng.core","name":"RestService","line":9,"character":28}]}],"getTenant":[{"__symbolic":"method"}],"getTenantById":[{"__symbolic":"method"}],"deleteTenant":[{"__symbolic":"method"}],"createTenant":[{"__symbolic":"method"}],"updateTenant":[{"__symbolic":"method"}],"getDefaultConnectionString":[{"__symbolic":"method"}],"updateDefaultConnectionString":[{"__symbolic":"method"}],"deleteDefaultConnectionString":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵd":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@abp/ng.core","name":"ABP","line":5,"character":31},"member":"PageQueryParams"}]}]},"statics":{"type":"[TenantManagement] Get Tenant"}},"ɵe":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]},"statics":{"type":"[TenantManagement] Get Tenant By Id"}},"ɵf":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵi"},"member":"AddRequest"}]}]},"statics":{"type":"[TenantManagement] Create Tenant"}},"ɵg":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵi"},"member":"UpdateRequest"}]}]},"statics":{"type":"[TenantManagement] Update Tenant"}},"ɵh":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]},"statics":{"type":"[TenantManagement] Delete Tenant"}},"ɵj":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":16,"character":1},"arguments":[{"imports":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":17,"character":12},"member":"forChild"},"arguments":[[{"path":"","redirectTo":"tenants","pathMatch":"full"},{"path":"tenants","component":{"__symbolic":"reference","module":"@abp/ng.core","name":"DynamicLayoutComponent","line":9,"character":15},"canActivate":[{"__symbolic":"reference","module":"@abp/ng.core","name":"AuthGuard","line":10,"character":18},{"__symbolic":"reference","module":"@abp/ng.core","name":"PermissionGuard","line":10,"character":29}],"data":{"requiredPolicy":"AbpTenantManagement.Tenants"},"children":[{"path":"","component":{"__symbolic":"reference","name":"ɵa"}}]}]]}],"exports":[{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":18,"character":12}]}]}],"members":{}}},"origins":{"TenantManagementModule":"./lib/tenant-management.module","TenantManagementProviders":"./lib/tenant-management.module","ɵa":"./lib/components/tenants/tenants.component","ɵb":"./lib/states/tenant-management.state","ɵc":"./lib/services/tenant-management.service","ɵd":"./lib/actions/tenant-management.actions","ɵe":"./lib/actions/tenant-management.actions","ɵf":"./lib/actions/tenant-management.actions","ɵg":"./lib/actions/tenant-management.actions","ɵh":"./lib/actions/tenant-management.actions","ɵi":"./lib/models/tenant-management","ɵj":"./lib/tenant-management-routing.module"},"importAs":"@abp/ng.tenant-management"} \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/bundles/abp-ng.tenant-management.umd.js b/npm/ng-packs/dist/tenant-management/bundles/abp-ng.tenant-management.umd.js deleted file mode 100644 index 9644f208ca1..00000000000 --- a/npm/ng-packs/dist/tenant-management/bundles/abp-ng.tenant-management.umd.js +++ /dev/null @@ -1,1340 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@abp/ng.core'), require('@abp/ng.theme.shared'), require('@angular/core'), require('@ng-bootstrap/ng-bootstrap'), require('@ngxs/store'), require('primeng/table'), require('@angular/forms'), require('rxjs'), require('rxjs/operators'), require('@angular/router'), require('@abp/ng.feature-management'), require('@ngx-validate/core')) : - typeof define === 'function' && define.amd ? define('@abp/ng.tenant-management', ['exports', '@abp/ng.core', '@abp/ng.theme.shared', '@angular/core', '@ng-bootstrap/ng-bootstrap', '@ngxs/store', 'primeng/table', '@angular/forms', 'rxjs', 'rxjs/operators', '@angular/router', '@abp/ng.feature-management', '@ngx-validate/core'], factory) : - (global = global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng['tenant-management'] = {}), global.ng_core, global.ng_theme_shared, global.ng.core, global.ngBootstrap, global.store, global.table, global.ng.forms, global.rxjs, global.rxjs.operators, global.ng.router, global.ng_featureManagement, global.core$1)); -}(this, (function (exports, ng_core, ng_theme_shared, core, ngBootstrap, store, table, forms, rxjs, operators, router, ng_featureManagement, core$1) { 'use strict'; - - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ - /* global Reflect, Promise */ - - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - - function __extends(d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - } - - var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); - }; - - function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; - } - - function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; - } - - function __param(paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } - } - - function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); - } - - function __awaiter(thisArg, _arguments, P, generator) { - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - } - - function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (_) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } - } - - function __exportStar(m, exports) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; - } - - function __values(o) { - var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0; - if (m) return m.call(o); - return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; - } - - function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; - } - - function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; - } - - function __spreadArrays() { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; - for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; - return r; - }; - - function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); - } - - function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } - } - - function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } - } - - function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); - function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } - } - - function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; - }; - - function __importStar(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result.default = mod; - return result; - } - - function __importDefault(mod) { - return (mod && mod.__esModule) ? mod : { default: mod }; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/actions/tenant-management.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var GetTenants = /** @class */ (function () { - function GetTenants(payload) { - this.payload = payload; - } - GetTenants.type = '[TenantManagement] Get Tenant'; - return GetTenants; - }()); - if (false) { - /** @type {?} */ - GetTenants.type; - /** @type {?} */ - GetTenants.prototype.payload; - } - var GetTenantById = /** @class */ (function () { - function GetTenantById(payload) { - this.payload = payload; - } - GetTenantById.type = '[TenantManagement] Get Tenant By Id'; - return GetTenantById; - }()); - if (false) { - /** @type {?} */ - GetTenantById.type; - /** @type {?} */ - GetTenantById.prototype.payload; - } - var CreateTenant = /** @class */ (function () { - function CreateTenant(payload) { - this.payload = payload; - } - CreateTenant.type = '[TenantManagement] Create Tenant'; - return CreateTenant; - }()); - if (false) { - /** @type {?} */ - CreateTenant.type; - /** @type {?} */ - CreateTenant.prototype.payload; - } - var UpdateTenant = /** @class */ (function () { - function UpdateTenant(payload) { - this.payload = payload; - } - UpdateTenant.type = '[TenantManagement] Update Tenant'; - return UpdateTenant; - }()); - if (false) { - /** @type {?} */ - UpdateTenant.type; - /** @type {?} */ - UpdateTenant.prototype.payload; - } - var DeleteTenant = /** @class */ (function () { - function DeleteTenant(payload) { - this.payload = payload; - } - DeleteTenant.type = '[TenantManagement] Delete Tenant'; - return DeleteTenant; - }()); - if (false) { - /** @type {?} */ - DeleteTenant.type; - /** @type {?} */ - DeleteTenant.prototype.payload; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/tenant-management.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var TenantManagementService = /** @class */ (function () { - function TenantManagementService(rest) { - this.rest = rest; - } - /** - * @param {?=} params - * @return {?} - */ - TenantManagementService.prototype.getTenant = /** - * @param {?=} params - * @return {?} - */ - function (params) { - if (params === void 0) { params = (/** @type {?} */ ({})); } - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/multi-tenancy/tenants', - params: params - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - TenantManagementService.prototype.getTenantById = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'GET', - url: "/api/multi-tenancy/tenants/" + id - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - TenantManagementService.prototype.deleteTenant = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'DELETE', - url: "/api/multi-tenancy/tenants/" + id - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - TenantManagementService.prototype.createTenant = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var request = { - method: 'POST', - url: '/api/multi-tenancy/tenants', - body: body - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - TenantManagementService.prototype.updateTenant = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var url = "/api/multi-tenancy/tenants/" + body.id; - delete body.id; - /** @type {?} */ - var request = { - method: 'PUT', - url: url, - body: body - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - TenantManagementService.prototype.getDefaultConnectionString = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var url = "/api/multi-tenancy/tenants/" + id + "/default-connection-string"; - /** @type {?} */ - var request = { - method: 'GET', - responseType: "text" /* Text */, - url: url - }; - return this.rest.request(request); - }; - /** - * @param {?} payload - * @return {?} - */ - TenantManagementService.prototype.updateDefaultConnectionString = /** - * @param {?} payload - * @return {?} - */ - function (payload) { - /** @type {?} */ - var url = "/api/multi-tenancy/tenants/" + payload.id + "/default-connection-string"; - /** @type {?} */ - var request = { - method: 'PUT', - url: url, - params: { defaultConnectionString: payload.defaultConnectionString } - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - TenantManagementService.prototype.deleteDefaultConnectionString = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var url = "/api/multi-tenancy/tenants/" + id + "/default-connection-string"; - /** @type {?} */ - var request = { - method: 'DELETE', - url: url - }; - return this.rest.request(request); - }; - TenantManagementService.decorators = [ - { type: core.Injectable, args: [{ - providedIn: 'root' - },] } - ]; - /** @nocollapse */ - TenantManagementService.ctorParameters = function () { return [ - { type: ng_core.RestService } - ]; }; - /** @nocollapse */ TenantManagementService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function TenantManagementService_Factory() { return new TenantManagementService(core.ɵɵinject(ng_core.RestService)); }, token: TenantManagementService, providedIn: "root" }); - return TenantManagementService; - }()); - if (false) { - /** - * @type {?} - * @private - */ - TenantManagementService.prototype.rest; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/states/tenant-management.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var TenantManagementState = /** @class */ (function () { - function TenantManagementState(tenantManagementService) { - this.tenantManagementService = tenantManagementService; - } - /** - * @param {?} __0 - * @return {?} - */ - TenantManagementState.get = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var result = _a.result; - return result.items || []; - }; - /** - * @param {?} __0 - * @return {?} - */ - TenantManagementState.getTenantsTotalCount = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var result = _a.result; - return result.totalCount; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - TenantManagementState.prototype.get = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.tenantManagementService.getTenant(payload).pipe(operators.tap((/** - * @param {?} result - * @return {?} - */ - function (result) { - return patchState({ - result: result, - }); - }))); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - TenantManagementState.prototype.getById = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.tenantManagementService.getTenantById(payload).pipe(operators.tap((/** - * @param {?} selectedItem - * @return {?} - */ - function (selectedItem) { - return patchState({ - selectedItem: selectedItem, - }); - }))); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - TenantManagementState.prototype.delete = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.tenantManagementService.deleteTenant(payload); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - TenantManagementState.prototype.add = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.tenantManagementService.createTenant(payload); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - TenantManagementState.prototype.update = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var getState = _a.getState; - var payload = _b.payload; - return this.tenantManagementService.updateTenant(__assign({}, getState().selectedItem, payload)); - }; - TenantManagementState.ctorParameters = function () { return [ - { type: TenantManagementService } - ]; }; - __decorate([ - store.Action(GetTenants), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetTenants]), - __metadata("design:returntype", void 0) - ], TenantManagementState.prototype, "get", null); - __decorate([ - store.Action(GetTenantById), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetTenantById]), - __metadata("design:returntype", void 0) - ], TenantManagementState.prototype, "getById", null); - __decorate([ - store.Action(DeleteTenant), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, DeleteTenant]), - __metadata("design:returntype", void 0) - ], TenantManagementState.prototype, "delete", null); - __decorate([ - store.Action(CreateTenant), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, CreateTenant]), - __metadata("design:returntype", void 0) - ], TenantManagementState.prototype, "add", null); - __decorate([ - store.Action(UpdateTenant), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, UpdateTenant]), - __metadata("design:returntype", void 0) - ], TenantManagementState.prototype, "update", null); - __decorate([ - store.Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Array) - ], TenantManagementState, "get", null); - __decorate([ - store.Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Number) - ], TenantManagementState, "getTenantsTotalCount", null); - TenantManagementState = __decorate([ - store.State({ - name: 'TenantManagementState', - defaults: (/** @type {?} */ ({ result: {}, selectedItem: {} })), - }), - __metadata("design:paramtypes", [TenantManagementService]) - ], TenantManagementState); - return TenantManagementState; - }()); - if (false) { - /** - * @type {?} - * @private - */ - TenantManagementState.prototype.tenantManagementService; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/tenants/tenants.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * @record - */ - function SelectedModalContent() { } - if (false) { - /** @type {?} */ - SelectedModalContent.prototype.type; - /** @type {?} */ - SelectedModalContent.prototype.title; - /** @type {?} */ - SelectedModalContent.prototype.template; - } - var TenantsComponent = /** @class */ (function () { - function TenantsComponent(confirmationService, tenantService, fb, store) { - this.confirmationService = confirmationService; - this.tenantService = tenantService; - this.fb = fb; - this.store = store; - this.selectedModalContent = (/** @type {?} */ ({})); - this.visibleFeatures = false; - this.pageQuery = {}; - this.loading = false; - this.modalBusy = false; - this.sortOrder = ''; - this.sortKey = ''; - } - Object.defineProperty(TenantsComponent.prototype, "useSharedDatabase", { - get: /** - * @return {?} - */ - function () { - return this.defaultConnectionStringForm.get('useSharedDatabase').value; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(TenantsComponent.prototype, "connectionString", { - get: /** - * @return {?} - */ - function () { - return this.defaultConnectionStringForm.get('defaultConnectionString').value; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(TenantsComponent.prototype, "isDisabledSaveButton", { - get: /** - * @return {?} - */ - function () { - if (!this.selectedModalContent) - return false; - if (this.selectedModalContent.type === 'saveConnStr' && - this.defaultConnectionStringForm && - this.defaultConnectionStringForm.invalid) { - return true; - } - else if (this.selectedModalContent.type === 'saveTenant' && - this.tenantForm && - this.tenantForm.invalid) { - return true; - } - else { - return false; - } - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - TenantsComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.get(); - }; - /** - * @param {?} value - * @return {?} - */ - TenantsComponent.prototype.onSearch = /** - * @param {?} value - * @return {?} - */ - function (value) { - this.pageQuery.filter = value; - this.get(); - }; - /** - * @private - * @return {?} - */ - TenantsComponent.prototype.createTenantForm = /** - * @private - * @return {?} - */ - function () { - this.tenantForm = this.fb.group({ - name: [this.selected.name || '', [forms.Validators.required, forms.Validators.maxLength(256)]], - }); - }; - /** - * @private - * @return {?} - */ - TenantsComponent.prototype.createDefaultConnectionStringForm = /** - * @private - * @return {?} - */ - function () { - this.defaultConnectionStringForm = this.fb.group({ - useSharedDatabase: this._useSharedDatabase, - defaultConnectionString: [this.defaultConnectionString || ''], - }); - }; - /** - * @param {?} title - * @param {?} template - * @param {?} type - * @return {?} - */ - TenantsComponent.prototype.openModal = /** - * @param {?} title - * @param {?} template - * @param {?} type - * @return {?} - */ - function (title, template, type) { - this.selectedModalContent = { - title: title, - template: template, - type: type, - }; - this.isModalVisible = true; - }; - /** - * @param {?} id - * @return {?} - */ - TenantsComponent.prototype.onEditConnectionString = /** - * @param {?} id - * @return {?} - */ - function (id) { - var _this = this; - this.store - .dispatch(new GetTenantById(id)) - .pipe(operators.pluck('TenantManagementState', 'selectedItem'), operators.switchMap((/** - * @param {?} selected - * @return {?} - */ - function (selected) { - _this.selected = selected; - return _this.tenantService.getDefaultConnectionString(id); - }))) - .subscribe((/** - * @param {?} fetchedConnectionString - * @return {?} - */ - function (fetchedConnectionString) { - _this._useSharedDatabase = fetchedConnectionString ? false : true; - _this.defaultConnectionString = fetchedConnectionString ? fetchedConnectionString : ''; - _this.createDefaultConnectionStringForm(); - _this.openModal('AbpTenantManagement::ConnectionStrings', _this.connectionStringModalTemplate, 'saveConnStr'); - })); - }; - /** - * @return {?} - */ - TenantsComponent.prototype.addTenant = /** - * @return {?} - */ - function () { - this.selected = (/** @type {?} */ ({})); - this.createTenantForm(); - this.openModal('AbpTenantManagement::NewTenant', this.tenantModalTemplate, 'saveTenant'); - }; - /** - * @param {?} id - * @return {?} - */ - TenantsComponent.prototype.editTenant = /** - * @param {?} id - * @return {?} - */ - function (id) { - var _this = this; - this.store - .dispatch(new GetTenantById(id)) - .pipe(operators.pluck('TenantManagementState', 'selectedItem')) - .subscribe((/** - * @param {?} selected - * @return {?} - */ - function (selected) { - _this.selected = selected; - _this.createTenantForm(); - _this.openModal('AbpTenantManagement::Edit', _this.tenantModalTemplate, 'saveTenant'); - })); - }; - /** - * @return {?} - */ - TenantsComponent.prototype.save = /** - * @return {?} - */ - function () { - var type = this.selectedModalContent.type; - if (!type) - return; - if (type === 'saveTenant') - this.saveTenant(); - else if (type === 'saveConnStr') - this.saveConnectionString(); - }; - /** - * @return {?} - */ - TenantsComponent.prototype.saveConnectionString = /** - * @return {?} - */ - function () { - var _this = this; - if (this.modalBusy) - return; - this.modalBusy = true; - if (this.useSharedDatabase || (!this.useSharedDatabase && !this.connectionString)) { - this.tenantService - .deleteDefaultConnectionString(this.selected.id) - .pipe(operators.take(1), operators.finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.isModalVisible = false; - })); - } - else { - this.tenantService - .updateDefaultConnectionString({ - id: this.selected.id, - defaultConnectionString: this.connectionString, - }) - .pipe(operators.take(1), operators.finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.isModalVisible = false; - })); - } - }; - /** - * @return {?} - */ - TenantsComponent.prototype.saveTenant = /** - * @return {?} - */ - function () { - var _this = this; - if (!this.tenantForm.valid || this.modalBusy) - return; - this.modalBusy = true; - this.store - .dispatch(this.selected.id - ? new UpdateTenant(__assign({}, this.selected, this.tenantForm.value, { id: this.selected.id })) - : new CreateTenant(this.tenantForm.value)) - .pipe(operators.finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.isModalVisible = false; - _this.get(); - })); - }; - /** - * @param {?} id - * @param {?} name - * @return {?} - */ - TenantsComponent.prototype.delete = /** - * @param {?} id - * @param {?} name - * @return {?} - */ - function (id, name) { - var _this = this; - this.confirmationService - .warn('AbpTenantManagement::TenantDeletionConfirmationMessage', 'AbpTenantManagement::AreYouSure', { - messageLocalizationParams: [name], - }) - .subscribe((/** - * @param {?} status - * @return {?} - */ - function (status) { - if (status === "confirm" /* confirm */) { - _this.store.dispatch(new DeleteTenant(id)).subscribe((/** - * @return {?} - */ - function () { return _this.get(); })); - } - })); - }; - /** - * @param {?} data - * @return {?} - */ - TenantsComponent.prototype.onPageChange = /** - * @param {?} data - * @return {?} - */ - function (data) { - this.pageQuery.skipCount = data.first; - this.pageQuery.maxResultCount = data.rows; - this.get(); - }; - /** - * @return {?} - */ - TenantsComponent.prototype.get = /** - * @return {?} - */ - function () { - var _this = this; - this.loading = true; - this.store - .dispatch(new GetTenants(this.pageQuery)) - .pipe(operators.finalize((/** - * @return {?} - */ - function () { return (_this.loading = false); }))) - .subscribe(); - }; - /** - * @param {?} value - * @return {?} - */ - TenantsComponent.prototype.onSharedDatabaseChange = /** - * @param {?} value - * @return {?} - */ - function (value) { - if (!value) { - setTimeout((/** - * @return {?} - */ - function () { - /** @type {?} */ - var defaultConnectionString = (/** @type {?} */ (document.getElementById('defaultConnectionString'))); - if (defaultConnectionString) { - defaultConnectionString.focus(); - } - }), 0); - } - }; - TenantsComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-tenants', - template: "
\r\n
\r\n
\r\n
\r\n
{{ 'AbpTenantManagement::Tenants' | abpLocalization }}
\r\n
\r\n
\r\n \r\n \r\n {{ 'AbpTenantManagement::NewTenant' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'AbpTenantManagement::Actions' | abpLocalization }}\r\n \r\n {{ 'AbpTenantManagement::TenantName' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ 'AbpTenantManagement::Actions' | abpLocalization }}\r\n \r\n
\r\n \r\n {{ 'AbpTenantManagement::Edit' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpTenantManagement::Permission:ManageConnectionStrings' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpTenantManagement::Permission:ManageFeatures' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpTenantManagement::Delete' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n {{ data.name }}\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n

{{ selectedModalContent.title | abpLocalization }}

\r\n
\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n" - }] } - ]; - /** @nocollapse */ - TenantsComponent.ctorParameters = function () { return [ - { type: ng_theme_shared.ConfirmationService }, - { type: TenantManagementService }, - { type: forms.FormBuilder }, - { type: store.Store } - ]; }; - TenantsComponent.propDecorators = { - tenantModalTemplate: [{ type: core.ViewChild, args: ['tenantModalTemplate', { static: false },] }], - connectionStringModalTemplate: [{ type: core.ViewChild, args: ['connectionStringModalTemplate', { static: false },] }] - }; - __decorate([ - store.Select(TenantManagementState.get), - __metadata("design:type", rxjs.Observable) - ], TenantsComponent.prototype, "data$", void 0); - __decorate([ - store.Select(TenantManagementState.getTenantsTotalCount), - __metadata("design:type", rxjs.Observable) - ], TenantsComponent.prototype, "totalCount$", void 0); - return TenantsComponent; - }()); - if (false) { - /** @type {?} */ - TenantsComponent.prototype.data$; - /** @type {?} */ - TenantsComponent.prototype.totalCount$; - /** @type {?} */ - TenantsComponent.prototype.selected; - /** @type {?} */ - TenantsComponent.prototype.tenantForm; - /** @type {?} */ - TenantsComponent.prototype.defaultConnectionStringForm; - /** @type {?} */ - TenantsComponent.prototype.defaultConnectionString; - /** @type {?} */ - TenantsComponent.prototype.isModalVisible; - /** @type {?} */ - TenantsComponent.prototype.selectedModalContent; - /** @type {?} */ - TenantsComponent.prototype.visibleFeatures; - /** @type {?} */ - TenantsComponent.prototype.providerKey; - /** @type {?} */ - TenantsComponent.prototype._useSharedDatabase; - /** @type {?} */ - TenantsComponent.prototype.pageQuery; - /** @type {?} */ - TenantsComponent.prototype.loading; - /** @type {?} */ - TenantsComponent.prototype.modalBusy; - /** @type {?} */ - TenantsComponent.prototype.sortOrder; - /** @type {?} */ - TenantsComponent.prototype.sortKey; - /** @type {?} */ - TenantsComponent.prototype.tenantModalTemplate; - /** @type {?} */ - TenantsComponent.prototype.connectionStringModalTemplate; - /** - * @type {?} - * @private - */ - TenantsComponent.prototype.confirmationService; - /** - * @type {?} - * @private - */ - TenantsComponent.prototype.tenantService; - /** - * @type {?} - * @private - */ - TenantsComponent.prototype.fb; - /** - * @type {?} - * @private - */ - TenantsComponent.prototype.store; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/tenant-management-routing.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ɵ0 = { requiredPolicy: 'AbpTenantManagement.Tenants' }; - /** @type {?} */ - var routes = [ - { path: '', redirectTo: 'tenants', pathMatch: 'full' }, - { - path: 'tenants', - component: ng_core.DynamicLayoutComponent, - canActivate: [ng_core.AuthGuard, ng_core.PermissionGuard], - data: ɵ0, - children: [{ path: '', component: TenantsComponent }], - }, - ]; - var TenantManagementRoutingModule = /** @class */ (function () { - function TenantManagementRoutingModule() { - } - TenantManagementRoutingModule.decorators = [ - { type: core.NgModule, args: [{ - imports: [router.RouterModule.forChild(routes)], - exports: [router.RouterModule], - },] } - ]; - return TenantManagementRoutingModule; - }()); - - /** - * @fileoverview added by tsickle - * Generated from: lib/tenant-management.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var TenantManagementModule = /** @class */ (function () { - function TenantManagementModule() { - } - TenantManagementModule.decorators = [ - { type: core.NgModule, args: [{ - declarations: [TenantsComponent], - imports: [ - TenantManagementRoutingModule, - store.NgxsModule.forFeature([TenantManagementState]), - core$1.NgxValidateCoreModule, - ng_core.CoreModule, - table.TableModule, - ng_theme_shared.ThemeSharedModule, - ngBootstrap.NgbDropdownModule, - ng_featureManagement.FeatureManagementModule, - ], - },] } - ]; - return TenantManagementModule; - }()); - /** - * - * @deprecated since version 0.9.0 - * @return {?} - */ - function TenantManagementProviders() { - return []; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/constants/routes.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * - * @deprecated since version 0.9.0 - * @type {?} - */ - var TENANT_MANAGEMENT_ROUTES = { - routes: (/** @type {?} */ ([ - { - name: 'AbpTenantManagement::Menu:TenantManagement', - path: 'tenant-management', - parentName: 'AbpUiNavigation::Menu:Administration', - layout: "application" /* application */, - iconClass: 'fa fa-users', - children: [ - { - path: 'tenants', - name: 'AbpTenantManagement::Tenants', - order: 1, - requiredPolicy: 'AbpTenantManagement.Tenants', - }, - ], - }, - ])), - }; - - /** - * @fileoverview added by tsickle - * Generated from: lib/constants/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/tenant-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var TenantManagement; - (function (TenantManagement) { - /** - * @record - */ - function State() { } - TenantManagement.State = State; - if (false) { - /** @type {?} */ - State.prototype.result; - /** @type {?} */ - State.prototype.selectedItem; - } - /** - * @record - */ - function Item() { } - TenantManagement.Item = Item; - if (false) { - /** @type {?} */ - Item.prototype.id; - /** @type {?} */ - Item.prototype.name; - } - /** - * @record - */ - function AddRequest() { } - TenantManagement.AddRequest = AddRequest; - if (false) { - /** @type {?} */ - AddRequest.prototype.name; - } - /** - * @record - */ - function UpdateRequest() { } - TenantManagement.UpdateRequest = UpdateRequest; - if (false) { - /** @type {?} */ - UpdateRequest.prototype.id; - } - /** - * @record - */ - function DefaultConnectionStringRequest() { } - TenantManagement.DefaultConnectionStringRequest = DefaultConnectionStringRequest; - if (false) { - /** @type {?} */ - DefaultConnectionStringRequest.prototype.id; - /** @type {?} */ - DefaultConnectionStringRequest.prototype.defaultConnectionString; - } - })(TenantManagement || (TenantManagement = {})); - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/tenant-management-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var TenantManagementStateService = /** @class */ (function () { - function TenantManagementStateService(store) { - this.store = store; - } - /** - * @return {?} - */ - TenantManagementStateService.prototype.get = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(TenantManagementState.get); - }; - /** - * @return {?} - */ - TenantManagementStateService.prototype.getTenantsTotalCount = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(TenantManagementState.getTenantsTotalCount); - }; - TenantManagementStateService.decorators = [ - { type: core.Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - TenantManagementStateService.ctorParameters = function () { return [ - { type: store.Store } - ]; }; - /** @nocollapse */ TenantManagementStateService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function TenantManagementStateService_Factory() { return new TenantManagementStateService(core.ɵɵinject(store.Store)); }, token: TenantManagementStateService, providedIn: "root" }); - return TenantManagementStateService; - }()); - if (false) { - /** - * @type {?} - * @private - */ - TenantManagementStateService.prototype.store; - } - - exports.CreateTenant = CreateTenant; - exports.DeleteTenant = DeleteTenant; - exports.GetTenantById = GetTenantById; - exports.GetTenants = GetTenants; - exports.TENANT_MANAGEMENT_ROUTES = TENANT_MANAGEMENT_ROUTES; - exports.TenantManagementModule = TenantManagementModule; - exports.TenantManagementProviders = TenantManagementProviders; - exports.TenantManagementService = TenantManagementService; - exports.TenantManagementState = TenantManagementState; - exports.TenantManagementStateService = TenantManagementStateService; - exports.TenantsComponent = TenantsComponent; - exports.UpdateTenant = UpdateTenant; - exports.ɵa = TenantsComponent; - exports.ɵb = TenantManagementState; - exports.ɵc = TenantManagementService; - exports.ɵd = GetTenants; - exports.ɵe = GetTenantById; - exports.ɵf = CreateTenant; - exports.ɵg = UpdateTenant; - exports.ɵh = DeleteTenant; - exports.ɵj = TenantManagementRoutingModule; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); -//# sourceMappingURL=abp-ng.tenant-management.umd.js.map diff --git a/npm/ng-packs/dist/tenant-management/bundles/abp-ng.tenant-management.umd.js.map b/npm/ng-packs/dist/tenant-management/bundles/abp-ng.tenant-management.umd.js.map deleted file mode 100644 index 17b8756b08f..00000000000 --- a/npm/ng-packs/dist/tenant-management/bundles/abp-ng.tenant-management.umd.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.tenant-management.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","ng://@abp/ng.tenant-management/lib/actions/tenant-management.actions.ts","ng://@abp/ng.tenant-management/lib/services/tenant-management.service.ts","ng://@abp/ng.tenant-management/lib/states/tenant-management.state.ts","ng://@abp/ng.tenant-management/lib/components/tenants/tenants.component.ts","ng://@abp/ng.tenant-management/lib/tenant-management-routing.module.ts","ng://@abp/ng.tenant-management/lib/tenant-management.module.ts","ng://@abp/ng.tenant-management/lib/constants/routes.ts","ng://@abp/ng.tenant-management/lib/models/tenant-management.ts","ng://@abp/ng.tenant-management/lib/services/tenant-management-state.service.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { TenantManagement } from '../models/tenant-management';\r\nimport { ABP } from '@abp/ng.core';\r\n\r\nexport class GetTenants {\r\n static readonly type = '[TenantManagement] Get Tenant';\r\n constructor(public payload?: ABP.PageQueryParams) {}\r\n}\r\n\r\nexport class GetTenantById {\r\n static readonly type = '[TenantManagement] Get Tenant By Id';\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class CreateTenant {\r\n static readonly type = '[TenantManagement] Create Tenant';\r\n constructor(public payload: TenantManagement.AddRequest) {}\r\n}\r\n\r\nexport class UpdateTenant {\r\n static readonly type = '[TenantManagement] Update Tenant';\r\n constructor(public payload: TenantManagement.UpdateRequest) {}\r\n}\r\n\r\nexport class DeleteTenant {\r\n static readonly type = '[TenantManagement] Delete Tenant';\r\n constructor(public payload: string) {}\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RestService, Rest, ABP } from '@abp/ng.core';\r\nimport { TenantManagement } from '../models/tenant-management';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TenantManagementService {\r\n constructor(private rest: RestService) {}\r\n\r\n getTenant(params = {} as ABP.PageQueryParams): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/multi-tenancy/tenants',\r\n params\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getTenantById(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: `/api/multi-tenancy/tenants/${id}`\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n deleteTenant(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'DELETE',\r\n url: `/api/multi-tenancy/tenants/${id}`\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n createTenant(body: TenantManagement.AddRequest): Observable {\r\n const request: Rest.Request = {\r\n method: 'POST',\r\n url: '/api/multi-tenancy/tenants',\r\n body\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n updateTenant(body: TenantManagement.UpdateRequest): Observable {\r\n const url = `/api/multi-tenancy/tenants/${body.id}`;\r\n delete body.id;\r\n\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url,\r\n body\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getDefaultConnectionString(id: string): Observable {\r\n const url = `/api/multi-tenancy/tenants/${id}/default-connection-string`;\r\n\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n responseType: Rest.ResponseType.Text,\r\n url\r\n };\r\n return this.rest.request(request);\r\n }\r\n\r\n updateDefaultConnectionString(payload: TenantManagement.DefaultConnectionStringRequest): Observable {\r\n const url = `/api/multi-tenancy/tenants/${payload.id}/default-connection-string`;\r\n\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url,\r\n params: { defaultConnectionString: payload.defaultConnectionString }\r\n };\r\n return this.rest.request(request);\r\n }\r\n\r\n deleteDefaultConnectionString(id: string): Observable {\r\n const url = `/api/multi-tenancy/tenants/${id}/default-connection-string`;\r\n\r\n const request: Rest.Request = {\r\n method: 'DELETE',\r\n url\r\n };\r\n return this.rest.request(request);\r\n }\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { switchMap, tap } from 'rxjs/operators';\r\nimport {\r\n CreateTenant,\r\n DeleteTenant,\r\n GetTenants,\r\n GetTenantById,\r\n UpdateTenant,\r\n} from '../actions/tenant-management.actions';\r\nimport { TenantManagement } from '../models/tenant-management';\r\nimport { TenantManagementService } from '../services/tenant-management.service';\r\nimport { ABP } from '@abp/ng.core';\r\n\r\n@State({\r\n name: 'TenantManagementState',\r\n defaults: { result: {}, selectedItem: {} } as TenantManagement.State,\r\n})\r\nexport class TenantManagementState {\r\n @Selector()\r\n static get({ result }: TenantManagement.State): ABP.BasicItem[] {\r\n return result.items || [];\r\n }\r\n\r\n @Selector()\r\n static getTenantsTotalCount({ result }: TenantManagement.State): number {\r\n return result.totalCount;\r\n }\r\n\r\n constructor(private tenantManagementService: TenantManagementService) {}\r\n\r\n @Action(GetTenants)\r\n get({ patchState }: StateContext, { payload }: GetTenants) {\r\n return this.tenantManagementService.getTenant(payload).pipe(\r\n tap(result =>\r\n patchState({\r\n result,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(GetTenantById)\r\n getById({ patchState }: StateContext, { payload }: GetTenantById) {\r\n return this.tenantManagementService.getTenantById(payload).pipe(\r\n tap(selectedItem =>\r\n patchState({\r\n selectedItem,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(DeleteTenant)\r\n delete(_, { payload }: DeleteTenant) {\r\n return this.tenantManagementService.deleteTenant(payload);\r\n }\r\n\r\n @Action(CreateTenant)\r\n add(_, { payload }: CreateTenant) {\r\n return this.tenantManagementService.createTenant(payload);\r\n }\r\n\r\n @Action(UpdateTenant)\r\n update({ getState }: StateContext, { payload }: UpdateTenant) {\r\n return this.tenantManagementService.updateTenant({ ...getState().selectedItem, ...payload });\r\n }\r\n}\r\n","import { ABP } from '@abp/ng.core';\r\nimport { ConfirmationService, Toaster } from '@abp/ng.theme.shared';\r\nimport { Component, OnInit, TemplateRef, ViewChild, ChangeDetectorRef } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { finalize, pluck, switchMap, take } from 'rxjs/operators';\r\nimport {\r\n CreateTenant,\r\n DeleteTenant,\r\n GetTenantById,\r\n GetTenants,\r\n UpdateTenant,\r\n} from '../../actions/tenant-management.actions';\r\nimport { TenantManagementService } from '../../services/tenant-management.service';\r\nimport { TenantManagementState } from '../../states/tenant-management.state';\r\n\r\ninterface SelectedModalContent {\r\n type: 'saveConnStr' | 'saveTenant';\r\n title: string;\r\n template: TemplateRef;\r\n}\r\n\r\n@Component({\r\n selector: 'abp-tenants',\r\n templateUrl: './tenants.component.html',\r\n})\r\nexport class TenantsComponent implements OnInit {\r\n @Select(TenantManagementState.get)\r\n data$: Observable;\r\n\r\n @Select(TenantManagementState.getTenantsTotalCount)\r\n totalCount$: Observable;\r\n\r\n selected: ABP.BasicItem;\r\n\r\n tenantForm: FormGroup;\r\n\r\n defaultConnectionStringForm: FormGroup;\r\n\r\n defaultConnectionString: string;\r\n\r\n isModalVisible: boolean;\r\n\r\n selectedModalContent = {} as SelectedModalContent;\r\n\r\n visibleFeatures = false;\r\n\r\n providerKey: string;\r\n\r\n _useSharedDatabase: boolean;\r\n\r\n pageQuery: ABP.PageQueryParams = {};\r\n\r\n loading = false;\r\n\r\n modalBusy = false;\r\n\r\n sortOrder = '';\r\n\r\n sortKey = '';\r\n\r\n get useSharedDatabase(): boolean {\r\n return this.defaultConnectionStringForm.get('useSharedDatabase').value;\r\n }\r\n\r\n get connectionString(): string {\r\n return this.defaultConnectionStringForm.get('defaultConnectionString').value;\r\n }\r\n\r\n @ViewChild('tenantModalTemplate', { static: false })\r\n tenantModalTemplate: TemplateRef;\r\n\r\n @ViewChild('connectionStringModalTemplate', { static: false })\r\n connectionStringModalTemplate: TemplateRef;\r\n\r\n get isDisabledSaveButton(): boolean {\r\n if (!this.selectedModalContent) return false;\r\n\r\n if (\r\n this.selectedModalContent.type === 'saveConnStr' &&\r\n this.defaultConnectionStringForm &&\r\n this.defaultConnectionStringForm.invalid\r\n ) {\r\n return true;\r\n } else if (\r\n this.selectedModalContent.type === 'saveTenant' &&\r\n this.tenantForm &&\r\n this.tenantForm.invalid\r\n ) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n constructor(\r\n private confirmationService: ConfirmationService,\r\n private tenantService: TenantManagementService,\r\n private fb: FormBuilder,\r\n private store: Store,\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.get();\r\n }\r\n\r\n onSearch(value) {\r\n this.pageQuery.filter = value;\r\n this.get();\r\n }\r\n\r\n private createTenantForm() {\r\n this.tenantForm = this.fb.group({\r\n name: [this.selected.name || '', [Validators.required, Validators.maxLength(256)]],\r\n });\r\n }\r\n\r\n private createDefaultConnectionStringForm() {\r\n this.defaultConnectionStringForm = this.fb.group({\r\n useSharedDatabase: this._useSharedDatabase,\r\n defaultConnectionString: [this.defaultConnectionString || ''],\r\n });\r\n }\r\n\r\n openModal(title: string, template: TemplateRef, type: 'saveConnStr' | 'saveTenant') {\r\n this.selectedModalContent = {\r\n title,\r\n template,\r\n type,\r\n };\r\n\r\n this.isModalVisible = true;\r\n }\r\n\r\n onEditConnectionString(id: string) {\r\n this.store\r\n .dispatch(new GetTenantById(id))\r\n .pipe(\r\n pluck('TenantManagementState', 'selectedItem'),\r\n switchMap(selected => {\r\n this.selected = selected;\r\n return this.tenantService.getDefaultConnectionString(id);\r\n }),\r\n )\r\n .subscribe(fetchedConnectionString => {\r\n this._useSharedDatabase = fetchedConnectionString ? false : true;\r\n this.defaultConnectionString = fetchedConnectionString ? fetchedConnectionString : '';\r\n this.createDefaultConnectionStringForm();\r\n this.openModal(\r\n 'AbpTenantManagement::ConnectionStrings',\r\n this.connectionStringModalTemplate,\r\n 'saveConnStr',\r\n );\r\n });\r\n }\r\n\r\n addTenant() {\r\n this.selected = {} as ABP.BasicItem;\r\n this.createTenantForm();\r\n this.openModal('AbpTenantManagement::NewTenant', this.tenantModalTemplate, 'saveTenant');\r\n }\r\n\r\n editTenant(id: string) {\r\n this.store\r\n .dispatch(new GetTenantById(id))\r\n .pipe(pluck('TenantManagementState', 'selectedItem'))\r\n .subscribe(selected => {\r\n this.selected = selected;\r\n this.createTenantForm();\r\n this.openModal('AbpTenantManagement::Edit', this.tenantModalTemplate, 'saveTenant');\r\n });\r\n }\r\n\r\n save() {\r\n const { type } = this.selectedModalContent;\r\n if (!type) return;\r\n if (type === 'saveTenant') this.saveTenant();\r\n else if (type === 'saveConnStr') this.saveConnectionString();\r\n }\r\n\r\n saveConnectionString() {\r\n if (this.modalBusy) return;\r\n\r\n this.modalBusy = true;\r\n if (this.useSharedDatabase || (!this.useSharedDatabase && !this.connectionString)) {\r\n this.tenantService\r\n .deleteDefaultConnectionString(this.selected.id)\r\n .pipe(\r\n take(1),\r\n finalize(() => (this.modalBusy = false)),\r\n )\r\n .subscribe(() => {\r\n this.isModalVisible = false;\r\n });\r\n } else {\r\n this.tenantService\r\n .updateDefaultConnectionString({\r\n id: this.selected.id,\r\n defaultConnectionString: this.connectionString,\r\n })\r\n .pipe(\r\n take(1),\r\n finalize(() => (this.modalBusy = false)),\r\n )\r\n .subscribe(() => {\r\n this.isModalVisible = false;\r\n });\r\n }\r\n }\r\n\r\n saveTenant() {\r\n if (!this.tenantForm.valid || this.modalBusy) return;\r\n this.modalBusy = true;\r\n\r\n this.store\r\n .dispatch(\r\n this.selected.id\r\n ? new UpdateTenant({ ...this.selected, ...this.tenantForm.value, id: this.selected.id })\r\n : new CreateTenant(this.tenantForm.value),\r\n )\r\n .pipe(finalize(() => (this.modalBusy = false)))\r\n .subscribe(() => {\r\n this.isModalVisible = false;\r\n this.get();\r\n });\r\n }\r\n\r\n delete(id: string, name: string) {\r\n this.confirmationService\r\n .warn(\r\n 'AbpTenantManagement::TenantDeletionConfirmationMessage',\r\n 'AbpTenantManagement::AreYouSure',\r\n {\r\n messageLocalizationParams: [name],\r\n },\r\n )\r\n .subscribe((status: Toaster.Status) => {\r\n if (status === Toaster.Status.confirm) {\r\n this.store.dispatch(new DeleteTenant(id)).subscribe(() => this.get());\r\n }\r\n });\r\n }\r\n\r\n onPageChange(data) {\r\n this.pageQuery.skipCount = data.first;\r\n this.pageQuery.maxResultCount = data.rows;\r\n\r\n this.get();\r\n }\r\n\r\n get() {\r\n this.loading = true;\r\n this.store\r\n .dispatch(new GetTenants(this.pageQuery))\r\n .pipe(finalize(() => (this.loading = false)))\r\n .subscribe();\r\n }\r\n\r\n onSharedDatabaseChange(value: boolean) {\r\n if (!value) {\r\n setTimeout(() => {\r\n const defaultConnectionString = document.getElementById(\r\n 'defaultConnectionString',\r\n ) as HTMLInputElement;\r\n if (defaultConnectionString) {\r\n defaultConnectionString.focus();\r\n }\r\n }, 0);\r\n }\r\n }\r\n}\r\n","import { AuthGuard, DynamicLayoutComponent, PermissionGuard } from '@abp/ng.core';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { TenantsComponent } from './components/tenants/tenants.component';\r\n\r\nconst routes: Routes = [\r\n { path: '', redirectTo: 'tenants', pathMatch: 'full' },\r\n {\r\n path: 'tenants',\r\n component: DynamicLayoutComponent,\r\n canActivate: [AuthGuard, PermissionGuard],\r\n data: { requiredPolicy: 'AbpTenantManagement.Tenants' },\r\n children: [{ path: '', component: TenantsComponent }],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class TenantManagementRoutingModule {}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule, Provider } from '@angular/core';\r\nimport { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { TableModule } from 'primeng/table';\r\nimport { TenantsComponent } from './components/tenants/tenants.component';\r\nimport { TenantManagementState } from './states/tenant-management.state';\r\nimport { TenantManagementRoutingModule } from './tenant-management-routing.module';\r\nimport { FeatureManagementModule } from '@abp/ng.feature-management';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\n\r\n@NgModule({\r\n declarations: [TenantsComponent],\r\n imports: [\r\n TenantManagementRoutingModule,\r\n NgxsModule.forFeature([TenantManagementState]),\r\n NgxValidateCoreModule,\r\n CoreModule,\r\n TableModule,\r\n ThemeSharedModule,\r\n NgbDropdownModule,\r\n FeatureManagementModule,\r\n ],\r\n})\r\nexport class TenantManagementModule {}\r\n\r\n/**\r\n *\r\n * @deprecated since version 0.9.0\r\n */\r\nexport function TenantManagementProviders(): Provider[] {\r\n return [];\r\n}\r\n","import { ABP, eLayoutType } from '@abp/ng.core';\r\n\r\n/**\r\n *\r\n * @deprecated since version 0.9.0\r\n */\r\nexport const TENANT_MANAGEMENT_ROUTES = {\r\n routes: [\r\n {\r\n name: 'AbpTenantManagement::Menu:TenantManagement',\r\n path: 'tenant-management',\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-users',\r\n children: [\r\n {\r\n path: 'tenants',\r\n name: 'AbpTenantManagement::Tenants',\r\n order: 1,\r\n requiredPolicy: 'AbpTenantManagement.Tenants',\r\n },\r\n ],\r\n },\r\n ] as ABP.FullRoute[],\r\n};\r\n","import { ABP } from '@abp/ng.core';\r\n\r\nexport namespace TenantManagement {\r\n export interface State {\r\n result: Response;\r\n selectedItem: Item;\r\n }\r\n\r\n export type Response = ABP.PagedResponse;\r\n\r\n export interface Item {\r\n id: string;\r\n name: string;\r\n }\r\n\r\n export interface AddRequest {\r\n name: string;\r\n }\r\n\r\n export interface UpdateRequest extends AddRequest {\r\n id: string;\r\n }\r\n\r\n export interface DefaultConnectionStringRequest {\r\n id: string;\r\n defaultConnectionString: string;\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { TenantManagementState } from '../states/tenant-management.state';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class TenantManagementStateService {\r\n constructor(private store: Store) {}\r\n\r\n get() {\r\n return this.store.selectSnapshot(TenantManagementState.get);\r\n }\r\n\r\n getTenantsTotalCount() {\r\n return this.store.selectSnapshot(TenantManagementState.getTenantsTotalCount);\r\n }\r\n}\r\n"],"names":["Injectable","RestService","tap","tslib_1.__decorate","Action","Selector","State","Validators","pluck","switchMap","take","finalize","Component","ConfirmationService","FormBuilder","Store","ViewChild","Select","Observable","DynamicLayoutComponent","AuthGuard","PermissionGuard","NgModule","RouterModule","NgxsModule","NgxValidateCoreModule","CoreModule","TableModule","ThemeSharedModule","NgbDropdownModule","FeatureManagementModule"],"mappings":";;;;;;IAAA;IACA;IACA;IACA;IACA;;IAEA;IACA;IACA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QAEpC,0CAAG;;;QAAH;YACE,OAAO,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAC;SAC7D;;;;QAED,2DAAoB;;;QAApB;YACE,OAAO,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,CAAC;SAC9E;;oBAZF9B,eAAU,SAAC;wBACV,UAAU,EAAE,MAAM;qBACnB;;;;oBALQe,WAAK;;;2CADd;KAIA,IAaC;;;;;;QATa,6CAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/bundles/abp-ng.tenant-management.umd.min.js b/npm/ng-packs/dist/tenant-management/bundles/abp-ng.tenant-management.umd.min.js deleted file mode 100644 index 13864664aaf..00000000000 --- a/npm/ng-packs/dist/tenant-management/bundles/abp-ng.tenant-management.umd.min.js +++ /dev/null @@ -1,16 +0,0 @@ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@abp/ng.core"),require("@abp/ng.theme.shared"),require("@angular/core"),require("@ng-bootstrap/ng-bootstrap"),require("@ngxs/store"),require("primeng/table"),require("@angular/forms"),require("rxjs"),require("rxjs/operators"),require("@angular/router"),require("@abp/ng.feature-management"),require("@ngx-validate/core")):"function"==typeof define&&define.amd?define("@abp/ng.tenant-management",["exports","@abp/ng.core","@abp/ng.theme.shared","@angular/core","@ng-bootstrap/ng-bootstrap","@ngxs/store","primeng/table","@angular/forms","rxjs","rxjs/operators","@angular/router","@abp/ng.feature-management","@ngx-validate/core"],t):t(((e=e||self).abp=e.abp||{},e.abp.ng=e.abp.ng||{},e.abp.ng["tenant-management"]={}),e.ng_core,e.ng_theme_shared,e.ng.core,e.ngBootstrap,e.store,e.table,e.ng.forms,e.rxjs,e.rxjs.operators,e.ng.router,e.ng_featureManagement,e.core$1)}(this,(function(e,t,n,a,r,o,i,s,l,c,p,u,d){"use strict"; -/*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */var g=function(){return(g=Object.assign||function(e){for(var t,n=1,a=arguments.length;n=0;s--)(r=e[s])&&(i=(o<3?r(i):o>3?r(t,n,i):r(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function b(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}var f=function(){function e(e){this.payload=e}return e.type="[TenantManagement] Get Tenant",e}();var h=function(){function e(e){this.payload=e}return e.type="[TenantManagement] Get Tenant By Id",e}();var y=function(){function e(e){this.payload=e}return e.type="[TenantManagement] Create Tenant",e}();var v=function(){function e(e){this.payload=e}return e.type="[TenantManagement] Update Tenant",e}();var T=function(){function e(e){this.payload=e}return e.type="[TenantManagement] Delete Tenant",e}();var S=function(){function e(e){this.rest=e}return e.prototype.getTenant=function(e){void 0===e&&(e={});var t={method:"GET",url:"/api/multi-tenancy/tenants",params:e};return this.rest.request(t)},e.prototype.getTenantById=function(e){var t={method:"GET",url:"/api/multi-tenancy/tenants/"+e};return this.rest.request(t)},e.prototype.deleteTenant=function(e){var t={method:"DELETE",url:"/api/multi-tenancy/tenants/"+e};return this.rest.request(t)},e.prototype.createTenant=function(e){var t={method:"POST",url:"/api/multi-tenancy/tenants",body:e};return this.rest.request(t)},e.prototype.updateTenant=function(e){var t="/api/multi-tenancy/tenants/"+e.id;delete e.id;var n={method:"PUT",url:t,body:e};return this.rest.request(n)},e.prototype.getDefaultConnectionString=function(e){var t={method:"GET",responseType:"text",url:"/api/multi-tenancy/tenants/"+e+"/default-connection-string"};return this.rest.request(t)},e.prototype.updateDefaultConnectionString=function(e){var t={method:"PUT",url:"/api/multi-tenancy/tenants/"+e.id+"/default-connection-string",params:{defaultConnectionString:e.defaultConnectionString}};return this.rest.request(t)},e.prototype.deleteDefaultConnectionString=function(e){var t={method:"DELETE",url:"/api/multi-tenancy/tenants/"+e+"/default-connection-string"};return this.rest.request(t)},e.decorators=[{type:a.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:t.RestService}]},e.ngInjectableDef=a.ɵɵdefineInjectable({factory:function(){return new e(a.ɵɵinject(t.RestService))},token:e,providedIn:"root"}),e}();var M=function(){function e(e){this.tenantManagementService=e}return e.get=function(e){return e.result.items||[]},e.getTenantsTotalCount=function(e){return e.result.totalCount},e.prototype.get=function(e,t){var n=e.patchState,a=t.payload;return this.tenantManagementService.getTenant(a).pipe(c.tap((function(e){return n({result:e})})))},e.prototype.getById=function(e,t){var n=e.patchState,a=t.payload;return this.tenantManagementService.getTenantById(a).pipe(c.tap((function(e){return n({selectedItem:e})})))},e.prototype.delete=function(e,t){var n=t.payload;return this.tenantManagementService.deleteTenant(n)},e.prototype.add=function(e,t){var n=t.payload;return this.tenantManagementService.createTenant(n)},e.prototype.update=function(e,t){var n=e.getState,a=t.payload;return this.tenantManagementService.updateTenant(g({},n().selectedItem,a))},e.ctorParameters=function(){return[{type:S}]},m([o.Action(f),b("design:type",Function),b("design:paramtypes",[Object,f]),b("design:returntype",void 0)],e.prototype,"get",null),m([o.Action(h),b("design:type",Function),b("design:paramtypes",[Object,h]),b("design:returntype",void 0)],e.prototype,"getById",null),m([o.Action(T),b("design:type",Function),b("design:paramtypes",[Object,T]),b("design:returntype",void 0)],e.prototype,"delete",null),m([o.Action(y),b("design:type",Function),b("design:paramtypes",[Object,y]),b("design:returntype",void 0)],e.prototype,"add",null),m([o.Action(v),b("design:type",Function),b("design:paramtypes",[Object,v]),b("design:returntype",void 0)],e.prototype,"update",null),m([o.Selector(),b("design:type",Function),b("design:paramtypes",[Object]),b("design:returntype",Array)],e,"get",null),m([o.Selector(),b("design:type",Function),b("design:paramtypes",[Object]),b("design:returntype",Number)],e,"getTenantsTotalCount",null),e=m([o.State({name:"TenantManagementState",defaults:{result:{},selectedItem:{}}}),b("design:paramtypes",[S])],e)}();var C=function(){function e(e,t,n,a){this.confirmationService=e,this.tenantService=t,this.fb=n,this.store=a,this.selectedModalContent={},this.visibleFeatures=!1,this.pageQuery={},this.loading=!1,this.modalBusy=!1,this.sortOrder="",this.sortKey=""}return Object.defineProperty(e.prototype,"useSharedDatabase",{get:function(){return this.defaultConnectionStringForm.get("useSharedDatabase").value},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"connectionString",{get:function(){return this.defaultConnectionStringForm.get("defaultConnectionString").value},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDisabledSaveButton",{get:function(){return!!this.selectedModalContent&&(!("saveConnStr"!==this.selectedModalContent.type||!this.defaultConnectionStringForm||!this.defaultConnectionStringForm.invalid)||!("saveTenant"!==this.selectedModalContent.type||!this.tenantForm||!this.tenantForm.invalid))},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.get()},e.prototype.onSearch=function(e){this.pageQuery.filter=e,this.get()},e.prototype.createTenantForm=function(){this.tenantForm=this.fb.group({name:[this.selected.name||"",[s.Validators.required,s.Validators.maxLength(256)]]})},e.prototype.createDefaultConnectionStringForm=function(){this.defaultConnectionStringForm=this.fb.group({useSharedDatabase:this._useSharedDatabase,defaultConnectionString:[this.defaultConnectionString||""]})},e.prototype.openModal=function(e,t,n){this.selectedModalContent={title:e,template:t,type:n},this.isModalVisible=!0},e.prototype.onEditConnectionString=function(e){var t=this;this.store.dispatch(new h(e)).pipe(c.pluck("TenantManagementState","selectedItem"),c.switchMap((function(n){return t.selected=n,t.tenantService.getDefaultConnectionString(e)}))).subscribe((function(e){t._useSharedDatabase=!e,t.defaultConnectionString=e||"",t.createDefaultConnectionStringForm(),t.openModal("AbpTenantManagement::ConnectionStrings",t.connectionStringModalTemplate,"saveConnStr")}))},e.prototype.addTenant=function(){this.selected={},this.createTenantForm(),this.openModal("AbpTenantManagement::NewTenant",this.tenantModalTemplate,"saveTenant")},e.prototype.editTenant=function(e){var t=this;this.store.dispatch(new h(e)).pipe(c.pluck("TenantManagementState","selectedItem")).subscribe((function(e){t.selected=e,t.createTenantForm(),t.openModal("AbpTenantManagement::Edit",t.tenantModalTemplate,"saveTenant")}))},e.prototype.save=function(){var e=this.selectedModalContent.type;e&&("saveTenant"===e?this.saveTenant():"saveConnStr"===e&&this.saveConnectionString())},e.prototype.saveConnectionString=function(){var e=this;this.modalBusy||(this.modalBusy=!0,this.useSharedDatabase||!this.useSharedDatabase&&!this.connectionString?this.tenantService.deleteDefaultConnectionString(this.selected.id).pipe(c.take(1),c.finalize((function(){return e.modalBusy=!1}))).subscribe((function(){e.isModalVisible=!1})):this.tenantService.updateDefaultConnectionString({id:this.selected.id,defaultConnectionString:this.connectionString}).pipe(c.take(1),c.finalize((function(){return e.modalBusy=!1}))).subscribe((function(){e.isModalVisible=!1})))},e.prototype.saveTenant=function(){var e=this;this.tenantForm.valid&&!this.modalBusy&&(this.modalBusy=!0,this.store.dispatch(this.selected.id?new v(g({},this.selected,this.tenantForm.value,{id:this.selected.id})):new y(this.tenantForm.value)).pipe(c.finalize((function(){return e.modalBusy=!1}))).subscribe((function(){e.isModalVisible=!1,e.get()})))},e.prototype.delete=function(e,t){var n=this;this.confirmationService.warn("AbpTenantManagement::TenantDeletionConfirmationMessage","AbpTenantManagement::AreYouSure",{messageLocalizationParams:[t]}).subscribe((function(t){"confirm"===t&&n.store.dispatch(new T(e)).subscribe((function(){return n.get()}))}))},e.prototype.onPageChange=function(e){this.pageQuery.skipCount=e.first,this.pageQuery.maxResultCount=e.rows,this.get()},e.prototype.get=function(){var e=this;this.loading=!0,this.store.dispatch(new f(this.pageQuery)).pipe(c.finalize((function(){return e.loading=!1}))).subscribe()},e.prototype.onSharedDatabaseChange=function(e){e||setTimeout((function(){var e=document.getElementById("defaultConnectionString");e&&e.focus()}),0)},e.decorators=[{type:a.Component,args:[{selector:"abp-tenants",template:'
\r\n
\r\n
\r\n
\r\n
{{ \'AbpTenantManagement::Tenants\' | abpLocalization }}
\r\n
\r\n
\r\n \r\n \r\n {{ \'AbpTenantManagement::NewTenant\' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ \'AbpTenantManagement::Actions\' | abpLocalization }}\r\n \r\n {{ \'AbpTenantManagement::TenantName\' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ \'AbpTenantManagement::Actions\' | abpLocalization }}\r\n \r\n
\r\n \r\n {{ \'AbpTenantManagement::Edit\' | abpLocalization }}\r\n \r\n \r\n {{ \'AbpTenantManagement::Permission:ManageConnectionStrings\' | abpLocalization }}\r\n \r\n \r\n {{ \'AbpTenantManagement::Permission:ManageFeatures\' | abpLocalization }}\r\n \r\n \r\n {{ \'AbpTenantManagement::Delete\' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n {{ data.name }}\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n

{{ selectedModalContent.title | abpLocalization }}

\r\n
\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n {{\r\n \'AbpIdentity::Save\' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n'}]}],e.ctorParameters=function(){return[{type:n.ConfirmationService},{type:S},{type:s.FormBuilder},{type:o.Store}]},e.propDecorators={tenantModalTemplate:[{type:a.ViewChild,args:["tenantModalTemplate",{static:!1}]}],connectionStringModalTemplate:[{type:a.ViewChild,args:["connectionStringModalTemplate",{static:!1}]}]},m([o.Select(M.get),b("design:type",l.Observable)],e.prototype,"data$",void 0),m([o.Select(M.getTenantsTotalCount),b("design:type",l.Observable)],e.prototype,"totalCount$",void 0),e}();var D=[{path:"",redirectTo:"tenants",pathMatch:"full"},{path:"tenants",component:t.DynamicLayoutComponent,canActivate:[t.AuthGuard,t.PermissionGuard],data:{requiredPolicy:"AbpTenantManagement.Tenants"},children:[{path:"",component:C}]}],A=function(){function e(){}return e.decorators=[{type:a.NgModule,args:[{imports:[p.RouterModule.forChild(D)],exports:[p.RouterModule]}]}],e}(),F=function(){function e(){}return e.decorators=[{type:a.NgModule,args:[{declarations:[C],imports:[A,o.NgxsModule.forFeature([M]),d.NgxValidateCoreModule,t.CoreModule,i.TableModule,n.ThemeSharedModule,r.NgbDropdownModule,u.FeatureManagementModule]}]}],e}();var I;!function(e){function t(){}function n(){}function a(){}function r(){}function o(){}e.State=t,e.Item=n,e.AddRequest=a,e.UpdateRequest=r,e.DefaultConnectionStringRequest=o}(I||(I={}));var j=function(){function e(e){this.store=e}return e.prototype.get=function(){return this.store.selectSnapshot(M.get)},e.prototype.getTenantsTotalCount=function(){return this.store.selectSnapshot(M.getTenantsTotalCount)},e.decorators=[{type:a.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:o.Store}]},e.ngInjectableDef=a.ɵɵdefineInjectable({factory:function(){return new e(a.ɵɵinject(o.Store))},token:e,providedIn:"root"}),e}();e.CreateTenant=y,e.DeleteTenant=T,e.GetTenantById=h,e.GetTenants=f,e.TENANT_MANAGEMENT_ROUTES={routes:[{name:"AbpTenantManagement::Menu:TenantManagement",path:"tenant-management",parentName:"AbpUiNavigation::Menu:Administration",layout:"application",iconClass:"fa fa-users",children:[{path:"tenants",name:"AbpTenantManagement::Tenants",order:1,requiredPolicy:"AbpTenantManagement.Tenants"}]}]},e.TenantManagementModule=F,e.TenantManagementProviders=function(){return[]},e.TenantManagementService=S,e.TenantManagementState=M,e.TenantManagementStateService=j,e.TenantsComponent=C,e.UpdateTenant=v,e.ɵa=C,e.ɵb=M,e.ɵc=S,e.ɵd=f,e.ɵe=h,e.ɵf=y,e.ɵg=v,e.ɵh=T,e.ɵj=A,Object.defineProperty(e,"__esModule",{value:!0})})); -//# sourceMappingURL=abp-ng.tenant-management.umd.min.js.map \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/bundles/abp-ng.tenant-management.umd.min.js.map b/npm/ng-packs/dist/tenant-management/bundles/abp-ng.tenant-management.umd.min.js.map deleted file mode 100644 index c5b17820982..00000000000 --- a/npm/ng-packs/dist/tenant-management/bundles/abp-ng.tenant-management.umd.min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@abp/ng.tenant-management/lib/actions/tenant-management.actions.ts","ng://@abp/ng.tenant-management/lib/services/tenant-management.service.ts","ng://@abp/ng.tenant-management/lib/states/tenant-management.state.ts","ng://@abp/ng.tenant-management/lib/components/tenants/tenants.component.ts","ng://@abp/ng.tenant-management/lib/tenant-management-routing.module.ts","ng://@abp/ng.tenant-management/lib/tenant-management.module.ts","ng://@abp/ng.tenant-management/lib/constants/routes.ts","ng://@abp/ng.tenant-management/lib/models/tenant-management.ts","ng://@abp/ng.tenant-management/lib/services/tenant-management-state.service.ts"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__decorate","decorators","target","key","desc","d","c","r","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","__metadata","metadataKey","metadataValue","metadata","GetTenants","payload","type","GetTenantById","CreateTenant","UpdateTenant","DeleteTenant","TenantManagementService","rest","getTenant","params","request","method","url","getTenantById","id","deleteTenant","createTenant","body","updateTenant","getDefaultConnectionString","responseType","updateDefaultConnectionString","defaultConnectionString","deleteDefaultConnectionString","Injectable","args","providedIn","RestService","TenantManagementState","tenantManagementService","get","_a","result","items","getTenantsTotalCount","totalCount","_b","patchState","pipe","tap","getById","selectedItem","delete","_","add","update","getState","tslib_1.__decorate","Action","Selector","State","name","defaults","TenantsComponent","confirmationService","tenantService","fb","store","selectedModalContent","visibleFeatures","pageQuery","loading","modalBusy","sortOrder","sortKey","defaultConnectionStringForm","value","invalid","tenantForm","ngOnInit","onSearch","filter","createTenantForm","group","selected","Validators","required","maxLength","createDefaultConnectionStringForm","useSharedDatabase","_useSharedDatabase","openModal","title","template","isModalVisible","onEditConnectionString","_this","dispatch","pluck","switchMap","subscribe","fetchedConnectionString","connectionStringModalTemplate","addTenant","tenantModalTemplate","editTenant","save","saveTenant","saveConnectionString","connectionString","take","finalize","valid","warn","messageLocalizationParams","status","onPageChange","data","skipCount","first","maxResultCount","rows","onSharedDatabaseChange","setTimeout","document","getElementById","focus","Component","selector","ConfirmationService","FormBuilder","Store","ViewChild","static","Select","Observable","routes","path","redirectTo","pathMatch","component","DynamicLayoutComponent","canActivate","AuthGuard","PermissionGuard","requiredPolicy","children","TenantManagementRoutingModule","NgModule","imports","RouterModule","forChild","exports","TenantManagementModule","declarations","NgxsModule","forFeature","NgxValidateCoreModule","CoreModule","TableModule","ThemeSharedModule","NgbDropdownModule","FeatureManagementModule","TenantManagement","Item","AddRequest","UpdateRequest","DefaultConnectionStringRequest","TenantManagementStateService","selectSnapshot","parentName","layout","iconClass","order"],"mappings":";;;;;;;;;;;;;;oFA6BO,IAAIA,EAAW,WAQlB,OAPAA,EAAWC,OAAOC,QAAU,SAAkBC,GAC1C,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,IAE9E,OAAON,IAEKU,MAAMC,KAA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BAEgCH,EAJ5C,GChBAM,EAAA,WAYA,SAAAA,KAaqC,2BAbpCL,EAAAA,SAAQjH,KAAA,CAAC,CACRuH,aAAc,CAAC3F,GACfsF,QAAS,CACPF,EACAQ,EAAAA,WAAWC,WAAW,CAACtH,IACvBuH,EAAAA,sBACAC,EAAAA,WACAC,EAAAA,YACAC,EAAAA,kBACAC,EAAAA,kBACAC,EAAAA,6BAGiCT,EAzBrC,GCMA,ICJiBU,GAAjB,SAAiBA,GACf,SAAAvG,KAOA,SAAAwG,KAKA,SAAAC,KAIA,SAAAC,KAIA,SAAAC,4FArBF,CAAiBJ,IAAAA,EAAgB,KCFjC,IAAAK,EAAA,WAQE,SAAAA,EAAoBrG,GAAA3E,KAAA2E,MAAAA,SAEpBqG,EAAApL,UAAAoD,IAAA,WACE,OAAOhD,KAAK2E,MAAMsG,eAAenI,EAAsBE,MAGzDgI,EAAApL,UAAAwD,qBAAA,WACE,OAAOpD,KAAK2E,MAAMsG,eAAenI,EAAsBM,2CAX1DV,EAAAA,WAAUC,KAAA,CAAC,CACVC,WAAY,oDAJL+F,EAAAA,qIADT,iGFMwC,CACtCK,OAAM,CACJ,CACE3E,KAAM,6CACN4E,KAAM,oBACNiC,WAAY,uCACZC,OAAM,cACNC,UAAW,cACX1B,SAAU,CACR,CACET,KAAM,UACN5E,KAAM,+BACNgH,MAAO,EACP5B,eAAgB,0FDY1B,WACE,MAAO","sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { TenantManagement } from '../models/tenant-management';\r\nimport { ABP } from '@abp/ng.core';\r\n\r\nexport class GetTenants {\r\n static readonly type = '[TenantManagement] Get Tenant';\r\n constructor(public payload?: ABP.PageQueryParams) {}\r\n}\r\n\r\nexport class GetTenantById {\r\n static readonly type = '[TenantManagement] Get Tenant By Id';\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class CreateTenant {\r\n static readonly type = '[TenantManagement] Create Tenant';\r\n constructor(public payload: TenantManagement.AddRequest) {}\r\n}\r\n\r\nexport class UpdateTenant {\r\n static readonly type = '[TenantManagement] Update Tenant';\r\n constructor(public payload: TenantManagement.UpdateRequest) {}\r\n}\r\n\r\nexport class DeleteTenant {\r\n static readonly type = '[TenantManagement] Delete Tenant';\r\n constructor(public payload: string) {}\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RestService, Rest, ABP } from '@abp/ng.core';\r\nimport { TenantManagement } from '../models/tenant-management';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TenantManagementService {\r\n constructor(private rest: RestService) {}\r\n\r\n getTenant(params = {} as ABP.PageQueryParams): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/multi-tenancy/tenants',\r\n params\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getTenantById(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: `/api/multi-tenancy/tenants/${id}`\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n deleteTenant(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'DELETE',\r\n url: `/api/multi-tenancy/tenants/${id}`\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n createTenant(body: TenantManagement.AddRequest): Observable {\r\n const request: Rest.Request = {\r\n method: 'POST',\r\n url: '/api/multi-tenancy/tenants',\r\n body\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n updateTenant(body: TenantManagement.UpdateRequest): Observable {\r\n const url = `/api/multi-tenancy/tenants/${body.id}`;\r\n delete body.id;\r\n\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url,\r\n body\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getDefaultConnectionString(id: string): Observable {\r\n const url = `/api/multi-tenancy/tenants/${id}/default-connection-string`;\r\n\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n responseType: Rest.ResponseType.Text,\r\n url\r\n };\r\n return this.rest.request(request);\r\n }\r\n\r\n updateDefaultConnectionString(payload: TenantManagement.DefaultConnectionStringRequest): Observable {\r\n const url = `/api/multi-tenancy/tenants/${payload.id}/default-connection-string`;\r\n\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url,\r\n params: { defaultConnectionString: payload.defaultConnectionString }\r\n };\r\n return this.rest.request(request);\r\n }\r\n\r\n deleteDefaultConnectionString(id: string): Observable {\r\n const url = `/api/multi-tenancy/tenants/${id}/default-connection-string`;\r\n\r\n const request: Rest.Request = {\r\n method: 'DELETE',\r\n url\r\n };\r\n return this.rest.request(request);\r\n }\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { switchMap, tap } from 'rxjs/operators';\r\nimport {\r\n CreateTenant,\r\n DeleteTenant,\r\n GetTenants,\r\n GetTenantById,\r\n UpdateTenant,\r\n} from '../actions/tenant-management.actions';\r\nimport { TenantManagement } from '../models/tenant-management';\r\nimport { TenantManagementService } from '../services/tenant-management.service';\r\nimport { ABP } from '@abp/ng.core';\r\n\r\n@State({\r\n name: 'TenantManagementState',\r\n defaults: { result: {}, selectedItem: {} } as TenantManagement.State,\r\n})\r\nexport class TenantManagementState {\r\n @Selector()\r\n static get({ result }: TenantManagement.State): ABP.BasicItem[] {\r\n return result.items || [];\r\n }\r\n\r\n @Selector()\r\n static getTenantsTotalCount({ result }: TenantManagement.State): number {\r\n return result.totalCount;\r\n }\r\n\r\n constructor(private tenantManagementService: TenantManagementService) {}\r\n\r\n @Action(GetTenants)\r\n get({ patchState }: StateContext, { payload }: GetTenants) {\r\n return this.tenantManagementService.getTenant(payload).pipe(\r\n tap(result =>\r\n patchState({\r\n result,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(GetTenantById)\r\n getById({ patchState }: StateContext, { payload }: GetTenantById) {\r\n return this.tenantManagementService.getTenantById(payload).pipe(\r\n tap(selectedItem =>\r\n patchState({\r\n selectedItem,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(DeleteTenant)\r\n delete(_, { payload }: DeleteTenant) {\r\n return this.tenantManagementService.deleteTenant(payload);\r\n }\r\n\r\n @Action(CreateTenant)\r\n add(_, { payload }: CreateTenant) {\r\n return this.tenantManagementService.createTenant(payload);\r\n }\r\n\r\n @Action(UpdateTenant)\r\n update({ getState }: StateContext, { payload }: UpdateTenant) {\r\n return this.tenantManagementService.updateTenant({ ...getState().selectedItem, ...payload });\r\n }\r\n}\r\n","import { ABP } from '@abp/ng.core';\r\nimport { ConfirmationService, Toaster } from '@abp/ng.theme.shared';\r\nimport { Component, OnInit, TemplateRef, ViewChild, ChangeDetectorRef } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { finalize, pluck, switchMap, take } from 'rxjs/operators';\r\nimport {\r\n CreateTenant,\r\n DeleteTenant,\r\n GetTenantById,\r\n GetTenants,\r\n UpdateTenant,\r\n} from '../../actions/tenant-management.actions';\r\nimport { TenantManagementService } from '../../services/tenant-management.service';\r\nimport { TenantManagementState } from '../../states/tenant-management.state';\r\n\r\ninterface SelectedModalContent {\r\n type: 'saveConnStr' | 'saveTenant';\r\n title: string;\r\n template: TemplateRef;\r\n}\r\n\r\n@Component({\r\n selector: 'abp-tenants',\r\n templateUrl: './tenants.component.html',\r\n})\r\nexport class TenantsComponent implements OnInit {\r\n @Select(TenantManagementState.get)\r\n data$: Observable;\r\n\r\n @Select(TenantManagementState.getTenantsTotalCount)\r\n totalCount$: Observable;\r\n\r\n selected: ABP.BasicItem;\r\n\r\n tenantForm: FormGroup;\r\n\r\n defaultConnectionStringForm: FormGroup;\r\n\r\n defaultConnectionString: string;\r\n\r\n isModalVisible: boolean;\r\n\r\n selectedModalContent = {} as SelectedModalContent;\r\n\r\n visibleFeatures = false;\r\n\r\n providerKey: string;\r\n\r\n _useSharedDatabase: boolean;\r\n\r\n pageQuery: ABP.PageQueryParams = {};\r\n\r\n loading = false;\r\n\r\n modalBusy = false;\r\n\r\n sortOrder = '';\r\n\r\n sortKey = '';\r\n\r\n get useSharedDatabase(): boolean {\r\n return this.defaultConnectionStringForm.get('useSharedDatabase').value;\r\n }\r\n\r\n get connectionString(): string {\r\n return this.defaultConnectionStringForm.get('defaultConnectionString').value;\r\n }\r\n\r\n @ViewChild('tenantModalTemplate', { static: false })\r\n tenantModalTemplate: TemplateRef;\r\n\r\n @ViewChild('connectionStringModalTemplate', { static: false })\r\n connectionStringModalTemplate: TemplateRef;\r\n\r\n get isDisabledSaveButton(): boolean {\r\n if (!this.selectedModalContent) return false;\r\n\r\n if (\r\n this.selectedModalContent.type === 'saveConnStr' &&\r\n this.defaultConnectionStringForm &&\r\n this.defaultConnectionStringForm.invalid\r\n ) {\r\n return true;\r\n } else if (\r\n this.selectedModalContent.type === 'saveTenant' &&\r\n this.tenantForm &&\r\n this.tenantForm.invalid\r\n ) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n constructor(\r\n private confirmationService: ConfirmationService,\r\n private tenantService: TenantManagementService,\r\n private fb: FormBuilder,\r\n private store: Store,\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.get();\r\n }\r\n\r\n onSearch(value) {\r\n this.pageQuery.filter = value;\r\n this.get();\r\n }\r\n\r\n private createTenantForm() {\r\n this.tenantForm = this.fb.group({\r\n name: [this.selected.name || '', [Validators.required, Validators.maxLength(256)]],\r\n });\r\n }\r\n\r\n private createDefaultConnectionStringForm() {\r\n this.defaultConnectionStringForm = this.fb.group({\r\n useSharedDatabase: this._useSharedDatabase,\r\n defaultConnectionString: [this.defaultConnectionString || ''],\r\n });\r\n }\r\n\r\n openModal(title: string, template: TemplateRef, type: 'saveConnStr' | 'saveTenant') {\r\n this.selectedModalContent = {\r\n title,\r\n template,\r\n type,\r\n };\r\n\r\n this.isModalVisible = true;\r\n }\r\n\r\n onEditConnectionString(id: string) {\r\n this.store\r\n .dispatch(new GetTenantById(id))\r\n .pipe(\r\n pluck('TenantManagementState', 'selectedItem'),\r\n switchMap(selected => {\r\n this.selected = selected;\r\n return this.tenantService.getDefaultConnectionString(id);\r\n }),\r\n )\r\n .subscribe(fetchedConnectionString => {\r\n this._useSharedDatabase = fetchedConnectionString ? false : true;\r\n this.defaultConnectionString = fetchedConnectionString ? fetchedConnectionString : '';\r\n this.createDefaultConnectionStringForm();\r\n this.openModal(\r\n 'AbpTenantManagement::ConnectionStrings',\r\n this.connectionStringModalTemplate,\r\n 'saveConnStr',\r\n );\r\n });\r\n }\r\n\r\n addTenant() {\r\n this.selected = {} as ABP.BasicItem;\r\n this.createTenantForm();\r\n this.openModal('AbpTenantManagement::NewTenant', this.tenantModalTemplate, 'saveTenant');\r\n }\r\n\r\n editTenant(id: string) {\r\n this.store\r\n .dispatch(new GetTenantById(id))\r\n .pipe(pluck('TenantManagementState', 'selectedItem'))\r\n .subscribe(selected => {\r\n this.selected = selected;\r\n this.createTenantForm();\r\n this.openModal('AbpTenantManagement::Edit', this.tenantModalTemplate, 'saveTenant');\r\n });\r\n }\r\n\r\n save() {\r\n const { type } = this.selectedModalContent;\r\n if (!type) return;\r\n if (type === 'saveTenant') this.saveTenant();\r\n else if (type === 'saveConnStr') this.saveConnectionString();\r\n }\r\n\r\n saveConnectionString() {\r\n if (this.modalBusy) return;\r\n\r\n this.modalBusy = true;\r\n if (this.useSharedDatabase || (!this.useSharedDatabase && !this.connectionString)) {\r\n this.tenantService\r\n .deleteDefaultConnectionString(this.selected.id)\r\n .pipe(\r\n take(1),\r\n finalize(() => (this.modalBusy = false)),\r\n )\r\n .subscribe(() => {\r\n this.isModalVisible = false;\r\n });\r\n } else {\r\n this.tenantService\r\n .updateDefaultConnectionString({\r\n id: this.selected.id,\r\n defaultConnectionString: this.connectionString,\r\n })\r\n .pipe(\r\n take(1),\r\n finalize(() => (this.modalBusy = false)),\r\n )\r\n .subscribe(() => {\r\n this.isModalVisible = false;\r\n });\r\n }\r\n }\r\n\r\n saveTenant() {\r\n if (!this.tenantForm.valid || this.modalBusy) return;\r\n this.modalBusy = true;\r\n\r\n this.store\r\n .dispatch(\r\n this.selected.id\r\n ? new UpdateTenant({ ...this.selected, ...this.tenantForm.value, id: this.selected.id })\r\n : new CreateTenant(this.tenantForm.value),\r\n )\r\n .pipe(finalize(() => (this.modalBusy = false)))\r\n .subscribe(() => {\r\n this.isModalVisible = false;\r\n this.get();\r\n });\r\n }\r\n\r\n delete(id: string, name: string) {\r\n this.confirmationService\r\n .warn(\r\n 'AbpTenantManagement::TenantDeletionConfirmationMessage',\r\n 'AbpTenantManagement::AreYouSure',\r\n {\r\n messageLocalizationParams: [name],\r\n },\r\n )\r\n .subscribe((status: Toaster.Status) => {\r\n if (status === Toaster.Status.confirm) {\r\n this.store.dispatch(new DeleteTenant(id)).subscribe(() => this.get());\r\n }\r\n });\r\n }\r\n\r\n onPageChange(data) {\r\n this.pageQuery.skipCount = data.first;\r\n this.pageQuery.maxResultCount = data.rows;\r\n\r\n this.get();\r\n }\r\n\r\n get() {\r\n this.loading = true;\r\n this.store\r\n .dispatch(new GetTenants(this.pageQuery))\r\n .pipe(finalize(() => (this.loading = false)))\r\n .subscribe();\r\n }\r\n\r\n onSharedDatabaseChange(value: boolean) {\r\n if (!value) {\r\n setTimeout(() => {\r\n const defaultConnectionString = document.getElementById(\r\n 'defaultConnectionString',\r\n ) as HTMLInputElement;\r\n if (defaultConnectionString) {\r\n defaultConnectionString.focus();\r\n }\r\n }, 0);\r\n }\r\n }\r\n}\r\n","import { AuthGuard, DynamicLayoutComponent, PermissionGuard } from '@abp/ng.core';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { TenantsComponent } from './components/tenants/tenants.component';\r\n\r\nconst routes: Routes = [\r\n { path: '', redirectTo: 'tenants', pathMatch: 'full' },\r\n {\r\n path: 'tenants',\r\n component: DynamicLayoutComponent,\r\n canActivate: [AuthGuard, PermissionGuard],\r\n data: { requiredPolicy: 'AbpTenantManagement.Tenants' },\r\n children: [{ path: '', component: TenantsComponent }],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class TenantManagementRoutingModule {}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule, Provider } from '@angular/core';\r\nimport { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { TableModule } from 'primeng/table';\r\nimport { TenantsComponent } from './components/tenants/tenants.component';\r\nimport { TenantManagementState } from './states/tenant-management.state';\r\nimport { TenantManagementRoutingModule } from './tenant-management-routing.module';\r\nimport { FeatureManagementModule } from '@abp/ng.feature-management';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\n\r\n@NgModule({\r\n declarations: [TenantsComponent],\r\n imports: [\r\n TenantManagementRoutingModule,\r\n NgxsModule.forFeature([TenantManagementState]),\r\n NgxValidateCoreModule,\r\n CoreModule,\r\n TableModule,\r\n ThemeSharedModule,\r\n NgbDropdownModule,\r\n FeatureManagementModule,\r\n ],\r\n})\r\nexport class TenantManagementModule {}\r\n\r\n/**\r\n *\r\n * @deprecated since version 0.9.0\r\n */\r\nexport function TenantManagementProviders(): Provider[] {\r\n return [];\r\n}\r\n","import { ABP, eLayoutType } from '@abp/ng.core';\r\n\r\n/**\r\n *\r\n * @deprecated since version 0.9.0\r\n */\r\nexport const TENANT_MANAGEMENT_ROUTES = {\r\n routes: [\r\n {\r\n name: 'AbpTenantManagement::Menu:TenantManagement',\r\n path: 'tenant-management',\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-users',\r\n children: [\r\n {\r\n path: 'tenants',\r\n name: 'AbpTenantManagement::Tenants',\r\n order: 1,\r\n requiredPolicy: 'AbpTenantManagement.Tenants',\r\n },\r\n ],\r\n },\r\n ] as ABP.FullRoute[],\r\n};\r\n","import { ABP } from '@abp/ng.core';\r\n\r\nexport namespace TenantManagement {\r\n export interface State {\r\n result: Response;\r\n selectedItem: Item;\r\n }\r\n\r\n export type Response = ABP.PagedResponse;\r\n\r\n export interface Item {\r\n id: string;\r\n name: string;\r\n }\r\n\r\n export interface AddRequest {\r\n name: string;\r\n }\r\n\r\n export interface UpdateRequest extends AddRequest {\r\n id: string;\r\n }\r\n\r\n export interface DefaultConnectionStringRequest {\r\n id: string;\r\n defaultConnectionString: string;\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { TenantManagementState } from '../states/tenant-management.state';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class TenantManagementStateService {\r\n constructor(private store: Store) {}\r\n\r\n get() {\r\n return this.store.selectSnapshot(TenantManagementState.get);\r\n }\r\n\r\n getTenantsTotalCount() {\r\n return this.store.selectSnapshot(TenantManagementState.getTenantsTotalCount);\r\n }\r\n}\r\n"]} \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm2015/abp-ng.tenant-management.js b/npm/ng-packs/dist/tenant-management/esm2015/abp-ng.tenant-management.js deleted file mode 100644 index 068319f3a64..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm2015/abp-ng.tenant-management.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.tenant-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { TenantManagementProviders, TenantManagementModule, GetTenants, GetTenantById, CreateTenant, UpdateTenant, DeleteTenant, TenantsComponent, TENANT_MANAGEMENT_ROUTES, TenantManagementService, TenantManagementStateService, TenantManagementState } from './public-api'; -export { CreateTenant as ɵf, DeleteTenant as ɵh, GetTenantById as ɵe, GetTenants as ɵd, UpdateTenant as ɵg } from './lib/actions/tenant-management.actions'; -export { TenantsComponent as ɵa } from './lib/components/tenants/tenants.component'; -export { TenantManagementService as ɵc } from './lib/services/tenant-management.service'; -export { TenantManagementState as ɵb } from './lib/states/tenant-management.state'; -export { TenantManagementRoutingModule as ɵj } from './lib/tenant-management-routing.module'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLnRlbmFudC1tYW5hZ2VtZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50ZW5hbnQtbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImFicC1uZy50ZW5hbnQtbWFuYWdlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLGlRQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMsWUFBWSxJQUFJLEVBQUUsRUFBQyxZQUFZLElBQUksRUFBRSxFQUFDLGFBQWEsSUFBSSxFQUFFLEVBQUMsVUFBVSxJQUFJLEVBQUUsRUFBQyxZQUFZLElBQUksRUFBRSxFQUFDLE1BQU0seUNBQXlDLENBQUM7QUFDdEosT0FBTyxFQUFDLGdCQUFnQixJQUFJLEVBQUUsRUFBQyxNQUFNLDR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W9kdWxlIGFzIMm1an0gZnJvbSAnLi9saWIvdGVuYW50LW1hbmFnZW1lbnQtcm91dGluZy5tb2R1bGUnOyJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm2015/lib/actions/index.js b/npm/ng-packs/dist/tenant-management/esm2015/lib/actions/index.js deleted file mode 100644 index d5e1a00b5cc..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm2015/lib/actions/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { GetTenants, GetTenantById, CreateTenant, UpdateTenant, DeleteTenant } from './tenant-management.actions'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL2FjdGlvbnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxvRkFBYyw2QkFBNkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdGVuYW50LW1hbmFnZW1lbnQuYWN0aW9ucyc7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm2015/lib/actions/tenant-management.actions.js b/npm/ng-packs/dist/tenant-management/esm2015/lib/actions/tenant-management.actions.js deleted file mode 100644 index bde05ded20e..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm2015/lib/actions/tenant-management.actions.js +++ /dev/null @@ -1,81 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/tenant-management.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export class GetTenants { - /** - * @param {?=} payload - */ - constructor(payload) { - this.payload = payload; - } -} -GetTenants.type = '[TenantManagement] Get Tenant'; -if (false) { - /** @type {?} */ - GetTenants.type; - /** @type {?} */ - GetTenants.prototype.payload; -} -export class GetTenantById { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -GetTenantById.type = '[TenantManagement] Get Tenant By Id'; -if (false) { - /** @type {?} */ - GetTenantById.type; - /** @type {?} */ - GetTenantById.prototype.payload; -} -export class CreateTenant { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -CreateTenant.type = '[TenantManagement] Create Tenant'; -if (false) { - /** @type {?} */ - CreateTenant.type; - /** @type {?} */ - CreateTenant.prototype.payload; -} -export class UpdateTenant { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -UpdateTenant.type = '[TenantManagement] Update Tenant'; -if (false) { - /** @type {?} */ - UpdateTenant.type; - /** @type {?} */ - UpdateTenant.prototype.payload; -} -export class DeleteTenant { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -DeleteTenant.type = '[TenantManagement] Delete Tenant'; -if (false) { - /** @type {?} */ - DeleteTenant.type; - /** @type {?} */ - DeleteTenant.prototype.payload; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50LW1hbmFnZW1lbnQuYWN0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGVuYW50LW1hbmFnZW1lbnQvIiwic291cmNlcyI6WyJsaWIvYWN0aW9ucy90ZW5hbnQtbWFuYWdlbWVudC5hY3Rpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBR0EsTUFBTSxPQUFPLFVBQVU7Ozs7SUFFckIsWUFBbUIsT0FBNkI7UUFBN0IsWUFBTyxHQUFQLE9BQU8sQ0FBc0I7SUFBRyxDQUFDOztBQURwQyxlQUFJLEdBQUcsK0JBQStCLENBQUM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FRlbmFudCc7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ/OiBBQlAuUGFnZVF1ZXJ5UGFyYW1zKSB7fVxyXG59XHJcblxyXG5leHBvcnQgY2xhc3MgR2V0VGVuYW50QnlJZCB7XHJcbiAgc3RhdGljIHJlYWRvbmx5IHR5cGUgPSAnW1RlbmFudE1hbmFnZW1lbnRdIEdldCBUZW5hbnQgQnkgSWQnO1xyXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBwYXlsb2FkOiBzdHJpbmcpIHt9XHJcbn1cclxuXHJcbmV4cG9ydCBjbGFzcyBDcmVhdGVUZW5hbnQge1xyXG4gIHN0YXRpYyByZWFkb25seSB0eXBlID0gJ1tUZW5hbnRNYW5hZ2VtZW50XSBDcmVhdGUgVGVuYW50JztcclxuICBjb25zdHJ1Y3RvcihwdWJsaWMgcGF5bG9hZDogVGVuYW50TWFuYWdlbWVudC5BZGRSZXF1ZXN0KSB7fVxyXG59XHJcblxyXG5leHBvcnQgY2xhc3MgVXBkYXRlVGVuYW50IHtcclxuICBzdGF0aWMgcmVhZG9ubHkgdHlwZSA9ICdbVGVuYW50TWFuYWdlbWVudF0gVXBkYXRlIFRlbmFudCc7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IFRlbmFudE1hbmFnZW1lbnQuVXBkYXRlUmVxdWVzdCkge31cclxufVxyXG5cclxuZXhwb3J0IGNsYXNzIERlbGV0ZVRlbmFudCB7XHJcbiAgc3RhdGljIHJlYWRvbmx5IHR5cGUgPSAnW1RlbmFudE1hbmFnZW1lbnRdIERlbGV0ZSBUZW5hbnQnO1xyXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBwYXlsb2FkOiBzdHJpbmcpIHt9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm2015/lib/components/index.js b/npm/ng-packs/dist/tenant-management/esm2015/lib/components/index.js deleted file mode 100644 index 922ef464fda..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm2015/lib/components/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { TenantsComponent } from './tenants/tenants.component'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxpQ0FBYyw2QkFBNkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdGVuYW50cy90ZW5hbnRzLmNvbXBvbmVudCc7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm2015/lib/components/tenants/tenants.component.js b/npm/ng-packs/dist/tenant-management/esm2015/lib/components/tenants/tenants.component.js deleted file mode 100644 index b742d12b5e4..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm2015/lib/components/tenants/tenants.component.js +++ /dev/null @@ -1,400 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/tenants/tenants.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { ConfirmationService } from '@abp/ng.theme.shared'; -import { Component, TemplateRef, ViewChild } from '@angular/core'; -import { FormBuilder, Validators } from '@angular/forms'; -import { Select, Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { finalize, pluck, switchMap, take } from 'rxjs/operators'; -import { CreateTenant, DeleteTenant, GetTenantById, GetTenants, UpdateTenant, } from '../../actions/tenant-management.actions'; -import { TenantManagementService } from '../../services/tenant-management.service'; -import { TenantManagementState } from '../../states/tenant-management.state'; -/** - * @record - */ -function SelectedModalContent() { } -if (false) { - /** @type {?} */ - SelectedModalContent.prototype.type; - /** @type {?} */ - SelectedModalContent.prototype.title; - /** @type {?} */ - SelectedModalContent.prototype.template; -} -export class TenantsComponent { - /** - * @param {?} confirmationService - * @param {?} tenantService - * @param {?} fb - * @param {?} store - */ - constructor(confirmationService, tenantService, fb, store) { - this.confirmationService = confirmationService; - this.tenantService = tenantService; - this.fb = fb; - this.store = store; - this.selectedModalContent = (/** @type {?} */ ({})); - this.visibleFeatures = false; - this.pageQuery = {}; - this.loading = false; - this.modalBusy = false; - this.sortOrder = ''; - this.sortKey = ''; - } - /** - * @return {?} - */ - get useSharedDatabase() { - return this.defaultConnectionStringForm.get('useSharedDatabase').value; - } - /** - * @return {?} - */ - get connectionString() { - return this.defaultConnectionStringForm.get('defaultConnectionString').value; - } - /** - * @return {?} - */ - get isDisabledSaveButton() { - if (!this.selectedModalContent) - return false; - if (this.selectedModalContent.type === 'saveConnStr' && - this.defaultConnectionStringForm && - this.defaultConnectionStringForm.invalid) { - return true; - } - else if (this.selectedModalContent.type === 'saveTenant' && - this.tenantForm && - this.tenantForm.invalid) { - return true; - } - else { - return false; - } - } - /** - * @return {?} - */ - ngOnInit() { - this.get(); - } - /** - * @param {?} value - * @return {?} - */ - onSearch(value) { - this.pageQuery.filter = value; - this.get(); - } - /** - * @private - * @return {?} - */ - createTenantForm() { - this.tenantForm = this.fb.group({ - name: [this.selected.name || '', [Validators.required, Validators.maxLength(256)]], - }); - } - /** - * @private - * @return {?} - */ - createDefaultConnectionStringForm() { - this.defaultConnectionStringForm = this.fb.group({ - useSharedDatabase: this._useSharedDatabase, - defaultConnectionString: [this.defaultConnectionString || ''], - }); - } - /** - * @param {?} title - * @param {?} template - * @param {?} type - * @return {?} - */ - openModal(title, template, type) { - this.selectedModalContent = { - title, - template, - type, - }; - this.isModalVisible = true; - } - /** - * @param {?} id - * @return {?} - */ - onEditConnectionString(id) { - this.store - .dispatch(new GetTenantById(id)) - .pipe(pluck('TenantManagementState', 'selectedItem'), switchMap((/** - * @param {?} selected - * @return {?} - */ - selected => { - this.selected = selected; - return this.tenantService.getDefaultConnectionString(id); - }))) - .subscribe((/** - * @param {?} fetchedConnectionString - * @return {?} - */ - fetchedConnectionString => { - this._useSharedDatabase = fetchedConnectionString ? false : true; - this.defaultConnectionString = fetchedConnectionString ? fetchedConnectionString : ''; - this.createDefaultConnectionStringForm(); - this.openModal('AbpTenantManagement::ConnectionStrings', this.connectionStringModalTemplate, 'saveConnStr'); - })); - } - /** - * @return {?} - */ - addTenant() { - this.selected = (/** @type {?} */ ({})); - this.createTenantForm(); - this.openModal('AbpTenantManagement::NewTenant', this.tenantModalTemplate, 'saveTenant'); - } - /** - * @param {?} id - * @return {?} - */ - editTenant(id) { - this.store - .dispatch(new GetTenantById(id)) - .pipe(pluck('TenantManagementState', 'selectedItem')) - .subscribe((/** - * @param {?} selected - * @return {?} - */ - selected => { - this.selected = selected; - this.createTenantForm(); - this.openModal('AbpTenantManagement::Edit', this.tenantModalTemplate, 'saveTenant'); - })); - } - /** - * @return {?} - */ - save() { - const { type } = this.selectedModalContent; - if (!type) - return; - if (type === 'saveTenant') - this.saveTenant(); - else if (type === 'saveConnStr') - this.saveConnectionString(); - } - /** - * @return {?} - */ - saveConnectionString() { - if (this.modalBusy) - return; - this.modalBusy = true; - if (this.useSharedDatabase || (!this.useSharedDatabase && !this.connectionString)) { - this.tenantService - .deleteDefaultConnectionString(this.selected.id) - .pipe(take(1), finalize((/** - * @return {?} - */ - () => (this.modalBusy = false)))) - .subscribe((/** - * @return {?} - */ - () => { - this.isModalVisible = false; - })); - } - else { - this.tenantService - .updateDefaultConnectionString({ - id: this.selected.id, - defaultConnectionString: this.connectionString, - }) - .pipe(take(1), finalize((/** - * @return {?} - */ - () => (this.modalBusy = false)))) - .subscribe((/** - * @return {?} - */ - () => { - this.isModalVisible = false; - })); - } - } - /** - * @return {?} - */ - saveTenant() { - if (!this.tenantForm.valid || this.modalBusy) - return; - this.modalBusy = true; - this.store - .dispatch(this.selected.id - ? new UpdateTenant(Object.assign({}, this.selected, this.tenantForm.value, { id: this.selected.id })) - : new CreateTenant(this.tenantForm.value)) - .pipe(finalize((/** - * @return {?} - */ - () => (this.modalBusy = false)))) - .subscribe((/** - * @return {?} - */ - () => { - this.isModalVisible = false; - this.get(); - })); - } - /** - * @param {?} id - * @param {?} name - * @return {?} - */ - delete(id, name) { - this.confirmationService - .warn('AbpTenantManagement::TenantDeletionConfirmationMessage', 'AbpTenantManagement::AreYouSure', { - messageLocalizationParams: [name], - }) - .subscribe((/** - * @param {?} status - * @return {?} - */ - (status) => { - if (status === "confirm" /* confirm */) { - this.store.dispatch(new DeleteTenant(id)).subscribe((/** - * @return {?} - */ - () => this.get())); - } - })); - } - /** - * @param {?} data - * @return {?} - */ - onPageChange(data) { - this.pageQuery.skipCount = data.first; - this.pageQuery.maxResultCount = data.rows; - this.get(); - } - /** - * @return {?} - */ - get() { - this.loading = true; - this.store - .dispatch(new GetTenants(this.pageQuery)) - .pipe(finalize((/** - * @return {?} - */ - () => (this.loading = false)))) - .subscribe(); - } - /** - * @param {?} value - * @return {?} - */ - onSharedDatabaseChange(value) { - if (!value) { - setTimeout((/** - * @return {?} - */ - () => { - /** @type {?} */ - const defaultConnectionString = (/** @type {?} */ (document.getElementById('defaultConnectionString'))); - if (defaultConnectionString) { - defaultConnectionString.focus(); - } - }), 0); - } - } -} -TenantsComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-tenants', - template: "
\r\n
\r\n
\r\n
\r\n
{{ 'AbpTenantManagement::Tenants' | abpLocalization }}
\r\n
\r\n
\r\n \r\n \r\n {{ 'AbpTenantManagement::NewTenant' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'AbpTenantManagement::Actions' | abpLocalization }}\r\n \r\n {{ 'AbpTenantManagement::TenantName' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ 'AbpTenantManagement::Actions' | abpLocalization }}\r\n \r\n
\r\n \r\n {{ 'AbpTenantManagement::Edit' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpTenantManagement::Permission:ManageConnectionStrings' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpTenantManagement::Permission:ManageFeatures' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpTenantManagement::Delete' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n {{ data.name }}\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n

{{ selectedModalContent.title | abpLocalization }}

\r\n
\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n" - }] } -]; -/** @nocollapse */ -TenantsComponent.ctorParameters = () => [ - { type: ConfirmationService }, - { type: TenantManagementService }, - { type: FormBuilder }, - { type: Store } -]; -TenantsComponent.propDecorators = { - tenantModalTemplate: [{ type: ViewChild, args: ['tenantModalTemplate', { static: false },] }], - connectionStringModalTemplate: [{ type: ViewChild, args: ['connectionStringModalTemplate', { static: false },] }] -}; -tslib_1.__decorate([ - Select(TenantManagementState.get), - tslib_1.__metadata("design:type", Observable) -], TenantsComponent.prototype, "data$", void 0); -tslib_1.__decorate([ - Select(TenantManagementState.getTenantsTotalCount), - tslib_1.__metadata("design:type", Observable) -], TenantsComponent.prototype, "totalCount$", void 0); -if (false) { - /** @type {?} */ - TenantsComponent.prototype.data$; - /** @type {?} */ - TenantsComponent.prototype.totalCount$; - /** @type {?} */ - TenantsComponent.prototype.selected; - /** @type {?} */ - TenantsComponent.prototype.tenantForm; - /** @type {?} */ - TenantsComponent.prototype.defaultConnectionStringForm; - /** @type {?} */ - TenantsComponent.prototype.defaultConnectionString; - /** @type {?} */ - TenantsComponent.prototype.isModalVisible; - /** @type {?} */ - TenantsComponent.prototype.selectedModalContent; - /** @type {?} */ - TenantsComponent.prototype.visibleFeatures; - /** @type {?} */ - TenantsComponent.prototype.providerKey; - /** @type {?} */ - TenantsComponent.prototype._useSharedDatabase; - /** @type {?} */ - TenantsComponent.prototype.pageQuery; - /** @type {?} */ - TenantsComponent.prototype.loading; - /** @type {?} */ - TenantsComponent.prototype.modalBusy; - /** @type {?} */ - TenantsComponent.prototype.sortOrder; - /** @type {?} */ - TenantsComponent.prototype.sortKey; - /** @type {?} */ - TenantsComponent.prototype.tenantModalTemplate; - /** @type {?} */ - TenantsComponent.prototype.connectionStringModalTemplate; - /** - * @type {?} - * @private - */ - TenantsComponent.prototype.confirmationService; - /** - * @type {?} - * @private - */ - TenantsComponent.prototype.tenantService; - /** - * @type {?} - * @private - */ - TenantsComponent.prototype.fb; - /** - * @type {?} - * @private - */ - TenantsComponent.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50cy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvdGVuYW50cy90ZW5hbnRzLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFDQSxPQUFPLEVBQUUsbUJBQW1CLEVBQVcsTUFBTSxzQkFBc0IsQ0FBQztBQUNwRSxPQUFPLEVBQUUsU0FBUyxFQUFVLFdBQVcsRUFBRSxTQUFTLEVBQXFCLE1BQU0sZUFBZSxDQUFDO0FBQzdGLE9BQU8sRUFBRSxXQUFX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bWVvdXQoKCkgPT4ge1xyXG4gICAgICAgIGNvbnN0IGRlZmF1bHRDb25uZWN0aW9uU3RyaW5nID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoXHJcbiAgICAgICAgICAnZGVmYXVsdENvbm5lY3Rpb25TdHJpbmcnLFxyXG4gICAgICAgICkgYXMgSFRNTElucHV0RWxlbWVudDtcclxuICAgICAgICBpZiAoZGVmYXVsdENvbm5lY3Rpb25TdHJpbmcpIHtcclxuICAgICAgICAgIGRlZmF1bHRDb25uZWN0aW9uU3RyaW5nLmZvY3VzKCk7XHJcbiAgICAgICAgfVxyXG4gICAgICB9LCAwKTtcclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm2015/lib/constants/index.js b/npm/ng-packs/dist/tenant-management/esm2015/lib/constants/index.js deleted file mode 100644 index 2a5acedcfaf..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm2015/lib/constants/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { TENANT_MANAGEMENT_ROUTES } from './routes'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL2NvbnN0YW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHlDQUFjLFVBQVUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcm91dGVzJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm2015/lib/constants/routes.js b/npm/ng-packs/dist/tenant-management/esm2015/lib/constants/routes.js deleted file mode 100644 index fde035c289b..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm2015/lib/constants/routes.js +++ /dev/null @@ -1,30 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/routes.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * - * @deprecated since version 0.9.0 - * @type {?} - */ -export const TENANT_MANAGEMENT_ROUTES = { - routes: (/** @type {?} */ ([ - { - name: 'AbpTenantManagement::Menu:TenantManagement', - path: 'tenant-management', - parentName: 'AbpUiNavigation::Menu:Administration', - layout: "application" /* application */, - iconClass: 'fa fa-users', - children: [ - { - path: 'tenants', - name: 'AbpTenantManagement::Tenants', - order: 1, - requiredPolicy: 'AbpTenantManagement.Tenants', - }, - ], - }, - ])), -}; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGVzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50ZW5hbnQtbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9jb25zdGFudHMvcm91dGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFNQSxNQUFNLE9BQU8sd0JBQXdCLEdBQUc7SUFDdEMsTUFBTSxFQUFFLG1CQUFBO1FBQ047WUFDRSxJQUFJLEVBQUUsNENBQTRDO1lBQ2xELElBQUksRUFBRSxtQkFBbUI7WUFDekIsVUFBVSxFQUFFLHNDQUFzQztZQUNsRCxNQUFNLGlDQUF5QjtZQUMvQixTQUFTLEVBQUUsYUFBYTtZQUN4QixRQUFRLEVBQUU7Z0JBQ1I7b0JBQ0UsSUFBSSxFQUFFLFNBQVM7b0JBQ2YsSUFBSSxFQUFFLDhCQUE4QjtvQkFDcEMsS0FBSyxFQUFFLENBQUM7b0JBQ1IsY0FBYyxFQUFFLDZCQUE2QjtpQkFDOUM7YUFDRjtTQUNGO0tBQ0YsRUFBbUI7Q0FDckIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBQlAsIGVMYXlvdXRUeXBlIH0gZnJvbSAnQGFicC9uZy5jb3JlJztcclxuXHJcbi8qKlxyXG4gKlxyXG4gKiBAZGVwcmVjYXRlZCBzaW5jZSB2ZXJzaW9uIDAuOS4wXHJcbiAqL1xyXG5leHBvcnQgY29uc3QgVEVOQU5UX01BTkFHRU1FTlRfUk9VVEVTID0ge1xyXG4gIHJvdXRlczogW1xyXG4gICAge1xyXG4gICAgICBuYW1lOiAnQWJwVGVuYW50TWFuYWdlbWVudDo6TWVudTpUZW5hbnRNYW5hZ2VtZW50JyxcclxuICAgICAgcGF0aDogJ3RlbmFudC1tYW5hZ2VtZW50JyxcclxuICAgICAgcGFyZW50TmFtZTogJ0FicFVpTmF2aWdhdGlvbjo6TWVudTpBZG1pbmlzdHJhdGlvbicsXHJcbiAgICAgIGxheW91dDogZUxheW91dFR5cGUuYXBwbGljYXRpb24sXHJcbiAgICAgIGljb25DbGFzczogJ2ZhIGZhLXVzZXJzJyxcclxuICAgICAgY2hpbGRyZW46IFtcclxuICAgICAgICB7XHJcbiAgICAgICAgICBwYXRoOiAndGVuYW50cycsXHJcbiAgICAgICAgICBuYW1lOiAnQWJwVGVuYW50TWFuYWdlbWVudDo6VGVuYW50cycsXHJcbiAgICAgICAgICBvcmRlcjogMSxcclxuICAgICAgICAgIHJlcXVpcmVkUG9saWN5OiAnQWJwVGVuYW50TWFuYWdlbWVudC5UZW5hbnRzJyxcclxuICAgICAgICB9LFxyXG4gICAgICBdLFxyXG4gICAgfSxcclxuICBdIGFzIEFCUC5GdWxsUm91dGVbXSxcclxufTtcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm2015/lib/models/index.js b/npm/ng-packs/dist/tenant-management/esm2015/lib/models/index.js deleted file mode 100644 index c46c7225b6c..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm2015/lib/models/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export {} from './tenant-management'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL21vZGVscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLGVBQWMscUJBQXFCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3RlbmFudC1tYW5hZ2VtZW50JztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm2015/lib/models/tenant-management.js b/npm/ng-packs/dist/tenant-management/esm2015/lib/models/tenant-management.js deleted file mode 100644 index ac707eb2b55..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm2015/lib/models/tenant-management.js +++ /dev/null @@ -1,60 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/tenant-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var TenantManagement; -(function (TenantManagement) { - /** - * @record - */ - function State() { } - TenantManagement.State = State; - if (false) { - /** @type {?} */ - State.prototype.result; - /** @type {?} */ - State.prototype.selectedItem; - } - /** - * @record - */ - function Item() { } - TenantManagement.Item = Item; - if (false) { - /** @type {?} */ - Item.prototype.id; - /** @type {?} */ - Item.prototype.name; - } - /** - * @record - */ - function AddRequest() { } - TenantManagement.AddRequest = AddRequest; - if (false) { - /** @type {?} */ - AddRequest.prototype.name; - } - /** - * @record - */ - function UpdateRequest() { } - TenantManagement.UpdateRequest = UpdateRequest; - if (false) { - /** @type {?} */ - UpdateRequest.prototype.id; - } - /** - * @record - */ - function DefaultConnectionStringRequest() { } - TenantManagement.DefaultConnectionStringRequest = DefaultConnectionStringRequest; - if (false) { - /** @type {?} */ - DefaultConnectionStringRequest.prototype.id; - /** @type {?} */ - DefaultConnectionStringRequest.prototype.defaultConnectionString; - } -})(TenantManagement || (TenantManagement = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50LW1hbmFnZW1lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL21vZGVscy90ZW5hbnQtbWFuYWdlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUVBLE1BQU0sS0FBVyxnQkFBZ0IsQ0F5QmhDO0FBekJELFdBQWlCLGdCQUFnQjs7OztJQUMvQixvQkFHQzs7OztRQUZDLHVCQUFpQjs7UUFDakIsNkJBQW1COzs7OztJQUtyQixtQkFHQzs7OztRQUZDLGtCQUFXOztRQUNYLG9CQUFhOzs7OztJQUdmLHlCQUVDOzs7O1FBREMsMEJBQWE7Ozs7O0lBR2YsNEJBRUM7Ozs7UUFEQywyQkFBVzs7Ozs7SUFHYiw2Q0FHQzs7OztRQUZDLDRDQUFXOztRQUNYLGlFQUFnQzs7QUFFcEMsQ0FBQyxFQXpCZ0IsZ0JBQWdCLEtBQWhCLGdCQUFnQixRQXlCaEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBQlAgfSBmcm9tICdAYWJwL25nLmNvcmUnO1xyXG5cclxuZXhwb3J0IG5hbWVzcGFjZSBUZW5hbnRNYW5hZ2VtZW50IHtcclxuICBleHBvcnQgaW50ZXJmYWNlIFN0YXRlIHtcclxuICAgIHJlc3VsdDogUmVzcG9uc2U7XHJcbiAgICBzZWxlY3RlZEl0ZW06IEl0ZW07XHJcbiAgfVxyXG5cclxuICBleHBvcnQgdHlwZSBSZXNwb25zZSA9IEFCUC5QYWdlZFJlc3BvbnNlPEl0ZW0+O1xyXG5cclxuICBleHBvcnQgaW50ZXJmYWNlIEl0ZW0ge1xyXG4gICAgaWQ6IHN0cmluZztcclxuICAgIG5hbWU6IHN0cmluZztcclxuICB9XHJcblxyXG4gIGV4cG9ydCBpbnRlcmZhY2UgQWRkUmVxdWVzdCB7XHJcbiAgICBuYW1lOiBzdHJpbmc7XHJcbiAgfVxyXG5cclxuICBleHBvcnQgaW50ZXJmYWNlIFVwZGF0ZVJlcXVlc3QgZXh0ZW5kcyBBZGRSZXF1ZXN0IHtcclxuICAgIGlkOiBzdHJpbmc7XHJcbiAgfVxyXG5cclxuICBleHBvcnQgaW50ZXJmYWNlIERlZmF1bHRDb25uZWN0aW9uU3RyaW5nUmVxdWVzdCB7XHJcbiAgICBpZDogc3RyaW5nO1xyXG4gICAgZGVmYXVsdENvbm5lY3Rpb25TdHJpbmc6IHN0cmluZztcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm2015/lib/services/index.js b/npm/ng-packs/dist/tenant-management/esm2015/lib/services/index.js deleted file mode 100644 index bc648582368..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm2015/lib/services/index.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { TenantManagementService } from './tenant-management.service'; -export { TenantManagementStateService } from './tenant-management-state.service'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL3NlcnZpY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsd0NBQWMsNkJBQTZCLENBQUM7QUFDNUMsNkNBQWMsbUNBQW1DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3RlbmFudC1tYW5hZ2VtZW50LnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL3RlbmFudC1tYW5hZ2VtZW50LXN0YXRlLnNlcnZpY2UnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm2015/lib/services/tenant-management-state.service.js b/npm/ng-packs/dist/tenant-management/esm2015/lib/services/tenant-management-state.service.js deleted file mode 100644 index 8900c622665..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm2015/lib/services/tenant-management-state.service.js +++ /dev/null @@ -1,48 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/tenant-management-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { TenantManagementState } from '../states/tenant-management.state'; -import * as i0 from "@angular/core"; -import * as i1 from "@ngxs/store"; -export class TenantManagementStateService { - /** - * @param {?} store - */ - constructor(store) { - this.store = store; - } - /** - * @return {?} - */ - get() { - return this.store.selectSnapshot(TenantManagementState.get); - } - /** - * @return {?} - */ - getTenantsTotalCount() { - return this.store.selectSnapshot(TenantManagementState.getTenantsTotalCount); - } -} -TenantManagementStateService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -TenantManagementStateService.ctorParameters = () => [ - { type: Store } -]; -/** @nocollapse */ TenantManagementStateService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function TenantManagementStateService_Factory() { return new TenantManagementStateService(i0.ɵɵinject(i1.Store)); }, token: TenantManagementStateService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - TenantManagementStateService.prototype.store; -} -//# sourceMapping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GVuYW50TWFuYWdlbWVudFN0YXRlIH0gZnJvbSAnLi4vc3RhdGVzL3RlbmFudC1tYW5hZ2VtZW50LnN0YXRlJztcclxuXHJcbkBJbmplY3RhYmxlKHtcclxuICBwcm92aWRlZEluOiAncm9vdCcsXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBUZW5hbnRNYW5hZ2VtZW50U3RhdGVTZXJ2aWNlIHtcclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHN0b3JlOiBTdG9yZSkge31cclxuXHJcbiAgZ2V0KCkge1xyXG4gICAgcmV0dXJuIHRoaXMuc3RvcmUuc2VsZWN0U25hcHNob3QoVGVuYW50TWFuYWdlbWVudFN0YXRlLmdldCk7XHJcbiAgfVxyXG5cclxuICBnZXRUZW5hbnRzVG90YWxDb3VudCgpIHtcclxuICAgIHJldHVybiB0aGlzLnN0b3JlLnNlbGVjdFNuYXBzaG90KFRlbmFudE1hbmFnZW1lbnRTdGF0ZS5nZXRUZW5hbnRzVG90YWxDb3VudCk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm2015/lib/services/tenant-management.service.js b/npm/ng-packs/dist/tenant-management/esm2015/lib/services/tenant-management.service.js deleted file mode 100644 index 667e363ec80..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm2015/lib/services/tenant-management.service.js +++ /dev/null @@ -1,145 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/tenant-management.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { RestService } from '@abp/ng.core'; -import * as i0 from "@angular/core"; -import * as i1 from "@abp/ng.core"; -export class TenantManagementService { - /** - * @param {?} rest - */ - constructor(rest) { - this.rest = rest; - } - /** - * @param {?=} params - * @return {?} - */ - getTenant(params = (/** @type {?} */ ({}))) { - /** @type {?} */ - const request = { - method: 'GET', - url: '/api/multi-tenancy/tenants', - params - }; - return this.rest.request(request); - } - /** - * @param {?} id - * @return {?} - */ - getTenantById(id) { - /** @type {?} */ - const request = { - method: 'GET', - url: `/api/multi-tenancy/tenants/${id}` - }; - return this.rest.request(request); - } - /** - * @param {?} id - * @return {?} - */ - deleteTenant(id) { - /** @type {?} */ - const request = { - method: 'DELETE', - url: `/api/multi-tenancy/tenants/${id}` - }; - return this.rest.request(request); - } - /** - * @param {?} body - * @return {?} - */ - createTenant(body) { - /** @type {?} */ - const request = { - method: 'POST', - url: '/api/multi-tenancy/tenants', - body - }; - return this.rest.request(request); - } - /** - * @param {?} body - * @return {?} - */ - updateTenant(body) { - /** @type {?} */ - const url = `/api/multi-tenancy/tenants/${body.id}`; - delete body.id; - /** @type {?} */ - const request = { - method: 'PUT', - url, - body - }; - return this.rest.request(request); - } - /** - * @param {?} id - * @return {?} - */ - getDefaultConnectionString(id) { - /** @type {?} */ - const url = `/api/multi-tenancy/tenants/${id}/default-connection-string`; - /** @type {?} */ - const request = { - method: 'GET', - responseType: "text" /* Text */, - url - }; - return this.rest.request(request); - } - /** - * @param {?} payload - * @return {?} - */ - updateDefaultConnectionString(payload) { - /** @type {?} */ - const url = `/api/multi-tenancy/tenants/${payload.id}/default-connection-string`; - /** @type {?} */ - const request = { - method: 'PUT', - url, - params: { defaultConnectionString: payload.defaultConnectionString } - }; - return this.rest.request(request); - } - /** - * @param {?} id - * @return {?} - */ - deleteDefaultConnectionString(id) { - /** @type {?} */ - const url = `/api/multi-tenancy/tenants/${id}/default-connection-string`; - /** @type {?} */ - const request = { - method: 'DELETE', - url - }; - return this.rest.request(request); - } -} -TenantManagementService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root' - },] } -]; -/** @nocollapse */ -TenantManagementService.ctorParameters = () => [ - { type: RestService } -]; -/** @nocollapse */ TenantManagementService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function TenantManagementService_Factory() { return new TenantManagementService(i0.ɵɵinject(i1.RestService)); }, token: TenantManagementService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - TenantManagementService.prototype.rest; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50LW1hbmFnZW1lbnQuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGVuYW50LW1hbmFnZW1lbnQvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvdGVuYW50LW1hbmFnZW1lbnQuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFM0MsT0FBTyxFQUFFLFdBQVcsRUFBYSxNQUFNLGNBQWMsQ0FBQzs7O0FBTXRELE1BQU0sT0FBTyx1QkFBdUI7Ozs7SUFDbEMsWUFBb0IsSUFBaUI7UUFBakIsU0FBSSxHQUFKLElBQUksQ0FBYTtJQUFHLENBQUM7Ozs7O0lBRXpDLFNBQVMsQ0FBQyxNQUFNLEdBQUcsbUJBQUEsRUFBRSxFQUF1Qjs7Y0FDcEMsT0FBTyxHQUF1QjtZQUNsQyxNQUFNLEVBQUUsS0FBSztZQUNiLEdBQUcsRUFBRSw0QkFBNEI7WUFDakMsTUFBTTtTQUNQO1FBRUQsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBa0MsT0FBTyxDQUFDLENBQUM7SUFDckUsQ0FBQzs7Ozs7SUFFRCxhQUFhLENBQUMsRUFBVTs7Y0FDaEIsT0FBTyxHQUF1QjtZQUNsQyxNQUFNLEVBQUUsS0FBSztZQUNiLEdBQUcsRUFBRSw4QkFBOEIsRUFBRSxFQUFFO1NBQ3hDO1FBRUQsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBc0IsT0FBTyxDQUFDLENBQUM7SUFDekQsQ0FBQzs7Ozs7SUFFRCxZQUFZLENBQUMsR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cclxuICAgICAgcGFyYW1zOiB7IGRlZmF1bHRDb25uZWN0aW9uU3RyaW5nOiBwYXlsb2FkLmRlZmF1bHRDb25uZWN0aW9uU3RyaW5nIH1cclxuICAgIH07XHJcbiAgICByZXR1cm4gdGhpcy5yZXN0LnJlcXVlc3Q8VGVuYW50TWFuYWdlbWVudC5EZWZhdWx0Q29ubmVjdGlvblN0cmluZ1JlcXVlc3QsIGFueT4ocmVxdWVzdCk7XHJcbiAgfVxyXG5cclxuICBkZWxldGVEZWZhdWx0Q29ubmVjdGlvblN0cmluZyhpZDogc3RyaW5nKTogT2JzZXJ2YWJsZTxzdHJpbmc+IHtcclxuICAgIGNvbnN0IHVybCA9IGAvYXBpL211bHRpLXRlbmFuY3kvdGVuYW50cy8ke2lkfS9kZWZhdWx0LWNvbm5lY3Rpb24tc3RyaW5nYDtcclxuXHJcbiAgICBjb25zdCByZXF1ZXN0OiBSZXN0LlJlcXVlc3Q8VGVuYW50TWFuYWdlbWVudC5EZWZhdWx0Q29ubmVjdGlvblN0cmluZ1JlcXVlc3Q+ID0ge1xyXG4gICAgICBtZXRob2Q6ICdERUxFVEUnLFxyXG4gICAgICB1cmxcclxuICAgIH07XHJcbiAgICByZXR1cm4gdGhpcy5yZXN0LnJlcXVlc3Q8VGVuYW50TWFuYWdlbWVudC5EZWZhdWx0Q29ubmVjdGlvblN0cmluZ1JlcXVlc3QsIGFueT4ocmVxdWVzdCk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm2015/lib/states/index.js b/npm/ng-packs/dist/tenant-management/esm2015/lib/states/index.js deleted file mode 100644 index d53b77c5248..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm2015/lib/states/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { TenantManagementState } from './tenant-management.state'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL3N0YXRlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHNDQUFjLDJCQUEyQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi90ZW5hbnQtbWFuYWdlbWVudC5zdGF0ZSc7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm2015/lib/states/tenant-management.state.js b/npm/ng-packs/dist/tenant-management/esm2015/lib/states/tenant-management.state.js deleted file mode 100644 index a7a032ed24c..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm2015/lib/states/tenant-management.state.js +++ /dev/null @@ -1,145 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/tenant-management.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Action, Selector, State } from '@ngxs/store'; -import { tap } from 'rxjs/operators'; -import { CreateTenant, DeleteTenant, GetTenants, GetTenantById, UpdateTenant, } from '../actions/tenant-management.actions'; -import { TenantManagementService } from '../services/tenant-management.service'; -let TenantManagementState = class TenantManagementState { - /** - * @param {?} tenantManagementService - */ - constructor(tenantManagementService) { - this.tenantManagementService = tenantManagementService; - } - /** - * @param {?} __0 - * @return {?} - */ - static get({ result }) { - return result.items || []; - } - /** - * @param {?} __0 - * @return {?} - */ - static getTenantsTotalCount({ result }) { - return result.totalCount; - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - get({ patchState }, { payload }) { - return this.tenantManagementService.getTenant(payload).pipe(tap((/** - * @param {?} result - * @return {?} - */ - result => patchState({ - result, - })))); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - getById({ patchState }, { payload }) { - return this.tenantManagementService.getTenantById(payload).pipe(tap((/** - * @param {?} selectedItem - * @return {?} - */ - selectedItem => patchState({ - selectedItem, - })))); - } - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - delete(_, { payload }) { - return this.tenantManagementService.deleteTenant(payload); - } - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - add(_, { payload }) { - return this.tenantManagementService.createTenant(payload); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - update({ getState }, { payload }) { - return this.tenantManagementService.updateTenant(Object.assign({}, getState().selectedItem, payload)); - } -}; -TenantManagementState.ctorParameters = () => [ - { type: TenantManagementService } -]; -tslib_1.__decorate([ - Action(GetTenants), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetTenants]), - tslib_1.__metadata("design:returntype", void 0) -], TenantManagementState.prototype, "get", null); -tslib_1.__decorate([ - Action(GetTenantById), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetTenantById]), - tslib_1.__metadata("design:returntype", void 0) -], TenantManagementState.prototype, "getById", null); -tslib_1.__decorate([ - Action(DeleteTenant), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, DeleteTenant]), - tslib_1.__metadata("design:returntype", void 0) -], TenantManagementState.prototype, "delete", null); -tslib_1.__decorate([ - Action(CreateTenant), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, CreateTenant]), - tslib_1.__metadata("design:returntype", void 0) -], TenantManagementState.prototype, "add", null); -tslib_1.__decorate([ - Action(UpdateTenant), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, UpdateTenant]), - tslib_1.__metadata("design:returntype", void 0) -], TenantManagementState.prototype, "update", null); -tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", Array) -], TenantManagementState, "get", null); -tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", Number) -], TenantManagementState, "getTenantsTotalCount", null); -TenantManagementState = tslib_1.__decorate([ - State({ - name: 'TenantManagementState', - defaults: (/** @type {?} */ ({ result: {}, selectedItem: {} })), - }), - tslib_1.__metadata("design:paramtypes", [TenantManagementService]) -], TenantManagementState); -export { TenantManagementState }; -if (false) { - /** - * @type {?} - * @private - */ - TenantManagementState.prototype.tenantManagementService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50LW1hbmFnZW1lbnQuc3RhdGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL3N0YXRlcy90ZW5hbnQtbWFuYWdlbWVudC5zdGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBRSxLQUFLLEVBQWdCLE1BQU0sYUFBYSxDQUFDO0FBQ3BFLE9BQU8sRUFBYSxHQUFHLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNoRCxPQUFPLEVBQ0wsWUFBWSxFQUNaLFlBQVksRUFDWixVQUFVLEVBQ1YsYUFBYSxFQUNiLFlBQVksR0FDYixNQUFNLHNDQUFzQyxDQUFDO0FBRTlDLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0lBT25FLHFCQUFxQixTQUFyQixxQkFBcUI7Ozs7SUFXaEMsWUFBb0IsdUJBQWdEO1FBQWhELDRCQUF1QixHQUF2Qix1QkFBdUIsQ0FBeUI7SUFBRyxDQUFDOzs7OztJQVR4RSx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uICAgICk7XHJcbiAgfVxyXG5cclxuICBAQWN0aW9uKERlbGV0ZVRlbmFudClcclxuICBkZWxldGUoXywgeyBwYXlsb2FkIH06IERlbGV0ZVRlbmFudCkge1xyXG4gICAgcmV0dXJuIHRoaXMudGVuYW50TWFuYWdlbWVudFNlcnZpY2UuZGVsZXRlVGVuYW50KHBheWxvYWQpO1xyXG4gIH1cclxuXHJcbiAgQEFjdGlvbihDcmVhdGVUZW5hbnQpXHJcbiAgYWRkKF8sIHsgcGF5bG9hZCB9OiBDcmVhdGVUZW5hbnQpIHtcclxuICAgIHJldHVybiB0aGlzLnRlbmFudE1hbmFnZW1lbnRTZXJ2aWNlLmNyZWF0ZVRlbmFudChwYXlsb2FkKTtcclxuICB9XHJcblxyXG4gIEBBY3Rpb24oVXBkYXRlVGVuYW50KVxyXG4gIHVwZGF0ZSh7IGdldFN0YXRlIH06IFN0YXRlQ29udGV4dDxUZW5hbnRNYW5hZ2VtZW50LlN0YXRlPiwgeyBwYXlsb2FkIH06IFVwZGF0ZVRlbmFudCkge1xyXG4gICAgcmV0dXJuIHRoaXMudGVuYW50TWFuYWdlbWVudFNlcnZpY2UudXBkYXRlVGVuYW50KHsgLi4uZ2V0U3RhdGUoKS5zZWxlY3RlZEl0ZW0sIC4uLnBheWxvYWQgfSk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm2015/lib/tenant-management-routing.module.js b/npm/ng-packs/dist/tenant-management/esm2015/lib/tenant-management-routing.module.js deleted file mode 100644 index 6914de3f8f8..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm2015/lib/tenant-management-routing.module.js +++ /dev/null @@ -1,31 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/tenant-management-routing.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { AuthGuard, DynamicLayoutComponent, PermissionGuard } from '@abp/ng.core'; -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { TenantsComponent } from './components/tenants/tenants.component'; -const ɵ0 = { requiredPolicy: 'AbpTenantManagement.Tenants' }; -/** @type {?} */ -const routes = [ - { path: '', redirectTo: 'tenants', pathMatch: 'full' }, - { - path: 'tenants', - component: DynamicLayoutComponent, - canActivate: [AuthGuard, PermissionGuard], - data: ɵ0, - children: [{ path: '', component: TenantsComponent }], - }, -]; -export class TenantManagementRoutingModule { -} -TenantManagementRoutingModule.decorators = [ - { type: NgModule, args: [{ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule], - },] } -]; -export { ɵ0 }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50LW1hbmFnZW1lbnQtcm91dGluZy5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL3RlbmFudC1tYW5hZ2VtZW50LXJvdXRpbmcubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxzQkFBc0IsRUFBRSxlQUFlLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDbEYsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFVLE1BQU0saUJBQWlCLENBQUM7QUFDdkQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sd0NBQXdDLENBQUM7V0FRaEUsRUFBRSxjQUFjLEVBQUUsNkJBQTZCLEVBQUU7O01BTnJELE1BQU0sR0FBVztJQUNyQixFQUFFLElBQUksRUFBRSxFQUFFLEVBQUUsVUFBVSxFQUFFLFNBQVMsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFO0lBQ3REO1FBQ0UsSUFBSSxFQUFFL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3Npb25HdWFyZF0sXHJcbiAgICBkYXRhOiB7IHJlcXVpcmVkUG9saWN5OiAnQWJwVGVuYW50TWFuYWdlbWVudC5UZW5hbnRzJyB9LFxyXG4gICAgY2hpbGRyZW46IFt7IHBhdGg6ICcnLCBjb21wb25lbnQ6IFRlbmFudHNDb21wb25lbnQgfV0sXHJcbiAgfSxcclxuXTtcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgaW1wb3J0czogW1JvdXRlck1vZHVsZS5mb3JDaGlsZChyb3V0ZXMpXSxcclxuICBleHBvcnRzOiBbUm91dGVyTW9kdWxlXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIFRlbmFudE1hbmFnZW1lbnRSb3V0aW5nTW9kdWxlIHt9XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm2015/lib/tenant-management.module.js b/npm/ng-packs/dist/tenant-management/esm2015/lib/tenant-management.module.js deleted file mode 100644 index 4c7d54bc426..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm2015/lib/tenant-management.module.js +++ /dev/null @@ -1,42 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/tenant-management.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { CoreModule } from '@abp/ng.core'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; -import { NgModule } from '@angular/core'; -import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; -import { NgxsModule } from '@ngxs/store'; -import { TableModule } from 'primeng/table'; -import { TenantsComponent } from './components/tenants/tenants.component'; -import { TenantManagementState } from './states/tenant-management.state'; -import { TenantManagementRoutingModule } from './tenant-management-routing.module'; -import { FeatureManagementModule } from '@abp/ng.feature-management'; -import { NgxValidateCoreModule } from '@ngx-validate/core'; -export class TenantManagementModule { -} -TenantManagementModule.decorators = [ - { type: NgModule, args: [{ - declarations: [TenantsComponent], - imports: [ - TenantManagementRoutingModule, - NgxsModule.forFeature([TenantManagementState]), - NgxValidateCoreModule, - CoreModule, - TableModule, - ThemeSharedModule, - NgbDropdownModule, - FeatureManagementModule, - ], - },] } -]; -/** - * - * @deprecated since version 0.9.0 - * @return {?} - */ -export function TenantManagementProviders() { - return []; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50LW1hbmFnZW1lbnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50ZW5hbnQtbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi90ZW5hbnQtbWFuYWdlbWVudC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQzFDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3pELE9BQU8sRUFBRSxRQUFRLEVBQVksTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFDL0QsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUN6QyxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzVDLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHdDQUF3QyxDQUFDO0FBQzFFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLGtDQUFrQyxDQUFDO0FBQ3pFLE9BQU8sRUFBRSw2QkFBNkIsRUFBRSxNQUFNLG9DQUFvQyxDQUFDO0FBQ25GLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ3JFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBZTNELE1BQU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bXBvcnQgeyBUZW5hbnRNYW5hZ2VtZW50Um91dGluZ01vZHVsZSB9IGZyb20gJy4vdGVuYW50LW1hbmFnZW1lbnQtcm91dGluZy5tb2R1bGUnO1xyXG5pbXBvcnQgeyBGZWF0dXJlTWFuYWdlbWVudE1vZHVsZSB9IGZyb20gJ0BhYnAvbmcuZmVhdHVyZS1tYW5hZ2VtZW50JztcclxuaW1wb3J0IHsgTmd4VmFsaWRhdGVDb3JlTW9kdWxlIH0gZnJvbSAnQG5neC12YWxpZGF0ZS9jb3JlJztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbVGVuYW50c0NvbXBvbmVudF0sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgVGVuYW50TWFuYWdlbWVudFJvdXRpbmdNb2R1bGUsXHJcbiAgICBOZ3hzTW9kdWxlLmZvckZlYXR1cmUoW1RlbmFudE1hbmFnZW1lbnRTdGF0ZV0pLFxyXG4gICAgTmd4VmFsaWRhdGVDb3JlTW9kdWxlLFxyXG4gICAgQ29yZU1vZHVsZSxcclxuICAgIFRhYmxlTW9kdWxlLFxyXG4gICAgVGhlbWVTaGFyZWRNb2R1bGUsXHJcbiAgICBOZ2JEcm9wZG93bk1vZHVsZSxcclxuICAgIEZlYXR1cmVNYW5hZ2VtZW50TW9kdWxlLFxyXG4gIF0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBUZW5hbnRNYW5hZ2VtZW50TW9kdWxlIHt9XHJcblxyXG4vKipcclxuICpcclxuICogQGRlcHJlY2F0ZWQgc2luY2UgdmVyc2lvbiAwLjkuMFxyXG4gKi9cclxuZXhwb3J0IGZ1bmN0aW9uIFRlbmFudE1hbmFnZW1lbnRQcm92aWRlcnMoKTogUHJvdmlkZXJbXSB7XHJcbiAgcmV0dXJuIFtdO1xyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm2015/public-api.js b/npm/ng-packs/dist/tenant-management/esm2015/public-api.js deleted file mode 100644 index b1120980f11..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm2015/public-api.js +++ /dev/null @@ -1,13 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { TenantManagementProviders, TenantManagementModule } from './lib/tenant-management.module'; -export { GetTenants, GetTenantById, CreateTenant, UpdateTenant, DeleteTenant } from './lib/actions'; -export { TenantsComponent } from './lib/components'; -export { TENANT_MANAGEMENT_ROUTES } from './lib/constants'; -export {} from './lib/models'; -export { TenantManagementService, TenantManagementStateService } from './lib/services'; -export { TenantManagementState } from './lib/states'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGVuYW50LW1hbmFnZW1lbnQvIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsa0VBQWMsZ0NBQWdDLENBQUM7QUFDL0Msb0ZBQWMsZUFBZSxDQUFDO0FBQzlCLGlDQUFjLGtCQUFrQixDQUFDO0FBQ2pDLHlDQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGVBQWMsY0FBYyxDQUFDO0FBQzdCLHNFQUFjLGdCQUFnQixDQUFDO0FBQy9CLHNDQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliL3RlbmFudC1tYW5hZ2VtZW50Lm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2FjdGlvbnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21wb25lbnRzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvY29uc3RhbnRzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvbW9kZWxzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvc2VydmljZXMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zdGF0ZXMnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm5/abp-ng.tenant-management.js b/npm/ng-packs/dist/tenant-management/esm5/abp-ng.tenant-management.js deleted file mode 100644 index 068319f3a64..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm5/abp-ng.tenant-management.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.tenant-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { TenantManagementProviders, TenantManagementModule, GetTenants, GetTenantById, CreateTenant, UpdateTenant, DeleteTenant, TenantsComponent, TENANT_MANAGEMENT_ROUTES, TenantManagementService, TenantManagementStateService, TenantManagementState } from './public-api'; -export { CreateTenant as ɵf, DeleteTenant as ɵh, GetTenantById as ɵe, GetTenants as ɵd, UpdateTenant as ɵg } from './lib/actions/tenant-management.actions'; -export { TenantsComponent as ɵa } from './lib/components/tenants/tenants.component'; -export { TenantManagementService as ɵc } from './lib/services/tenant-management.service'; -export { TenantManagementState as ɵb } from './lib/states/tenant-management.state'; -export { TenantManagementRoutingModule as ɵj } from './lib/tenant-management-routing.module'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLnRlbmFudC1tYW5hZ2VtZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50ZW5hbnQtbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImFicC1uZy50ZW5hbnQtbWFuYWdlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLGlRQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEV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y30gZnJvbSAnLi9saWIvc2VydmljZXMvdGVuYW50LW1hbmFnZW1lbnQuc2VydmljZSc7XG5leHBvcnQge1RlbmFudE1hbmFnZW1lbnRTdGF0ZSBhcyDJtWJ9IGZyb20gJy4vbGliL3N0YXRlcy90ZW5hbnQtbWFuYWdlbWVudC5zdGF0ZSc7XG5leHBvcnQge1RlbmFudE1hbmFnZW1lbnRSb3V0aW5nTW9kdWxlIGFzIMm1an0gZnJvbSAnLi9saWIvdGVuYW50LW1hbmFnZW1lbnQtcm91dGluZy5tb2R1bGUnOyJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm5/lib/actions/index.js b/npm/ng-packs/dist/tenant-management/esm5/lib/actions/index.js deleted file mode 100644 index d5e1a00b5cc..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm5/lib/actions/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { GetTenants, GetTenantById, CreateTenant, UpdateTenant, DeleteTenant } from './tenant-management.actions'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL2FjdGlvbnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxvRkFBYyw2QkFBNkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdGVuYW50LW1hbmFnZW1lbnQuYWN0aW9ucyc7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm5/lib/actions/tenant-management.actions.js b/npm/ng-packs/dist/tenant-management/esm5/lib/actions/tenant-management.actions.js deleted file mode 100644 index 47e359d039f..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm5/lib/actions/tenant-management.actions.js +++ /dev/null @@ -1,76 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/tenant-management.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var GetTenants = /** @class */ (function () { - function GetTenants(payload) { - this.payload = payload; - } - GetTenants.type = '[TenantManagement] Get Tenant'; - return GetTenants; -}()); -export { GetTenants }; -if (false) { - /** @type {?} */ - GetTenants.type; - /** @type {?} */ - GetTenants.prototype.payload; -} -var GetTenantById = /** @class */ (function () { - function GetTenantById(payload) { - this.payload = payload; - } - GetTenantById.type = '[TenantManagement] Get Tenant By Id'; - return GetTenantById; -}()); -export { GetTenantById }; -if (false) { - /** @type {?} */ - GetTenantById.type; - /** @type {?} */ - GetTenantById.prototype.payload; -} -var CreateTenant = /** @class */ (function () { - function CreateTenant(payload) { - this.payload = payload; - } - CreateTenant.type = '[TenantManagement] Create Tenant'; - return CreateTenant; -}()); -export { CreateTenant }; -if (false) { - /** @type {?} */ - CreateTenant.type; - /** @type {?} */ - CreateTenant.prototype.payload; -} -var UpdateTenant = /** @class */ (function () { - function UpdateTenant(payload) { - this.payload = payload; - } - UpdateTenant.type = '[TenantManagement] Update Tenant'; - return UpdateTenant; -}()); -export { UpdateTenant }; -if (false) { - /** @type {?} */ - UpdateTenant.type; - /** @type {?} */ - UpdateTenant.prototype.payload; -} -var DeleteTenant = /** @class */ (function () { - function DeleteTenant(payload) { - this.payload = payload; - } - DeleteTenant.type = '[TenantManagement] Delete Tenant'; - return DeleteTenant; -}()); -export { DeleteTenant }; -if (false) { - /** @type {?} */ - DeleteTenant.type; - /** @type {?} */ - DeleteTenant.prototype.payload; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50LW1hbmFnZW1lbnQuYWN0aW9ucy5q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lbWVudF0gVXBkYXRlIFRlbmFudCc7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHBheWxvYWQ6IFRlbmFudE1hbmFnZW1lbnQuVXBkYXRlUmVxdWVzdCkge31cclxufVxyXG5cclxuZXhwb3J0IGNsYXNzIERlbGV0ZVRlbmFudCB7XHJcbiAgc3RhdGljIHJlYWRvbmx5IHR5cGUgPSAnW1RlbmFudE1hbmFnZW1lbnRdIERlbGV0ZSBUZW5hbnQnO1xyXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBwYXlsb2FkOiBzdHJpbmcpIHt9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm5/lib/components/index.js b/npm/ng-packs/dist/tenant-management/esm5/lib/components/index.js deleted file mode 100644 index 922ef464fda..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm5/lib/components/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { TenantsComponent } from './tenants/tenants.component'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxpQ0FBYyw2QkFBNkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdGVuYW50cy90ZW5hbnRzLmNvbXBvbmVudCc7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm5/lib/components/tenants/tenants.component.js b/npm/ng-packs/dist/tenant-management/esm5/lib/components/tenants/tenants.component.js deleted file mode 100644 index 16fc59600ec..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm5/lib/components/tenants/tenants.component.js +++ /dev/null @@ -1,471 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/tenants/tenants.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { ConfirmationService } from '@abp/ng.theme.shared'; -import { Component, TemplateRef, ViewChild } from '@angular/core'; -import { FormBuilder, Validators } from '@angular/forms'; -import { Select, Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { finalize, pluck, switchMap, take } from 'rxjs/operators'; -import { CreateTenant, DeleteTenant, GetTenantById, GetTenants, UpdateTenant, } from '../../actions/tenant-management.actions'; -import { TenantManagementService } from '../../services/tenant-management.service'; -import { TenantManagementState } from '../../states/tenant-management.state'; -/** - * @record - */ -function SelectedModalContent() { } -if (false) { - /** @type {?} */ - SelectedModalContent.prototype.type; - /** @type {?} */ - SelectedModalContent.prototype.title; - /** @type {?} */ - SelectedModalContent.prototype.template; -} -var TenantsComponent = /** @class */ (function () { - function TenantsComponent(confirmationService, tenantService, fb, store) { - this.confirmationService = confirmationService; - this.tenantService = tenantService; - this.fb = fb; - this.store = store; - this.selectedModalContent = (/** @type {?} */ ({})); - this.visibleFeatures = false; - this.pageQuery = {}; - this.loading = false; - this.modalBusy = false; - this.sortOrder = ''; - this.sortKey = ''; - } - Object.defineProperty(TenantsComponent.prototype, "useSharedDatabase", { - get: /** - * @return {?} - */ - function () { - return this.defaultConnectionStringForm.get('useSharedDatabase').value; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(TenantsComponent.prototype, "connectionString", { - get: /** - * @return {?} - */ - function () { - return this.defaultConnectionStringForm.get('defaultConnectionString').value; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(TenantsComponent.prototype, "isDisabledSaveButton", { - get: /** - * @return {?} - */ - function () { - if (!this.selectedModalContent) - return false; - if (this.selectedModalContent.type === 'saveConnStr' && - this.defaultConnectionStringForm && - this.defaultConnectionStringForm.invalid) { - return true; - } - else if (this.selectedModalContent.type === 'saveTenant' && - this.tenantForm && - this.tenantForm.invalid) { - return true; - } - else { - return false; - } - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - TenantsComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.get(); - }; - /** - * @param {?} value - * @return {?} - */ - TenantsComponent.prototype.onSearch = /** - * @param {?} value - * @return {?} - */ - function (value) { - this.pageQuery.filter = value; - this.get(); - }; - /** - * @private - * @return {?} - */ - TenantsComponent.prototype.createTenantForm = /** - * @private - * @return {?} - */ - function () { - this.tenantForm = this.fb.group({ - name: [this.selected.name || '', [Validators.required, Validators.maxLength(256)]], - }); - }; - /** - * @private - * @return {?} - */ - TenantsComponent.prototype.createDefaultConnectionStringForm = /** - * @private - * @return {?} - */ - function () { - this.defaultConnectionStringForm = this.fb.group({ - useSharedDatabase: this._useSharedDatabase, - defaultConnectionString: [this.defaultConnectionString || ''], - }); - }; - /** - * @param {?} title - * @param {?} template - * @param {?} type - * @return {?} - */ - TenantsComponent.prototype.openModal = /** - * @param {?} title - * @param {?} template - * @param {?} type - * @return {?} - */ - function (title, template, type) { - this.selectedModalContent = { - title: title, - template: template, - type: type, - }; - this.isModalVisible = true; - }; - /** - * @param {?} id - * @return {?} - */ - TenantsComponent.prototype.onEditConnectionString = /** - * @param {?} id - * @return {?} - */ - function (id) { - var _this = this; - this.store - .dispatch(new GetTenantById(id)) - .pipe(pluck('TenantManagementState', 'selectedItem'), switchMap((/** - * @param {?} selected - * @return {?} - */ - function (selected) { - _this.selected = selected; - return _this.tenantService.getDefaultConnectionString(id); - }))) - .subscribe((/** - * @param {?} fetchedConnectionString - * @return {?} - */ - function (fetchedConnectionString) { - _this._useSharedDatabase = fetchedConnectionString ? false : true; - _this.defaultConnectionString = fetchedConnectionString ? fetchedConnectionString : ''; - _this.createDefaultConnectionStringForm(); - _this.openModal('AbpTenantManagement::ConnectionStrings', _this.connectionStringModalTemplate, 'saveConnStr'); - })); - }; - /** - * @return {?} - */ - TenantsComponent.prototype.addTenant = /** - * @return {?} - */ - function () { - this.selected = (/** @type {?} */ ({})); - this.createTenantForm(); - this.openModal('AbpTenantManagement::NewTenant', this.tenantModalTemplate, 'saveTenant'); - }; - /** - * @param {?} id - * @return {?} - */ - TenantsComponent.prototype.editTenant = /** - * @param {?} id - * @return {?} - */ - function (id) { - var _this = this; - this.store - .dispatch(new GetTenantById(id)) - .pipe(pluck('TenantManagementState', 'selectedItem')) - .subscribe((/** - * @param {?} selected - * @return {?} - */ - function (selected) { - _this.selected = selected; - _this.createTenantForm(); - _this.openModal('AbpTenantManagement::Edit', _this.tenantModalTemplate, 'saveTenant'); - })); - }; - /** - * @return {?} - */ - TenantsComponent.prototype.save = /** - * @return {?} - */ - function () { - var type = this.selectedModalContent.type; - if (!type) - return; - if (type === 'saveTenant') - this.saveTenant(); - else if (type === 'saveConnStr') - this.saveConnectionString(); - }; - /** - * @return {?} - */ - TenantsComponent.prototype.saveConnectionString = /** - * @return {?} - */ - function () { - var _this = this; - if (this.modalBusy) - return; - this.modalBusy = true; - if (this.useSharedDatabase || (!this.useSharedDatabase && !this.connectionString)) { - this.tenantService - .deleteDefaultConnectionString(this.selected.id) - .pipe(take(1), finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.isModalVisible = false; - })); - } - else { - this.tenantService - .updateDefaultConnectionString({ - id: this.selected.id, - defaultConnectionString: this.connectionString, - }) - .pipe(take(1), finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.isModalVisible = false; - })); - } - }; - /** - * @return {?} - */ - TenantsComponent.prototype.saveTenant = /** - * @return {?} - */ - function () { - var _this = this; - if (!this.tenantForm.valid || this.modalBusy) - return; - this.modalBusy = true; - this.store - .dispatch(this.selected.id - ? new UpdateTenant(tslib_1.__assign({}, this.selected, this.tenantForm.value, { id: this.selected.id })) - : new CreateTenant(this.tenantForm.value)) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.isModalVisible = false; - _this.get(); - })); - }; - /** - * @param {?} id - * @param {?} name - * @return {?} - */ - TenantsComponent.prototype.delete = /** - * @param {?} id - * @param {?} name - * @return {?} - */ - function (id, name) { - var _this = this; - this.confirmationService - .warn('AbpTenantManagement::TenantDeletionConfirmationMessage', 'AbpTenantManagement::AreYouSure', { - messageLocalizationParams: [name], - }) - .subscribe((/** - * @param {?} status - * @return {?} - */ - function (status) { - if (status === "confirm" /* confirm */) { - _this.store.dispatch(new DeleteTenant(id)).subscribe((/** - * @return {?} - */ - function () { return _this.get(); })); - } - })); - }; - /** - * @param {?} data - * @return {?} - */ - TenantsComponent.prototype.onPageChange = /** - * @param {?} data - * @return {?} - */ - function (data) { - this.pageQuery.skipCount = data.first; - this.pageQuery.maxResultCount = data.rows; - this.get(); - }; - /** - * @return {?} - */ - TenantsComponent.prototype.get = /** - * @return {?} - */ - function () { - var _this = this; - this.loading = true; - this.store - .dispatch(new GetTenants(this.pageQuery)) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.loading = false); }))) - .subscribe(); - }; - /** - * @param {?} value - * @return {?} - */ - TenantsComponent.prototype.onSharedDatabaseChange = /** - * @param {?} value - * @return {?} - */ - function (value) { - if (!value) { - setTimeout((/** - * @return {?} - */ - function () { - /** @type {?} */ - var defaultConnectionString = (/** @type {?} */ (document.getElementById('defaultConnectionString'))); - if (defaultConnectionString) { - defaultConnectionString.focus(); - } - }), 0); - } - }; - TenantsComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-tenants', - template: "
\r\n
\r\n
\r\n
\r\n
{{ 'AbpTenantManagement::Tenants' | abpLocalization }}
\r\n
\r\n
\r\n \r\n \r\n {{ 'AbpTenantManagement::NewTenant' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'AbpTenantManagement::Actions' | abpLocalization }}\r\n \r\n {{ 'AbpTenantManagement::TenantName' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ 'AbpTenantManagement::Actions' | abpLocalization }}\r\n \r\n
\r\n \r\n {{ 'AbpTenantManagement::Edit' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpTenantManagement::Permission:ManageConnectionStrings' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpTenantManagement::Permission:ManageFeatures' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpTenantManagement::Delete' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n {{ data.name }}\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n

{{ selectedModalContent.title | abpLocalization }}

\r\n
\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n" - }] } - ]; - /** @nocollapse */ - TenantsComponent.ctorParameters = function () { return [ - { type: ConfirmationService }, - { type: TenantManagementService }, - { type: FormBuilder }, - { type: Store } - ]; }; - TenantsComponent.propDecorators = { - tenantModalTemplate: [{ type: ViewChild, args: ['tenantModalTemplate', { static: false },] }], - connectionStringModalTemplate: [{ type: ViewChild, args: ['connectionStringModalTemplate', { static: false },] }] - }; - tslib_1.__decorate([ - Select(TenantManagementState.get), - tslib_1.__metadata("design:type", Observable) - ], TenantsComponent.prototype, "data$", void 0); - tslib_1.__decorate([ - Select(TenantManagementState.getTenantsTotalCount), - tslib_1.__metadata("design:type", Observable) - ], TenantsComponent.prototype, "totalCount$", void 0); - return TenantsComponent; -}()); -export { TenantsComponent }; -if (false) { - /** @type {?} */ - TenantsComponent.prototype.data$; - /** @type {?} */ - TenantsComponent.prototype.totalCount$; - /** @type {?} */ - TenantsComponent.prototype.selected; - /** @type {?} */ - TenantsComponent.prototype.tenantForm; - /** @type {?} */ - TenantsComponent.prototype.defaultConnectionStringForm; - /** @type {?} */ - TenantsComponent.prototype.defaultConnectionString; - /** @type {?} */ - TenantsComponent.prototype.isModalVisible; - /** @type {?} */ - TenantsComponent.prototype.selectedModalContent; - /** @type {?} */ - TenantsComponent.prototype.visibleFeatures; - /** @type {?} */ - TenantsComponent.prototype.providerKey; - /** @type {?} */ - TenantsComponent.prototype._useSharedDatabase; - /** @type {?} */ - TenantsComponent.prototype.pageQuery; - /** @type {?} */ - TenantsComponent.prototype.loading; - /** @type {?} */ - TenantsComponent.prototype.modalBusy; - /** @type {?} */ - TenantsComponent.prototype.sortOrder; - /** @type {?} */ - TenantsComponent.prototype.sortKey; - /** @type {?} */ - TenantsComponent.prototype.tenantModalTemplate; - /** @type {?} */ - TenantsComponent.prototype.connectionStringModalTemplate; - /** - * @type {?} - * @private - */ - TenantsComponent.prototype.confirmationService; - /** - * @type {?} - * @private - */ - TenantsComponent.prototype.tenantService; - /** - * @type {?} - * @private - */ - TenantsComponent.prototype.fb; - /** - * @type {?} - * @private - */ - TenantsComponent.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50cy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvdGVuYW50cy90ZW5hbnRzLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFDQSxPQUFPLEVBQUUsbUJBQW1CLEVBQ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hpcy5wYWdlUXVlcnkubWF4UmVzdWx0Q291bnQgPSBkYXRhLnJvd3M7XHJcblxyXG4gICAgdGhpcy5nZXQoKTtcclxuICB9XHJcblxyXG4gIGdldCgpIHtcclxuICAgIHRoaXMubG9hZGluZyA9IHRydWU7XHJcbiAgICB0aGlzLnN0b3JlXHJcbiAgICAgIC5kaXNwYXRjaChuZXcgR2V0VGVuYW50cyh0aGlzLnBhZ2VRdWVyeSkpXHJcbiAgICAgIC5waXBlKGZpbmFsaXplKCgpID0+ICh0aGlzLmxvYWRpbmcgPSBmYWxzZSkpKVxyXG4gICAgICAuc3Vic2NyaWJlKCk7XHJcbiAgfVxyXG5cclxuICBvblNoYXJlZERhdGFiYXNlQ2hhbmdlKHZhbHVlOiBib29sZWFuKSB7XHJcbiAgICBpZiAoIXZhbHVlKSB7XHJcbiAgICAgIHNldFRpbWVvdXQoKCkgPT4ge1xyXG4gICAgICAgIGNvbnN0IGRlZmF1bHRDb25uZWN0aW9uU3RyaW5nID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoXHJcbiAgICAgICAgICAnZGVmYXVsdENvbm5lY3Rpb25TdHJpbmcnLFxyXG4gICAgICAgICkgYXMgSFRNTElucHV0RWxlbWVudDtcclxuICAgICAgICBpZiAoZGVmYXVsdENvbm5lY3Rpb25TdHJpbmcpIHtcclxuICAgICAgICAgIGRlZmF1bHRDb25uZWN0aW9uU3RyaW5nLmZvY3VzKCk7XHJcbiAgICAgICAgfVxyXG4gICAgICB9LCAwKTtcclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm5/lib/constants/index.js b/npm/ng-packs/dist/tenant-management/esm5/lib/constants/index.js deleted file mode 100644 index 2a5acedcfaf..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm5/lib/constants/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { TENANT_MANAGEMENT_ROUTES } from './routes'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL2NvbnN0YW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHlDQUFjLFVBQVUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcm91dGVzJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm5/lib/constants/routes.js b/npm/ng-packs/dist/tenant-management/esm5/lib/constants/routes.js deleted file mode 100644 index 9f96fadde4c..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm5/lib/constants/routes.js +++ /dev/null @@ -1,30 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/routes.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * - * @deprecated since version 0.9.0 - * @type {?} - */ -export var TENANT_MANAGEMENT_ROUTES = { - routes: (/** @type {?} */ ([ - { - name: 'AbpTenantManagement::Menu:TenantManagement', - path: 'tenant-management', - parentName: 'AbpUiNavigation::Menu:Administration', - layout: "application" /* application */, - iconClass: 'fa fa-users', - children: [ - { - path: 'tenants', - name: 'AbpTenantManagement::Tenants', - order: 1, - requiredPolicy: 'AbpTenantManagement.Tenants', - }, - ], - }, - ])), -}; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGVzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50ZW5hbnQtbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi9jb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gY2hpbGRyZW46IFtcclxuICAgICAgICB7XHJcbiAgICAgICAgICBwYXRoOiAndGVuYW50cycsXHJcbiAgICAgICAgICBuYW1lOiAnQWJwVGVuYW50TWFuYWdlbWVudDo6VGVuYW50cycsXHJcbiAgICAgICAgICBvcmRlcjogMSxcclxuICAgICAgICAgIHJlcXVpcmVkUG9saWN5OiAnQWJwVGVuYW50TWFuYWdlbWVudC5UZW5hbnRzJyxcclxuICAgICAgICB9LFxyXG4gICAgICBdLFxyXG4gICAgfSxcclxuICBdIGFzIEFCUC5GdWxsUm91dGVbXSxcclxufTtcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm5/lib/models/index.js b/npm/ng-packs/dist/tenant-management/esm5/lib/models/index.js deleted file mode 100644 index c46c7225b6c..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm5/lib/models/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export {} from './tenant-management'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL21vZGVscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLGVBQWMscUJBQXFCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3RlbmFudC1tYW5hZ2VtZW50JztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm5/lib/models/tenant-management.js b/npm/ng-packs/dist/tenant-management/esm5/lib/models/tenant-management.js deleted file mode 100644 index ac707eb2b55..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm5/lib/models/tenant-management.js +++ /dev/null @@ -1,60 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/tenant-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var TenantManagement; -(function (TenantManagement) { - /** - * @record - */ - function State() { } - TenantManagement.State = State; - if (false) { - /** @type {?} */ - State.prototype.result; - /** @type {?} */ - State.prototype.selectedItem; - } - /** - * @record - */ - function Item() { } - TenantManagement.Item = Item; - if (false) { - /** @type {?} */ - Item.prototype.id; - /** @type {?} */ - Item.prototype.name; - } - /** - * @record - */ - function AddRequest() { } - TenantManagement.AddRequest = AddRequest; - if (false) { - /** @type {?} */ - AddRequest.prototype.name; - } - /** - * @record - */ - function UpdateRequest() { } - TenantManagement.UpdateRequest = UpdateRequest; - if (false) { - /** @type {?} */ - UpdateRequest.prototype.id; - } - /** - * @record - */ - function DefaultConnectionStringRequest() { } - TenantManagement.DefaultConnectionStringRequest = DefaultConnectionStringRequest; - if (false) { - /** @type {?} */ - DefaultConnectionStringRequest.prototype.id; - /** @type {?} */ - DefaultConnectionStringRequest.prototype.defaultConnectionString; - } -})(TenantManagement || (TenantManagement = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50LW1hbmFnZW1lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL21vZGVscy90ZW5hbnQtbWFuYWdlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUVBLE1BQU0sS0FBVyxnQkFBZ0IsQ0F5QmhDO0FBekJELFdBQWlCLGdCQUFnQjs7OztJQUMvQixvQkFHQzs7OztRQUZDLHVCQUFpQjs7UUFDakIsNkJBQW1COzs7OztJQUtyQixtQkFHQzs7OztRQUZDLGtCQUFXOztRQUNYLG9CQUFhOzs7OztJQUdmLHlCQUVDOzs7O1FBREMsMEJBQWE7Ozs7O0lBR2YsNEJBRUM7Ozs7UUFEQywyQkFBVzs7Ozs7SUFHYiw2Q0FHQzs7OztRQUZDLDRDQUFXOztRQUNYLGlFQUFnQzs7QUFFcEMsQ0FBQyxFQXpCZ0IsZ0JBQWdCLEtBQWhCLGdCQUFnQixRQXlCaEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBQlAgfSBmcm9tICdAYWJwL25nLmNvcmUnO1xyXG5cclxuZXhwb3J0IG5hbWVzcGFjZSBUZW5hbnRNYW5hZ2VtZW50IHtcclxuICBleHBvcnQgaW50ZXJmYWNlIFN0YXRlIHtcclxuICAgIHJlc3VsdDogUmVzcG9uc2U7XHJcbiAgICBzZWxlY3RlZEl0ZW06IEl0ZW07XHJcbiAgfVxyXG5cclxuICBleHBvcnQgdHlwZSBSZXNwb25zZSA9IEFCUC5QYWdlZFJlc3BvbnNlPEl0ZW0+O1xyXG5cclxuICBleHBvcnQgaW50ZXJmYWNlIEl0ZW0ge1xyXG4gICAgaWQ6IHN0cmluZztcclxuICAgIG5hbWU6IHN0cmluZztcclxuICB9XHJcblxyXG4gIGV4cG9ydCBpbnRlcmZhY2UgQWRkUmVxdWVzdCB7XHJcbiAgICBuYW1lOiBzdHJpbmc7XHJcbiAgfVxyXG5cclxuICBleHBvcnQgaW50ZXJmYWNlIFVwZGF0ZVJlcXVlc3QgZXh0ZW5kcyBBZGRSZXF1ZXN0IHtcclxuICAgIGlkOiBzdHJpbmc7XHJcbiAgfVxyXG5cclxuICBleHBvcnQgaW50ZXJmYWNlIERlZmF1bHRDb25uZWN0aW9uU3RyaW5nUmVxdWVzdCB7XHJcbiAgICBpZDogc3RyaW5nO1xyXG4gICAgZGVmYXVsdENvbm5lY3Rpb25TdHJpbmc6IHN0cmluZztcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm5/lib/services/index.js b/npm/ng-packs/dist/tenant-management/esm5/lib/services/index.js deleted file mode 100644 index bc648582368..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm5/lib/services/index.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { TenantManagementService } from './tenant-management.service'; -export { TenantManagementStateService } from './tenant-management-state.service'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL3NlcnZpY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsd0NBQWMsNkJBQTZCLENBQUM7QUFDNUMsNkNBQWMsbUNBQW1DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3RlbmFudC1tYW5hZ2VtZW50LnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL3RlbmFudC1tYW5hZ2VtZW50LXN0YXRlLnNlcnZpY2UnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm5/lib/services/tenant-management-state.service.js b/npm/ng-packs/dist/tenant-management/esm5/lib/services/tenant-management-state.service.js deleted file mode 100644 index 6f6f9ca3d28..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm5/lib/services/tenant-management-state.service.js +++ /dev/null @@ -1,53 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/tenant-management-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { TenantManagementState } from '../states/tenant-management.state'; -import * as i0 from "@angular/core"; -import * as i1 from "@ngxs/store"; -var TenantManagementStateService = /** @class */ (function () { - function TenantManagementStateService(store) { - this.store = store; - } - /** - * @return {?} - */ - TenantManagementStateService.prototype.get = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(TenantManagementState.get); - }; - /** - * @return {?} - */ - TenantManagementStateService.prototype.getTenantsTotalCount = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(TenantManagementState.getTenantsTotalCount); - }; - TenantManagementStateService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - TenantManagementStateService.ctorParameters = function () { return [ - { type: Store } - ]; }; - /** @nocollapse */ TenantManagementStateService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function TenantManagementStateService_Factory() { return new TenantManagementStateService(i0.ɵɵinject(i1.Store)); }, token: TenantManagementStateService, providedIn: "root" }); - return TenantManagementStateService; -}()); -export { TenantManagementStateService }; -if (false) { - /** - * @type {?} - * @private - */ - TenantManagementStateService.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50LW1hbmFnZW1lbnQtc3RhdGUuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGVuYW50LW1hbmFnZW1lbnQvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvdGVuYW50LW1hbmFnZW1lbnQtc3RhdGUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUNwQyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQzs7O0FBRTFFO0lBSUUsc0NBQW9CLEtBQVk7UUFBWixVQUFLLEdBQUwsS0FBSyxDQUFPO0lBQUcsQ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0U25hcHNob3QoVGVuYW50TWFuYWdlbWVudFN0YXRlLmdldFRlbmFudHNUb3RhbENvdW50KTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm5/lib/services/tenant-management.service.js b/npm/ng-packs/dist/tenant-management/esm5/lib/services/tenant-management.service.js deleted file mode 100644 index 8e94bc0f224..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm5/lib/services/tenant-management.service.js +++ /dev/null @@ -1,177 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/tenant-management.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { RestService } from '@abp/ng.core'; -import * as i0 from "@angular/core"; -import * as i1 from "@abp/ng.core"; -var TenantManagementService = /** @class */ (function () { - function TenantManagementService(rest) { - this.rest = rest; - } - /** - * @param {?=} params - * @return {?} - */ - TenantManagementService.prototype.getTenant = /** - * @param {?=} params - * @return {?} - */ - function (params) { - if (params === void 0) { params = (/** @type {?} */ ({})); } - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/multi-tenancy/tenants', - params: params - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - TenantManagementService.prototype.getTenantById = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'GET', - url: "/api/multi-tenancy/tenants/" + id - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - TenantManagementService.prototype.deleteTenant = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'DELETE', - url: "/api/multi-tenancy/tenants/" + id - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - TenantManagementService.prototype.createTenant = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var request = { - method: 'POST', - url: '/api/multi-tenancy/tenants', - body: body - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - TenantManagementService.prototype.updateTenant = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var url = "/api/multi-tenancy/tenants/" + body.id; - delete body.id; - /** @type {?} */ - var request = { - method: 'PUT', - url: url, - body: body - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - TenantManagementService.prototype.getDefaultConnectionString = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var url = "/api/multi-tenancy/tenants/" + id + "/default-connection-string"; - /** @type {?} */ - var request = { - method: 'GET', - responseType: "text" /* Text */, - url: url - }; - return this.rest.request(request); - }; - /** - * @param {?} payload - * @return {?} - */ - TenantManagementService.prototype.updateDefaultConnectionString = /** - * @param {?} payload - * @return {?} - */ - function (payload) { - /** @type {?} */ - var url = "/api/multi-tenancy/tenants/" + payload.id + "/default-connection-string"; - /** @type {?} */ - var request = { - method: 'PUT', - url: url, - params: { defaultConnectionString: payload.defaultConnectionString } - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - TenantManagementService.prototype.deleteDefaultConnectionString = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var url = "/api/multi-tenancy/tenants/" + id + "/default-connection-string"; - /** @type {?} */ - var request = { - method: 'DELETE', - url: url - }; - return this.rest.request(request); - }; - TenantManagementService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root' - },] } - ]; - /** @nocollapse */ - TenantManagementService.ctorParameters = function () { return [ - { type: RestService } - ]; }; - /** @nocollapse */ TenantManagementService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function TenantManagementService_Factory() { return new TenantManagementService(i0.ɵɵinject(i1.RestService)); }, token: TenantManagementService, providedIn: "root" }); - return TenantManagementService; -}()); -export { TenantManagementService }; -if (false) { - /** - * @type {?} - * @private - */ - TenantManagementService.prototype.rest; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50LW1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XHJcbiAgICAgIG1ldGhvZDogJ1BVVCcsXHJcbiAgICAgIHVybCxcclxuICAgICAgcGFyYW1zOiB7IGRlZmF1bHRDb25uZWN0aW9uU3RyaW5nOiBwYXlsb2FkLmRlZmF1bHRDb25uZWN0aW9uU3RyaW5nIH1cclxuICAgIH07XHJcbiAgICByZXR1cm4gdGhpcy5yZXN0LnJlcXVlc3Q8VGVuYW50TWFuYWdlbWVudC5EZWZhdWx0Q29ubmVjdGlvblN0cmluZ1JlcXVlc3QsIGFueT4ocmVxdWVzdCk7XHJcbiAgfVxyXG5cclxuICBkZWxldGVEZWZhdWx0Q29ubmVjdGlvblN0cmluZyhpZDogc3RyaW5nKTogT2JzZXJ2YWJsZTxzdHJpbmc+IHtcclxuICAgIGNvbnN0IHVybCA9IGAvYXBpL211bHRpLXRlbmFuY3kvdGVuYW50cy8ke2lkfS9kZWZhdWx0LWNvbm5lY3Rpb24tc3RyaW5nYDtcclxuXHJcbiAgICBjb25zdCByZXF1ZXN0OiBSZXN0LlJlcXVlc3Q8VGVuYW50TWFuYWdlbWVudC5EZWZhdWx0Q29ubmVjdGlvblN0cmluZ1JlcXVlc3Q+ID0ge1xyXG4gICAgICBtZXRob2Q6ICdERUxFVEUnLFxyXG4gICAgICB1cmxcclxuICAgIH07XHJcbiAgICByZXR1cm4gdGhpcy5yZXN0LnJlcXVlc3Q8VGVuYW50TWFuYWdlbWVudC5EZWZhdWx0Q29ubmVjdGlvblN0cmluZ1JlcXVlc3QsIGFueT4ocmVxdWVzdCk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm5/lib/states/index.js b/npm/ng-packs/dist/tenant-management/esm5/lib/states/index.js deleted file mode 100644 index d53b77c5248..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm5/lib/states/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { TenantManagementState } from './tenant-management.state'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL3N0YXRlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHNDQUFjLDJCQUEyQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi90ZW5hbnQtbWFuYWdlbWVudC5zdGF0ZSc7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm5/lib/states/tenant-management.state.js b/npm/ng-packs/dist/tenant-management/esm5/lib/states/tenant-management.state.js deleted file mode 100644 index 8d22a47322f..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm5/lib/states/tenant-management.state.js +++ /dev/null @@ -1,190 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/tenant-management.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Action, Selector, State } from '@ngxs/store'; -import { tap } from 'rxjs/operators'; -import { CreateTenant, DeleteTenant, GetTenants, GetTenantById, UpdateTenant, } from '../actions/tenant-management.actions'; -import { TenantManagementService } from '../services/tenant-management.service'; -var TenantManagementState = /** @class */ (function () { - function TenantManagementState(tenantManagementService) { - this.tenantManagementService = tenantManagementService; - } - /** - * @param {?} __0 - * @return {?} - */ - TenantManagementState.get = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var result = _a.result; - return result.items || []; - }; - /** - * @param {?} __0 - * @return {?} - */ - TenantManagementState.getTenantsTotalCount = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var result = _a.result; - return result.totalCount; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - TenantManagementState.prototype.get = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.tenantManagementService.getTenant(payload).pipe(tap((/** - * @param {?} result - * @return {?} - */ - function (result) { - return patchState({ - result: result, - }); - }))); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - TenantManagementState.prototype.getById = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.tenantManagementService.getTenantById(payload).pipe(tap((/** - * @param {?} selectedItem - * @return {?} - */ - function (selectedItem) { - return patchState({ - selectedItem: selectedItem, - }); - }))); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - TenantManagementState.prototype.delete = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.tenantManagementService.deleteTenant(payload); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - TenantManagementState.prototype.add = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.tenantManagementService.createTenant(payload); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - TenantManagementState.prototype.update = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var getState = _a.getState; - var payload = _b.payload; - return this.tenantManagementService.updateTenant(tslib_1.__assign({}, getState().selectedItem, payload)); - }; - TenantManagementState.ctorParameters = function () { return [ - { type: TenantManagementService } - ]; }; - tslib_1.__decorate([ - Action(GetTenants), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetTenants]), - tslib_1.__metadata("design:returntype", void 0) - ], TenantManagementState.prototype, "get", null); - tslib_1.__decorate([ - Action(GetTenantById), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, GetTenantById]), - tslib_1.__metadata("design:returntype", void 0) - ], TenantManagementState.prototype, "getById", null); - tslib_1.__decorate([ - Action(DeleteTenant), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, DeleteTenant]), - tslib_1.__metadata("design:returntype", void 0) - ], TenantManagementState.prototype, "delete", null); - tslib_1.__decorate([ - Action(CreateTenant), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, CreateTenant]), - tslib_1.__metadata("design:returntype", void 0) - ], TenantManagementState.prototype, "add", null); - tslib_1.__decorate([ - Action(UpdateTenant), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, UpdateTenant]), - tslib_1.__metadata("design:returntype", void 0) - ], TenantManagementState.prototype, "update", null); - tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", Array) - ], TenantManagementState, "get", null); - tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", Number) - ], TenantManagementState, "getTenantsTotalCount", null); - TenantManagementState = tslib_1.__decorate([ - State({ - name: 'TenantManagementState', - defaults: (/** @type {?} */ ({ result: {}, selectedItem: {} })), - }), - tslib_1.__metadata("design:paramtypes", [TenantManagementService]) - ], TenantManagementState); - return TenantManagementState; -}()); -export { TenantManagementState }; -if (false) { - /** - * @type {?} - * @private - */ - TenantManagementState.prototype.tenantManagementService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50LW1hbmFnZW1lbnQuc3RhdGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRlbmFudC1tYW5hZ2VtZW50LyIsInNvdXJjZXMiOlsibGliL3N0YXRlcy90ZW5hbnQtbWFuYWdlbWVudC5zdGF0ZS50cyJdLCJuY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hbmFnZW1lbnQuU3RhdGU+LCB7IHBheWxvYWQgfTogVXBkYXRlVGVuYW50KSB7XHJcbiAgICByZXR1cm4gdGhpcy50ZW5hbnRNYW5hZ2VtZW50U2VydmljZS51cGRhdGVUZW5hbnQoeyAuLi5nZXRTdGF0ZSgpLnNlbGVjdGVkSXRlbSwgLi4ucGF5bG9hZCB9KTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm5/lib/tenant-management-routing.module.js b/npm/ng-packs/dist/tenant-management/esm5/lib/tenant-management-routing.module.js deleted file mode 100644 index 149dd062751..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm5/lib/tenant-management-routing.module.js +++ /dev/null @@ -1,35 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/tenant-management-routing.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { AuthGuard, DynamicLayoutComponent, PermissionGuard } from '@abp/ng.core'; -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { TenantsComponent } from './components/tenants/tenants.component'; -var ɵ0 = { requiredPolicy: 'AbpTenantManagement.Tenants' }; -/** @type {?} */ -var routes = [ - { path: '', redirectTo: 'tenants', pathMatch: 'full' }, - { - path: 'tenants', - component: DynamicLayoutComponent, - canActivate: [AuthGuard, PermissionGuard], - data: ɵ0, - children: [{ path: '', component: TenantsComponent }], - }, -]; -var TenantManagementRoutingModule = /** @class */ (function () { - function TenantManagementRoutingModule() { - } - TenantManagementRoutingModule.decorators = [ - { type: NgModule, args: [{ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule], - },] } - ]; - return TenantManagementRoutingModule; -}()); -export { TenantManagementRoutingModule }; -export { ɵ0 }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50LW1hbmFnZW1lbnQtcm91dGluZy5tb2R1bGUuanMiLCJzb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G4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm5/lib/tenant-management.module.js b/npm/ng-packs/dist/tenant-management/esm5/lib/tenant-management.module.js deleted file mode 100644 index 4d33a77a426..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm5/lib/tenant-management.module.js +++ /dev/null @@ -1,46 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/tenant-management.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { CoreModule } from '@abp/ng.core'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; -import { NgModule } from '@angular/core'; -import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; -import { NgxsModule } from '@ngxs/store'; -import { TableModule } from 'primeng/table'; -import { TenantsComponent } from './components/tenants/tenants.component'; -import { TenantManagementState } from './states/tenant-management.state'; -import { TenantManagementRoutingModule } from './tenant-management-routing.module'; -import { FeatureManagementModule } from '@abp/ng.feature-management'; -import { NgxValidateCoreModule } from '@ngx-validate/core'; -var TenantManagementModule = /** @class */ (function () { - function TenantManagementModule() { - } - TenantManagementModule.decorators = [ - { type: NgModule, args: [{ - declarations: [TenantsComponent], - imports: [ - TenantManagementRoutingModule, - NgxsModule.forFeature([TenantManagementState]), - NgxValidateCoreModule, - CoreModule, - TableModule, - ThemeSharedModule, - NgbDropdownModule, - FeatureManagementModule, - ], - },] } - ]; - return TenantManagementModule; -}()); -export { TenantManagementModule }; -/** - * - * @deprecated since version 0.9.0 - * @return {?} - */ -export function TenantManagementProviders() { - return []; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuYW50LW1hbmFnZW1lbnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50ZW5hbnQtbWFuYWdlbWVudC8iLCJzb3VyY2VzIjpbImxpYi90ZW5hbnQtbWFuYWdlbWVudC5tb2R1bGUudHM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5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW1RlbmFudHNDb21wb25lbnRdLFxyXG4gIGltcG9ydHM6IFtcclxuICAgIFRlbmFudE1hbmFnZW1lbnRSb3V0aW5nTW9kdWxlLFxyXG4gICAgTmd4c01vZHVsZS5mb3JGZWF0dXJlKFtUZW5hbnRNYW5hZ2VtZW50U3RhdGVdKSxcclxuICAgIE5neFZhbGlkYXRlQ29yZU1vZHVsZSxcclxuICAgIENvcmVNb2R1bGUsXHJcbiAgICBUYWJsZU1vZHVsZSxcclxuICAgIFRoZW1lU2hhcmVkTW9kdWxlLFxyXG4gICAgTmdiRHJvcGRvd25Nb2R1bGUsXHJcbiAgICBGZWF0dXJlTWFuYWdlbWVudE1vZHVsZSxcclxuICBdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgVGVuYW50TWFuYWdlbWVudE1vZHVsZSB7fVxyXG5cclxuLyoqXHJcbiAqXHJcbiAqIEBkZXByZWNhdGVkIHNpbmNlIHZlcnNpb24gMC45LjBcclxuICovXHJcbmV4cG9ydCBmdW5jdGlvbiBUZW5hbnRNYW5hZ2VtZW50UHJvdmlkZXJzKCk6IFByb3ZpZGVyW10ge1xyXG4gIHJldHVybiBbXTtcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/esm5/public-api.js b/npm/ng-packs/dist/tenant-management/esm5/public-api.js deleted file mode 100644 index b1120980f11..00000000000 --- a/npm/ng-packs/dist/tenant-management/esm5/public-api.js +++ /dev/null @@ -1,13 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { TenantManagementProviders, TenantManagementModule } from './lib/tenant-management.module'; -export { GetTenants, GetTenantById, CreateTenant, UpdateTenant, DeleteTenant } from './lib/actions'; -export { TenantsComponent } from './lib/components'; -export { TENANT_MANAGEMENT_ROUTES } from './lib/constants'; -export {} from './lib/models'; -export { TenantManagementService, TenantManagementStateService } from './lib/services'; -export { TenantManagementState } from './lib/states'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGVuYW50LW1hbmFnZW1lbnQvIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsa0VBQWMsZ0NBQWdDLENBQUM7QUFDL0Msb0ZBQWMsZUFBZSxDQUFDO0FBQzlCLGlDQUFjLGtCQUFrQixDQUFDO0FBQ2pDLHlDQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGVBQWMsY0FBYyxDQUFDO0FBQzdCLHNFQUFjLGdCQUFnQixDQUFDO0FBQy9CLHNDQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliL3RlbmFudC1tYW5hZ2VtZW50Lm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2FjdGlvbnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21wb25lbnRzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvY29uc3RhbnRzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvbW9kZWxzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvc2VydmljZXMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zdGF0ZXMnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/fesm2015/abp-ng.tenant-management.js b/npm/ng-packs/dist/tenant-management/fesm2015/abp-ng.tenant-management.js deleted file mode 100644 index 3a5a8c14254..00000000000 --- a/npm/ng-packs/dist/tenant-management/fesm2015/abp-ng.tenant-management.js +++ /dev/null @@ -1,1005 +0,0 @@ -import { RestService, DynamicLayoutComponent, AuthGuard, PermissionGuard, CoreModule } from '@abp/ng.core'; -import { ConfirmationService, ThemeSharedModule } from '@abp/ng.theme.shared'; -import { Injectable, ɵɵdefineInjectable, ɵɵinject, Component, ViewChild, NgModule } from '@angular/core'; -import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; -import { Action, Selector, State, Store, Select, NgxsModule } from '@ngxs/store'; -import { TableModule } from 'primeng/table'; -import { __decorate, __metadata } from 'tslib'; -import { Validators, FormBuilder } from '@angular/forms'; -import { Observable } from 'rxjs'; -import { tap, pluck, switchMap, take, finalize } from 'rxjs/operators'; -import { RouterModule } from '@angular/router'; -import { FeatureManagementModule } from '@abp/ng.feature-management'; -import { NgxValidateCoreModule } from '@ngx-validate/core'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/tenant-management.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class GetTenants { - /** - * @param {?=} payload - */ - constructor(payload) { - this.payload = payload; - } -} -GetTenants.type = '[TenantManagement] Get Tenant'; -if (false) { - /** @type {?} */ - GetTenants.type; - /** @type {?} */ - GetTenants.prototype.payload; -} -class GetTenantById { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -GetTenantById.type = '[TenantManagement] Get Tenant By Id'; -if (false) { - /** @type {?} */ - GetTenantById.type; - /** @type {?} */ - GetTenantById.prototype.payload; -} -class CreateTenant { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -CreateTenant.type = '[TenantManagement] Create Tenant'; -if (false) { - /** @type {?} */ - CreateTenant.type; - /** @type {?} */ - CreateTenant.prototype.payload; -} -class UpdateTenant { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -UpdateTenant.type = '[TenantManagement] Update Tenant'; -if (false) { - /** @type {?} */ - UpdateTenant.type; - /** @type {?} */ - UpdateTenant.prototype.payload; -} -class DeleteTenant { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -DeleteTenant.type = '[TenantManagement] Delete Tenant'; -if (false) { - /** @type {?} */ - DeleteTenant.type; - /** @type {?} */ - DeleteTenant.prototype.payload; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/tenant-management.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class TenantManagementService { - /** - * @param {?} rest - */ - constructor(rest) { - this.rest = rest; - } - /** - * @param {?=} params - * @return {?} - */ - getTenant(params = (/** @type {?} */ ({}))) { - /** @type {?} */ - const request = { - method: 'GET', - url: '/api/multi-tenancy/tenants', - params - }; - return this.rest.request(request); - } - /** - * @param {?} id - * @return {?} - */ - getTenantById(id) { - /** @type {?} */ - const request = { - method: 'GET', - url: `/api/multi-tenancy/tenants/${id}` - }; - return this.rest.request(request); - } - /** - * @param {?} id - * @return {?} - */ - deleteTenant(id) { - /** @type {?} */ - const request = { - method: 'DELETE', - url: `/api/multi-tenancy/tenants/${id}` - }; - return this.rest.request(request); - } - /** - * @param {?} body - * @return {?} - */ - createTenant(body) { - /** @type {?} */ - const request = { - method: 'POST', - url: '/api/multi-tenancy/tenants', - body - }; - return this.rest.request(request); - } - /** - * @param {?} body - * @return {?} - */ - updateTenant(body) { - /** @type {?} */ - const url = `/api/multi-tenancy/tenants/${body.id}`; - delete body.id; - /** @type {?} */ - const request = { - method: 'PUT', - url, - body - }; - return this.rest.request(request); - } - /** - * @param {?} id - * @return {?} - */ - getDefaultConnectionString(id) { - /** @type {?} */ - const url = `/api/multi-tenancy/tenants/${id}/default-connection-string`; - /** @type {?} */ - const request = { - method: 'GET', - responseType: "text" /* Text */, - url - }; - return this.rest.request(request); - } - /** - * @param {?} payload - * @return {?} - */ - updateDefaultConnectionString(payload) { - /** @type {?} */ - const url = `/api/multi-tenancy/tenants/${payload.id}/default-connection-string`; - /** @type {?} */ - const request = { - method: 'PUT', - url, - params: { defaultConnectionString: payload.defaultConnectionString } - }; - return this.rest.request(request); - } - /** - * @param {?} id - * @return {?} - */ - deleteDefaultConnectionString(id) { - /** @type {?} */ - const url = `/api/multi-tenancy/tenants/${id}/default-connection-string`; - /** @type {?} */ - const request = { - method: 'DELETE', - url - }; - return this.rest.request(request); - } -} -TenantManagementService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root' - },] } -]; -/** @nocollapse */ -TenantManagementService.ctorParameters = () => [ - { type: RestService } -]; -/** @nocollapse */ TenantManagementService.ngInjectableDef = ɵɵdefineInjectable({ factory: function TenantManagementService_Factory() { return new TenantManagementService(ɵɵinject(RestService)); }, token: TenantManagementService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - TenantManagementService.prototype.rest; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/tenant-management.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -let TenantManagementState = class TenantManagementState { - /** - * @param {?} tenantManagementService - */ - constructor(tenantManagementService) { - this.tenantManagementService = tenantManagementService; - } - /** - * @param {?} __0 - * @return {?} - */ - static get({ result }) { - return result.items || []; - } - /** - * @param {?} __0 - * @return {?} - */ - static getTenantsTotalCount({ result }) { - return result.totalCount; - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - get({ patchState }, { payload }) { - return this.tenantManagementService.getTenant(payload).pipe(tap((/** - * @param {?} result - * @return {?} - */ - result => patchState({ - result, - })))); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - getById({ patchState }, { payload }) { - return this.tenantManagementService.getTenantById(payload).pipe(tap((/** - * @param {?} selectedItem - * @return {?} - */ - selectedItem => patchState({ - selectedItem, - })))); - } - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - delete(_, { payload }) { - return this.tenantManagementService.deleteTenant(payload); - } - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - add(_, { payload }) { - return this.tenantManagementService.createTenant(payload); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - update({ getState }, { payload }) { - return this.tenantManagementService.updateTenant(Object.assign({}, getState().selectedItem, payload)); - } -}; -TenantManagementState.ctorParameters = () => [ - { type: TenantManagementService } -]; -__decorate([ - Action(GetTenants), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetTenants]), - __metadata("design:returntype", void 0) -], TenantManagementState.prototype, "get", null); -__decorate([ - Action(GetTenantById), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetTenantById]), - __metadata("design:returntype", void 0) -], TenantManagementState.prototype, "getById", null); -__decorate([ - Action(DeleteTenant), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, DeleteTenant]), - __metadata("design:returntype", void 0) -], TenantManagementState.prototype, "delete", null); -__decorate([ - Action(CreateTenant), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, CreateTenant]), - __metadata("design:returntype", void 0) -], TenantManagementState.prototype, "add", null); -__decorate([ - Action(UpdateTenant), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, UpdateTenant]), - __metadata("design:returntype", void 0) -], TenantManagementState.prototype, "update", null); -__decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Array) -], TenantManagementState, "get", null); -__decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Number) -], TenantManagementState, "getTenantsTotalCount", null); -TenantManagementState = __decorate([ - State({ - name: 'TenantManagementState', - defaults: (/** @type {?} */ ({ result: {}, selectedItem: {} })), - }), - __metadata("design:paramtypes", [TenantManagementService]) -], TenantManagementState); -if (false) { - /** - * @type {?} - * @private - */ - TenantManagementState.prototype.tenantManagementService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/tenants/tenants.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -function SelectedModalContent() { } -if (false) { - /** @type {?} */ - SelectedModalContent.prototype.type; - /** @type {?} */ - SelectedModalContent.prototype.title; - /** @type {?} */ - SelectedModalContent.prototype.template; -} -class TenantsComponent { - /** - * @param {?} confirmationService - * @param {?} tenantService - * @param {?} fb - * @param {?} store - */ - constructor(confirmationService, tenantService, fb, store) { - this.confirmationService = confirmationService; - this.tenantService = tenantService; - this.fb = fb; - this.store = store; - this.selectedModalContent = (/** @type {?} */ ({})); - this.visibleFeatures = false; - this.pageQuery = {}; - this.loading = false; - this.modalBusy = false; - this.sortOrder = ''; - this.sortKey = ''; - } - /** - * @return {?} - */ - get useSharedDatabase() { - return this.defaultConnectionStringForm.get('useSharedDatabase').value; - } - /** - * @return {?} - */ - get connectionString() { - return this.defaultConnectionStringForm.get('defaultConnectionString').value; - } - /** - * @return {?} - */ - get isDisabledSaveButton() { - if (!this.selectedModalContent) - return false; - if (this.selectedModalContent.type === 'saveConnStr' && - this.defaultConnectionStringForm && - this.defaultConnectionStringForm.invalid) { - return true; - } - else if (this.selectedModalContent.type === 'saveTenant' && - this.tenantForm && - this.tenantForm.invalid) { - return true; - } - else { - return false; - } - } - /** - * @return {?} - */ - ngOnInit() { - this.get(); - } - /** - * @param {?} value - * @return {?} - */ - onSearch(value) { - this.pageQuery.filter = value; - this.get(); - } - /** - * @private - * @return {?} - */ - createTenantForm() { - this.tenantForm = this.fb.group({ - name: [this.selected.name || '', [Validators.required, Validators.maxLength(256)]], - }); - } - /** - * @private - * @return {?} - */ - createDefaultConnectionStringForm() { - this.defaultConnectionStringForm = this.fb.group({ - useSharedDatabase: this._useSharedDatabase, - defaultConnectionString: [this.defaultConnectionString || ''], - }); - } - /** - * @param {?} title - * @param {?} template - * @param {?} type - * @return {?} - */ - openModal(title, template, type) { - this.selectedModalContent = { - title, - template, - type, - }; - this.isModalVisible = true; - } - /** - * @param {?} id - * @return {?} - */ - onEditConnectionString(id) { - this.store - .dispatch(new GetTenantById(id)) - .pipe(pluck('TenantManagementState', 'selectedItem'), switchMap((/** - * @param {?} selected - * @return {?} - */ - selected => { - this.selected = selected; - return this.tenantService.getDefaultConnectionString(id); - }))) - .subscribe((/** - * @param {?} fetchedConnectionString - * @return {?} - */ - fetchedConnectionString => { - this._useSharedDatabase = fetchedConnectionString ? false : true; - this.defaultConnectionString = fetchedConnectionString ? fetchedConnectionString : ''; - this.createDefaultConnectionStringForm(); - this.openModal('AbpTenantManagement::ConnectionStrings', this.connectionStringModalTemplate, 'saveConnStr'); - })); - } - /** - * @return {?} - */ - addTenant() { - this.selected = (/** @type {?} */ ({})); - this.createTenantForm(); - this.openModal('AbpTenantManagement::NewTenant', this.tenantModalTemplate, 'saveTenant'); - } - /** - * @param {?} id - * @return {?} - */ - editTenant(id) { - this.store - .dispatch(new GetTenantById(id)) - .pipe(pluck('TenantManagementState', 'selectedItem')) - .subscribe((/** - * @param {?} selected - * @return {?} - */ - selected => { - this.selected = selected; - this.createTenantForm(); - this.openModal('AbpTenantManagement::Edit', this.tenantModalTemplate, 'saveTenant'); - })); - } - /** - * @return {?} - */ - save() { - const { type } = this.selectedModalContent; - if (!type) - return; - if (type === 'saveTenant') - this.saveTenant(); - else if (type === 'saveConnStr') - this.saveConnectionString(); - } - /** - * @return {?} - */ - saveConnectionString() { - if (this.modalBusy) - return; - this.modalBusy = true; - if (this.useSharedDatabase || (!this.useSharedDatabase && !this.connectionString)) { - this.tenantService - .deleteDefaultConnectionString(this.selected.id) - .pipe(take(1), finalize((/** - * @return {?} - */ - () => (this.modalBusy = false)))) - .subscribe((/** - * @return {?} - */ - () => { - this.isModalVisible = false; - })); - } - else { - this.tenantService - .updateDefaultConnectionString({ - id: this.selected.id, - defaultConnectionString: this.connectionString, - }) - .pipe(take(1), finalize((/** - * @return {?} - */ - () => (this.modalBusy = false)))) - .subscribe((/** - * @return {?} - */ - () => { - this.isModalVisible = false; - })); - } - } - /** - * @return {?} - */ - saveTenant() { - if (!this.tenantForm.valid || this.modalBusy) - return; - this.modalBusy = true; - this.store - .dispatch(this.selected.id - ? new UpdateTenant(Object.assign({}, this.selected, this.tenantForm.value, { id: this.selected.id })) - : new CreateTenant(this.tenantForm.value)) - .pipe(finalize((/** - * @return {?} - */ - () => (this.modalBusy = false)))) - .subscribe((/** - * @return {?} - */ - () => { - this.isModalVisible = false; - this.get(); - })); - } - /** - * @param {?} id - * @param {?} name - * @return {?} - */ - delete(id, name) { - this.confirmationService - .warn('AbpTenantManagement::TenantDeletionConfirmationMessage', 'AbpTenantManagement::AreYouSure', { - messageLocalizationParams: [name], - }) - .subscribe((/** - * @param {?} status - * @return {?} - */ - (status) => { - if (status === "confirm" /* confirm */) { - this.store.dispatch(new DeleteTenant(id)).subscribe((/** - * @return {?} - */ - () => this.get())); - } - })); - } - /** - * @param {?} data - * @return {?} - */ - onPageChange(data) { - this.pageQuery.skipCount = data.first; - this.pageQuery.maxResultCount = data.rows; - this.get(); - } - /** - * @return {?} - */ - get() { - this.loading = true; - this.store - .dispatch(new GetTenants(this.pageQuery)) - .pipe(finalize((/** - * @return {?} - */ - () => (this.loading = false)))) - .subscribe(); - } - /** - * @param {?} value - * @return {?} - */ - onSharedDatabaseChange(value) { - if (!value) { - setTimeout((/** - * @return {?} - */ - () => { - /** @type {?} */ - const defaultConnectionString = (/** @type {?} */ (document.getElementById('defaultConnectionString'))); - if (defaultConnectionString) { - defaultConnectionString.focus(); - } - }), 0); - } - } -} -TenantsComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-tenants', - template: "
\r\n
\r\n
\r\n
\r\n
{{ 'AbpTenantManagement::Tenants' | abpLocalization }}
\r\n
\r\n
\r\n \r\n \r\n {{ 'AbpTenantManagement::NewTenant' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'AbpTenantManagement::Actions' | abpLocalization }}\r\n \r\n {{ 'AbpTenantManagement::TenantName' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ 'AbpTenantManagement::Actions' | abpLocalization }}\r\n \r\n
\r\n \r\n {{ 'AbpTenantManagement::Edit' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpTenantManagement::Permission:ManageConnectionStrings' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpTenantManagement::Permission:ManageFeatures' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpTenantManagement::Delete' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n {{ data.name }}\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n

{{ selectedModalContent.title | abpLocalization }}

\r\n
\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n" - }] } -]; -/** @nocollapse */ -TenantsComponent.ctorParameters = () => [ - { type: ConfirmationService }, - { type: TenantManagementService }, - { type: FormBuilder }, - { type: Store } -]; -TenantsComponent.propDecorators = { - tenantModalTemplate: [{ type: ViewChild, args: ['tenantModalTemplate', { static: false },] }], - connectionStringModalTemplate: [{ type: ViewChild, args: ['connectionStringModalTemplate', { static: false },] }] -}; -__decorate([ - Select(TenantManagementState.get), - __metadata("design:type", Observable) -], TenantsComponent.prototype, "data$", void 0); -__decorate([ - Select(TenantManagementState.getTenantsTotalCount), - __metadata("design:type", Observable) -], TenantsComponent.prototype, "totalCount$", void 0); -if (false) { - /** @type {?} */ - TenantsComponent.prototype.data$; - /** @type {?} */ - TenantsComponent.prototype.totalCount$; - /** @type {?} */ - TenantsComponent.prototype.selected; - /** @type {?} */ - TenantsComponent.prototype.tenantForm; - /** @type {?} */ - TenantsComponent.prototype.defaultConnectionStringForm; - /** @type {?} */ - TenantsComponent.prototype.defaultConnectionString; - /** @type {?} */ - TenantsComponent.prototype.isModalVisible; - /** @type {?} */ - TenantsComponent.prototype.selectedModalContent; - /** @type {?} */ - TenantsComponent.prototype.visibleFeatures; - /** @type {?} */ - TenantsComponent.prototype.providerKey; - /** @type {?} */ - TenantsComponent.prototype._useSharedDatabase; - /** @type {?} */ - TenantsComponent.prototype.pageQuery; - /** @type {?} */ - TenantsComponent.prototype.loading; - /** @type {?} */ - TenantsComponent.prototype.modalBusy; - /** @type {?} */ - TenantsComponent.prototype.sortOrder; - /** @type {?} */ - TenantsComponent.prototype.sortKey; - /** @type {?} */ - TenantsComponent.prototype.tenantModalTemplate; - /** @type {?} */ - TenantsComponent.prototype.connectionStringModalTemplate; - /** - * @type {?} - * @private - */ - TenantsComponent.prototype.confirmationService; - /** - * @type {?} - * @private - */ - TenantsComponent.prototype.tenantService; - /** - * @type {?} - * @private - */ - TenantsComponent.prototype.fb; - /** - * @type {?} - * @private - */ - TenantsComponent.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/tenant-management-routing.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -const ɵ0 = { requiredPolicy: 'AbpTenantManagement.Tenants' }; -/** @type {?} */ -const routes = [ - { path: '', redirectTo: 'tenants', pathMatch: 'full' }, - { - path: 'tenants', - component: DynamicLayoutComponent, - canActivate: [AuthGuard, PermissionGuard], - data: ɵ0, - children: [{ path: '', component: TenantsComponent }], - }, -]; -class TenantManagementRoutingModule { -} -TenantManagementRoutingModule.decorators = [ - { type: NgModule, args: [{ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule], - },] } -]; - -/** - * @fileoverview added by tsickle - * Generated from: lib/tenant-management.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class TenantManagementModule { -} -TenantManagementModule.decorators = [ - { type: NgModule, args: [{ - declarations: [TenantsComponent], - imports: [ - TenantManagementRoutingModule, - NgxsModule.forFeature([TenantManagementState]), - NgxValidateCoreModule, - CoreModule, - TableModule, - ThemeSharedModule, - NgbDropdownModule, - FeatureManagementModule, - ], - },] } -]; -/** - * - * @deprecated since version 0.9.0 - * @return {?} - */ -function TenantManagementProviders() { - return []; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/routes.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * - * @deprecated since version 0.9.0 - * @type {?} - */ -const TENANT_MANAGEMENT_ROUTES = { - routes: (/** @type {?} */ ([ - { - name: 'AbpTenantManagement::Menu:TenantManagement', - path: 'tenant-management', - parentName: 'AbpUiNavigation::Menu:Administration', - layout: "application" /* application */, - iconClass: 'fa fa-users', - children: [ - { - path: 'tenants', - name: 'AbpTenantManagement::Tenants', - order: 1, - requiredPolicy: 'AbpTenantManagement.Tenants', - }, - ], - }, - ])), -}; - -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/tenant-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var TenantManagement; -(function (TenantManagement) { - /** - * @record - */ - function State() { } - TenantManagement.State = State; - if (false) { - /** @type {?} */ - State.prototype.result; - /** @type {?} */ - State.prototype.selectedItem; - } - /** - * @record - */ - function Item() { } - TenantManagement.Item = Item; - if (false) { - /** @type {?} */ - Item.prototype.id; - /** @type {?} */ - Item.prototype.name; - } - /** - * @record - */ - function AddRequest() { } - TenantManagement.AddRequest = AddRequest; - if (false) { - /** @type {?} */ - AddRequest.prototype.name; - } - /** - * @record - */ - function UpdateRequest() { } - TenantManagement.UpdateRequest = UpdateRequest; - if (false) { - /** @type {?} */ - UpdateRequest.prototype.id; - } - /** - * @record - */ - function DefaultConnectionStringRequest() { } - TenantManagement.DefaultConnectionStringRequest = DefaultConnectionStringRequest; - if (false) { - /** @type {?} */ - DefaultConnectionStringRequest.prototype.id; - /** @type {?} */ - DefaultConnectionStringRequest.prototype.defaultConnectionString; - } -})(TenantManagement || (TenantManagement = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/tenant-management-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class TenantManagementStateService { - /** - * @param {?} store - */ - constructor(store) { - this.store = store; - } - /** - * @return {?} - */ - get() { - return this.store.selectSnapshot(TenantManagementState.get); - } - /** - * @return {?} - */ - getTenantsTotalCount() { - return this.store.selectSnapshot(TenantManagementState.getTenantsTotalCount); - } -} -TenantManagementStateService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } -]; -/** @nocollapse */ -TenantManagementStateService.ctorParameters = () => [ - { type: Store } -]; -/** @nocollapse */ TenantManagementStateService.ngInjectableDef = ɵɵdefineInjectable({ factory: function TenantManagementStateService_Factory() { return new TenantManagementStateService(ɵɵinject(Store)); }, token: TenantManagementStateService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - TenantManagementStateService.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.tenant-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { CreateTenant, DeleteTenant, GetTenantById, GetTenants, TENANT_MANAGEMENT_ROUTES, TenantManagementModule, TenantManagementProviders, TenantManagementService, TenantManagementState, TenantManagementStateService, TenantsComponent, UpdateTenant, TenantsComponent as ɵa, TenantManagementState as ɵb, TenantManagementService as ɵc, GetTenants as ɵd, GetTenantById as ɵe, CreateTenant as ɵf, UpdateTenant as ɵg, DeleteTenant as ɵh, TenantManagementRoutingModule as ɵj }; -//# sourceMappingURL=abp-ng.tenant-management.js.map diff --git a/npm/ng-packs/dist/tenant-management/fesm2015/abp-ng.tenant-management.js.map b/npm/ng-packs/dist/tenant-management/fesm2015/abp-ng.tenant-management.js.map deleted file mode 100644 index bd967047749..00000000000 --- a/npm/ng-packs/dist/tenant-management/fesm2015/abp-ng.tenant-management.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.tenant-management.js","sources":["ng://@abp/ng.tenant-management/lib/actions/tenant-management.actions.ts","ng://@abp/ng.tenant-management/lib/services/tenant-management.service.ts","ng://@abp/ng.tenant-management/lib/states/tenant-management.state.ts","ng://@abp/ng.tenant-management/lib/components/tenants/tenants.component.ts","ng://@abp/ng.tenant-management/lib/tenant-management-routing.module.ts","ng://@abp/ng.tenant-management/lib/tenant-management.module.ts","ng://@abp/ng.tenant-management/lib/constants/routes.ts","ng://@abp/ng.tenant-management/lib/models/tenant-management.ts","ng://@abp/ng.tenant-management/lib/services/tenant-management-state.service.ts"],"sourcesContent":["import { TenantManagement } from '../models/tenant-management';\r\nimport { ABP } from '@abp/ng.core';\r\n\r\nexport class GetTenants {\r\n static readonly type = '[TenantManagement] Get Tenant';\r\n constructor(public payload?: ABP.PageQueryParams) {}\r\n}\r\n\r\nexport class GetTenantById {\r\n static readonly type = '[TenantManagement] Get Tenant By Id';\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class CreateTenant {\r\n static readonly type = '[TenantManagement] Create Tenant';\r\n constructor(public payload: TenantManagement.AddRequest) {}\r\n}\r\n\r\nexport class UpdateTenant {\r\n static readonly type = '[TenantManagement] Update Tenant';\r\n constructor(public payload: TenantManagement.UpdateRequest) {}\r\n}\r\n\r\nexport class DeleteTenant {\r\n static readonly type = '[TenantManagement] Delete Tenant';\r\n constructor(public payload: string) {}\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RestService, Rest, ABP } from '@abp/ng.core';\r\nimport { TenantManagement } from '../models/tenant-management';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TenantManagementService {\r\n constructor(private rest: RestService) {}\r\n\r\n getTenant(params = {} as ABP.PageQueryParams): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/multi-tenancy/tenants',\r\n params\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getTenantById(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: `/api/multi-tenancy/tenants/${id}`\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n deleteTenant(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'DELETE',\r\n url: `/api/multi-tenancy/tenants/${id}`\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n createTenant(body: TenantManagement.AddRequest): Observable {\r\n const request: Rest.Request = {\r\n method: 'POST',\r\n url: '/api/multi-tenancy/tenants',\r\n body\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n updateTenant(body: TenantManagement.UpdateRequest): Observable {\r\n const url = `/api/multi-tenancy/tenants/${body.id}`;\r\n delete body.id;\r\n\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url,\r\n body\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getDefaultConnectionString(id: string): Observable {\r\n const url = `/api/multi-tenancy/tenants/${id}/default-connection-string`;\r\n\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n responseType: Rest.ResponseType.Text,\r\n url\r\n };\r\n return this.rest.request(request);\r\n }\r\n\r\n updateDefaultConnectionString(payload: TenantManagement.DefaultConnectionStringRequest): Observable {\r\n const url = `/api/multi-tenancy/tenants/${payload.id}/default-connection-string`;\r\n\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url,\r\n params: { defaultConnectionString: payload.defaultConnectionString }\r\n };\r\n return this.rest.request(request);\r\n }\r\n\r\n deleteDefaultConnectionString(id: string): Observable {\r\n const url = `/api/multi-tenancy/tenants/${id}/default-connection-string`;\r\n\r\n const request: Rest.Request = {\r\n method: 'DELETE',\r\n url\r\n };\r\n return this.rest.request(request);\r\n }\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { switchMap, tap } from 'rxjs/operators';\r\nimport {\r\n CreateTenant,\r\n DeleteTenant,\r\n GetTenants,\r\n GetTenantById,\r\n UpdateTenant,\r\n} from '../actions/tenant-management.actions';\r\nimport { TenantManagement } from '../models/tenant-management';\r\nimport { TenantManagementService } from '../services/tenant-management.service';\r\nimport { ABP } from '@abp/ng.core';\r\n\r\n@State({\r\n name: 'TenantManagementState',\r\n defaults: { result: {}, selectedItem: {} } as TenantManagement.State,\r\n})\r\nexport class TenantManagementState {\r\n @Selector()\r\n static get({ result }: TenantManagement.State): ABP.BasicItem[] {\r\n return result.items || [];\r\n }\r\n\r\n @Selector()\r\n static getTenantsTotalCount({ result }: TenantManagement.State): number {\r\n return result.totalCount;\r\n }\r\n\r\n constructor(private tenantManagementService: TenantManagementService) {}\r\n\r\n @Action(GetTenants)\r\n get({ patchState }: StateContext, { payload }: GetTenants) {\r\n return this.tenantManagementService.getTenant(payload).pipe(\r\n tap(result =>\r\n patchState({\r\n result,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(GetTenantById)\r\n getById({ patchState }: StateContext, { payload }: GetTenantById) {\r\n return this.tenantManagementService.getTenantById(payload).pipe(\r\n tap(selectedItem =>\r\n patchState({\r\n selectedItem,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(DeleteTenant)\r\n delete(_, { payload }: DeleteTenant) {\r\n return this.tenantManagementService.deleteTenant(payload);\r\n }\r\n\r\n @Action(CreateTenant)\r\n add(_, { payload }: CreateTenant) {\r\n return this.tenantManagementService.createTenant(payload);\r\n }\r\n\r\n @Action(UpdateTenant)\r\n update({ getState }: StateContext, { payload }: UpdateTenant) {\r\n return this.tenantManagementService.updateTenant({ ...getState().selectedItem, ...payload });\r\n }\r\n}\r\n","import { ABP } from '@abp/ng.core';\r\nimport { ConfirmationService, Toaster } from '@abp/ng.theme.shared';\r\nimport { Component, OnInit, TemplateRef, ViewChild, ChangeDetectorRef } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { finalize, pluck, switchMap, take } from 'rxjs/operators';\r\nimport {\r\n CreateTenant,\r\n DeleteTenant,\r\n GetTenantById,\r\n GetTenants,\r\n UpdateTenant,\r\n} from '../../actions/tenant-management.actions';\r\nimport { TenantManagementService } from '../../services/tenant-management.service';\r\nimport { TenantManagementState } from '../../states/tenant-management.state';\r\n\r\ninterface SelectedModalContent {\r\n type: 'saveConnStr' | 'saveTenant';\r\n title: string;\r\n template: TemplateRef;\r\n}\r\n\r\n@Component({\r\n selector: 'abp-tenants',\r\n templateUrl: './tenants.component.html',\r\n})\r\nexport class TenantsComponent implements OnInit {\r\n @Select(TenantManagementState.get)\r\n data$: Observable;\r\n\r\n @Select(TenantManagementState.getTenantsTotalCount)\r\n totalCount$: Observable;\r\n\r\n selected: ABP.BasicItem;\r\n\r\n tenantForm: FormGroup;\r\n\r\n defaultConnectionStringForm: FormGroup;\r\n\r\n defaultConnectionString: string;\r\n\r\n isModalVisible: boolean;\r\n\r\n selectedModalContent = {} as SelectedModalContent;\r\n\r\n visibleFeatures = false;\r\n\r\n providerKey: string;\r\n\r\n _useSharedDatabase: boolean;\r\n\r\n pageQuery: ABP.PageQueryParams = {};\r\n\r\n loading = false;\r\n\r\n modalBusy = false;\r\n\r\n sortOrder = '';\r\n\r\n sortKey = '';\r\n\r\n get useSharedDatabase(): boolean {\r\n return this.defaultConnectionStringForm.get('useSharedDatabase').value;\r\n }\r\n\r\n get connectionString(): string {\r\n return this.defaultConnectionStringForm.get('defaultConnectionString').value;\r\n }\r\n\r\n @ViewChild('tenantModalTemplate', { static: false })\r\n tenantModalTemplate: TemplateRef;\r\n\r\n @ViewChild('connectionStringModalTemplate', { static: false })\r\n connectionStringModalTemplate: TemplateRef;\r\n\r\n get isDisabledSaveButton(): boolean {\r\n if (!this.selectedModalContent) return false;\r\n\r\n if (\r\n this.selectedModalContent.type === 'saveConnStr' &&\r\n this.defaultConnectionStringForm &&\r\n this.defaultConnectionStringForm.invalid\r\n ) {\r\n return true;\r\n } else if (\r\n this.selectedModalContent.type === 'saveTenant' &&\r\n this.tenantForm &&\r\n this.tenantForm.invalid\r\n ) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n constructor(\r\n private confirmationService: ConfirmationService,\r\n private tenantService: TenantManagementService,\r\n private fb: FormBuilder,\r\n private store: Store,\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.get();\r\n }\r\n\r\n onSearch(value) {\r\n this.pageQuery.filter = value;\r\n this.get();\r\n }\r\n\r\n private createTenantForm() {\r\n this.tenantForm = this.fb.group({\r\n name: [this.selected.name || '', [Validators.required, Validators.maxLength(256)]],\r\n });\r\n }\r\n\r\n private createDefaultConnectionStringForm() {\r\n this.defaultConnectionStringForm = this.fb.group({\r\n useSharedDatabase: this._useSharedDatabase,\r\n defaultConnectionString: [this.defaultConnectionString || ''],\r\n });\r\n }\r\n\r\n openModal(title: string, template: TemplateRef, type: 'saveConnStr' | 'saveTenant') {\r\n this.selectedModalContent = {\r\n title,\r\n template,\r\n type,\r\n };\r\n\r\n this.isModalVisible = true;\r\n }\r\n\r\n onEditConnectionString(id: string) {\r\n this.store\r\n .dispatch(new GetTenantById(id))\r\n .pipe(\r\n pluck('TenantManagementState', 'selectedItem'),\r\n switchMap(selected => {\r\n this.selected = selected;\r\n return this.tenantService.getDefaultConnectionString(id);\r\n }),\r\n )\r\n .subscribe(fetchedConnectionString => {\r\n this._useSharedDatabase = fetchedConnectionString ? false : true;\r\n this.defaultConnectionString = fetchedConnectionString ? fetchedConnectionString : '';\r\n this.createDefaultConnectionStringForm();\r\n this.openModal(\r\n 'AbpTenantManagement::ConnectionStrings',\r\n this.connectionStringModalTemplate,\r\n 'saveConnStr',\r\n );\r\n });\r\n }\r\n\r\n addTenant() {\r\n this.selected = {} as ABP.BasicItem;\r\n this.createTenantForm();\r\n this.openModal('AbpTenantManagement::NewTenant', this.tenantModalTemplate, 'saveTenant');\r\n }\r\n\r\n editTenant(id: string) {\r\n this.store\r\n .dispatch(new GetTenantById(id))\r\n .pipe(pluck('TenantManagementState', 'selectedItem'))\r\n .subscribe(selected => {\r\n this.selected = selected;\r\n this.createTenantForm();\r\n this.openModal('AbpTenantManagement::Edit', this.tenantModalTemplate, 'saveTenant');\r\n });\r\n }\r\n\r\n save() {\r\n const { type } = this.selectedModalContent;\r\n if (!type) return;\r\n if (type === 'saveTenant') this.saveTenant();\r\n else if (type === 'saveConnStr') this.saveConnectionString();\r\n }\r\n\r\n saveConnectionString() {\r\n if (this.modalBusy) return;\r\n\r\n this.modalBusy = true;\r\n if (this.useSharedDatabase || (!this.useSharedDatabase && !this.connectionString)) {\r\n this.tenantService\r\n .deleteDefaultConnectionString(this.selected.id)\r\n .pipe(\r\n take(1),\r\n finalize(() => (this.modalBusy = false)),\r\n )\r\n .subscribe(() => {\r\n this.isModalVisible = false;\r\n });\r\n } else {\r\n this.tenantService\r\n .updateDefaultConnectionString({\r\n id: this.selected.id,\r\n defaultConnectionString: this.connectionString,\r\n })\r\n .pipe(\r\n take(1),\r\n finalize(() => (this.modalBusy = false)),\r\n )\r\n .subscribe(() => {\r\n this.isModalVisible = false;\r\n });\r\n }\r\n }\r\n\r\n saveTenant() {\r\n if (!this.tenantForm.valid || this.modalBusy) return;\r\n this.modalBusy = true;\r\n\r\n this.store\r\n .dispatch(\r\n this.selected.id\r\n ? new UpdateTenant({ ...this.selected, ...this.tenantForm.value, id: this.selected.id })\r\n : new CreateTenant(this.tenantForm.value),\r\n )\r\n .pipe(finalize(() => (this.modalBusy = false)))\r\n .subscribe(() => {\r\n this.isModalVisible = false;\r\n this.get();\r\n });\r\n }\r\n\r\n delete(id: string, name: string) {\r\n this.confirmationService\r\n .warn(\r\n 'AbpTenantManagement::TenantDeletionConfirmationMessage',\r\n 'AbpTenantManagement::AreYouSure',\r\n {\r\n messageLocalizationParams: [name],\r\n },\r\n )\r\n .subscribe((status: Toaster.Status) => {\r\n if (status === Toaster.Status.confirm) {\r\n this.store.dispatch(new DeleteTenant(id)).subscribe(() => this.get());\r\n }\r\n });\r\n }\r\n\r\n onPageChange(data) {\r\n this.pageQuery.skipCount = data.first;\r\n this.pageQuery.maxResultCount = data.rows;\r\n\r\n this.get();\r\n }\r\n\r\n get() {\r\n this.loading = true;\r\n this.store\r\n .dispatch(new GetTenants(this.pageQuery))\r\n .pipe(finalize(() => (this.loading = false)))\r\n .subscribe();\r\n }\r\n\r\n onSharedDatabaseChange(value: boolean) {\r\n if (!value) {\r\n setTimeout(() => {\r\n const defaultConnectionString = document.getElementById(\r\n 'defaultConnectionString',\r\n ) as HTMLInputElement;\r\n if (defaultConnectionString) {\r\n defaultConnectionString.focus();\r\n }\r\n }, 0);\r\n }\r\n }\r\n}\r\n","import { AuthGuard, DynamicLayoutComponent, PermissionGuard } from '@abp/ng.core';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { TenantsComponent } from './components/tenants/tenants.component';\r\n\r\nconst routes: Routes = [\r\n { path: '', redirectTo: 'tenants', pathMatch: 'full' },\r\n {\r\n path: 'tenants',\r\n component: DynamicLayoutComponent,\r\n canActivate: [AuthGuard, PermissionGuard],\r\n data: { requiredPolicy: 'AbpTenantManagement.Tenants' },\r\n children: [{ path: '', component: TenantsComponent }],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class TenantManagementRoutingModule {}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule, Provider } from '@angular/core';\r\nimport { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { TableModule } from 'primeng/table';\r\nimport { TenantsComponent } from './components/tenants/tenants.component';\r\nimport { TenantManagementState } from './states/tenant-management.state';\r\nimport { TenantManagementRoutingModule } from './tenant-management-routing.module';\r\nimport { FeatureManagementModule } from '@abp/ng.feature-management';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\n\r\n@NgModule({\r\n declarations: [TenantsComponent],\r\n imports: [\r\n TenantManagementRoutingModule,\r\n NgxsModule.forFeature([TenantManagementState]),\r\n NgxValidateCoreModule,\r\n CoreModule,\r\n TableModule,\r\n ThemeSharedModule,\r\n NgbDropdownModule,\r\n FeatureManagementModule,\r\n ],\r\n})\r\nexport class TenantManagementModule {}\r\n\r\n/**\r\n *\r\n * @deprecated since version 0.9.0\r\n */\r\nexport function TenantManagementProviders(): Provider[] {\r\n return [];\r\n}\r\n","import { ABP, eLayoutType } from '@abp/ng.core';\r\n\r\n/**\r\n *\r\n * @deprecated since version 0.9.0\r\n */\r\nexport const TENANT_MANAGEMENT_ROUTES = {\r\n routes: [\r\n {\r\n name: 'AbpTenantManagement::Menu:TenantManagement',\r\n path: 'tenant-management',\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-users',\r\n children: [\r\n {\r\n path: 'tenants',\r\n name: 'AbpTenantManagement::Tenants',\r\n order: 1,\r\n requiredPolicy: 'AbpTenantManagement.Tenants',\r\n },\r\n ],\r\n },\r\n ] as ABP.FullRoute[],\r\n};\r\n","import { ABP } from '@abp/ng.core';\r\n\r\nexport namespace TenantManagement {\r\n export interface State {\r\n result: Response;\r\n selectedItem: Item;\r\n }\r\n\r\n export type Response = ABP.PagedResponse;\r\n\r\n export interface Item {\r\n id: string;\r\n name: string;\r\n }\r\n\r\n export interface AddRequest {\r\n name: string;\r\n }\r\n\r\n export interface UpdateRequest extends AddRequest {\r\n id: string;\r\n }\r\n\r\n export interface DefaultConnectionStringRequest {\r\n id: string;\r\n defaultConnectionString: string;\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { TenantManagementState } from '../states/tenant-management.state';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class TenantManagementStateService {\r\n constructor(private store: Store) {}\r\n\r\n get() {\r\n return this.store.selectSnapshot(TenantManagementState.get);\r\n }\r\n\r\n getTenantsTotalCount() {\r\n return this.store.selectSnapshot(TenantManagementState.getTenantsTotalCount);\r\n }\r\n}\r\n"],"names":["tslib_1.__decorate"],"mappings":";;;;;;;;;;;;;;;;;;;AAGA,MAAa,UAAU;;;;IAErB,YAAmB,OAA6B;QAA7B,YAAO,GAAP,OAAO,CAAsB;KAAI;;AADpC,eAAI,GAAG,+BAA+B,CAAC;;;IAAvD,gBAAuD;;IAC3C,6BAAoC;;AAGlD,MAAa,aAA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AAM;YACN,SAAS,EAAE,aAAa;YACxB,QAAQ,EAAE;gBACR;oBACE,IAAI,EAAE,SAAS;oBACf,IAAI,EAAE,8BAA8B;oBACpC,KAAK,EAAE,CAAC;oBACR,cAAc,EAAE,6BAA6B;iBAC9C;aACF;SACF;KACF,EAAmB;CACrB;;;;;;;;;;;;;ACtBD,IAAiB,gBAAgB,CAyBhC;AAzBD,WAAiB,gBAAgB;;;;IAC/B,oBAGC;;;;QAFC,uBAAiB;;QACjB,6BAAmB;;;;;IAKrB,mBAGC;;;;QAFC,kBAAW;;QACX,oBAAa;;;;;IAGf,yBAEC;;;;QADC,0BAAa;;;;;IAGf,4BAEC;;;;QADC,2BAAW;;;;;IAGb,6CAGC;;;;QAFC,4CAAW;;QACX,iEAAgC;;CAEnC,EAzBgB,gBAAgB,KAAhB,gBAAgB,QAyBhC;;;;;;;;;;;;;AC3BD,MAOa,4BAA4B;;;;IACvC,YAAoB,KAAY;QAAZ,UAAK,GAAL,KAAK,CAAO;KAAI;;;;IAEpC,GAAG;QACD,OAAO,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAC;KAC7D;;;;IAED,oBAAoB;QAClB,OAAO,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,CAAC;KAC9E;;;YAZF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;;;;YALQ,KAAK;;;;;;;;IAOA,6CAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/fesm5/abp-ng.tenant-management.js b/npm/ng-packs/dist/tenant-management/fesm5/abp-ng.tenant-management.js deleted file mode 100644 index 352217f0026..00000000000 --- a/npm/ng-packs/dist/tenant-management/fesm5/abp-ng.tenant-management.js +++ /dev/null @@ -1,1151 +0,0 @@ -import { RestService, DynamicLayoutComponent, AuthGuard, PermissionGuard, CoreModule } from '@abp/ng.core'; -import { ConfirmationService, ThemeSharedModule } from '@abp/ng.theme.shared'; -import { Injectable, ɵɵdefineInjectable, ɵɵinject, Component, ViewChild, NgModule } from '@angular/core'; -import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; -import { Action, Selector, State, Store, Select, NgxsModule } from '@ngxs/store'; -import { TableModule } from 'primeng/table'; -import { __assign, __decorate, __metadata } from 'tslib'; -import { Validators, FormBuilder } from '@angular/forms'; -import { Observable } from 'rxjs'; -import { tap, pluck, switchMap, take, finalize } from 'rxjs/operators'; -import { RouterModule } from '@angular/router'; -import { FeatureManagementModule } from '@abp/ng.feature-management'; -import { NgxValidateCoreModule } from '@ngx-validate/core'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/tenant-management.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var GetTenants = /** @class */ (function () { - function GetTenants(payload) { - this.payload = payload; - } - GetTenants.type = '[TenantManagement] Get Tenant'; - return GetTenants; -}()); -if (false) { - /** @type {?} */ - GetTenants.type; - /** @type {?} */ - GetTenants.prototype.payload; -} -var GetTenantById = /** @class */ (function () { - function GetTenantById(payload) { - this.payload = payload; - } - GetTenantById.type = '[TenantManagement] Get Tenant By Id'; - return GetTenantById; -}()); -if (false) { - /** @type {?} */ - GetTenantById.type; - /** @type {?} */ - GetTenantById.prototype.payload; -} -var CreateTenant = /** @class */ (function () { - function CreateTenant(payload) { - this.payload = payload; - } - CreateTenant.type = '[TenantManagement] Create Tenant'; - return CreateTenant; -}()); -if (false) { - /** @type {?} */ - CreateTenant.type; - /** @type {?} */ - CreateTenant.prototype.payload; -} -var UpdateTenant = /** @class */ (function () { - function UpdateTenant(payload) { - this.payload = payload; - } - UpdateTenant.type = '[TenantManagement] Update Tenant'; - return UpdateTenant; -}()); -if (false) { - /** @type {?} */ - UpdateTenant.type; - /** @type {?} */ - UpdateTenant.prototype.payload; -} -var DeleteTenant = /** @class */ (function () { - function DeleteTenant(payload) { - this.payload = payload; - } - DeleteTenant.type = '[TenantManagement] Delete Tenant'; - return DeleteTenant; -}()); -if (false) { - /** @type {?} */ - DeleteTenant.type; - /** @type {?} */ - DeleteTenant.prototype.payload; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/tenant-management.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var TenantManagementService = /** @class */ (function () { - function TenantManagementService(rest) { - this.rest = rest; - } - /** - * @param {?=} params - * @return {?} - */ - TenantManagementService.prototype.getTenant = /** - * @param {?=} params - * @return {?} - */ - function (params) { - if (params === void 0) { params = (/** @type {?} */ ({})); } - /** @type {?} */ - var request = { - method: 'GET', - url: '/api/multi-tenancy/tenants', - params: params - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - TenantManagementService.prototype.getTenantById = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'GET', - url: "/api/multi-tenancy/tenants/" + id - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - TenantManagementService.prototype.deleteTenant = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var request = { - method: 'DELETE', - url: "/api/multi-tenancy/tenants/" + id - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - TenantManagementService.prototype.createTenant = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var request = { - method: 'POST', - url: '/api/multi-tenancy/tenants', - body: body - }; - return this.rest.request(request); - }; - /** - * @param {?} body - * @return {?} - */ - TenantManagementService.prototype.updateTenant = /** - * @param {?} body - * @return {?} - */ - function (body) { - /** @type {?} */ - var url = "/api/multi-tenancy/tenants/" + body.id; - delete body.id; - /** @type {?} */ - var request = { - method: 'PUT', - url: url, - body: body - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - TenantManagementService.prototype.getDefaultConnectionString = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var url = "/api/multi-tenancy/tenants/" + id + "/default-connection-string"; - /** @type {?} */ - var request = { - method: 'GET', - responseType: "text" /* Text */, - url: url - }; - return this.rest.request(request); - }; - /** - * @param {?} payload - * @return {?} - */ - TenantManagementService.prototype.updateDefaultConnectionString = /** - * @param {?} payload - * @return {?} - */ - function (payload) { - /** @type {?} */ - var url = "/api/multi-tenancy/tenants/" + payload.id + "/default-connection-string"; - /** @type {?} */ - var request = { - method: 'PUT', - url: url, - params: { defaultConnectionString: payload.defaultConnectionString } - }; - return this.rest.request(request); - }; - /** - * @param {?} id - * @return {?} - */ - TenantManagementService.prototype.deleteDefaultConnectionString = /** - * @param {?} id - * @return {?} - */ - function (id) { - /** @type {?} */ - var url = "/api/multi-tenancy/tenants/" + id + "/default-connection-string"; - /** @type {?} */ - var request = { - method: 'DELETE', - url: url - }; - return this.rest.request(request); - }; - TenantManagementService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root' - },] } - ]; - /** @nocollapse */ - TenantManagementService.ctorParameters = function () { return [ - { type: RestService } - ]; }; - /** @nocollapse */ TenantManagementService.ngInjectableDef = ɵɵdefineInjectable({ factory: function TenantManagementService_Factory() { return new TenantManagementService(ɵɵinject(RestService)); }, token: TenantManagementService, providedIn: "root" }); - return TenantManagementService; -}()); -if (false) { - /** - * @type {?} - * @private - */ - TenantManagementService.prototype.rest; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/tenant-management.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var TenantManagementState = /** @class */ (function () { - function TenantManagementState(tenantManagementService) { - this.tenantManagementService = tenantManagementService; - } - /** - * @param {?} __0 - * @return {?} - */ - TenantManagementState.get = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var result = _a.result; - return result.items || []; - }; - /** - * @param {?} __0 - * @return {?} - */ - TenantManagementState.getTenantsTotalCount = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var result = _a.result; - return result.totalCount; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - TenantManagementState.prototype.get = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.tenantManagementService.getTenant(payload).pipe(tap((/** - * @param {?} result - * @return {?} - */ - function (result) { - return patchState({ - result: result, - }); - }))); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - TenantManagementState.prototype.getById = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var patchState = _a.patchState; - var payload = _b.payload; - return this.tenantManagementService.getTenantById(payload).pipe(tap((/** - * @param {?} selectedItem - * @return {?} - */ - function (selectedItem) { - return patchState({ - selectedItem: selectedItem, - }); - }))); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - TenantManagementState.prototype.delete = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.tenantManagementService.deleteTenant(payload); - }; - /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - TenantManagementState.prototype.add = /** - * @param {?} _ - * @param {?} __1 - * @return {?} - */ - function (_, _a) { - var payload = _a.payload; - return this.tenantManagementService.createTenant(payload); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - TenantManagementState.prototype.update = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var getState = _a.getState; - var payload = _b.payload; - return this.tenantManagementService.updateTenant(__assign({}, getState().selectedItem, payload)); - }; - TenantManagementState.ctorParameters = function () { return [ - { type: TenantManagementService } - ]; }; - __decorate([ - Action(GetTenants), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetTenants]), - __metadata("design:returntype", void 0) - ], TenantManagementState.prototype, "get", null); - __decorate([ - Action(GetTenantById), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, GetTenantById]), - __metadata("design:returntype", void 0) - ], TenantManagementState.prototype, "getById", null); - __decorate([ - Action(DeleteTenant), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, DeleteTenant]), - __metadata("design:returntype", void 0) - ], TenantManagementState.prototype, "delete", null); - __decorate([ - Action(CreateTenant), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, CreateTenant]), - __metadata("design:returntype", void 0) - ], TenantManagementState.prototype, "add", null); - __decorate([ - Action(UpdateTenant), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, UpdateTenant]), - __metadata("design:returntype", void 0) - ], TenantManagementState.prototype, "update", null); - __decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Array) - ], TenantManagementState, "get", null); - __decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Number) - ], TenantManagementState, "getTenantsTotalCount", null); - TenantManagementState = __decorate([ - State({ - name: 'TenantManagementState', - defaults: (/** @type {?} */ ({ result: {}, selectedItem: {} })), - }), - __metadata("design:paramtypes", [TenantManagementService]) - ], TenantManagementState); - return TenantManagementState; -}()); -if (false) { - /** - * @type {?} - * @private - */ - TenantManagementState.prototype.tenantManagementService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/tenants/tenants.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -function SelectedModalContent() { } -if (false) { - /** @type {?} */ - SelectedModalContent.prototype.type; - /** @type {?} */ - SelectedModalContent.prototype.title; - /** @type {?} */ - SelectedModalContent.prototype.template; -} -var TenantsComponent = /** @class */ (function () { - function TenantsComponent(confirmationService, tenantService, fb, store) { - this.confirmationService = confirmationService; - this.tenantService = tenantService; - this.fb = fb; - this.store = store; - this.selectedModalContent = (/** @type {?} */ ({})); - this.visibleFeatures = false; - this.pageQuery = {}; - this.loading = false; - this.modalBusy = false; - this.sortOrder = ''; - this.sortKey = ''; - } - Object.defineProperty(TenantsComponent.prototype, "useSharedDatabase", { - get: /** - * @return {?} - */ - function () { - return this.defaultConnectionStringForm.get('useSharedDatabase').value; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(TenantsComponent.prototype, "connectionString", { - get: /** - * @return {?} - */ - function () { - return this.defaultConnectionStringForm.get('defaultConnectionString').value; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(TenantsComponent.prototype, "isDisabledSaveButton", { - get: /** - * @return {?} - */ - function () { - if (!this.selectedModalContent) - return false; - if (this.selectedModalContent.type === 'saveConnStr' && - this.defaultConnectionStringForm && - this.defaultConnectionStringForm.invalid) { - return true; - } - else if (this.selectedModalContent.type === 'saveTenant' && - this.tenantForm && - this.tenantForm.invalid) { - return true; - } - else { - return false; - } - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - TenantsComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.get(); - }; - /** - * @param {?} value - * @return {?} - */ - TenantsComponent.prototype.onSearch = /** - * @param {?} value - * @return {?} - */ - function (value) { - this.pageQuery.filter = value; - this.get(); - }; - /** - * @private - * @return {?} - */ - TenantsComponent.prototype.createTenantForm = /** - * @private - * @return {?} - */ - function () { - this.tenantForm = this.fb.group({ - name: [this.selected.name || '', [Validators.required, Validators.maxLength(256)]], - }); - }; - /** - * @private - * @return {?} - */ - TenantsComponent.prototype.createDefaultConnectionStringForm = /** - * @private - * @return {?} - */ - function () { - this.defaultConnectionStringForm = this.fb.group({ - useSharedDatabase: this._useSharedDatabase, - defaultConnectionString: [this.defaultConnectionString || ''], - }); - }; - /** - * @param {?} title - * @param {?} template - * @param {?} type - * @return {?} - */ - TenantsComponent.prototype.openModal = /** - * @param {?} title - * @param {?} template - * @param {?} type - * @return {?} - */ - function (title, template, type) { - this.selectedModalContent = { - title: title, - template: template, - type: type, - }; - this.isModalVisible = true; - }; - /** - * @param {?} id - * @return {?} - */ - TenantsComponent.prototype.onEditConnectionString = /** - * @param {?} id - * @return {?} - */ - function (id) { - var _this = this; - this.store - .dispatch(new GetTenantById(id)) - .pipe(pluck('TenantManagementState', 'selectedItem'), switchMap((/** - * @param {?} selected - * @return {?} - */ - function (selected) { - _this.selected = selected; - return _this.tenantService.getDefaultConnectionString(id); - }))) - .subscribe((/** - * @param {?} fetchedConnectionString - * @return {?} - */ - function (fetchedConnectionString) { - _this._useSharedDatabase = fetchedConnectionString ? false : true; - _this.defaultConnectionString = fetchedConnectionString ? fetchedConnectionString : ''; - _this.createDefaultConnectionStringForm(); - _this.openModal('AbpTenantManagement::ConnectionStrings', _this.connectionStringModalTemplate, 'saveConnStr'); - })); - }; - /** - * @return {?} - */ - TenantsComponent.prototype.addTenant = /** - * @return {?} - */ - function () { - this.selected = (/** @type {?} */ ({})); - this.createTenantForm(); - this.openModal('AbpTenantManagement::NewTenant', this.tenantModalTemplate, 'saveTenant'); - }; - /** - * @param {?} id - * @return {?} - */ - TenantsComponent.prototype.editTenant = /** - * @param {?} id - * @return {?} - */ - function (id) { - var _this = this; - this.store - .dispatch(new GetTenantById(id)) - .pipe(pluck('TenantManagementState', 'selectedItem')) - .subscribe((/** - * @param {?} selected - * @return {?} - */ - function (selected) { - _this.selected = selected; - _this.createTenantForm(); - _this.openModal('AbpTenantManagement::Edit', _this.tenantModalTemplate, 'saveTenant'); - })); - }; - /** - * @return {?} - */ - TenantsComponent.prototype.save = /** - * @return {?} - */ - function () { - var type = this.selectedModalContent.type; - if (!type) - return; - if (type === 'saveTenant') - this.saveTenant(); - else if (type === 'saveConnStr') - this.saveConnectionString(); - }; - /** - * @return {?} - */ - TenantsComponent.prototype.saveConnectionString = /** - * @return {?} - */ - function () { - var _this = this; - if (this.modalBusy) - return; - this.modalBusy = true; - if (this.useSharedDatabase || (!this.useSharedDatabase && !this.connectionString)) { - this.tenantService - .deleteDefaultConnectionString(this.selected.id) - .pipe(take(1), finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.isModalVisible = false; - })); - } - else { - this.tenantService - .updateDefaultConnectionString({ - id: this.selected.id, - defaultConnectionString: this.connectionString, - }) - .pipe(take(1), finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.isModalVisible = false; - })); - } - }; - /** - * @return {?} - */ - TenantsComponent.prototype.saveTenant = /** - * @return {?} - */ - function () { - var _this = this; - if (!this.tenantForm.valid || this.modalBusy) - return; - this.modalBusy = true; - this.store - .dispatch(this.selected.id - ? new UpdateTenant(__assign({}, this.selected, this.tenantForm.value, { id: this.selected.id })) - : new CreateTenant(this.tenantForm.value)) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.modalBusy = false); }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.isModalVisible = false; - _this.get(); - })); - }; - /** - * @param {?} id - * @param {?} name - * @return {?} - */ - TenantsComponent.prototype.delete = /** - * @param {?} id - * @param {?} name - * @return {?} - */ - function (id, name) { - var _this = this; - this.confirmationService - .warn('AbpTenantManagement::TenantDeletionConfirmationMessage', 'AbpTenantManagement::AreYouSure', { - messageLocalizationParams: [name], - }) - .subscribe((/** - * @param {?} status - * @return {?} - */ - function (status) { - if (status === "confirm" /* confirm */) { - _this.store.dispatch(new DeleteTenant(id)).subscribe((/** - * @return {?} - */ - function () { return _this.get(); })); - } - })); - }; - /** - * @param {?} data - * @return {?} - */ - TenantsComponent.prototype.onPageChange = /** - * @param {?} data - * @return {?} - */ - function (data) { - this.pageQuery.skipCount = data.first; - this.pageQuery.maxResultCount = data.rows; - this.get(); - }; - /** - * @return {?} - */ - TenantsComponent.prototype.get = /** - * @return {?} - */ - function () { - var _this = this; - this.loading = true; - this.store - .dispatch(new GetTenants(this.pageQuery)) - .pipe(finalize((/** - * @return {?} - */ - function () { return (_this.loading = false); }))) - .subscribe(); - }; - /** - * @param {?} value - * @return {?} - */ - TenantsComponent.prototype.onSharedDatabaseChange = /** - * @param {?} value - * @return {?} - */ - function (value) { - if (!value) { - setTimeout((/** - * @return {?} - */ - function () { - /** @type {?} */ - var defaultConnectionString = (/** @type {?} */ (document.getElementById('defaultConnectionString'))); - if (defaultConnectionString) { - defaultConnectionString.focus(); - } - }), 0); - } - }; - TenantsComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-tenants', - template: "
\r\n
\r\n
\r\n
\r\n
{{ 'AbpTenantManagement::Tenants' | abpLocalization }}
\r\n
\r\n
\r\n \r\n \r\n {{ 'AbpTenantManagement::NewTenant' | abpLocalization }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ 'AbpTenantManagement::Actions' | abpLocalization }}\r\n \r\n {{ 'AbpTenantManagement::TenantName' | abpLocalization }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{ 'AbpTenantManagement::Actions' | abpLocalization }}\r\n \r\n
\r\n \r\n {{ 'AbpTenantManagement::Edit' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpTenantManagement::Permission:ManageConnectionStrings' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpTenantManagement::Permission:ManageFeatures' | abpLocalization }}\r\n \r\n \r\n {{ 'AbpTenantManagement::Delete' | abpLocalization }}\r\n \r\n
\r\n
\r\n \r\n {{ data.name }}\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n

{{ selectedModalContent.title | abpLocalization }}

\r\n
\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n {{\r\n 'AbpIdentity::Save' | abpLocalization\r\n }}\r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n" - }] } - ]; - /** @nocollapse */ - TenantsComponent.ctorParameters = function () { return [ - { type: ConfirmationService }, - { type: TenantManagementService }, - { type: FormBuilder }, - { type: Store } - ]; }; - TenantsComponent.propDecorators = { - tenantModalTemplate: [{ type: ViewChild, args: ['tenantModalTemplate', { static: false },] }], - connectionStringModalTemplate: [{ type: ViewChild, args: ['connectionStringModalTemplate', { static: false },] }] - }; - __decorate([ - Select(TenantManagementState.get), - __metadata("design:type", Observable) - ], TenantsComponent.prototype, "data$", void 0); - __decorate([ - Select(TenantManagementState.getTenantsTotalCount), - __metadata("design:type", Observable) - ], TenantsComponent.prototype, "totalCount$", void 0); - return TenantsComponent; -}()); -if (false) { - /** @type {?} */ - TenantsComponent.prototype.data$; - /** @type {?} */ - TenantsComponent.prototype.totalCount$; - /** @type {?} */ - TenantsComponent.prototype.selected; - /** @type {?} */ - TenantsComponent.prototype.tenantForm; - /** @type {?} */ - TenantsComponent.prototype.defaultConnectionStringForm; - /** @type {?} */ - TenantsComponent.prototype.defaultConnectionString; - /** @type {?} */ - TenantsComponent.prototype.isModalVisible; - /** @type {?} */ - TenantsComponent.prototype.selectedModalContent; - /** @type {?} */ - TenantsComponent.prototype.visibleFeatures; - /** @type {?} */ - TenantsComponent.prototype.providerKey; - /** @type {?} */ - TenantsComponent.prototype._useSharedDatabase; - /** @type {?} */ - TenantsComponent.prototype.pageQuery; - /** @type {?} */ - TenantsComponent.prototype.loading; - /** @type {?} */ - TenantsComponent.prototype.modalBusy; - /** @type {?} */ - TenantsComponent.prototype.sortOrder; - /** @type {?} */ - TenantsComponent.prototype.sortKey; - /** @type {?} */ - TenantsComponent.prototype.tenantModalTemplate; - /** @type {?} */ - TenantsComponent.prototype.connectionStringModalTemplate; - /** - * @type {?} - * @private - */ - TenantsComponent.prototype.confirmationService; - /** - * @type {?} - * @private - */ - TenantsComponent.prototype.tenantService; - /** - * @type {?} - * @private - */ - TenantsComponent.prototype.fb; - /** - * @type {?} - * @private - */ - TenantsComponent.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/tenant-management-routing.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ɵ0 = { requiredPolicy: 'AbpTenantManagement.Tenants' }; -/** @type {?} */ -var routes = [ - { path: '', redirectTo: 'tenants', pathMatch: 'full' }, - { - path: 'tenants', - component: DynamicLayoutComponent, - canActivate: [AuthGuard, PermissionGuard], - data: ɵ0, - children: [{ path: '', component: TenantsComponent }], - }, -]; -var TenantManagementRoutingModule = /** @class */ (function () { - function TenantManagementRoutingModule() { - } - TenantManagementRoutingModule.decorators = [ - { type: NgModule, args: [{ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule], - },] } - ]; - return TenantManagementRoutingModule; -}()); - -/** - * @fileoverview added by tsickle - * Generated from: lib/tenant-management.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var TenantManagementModule = /** @class */ (function () { - function TenantManagementModule() { - } - TenantManagementModule.decorators = [ - { type: NgModule, args: [{ - declarations: [TenantsComponent], - imports: [ - TenantManagementRoutingModule, - NgxsModule.forFeature([TenantManagementState]), - NgxValidateCoreModule, - CoreModule, - TableModule, - ThemeSharedModule, - NgbDropdownModule, - FeatureManagementModule, - ], - },] } - ]; - return TenantManagementModule; -}()); -/** - * - * @deprecated since version 0.9.0 - * @return {?} - */ -function TenantManagementProviders() { - return []; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/routes.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * - * @deprecated since version 0.9.0 - * @type {?} - */ -var TENANT_MANAGEMENT_ROUTES = { - routes: (/** @type {?} */ ([ - { - name: 'AbpTenantManagement::Menu:TenantManagement', - path: 'tenant-management', - parentName: 'AbpUiNavigation::Menu:Administration', - layout: "application" /* application */, - iconClass: 'fa fa-users', - children: [ - { - path: 'tenants', - name: 'AbpTenantManagement::Tenants', - order: 1, - requiredPolicy: 'AbpTenantManagement.Tenants', - }, - ], - }, - ])), -}; - -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/tenant-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var TenantManagement; -(function (TenantManagement) { - /** - * @record - */ - function State() { } - TenantManagement.State = State; - if (false) { - /** @type {?} */ - State.prototype.result; - /** @type {?} */ - State.prototype.selectedItem; - } - /** - * @record - */ - function Item() { } - TenantManagement.Item = Item; - if (false) { - /** @type {?} */ - Item.prototype.id; - /** @type {?} */ - Item.prototype.name; - } - /** - * @record - */ - function AddRequest() { } - TenantManagement.AddRequest = AddRequest; - if (false) { - /** @type {?} */ - AddRequest.prototype.name; - } - /** - * @record - */ - function UpdateRequest() { } - TenantManagement.UpdateRequest = UpdateRequest; - if (false) { - /** @type {?} */ - UpdateRequest.prototype.id; - } - /** - * @record - */ - function DefaultConnectionStringRequest() { } - TenantManagement.DefaultConnectionStringRequest = DefaultConnectionStringRequest; - if (false) { - /** @type {?} */ - DefaultConnectionStringRequest.prototype.id; - /** @type {?} */ - DefaultConnectionStringRequest.prototype.defaultConnectionString; - } -})(TenantManagement || (TenantManagement = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/tenant-management-state.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var TenantManagementStateService = /** @class */ (function () { - function TenantManagementStateService(store) { - this.store = store; - } - /** - * @return {?} - */ - TenantManagementStateService.prototype.get = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(TenantManagementState.get); - }; - /** - * @return {?} - */ - TenantManagementStateService.prototype.getTenantsTotalCount = /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(TenantManagementState.getTenantsTotalCount); - }; - TenantManagementStateService.decorators = [ - { type: Injectable, args: [{ - providedIn: 'root', - },] } - ]; - /** @nocollapse */ - TenantManagementStateService.ctorParameters = function () { return [ - { type: Store } - ]; }; - /** @nocollapse */ TenantManagementStateService.ngInjectableDef = ɵɵdefineInjectable({ factory: function TenantManagementStateService_Factory() { return new TenantManagementStateService(ɵɵinject(Store)); }, token: TenantManagementStateService, providedIn: "root" }); - return TenantManagementStateService; -}()); -if (false) { - /** - * @type {?} - * @private - */ - TenantManagementStateService.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.tenant-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { CreateTenant, DeleteTenant, GetTenantById, GetTenants, TENANT_MANAGEMENT_ROUTES, TenantManagementModule, TenantManagementProviders, TenantManagementService, TenantManagementState, TenantManagementStateService, TenantsComponent, UpdateTenant, TenantsComponent as ɵa, TenantManagementState as ɵb, TenantManagementService as ɵc, GetTenants as ɵd, GetTenantById as ɵe, CreateTenant as ɵf, UpdateTenant as ɵg, DeleteTenant as ɵh, TenantManagementRoutingModule as ɵj }; -//# sourceMappingURL=abp-ng.tenant-management.js.map diff --git a/npm/ng-packs/dist/tenant-management/fesm5/abp-ng.tenant-management.js.map b/npm/ng-packs/dist/tenant-management/fesm5/abp-ng.tenant-management.js.map deleted file mode 100644 index 1f0d247ccdf..00000000000 --- a/npm/ng-packs/dist/tenant-management/fesm5/abp-ng.tenant-management.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.tenant-management.js","sources":["ng://@abp/ng.tenant-management/lib/actions/tenant-management.actions.ts","ng://@abp/ng.tenant-management/lib/services/tenant-management.service.ts","ng://@abp/ng.tenant-management/lib/states/tenant-management.state.ts","ng://@abp/ng.tenant-management/lib/components/tenants/tenants.component.ts","ng://@abp/ng.tenant-management/lib/tenant-management-routing.module.ts","ng://@abp/ng.tenant-management/lib/tenant-management.module.ts","ng://@abp/ng.tenant-management/lib/constants/routes.ts","ng://@abp/ng.tenant-management/lib/models/tenant-management.ts","ng://@abp/ng.tenant-management/lib/services/tenant-management-state.service.ts"],"sourcesContent":["import { TenantManagement } from '../models/tenant-management';\r\nimport { ABP } from '@abp/ng.core';\r\n\r\nexport class GetTenants {\r\n static readonly type = '[TenantManagement] Get Tenant';\r\n constructor(public payload?: ABP.PageQueryParams) {}\r\n}\r\n\r\nexport class GetTenantById {\r\n static readonly type = '[TenantManagement] Get Tenant By Id';\r\n constructor(public payload: string) {}\r\n}\r\n\r\nexport class CreateTenant {\r\n static readonly type = '[TenantManagement] Create Tenant';\r\n constructor(public payload: TenantManagement.AddRequest) {}\r\n}\r\n\r\nexport class UpdateTenant {\r\n static readonly type = '[TenantManagement] Update Tenant';\r\n constructor(public payload: TenantManagement.UpdateRequest) {}\r\n}\r\n\r\nexport class DeleteTenant {\r\n static readonly type = '[TenantManagement] Delete Tenant';\r\n constructor(public payload: string) {}\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { RestService, Rest, ABP } from '@abp/ng.core';\r\nimport { TenantManagement } from '../models/tenant-management';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TenantManagementService {\r\n constructor(private rest: RestService) {}\r\n\r\n getTenant(params = {} as ABP.PageQueryParams): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: '/api/multi-tenancy/tenants',\r\n params\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getTenantById(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n url: `/api/multi-tenancy/tenants/${id}`\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n deleteTenant(id: string): Observable {\r\n const request: Rest.Request = {\r\n method: 'DELETE',\r\n url: `/api/multi-tenancy/tenants/${id}`\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n createTenant(body: TenantManagement.AddRequest): Observable {\r\n const request: Rest.Request = {\r\n method: 'POST',\r\n url: '/api/multi-tenancy/tenants',\r\n body\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n updateTenant(body: TenantManagement.UpdateRequest): Observable {\r\n const url = `/api/multi-tenancy/tenants/${body.id}`;\r\n delete body.id;\r\n\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url,\r\n body\r\n };\r\n\r\n return this.rest.request(request);\r\n }\r\n\r\n getDefaultConnectionString(id: string): Observable {\r\n const url = `/api/multi-tenancy/tenants/${id}/default-connection-string`;\r\n\r\n const request: Rest.Request = {\r\n method: 'GET',\r\n responseType: Rest.ResponseType.Text,\r\n url\r\n };\r\n return this.rest.request(request);\r\n }\r\n\r\n updateDefaultConnectionString(payload: TenantManagement.DefaultConnectionStringRequest): Observable {\r\n const url = `/api/multi-tenancy/tenants/${payload.id}/default-connection-string`;\r\n\r\n const request: Rest.Request = {\r\n method: 'PUT',\r\n url,\r\n params: { defaultConnectionString: payload.defaultConnectionString }\r\n };\r\n return this.rest.request(request);\r\n }\r\n\r\n deleteDefaultConnectionString(id: string): Observable {\r\n const url = `/api/multi-tenancy/tenants/${id}/default-connection-string`;\r\n\r\n const request: Rest.Request = {\r\n method: 'DELETE',\r\n url\r\n };\r\n return this.rest.request(request);\r\n }\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { switchMap, tap } from 'rxjs/operators';\r\nimport {\r\n CreateTenant,\r\n DeleteTenant,\r\n GetTenants,\r\n GetTenantById,\r\n UpdateTenant,\r\n} from '../actions/tenant-management.actions';\r\nimport { TenantManagement } from '../models/tenant-management';\r\nimport { TenantManagementService } from '../services/tenant-management.service';\r\nimport { ABP } from '@abp/ng.core';\r\n\r\n@State({\r\n name: 'TenantManagementState',\r\n defaults: { result: {}, selectedItem: {} } as TenantManagement.State,\r\n})\r\nexport class TenantManagementState {\r\n @Selector()\r\n static get({ result }: TenantManagement.State): ABP.BasicItem[] {\r\n return result.items || [];\r\n }\r\n\r\n @Selector()\r\n static getTenantsTotalCount({ result }: TenantManagement.State): number {\r\n return result.totalCount;\r\n }\r\n\r\n constructor(private tenantManagementService: TenantManagementService) {}\r\n\r\n @Action(GetTenants)\r\n get({ patchState }: StateContext, { payload }: GetTenants) {\r\n return this.tenantManagementService.getTenant(payload).pipe(\r\n tap(result =>\r\n patchState({\r\n result,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(GetTenantById)\r\n getById({ patchState }: StateContext, { payload }: GetTenantById) {\r\n return this.tenantManagementService.getTenantById(payload).pipe(\r\n tap(selectedItem =>\r\n patchState({\r\n selectedItem,\r\n }),\r\n ),\r\n );\r\n }\r\n\r\n @Action(DeleteTenant)\r\n delete(_, { payload }: DeleteTenant) {\r\n return this.tenantManagementService.deleteTenant(payload);\r\n }\r\n\r\n @Action(CreateTenant)\r\n add(_, { payload }: CreateTenant) {\r\n return this.tenantManagementService.createTenant(payload);\r\n }\r\n\r\n @Action(UpdateTenant)\r\n update({ getState }: StateContext, { payload }: UpdateTenant) {\r\n return this.tenantManagementService.updateTenant({ ...getState().selectedItem, ...payload });\r\n }\r\n}\r\n","import { ABP } from '@abp/ng.core';\r\nimport { ConfirmationService, Toaster } from '@abp/ng.theme.shared';\r\nimport { Component, OnInit, TemplateRef, ViewChild, ChangeDetectorRef } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { finalize, pluck, switchMap, take } from 'rxjs/operators';\r\nimport {\r\n CreateTenant,\r\n DeleteTenant,\r\n GetTenantById,\r\n GetTenants,\r\n UpdateTenant,\r\n} from '../../actions/tenant-management.actions';\r\nimport { TenantManagementService } from '../../services/tenant-management.service';\r\nimport { TenantManagementState } from '../../states/tenant-management.state';\r\n\r\ninterface SelectedModalContent {\r\n type: 'saveConnStr' | 'saveTenant';\r\n title: string;\r\n template: TemplateRef;\r\n}\r\n\r\n@Component({\r\n selector: 'abp-tenants',\r\n templateUrl: './tenants.component.html',\r\n})\r\nexport class TenantsComponent implements OnInit {\r\n @Select(TenantManagementState.get)\r\n data$: Observable;\r\n\r\n @Select(TenantManagementState.getTenantsTotalCount)\r\n totalCount$: Observable;\r\n\r\n selected: ABP.BasicItem;\r\n\r\n tenantForm: FormGroup;\r\n\r\n defaultConnectionStringForm: FormGroup;\r\n\r\n defaultConnectionString: string;\r\n\r\n isModalVisible: boolean;\r\n\r\n selectedModalContent = {} as SelectedModalContent;\r\n\r\n visibleFeatures = false;\r\n\r\n providerKey: string;\r\n\r\n _useSharedDatabase: boolean;\r\n\r\n pageQuery: ABP.PageQueryParams = {};\r\n\r\n loading = false;\r\n\r\n modalBusy = false;\r\n\r\n sortOrder = '';\r\n\r\n sortKey = '';\r\n\r\n get useSharedDatabase(): boolean {\r\n return this.defaultConnectionStringForm.get('useSharedDatabase').value;\r\n }\r\n\r\n get connectionString(): string {\r\n return this.defaultConnectionStringForm.get('defaultConnectionString').value;\r\n }\r\n\r\n @ViewChild('tenantModalTemplate', { static: false })\r\n tenantModalTemplate: TemplateRef;\r\n\r\n @ViewChild('connectionStringModalTemplate', { static: false })\r\n connectionStringModalTemplate: TemplateRef;\r\n\r\n get isDisabledSaveButton(): boolean {\r\n if (!this.selectedModalContent) return false;\r\n\r\n if (\r\n this.selectedModalContent.type === 'saveConnStr' &&\r\n this.defaultConnectionStringForm &&\r\n this.defaultConnectionStringForm.invalid\r\n ) {\r\n return true;\r\n } else if (\r\n this.selectedModalContent.type === 'saveTenant' &&\r\n this.tenantForm &&\r\n this.tenantForm.invalid\r\n ) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n constructor(\r\n private confirmationService: ConfirmationService,\r\n private tenantService: TenantManagementService,\r\n private fb: FormBuilder,\r\n private store: Store,\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.get();\r\n }\r\n\r\n onSearch(value) {\r\n this.pageQuery.filter = value;\r\n this.get();\r\n }\r\n\r\n private createTenantForm() {\r\n this.tenantForm = this.fb.group({\r\n name: [this.selected.name || '', [Validators.required, Validators.maxLength(256)]],\r\n });\r\n }\r\n\r\n private createDefaultConnectionStringForm() {\r\n this.defaultConnectionStringForm = this.fb.group({\r\n useSharedDatabase: this._useSharedDatabase,\r\n defaultConnectionString: [this.defaultConnectionString || ''],\r\n });\r\n }\r\n\r\n openModal(title: string, template: TemplateRef, type: 'saveConnStr' | 'saveTenant') {\r\n this.selectedModalContent = {\r\n title,\r\n template,\r\n type,\r\n };\r\n\r\n this.isModalVisible = true;\r\n }\r\n\r\n onEditConnectionString(id: string) {\r\n this.store\r\n .dispatch(new GetTenantById(id))\r\n .pipe(\r\n pluck('TenantManagementState', 'selectedItem'),\r\n switchMap(selected => {\r\n this.selected = selected;\r\n return this.tenantService.getDefaultConnectionString(id);\r\n }),\r\n )\r\n .subscribe(fetchedConnectionString => {\r\n this._useSharedDatabase = fetchedConnectionString ? false : true;\r\n this.defaultConnectionString = fetchedConnectionString ? fetchedConnectionString : '';\r\n this.createDefaultConnectionStringForm();\r\n this.openModal(\r\n 'AbpTenantManagement::ConnectionStrings',\r\n this.connectionStringModalTemplate,\r\n 'saveConnStr',\r\n );\r\n });\r\n }\r\n\r\n addTenant() {\r\n this.selected = {} as ABP.BasicItem;\r\n this.createTenantForm();\r\n this.openModal('AbpTenantManagement::NewTenant', this.tenantModalTemplate, 'saveTenant');\r\n }\r\n\r\n editTenant(id: string) {\r\n this.store\r\n .dispatch(new GetTenantById(id))\r\n .pipe(pluck('TenantManagementState', 'selectedItem'))\r\n .subscribe(selected => {\r\n this.selected = selected;\r\n this.createTenantForm();\r\n this.openModal('AbpTenantManagement::Edit', this.tenantModalTemplate, 'saveTenant');\r\n });\r\n }\r\n\r\n save() {\r\n const { type } = this.selectedModalContent;\r\n if (!type) return;\r\n if (type === 'saveTenant') this.saveTenant();\r\n else if (type === 'saveConnStr') this.saveConnectionString();\r\n }\r\n\r\n saveConnectionString() {\r\n if (this.modalBusy) return;\r\n\r\n this.modalBusy = true;\r\n if (this.useSharedDatabase || (!this.useSharedDatabase && !this.connectionString)) {\r\n this.tenantService\r\n .deleteDefaultConnectionString(this.selected.id)\r\n .pipe(\r\n take(1),\r\n finalize(() => (this.modalBusy = false)),\r\n )\r\n .subscribe(() => {\r\n this.isModalVisible = false;\r\n });\r\n } else {\r\n this.tenantService\r\n .updateDefaultConnectionString({\r\n id: this.selected.id,\r\n defaultConnectionString: this.connectionString,\r\n })\r\n .pipe(\r\n take(1),\r\n finalize(() => (this.modalBusy = false)),\r\n )\r\n .subscribe(() => {\r\n this.isModalVisible = false;\r\n });\r\n }\r\n }\r\n\r\n saveTenant() {\r\n if (!this.tenantForm.valid || this.modalBusy) return;\r\n this.modalBusy = true;\r\n\r\n this.store\r\n .dispatch(\r\n this.selected.id\r\n ? new UpdateTenant({ ...this.selected, ...this.tenantForm.value, id: this.selected.id })\r\n : new CreateTenant(this.tenantForm.value),\r\n )\r\n .pipe(finalize(() => (this.modalBusy = false)))\r\n .subscribe(() => {\r\n this.isModalVisible = false;\r\n this.get();\r\n });\r\n }\r\n\r\n delete(id: string, name: string) {\r\n this.confirmationService\r\n .warn(\r\n 'AbpTenantManagement::TenantDeletionConfirmationMessage',\r\n 'AbpTenantManagement::AreYouSure',\r\n {\r\n messageLocalizationParams: [name],\r\n },\r\n )\r\n .subscribe((status: Toaster.Status) => {\r\n if (status === Toaster.Status.confirm) {\r\n this.store.dispatch(new DeleteTenant(id)).subscribe(() => this.get());\r\n }\r\n });\r\n }\r\n\r\n onPageChange(data) {\r\n this.pageQuery.skipCount = data.first;\r\n this.pageQuery.maxResultCount = data.rows;\r\n\r\n this.get();\r\n }\r\n\r\n get() {\r\n this.loading = true;\r\n this.store\r\n .dispatch(new GetTenants(this.pageQuery))\r\n .pipe(finalize(() => (this.loading = false)))\r\n .subscribe();\r\n }\r\n\r\n onSharedDatabaseChange(value: boolean) {\r\n if (!value) {\r\n setTimeout(() => {\r\n const defaultConnectionString = document.getElementById(\r\n 'defaultConnectionString',\r\n ) as HTMLInputElement;\r\n if (defaultConnectionString) {\r\n defaultConnectionString.focus();\r\n }\r\n }, 0);\r\n }\r\n }\r\n}\r\n","import { AuthGuard, DynamicLayoutComponent, PermissionGuard } from '@abp/ng.core';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { TenantsComponent } from './components/tenants/tenants.component';\r\n\r\nconst routes: Routes = [\r\n { path: '', redirectTo: 'tenants', pathMatch: 'full' },\r\n {\r\n path: 'tenants',\r\n component: DynamicLayoutComponent,\r\n canActivate: [AuthGuard, PermissionGuard],\r\n data: { requiredPolicy: 'AbpTenantManagement.Tenants' },\r\n children: [{ path: '', component: TenantsComponent }],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class TenantManagementRoutingModule {}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule, Provider } from '@angular/core';\r\nimport { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { TableModule } from 'primeng/table';\r\nimport { TenantsComponent } from './components/tenants/tenants.component';\r\nimport { TenantManagementState } from './states/tenant-management.state';\r\nimport { TenantManagementRoutingModule } from './tenant-management-routing.module';\r\nimport { FeatureManagementModule } from '@abp/ng.feature-management';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\n\r\n@NgModule({\r\n declarations: [TenantsComponent],\r\n imports: [\r\n TenantManagementRoutingModule,\r\n NgxsModule.forFeature([TenantManagementState]),\r\n NgxValidateCoreModule,\r\n CoreModule,\r\n TableModule,\r\n ThemeSharedModule,\r\n NgbDropdownModule,\r\n FeatureManagementModule,\r\n ],\r\n})\r\nexport class TenantManagementModule {}\r\n\r\n/**\r\n *\r\n * @deprecated since version 0.9.0\r\n */\r\nexport function TenantManagementProviders(): Provider[] {\r\n return [];\r\n}\r\n","import { ABP, eLayoutType } from '@abp/ng.core';\r\n\r\n/**\r\n *\r\n * @deprecated since version 0.9.0\r\n */\r\nexport const TENANT_MANAGEMENT_ROUTES = {\r\n routes: [\r\n {\r\n name: 'AbpTenantManagement::Menu:TenantManagement',\r\n path: 'tenant-management',\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-users',\r\n children: [\r\n {\r\n path: 'tenants',\r\n name: 'AbpTenantManagement::Tenants',\r\n order: 1,\r\n requiredPolicy: 'AbpTenantManagement.Tenants',\r\n },\r\n ],\r\n },\r\n ] as ABP.FullRoute[],\r\n};\r\n","import { ABP } from '@abp/ng.core';\r\n\r\nexport namespace TenantManagement {\r\n export interface State {\r\n result: Response;\r\n selectedItem: Item;\r\n }\r\n\r\n export type Response = ABP.PagedResponse;\r\n\r\n export interface Item {\r\n id: string;\r\n name: string;\r\n }\r\n\r\n export interface AddRequest {\r\n name: string;\r\n }\r\n\r\n export interface UpdateRequest extends AddRequest {\r\n id: string;\r\n }\r\n\r\n export interface DefaultConnectionStringRequest {\r\n id: string;\r\n defaultConnectionString: string;\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { TenantManagementState } from '../states/tenant-management.state';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class TenantManagementStateService {\r\n constructor(private store: Store) {}\r\n\r\n get() {\r\n return this.store.selectSnapshot(TenantManagementState.get);\r\n }\r\n\r\n getTenantsTotalCount() {\r\n return this.store.selectSnapshot(TenantManagementState.getTenantsTotalCount);\r\n }\r\n}\r\n"],"names":["tslib_1.__decorate"],"mappings":";;;;;;;;;;;;;;;;;;;AAGA;IAEE,oBAAmB,OAA6B;QAA7B,YAAO,GAAP,OAAO,CAAsB;KAAI;IADpC,eAAI,GAAG,+BAA+B,CAAC;IAEzD,iBAAC;CAHD,IAGC;;;IAFC,gBAAuD;;IAC3C,6BAAoC;;AAGlD;IAEE,uBAAmB,OAAe;QAAf,YAAO,GAAP,OAAO,CAAQ;KAAI;IADtB,kBAAI,GAAG,qCAAqC,CAAC;IAE/D,oBAAC;CAHD,IAGC;;;IAFC,mBAA6D;;IACjD,gCAAsB;;AAGpC;IAEE,sBAAmB,OAAoC;QAApC,YAAO,GAAP,OAAO,CAA6B;KAAI;IAD3C,iBAAI,GAAG,kCAAkC,CAAC;IAE5D,mBAAC;CAHD,IAGC;;;IAFC,kBAA0D;;IAC9C,+BAA2C;;AAGzD;IAEE,sBAAmB,OAAuC;QAAvC,YAAO,GAAP,OAAO,CAAgC;KAAI;IAD9C,iBAAI,GAAG,kCAAkC,CAAC;IAE5D,mBAAC;CAHD,IAGC;;;IAFC,k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;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/tenant-management/lib/actions/index.d.ts b/npm/ng-packs/dist/tenant-management/lib/actions/index.d.ts deleted file mode 100644 index 5c9207873fc..00000000000 --- a/npm/ng-packs/dist/tenant-management/lib/actions/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './tenant-management.actions'; diff --git a/npm/ng-packs/dist/tenant-management/lib/actions/tenant-management.actions.d.ts b/npm/ng-packs/dist/tenant-management/lib/actions/tenant-management.actions.d.ts deleted file mode 100644 index 69880b667dc..00000000000 --- a/npm/ng-packs/dist/tenant-management/lib/actions/tenant-management.actions.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { TenantManagement } from '../models/tenant-management'; -import { ABP } from '@abp/ng.core'; -export declare class GetTenants { - payload?: ABP.PageQueryParams; - static readonly type = "[TenantManagement] Get Tenant"; - constructor(payload?: ABP.PageQueryParams); -} -export declare class GetTenantById { - payload: string; - static readonly type = "[TenantManagement] Get Tenant By Id"; - constructor(payload: string); -} -export declare class CreateTenant { - payload: TenantManagement.AddRequest; - static readonly type = "[TenantManagement] Create Tenant"; - constructor(payload: TenantManagement.AddRequest); -} -export declare class UpdateTenant { - payload: TenantManagement.UpdateRequest; - static readonly type = "[TenantManagement] Update Tenant"; - constructor(payload: TenantManagement.UpdateRequest); -} -export declare class DeleteTenant { - payload: string; - static readonly type = "[TenantManagement] Delete Tenant"; - constructor(payload: string); -} diff --git a/npm/ng-packs/dist/tenant-management/lib/components/index.d.ts b/npm/ng-packs/dist/tenant-management/lib/components/index.d.ts deleted file mode 100644 index 3174cf9458f..00000000000 --- a/npm/ng-packs/dist/tenant-management/lib/components/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './tenants/tenants.component'; diff --git a/npm/ng-packs/dist/tenant-management/lib/components/tenants/tenants.component.d.ts b/npm/ng-packs/dist/tenant-management/lib/components/tenants/tenants.component.d.ts deleted file mode 100644 index d9b993a1ee8..00000000000 --- a/npm/ng-packs/dist/tenant-management/lib/components/tenants/tenants.component.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { ABP } from '@abp/ng.core'; -import { ConfirmationService } from '@abp/ng.theme.shared'; -import { OnInit, TemplateRef } from '@angular/core'; -import { FormBuilder, FormGroup } from '@angular/forms'; -import { Store } from '@ngxs/store'; -import { Observable } from 'rxjs'; -import { TenantManagementService } from '../../services/tenant-management.service'; -interface SelectedModalContent { - type: 'saveConnStr' | 'saveTenant'; - title: string; - template: TemplateRef; -} -export declare class TenantsComponent implements OnInit { - private confirmationService; - private tenantService; - private fb; - private store; - data$: Observable; - totalCount$: Observable; - selected: ABP.BasicItem; - tenantForm: FormGroup; - defaultConnectionStringForm: FormGroup; - defaultConnectionString: string; - isModalVisible: boolean; - selectedModalContent: SelectedModalContent; - visibleFeatures: boolean; - providerKey: string; - _useSharedDatabase: boolean; - pageQuery: ABP.PageQueryParams; - loading: boolean; - modalBusy: boolean; - sortOrder: string; - sortKey: string; - readonly useSharedDatabase: boolean; - readonly connectionString: string; - tenantModalTemplate: TemplateRef; - connectionStringModalTemplate: TemplateRef; - readonly isDisabledSaveButton: boolean; - constructor(confirmationService: ConfirmationService, tenantService: TenantManagementService, fb: FormBuilder, store: Store); - ngOnInit(): void; - onSearch(value: any): void; - private createTenantForm; - private createDefaultConnectionStringForm; - openModal(title: string, template: TemplateRef, type: 'saveConnStr' | 'saveTenant'): void; - onEditConnectionString(id: string): void; - addTenant(): void; - editTenant(id: string): void; - save(): void; - saveConnectionString(): void; - saveTenant(): void; - delete(id: string, name: string): void; - onPageChange(data: any): void; - get(): void; - onSharedDatabaseChange(value: boolean): void; -} -export {}; diff --git a/npm/ng-packs/dist/tenant-management/lib/constants/index.d.ts b/npm/ng-packs/dist/tenant-management/lib/constants/index.d.ts deleted file mode 100644 index a3820983e25..00000000000 --- a/npm/ng-packs/dist/tenant-management/lib/constants/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './routes'; diff --git a/npm/ng-packs/dist/tenant-management/lib/constants/routes.d.ts b/npm/ng-packs/dist/tenant-management/lib/constants/routes.d.ts deleted file mode 100644 index 5a29cf04325..00000000000 --- a/npm/ng-packs/dist/tenant-management/lib/constants/routes.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { ABP } from '@abp/ng.core'; -/** - * - * @deprecated since version 0.9.0 - */ -export declare const TENANT_MANAGEMENT_ROUTES: { - routes: ABP.FullRoute[]; -}; diff --git a/npm/ng-packs/dist/tenant-management/lib/models/index.d.ts b/npm/ng-packs/dist/tenant-management/lib/models/index.d.ts deleted file mode 100644 index 580d09d215c..00000000000 --- a/npm/ng-packs/dist/tenant-management/lib/models/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './tenant-management'; diff --git a/npm/ng-packs/dist/tenant-management/lib/models/tenant-management.d.ts b/npm/ng-packs/dist/tenant-management/lib/models/tenant-management.d.ts deleted file mode 100644 index c1ddc624b84..00000000000 --- a/npm/ng-packs/dist/tenant-management/lib/models/tenant-management.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { ABP } from '@abp/ng.core'; -export declare namespace TenantManagement { - interface State { - result: Response; - selectedItem: Item; - } - type Response = ABP.PagedResponse; - interface Item { - id: string; - name: string; - } - interface AddRequest { - name: string; - } - interface UpdateRequest extends AddRequest { - id: string; - } - interface DefaultConnectionStringRequest { - id: string; - defaultConnectionString: string; - } -} diff --git a/npm/ng-packs/dist/tenant-management/lib/services/index.d.ts b/npm/ng-packs/dist/tenant-management/lib/services/index.d.ts deleted file mode 100644 index 060dae4e0c5..00000000000 --- a/npm/ng-packs/dist/tenant-management/lib/services/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './tenant-management.service'; -export * from './tenant-management-state.service'; diff --git a/npm/ng-packs/dist/tenant-management/lib/services/tenant-management-state.service.d.ts b/npm/ng-packs/dist/tenant-management/lib/services/tenant-management-state.service.d.ts deleted file mode 100644 index 053583fc2d3..00000000000 --- a/npm/ng-packs/dist/tenant-management/lib/services/tenant-management-state.service.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Store } from '@ngxs/store'; -export declare class TenantManagementStateService { - private store; - constructor(store: Store); - get(): import("@abp/ng.core").ABP.BasicItem[]; - getTenantsTotalCount(): number; -} diff --git a/npm/ng-packs/dist/tenant-management/lib/services/tenant-management.service.d.ts b/npm/ng-packs/dist/tenant-management/lib/services/tenant-management.service.d.ts deleted file mode 100644 index 5d7015448ab..00000000000 --- a/npm/ng-packs/dist/tenant-management/lib/services/tenant-management.service.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Observable } from 'rxjs'; -import { RestService, ABP } from '@abp/ng.core'; -import { TenantManagement } from '../models/tenant-management'; -export declare class TenantManagementService { - private rest; - constructor(rest: RestService); - getTenant(params?: ABP.PageQueryParams): Observable; - getTenantById(id: string): Observable; - deleteTenant(id: string): Observable; - createTenant(body: TenantManagement.AddRequest): Observable; - updateTenant(body: TenantManagement.UpdateRequest): Observable; - getDefaultConnectionString(id: string): Observable; - updateDefaultConnectionString(payload: TenantManagement.DefaultConnectionStringRequest): Observable; - deleteDefaultConnectionString(id: string): Observable; -} diff --git a/npm/ng-packs/dist/tenant-management/lib/states/index.d.ts b/npm/ng-packs/dist/tenant-management/lib/states/index.d.ts deleted file mode 100644 index a6fb4168fe2..00000000000 --- a/npm/ng-packs/dist/tenant-management/lib/states/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './tenant-management.state'; diff --git a/npm/ng-packs/dist/tenant-management/lib/states/tenant-management.state.d.ts b/npm/ng-packs/dist/tenant-management/lib/states/tenant-management.state.d.ts deleted file mode 100644 index 342c5356ead..00000000000 --- a/npm/ng-packs/dist/tenant-management/lib/states/tenant-management.state.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { StateContext } from '@ngxs/store'; -import { CreateTenant, DeleteTenant, GetTenants, GetTenantById, UpdateTenant } from '../actions/tenant-management.actions'; -import { TenantManagement } from '../models/tenant-management'; -import { TenantManagementService } from '../services/tenant-management.service'; -import { ABP } from '@abp/ng.core'; -export declare class TenantManagementState { - private tenantManagementService; - static get({ result }: TenantManagement.State): ABP.BasicItem[]; - static getTenantsTotalCount({ result }: TenantManagement.State): number; - constructor(tenantManagementService: TenantManagementService); - get({ patchState }: StateContext, { payload }: GetTenants): import("rxjs").Observable>; - getById({ patchState }: StateContext, { payload }: GetTenantById): import("rxjs").Observable; - delete(_: any, { payload }: DeleteTenant): import("rxjs").Observable; - add(_: any, { payload }: CreateTenant): import("rxjs").Observable; - update({ getState }: StateContext, { payload }: UpdateTenant): import("rxjs").Observable; -} diff --git a/npm/ng-packs/dist/tenant-management/lib/tenant-management-routing.module.d.ts b/npm/ng-packs/dist/tenant-management/lib/tenant-management-routing.module.d.ts deleted file mode 100644 index 2af30e1aed7..00000000000 --- a/npm/ng-packs/dist/tenant-management/lib/tenant-management-routing.module.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class TenantManagementRoutingModule { -} diff --git a/npm/ng-packs/dist/tenant-management/lib/tenant-management.module.d.ts b/npm/ng-packs/dist/tenant-management/lib/tenant-management.module.d.ts deleted file mode 100644 index efaf0daafb6..00000000000 --- a/npm/ng-packs/dist/tenant-management/lib/tenant-management.module.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Provider } from '@angular/core'; -export declare class TenantManagementModule { -} -/** - * - * @deprecated since version 0.9.0 - */ -export declare function TenantManagementProviders(): Provider[]; diff --git a/npm/ng-packs/dist/tenant-management/package.json b/npm/ng-packs/dist/tenant-management/package.json deleted file mode 100644 index 03d58cd9cef..00000000000 --- a/npm/ng-packs/dist/tenant-management/package.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "@abp/ng.tenant-management", - "version": "1.1.0", - "dependencies": { - "@abp/ng.feature-management": "^1.1.0", - "@abp/ng.tenant-management.config": "^1.1.0", - "@abp/ng.theme.shared": "^1.1.0", - "tslib": "^1.9.0" - }, - "publishConfig": { - "access": "public" - }, - "main": "bundles/abp-ng.tenant-management.umd.js", - "module": "fesm5/abp-ng.tenant-management.js", - "es2015": "fesm2015/abp-ng.tenant-management.js", - "esm5": "esm5/abp-ng.tenant-management.js", - "esm2015": "esm2015/abp-ng.tenant-management.js", - "fesm5": "fesm5/abp-ng.tenant-management.js", - "fesm2015": "fesm2015/abp-ng.tenant-management.js", - "typings": "abp-ng.tenant-management.d.ts", - "metadata": "abp-ng.tenant-management.metadata.json", - "sideEffects": false, - "gitHead": "42d9eb857fca97c046ebac4286b6831c8b8c1887" -} diff --git a/npm/ng-packs/dist/tenant-management/public-api.d.ts b/npm/ng-packs/dist/tenant-management/public-api.d.ts deleted file mode 100644 index 67fcf7f1955..00000000000 --- a/npm/ng-packs/dist/tenant-management/public-api.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export * from './lib/tenant-management.module'; -export * from './lib/actions'; -export * from './lib/components'; -export * from './lib/constants'; -export * from './lib/models'; -export * from './lib/services'; -export * from './lib/states'; diff --git a/npm/ng-packs/dist/theme-basic/README.md b/npm/ng-packs/dist/theme-basic/README.md deleted file mode 100644 index 0dce3c65269..00000000000 --- a/npm/ng-packs/dist/theme-basic/README.md +++ /dev/null @@ -1,3 +0,0 @@ -

@abp/ng.theme.basic

- -[docs.abp.io](https://docs.abp.io) diff --git a/npm/ng-packs/dist/theme-basic/abp-ng.theme.basic.d.ts b/npm/ng-packs/dist/theme-basic/abp-ng.theme.basic.d.ts deleted file mode 100644 index c137b6bd038..00000000000 --- a/npm/ng-packs/dist/theme-basic/abp-ng.theme.basic.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Generated bundle index. Do not edit. - */ -export * from './public-api'; -export { AddNavigationElement as ɵg, RemoveNavigationElementByName as ɵh } from './lib/actions/layout.actions'; -export { AccountLayoutComponent as ɵc } from './lib/components/account-layout/account-layout.component'; -export { ApplicationLayoutComponent as ɵa } from './lib/components/application-layout/application-layout.component'; -export { EmptyLayoutComponent as ɵd } from './lib/components/empty-layout/empty-layout.component'; -export { ValidationErrorComponent as ɵe } from './lib/components/validation-error/validation-error.component'; -export { Layout as ɵi } from './lib/models/layout'; -export { InitialService as ɵj } from './lib/services/initial.service'; -export { LayoutState as ɵb } from './lib/states'; -export { LayoutState as ɵf } from './lib/states/layout.state'; diff --git a/npm/ng-packs/dist/theme-basic/abp-ng.theme.basic.metadata.json b/npm/ng-packs/dist/theme-basic/abp-ng.theme.basic.metadata.json deleted file mode 100644 index 8d4310e6cc5..00000000000 --- a/npm/ng-packs/dist/theme-basic/abp-ng.theme.basic.metadata.json +++ /dev/null @@ -1 +0,0 @@ -{"__symbolic":"module","version":4,"exports":[{"from":"./lib/layout.state"},{"from":"./lib/application-layout/application-layout.component"},{"from":"./lib/empty-layout/empty-layout.component"},{"from":"./lib/validation-error/validation-error.component"}],"metadata":{"LAYOUTS":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"}],"ThemeBasicModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":16,"character":1},"arguments":[{"declarations":[{"__symbolic":"spread","expression":{"__symbolic":"reference","name":"LAYOUTS"}},{"__symbolic":"reference","name":"ɵe"}],"imports":[{"__symbolic":"reference","module":"@abp/ng.core","name":"CoreModule","line":19,"character":4},{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ThemeSharedModule","line":20,"character":4},{"__symbolic":"reference","module":"@ng-bootstrap/ng-bootstrap","name":"NgbCollapseModule","line":21,"character":4},{"__symbolic":"reference","module":"@ng-bootstrap/ng-bootstrap","name":"NgbDropdownModule","line":22,"character":4},{"__symbolic":"reference","module":"primeng/toast","name":"ToastModule","line":23,"character":4},{"__symbolic":"reference","module":"@ngx-validate/core","name":"NgxValidateCoreModule","line":24,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"NgxsModule","line":25,"character":4},"member":"forFeature"},"arguments":[[{"__symbolic":"reference","name":"ɵf"}]]},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngx-validate/core","name":"NgxValidateCoreModule","line":26,"character":4},"member":"forRoot"},"arguments":[{"targetSelector":".form-group","blueprints":{"email":"AbpAccount::ThisFieldIsNotAValidEmailAddress.","max":"AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]","maxlength":"AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMaximumLengthoOf{0}[{{ requiredLength }}]","min":"AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]","minlength":"AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMinimumLengthOf{0}[{{ requiredLength }}]","required":"AbpAccount::ThisFieldIsRequired.","passwordMismatch":"AbpIdentity::Identity.PasswordConfirmationFailed"},"errorTemplate":{"__symbolic":"reference","name":"ɵe"}}]}],"exports":[{"__symbolic":"spread","expression":{"__symbolic":"reference","name":"LAYOUTS"}}],"entryComponents":[{"__symbolic":"spread","expression":{"__symbolic":"reference","name":"LAYOUTS"}},{"__symbolic":"reference","name":"ɵe"}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵj"}]}]}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":36,"character":1},"arguments":[{"selector":"abp-layout-application","animations":[{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"slideFromBottom","line":39,"character":15},{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"collapseWithMargin","line":39,"character":32}],"template":"\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n\r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n\r\n
    \r\n \r\n
\r\n \r\n \r\n \r\n\r\n\r\n
\r\n \r\n
\r\n\r\n\r\n\r\n\r\n\r\n {{ appInfo.name }}\r\n\r\n\r\n\r\n
  • 0\" class=\"nav-item\">\r\n
    \r\n \r\n {{ defaultLanguage$ | async }}\r\n \r\n \r\n {{ lang?.displayName }}\r\n
    \r\n \r\n
  • \r\n
    \r\n\r\n\r\n
  • \r\n \r\n \r\n
  • \r\n
    \r\n"}]}],"members":{"routes$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Select","line":45,"character":3},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@abp/ng.core","name":"ConfigState","line":45,"character":10},"member":"getOne"},"arguments":["routes"]}]}]}],"currentUser$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Select","line":48,"character":3},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@abp/ng.core","name":"ConfigState","line":48,"character":10},"member":"getOne"},"arguments":["currentUser"]}]}]}],"languages$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Select","line":51,"character":3},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@abp/ng.core","name":"ConfigState","line":51,"character":10},"member":"getDeep"},"arguments":["localization.languages"]}]}]}],"navElements$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Select","line":54,"character":3},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵb"},"member":"getNavigationElements"}]}]}],"currentUserRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":57,"character":3},"arguments":["currentUser",{"static":false,"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":57,"character":51}}]}]}],"languageRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":60,"character":3},"arguments":["language",{"static":false,"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":60,"character":48}}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":102,"character":29},{"__symbolic":"reference","module":"angular-oauth2-oidc","name":"OAuthService","line":102,"character":58},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":102,"character":90}]}],"checkWindowWidth":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"onChangeLang":[{"__symbolic":"method"}],"logout":[{"__symbolic":"method"}],"openChange":[{"__symbolic":"method"}]},"statics":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@abp/ng.core","name":"eLayoutType","line":43,"character":16},"member":"application"}}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"abp-layout-account","template":"\n \n \n \n "}]}],"members":{},"statics":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@abp/ng.core","name":"eLayoutType","line":13,"character":16},"member":"account"}}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"abp-layout-empty","template":"\n \n \n \n "}]}],"members":{},"statics":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@abp/ng.core","name":"eLayoutType","line":12,"character":16},"member":"empty"}}},"ɵe":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ngx-validate/core","name":"ValidationErrorComponent","line":13,"character":46},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"abp-validation-error","template":"\n
    \n {{ error.message | abpLocalization: error.interpoliteParams }}\n
    \n ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":10,"character":19},"member":"OnPush"},"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":11,"character":17},"member":"None"}}]}],"members":{}},"ɵf":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"State","line":6,"character":1},"arguments":[{"name":"LayoutState","defaults":{"navigationElements":[]}}]}],"members":{"layoutAddAction":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":16,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵg"}]}]}],"layoutRemoveAction":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngxs/store","name":"Action","line":45,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵh"}]}]}]},"statics":{"getNavigationElements":{"__symbolic":"function","parameters":["navigationElements"],"value":{"__symbolic":"reference","name":"navigationElements"}}}},"ɵg":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵi"},"member":"NavigationElement"}]}]},"statics":{"type":"[Layout] Add Navigation Element"}},"ɵh":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]},"statics":{"type":"[Layout] Remove Navigation ElementByName"}},"ɵj":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@abp/ng.core","name":"LazyLoadService","line":7,"character":39}]}],"appendStyle":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}}},"origins":{"LAYOUTS":"./lib/theme-basic.module","ThemeBasicModule":"./lib/theme-basic.module","ɵa":"./lib/components/application-layout/application-layout.component","ɵb":"./lib/states","ɵc":"./lib/components/account-layout/account-layout.component","ɵd":"./lib/components/empty-layout/empty-layout.component","ɵe":"./lib/components/validation-error/validation-error.component","ɵf":"./lib/states/layout.state","ɵg":"./lib/actions/layout.actions","ɵh":"./lib/actions/layout.actions","ɵi":"./lib/models/layout","ɵj":"./lib/services/initial.service"},"importAs":"@abp/ng.theme.basic"} \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/bundles/abp-ng.theme.basic.umd.js b/npm/ng-packs/dist/theme-basic/bundles/abp-ng.theme.basic.umd.js deleted file mode 100644 index 3f56b5e01f9..00000000000 --- a/npm/ng-packs/dist/theme-basic/bundles/abp-ng.theme.basic.umd.js +++ /dev/null @@ -1,984 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@abp/ng.core'), require('@abp/ng.theme.shared'), require('@angular/core'), require('@ng-bootstrap/ng-bootstrap'), require('@ngx-validate/core'), require('@ngxs/store'), require('primeng/toast'), require('@ngxs/router-plugin'), require('angular-oauth2-oidc'), require('just-compare'), require('rxjs'), require('rxjs/operators'), require('snq')) : - typeof define === 'function' && define.amd ? define('@abp/ng.theme.basic', ['exports', '@abp/ng.core', '@abp/ng.theme.shared', '@angular/core', '@ng-bootstrap/ng-bootstrap', '@ngx-validate/core', '@ngxs/store', 'primeng/toast', '@ngxs/router-plugin', 'angular-oauth2-oidc', 'just-compare', 'rxjs', 'rxjs/operators', 'snq'], factory) : - (global = global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng.theme = global.abp.ng.theme || {}, global.abp.ng.theme.basic = {}), global.ng_core, global.ng_theme_shared, global.ng.core, global.ngBootstrap, global.core$1, global.store, global.toast, global.routerPlugin, global.angularOauth2Oidc, global.compare, global.rxjs, global.rxjs.operators, global.snq)); -}(this, (function (exports, ng_core, ng_theme_shared, core, ngBootstrap, core$1, store, toast, routerPlugin, angularOauth2Oidc, compare, rxjs, operators, snq) { 'use strict'; - - compare = compare && compare.hasOwnProperty('default') ? compare['default'] : compare; - snq = snq && snq.hasOwnProperty('default') ? snq['default'] : snq; - - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ - /* global Reflect, Promise */ - - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - - function __extends(d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - } - - var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); - }; - - function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; - } - - function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; - } - - function __param(paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } - } - - function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); - } - - function __awaiter(thisArg, _arguments, P, generator) { - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - } - - function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (_) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } - } - - function __exportStar(m, exports) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; - } - - function __values(o) { - var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0; - if (m) return m.call(o); - return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; - } - - function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; - } - - function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; - } - - function __spreadArrays() { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; - for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; - return r; - }; - - function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); - } - - function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } - } - - function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } - } - - function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); - function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } - } - - function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; - }; - - function __importStar(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result.default = mod; - return result; - } - - function __importDefault(mod) { - return (mod && mod.__esModule) ? mod : { default: mod }; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/account-layout/account-layout.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var AccountLayoutComponent = /** @class */ (function () { - function AccountLayoutComponent() { - } - // required for dynamic component - AccountLayoutComponent.type = "account" /* account */; - AccountLayoutComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-layout-account', - template: "\n \n \n \n " - }] } - ]; - return AccountLayoutComponent; - }()); - if (false) { - /** @type {?} */ - AccountLayoutComponent.type; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/actions/layout.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var AddNavigationElement = /** @class */ (function () { - function AddNavigationElement(payload) { - this.payload = payload; - } - AddNavigationElement.type = '[Layout] Add Navigation Element'; - return AddNavigationElement; - }()); - if (false) { - /** @type {?} */ - AddNavigationElement.type; - /** @type {?} */ - AddNavigationElement.prototype.payload; - } - var RemoveNavigationElementByName = /** @class */ (function () { - function RemoveNavigationElementByName(name) { - this.name = name; - } - RemoveNavigationElementByName.type = '[Layout] Remove Navigation ElementByName'; - return RemoveNavigationElementByName; - }()); - if (false) { - /** @type {?} */ - RemoveNavigationElementByName.type; - /** @type {?} */ - RemoveNavigationElementByName.prototype.name; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/states/layout.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var LayoutState = /** @class */ (function () { - function LayoutState() { - } - /** - * @param {?} __0 - * @return {?} - */ - LayoutState.getNavigationElements = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var navigationElements = _a.navigationElements; - return navigationElements; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - LayoutState.prototype.layoutAddAction = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var getState = _a.getState, patchState = _a.patchState; - var _c = _b.payload, payload = _c === void 0 ? [] : _c; - var navigationElements = getState().navigationElements; - if (!Array.isArray(payload)) { - payload = [payload]; - } - if (navigationElements.length) { - payload = snq((/** - * @return {?} - */ - function () { - return ((/** @type {?} */ (payload))).filter((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var name = _a.name; - return navigationElements.findIndex((/** - * @param {?} nav - * @return {?} - */ - function (nav) { return nav.name === name; })) < 0; - })); - }), []); - } - if (!payload.length) - return; - navigationElements = __spread(navigationElements, payload).map((/** - * @param {?} element - * @return {?} - */ - function (element) { return (__assign({}, element, { order: element.order || 99 })); })) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - function (a, b) { return a.order - b.order; })); - return patchState({ - navigationElements: navigationElements, - }); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - LayoutState.prototype.layoutRemoveAction = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var getState = _a.getState, patchState = _a.patchState; - var name = _b.name; - var navigationElements = getState().navigationElements; - /** @type {?} */ - var index = navigationElements.findIndex((/** - * @param {?} element - * @return {?} - */ - function (element) { return element.name === name; })); - if (index > -1) { - navigationElements = navigationElements.splice(index, 1); - } - return patchState({ - navigationElements: navigationElements, - }); - }; - __decorate([ - store.Action(AddNavigationElement), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, AddNavigationElement]), - __metadata("design:returntype", void 0) - ], LayoutState.prototype, "layoutAddAction", null); - __decorate([ - store.Action(RemoveNavigationElementByName), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, RemoveNavigationElementByName]), - __metadata("design:returntype", void 0) - ], LayoutState.prototype, "layoutRemoveAction", null); - __decorate([ - store.Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Array) - ], LayoutState, "getNavigationElements", null); - LayoutState = __decorate([ - store.State({ - name: 'LayoutState', - defaults: (/** @type {?} */ ({ navigationElements: [] })), - }) - ], LayoutState); - return LayoutState; - }()); - - /** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/application-layout/application-layout.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ApplicationLayoutComponent = /** @class */ (function () { - function ApplicationLayoutComponent(store, oauthService, renderer) { - this.store = store; - this.oauthService = oauthService; - this.renderer = renderer; - this.isCollapsed = true; - this.rightPartElements = []; - this.trackByFn = (/** - * @param {?} _ - * @param {?} item - * @return {?} - */ - function (_, item) { return item.name; }); - this.trackElementByFn = (/** - * @param {?} _ - * @param {?} element - * @return {?} - */ - function (_, element) { return element; }); - } - Object.defineProperty(ApplicationLayoutComponent.prototype, "appInfo", { - get: - // do not set true or false - /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(ng_core.ConfigState.getApplicationInfo); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ApplicationLayoutComponent.prototype, "visibleRoutes$", { - get: /** - * @return {?} - */ - function () { - return this.routes$.pipe(operators.map((/** - * @param {?} routes - * @return {?} - */ - function (routes) { return getVisibleRoutes(routes); }))); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ApplicationLayoutComponent.prototype, "defaultLanguage$", { - get: /** - * @return {?} - */ - function () { - var _this = this; - return this.languages$.pipe(operators.map((/** - * @param {?} languages - * @return {?} - */ - function (languages) { return snq((/** - * @return {?} - */ - function () { return languages.find((/** - * @param {?} lang - * @return {?} - */ - function (lang) { return lang.cultureName === _this.selectedLangCulture; })).displayName; })); }), '')); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ApplicationLayoutComponent.prototype, "dropdownLanguages$", { - get: /** - * @return {?} - */ - function () { - var _this = this; - return this.languages$.pipe(operators.map((/** - * @param {?} languages - * @return {?} - */ - function (languages) { return snq((/** - * @return {?} - */ - function () { return languages.filter((/** - * @param {?} lang - * @return {?} - */ - function (lang) { return lang.cultureName !== _this.selectedLangCulture; })); })); }), [])); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ApplicationLayoutComponent.prototype, "selectedLangCulture", { - get: /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(ng_core.SessionState.getLanguage); - }, - enumerable: true, - configurable: true - }); - /** - * @private - * @return {?} - */ - ApplicationLayoutComponent.prototype.checkWindowWidth = /** - * @private - * @return {?} - */ - function () { - var _this = this; - setTimeout((/** - * @return {?} - */ - function () { - if (window.innerWidth < 768) { - _this.isDropdownChildDynamic = false; - if (_this.smallScreen === false) { - _this.isCollapsed = false; - setTimeout((/** - * @return {?} - */ - function () { - _this.isCollapsed = true; - }), 100); - } - _this.smallScreen = true; - } - else { - _this.isDropdownChildDynamic = true; - _this.smallScreen = false; - } - }), 0); - }; - /** - * @return {?} - */ - ApplicationLayoutComponent.prototype.ngAfterViewInit = /** - * @return {?} - */ - function () { - var _this = this; - /** @type {?} */ - var navigations = this.store.selectSnapshot(LayoutState.getNavigationElements).map((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var name = _a.name; - return name; - })); - if (navigations.indexOf('LanguageRef') < 0) { - this.store.dispatch(new AddNavigationElement([ - { element: this.languageRef, order: 4, name: 'LanguageRef' }, - { element: this.currentUserRef, order: 5, name: 'CurrentUserRef' }, - ])); - } - this.navElements$ - .pipe(operators.map((/** - * @param {?} elements - * @return {?} - */ - function (elements) { return elements.map((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var element = _a.element; - return element; - })); })), operators.filter((/** - * @param {?} elements - * @return {?} - */ - function (elements) { return !compare(elements, _this.rightPartElements); })), ng_core.takeUntilDestroy(this)) - .subscribe((/** - * @param {?} elements - * @return {?} - */ - function (elements) { - setTimeout((/** - * @return {?} - */ - function () { return (_this.rightPartElements = elements); }), 0); - })); - this.checkWindowWidth(); - rxjs.fromEvent(window, 'resize') - .pipe(ng_core.takeUntilDestroy(this), operators.debounceTime(150)) - .subscribe((/** - * @return {?} - */ - function () { - _this.checkWindowWidth(); - })); - }; - /** - * @return {?} - */ - ApplicationLayoutComponent.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - /** - * @param {?} cultureName - * @return {?} - */ - ApplicationLayoutComponent.prototype.onChangeLang = /** - * @param {?} cultureName - * @return {?} - */ - function (cultureName) { - this.store.dispatch(new ng_core.SetLanguage(cultureName)); - }; - /** - * @return {?} - */ - ApplicationLayoutComponent.prototype.logout = /** - * @return {?} - */ - function () { - this.oauthService.logOut(); - this.store.dispatch(new routerPlugin.Navigate(['/'], null, { - state: { redirectUrl: this.store.selectSnapshot(routerPlugin.RouterState).state.url }, - })); - this.store.dispatch(new ng_core.GetAppConfiguration()); - }; - /** - * @param {?} event - * @param {?} childrenContainer - * @return {?} - */ - ApplicationLayoutComponent.prototype.openChange = /** - * @param {?} event - * @param {?} childrenContainer - * @return {?} - */ - function (event, childrenContainer) { - var _this = this; - if (!event) { - Object.keys(childrenContainer.style) - .filter((/** - * @param {?} key - * @return {?} - */ - function (key) { return Number.isInteger(+key); })) - .forEach((/** - * @param {?} key - * @return {?} - */ - function (key) { - _this.renderer.removeStyle(childrenContainer, childrenContainer.style[key]); - })); - this.renderer.removeStyle(childrenContainer, 'left'); - } - }; - // required for dynamic component - ApplicationLayoutComponent.type = "application" /* application */; - ApplicationLayoutComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-layout-application', - template: "\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n\r\n
    \r\n \r\n
    \r\n\r\n \r\n
    \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n\r\n
      \r\n \r\n
    \r\n \r\n \r\n \r\n\r\n\r\n
    \r\n \r\n
    \r\n\r\n\r\n\r\n\r\n\r\n {{ appInfo.name }}\r\n\r\n\r\n\r\n
  • 0\" class=\"nav-item\">\r\n
    \r\n \r\n {{ defaultLanguage$ | async }}\r\n \r\n \r\n {{ lang?.displayName }}\r\n
    \r\n \r\n
  • \r\n
    \r\n\r\n\r\n
  • \r\n \r\n \r\n
  • \r\n
    \r\n", - animations: [ng_theme_shared.slideFromBottom, ng_theme_shared.collapseWithMargin] - }] } - ]; - /** @nocollapse */ - ApplicationLayoutComponent.ctorParameters = function () { return [ - { type: store.Store }, - { type: angularOauth2Oidc.OAuthService }, - { type: core.Renderer2 } - ]; }; - ApplicationLayoutComponent.propDecorators = { - currentUserRef: [{ type: core.ViewChild, args: ['currentUser', { static: false, read: core.TemplateRef },] }], - languageRef: [{ type: core.ViewChild, args: ['language', { static: false, read: core.TemplateRef },] }] - }; - __decorate([ - store.Select(ng_core.ConfigState.getOne('routes')), - __metadata("design:type", rxjs.Observable) - ], ApplicationLayoutComponent.prototype, "routes$", void 0); - __decorate([ - store.Select(ng_core.ConfigState.getOne('currentUser')), - __metadata("design:type", rxjs.Observable) - ], ApplicationLayoutComponent.prototype, "currentUser$", void 0); - __decorate([ - store.Select(ng_core.ConfigState.getDeep('localization.languages')), - __metadata("design:type", rxjs.Observable) - ], ApplicationLayoutComponent.prototype, "languages$", void 0); - __decorate([ - store.Select(LayoutState.getNavigationElements), - __metadata("design:type", rxjs.Observable) - ], ApplicationLayoutComponent.prototype, "navElements$", void 0); - return ApplicationLayoutComponent; - }()); - if (false) { - /** @type {?} */ - ApplicationLayoutComponent.type; - /** @type {?} */ - ApplicationLayoutComponent.prototype.routes$; - /** @type {?} */ - ApplicationLayoutComponent.prototype.currentUser$; - /** @type {?} */ - ApplicationLayoutComponent.prototype.languages$; - /** @type {?} */ - ApplicationLayoutComponent.prototype.navElements$; - /** @type {?} */ - ApplicationLayoutComponent.prototype.currentUserRef; - /** @type {?} */ - ApplicationLayoutComponent.prototype.languageRef; - /** @type {?} */ - ApplicationLayoutComponent.prototype.isDropdownChildDynamic; - /** @type {?} */ - ApplicationLayoutComponent.prototype.isCollapsed; - /** @type {?} */ - ApplicationLayoutComponent.prototype.smallScreen; - /** @type {?} */ - ApplicationLayoutComponent.prototype.rightPartElements; - /** @type {?} */ - ApplicationLayoutComponent.prototype.trackByFn; - /** @type {?} */ - ApplicationLayoutComponent.prototype.trackElementByFn; - /** - * @type {?} - * @private - */ - ApplicationLayoutComponent.prototype.store; - /** - * @type {?} - * @private - */ - ApplicationLayoutComponent.prototype.oauthService; - /** - * @type {?} - * @private - */ - ApplicationLayoutComponent.prototype.renderer; - } - /** - * @param {?} routes - * @return {?} - */ - function getVisibleRoutes(routes) { - return routes.reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { - if (val.invisible) - return acc; - if (val.children && val.children.length) { - val.children = getVisibleRoutes(val.children); - } - return __spread(acc, [val]); - }), []); - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/empty-layout/empty-layout.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var EmptyLayoutComponent = /** @class */ (function () { - function EmptyLayoutComponent() { - } - EmptyLayoutComponent.type = "empty" /* empty */; - EmptyLayoutComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-layout-empty', - template: "\n \n \n \n " - }] } - ]; - return EmptyLayoutComponent; - }()); - if (false) { - /** @type {?} */ - EmptyLayoutComponent.type; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/validation-error/validation-error.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ValidationErrorComponent = /** @class */ (function (_super) { - __extends(ValidationErrorComponent, _super); - function ValidationErrorComponent() { - return _super !== null && _super.apply(this, arguments) || this; - } - Object.defineProperty(ValidationErrorComponent.prototype, "abpErrors", { - get: /** - * @return {?} - */ - function () { - if (!this.errors || !this.errors.length) - return []; - return this.errors.map((/** - * @param {?} error - * @return {?} - */ - function (error) { - if (!error.message) - return error; - /** @type {?} */ - var index = error.message.indexOf('['); - if (index > -1) { - return __assign({}, error, { message: error.message.slice(0, index), interpoliteParams: error.message.slice(index + 1, error.message.length - 1).split(',') }); - } - return error; - })); - }, - enumerable: true, - configurable: true - }); - ValidationErrorComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-validation-error', - template: "\n
    \n {{ error.message | abpLocalization: error.interpoliteParams }}\n
    \n ", - changeDetection: core.ChangeDetectionStrategy.OnPush, - encapsulation: core.ViewEncapsulation.None - }] } - ]; - return ValidationErrorComponent; - }(core$1.ValidationErrorComponent)); - - /** - * @fileoverview added by tsickle - * Generated from: lib/constants/styles.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var styles = "\n.content-header-title {\n font-size: 24px;\n}\n\n.entry-row {\n margin-bottom: 15px;\n}\n\n#main-navbar-tools a.dropdown-toggle {\n text-decoration: none;\n color: #fff;\n}\n\n.navbar .dropdown-submenu {\n position: relative;\n}\n.navbar .dropdown-menu {\n margin: 0;\n padding: 0;\n}\n .navbar .dropdown-menu a {\n font-size: .9em;\n padding: 10px 15px;\n display: block;\n min-width: 210px;\n text-align: left;\n border-radius: 0.25rem;\n min-height: 44px;\n }\n.navbar .dropdown-submenu a::after {\n transform: rotate(-90deg);\n position: absolute;\n right: 16px;\n top: 18px;\n}\n.navbar .dropdown-submenu .dropdown-menu {\n top: 0;\n left: 100%;\n}\n\n.card-header .btn {\n padding: 2px 6px;\n}\n.card-header h5 {\n margin: 0;\n}\n.container > .card {\n box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;\n}\n.abp-confirm .abp-confirm-footer {\n background-color: #f4f4f7 !important;\n}\n.abp-confirm .ui-toast-message-content {\n background-color: #fff !important;\n}\n\n@media screen and (min-width: 768px) {\n .navbar .dropdown:hover > .dropdown-menu {\n display: block;\n }\n\n .navbar .dropdown-submenu:hover > .dropdown-menu {\n display: block;\n }\n}\n.input-validation-error {\n border-color: #dc3545;\n}\n.field-validation-error {\n font-size: 0.8em;\n}\n"; - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/initial.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var InitialService = /** @class */ (function () { - function InitialService(lazyLoadService) { - this.lazyLoadService = lazyLoadService; - this.appendStyle().subscribe(); - } - /** - * @return {?} - */ - InitialService.prototype.appendStyle = /** - * @return {?} - */ - function () { - return this.lazyLoadService.load(null, 'style', styles, 'head', 'beforeend'); - }; - InitialService.decorators = [ - { type: core.Injectable, args: [{ providedIn: 'root' },] } - ]; - /** @nocollapse */ - InitialService.ctorParameters = function () { return [ - { type: ng_core.LazyLoadService } - ]; }; - /** @nocollapse */ InitialService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function InitialService_Factory() { return new InitialService(core.ɵɵinject(ng_core.LazyLoadService)); }, token: InitialService, providedIn: "root" }); - return InitialService; - }()); - if (false) { - /** - * @type {?} - * @private - */ - InitialService.prototype.lazyLoadService; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/theme-basic.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** @type {?} */ - var LAYOUTS = [ApplicationLayoutComponent, AccountLayoutComponent, EmptyLayoutComponent]; - var ThemeBasicModule = /** @class */ (function () { - function ThemeBasicModule(initialService) { - this.initialService = initialService; - } - ThemeBasicModule.decorators = [ - { type: core.NgModule, args: [{ - declarations: __spread(LAYOUTS, [ValidationErrorComponent]), - imports: [ - ng_core.CoreModule, - ng_theme_shared.ThemeSharedModule, - ngBootstrap.NgbCollapseModule, - ngBootstrap.NgbDropdownModule, - toast.ToastModule, - core$1.NgxValidateCoreModule, - store.NgxsModule.forFeature([LayoutState]), - core$1.NgxValidateCoreModule.forRoot({ - targetSelector: '.form-group', - blueprints: { - email: 'AbpAccount::ThisFieldIsNotAValidEmailAddress.', - max: 'AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]', - maxlength: 'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMaximumLengthoOf{0}[{{ requiredLength }}]', - min: 'AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]', - minlength: 'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMinimumLengthOf{0}[{{ requiredLength }}]', - required: 'AbpAccount::ThisFieldIsRequired.', - passwordMismatch: 'AbpIdentity::Identity.PasswordConfirmationFailed', - }, - errorTemplate: ValidationErrorComponent, - }), - ], - exports: __spread(LAYOUTS), - entryComponents: __spread(LAYOUTS, [ValidationErrorComponent]), - },] } - ]; - /** @nocollapse */ - ThemeBasicModule.ctorParameters = function () { return [ - { type: InitialService } - ]; }; - return ThemeBasicModule; - }()); - if (false) { - /** - * @type {?} - * @private - */ - ThemeBasicModule.prototype.initialService; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/layout.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var Layout; - (function (Layout) { - /** - * @record - */ - function State() { } - Layout.State = State; - if (false) { - /** @type {?} */ - State.prototype.navigationElements; - } - /** - * @record - */ - function NavigationElement() { } - Layout.NavigationElement = NavigationElement; - if (false) { - /** @type {?} */ - NavigationElement.prototype.name; - /** @type {?} */ - NavigationElement.prototype.element; - /** @type {?|undefined} */ - NavigationElement.prototype.order; - } - })(Layout || (Layout = {})); - - exports.AccountLayoutComponent = AccountLayoutComponent; - exports.AddNavigationElement = AddNavigationElement; - exports.ApplicationLayoutComponent = ApplicationLayoutComponent; - exports.EmptyLayoutComponent = EmptyLayoutComponent; - exports.LAYOUTS = LAYOUTS; - exports.LayoutState = LayoutState; - exports.RemoveNavigationElementByName = RemoveNavigationElementByName; - exports.ThemeBasicModule = ThemeBasicModule; - exports.ValidationErrorComponent = ValidationErrorComponent; - exports.ɵa = ApplicationLayoutComponent; - exports.ɵb = LayoutState; - exports.ɵc = AccountLayoutComponent; - exports.ɵd = EmptyLayoutComponent; - exports.ɵe = ValidationErrorComponent; - exports.ɵf = LayoutState; - exports.ɵg = AddNavigationElement; - exports.ɵh = RemoveNavigationElementByName; - exports.ɵj = InitialService; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); -//# sourceMappingURL=abp-ng.theme.basic.umd.js.map diff --git a/npm/ng-packs/dist/theme-basic/bundles/abp-ng.theme.basic.umd.js.map b/npm/ng-packs/dist/theme-basic/bundles/abp-ng.theme.basic.umd.js.map deleted file mode 100644 index a1e702dba16..00000000000 --- a/npm/ng-packs/dist/theme-basic/bundles/abp-ng.theme.basic.umd.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.theme.basic.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","ng://@abp/ng.theme.basic/lib/components/account-layout/account-layout.component.ts","ng://@abp/ng.theme.basic/lib/actions/layout.actions.ts","ng://@abp/ng.theme.basic/lib/states/layout.state.ts","ng://@abp/ng.theme.basic/lib/components/application-layout/application-layout.component.ts","ng://@abp/ng.theme.basic/lib/components/empty-layout/empty-layout.component.ts","ng://@abp/ng.theme.basic/lib/components/validation-error/validation-error.component.ts","ng://@abp/ng.theme.basic/lib/constants/styles.ts","ng://@abp/ng.theme.basic/lib/services/initial.service.ts","ng://@abp/ng.theme.basic/lib/theme-basic.module.ts","ng://@abp/ng.theme.basic/lib/models/layout.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { Component } from '@angular/core';\r\nimport { eLayoutType } from '@abp/ng.core';\r\n\r\n@Component({\r\n selector: 'abp-layout-account',\r\n template: `\r\n \r\n \r\n \r\n `,\r\n})\r\nexport class AccountLayoutComponent {\r\n // required for dynamic component\r\n static type = eLayoutType.account;\r\n}\r\n","import { Layout } from '../models/layout';\r\n\r\nexport class AddNavigationElement {\r\n static readonly type = '[Layout] Add Navigation Element';\r\n constructor(public payload: Layout.NavigationElement | Layout.NavigationElement[]) {}\r\n}\r\n\r\nexport class RemoveNavigationElementByName {\r\n static readonly type = '[Layout] Remove Navigation ElementByName';\r\n constructor(public name: string) {}\r\n}\r\n","import { State, Action, StateContext, Selector } from '@ngxs/store';\r\nimport { AddNavigationElement, RemoveNavigationElementByName } from '../actions/layout.actions';\r\nimport { Layout } from '../models/layout';\r\nimport { TemplateRef } from '@angular/core';\r\nimport snq from 'snq';\r\n\r\n@State({\r\n name: 'LayoutState',\r\n defaults: { navigationElements: [] } as Layout.State,\r\n})\r\nexport class LayoutState {\r\n @Selector()\r\n static getNavigationElements({ navigationElements }: Layout.State): Layout.NavigationElement[] {\r\n return navigationElements;\r\n }\r\n\r\n @Action(AddNavigationElement)\r\n layoutAddAction({ getState, patchState }: StateContext, { payload = [] }: AddNavigationElement) {\r\n let { navigationElements } = getState();\r\n\r\n if (!Array.isArray(payload)) {\r\n payload = [payload];\r\n }\r\n\r\n if (navigationElements.length) {\r\n payload = snq(\r\n () =>\r\n (payload as Layout.NavigationElement[]).filter(\r\n ({ name }) => navigationElements.findIndex(nav => nav.name === name) < 0,\r\n ),\r\n [],\r\n );\r\n }\r\n\r\n if (!payload.length) return;\r\n\r\n navigationElements = [...navigationElements, ...payload]\r\n .map(element => ({ ...element, order: element.order || 99 }))\r\n .sort((a, b) => a.order - b.order);\r\n\r\n return patchState({\r\n navigationElements,\r\n });\r\n }\r\n\r\n @Action(RemoveNavigationElementByName)\r\n layoutRemoveAction({ getState, patchState }: StateContext, { name }: RemoveNavigationElementByName) {\r\n let { navigationElements } = getState();\r\n\r\n const index = navigationElements.findIndex(element => element.name === name);\r\n\r\n if (index > -1) {\r\n navigationElements = navigationElements.splice(index, 1);\r\n }\r\n\r\n return patchState({\r\n navigationElements,\r\n });\r\n }\r\n}\r\n","import {\r\n ABP,\r\n ApplicationConfiguration,\r\n Config,\r\n ConfigState,\r\n eLayoutType,\r\n GetAppConfiguration,\r\n SessionState,\r\n SetLanguage,\r\n takeUntilDestroy,\r\n} from '@abp/ng.core';\r\nimport { collapseWithMargin, slideFromBottom } from '@abp/ng.theme.shared';\r\nimport {\r\n AfterViewInit,\r\n Component,\r\n OnDestroy,\r\n QueryList,\r\n Renderer2,\r\n TemplateRef,\r\n TrackByFunction,\r\n ViewChild,\r\n ViewChildren,\r\n ElementRef,\r\n} from '@angular/core';\r\nimport { NgbDropdown } from '@ng-bootstrap/ng-bootstrap';\r\nimport { Navigate, RouterState } from '@ngxs/router-plugin';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { OAuthService } from 'angular-oauth2-oidc';\r\nimport compare from 'just-compare';\r\nimport { fromEvent, Observable } from 'rxjs';\r\nimport { debounceTime, filter, map } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport { AddNavigationElement } from '../../actions';\r\nimport { Layout } from '../../models/layout';\r\nimport { LayoutState } from '../../states';\r\n\r\n@Component({\r\n selector: 'abp-layout-application',\r\n templateUrl: './application-layout.component.html',\r\n animations: [slideFromBottom, collapseWithMargin],\r\n})\r\nexport class ApplicationLayoutComponent implements AfterViewInit, OnDestroy {\r\n // required for dynamic component\r\n static type = eLayoutType.application;\r\n\r\n @Select(ConfigState.getOne('routes'))\r\n routes$: Observable;\r\n\r\n @Select(ConfigState.getOne('currentUser'))\r\n currentUser$: Observable;\r\n\r\n @Select(ConfigState.getDeep('localization.languages'))\r\n languages$: Observable;\r\n\r\n @Select(LayoutState.getNavigationElements)\r\n navElements$: Observable;\r\n\r\n @ViewChild('currentUser', { static: false, read: TemplateRef })\r\n currentUserRef: TemplateRef;\r\n\r\n @ViewChild('language', { static: false, read: TemplateRef })\r\n languageRef: TemplateRef;\r\n\r\n isDropdownChildDynamic: boolean;\r\n\r\n isCollapsed = true;\r\n\r\n smallScreen: boolean; // do not set true or false\r\n\r\n get appInfo(): Config.Application {\r\n return this.store.selectSnapshot(ConfigState.getApplicationInfo);\r\n }\r\n\r\n get visibleRoutes$(): Observable {\r\n return this.routes$.pipe(map(routes => getVisibleRoutes(routes)));\r\n }\r\n\r\n get defaultLanguage$(): Observable {\r\n return this.languages$.pipe(\r\n map(\r\n languages => snq(() => languages.find(lang => lang.cultureName === this.selectedLangCulture).displayName),\r\n '',\r\n ),\r\n );\r\n }\r\n\r\n get dropdownLanguages$(): Observable {\r\n return this.languages$.pipe(\r\n map(languages => snq(() => languages.filter(lang => lang.cultureName !== this.selectedLangCulture)), []),\r\n );\r\n }\r\n\r\n get selectedLangCulture(): string {\r\n return this.store.selectSnapshot(SessionState.getLanguage);\r\n }\r\n\r\n rightPartElements: TemplateRef[] = [];\r\n\r\n trackByFn: TrackByFunction = (_, item) => item.name;\r\n\r\n trackElementByFn: TrackByFunction = (_, element) => element;\r\n\r\n constructor(private store: Store, private oauthService: OAuthService, private renderer: Renderer2) {}\r\n\r\n private checkWindowWidth() {\r\n setTimeout(() => {\r\n if (window.innerWidth < 768) {\r\n this.isDropdownChildDynamic = false;\r\n if (this.smallScreen === false) {\r\n this.isCollapsed = false;\r\n setTimeout(() => {\r\n this.isCollapsed = true;\r\n }, 100);\r\n }\r\n this.smallScreen = true;\r\n } else {\r\n this.isDropdownChildDynamic = true;\r\n this.smallScreen = false;\r\n }\r\n }, 0);\r\n }\r\n\r\n ngAfterViewInit() {\r\n const navigations = this.store.selectSnapshot(LayoutState.getNavigationElements).map(({ name }) => name);\r\n\r\n if (navigations.indexOf('LanguageRef') < 0) {\r\n this.store.dispatch(\r\n new AddNavigationElement([\r\n { element: this.languageRef, order: 4, name: 'LanguageRef' },\r\n { element: this.currentUserRef, order: 5, name: 'CurrentUserRef' },\r\n ]),\r\n );\r\n }\r\n\r\n this.navElements$\r\n .pipe(\r\n map(elements => elements.map(({ element }) => element)),\r\n filter(elements => !compare(elements, this.rightPartElements)),\r\n takeUntilDestroy(this),\r\n )\r\n .subscribe(elements => {\r\n setTimeout(() => (this.rightPartElements = elements), 0);\r\n });\r\n\r\n this.checkWindowWidth();\r\n\r\n fromEvent(window, 'resize')\r\n .pipe(\r\n takeUntilDestroy(this),\r\n debounceTime(150),\r\n )\r\n .subscribe(() => {\r\n this.checkWindowWidth();\r\n });\r\n }\r\n\r\n ngOnDestroy() {}\r\n\r\n onChangeLang(cultureName: string) {\r\n this.store.dispatch(new SetLanguage(cultureName));\r\n }\r\n\r\n logout() {\r\n this.oauthService.logOut();\r\n this.store.dispatch(\r\n new Navigate(['/'], null, {\r\n state: { redirectUrl: this.store.selectSnapshot(RouterState).state.url },\r\n }),\r\n );\r\n this.store.dispatch(new GetAppConfiguration());\r\n }\r\n\r\n openChange(event: boolean, childrenContainer: HTMLDivElement) {\r\n if (!event) {\r\n Object.keys(childrenContainer.style)\r\n .filter(key => Number.isInteger(+key))\r\n .forEach(key => {\r\n this.renderer.removeStyle(childrenContainer, childrenContainer.style[key]);\r\n });\r\n this.renderer.removeStyle(childrenContainer, 'left');\r\n }\r\n }\r\n}\r\n\r\nfunction getVisibleRoutes(routes: ABP.FullRoute[]) {\r\n return routes.reduce((acc, val) => {\r\n if (val.invisible) return acc;\r\n\r\n if (val.children && val.children.length) {\r\n val.children = getVisibleRoutes(val.children);\r\n }\r\n\r\n return [...acc, val];\r\n }, []);\r\n}\r\n","import { Component } from '@angular/core';\r\nimport { eLayoutType } from '@abp/ng.core';\r\n\r\n@Component({\r\n selector: 'abp-layout-empty',\r\n template: `\r\n \r\n \r\n \r\n `,\r\n})\r\nexport class EmptyLayoutComponent {\r\n static type = eLayoutType.empty;\r\n}\r\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\r\nimport { Validation, ValidationErrorComponent as ErrorComponent } from '@ngx-validate/core';\r\n\r\n@Component({\r\n selector: 'abp-validation-error',\r\n template: `\r\n
    \r\n {{ error.message | abpLocalization: error.interpoliteParams }}\r\n
    \r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class ValidationErrorComponent extends ErrorComponent {\r\n get abpErrors(): Validation.Error[] & { interpoliteParams?: string[] } {\r\n if (!this.errors || !this.errors.length) return [];\r\n\r\n return this.errors.map(error => {\r\n if (!error.message) return error;\r\n\r\n const index = error.message.indexOf('[');\r\n\r\n if (index > -1) {\r\n return {\r\n ...error,\r\n message: error.message.slice(0, index),\r\n interpoliteParams: error.message.slice(index + 1, error.message.length - 1).split(','),\r\n };\r\n }\r\n\r\n return error;\r\n });\r\n }\r\n}\r\n","export default `\r\n.content-header-title {\r\n font-size: 24px;\r\n}\r\n\r\n.entry-row {\r\n margin-bottom: 15px;\r\n}\r\n\r\n#main-navbar-tools a.dropdown-toggle {\r\n text-decoration: none;\r\n color: #fff;\r\n}\r\n\r\n.navbar .dropdown-submenu {\r\n position: relative;\r\n}\r\n.navbar .dropdown-menu {\r\n margin: 0;\r\n padding: 0;\r\n}\r\n .navbar .dropdown-menu a {\r\n font-size: .9em;\r\n padding: 10px 15px;\r\n display: block;\r\n min-width: 210px;\r\n text-align: left;\r\n border-radius: 0.25rem;\r\n min-height: 44px;\r\n }\r\n.navbar .dropdown-submenu a::after {\r\n transform: rotate(-90deg);\r\n position: absolute;\r\n right: 16px;\r\n top: 18px;\r\n}\r\n.navbar .dropdown-submenu .dropdown-menu {\r\n top: 0;\r\n left: 100%;\r\n}\r\n\r\n.card-header .btn {\r\n padding: 2px 6px;\r\n}\r\n.card-header h5 {\r\n margin: 0;\r\n}\r\n.container > .card {\r\n box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;\r\n}\r\n.abp-confirm .abp-confirm-footer {\r\n background-color: #f4f4f7 !important;\r\n}\r\n.abp-confirm .ui-toast-message-content {\r\n background-color: #fff !important;\r\n}\r\n\r\n@media screen and (min-width: 768px) {\r\n .navbar .dropdown:hover > .dropdown-menu {\r\n display: block;\r\n }\r\n\r\n .navbar .dropdown-submenu:hover > .dropdown-menu {\r\n display: block;\r\n }\r\n}\r\n.input-validation-error {\r\n border-color: #dc3545;\r\n}\r\n.field-validation-error {\r\n font-size: 0.8em;\r\n}\r\n`;\r\n","import { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { LazyLoadService } from '@abp/ng.core';\r\nimport styles from '../constants/styles';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class InitialService {\r\n constructor(private lazyLoadService: LazyLoadService) {\r\n this.appendStyle().subscribe();\r\n }\r\n\r\n appendStyle() {\r\n return this.lazyLoadService.load(null, 'style', styles, 'head', 'beforeend');\r\n }\r\n}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule } from '@angular/core';\r\nimport { NgbCollapseModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { ToastModule } from 'primeng/toast';\r\nimport { AccountLayoutComponent } from './components/account-layout/account-layout.component';\r\nimport { ApplicationLayoutComponent } from './components/application-layout/application-layout.component';\r\nimport { EmptyLayoutComponent } from './components/empty-layout/empty-layout.component';\r\nimport { LayoutState } from './states/layout.state';\r\nimport { ValidationErrorComponent } from './components/validation-error/validation-error.component';\r\nimport { InitialService } from './services/initial.service';\r\n\r\nexport const LAYOUTS = [ApplicationLayoutComponent, AccountLayoutComponent, EmptyLayoutComponent];\r\n\r\n@NgModule({\r\n declarations: [...LAYOUTS, ValidationErrorComponent],\r\n imports: [\r\n CoreModule,\r\n ThemeSharedModule,\r\n NgbCollapseModule,\r\n NgbDropdownModule,\r\n ToastModule,\r\n NgxValidateCoreModule,\r\n NgxsModule.forFeature([LayoutState]),\r\n NgxValidateCoreModule.forRoot({\r\n targetSelector: '.form-group',\r\n blueprints: {\r\n email: 'AbpAccount::ThisFieldIsNotAValidEmailAddress.',\r\n max: 'AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]',\r\n maxlength: 'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMaximumLengthoOf{0}[{{ requiredLength }}]',\r\n min: 'AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]',\r\n minlength: 'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMinimumLengthOf{0}[{{ requiredLength }}]',\r\n required: 'AbpAccount::ThisFieldIsRequired.',\r\n passwordMismatch: 'AbpIdentity::Identity.PasswordConfirmationFailed',\r\n },\r\n errorTemplate: ValidationErrorComponent,\r\n }),\r\n ],\r\n exports: [...LAYOUTS],\r\n entryComponents: [...LAYOUTS, ValidationErrorComponent],\r\n})\r\nexport class ThemeBasicModule {\r\n constructor(private initialService: InitialService) {}\r\n}\r\n","import { TemplateRef } from '@angular/core';\r\n\r\nexport namespace Layout {\r\n export interface State {\r\n navigationElements: NavigationElement[];\r\n }\r\n\r\n export interface NavigationElement {\r\n name: string;\r\n element: TemplateRef;\r\n order?: number;\r\n }\r\n}\r\n"],"names":["Component","tslib_1.__spread","tslib_1.__decorate","Action","Selector","State","ConfigState","map","SessionState","filter","takeUntilDestroy","fromEvent","debounceTime","SetLanguage","Navigate","RouterState","GetAppConfiguration","slideFromBottom","collapseWithMargin","Store","OAuthService","Renderer2","ViewChild","TemplateRef","Select","Observable","tslib_1.__extends","ChangeDetectionStrategy","ViewEncapsulation","ErrorComponent","Injectable","LazyLoadService","NgModule","CoreModule","ThemeSharedModule","NgbCollapseModule","NgbDropdownModule","ToastModule","NgxValidateCoreModule","NgxsModule"],"mappings":";;;;;;;;;IAAA;IACA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACnF,IAAI,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;;AAEF,IAAO,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;IAChC,IAAI,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACxB,IAAI,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE;IAC3C,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,KAAK,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,GAAG,CAAC,CAAC,SAAS,EAAE,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gB;SAAI;;oBA5BvDC,aAAQ,SAAC;wBACR,YAAY,WAAM,OAAO,GAAE,wBAAwB,EAAC;wBACpD,OAAO,EAAE;4BACPC,kBAAU;4BACVC,iCAAiB;4BACjBC,6BAAiB;4BACjBC,6BAAiB;4BACjBC,iBAAW;4BACXC,4BAAqB;4BACrBC,gBAAU,CAAC,UAAU,CAAC,CAAC,WAAW,CAAC,CAAC;4BACpCD,4BAAqB,CAAC,OAAO,CAAC;gCAC5B,cAAc,EAAE,aAAa;gCAC7B,UAAU,EAAE;oCACV,KAAK,EAAE,+CAA+C;oCACtD,GAAG,EAAE,kEAAkE;oCACvE,SAAS,EAAE,6FAA6F;oCACxG,GAAG,EAAE,kEAAkE;oCACvE,SAAS,EAAE,4FAA4F;oCACvG,QAAQ,EAAE,kCAAkC;oCAC5C,gBAAgB,EAAE,kDAAkD;iCACrE;gCACD,aAAa,EAAE,wBAAwB;6BACxC,CAAC;yBACH;wBACD,OAAO,WAAM,OAAO,CAAC;wBACrB,eAAe,WAAM,OAAO,GAAE,wBAAwB,EAAC;qBACxD;;;;oBA9BQ,cAAc;;QAiCvB,uBAAC;KA7BD,IA6BC;;;;;;QADa,0CAAsC;;;;;;;;;;;;;;IC1CpD,IAAiB,MAAM,CAUtB;IAVD,WAAiB,MAAM;;;;QACrB,oBAEC;;;;YADC,mCAAwC;;;;;QAG1C,gCAIC;;;;YAHC,iCAAa;;YACb,oCAA0B;;YAC1B,kCAAe;;KAElB,EAVgB,MAAM,KAAN,MAAM,QAUtB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/bundles/abp-ng.theme.basic.umd.min.js b/npm/ng-packs/dist/theme-basic/bundles/abp-ng.theme.basic.umd.min.js deleted file mode 100644 index f5fcdc7c839..00000000000 --- a/npm/ng-packs/dist/theme-basic/bundles/abp-ng.theme.basic.umd.min.js +++ /dev/null @@ -1,17 +0,0 @@ -!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@abp/ng.core"),require("@abp/ng.theme.shared"),require("@angular/core"),require("@ng-bootstrap/ng-bootstrap"),require("@ngx-validate/core"),require("@ngxs/store"),require("primeng/toast"),require("@ngxs/router-plugin"),require("angular-oauth2-oidc"),require("just-compare"),require("rxjs"),require("rxjs/operators"),require("snq")):"function"==typeof define&&define.amd?define("@abp/ng.theme.basic",["exports","@abp/ng.core","@abp/ng.theme.shared","@angular/core","@ng-bootstrap/ng-bootstrap","@ngx-validate/core","@ngxs/store","primeng/toast","@ngxs/router-plugin","angular-oauth2-oidc","just-compare","rxjs","rxjs/operators","snq"],e):e(((n=n||self).abp=n.abp||{},n.abp.ng=n.abp.ng||{},n.abp.ng.theme=n.abp.ng.theme||{},n.abp.ng.theme.basic={}),n.ng_core,n.ng_theme_shared,n.ng.core,n.ngBootstrap,n.core$1,n.store,n.toast,n.routerPlugin,n.angularOauth2Oidc,n.compare,n.rxjs,n.rxjs.operators,n.snq)}(this,(function(n,e,r,t,o,a,i,l,s,p,c,d,u,g){"use strict";c=c&&c.hasOwnProperty("default")?c.default:c,g=g&&g.hasOwnProperty("default")?g.default:g; -/*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ -var m=function(n,e){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r])})(n,e)};var f=function(){return(f=Object.assign||function(n){for(var e,r=1,t=arguments.length;r=0;l--)(o=n[l])&&(i=(a<3?o(i):a>3?o(e,r,i):o(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i}function b(n,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(n,e)}function y(n,e){var r="function"==typeof Symbol&&n[Symbol.iterator];if(!r)return n;var t,o,a=r.call(n),i=[];try{for(;(void 0===e||e-- >0)&&!(t=a.next()).done;)i.push(t.value)}catch(n){o={error:n}}finally{try{t&&!t.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function v(){for(var n=[],e=0;e\n \n \n "}]}],n}();var C=function(){function n(n){this.payload=n}return n.type="[Layout] Add Navigation Element",n}();var S=function(){function n(n){this.name=n}return n.type="[Layout] Remove Navigation ElementByName",n}();var x=function(){function n(){}return n.getNavigationElements=function(n){return n.navigationElements},n.prototype.layoutAddAction=function(n,e){var r=n.getState,t=n.patchState,o=e.payload,a=void 0===o?[]:o,i=r().navigationElements;if(Array.isArray(a)||(a=[a]),i.length&&(a=g((function(){return a.filter((function(n){var e=n.name;return i.findIndex((function(n){return n.name===e}))<0}))}),[])),a.length)return t({navigationElements:i=v(i,a).map((function(n){return f({},n,{order:n.order||99})})).sort((function(n,e){return n.order-e.order}))})},n.prototype.layoutRemoveAction=function(n,e){var r=n.getState,t=n.patchState,o=e.name,a=r().navigationElements,i=a.findIndex((function(n){return n.name===o}));return i>-1&&(a=a.splice(i,1)),t({navigationElements:a})},h([i.Action(C),b("design:type",Function),b("design:paramtypes",[Object,C]),b("design:returntype",void 0)],n.prototype,"layoutAddAction",null),h([i.Action(S),b("design:type",Function),b("design:paramtypes",[Object,S]),b("design:returntype",void 0)],n.prototype,"layoutRemoveAction",null),h([i.Selector(),b("design:type",Function),b("design:paramtypes",[Object]),b("design:returntype",Array)],n,"getNavigationElements",null),n=h([i.State({name:"LayoutState",defaults:{navigationElements:[]}})],n)}(),O=function(){function n(n,e,r){this.store=n,this.oauthService=e,this.renderer=r,this.isCollapsed=!0,this.rightPartElements=[],this.trackByFn=function(n,e){return e.name},this.trackElementByFn=function(n,e){return e}}return Object.defineProperty(n.prototype,"appInfo",{get:function(){return this.store.selectSnapshot(e.ConfigState.getApplicationInfo)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"visibleRoutes$",{get:function(){return this.routes$.pipe(u.map((function(n){return function n(e){return e.reduce((function(e,r){return r.invisible?e:(r.children&&r.children.length&&(r.children=n(r.children)),v(e,[r]))}),[])}(n)})))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"defaultLanguage$",{get:function(){var n=this;return this.languages$.pipe(u.map((function(e){return g((function(){return e.find((function(e){return e.cultureName===n.selectedLangCulture})).displayName}))}),""))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dropdownLanguages$",{get:function(){var n=this;return this.languages$.pipe(u.map((function(e){return g((function(){return e.filter((function(e){return e.cultureName!==n.selectedLangCulture}))}))}),[]))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selectedLangCulture",{get:function(){return this.store.selectSnapshot(e.SessionState.getLanguage)},enumerable:!0,configurable:!0}),n.prototype.checkWindowWidth=function(){var n=this;setTimeout((function(){window.innerWidth<768?(n.isDropdownChildDynamic=!1,!1===n.smallScreen&&(n.isCollapsed=!1,setTimeout((function(){n.isCollapsed=!0}),100)),n.smallScreen=!0):(n.isDropdownChildDynamic=!0,n.smallScreen=!1)}),0)},n.prototype.ngAfterViewInit=function(){var n=this;this.store.selectSnapshot(x.getNavigationElements).map((function(n){return n.name})).indexOf("LanguageRef")<0&&this.store.dispatch(new C([{element:this.languageRef,order:4,name:"LanguageRef"},{element:this.currentUserRef,order:5,name:"CurrentUserRef"}])),this.navElements$.pipe(u.map((function(n){return n.map((function(n){return n.element}))})),u.filter((function(e){return!c(e,n.rightPartElements)})),e.takeUntilDestroy(this)).subscribe((function(e){setTimeout((function(){return n.rightPartElements=e}),0)})),this.checkWindowWidth(),d.fromEvent(window,"resize").pipe(e.takeUntilDestroy(this),u.debounceTime(150)).subscribe((function(){n.checkWindowWidth()}))},n.prototype.ngOnDestroy=function(){},n.prototype.onChangeLang=function(n){this.store.dispatch(new e.SetLanguage(n))},n.prototype.logout=function(){this.oauthService.logOut(),this.store.dispatch(new s.Navigate(["/"],null,{state:{redirectUrl:this.store.selectSnapshot(s.RouterState).state.url}})),this.store.dispatch(new e.GetAppConfiguration)},n.prototype.openChange=function(n,e){var r=this;n||(Object.keys(e.style).filter((function(n){return Number.isInteger(+n)})).forEach((function(n){r.renderer.removeStyle(e,e.style[n])})),this.renderer.removeStyle(e,"left"))},n.type="application",n.decorators=[{type:t.Component,args:[{selector:"abp-layout-application",template:'\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n
    \r\n \r\n
    \r\n\r\n\r\n\r\n\r\n\r\n {{ appInfo.name }}\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n\r\n',animations:[r.slideFromBottom,r.collapseWithMargin]}]}],n.ctorParameters=function(){return[{type:i.Store},{type:p.OAuthService},{type:t.Renderer2}]},n.propDecorators={currentUserRef:[{type:t.ViewChild,args:["currentUser",{static:!1,read:t.TemplateRef}]}],languageRef:[{type:t.ViewChild,args:["language",{static:!1,read:t.TemplateRef}]}]},h([i.Select(e.ConfigState.getOne("routes")),b("design:type",d.Observable)],n.prototype,"routes$",void 0),h([i.Select(e.ConfigState.getOne("currentUser")),b("design:type",d.Observable)],n.prototype,"currentUser$",void 0),h([i.Select(e.ConfigState.getDeep("localization.languages")),b("design:type",d.Observable)],n.prototype,"languages$",void 0),h([i.Select(x.getNavigationElements),b("design:type",d.Observable)],n.prototype,"navElements$",void 0),n}();var k=function(){function n(){}return n.type="empty",n.decorators=[{type:t.Component,args:[{selector:"abp-layout-empty",template:"\n \n \n \n "}]}],n}();var L=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return function(n,e){function r(){this.constructor=n}m(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}(e,n),Object.defineProperty(e.prototype,"abpErrors",{get:function(){return this.errors&&this.errors.length?this.errors.map((function(n){if(!n.message)return n;var e=n.message.indexOf("[");return e>-1?f({},n,{message:n.message.slice(0,e),interpoliteParams:n.message.slice(e+1,n.message.length-1).split(",")}):n})):[]},enumerable:!0,configurable:!0}),e.decorators=[{type:t.Component,args:[{selector:"abp-validation-error",template:'\n
    \n {{ error.message | abpLocalization: error.interpoliteParams }}\n
    \n ',changeDetection:t.ChangeDetectionStrategy.OnPush,encapsulation:t.ViewEncapsulation.None}]}],e}(a.ValidationErrorComponent),A=function(){function n(n){this.lazyLoadService=n,this.appendStyle().subscribe()}return n.prototype.appendStyle=function(){return this.lazyLoadService.load(null,"style","\n.content-header-title {\n font-size: 24px;\n}\n\n.entry-row {\n margin-bottom: 15px;\n}\n\n#main-navbar-tools a.dropdown-toggle {\n text-decoration: none;\n color: #fff;\n}\n\n.navbar .dropdown-submenu {\n position: relative;\n}\n.navbar .dropdown-menu {\n margin: 0;\n padding: 0;\n}\n .navbar .dropdown-menu a {\n font-size: .9em;\n padding: 10px 15px;\n display: block;\n min-width: 210px;\n text-align: left;\n border-radius: 0.25rem;\n min-height: 44px;\n }\n.navbar .dropdown-submenu a::after {\n transform: rotate(-90deg);\n position: absolute;\n right: 16px;\n top: 18px;\n}\n.navbar .dropdown-submenu .dropdown-menu {\n top: 0;\n left: 100%;\n}\n\n.card-header .btn {\n padding: 2px 6px;\n}\n.card-header h5 {\n margin: 0;\n}\n.container > .card {\n box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;\n}\n.abp-confirm .abp-confirm-footer {\n background-color: #f4f4f7 !important;\n}\n.abp-confirm .ui-toast-message-content {\n background-color: #fff !important;\n}\n\n@media screen and (min-width: 768px) {\n .navbar .dropdown:hover > .dropdown-menu {\n display: block;\n }\n\n .navbar .dropdown-submenu:hover > .dropdown-menu {\n display: block;\n }\n}\n.input-validation-error {\n border-color: #dc3545;\n}\n.field-validation-error {\n font-size: 0.8em;\n}\n","head","beforeend")},n.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:e.LazyLoadService}]},n.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new n(t.ɵɵinject(e.LazyLoadService))},token:n,providedIn:"root"}),n}();var j,D=[O,w,k],P=function(){function n(n){this.initialService=n}return n.decorators=[{type:t.NgModule,args:[{declarations:v(D,[L]),imports:[e.CoreModule,r.ThemeSharedModule,o.NgbCollapseModule,o.NgbDropdownModule,l.ToastModule,a.NgxValidateCoreModule,i.NgxsModule.forFeature([x]),a.NgxValidateCoreModule.forRoot({targetSelector:".form-group",blueprints:{email:"AbpAccount::ThisFieldIsNotAValidEmailAddress.",max:"AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]",maxlength:"AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMaximumLengthoOf{0}[{{ requiredLength }}]",min:"AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]",minlength:"AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMinimumLengthOf{0}[{{ requiredLength }}]",required:"AbpAccount::ThisFieldIsRequired.",passwordMismatch:"AbpIdentity::Identity.PasswordConfirmationFailed"},errorTemplate:L})],exports:v(D),entryComponents:v(D,[L])}]}],n.ctorParameters=function(){return[{type:A}]},n}();(function(n){function e(){}function r(){}n.State=e,n.NavigationElement=r})(j||(j={})),n.AccountLayoutComponent=w,n.AddNavigationElement=C,n.ApplicationLayoutComponent=O,n.EmptyLayoutComponent=k,n.LAYOUTS=D,n.LayoutState=x,n.RemoveNavigationElementByName=S,n.ThemeBasicModule=P,n.ValidationErrorComponent=L,n.ɵa=O,n.ɵb=x,n.ɵc=w,n.ɵd=k,n.ɵe=L,n.ɵf=x,n.ɵg=C,n.ɵh=S,n.ɵj=A,Object.defineProperty(n,"__esModule",{value:!0})})); -//# sourceMappingURL=abp-ng.theme.basic.umd.min.js.map \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/bundles/abp-ng.theme.basic.umd.min.js.map b/npm/ng-packs/dist/theme-basic/bundles/abp-ng.theme.basic.umd.min.js.map deleted file mode 100644 index c2d28a24745..00000000000 --- a/npm/ng-packs/dist/theme-basic/bundles/abp-ng.theme.basic.umd.min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@abp/ng.theme.basic/lib/components/account-layout/account-layout.component.ts","ng://@abp/ng.theme.basic/lib/actions/layout.actions.ts","ng://@abp/ng.theme.basic/lib/states/layout.state.ts","ng://@abp/ng.theme.basic/lib/components/application-layout/application-layout.component.ts","ng://@abp/ng.theme.basic/lib/components/empty-layout/empty-layout.component.ts","ng://@abp/ng.theme.basic/lib/components/validation-error/validation-error.component.ts","ng://@abp/ng.theme.basic/lib/services/initial.service.ts","ng://@abp/ng.theme.basic/lib/constants/styles.ts","ng://@abp/ng.theme.basic/lib/theme-basic.module.ts","ng://@abp/ng.theme.basic/lib/models/layout.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__assign","assign","t","s","i","n","arguments","length","prototype","call","apply","this","__decorate","decorators","target","key","desc","c","r","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","__metadata","metadataKey","metadataValue","metadata","__read","o","m","Symbol","iterator","e","ar","next","done","push","value","error","__spread","concat","AccountLayoutComponent","type","Component","args","selector","template","AddNavigationElement","payload","RemoveNavigationElementByName","name","LayoutState","getNavigationElements","_a","navigationElements","layoutAddAction","_b","getState","patchState","_c","isArray","snq","filter","findIndex","nav","tslib_1.__spread","map","element","order","sort","a","layoutRemoveAction","index","splice","tslib_1.__decorate","Action","Selector","State","defaults","ApplicationLayoutComponent","store","oauthService","renderer","isCollapsed","rightPartElements","trackByFn","_","item","trackElementByFn","selectSnapshot","ConfigState","getApplicationInfo","routes$","pipe","routes","getVisibleRoutes","reduce","acc","val","invisible","children","_this","languages$","languages","find","lang","cultureName","selectedLangCulture","displayName","SessionState","getLanguage","checkWindowWidth","setTimeout","window","innerWidth","isDropdownChildDynamic","smallScreen","ngAfterViewInit","indexOf","dispatch","languageRef","currentUserRef","navElements$","elements","compare","takeUntilDestroy","subscribe","fromEvent","debounceTime","ngOnDestroy","onChangeLang","SetLanguage","logout","logOut","Navigate","state","redirectUrl","RouterState","url","GetAppConfiguration","openChange","event","childrenContainer","keys","style","Number","isInteger","forEach","removeStyle","animations","slideFromBottom","collapseWithMargin","Store","OAuthService","Renderer2","ViewChild","static","read","TemplateRef","Select","getOne","Observable","getDeep","EmptyLayoutComponent","ValidationErrorComponent","__","constructor","create","tslib_1.__extends","errors","message","slice","interpoliteParams","split","changeDetection","ChangeDetectionStrategy","OnPush","encapsulation","ViewEncapsulation","None","ErrorComponent","InitialService","lazyLoadService","appendStyle","load","Injectable","providedIn","LazyLoadService","Layout","LAYOUTS","ThemeBasicModule","initialService","NgModule","declarations","imports","CoreModule","ThemeSharedModule","NgbCollapseModule","NgbDropdownModule","ToastModule","NgxValidateCoreModule","NgxsModule","forFeature","forRoot","targetSelector","blueprints","email","max","maxlength","min","minlength","required","passwordMismatch","errorTemplate","exports","entryComponents","NavigationElement"],"mappings":";;;;;;;;;;;;;;;AAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IASrB,IAAIO,EAAW,WAQlB,OAPAA,EA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G,EAAQ,EAAGlC,EAAMoI,QAAQnK,OAAS,GAAGsK,MAAM,OAI/EvI,KAfuC,wDAZnDK,EAAAA,UAASC,KAAA,CAAC,CACTC,SAAU,uBACVC,SAAU,iLAKVgI,gBAAiBC,EAAAA,wBAAwBC,OACzCC,cAAeC,EAAAA,kBAAkBC,SAsBnCf,GApB8CgB,EAAAA,0BCb9CC,EAAA,WAOE,SAAAA,EAAoBC,GAAA3K,KAAA2K,gBAAAA,EAClB3K,KAAK4K,cAAczD,mBAGrBuD,EAAA7K,UAAA+K,YAAA,WACE,OAAO5K,KAAK2K,gBAAgBE,KAAK,KAAM,QCZ5B,o5CDY6C,OAAQ,kCAPnEC,EAAAA,WAAU7I,KAAA,CAAC,CAAE8I,WAAY,oDAHjBC,EAAAA,yJAFT,GEcA,ICZiBC,EDYJC,EAAU,CAAC9G,EAA4BtC,EAAwB0H,GAE5E2B,EAAA,WA4BE,SAAAA,EAAoBC,GAAApL,KAAAoL,eAAAA,EACtB,2BA7BCC,EAAAA,SAAQpJ,KAAA,CAAC,CACRqJ,aAAY1J,EAAMsJ,EAAO,CAAEzB,IAC3B8B,QAAS,CACPC,EAAAA,WACAC,EAAAA,kBACAC,EAAAA,kBACAC,EAAAA,kBACAC,EAAAA,YACAC,EAAAA,sBACAC,EAAAA,WAAWC,WAAW,CAACvJ,IACvBqJ,EAAAA,sBAAsBG,QAAQ,CAC5BC,eAAgB,cAChBC,WAAY,CACVC,MAAO,gDACPC,IAAK,mEACLC,UAAW,8FACXC,IAAK,mEACLC,UAAW,6FACXC,SAAU,mCACVC,iBAAkB,oDAEpBC,cAAejD,KAGnBkD,QAAO/K,EAAMsJ,GACb0B,gBAAehL,EAAMsJ,EAAO,CAAEzB,iDA7BvBiB,KAiCTS,EA7BA,ICdA,SAAiBF,GACf,SAAA/G,KAIA,SAAA2I,sCALF,CAAiB5B,IAAAA,EAAM","sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { Component } from '@angular/core';\r\nimport { eLayoutType } from '@abp/ng.core';\r\n\r\n@Component({\r\n selector: 'abp-layout-account',\r\n template: `\r\n \r\n \r\n \r\n `,\r\n})\r\nexport class AccountLayoutComponent {\r\n // required for dynamic component\r\n static type = eLayoutType.account;\r\n}\r\n","import { Layout } from '../models/layout';\r\n\r\nexport class AddNavigationElement {\r\n static readonly type = '[Layout] Add Navigation Element';\r\n constructor(public payload: Layout.NavigationElement | Layout.NavigationElement[]) {}\r\n}\r\n\r\nexport class RemoveNavigationElementByName {\r\n static readonly type = '[Layout] Remove Navigation ElementByName';\r\n constructor(public name: string) {}\r\n}\r\n","import { State, Action, StateContext, Selector } from '@ngxs/store';\r\nimport { AddNavigationElement, RemoveNavigationElementByName } from '../actions/layout.actions';\r\nimport { Layout } from '../models/layout';\r\nimport { TemplateRef } from '@angular/core';\r\nimport snq from 'snq';\r\n\r\n@State({\r\n name: 'LayoutState',\r\n defaults: { navigationElements: [] } as Layout.State,\r\n})\r\nexport class LayoutState {\r\n @Selector()\r\n static getNavigationElements({ navigationElements }: Layout.State): Layout.NavigationElement[] {\r\n return navigationElements;\r\n }\r\n\r\n @Action(AddNavigationElement)\r\n layoutAddAction({ getState, patchState }: StateContext, { payload = [] }: AddNavigationElement) {\r\n let { navigationElements } = getState();\r\n\r\n if (!Array.isArray(payload)) {\r\n payload = [payload];\r\n }\r\n\r\n if (navigationElements.length) {\r\n payload = snq(\r\n () =>\r\n (payload as Layout.NavigationElement[]).filter(\r\n ({ name }) => navigationElements.findIndex(nav => nav.name === name) < 0,\r\n ),\r\n [],\r\n );\r\n }\r\n\r\n if (!payload.length) return;\r\n\r\n navigationElements = [...navigationElements, ...payload]\r\n .map(element => ({ ...element, order: element.order || 99 }))\r\n .sort((a, b) => a.order - b.order);\r\n\r\n return patchState({\r\n navigationElements,\r\n });\r\n }\r\n\r\n @Action(RemoveNavigationElementByName)\r\n layoutRemoveAction({ getState, patchState }: StateContext, { name }: RemoveNavigationElementByName) {\r\n let { navigationElements } = getState();\r\n\r\n const index = navigationElements.findIndex(element => element.name === name);\r\n\r\n if (index > -1) {\r\n navigationElements = navigationElements.splice(index, 1);\r\n }\r\n\r\n return patchState({\r\n navigationElements,\r\n });\r\n }\r\n}\r\n","import {\r\n ABP,\r\n ApplicationConfiguration,\r\n Config,\r\n ConfigState,\r\n eLayoutType,\r\n GetAppConfiguration,\r\n SessionState,\r\n SetLanguage,\r\n takeUntilDestroy,\r\n} from '@abp/ng.core';\r\nimport { collapseWithMargin, slideFromBottom } from '@abp/ng.theme.shared';\r\nimport {\r\n AfterViewInit,\r\n Component,\r\n OnDestroy,\r\n QueryList,\r\n Renderer2,\r\n TemplateRef,\r\n TrackByFunction,\r\n ViewChild,\r\n ViewChildren,\r\n ElementRef,\r\n} from '@angular/core';\r\nimport { NgbDropdown } from '@ng-bootstrap/ng-bootstrap';\r\nimport { Navigate, RouterState } from '@ngxs/router-plugin';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { OAuthService } from 'angular-oauth2-oidc';\r\nimport compare from 'just-compare';\r\nimport { fromEvent, Observable } from 'rxjs';\r\nimport { debounceTime, filter, map } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport { AddNavigationElement } from '../../actions';\r\nimport { Layout } from '../../models/layout';\r\nimport { LayoutState } from '../../states';\r\n\r\n@Component({\r\n selector: 'abp-layout-application',\r\n templateUrl: './application-layout.component.html',\r\n animations: [slideFromBottom, collapseWithMargin],\r\n})\r\nexport class ApplicationLayoutComponent implements AfterViewInit, OnDestroy {\r\n // required for dynamic component\r\n static type = eLayoutType.application;\r\n\r\n @Select(ConfigState.getOne('routes'))\r\n routes$: Observable;\r\n\r\n @Select(ConfigState.getOne('currentUser'))\r\n currentUser$: Observable;\r\n\r\n @Select(ConfigState.getDeep('localization.languages'))\r\n languages$: Observable;\r\n\r\n @Select(LayoutState.getNavigationElements)\r\n navElements$: Observable;\r\n\r\n @ViewChild('currentUser', { static: false, read: TemplateRef })\r\n currentUserRef: TemplateRef;\r\n\r\n @ViewChild('language', { static: false, read: TemplateRef })\r\n languageRef: TemplateRef;\r\n\r\n isDropdownChildDynamic: boolean;\r\n\r\n isCollapsed = true;\r\n\r\n smallScreen: boolean; // do not set true or false\r\n\r\n get appInfo(): Config.Application {\r\n return this.store.selectSnapshot(ConfigState.getApplicationInfo);\r\n }\r\n\r\n get visibleRoutes$(): Observable {\r\n return this.routes$.pipe(map(routes => getVisibleRoutes(routes)));\r\n }\r\n\r\n get defaultLanguage$(): Observable {\r\n return this.languages$.pipe(\r\n map(\r\n languages => snq(() => languages.find(lang => lang.cultureName === this.selectedLangCulture).displayName),\r\n '',\r\n ),\r\n );\r\n }\r\n\r\n get dropdownLanguages$(): Observable {\r\n return this.languages$.pipe(\r\n map(languages => snq(() => languages.filter(lang => lang.cultureName !== this.selectedLangCulture)), []),\r\n );\r\n }\r\n\r\n get selectedLangCulture(): string {\r\n return this.store.selectSnapshot(SessionState.getLanguage);\r\n }\r\n\r\n rightPartElements: TemplateRef[] = [];\r\n\r\n trackByFn: TrackByFunction = (_, item) => item.name;\r\n\r\n trackElementByFn: TrackByFunction = (_, element) => element;\r\n\r\n constructor(private store: Store, private oauthService: OAuthService, private renderer: Renderer2) {}\r\n\r\n private checkWindowWidth() {\r\n setTimeout(() => {\r\n if (window.innerWidth < 768) {\r\n this.isDropdownChildDynamic = false;\r\n if (this.smallScreen === false) {\r\n this.isCollapsed = false;\r\n setTimeout(() => {\r\n this.isCollapsed = true;\r\n }, 100);\r\n }\r\n this.smallScreen = true;\r\n } else {\r\n this.isDropdownChildDynamic = true;\r\n this.smallScreen = false;\r\n }\r\n }, 0);\r\n }\r\n\r\n ngAfterViewInit() {\r\n const navigations = this.store.selectSnapshot(LayoutState.getNavigationElements).map(({ name }) => name);\r\n\r\n if (navigations.indexOf('LanguageRef') < 0) {\r\n this.store.dispatch(\r\n new AddNavigationElement([\r\n { element: this.languageRef, order: 4, name: 'LanguageRef' },\r\n { element: this.currentUserRef, order: 5, name: 'CurrentUserRef' },\r\n ]),\r\n );\r\n }\r\n\r\n this.navElements$\r\n .pipe(\r\n map(elements => elements.map(({ element }) => element)),\r\n filter(elements => !compare(elements, this.rightPartElements)),\r\n takeUntilDestroy(this),\r\n )\r\n .subscribe(elements => {\r\n setTimeout(() => (this.rightPartElements = elements), 0);\r\n });\r\n\r\n this.checkWindowWidth();\r\n\r\n fromEvent(window, 'resize')\r\n .pipe(\r\n takeUntilDestroy(this),\r\n debounceTime(150),\r\n )\r\n .subscribe(() => {\r\n this.checkWindowWidth();\r\n });\r\n }\r\n\r\n ngOnDestroy() {}\r\n\r\n onChangeLang(cultureName: string) {\r\n this.store.dispatch(new SetLanguage(cultureName));\r\n }\r\n\r\n logout() {\r\n this.oauthService.logOut();\r\n this.store.dispatch(\r\n new Navigate(['/'], null, {\r\n state: { redirectUrl: this.store.selectSnapshot(RouterState).state.url },\r\n }),\r\n );\r\n this.store.dispatch(new GetAppConfiguration());\r\n }\r\n\r\n openChange(event: boolean, childrenContainer: HTMLDivElement) {\r\n if (!event) {\r\n Object.keys(childrenContainer.style)\r\n .filter(key => Number.isInteger(+key))\r\n .forEach(key => {\r\n this.renderer.removeStyle(childrenContainer, childrenContainer.style[key]);\r\n });\r\n this.renderer.removeStyle(childrenContainer, 'left');\r\n }\r\n }\r\n}\r\n\r\nfunction getVisibleRoutes(routes: ABP.FullRoute[]) {\r\n return routes.reduce((acc, val) => {\r\n if (val.invisible) return acc;\r\n\r\n if (val.children && val.children.length) {\r\n val.children = getVisibleRoutes(val.children);\r\n }\r\n\r\n return [...acc, val];\r\n }, []);\r\n}\r\n","import { Component } from '@angular/core';\r\nimport { eLayoutType } from '@abp/ng.core';\r\n\r\n@Component({\r\n selector: 'abp-layout-empty',\r\n template: `\r\n \r\n \r\n \r\n `,\r\n})\r\nexport class EmptyLayoutComponent {\r\n static type = eLayoutType.empty;\r\n}\r\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\r\nimport { Validation, ValidationErrorComponent as ErrorComponent } from '@ngx-validate/core';\r\n\r\n@Component({\r\n selector: 'abp-validation-error',\r\n template: `\r\n
    \r\n {{ error.message | abpLocalization: error.interpoliteParams }}\r\n
    \r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class ValidationErrorComponent extends ErrorComponent {\r\n get abpErrors(): Validation.Error[] & { interpoliteParams?: string[] } {\r\n if (!this.errors || !this.errors.length) return [];\r\n\r\n return this.errors.map(error => {\r\n if (!error.message) return error;\r\n\r\n const index = error.message.indexOf('[');\r\n\r\n if (index > -1) {\r\n return {\r\n ...error,\r\n message: error.message.slice(0, index),\r\n interpoliteParams: error.message.slice(index + 1, error.message.length - 1).split(','),\r\n };\r\n }\r\n\r\n return error;\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { LazyLoadService } from '@abp/ng.core';\r\nimport styles from '../constants/styles';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class InitialService {\r\n constructor(private lazyLoadService: LazyLoadService) {\r\n this.appendStyle().subscribe();\r\n }\r\n\r\n appendStyle() {\r\n return this.lazyLoadService.load(null, 'style', styles, 'head', 'beforeend');\r\n }\r\n}\r\n","export default `\r\n.content-header-title {\r\n font-size: 24px;\r\n}\r\n\r\n.entry-row {\r\n margin-bottom: 15px;\r\n}\r\n\r\n#main-navbar-tools a.dropdown-toggle {\r\n text-decoration: none;\r\n color: #fff;\r\n}\r\n\r\n.navbar .dropdown-submenu {\r\n position: relative;\r\n}\r\n.navbar .dropdown-menu {\r\n margin: 0;\r\n padding: 0;\r\n}\r\n .navbar .dropdown-menu a {\r\n font-size: .9em;\r\n padding: 10px 15px;\r\n display: block;\r\n min-width: 210px;\r\n text-align: left;\r\n border-radius: 0.25rem;\r\n min-height: 44px;\r\n }\r\n.navbar .dropdown-submenu a::after {\r\n transform: rotate(-90deg);\r\n position: absolute;\r\n right: 16px;\r\n top: 18px;\r\n}\r\n.navbar .dropdown-submenu .dropdown-menu {\r\n top: 0;\r\n left: 100%;\r\n}\r\n\r\n.card-header .btn {\r\n padding: 2px 6px;\r\n}\r\n.card-header h5 {\r\n margin: 0;\r\n}\r\n.container > .card {\r\n box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;\r\n}\r\n.abp-confirm .abp-confirm-footer {\r\n background-color: #f4f4f7 !important;\r\n}\r\n.abp-confirm .ui-toast-message-content {\r\n background-color: #fff !important;\r\n}\r\n\r\n@media screen and (min-width: 768px) {\r\n .navbar .dropdown:hover > .dropdown-menu {\r\n display: block;\r\n }\r\n\r\n .navbar .dropdown-submenu:hover > .dropdown-menu {\r\n display: block;\r\n }\r\n}\r\n.input-validation-error {\r\n border-color: #dc3545;\r\n}\r\n.field-validation-error {\r\n font-size: 0.8em;\r\n}\r\n`;\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule } from '@angular/core';\r\nimport { NgbCollapseModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { ToastModule } from 'primeng/toast';\r\nimport { AccountLayoutComponent } from './components/account-layout/account-layout.component';\r\nimport { ApplicationLayoutComponent } from './components/application-layout/application-layout.component';\r\nimport { EmptyLayoutComponent } from './components/empty-layout/empty-layout.component';\r\nimport { LayoutState } from './states/layout.state';\r\nimport { ValidationErrorComponent } from './components/validation-error/validation-error.component';\r\nimport { InitialService } from './services/initial.service';\r\n\r\nexport const LAYOUTS = [ApplicationLayoutComponent, AccountLayoutComponent, EmptyLayoutComponent];\r\n\r\n@NgModule({\r\n declarations: [...LAYOUTS, ValidationErrorComponent],\r\n imports: [\r\n CoreModule,\r\n ThemeSharedModule,\r\n NgbCollapseModule,\r\n NgbDropdownModule,\r\n ToastModule,\r\n NgxValidateCoreModule,\r\n NgxsModule.forFeature([LayoutState]),\r\n NgxValidateCoreModule.forRoot({\r\n targetSelector: '.form-group',\r\n blueprints: {\r\n email: 'AbpAccount::ThisFieldIsNotAValidEmailAddress.',\r\n max: 'AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]',\r\n maxlength: 'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMaximumLengthoOf{0}[{{ requiredLength }}]',\r\n min: 'AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]',\r\n minlength: 'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMinimumLengthOf{0}[{{ requiredLength }}]',\r\n required: 'AbpAccount::ThisFieldIsRequired.',\r\n passwordMismatch: 'AbpIdentity::Identity.PasswordConfirmationFailed',\r\n },\r\n errorTemplate: ValidationErrorComponent,\r\n }),\r\n ],\r\n exports: [...LAYOUTS],\r\n entryComponents: [...LAYOUTS, ValidationErrorComponent],\r\n})\r\nexport class ThemeBasicModule {\r\n constructor(private initialService: InitialService) {}\r\n}\r\n","import { TemplateRef } from '@angular/core';\r\n\r\nexport namespace Layout {\r\n export interface State {\r\n navigationElements: NavigationElement[];\r\n }\r\n\r\n export interface NavigationElement {\r\n name: string;\r\n element: TemplateRef;\r\n order?: number;\r\n }\r\n}\r\n"]} \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm2015/abp-ng.theme.basic.js b/npm/ng-packs/dist/theme-basic/esm2015/abp-ng.theme.basic.js deleted file mode 100644 index 84d997ac740..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm2015/abp-ng.theme.basic.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.theme.basic.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { LAYOUTS, ThemeBasicModule, AddNavigationElement, RemoveNavigationElementByName, AccountLayoutComponent, ApplicationLayoutComponent, EmptyLayoutComponent, ValidationErrorComponent, LayoutState } from './public-api'; -export { AddNavigationElement as ɵg, RemoveNavigationElementByName as ɵh } from './lib/actions/layout.actions'; -export { AccountLayoutComponent as ɵc } from './lib/components/account-layout/account-layout.component'; -export { ApplicationLayoutComponent as ɵa } from './lib/components/application-layout/application-layout.component'; -export { EmptyLayoutComponent as ɵd } from './lib/components/empty-layout/empty-layout.component'; -export { ValidationErrorComponent as ɵe } from './lib/components/validation-error/validation-error.component'; -export { InitialService as ɵj } from './lib/services/initial.service'; -export { LayoutState as ɵb } from './lib/states'; -export { LayoutState as ɵf } from './lib/states/layout.state'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLnRoZW1lLmJhc2ljLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5iYXNpYy8iLCJzb3VyY2VzIjpbImFicC1uZy50aGVtZS5iYXNpYy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLGdOQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMsb0JBQW9CLElBQUksRUFBRSxFQUF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W50cy9hcHBsaWNhdGlvbi1sYXlvdXQvYXBwbGljYXRpb24tbGF5b3V0LmNvbXBvbmVudCc7XG5leHBvcnQge0VtcHR5TGF5b3V0Q29tcG9uZW50IGFzIMm1ZH0gZnJvbSAnLi9saWIvY29tcG9uZW50cy9lbXB0eS1sYXlvdXQvZW1wdHktbGF5b3V0LmNvbXBvbmVudCc7XG5leHBvcnQge1ZhbGlkYXRpb25FcnJvckNvbXBvbmVudCBhcyDJtWV9IGZyb20gJy4vbGliL2NvbXBvbmVudHMvdmFsaWRhdGlvbi1lcnJvci92YWxpZGF0aW9uLWVycm9yLmNvbXBvbmVudCc7XG5leHBvcnQge0xheW91dCBhcyDJtWl9IGZyb20gJy4vbGliL21vZGVscy9sYXlvdXQnO1xuZXhwb3J0IHtJbml0aWFsU2VydmljZSBhcyDJtWp9IGZyb20gJy4vbGliL3NlcnZpY2VzL2luaXRpYWwuc2VydmljZSc7XG5leHBvcnQge0xheW91dFN0YXRlIGFzIMm1Yn0gZnJvbSAnLi9saWIvc3RhdGVzJztcbmV4cG9ydCB7TGF5b3V0U3RhdGUgYXMgybVmfSBmcm9tICcuL2xpYi9zdGF0ZXMvbGF5b3V0LnN0YXRlJzsiXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm2015/lib/actions/index.js b/npm/ng-packs/dist/theme-basic/esm2015/lib/actions/index.js deleted file mode 100644 index 1df9aec11d2..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm2015/lib/actions/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { AddNavigationElement, RemoveNavigationElementByName } from './layout.actions'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLmJhc2ljLyIsInNvdXJjZXMiOlsibGliL2FjdGlvbnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxvRUFBYyxrQkFBa0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGF5b3V0LmFjdGlvbnMnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm2015/lib/actions/layout.actions.js b/npm/ng-packs/dist/theme-basic/esm2015/lib/actions/layout.actions.js deleted file mode 100644 index b3b3f764d08..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm2015/lib/actions/layout.actions.js +++ /dev/null @@ -1,36 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/layout.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export class AddNavigationElement { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -AddNavigationElement.type = '[Layout] Add Navigation Element'; -if (false) { - /** @type {?} */ - AddNavigationElement.type; - /** @type {?} */ - AddNavigationElement.prototype.payload; -} -export class RemoveNavigationElementByName { - /** - * @param {?} name - */ - constructor(name) { - this.name = name; - } -} -RemoveNavigationElementByName.type = '[Layout] Remove Navigation ElementByName'; -if (false) { - /** @type {?} */ - RemoveNavigationElementByName.type; - /** @type {?} */ - RemoveNavigationElementByName.prototype.name; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LmFjdGlvbnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLmJhc2ljLyIsInNvdXJjZXMiOlsibGliL2FjdGlvbnMvbGF5b3V0LmFjdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFFQSxNQUFNLE9BQU8sb0JBQW9COzs7O0lBRS9CLFlBQW1CLE9BQThEO1FBQTlELFlBQU8sR0FBUCxPQUFPLENBQXVEO0lBQUcsQ0FBQzs7QUFEckUseUJBQUksR0FBRyxpQ0FBaUMsQ0FBQzs7O0lBQXpELDBCQUF5RDs7SUFDN0MsdUNBQXFFOztBQUduRixNQUFNLE9BQU8sNkJBQTZCOzs7O0lBRXhDLFlBQW1CLElBQVk7UUFBWixTQUFJLEdBQUosSUFBSSxDQUFRO0lBQUcsQ0FBQzs7QUFEbkIsa0NBQUksR0FBRywwQ0FBMEMsQ0FBQzs7O0lBQWxFLG1DQUFrRTs7SUFDdEQsNkNBQW1CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTGF5b3V0IH0gZnJvbSAnLi4vbW9kZWxzL2xheW91dCc7XHJcblxyXG5leHBvcnQgY2xhc3MgQWRkTmF2aWdhdGlvbkVsZW1lbnQge1xyXG4gIHN0YXRpYyByZWFkb25seSB0eXBlID0gJ1tMYXlvdXRdIEFkZCBOYXZpZ2F0aW9uIEVsZW1lbnQnO1xyXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBwYXlsb2FkOiBMYXlvdXQuTmF2aWdhdGlvbkVsZW1lbnQgfCBMYXlvdXQuTmF2aWdhdGlvbkVsZW1lbnRbXSkge31cclxufVxyXG5cclxuZXhwb3J0IGNsYXNzIFJlbW92ZU5hdmlnYXRpb25FbGVtZW50QnlOYW1lIHtcclxuICBzdGF0aWMgcmVhZG9ubHkgdHlwZSA9ICdbTGF5b3V0XSBSZW1vdmUgTmF2aWdhdGlvbiBFbGVtZW50QnlOYW1lJztcclxuICBjb25zdHJ1Y3RvcihwdWJsaWMgbmFtZTogc3RyaW5nKSB7fVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm2015/lib/components/account-layout/account-layout.component.js b/npm/ng-packs/dist/theme-basic/esm2015/lib/components/account-layout/account-layout.component.js deleted file mode 100644 index de629656196..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm2015/lib/components/account-layout/account-layout.component.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/account-layout/account-layout.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component } from '@angular/core'; -export class AccountLayoutComponent { -} -// required for dynamic component -AccountLayoutComponent.type = "account" /* account */; -AccountLayoutComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-layout-account', - template: ` - - - - ` - }] } -]; -if (false) { - /** @type {?} */ - AccountLayoutComponent.type; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudC1sYXlvdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5iYXNpYy8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2FjY291bnQtbGF5b3V0L2FjY291bnQtbGF5b3V0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFXMUMsTUFBTSxPQUFPLHNCQUFzQjs7O0FBRTFCLDJCQUFJLDJCQUF1Qjs7WUFWbkMsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSxvQkFBb0I7Z0JBQzlCLFFBQVEsRUFBRTs7OztHQUlUO2FBQ0Y7Ozs7SUFHQyw0QkFBa0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgZUxheW91dFR5cGUgfSBmcm9tICdAYWJwL25nLmNvcmUnO1xyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgc2VsZWN0b3I6ICdhYnAtbGF5b3V0LWFjY291bnQnLFxyXG4gIHRlbXBsYXRlOiBgXHJcbiAgICA8cm91dGVyLW91dGxldD48L3JvdXRlci1vdXRsZXQ+XHJcbiAgICA8YWJwLWNvbmZpcm1hdGlvbj48L2FicC1jb25maXJtYXRpb24+XHJcbiAgICA8YWJwLXRvYXN0PjwvYWJwLXRvYXN0PlxyXG4gIGAsXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBBY2NvdW50TGF5b3V0Q29tcG9uZW50IHtcclxuICAvLyByZXF1aXJlZCBmb3IgZHluYW1pYyBjb21wb25lbnRcclxuICBzdGF0aWMgdHlwZSA9IGVMYXlvdXRUeXBlLmFjY291bnQ7XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm2015/lib/components/application-layout/application-layout.component.js b/npm/ng-packs/dist/theme-basic/esm2015/lib/components/application-layout/application-layout.component.js deleted file mode 100644 index aaad4292936..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm2015/lib/components/application-layout/application-layout.component.js +++ /dev/null @@ -1,321 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/application-layout/application-layout.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { ConfigState, GetAppConfiguration, SessionState, SetLanguage, takeUntilDestroy, } from '@abp/ng.core'; -import { collapseWithMargin, slideFromBottom } from '@abp/ng.theme.shared'; -import { Component, Renderer2, TemplateRef, ViewChild, } from '@angular/core'; -import { Navigate, RouterState } from '@ngxs/router-plugin'; -import { Select, Store } from '@ngxs/store'; -import { OAuthService } from 'angular-oauth2-oidc'; -import compare from 'just-compare'; -import { fromEvent, Observable } from 'rxjs'; -import { debounceTime, filter, map } from 'rxjs/operators'; -import snq from 'snq'; -import { AddNavigationElement } from '../../actions'; -import { LayoutState } from '../../states'; -export class ApplicationLayoutComponent { - /** - * @param {?} store - * @param {?} oauthService - * @param {?} renderer - */ - constructor(store, oauthService, renderer) { - this.store = store; - this.oauthService = oauthService; - this.renderer = renderer; - this.isCollapsed = true; - this.rightPartElements = []; - this.trackByFn = (/** - * @param {?} _ - * @param {?} item - * @return {?} - */ - (_, item) => item.name); - this.trackElementByFn = (/** - * @param {?} _ - * @param {?} element - * @return {?} - */ - (_, element) => element); - } - // do not set true or false - /** - * @return {?} - */ - get appInfo() { - return this.store.selectSnapshot(ConfigState.getApplicationInfo); - } - /** - * @return {?} - */ - get visibleRoutes$() { - return this.routes$.pipe(map((/** - * @param {?} routes - * @return {?} - */ - routes => getVisibleRoutes(routes)))); - } - /** - * @return {?} - */ - get defaultLanguage$() { - return this.languages$.pipe(map((/** - * @param {?} languages - * @return {?} - */ - languages => snq((/** - * @return {?} - */ - () => languages.find((/** - * @param {?} lang - * @return {?} - */ - lang => lang.cultureName === this.selectedLangCulture)).displayName))), '')); - } - /** - * @return {?} - */ - get dropdownLanguages$() { - return this.languages$.pipe(map((/** - * @param {?} languages - * @return {?} - */ - languages => snq((/** - * @return {?} - */ - () => languages.filter((/** - * @param {?} lang - * @return {?} - */ - lang => lang.cultureName !== this.selectedLangCulture))))), [])); - } - /** - * @return {?} - */ - get selectedLangCulture() { - return this.store.selectSnapshot(SessionState.getLanguage); - } - /** - * @private - * @return {?} - */ - checkWindowWidth() { - setTimeout((/** - * @return {?} - */ - () => { - if (window.innerWidth < 768) { - this.isDropdownChildDynamic = false; - if (this.smallScreen === false) { - this.isCollapsed = false; - setTimeout((/** - * @return {?} - */ - () => { - this.isCollapsed = true; - }), 100); - } - this.smallScreen = true; - } - else { - this.isDropdownChildDynamic = true; - this.smallScreen = false; - } - }), 0); - } - /** - * @return {?} - */ - ngAfterViewInit() { - /** @type {?} */ - const navigations = this.store.selectSnapshot(LayoutState.getNavigationElements).map((/** - * @param {?} __0 - * @return {?} - */ - ({ name }) => name)); - if (navigations.indexOf('LanguageRef') < 0) { - this.store.dispatch(new AddNavigationElement([ - { element: this.languageRef, order: 4, name: 'LanguageRef' }, - { element: this.currentUserRef, order: 5, name: 'CurrentUserRef' }, - ])); - } - this.navElements$ - .pipe(map((/** - * @param {?} elements - * @return {?} - */ - elements => elements.map((/** - * @param {?} __0 - * @return {?} - */ - ({ element }) => element)))), filter((/** - * @param {?} elements - * @return {?} - */ - elements => !compare(elements, this.rightPartElements))), takeUntilDestroy(this)) - .subscribe((/** - * @param {?} elements - * @return {?} - */ - elements => { - setTimeout((/** - * @return {?} - */ - () => (this.rightPartElements = elements)), 0); - })); - this.checkWindowWidth(); - fromEvent(window, 'resize') - .pipe(takeUntilDestroy(this), debounceTime(150)) - .subscribe((/** - * @return {?} - */ - () => { - this.checkWindowWidth(); - })); - } - /** - * @return {?} - */ - ngOnDestroy() { } - /** - * @param {?} cultureName - * @return {?} - */ - onChangeLang(cultureName) { - this.store.dispatch(new SetLanguage(cultureName)); - } - /** - * @return {?} - */ - logout() { - this.oauthService.logOut(); - this.store.dispatch(new Navigate(['/'], null, { - state: { redirectUrl: this.store.selectSnapshot(RouterState).state.url }, - })); - this.store.dispatch(new GetAppConfiguration()); - } - /** - * @param {?} event - * @param {?} childrenContainer - * @return {?} - */ - openChange(event, childrenContainer) { - if (!event) { - Object.keys(childrenContainer.style) - .filter((/** - * @param {?} key - * @return {?} - */ - key => Number.isInteger(+key))) - .forEach((/** - * @param {?} key - * @return {?} - */ - key => { - this.renderer.removeStyle(childrenContainer, childrenContainer.style[key]); - })); - this.renderer.removeStyle(childrenContainer, 'left'); - } - } -} -// required for dynamic component -ApplicationLayoutComponent.type = "application" /* application */; -ApplicationLayoutComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-layout-application', - template: "\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n\r\n
    \r\n \r\n
    \r\n\r\n \r\n
    \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n\r\n
      \r\n \r\n
    \r\n \r\n \r\n \r\n\r\n\r\n
    \r\n \r\n
    \r\n\r\n\r\n\r\n\r\n\r\n {{ appInfo.name }}\r\n\r\n\r\n\r\n
  • 0\" class=\"nav-item\">\r\n
    \r\n \r\n {{ defaultLanguage$ | async }}\r\n \r\n \r\n {{ lang?.displayName }}\r\n
    \r\n \r\n
  • \r\n
    \r\n\r\n\r\n
  • \r\n \r\n \r\n
  • \r\n
    \r\n", - animations: [slideFromBottom, collapseWithMargin] - }] } -]; -/** @nocollapse */ -ApplicationLayoutComponent.ctorParameters = () => [ - { type: Store }, - { type: OAuthService }, - { type: Renderer2 } -]; -ApplicationLayoutComponent.propDecorators = { - currentUserRef: [{ type: ViewChild, args: ['currentUser', { static: false, read: TemplateRef },] }], - languageRef: [{ type: ViewChild, args: ['language', { static: false, read: TemplateRef },] }] -}; -tslib_1.__decorate([ - Select(ConfigState.getOne('routes')), - tslib_1.__metadata("design:type", Observable) -], ApplicationLayoutComponent.prototype, "routes$", void 0); -tslib_1.__decorate([ - Select(ConfigState.getOne('currentUser')), - tslib_1.__metadata("design:type", Observable) -], ApplicationLayoutComponent.prototype, "currentUser$", void 0); -tslib_1.__decorate([ - Select(ConfigState.getDeep('localization.languages')), - tslib_1.__metadata("design:type", Observable) -], ApplicationLayoutComponent.prototype, "languages$", void 0); -tslib_1.__decorate([ - Select(LayoutState.getNavigationElements), - tslib_1.__metadata("design:type", Observable) -], ApplicationLayoutComponent.prototype, "navElements$", void 0); -if (false) { - /** @type {?} */ - ApplicationLayoutComponent.type; - /** @type {?} */ - ApplicationLayoutComponent.prototype.routes$; - /** @type {?} */ - ApplicationLayoutComponent.prototype.currentUser$; - /** @type {?} */ - ApplicationLayoutComponent.prototype.languages$; - /** @type {?} */ - ApplicationLayoutComponent.prototype.navElements$; - /** @type {?} */ - ApplicationLayoutComponent.prototype.currentUserRef; - /** @type {?} */ - ApplicationLayoutComponent.prototype.languageRef; - /** @type {?} */ - ApplicationLayoutComponent.prototype.isDropdownChildDynamic; - /** @type {?} */ - ApplicationLayoutComponent.prototype.isCollapsed; - /** @type {?} */ - ApplicationLayoutComponent.prototype.smallScreen; - /** @type {?} */ - ApplicationLayoutComponent.prototype.rightPartElements; - /** @type {?} */ - ApplicationLayoutComponent.prototype.trackByFn; - /** @type {?} */ - ApplicationLayoutComponent.prototype.trackElementByFn; - /** - * @type {?} - * @private - */ - ApplicationLayoutComponent.prototype.store; - /** - * @type {?} - * @private - */ - ApplicationLayoutComponent.prototype.oauthService; - /** - * @type {?} - * @private - */ - ApplicationLayoutComponent.prototype.renderer; -} -/** - * @param {?} routes - * @return {?} - */ -function getVisibleRoutes(routes) { - return routes.reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - (acc, val) => { - if (val.invisible) - return acc; - if (val.children && val.children.length) { - val.children = getVisibleRoutes(val.children); - } - return [...acc, val]; - }), []); -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb24tbGF5b3V0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuYmFzaWMvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9hcHBsaWNhdGlvbi1sYXlvdXQvYXBwbGljYXRpb24tbGF5b3V0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBSUwsV0FBVyxFQUVYLG1CQUFtQixFQUNuQixZQUFZLEVBQ1osV0FBVyxFQUNYLGdCQUFnQixHQUNqQixNQUFNLGNBQWMsQ0FBQztBQUN0QixPQUFPLEVBQUUsa0JBQWtCLEVBQUUsZUFBZSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDM0UsT0FBTyxFQUVMLFNBQVMsRUFHVCxTQUFTLEVBQ1QsV0FBVyxFQUVYLFNBQVMsR0FHVixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUsUUFBUSxFQUFFLFdBQVcsRUFBRSxNQUFNL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lclJlZiwgb3JkZXI6IDUsIG5hbWU6ICdDdXJyZW50VXNlclJlZicgfSxcclxuICAgICAgICBdKSxcclxuICAgICAgKTtcclxuICAgIH1cclxuXHJcbiAgICB0aGlzLm5hdkVsZW1lbnRzJFxyXG4gICAgICAucGlwZShcclxuICAgICAgICBtYXAoZWxlbWVudHMgPT4gZWxlbWVudHMubWFwKCh7IGVsZW1lbnQgfSkgPT4gZWxlbWVudCkpLFxyXG4gICAgICAgIGZpbHRlcihlbGVtZW50cyA9PiAhY29tcGFyZShlbGVtZW50cywgdGhpcy5yaWdodFBhcnRFbGVtZW50cykpLFxyXG4gICAgICAgIHRha2VVbnRpbERlc3Ryb3kodGhpcyksXHJcbiAgICAgIClcclxuICAgICAgLnN1YnNjcmliZShlbGVtZW50cyA9PiB7XHJcbiAgICAgICAgc2V0VGltZW91dCgoKSA9PiAodGhpcy5yaWdodFBhcnRFbGVtZW50cyA9IGVsZW1lbnRzKSwgMCk7XHJcbiAgICAgIH0pO1xyXG5cclxuICAgIHRoaXMuY2hlY2tXaW5kb3dXaWR0aCgpO1xyXG5cclxuICAgIGZyb21FdmVudCh3aW5kb3csICdyZXNpemUnKVxyXG4gICAgICAucGlwZShcclxuICAgICAgICB0YWtlVW50aWxEZXN0cm95KHRoaXMpLFxyXG4gICAgICAgIGRlYm91bmNlVGltZSgxNTApLFxyXG4gICAgICApXHJcbiAgICAgIC5zdWJzY3JpYmUoKCkgPT4ge1xyXG4gICAgICAgIHRoaXMuY2hlY2tXaW5kb3dXaWR0aCgpO1xyXG4gICAgICB9KTtcclxuICB9XHJcblxyXG4gIG5nT25EZXN0cm95KCkge31cclxuXHJcbiAgb25DaGFuZ2VMYW5nKGN1bHR1cmVOYW1lOiBzdHJpbmcpIHtcclxuICAgIHRoaXMuc3RvcmUuZGlzcGF0Y2gobmV3IFNldExhbmd1YWdlKGN1bHR1cmVOYW1lKSk7XHJcbiAgfVxyXG5cclxuICBsb2dvdXQoKSB7XHJcbiAgICB0aGlzL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Y2hpbGRyZW4gJiYgdmFsLmNoaWxkcmVuLmxlbmd0aCkge1xyXG4gICAgICB2YWwuY2hpbGRyZW4gPSBnZXRWaXNpYmxlUm91dGVzKHZhbC5jaGlsZHJlbik7XHJcbiAgICB9XHJcblxyXG4gICAgcmV0dXJuIFsuLi5hY2MsIHZhbF07XHJcbiAgfSwgW10pO1xyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm2015/lib/components/empty-layout/empty-layout.component.js b/npm/ng-packs/dist/theme-basic/esm2015/lib/components/empty-layout/empty-layout.component.js deleted file mode 100644 index 322f1fc3eac..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm2015/lib/components/empty-layout/empty-layout.component.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/empty-layout/empty-layout.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component } from '@angular/core'; -export class EmptyLayoutComponent { -} -EmptyLayoutComponent.type = "empty" /* empty */; -EmptyLayoutComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-layout-empty', - template: ` - - - - ` - }] } -]; -if (false) { - /** @type {?} */ - EmptyLayoutComponent.type; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1wdHktbGF5b3V0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuYmFzaWMvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9lbXB0eS1sYXlvdXQvZW1wdHktbGF5b3V0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFXMUMsTUFBTSxPQUFPLG9CQUFvQjs7QUFDeEIseUJBQUksdUJBQXFCOztZQVRqQyxTQUFTLFNBQUM7Z0JBQ1QsUUFBUSxFQUFFLGtCQUFrQjtnQkFDNUIsUUFBUSxFQUFFOzs7O0dBSVQ7YUFDRjs7OztJQUVDLDBCQUFnQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBlTGF5b3V0VHlwZSB9IGZyb20gJ0BhYnAvbmcuY29yZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ2FicC1sYXlvdXQtZW1wdHknLFxyXG4gIHRlbXBsYXRlOiBgXHJcbiAgICA8cm91dGVyLW91dGxldD48L3JvdXRlci1vdXRsZXQ+XHJcbiAgICA8YWJwLWNvbmZpcm1hdGlvbj48L2FicC1jb25maXJtYXRpb24+XHJcbiAgICA8YWJwLXRvYXN0PjwvYWJwLXRvYXN0PlxyXG4gIGAsXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBFbXB0eUxheW91dENvbXBvbmVudCB7XHJcbiAgc3RhdGljIHR5cGUgPSBlTGF5b3V0VHlwZS5lbXB0eTtcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm2015/lib/components/index.js b/npm/ng-packs/dist/theme-basic/esm2015/lib/components/index.js deleted file mode 100644 index 3eaac5ba356..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm2015/lib/components/index.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { AccountLayoutComponent } from './account-layout/account-layout.component'; -export { ApplicationLayoutComponent } from './application-layout/application-layout.component'; -export { EmptyLayoutComponent } from './empty-layout/empty-layout.component'; -export { ValidationErrorComponent } from './validation-error/validation-error.component'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLmJhc2ljLyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSx1Q0FBYywyQ0FBMkMsQ0FBQztBQUMxRCwyQ0FBYyxtREFBbUQsQ0FBQztBQUNsRSxxQ0FBYyx1Q0FBdUMsQ0FBQztBQUN0RCx5Q0FBYywrQ0FBK0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYWNjb3VudC1sYXlvdXQvYWNjb3VudC1sYXlvdXQuY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9hcHBsaWNhdGlvbi1sYXlvdXQvYXBwbGljYXRpb24tbGF5b3V0LmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vZW1wdHktbGF5b3V0L2VtcHR5LWxheW91dC5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL3ZhbGlkYXRpb24tZXJyb3IvdmFsaWRhdGlvbi1lcnJvci5jb21wb25lbnQnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm2015/lib/components/validation-error/validation-error.component.js b/npm/ng-packs/dist/theme-basic/esm2015/lib/components/validation-error/validation-error.component.js deleted file mode 100644 index 697241eefaa..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm2015/lib/components/validation-error/validation-error.component.js +++ /dev/null @@ -1,43 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/validation-error/validation-error.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core'; -import { ValidationErrorComponent as ErrorComponent } from '@ngx-validate/core'; -export class ValidationErrorComponent extends ErrorComponent { - /** - * @return {?} - */ - get abpErrors() { - if (!this.errors || !this.errors.length) - return []; - return this.errors.map((/** - * @param {?} error - * @return {?} - */ - error => { - if (!error.message) - return error; - /** @type {?} */ - const index = error.message.indexOf('['); - if (index > -1) { - return Object.assign({}, error, { message: error.message.slice(0, index), interpoliteParams: error.message.slice(index + 1, error.message.length - 1).split(',') }); - } - return error; - })); - } -} -ValidationErrorComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-validation-error', - template: ` -
    - {{ error.message | abpLocalization: error.interpoliteParams }} -
    - `, - changeDetection: ChangeDetectionStrategy.OnPush, - encapsulation: ViewEncapsulation.None - }] } -]; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdGlvbi1lcnJvci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLmJhc2ljLyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvdmFsaWRhdGlvbi1lcnJvci92YWxpZGF0aW9uLWVycm9yLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdEYsT0FBTyxFQUFjLHdCQUF3QixJQUFJLGNBQWMsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBWTVGLE1BQU0sT0FBTyx3QkFBeUIsU0FBUSxjQUFjOzs7O0lBQzFELElBQUksU0FBUztRQUNYLElBQUksQ0FBQyxJQUFJLENBQUMsTUFBTSxJQUFJLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxNQUFNO1lBQUUsT0FBTyxFQUFFLENBQUM7UUFFbkQsT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFDLEdBQUc7Ozs7UUFBQyxLQUFLLENBQUMsRUFBRT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AgICAgICAgaW50ZXJwb2xpdGVQYXJhbXM6IGVycm9yLm1lc3NhZ2Uuc2xpY2UoaW5kZXggKyAxLCBlcnJvci5tZXNzYWdlLmxlbmd0aCAtIDEpLnNwbGl0KCcsJyksXHJcbiAgICAgICAgfTtcclxuICAgICAgfVxyXG5cclxuICAgICAgcmV0dXJuIGVycm9yO1xyXG4gICAgfSk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm2015/lib/constants/styles.js b/npm/ng-packs/dist/theme-basic/esm2015/lib/constants/styles.js deleted file mode 100644 index 955e2309555..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm2015/lib/constants/styles.js +++ /dev/null @@ -1,79 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/styles.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export default ` -.content-header-title { - font-size: 24px; -} - -.entry-row { - margin-bottom: 15px; -} - -#main-navbar-tools a.dropdown-toggle { - text-decoration: none; - color: #fff; -} - -.navbar .dropdown-submenu { - position: relative; -} -.navbar .dropdown-menu { - margin: 0; - padding: 0; -} - .navbar .dropdown-menu a { - font-size: .9em; - padding: 10px 15px; - display: block; - min-width: 210px; - text-align: left; - border-radius: 0.25rem; - min-height: 44px; - } -.navbar .dropdown-submenu a::after { - transform: rotate(-90deg); - position: absolute; - right: 16px; - top: 18px; -} -.navbar .dropdown-submenu .dropdown-menu { - top: 0; - left: 100%; -} - -.card-header .btn { - padding: 2px 6px; -} -.card-header h5 { - margin: 0; -} -.container > .card { - box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; -} -.abp-confirm .abp-confirm-footer { - background-color: #f4f4f7 !important; -} -.abp-confirm .ui-toast-message-content { - background-color: #fff !important; -} - -@media screen and (min-width: 768px) { - .navbar .dropdown:hover > .dropdown-menu { - display: block; - } - - .navbar .dropdown-submenu:hover > .dropdown-menu { - display: block; - } -} -.input-validation-error { - border-color: #dc3545; -} -.field-validation-error { - font-size: 0.8em; -} -`; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3R5bGVzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5iYXNpYy8iLCJzb3VyY2VzIjpbImxpYi9jb25zdGFudHMvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsZUFBZTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0NBd0VkLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZGVmYXVsdCBgXHJcbi5jb250ZW50LWhlYWRlci10aXRsZSB7XHJcbiAgICBmb250LXNpemU6IDI0cHg7XHJcbn1cclxuXHJcbi5lbnRyeS1yb3cge1xyXG4gICAgbWFyZ2luLWJvdHRvbTogMTVweDtcclxufVxyXG5cclxuI21haW4tbmF2YmFyLXRvb2xzIGEuZHJvcGRvd24tdG9nZ2xlIHtcclxuICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcclxuICAgIGNvbG9yOiAjZmZmO1xyXG59XHJcblxyXG4ubmF2YmFyIC5kcm9wZG93bi1zdWJtZW51IHtcclxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxufVxyXG4ubmF2YmFyIC5kcm9wZG93bi1tZW51IHtcclxuICAgIG1hcmdpbjogMDtcclxuICAgIHBhZGRpbmc6IDA7XHJcbn1cclxuICAgIC5uYXZiYXIgLmRyb3Bkb3duLW1lbnUgYSB7XHJcbiAgICAgICAgZm9udC1zaXplOiAuOWVtO1xyXG4gICAgICAgIHBhZGRpbmc6IDEwcHggMTVweDtcclxuICAgICAgICBkaXNwbGF5OiBibG9jaztc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AgICAgIGRpc3BsYXk6IGJsb2NrO1xyXG4gICAgfVxyXG5cclxuICAgIC5uYXZiYXIgLmRyb3Bkb3duLXN1Ym1lbnU6aG92ZXIgPiAuZHJvcGRvd24tbWVudSB7XHJcbiAgICAgICAgZGlzcGxheTogYmxvY2s7XHJcbiAgICB9XHJcbn1cclxuLmlucHV0LXZhbGlkYXRpb24tZXJyb3Ige1xyXG4gICAgYm9yZGVyLWNvbG9yOiAjZGMzNTQ1O1xyXG59XHJcbi5maWVsZC12YWxpZGF0aW9uLWVycm9yIHtcclxuICAgIGZvbnQtc2l6ZTogMC44ZW07XHJcbn1cclxuYDtcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm2015/lib/models/index.js b/npm/ng-packs/dist/theme-basic/esm2015/lib/models/index.js deleted file mode 100644 index 54042668c8a..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm2015/lib/models/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export {} from './layout'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLmJhc2ljLyIsInNvdXJjZXMiOlsibGliL21vZGVscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLGVBQWMsVUFBVSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9sYXlvdXQnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm2015/lib/models/layout.js b/npm/ng-packs/dist/theme-basic/esm2015/lib/models/layout.js deleted file mode 100644 index c3ea282ba0a..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm2015/lib/models/layout.js +++ /dev/null @@ -1,31 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/layout.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var Layout; -(function (Layout) { - /** - * @record - */ - function State() { } - Layout.State = State; - if (false) { - /** @type {?} */ - State.prototype.navigationElements; - } - /** - * @record - */ - function NavigationElement() { } - Layout.NavigationElement = NavigationElement; - if (false) { - /** @type {?} */ - NavigationElement.prototype.name; - /** @type {?} */ - NavigationElement.prototype.element; - /** @type {?|undefined} */ - NavigationElement.prototype.order; - } -})(Layout || (Layout = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5iYXNpYy8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvbGF5b3V0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBRUEsTUFBTSxLQUFXLE1BQU0sQ0FVdEI7QUFWRCxXQUFpQixNQUFNOzs7O0lBQ3JCLG9CQUVDOzs7O1FBREMsbUNBQXdDOzs7OztJQUcxQyxnQ0FJQzs7OztRQUhDLGlDQUFhOztRQUNiLG9DQUEwQjs7UUFDMUIsa0NBQWU7O0FBRW5CLENBQUMsRUFWZ0IsTUFBTSxLQUFOLE1BQU0sUUFVdEIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBUZW1wbGF0ZVJlZiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuZXhwb3J0IG5hbWVzcGFjZSBMYXlvdXQge1xyXG4gIGV4cG9ydCBpbnRlcmZhY2UgU3RhdGUge1xyXG4gICAgbmF2aWdhdGlvbkVsZW1lbnRzOiBOYXZpZ2F0aW9uRWxlbWVudFtdO1xyXG4gIH1cclxuXHJcbiAgZXhwb3J0IGludGVyZmFjZSBOYXZpZ2F0aW9uRWxlbWVudCB7XHJcbiAgICBuYW1lOiBzdHJpbmc7XHJcbiAgICBlbGVtZW50OiBUZW1wbGF0ZVJlZjxhbnk+O1xyXG4gICAgb3JkZXI/OiBudW1iZXI7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm2015/lib/services/initial.service.js b/npm/ng-packs/dist/theme-basic/esm2015/lib/services/initial.service.js deleted file mode 100644 index 345e53f96d3..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm2015/lib/services/initial.service.js +++ /dev/null @@ -1,41 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/initial.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { LazyLoadService } from '@abp/ng.core'; -import styles from '../constants/styles'; -import * as i0 from "@angular/core"; -import * as i1 from "@abp/ng.core"; -export class InitialService { - /** - * @param {?} lazyLoadService - */ - constructor(lazyLoadService) { - this.lazyLoadService = lazyLoadService; - this.appendStyle().subscribe(); - } - /** - * @return {?} - */ - appendStyle() { - return this.lazyLoadService.load(null, 'style', styles, 'head', 'beforeend'); - } -} -InitialService.decorators = [ - { type: Injectable, args: [{ providedIn: 'root' },] } -]; -/** @nocollapse */ -InitialService.ctorParameters = () => [ - { type: LazyLoadService } -]; -/** @nocollapse */ InitialService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function InitialService_Factory() { return new InitialService(i0.ɵɵinject(i1.LazyLoadService)); }, token: InitialService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - InitialService.prototype.lazyLoadService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5pdGlhbC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5iYXNpYy8iLCJzb3VyY2VzIjp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3IocHJpdmF0ZSBsYXp5TG9hZFNlcnZpY2U6IExhenlMb2FkU2VydmljZSkge1xyXG4gICAgdGhpcy5hcHBlbmRTdHlsZSgpLnN1YnNjcmliZSgpO1xyXG4gIH1cclxuXHJcbiAgYXBwZW5kU3R5bGUoKSB7XHJcbiAgICByZXR1cm4gdGhpcy5sYXp5TG9hZFNlcnZpY2UubG9hZChudWxsLCAnc3R5bGUnLCBzdHlsZXMsICdoZWFkJywgJ2JlZm9yZWVuZCcpO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm2015/lib/states/index.js b/npm/ng-packs/dist/theme-basic/esm2015/lib/states/index.js deleted file mode 100644 index b0e953a2539..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm2015/lib/states/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { LayoutState } from './layout.state'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLmJhc2ljLyIsInNvdXJjZXMiOlsibGliL3N0YXRlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLDRCQUFjLGdCQUFnQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9sYXlvdXQuc3RhdGUnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm2015/lib/states/layout.state.js b/npm/ng-packs/dist/theme-basic/esm2015/lib/states/layout.state.js deleted file mode 100644 index 23a04f93c35..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm2015/lib/states/layout.state.js +++ /dev/null @@ -1,106 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/layout.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { State, Action, Selector } from '@ngxs/store'; -import { AddNavigationElement, RemoveNavigationElementByName } from '../actions/layout.actions'; -import snq from 'snq'; -let LayoutState = class LayoutState { - /** - * @param {?} __0 - * @return {?} - */ - static getNavigationElements({ navigationElements }) { - return navigationElements; - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - layoutAddAction({ getState, patchState }, { payload = [] }) { - let { navigationElements } = getState(); - if (!Array.isArray(payload)) { - payload = [payload]; - } - if (navigationElements.length) { - payload = snq((/** - * @return {?} - */ - () => ((/** @type {?} */ (payload))).filter((/** - * @param {?} __0 - * @return {?} - */ - ({ name }) => navigationElements.findIndex((/** - * @param {?} nav - * @return {?} - */ - nav => nav.name === name)) < 0))), []); - } - if (!payload.length) - return; - navigationElements = [...navigationElements, ...payload] - .map((/** - * @param {?} element - * @return {?} - */ - element => (Object.assign({}, element, { order: element.order || 99 })))) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - (a, b) => a.order - b.order)); - return patchState({ - navigationElements, - }); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - layoutRemoveAction({ getState, patchState }, { name }) { - let { navigationElements } = getState(); - /** @type {?} */ - const index = navigationElements.findIndex((/** - * @param {?} element - * @return {?} - */ - element => element.name === name)); - if (index > -1) { - navigationElements = navigationElements.splice(index, 1); - } - return patchState({ - navigationElements, - }); - } -}; -tslib_1.__decorate([ - Action(AddNavigationElement), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, AddNavigationElement]), - tslib_1.__metadata("design:returntype", void 0) -], LayoutState.prototype, "layoutAddAction", null); -tslib_1.__decorate([ - Action(RemoveNavigationElementByName), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, RemoveNavigationElementByName]), - tslib_1.__metadata("design:returntype", void 0) -], LayoutState.prototype, "layoutRemoveAction", null); -tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", Array) -], LayoutState, "getNavigationElements", null); -LayoutState = tslib_1.__decorate([ - State({ - name: 'LayoutState', - defaults: (/** @type {?} */ ({ navigationElements: [] })), - }) -], LayoutState); -export { LayoutState }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LnN0YXRlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5iYXNpYy8iLCJzb3VyY2VzIjpbImxpYi9zdGF0ZXMvbGF5b3V0LnN0YXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLE9BQU8sRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFnQixRQUFRLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFDcEUsT0FBTyxFQUFFLG9CQUFvQixFQUFFLDZCQUE2QixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFHaEcsT0FBTyxHQUFHLE1BQU0sS0FBSyxDQUFDO0lBTVQsV0FBVyxTQUFYLFdBQVc7Ozs7O0lBRXRCLE1BQU0sQ0FBQyxxQkFBcUIsQ0FBQyxFQUFFLGtCQUFrQixFQUFnQjtRQUMvRCxPQUFPLGtCQUFrQixDQUFDO0lBQzVCLENBQUM7Ozs7OztJQUdELGVBQWUsQ0FBQyxFQUFFLFFBQVEsRUFBRSxVQUFVLEVBQThCLEVBQUUsRUFBRSxPQUFPLEdBQUcsRUFBRSxFQUF3QjtZQUN0RyxFQUFFLGtCQUFrQixFQUFFLEdBQUcsUUFBUSxFQUFFO1FBRXZDLElBQUksQ0FBQyxLQUFLLENBQUMsT0FBTyxDQUFDLE9BQU8sQ0FBQyxFQUFFO1lBQzNCLE9BQU8sR0FBR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1lbnRzLnNwbGljZShpbmRleCwgMSk7XHJcbiAgICB9XHJcblxyXG4gICAgcmV0dXJuIHBhdGNoU3RhdGUoe1xyXG4gICAgICBuYXZpZ2F0aW9uRWxlbWVudHMsXHJcbiAgICB9KTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm2015/lib/theme-basic.module.js b/npm/ng-packs/dist/theme-basic/esm2015/lib/theme-basic.module.js deleted file mode 100644 index 142bbf54c97..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm2015/lib/theme-basic.module.js +++ /dev/null @@ -1,69 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/theme-basic.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { CoreModule } from '@abp/ng.core'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; -import { NgModule } from '@angular/core'; -import { NgbCollapseModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; -import { NgxValidateCoreModule } from '@ngx-validate/core'; -import { NgxsModule } from '@ngxs/store'; -import { ToastModule } from 'primeng/toast'; -import { AccountLayoutComponent } from './components/account-layout/account-layout.component'; -import { ApplicationLayoutComponent } from './components/application-layout/application-layout.component'; -import { EmptyLayoutComponent } from './components/empty-layout/empty-layout.component'; -import { LayoutState } from './states/layout.state'; -import { ValidationErrorComponent } from './components/validation-error/validation-error.component'; -import { InitialService } from './services/initial.service'; -/** @type {?} */ -export const LAYOUTS = [ApplicationLayoutComponent, AccountLayoutComponent, EmptyLayoutComponent]; -export class ThemeBasicModule { - /** - * @param {?} initialService - */ - constructor(initialService) { - this.initialService = initialService; - } -} -ThemeBasicModule.decorators = [ - { type: NgModule, args: [{ - declarations: [...LAYOUTS, ValidationErrorComponent], - imports: [ - CoreModule, - ThemeSharedModule, - NgbCollapseModule, - NgbDropdownModule, - ToastModule, - NgxValidateCoreModule, - NgxsModule.forFeature([LayoutState]), - NgxValidateCoreModule.forRoot({ - targetSelector: '.form-group', - blueprints: { - email: 'AbpAccount::ThisFieldIsNotAValidEmailAddress.', - max: 'AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]', - maxlength: 'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMaximumLengthoOf{0}[{{ requiredLength }}]', - min: 'AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]', - minlength: 'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMinimumLengthOf{0}[{{ requiredLength }}]', - required: 'AbpAccount::ThisFieldIsRequired.', - passwordMismatch: 'AbpIdentity::Identity.PasswordConfirmationFailed', - }, - errorTemplate: ValidationErrorComponent, - }), - ], - exports: [...LAYOUTS], - entryComponents: [...LAYOUTS, ValidationErrorComponent], - },] } -]; -/** @nocollapse */ -ThemeBasicModule.ctorParameters = () => [ - { type: InitialService } -]; -if (false) { - /** - * @type {?} - * @private - */ - ThemeBasicModule.prototype.initialService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhlbWUtYmFzaWMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5iYXNpYy8iLCJzb3VyY2VzIjpbImxpYi90aGVtZS1iYXNpYy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQzFDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3pELE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLGlCQUFpQixFQUFFLGlCQUFpQixFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFDbEYsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sb0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GlkYXRpb25FcnJvckNvbXBvbmVudCxcclxuICAgIH0pLFxyXG4gIF0sXHJcbiAgZXhwb3J0czogWy4uLkxBWU9VVFNdLFxyXG4gIGVudHJ5Q29tcG9uZW50czogWy4uLkxBWU9VVFMsIFZhbGlkYXRpb25FcnJvckNvbXBvbmVudF0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBUaGVtZUJhc2ljTW9kdWxlIHtcclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIGluaXRpYWxTZXJ2aWNlOiBJbml0aWFsU2VydmljZSkge31cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm2015/public-api.js b/npm/ng-packs/dist/theme-basic/esm2015/public-api.js deleted file mode 100644 index 3e51b73707d..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm2015/public-api.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/* - * Public API Surface of theme-basic - */ -export { LAYOUTS, ThemeBasicModule } from './lib/theme-basic.module'; -export { AddNavigationElement, RemoveNavigationElementByName } from './lib/actions'; -export { AccountLayoutComponent, ApplicationLayoutComponent, EmptyLayoutComponent, ValidationErrorComponent } from './lib/components'; -export {} from './lib/models'; -export { LayoutState } from './lib/states'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuYmFzaWMvIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBSUEsMENBQWMsMEJBQTBCLENBQUM7QUFDekMsb0VBQWMsZUFBZSxDQUFDO0FBQzlCLG1IQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGVBQWMsY0FBYyxDQUFDO0FBQzdCLDRCQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXHJcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiB0aGVtZS1iYXNpY1xyXG4gKi9cclxuXHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3RoZW1lLWJhc2ljLm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2FjdGlvbnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21wb25lbnRzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvbW9kZWxzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvc3RhdGVzJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm5/abp-ng.theme.basic.js b/npm/ng-packs/dist/theme-basic/esm5/abp-ng.theme.basic.js deleted file mode 100644 index 84d997ac740..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm5/abp-ng.theme.basic.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.theme.basic.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { LAYOUTS, ThemeBasicModule, AddNavigationElement, RemoveNavigationElementByName, AccountLayoutComponent, ApplicationLayoutComponent, EmptyLayoutComponent, ValidationErrorComponent, LayoutState } from './public-api'; -export { AddNavigationElement as ɵg, RemoveNavigationElementByName as ɵh } from './lib/actions/layout.actions'; -export { AccountLayoutComponent as ɵc } from './lib/components/account-layout/account-layout.component'; -export { ApplicationLayoutComponent as ɵa } from './lib/components/application-layout/application-layout.component'; -export { EmptyLayoutComponent as ɵd } from './lib/components/empty-layout/empty-layout.component'; -export { ValidationErrorComponent as ɵe } from './lib/components/validation-error/validation-error.component'; -export { InitialService as ɵj } from './lib/services/initial.service'; -export { LayoutState as ɵb } from './lib/states'; -export { LayoutState as ɵf } from './lib/states/layout.state'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLnRoZW1lLmJhc2ljLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5iYXNpYy8iLCJzb3VyY2VzIjpbImFicC1uZy50aGVtZS5iYXNpYy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLGdOQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMsb0JBQW9CLElBQUksRUFBRSxFQUFDLDZCQUE2QixJQUFJLEVBQUUsRUFBQyxNQUFNLDhCQUE4QixDQUFDO0FBQzVHLE9BQU8sRUFBQyxzQkFBc0IsSUFBSSxFQUFFLEVBQUMsTUFBTSwwREFBMEQsQ0FBQztBQUN0RyxPQUFPLEVBQUMsMEJBQTBCLElBQUksRUFBRSxFQUFDLE1BQU0sa0VBQWtFLENBQUM7QUFDbEgsT0FBTyxFQUFDLG9CQUFvQixJQUFJLEVBQUUsRUFBQyxNQUFNLHNEQUFzRCxDQUFDO0FBQ2hHLE9BQU8sRUFBQyx3QkFBd0IsSUFBSSxFQUFFLEVBQUMsTUFBTSw4REFBOEQsQ0FBQztBQUU1RyxPQUFPLEVBQUMsY0FBYyxJQUFJLEVBQUUsRUFBQyxNQUFNLGdDQUFnQyxDQUFDO0FBQ3BFLE9BQU8sRUFBQyxXQUFXLElBQUksRUFBRSxFQUFDLE1BQU0sY0FBYyxDQUFDO0FBQy9DLE9BQU8sRUFBQyxXQUFXLElBQUksRUFBRSxFQUFDLE1BQU0sMkJBQTJCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG5cbmV4cG9ydCB7QWRkTmF2aWdhdGlvbkVsZW1lbnQgYXMgybVnLFJlbW92ZU5hdmlnYXRpb25FbGVtZW50QnlOYW1lIGFzIMm1aH0gZnJvbSAnLi9saWIvYWN0aW9ucy9sYXlvdXQuYWN0aW9ucyc7XG5leHBvcnQge0FjY291bnRMYXlvdXRDb21wb25lbnQgYXMgybVjfSBmcm9tICcuL2xpYi9jb21wb25lbnRzL2FjY291bnQtbGF5b3V0L2FjY291bnQtbGF5b3V0LmNvbXBvbmVudCc7XG5leHBvcnQge0FwcGxpY2F0aW9uTGF5b3V0Q29tcG9uZW50IGFzIMm1YX0gZnJvbSAnLi9saWIvY29tcG9uZW50cy9hcHBsaWNhdGlvbi1sYXlvdXQvYXBwbGljYXRpb24tbGF5b3V0LmNvbXBvbmVudCc7XG5leHBvcnQge0VtcHR5TGF5b3V0Q29tcG9uZW50IGFzIMm1ZH0gZnJvbSAnLi9saWIvY29tcG9uZW50cy9lbXB0eS1sYXlvdXQvZW1wdHktbGF5b3V0LmNvbXBvbmVudCc7XG5leHBvcnQge1ZhbGlkYXRpb25FcnJvckNvbXBvbmVudCBhcyDJtWV9IGZyb20gJy4vbGliL2NvbXBvbmVudHMvdmFsaWRhdGlvbi1lcnJvci92YWxpZGF0aW9uLWVycm9yLmNvbXBvbmVudCc7XG5leHBvcnQge0xheW91dCBhcyDJtWl9IGZyb20gJy4vbGliL21vZGVscy9sYXlvdXQnO1xuZXhwb3J0IHtJbml0aWFsU2VydmljZSBhcyDJtWp9IGZyb20gJy4vbGliL3NlcnZpY2VzL2luaXRpYWwuc2VydmljZSc7XG5leHBvcnQge0xheW91dFN0YXRlIGFzIMm1Yn0gZnJvbSAnLi9saWIvc3RhdGVzJztcbmV4cG9ydCB7TGF5b3V0U3RhdGUgYXMgybVmfSBmcm9tICcuL2xpYi9zdGF0ZXMvbGF5b3V0LnN0YXRlJzsiXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm5/lib/actions/index.js b/npm/ng-packs/dist/theme-basic/esm5/lib/actions/index.js deleted file mode 100644 index 1df9aec11d2..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm5/lib/actions/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { AddNavigationElement, RemoveNavigationElementByName } from './layout.actions'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLmJhc2ljLyIsInNvdXJjZXMiOlsibGliL2FjdGlvbnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxvRUFBYyxrQkFBa0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGF5b3V0LmFjdGlvbnMnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm5/lib/actions/layout.actions.js b/npm/ng-packs/dist/theme-basic/esm5/lib/actions/layout.actions.js deleted file mode 100644 index 9fbdda37194..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm5/lib/actions/layout.actions.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/layout.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var AddNavigationElement = /** @class */ (function () { - function AddNavigationElement(payload) { - this.payload = payload; - } - AddNavigationElement.type = '[Layout] Add Navigation Element'; - return AddNavigationElement; -}()); -export { AddNavigationElement }; -if (false) { - /** @type {?} */ - AddNavigationElement.type; - /** @type {?} */ - AddNavigationElement.prototype.payload; -} -var RemoveNavigationElementByName = /** @class */ (function () { - function RemoveNavigationElementByName(name) { - this.name = name; - } - RemoveNavigationElementByName.type = '[Layout] Remove Navigation ElementByName'; - return RemoveNavigationElementByName; -}()); -export { RemoveNavigationElementByName }; -if (false) { - /** @type {?} */ - RemoveNavigationElementByName.type; - /** @type {?} */ - RemoveNavigationElementByName.prototype.name; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LmFjdGlvbnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLmJhc2ljLyIsInNvdXJjZXMiOlsibGliL2FjdGlvbnMvbGF5b3V0LmFjdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFFQTtJQUVFLDhCQUFtQixPQUE4RDtRQUE5RCxZQUFPLEdBQVAsT0FBTyxDQUF1RDtJQUFHLENBQUM7SUFEckUseUJBQUksR0FBRyxpQ0FBaUMsQ0FBQztJQUUzRCwyQkFBQztDQUFBLEFBSEQsSUFHQztTQUhZLG9CQUFvQjs7O0lBQy9CLDBCQUF5RDs7SUFDN0MsdUNBQXFFOztBQUduRjtJQUVFLHVDQUFtQixJQUFZO1FBQVosU0FBSSxHQUFKLElBQUksQ0FBUTtJQUFHLENBQUM7SUFEbkIsa0NBQUksR0FBRywwQ0FBMEMsQ0FBQztJQUVwRSxvQ0FBQztDQUFBLEFBSEQsSUFHQztTQUhZLDZCQUE2Qjs7O0lBQ3hDLG1DQUFrRTs7SUFDdEQsNkNBQW1CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTGF5b3V0IH0gZnJvbSAnLi4vbW9kZWxzL2xheW91dCc7XHJcblxyXG5leHBvcnQgY2xhc3MgQWRkTmF2aWdhdGlvbkVsZW1lbnQge1xyXG4gIHN0YXRpYyByZWFkb25seSB0eXBlID0gJ1tMYXlvdXRdIEFkZCBOYXZpZ2F0aW9uIEVsZW1lbnQnO1xyXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBwYXlsb2FkOiBMYXlvdXQuTmF2aWdhdGlvbkVsZW1lbnQgfCBMYXlvdXQuTmF2aWdhdGlvbkVsZW1lbnRbXSkge31cclxufVxyXG5cclxuZXhwb3J0IGNsYXNzIFJlbW92ZU5hdmlnYXRpb25FbGVtZW50QnlOYW1lIHtcclxuICBzdGF0aWMgcmVhZG9ubHkgdHlwZSA9ICdbTGF5b3V0XSBSZW1vdmUgTmF2aWdhdGlvbiBFbGVtZW50QnlOYW1lJztcclxuICBjb25zdHJ1Y3RvcihwdWJsaWMgbmFtZTogc3RyaW5nKSB7fVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm5/lib/components/account-layout/account-layout.component.js b/npm/ng-packs/dist/theme-basic/esm5/lib/components/account-layout/account-layout.component.js deleted file mode 100644 index c22d8ddf403..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm5/lib/components/account-layout/account-layout.component.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/account-layout/account-layout.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component } from '@angular/core'; -var AccountLayoutComponent = /** @class */ (function () { - function AccountLayoutComponent() { - } - // required for dynamic component - AccountLayoutComponent.type = "account" /* account */; - AccountLayoutComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-layout-account', - template: "\n \n \n \n " - }] } - ]; - return AccountLayoutComponent; -}()); -export { AccountLayoutComponent }; -if (false) { - /** @type {?} */ - AccountLayoutComponent.type; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudC1sYXlvdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5iYXNpYy8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2FjY291bnQtbGF5b3V0L2FjY291bnQtbGF5b3V0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHMUM7SUFBQTtJQVdBLENBQUM7O0lBRFEsMkJBQUksMkJBQXVCOztnQkFWbkMsU0FBUyxTQUFDO29CQUNULFFBQVEsRUFBRSxvQkFBb0I7b0JBQzlCLFFBQVEsRUFBRSxtSEFJVDtpQkFDRjs7SUFJRCw2QkFBQztDQUFBLEFBWEQsSUFXQztTQUhZLHNCQUFzQjs7O0lBRWpDLDRCQUFrQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBlTGF5b3V0VHlwZSB9IGZyb20gJ0BhYnAvbmcuY29yZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ2FicC1sYXlvdXQtYWNjb3VudCcsXHJcbiAgdGVtcGxhdGU6IGBcclxuICAgIDxyb3V0ZXItb3V0bGV0Pjwvcm91dGVyLW91dGxldD5cclxuICAgIDxhYnAtY29uZmlybWF0aW9uPjwvYWJwLWNvbmZpcm1hdGlvbj5cclxuICAgIDxhYnAtdG9hc3Q+PC9hYnAtdG9hc3Q+XHJcbiAgYCxcclxufSlcclxuZXhwb3J0IGNsYXNzIEFjY291bnRMYXlvdXRDb21wb25lbnQge1xyXG4gIC8vIHJlcXVpcmVkIGZvciBkeW5hbWljIGNvbXBvbmVudFxyXG4gIHN0YXRpYyB0eXBlID0gZUxheW91dFR5cGUuYWNjb3VudDtcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm5/lib/components/application-layout/application-layout.component.js b/npm/ng-packs/dist/theme-basic/esm5/lib/components/application-layout/application-layout.component.js deleted file mode 100644 index a7203ee0fb8..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm5/lib/components/application-layout/application-layout.component.js +++ /dev/null @@ -1,372 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/application-layout/application-layout.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { ConfigState, GetAppConfiguration, SessionState, SetLanguage, takeUntilDestroy, } from '@abp/ng.core'; -import { collapseWithMargin, slideFromBottom } from '@abp/ng.theme.shared'; -import { Component, Renderer2, TemplateRef, ViewChild, } from '@angular/core'; -import { Navigate, RouterState } from '@ngxs/router-plugin'; -import { Select, Store } from '@ngxs/store'; -import { OAuthService } from 'angular-oauth2-oidc'; -import compare from 'just-compare'; -import { fromEvent, Observable } from 'rxjs'; -import { debounceTime, filter, map } from 'rxjs/operators'; -import snq from 'snq'; -import { AddNavigationElement } from '../../actions'; -import { LayoutState } from '../../states'; -var ApplicationLayoutComponent = /** @class */ (function () { - function ApplicationLayoutComponent(store, oauthService, renderer) { - this.store = store; - this.oauthService = oauthService; - this.renderer = renderer; - this.isCollapsed = true; - this.rightPartElements = []; - this.trackByFn = (/** - * @param {?} _ - * @param {?} item - * @return {?} - */ - function (_, item) { return item.name; }); - this.trackElementByFn = (/** - * @param {?} _ - * @param {?} element - * @return {?} - */ - function (_, element) { return element; }); - } - Object.defineProperty(ApplicationLayoutComponent.prototype, "appInfo", { - get: - // do not set true or false - /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(ConfigState.getApplicationInfo); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ApplicationLayoutComponent.prototype, "visibleRoutes$", { - get: /** - * @return {?} - */ - function () { - return this.routes$.pipe(map((/** - * @param {?} routes - * @return {?} - */ - function (routes) { return getVisibleRoutes(routes); }))); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ApplicationLayoutComponent.prototype, "defaultLanguage$", { - get: /** - * @return {?} - */ - function () { - var _this = this; - return this.languages$.pipe(map((/** - * @param {?} languages - * @return {?} - */ - function (languages) { return snq((/** - * @return {?} - */ - function () { return languages.find((/** - * @param {?} lang - * @return {?} - */ - function (lang) { return lang.cultureName === _this.selectedLangCulture; })).displayName; })); }), '')); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ApplicationLayoutComponent.prototype, "dropdownLanguages$", { - get: /** - * @return {?} - */ - function () { - var _this = this; - return this.languages$.pipe(map((/** - * @param {?} languages - * @return {?} - */ - function (languages) { return snq((/** - * @return {?} - */ - function () { return languages.filter((/** - * @param {?} lang - * @return {?} - */ - function (lang) { return lang.cultureName !== _this.selectedLangCulture; })); })); }), [])); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ApplicationLayoutComponent.prototype, "selectedLangCulture", { - get: /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(SessionState.getLanguage); - }, - enumerable: true, - configurable: true - }); - /** - * @private - * @return {?} - */ - ApplicationLayoutComponent.prototype.checkWindowWidth = /** - * @private - * @return {?} - */ - function () { - var _this = this; - setTimeout((/** - * @return {?} - */ - function () { - if (window.innerWidth < 768) { - _this.isDropdownChildDynamic = false; - if (_this.smallScreen === false) { - _this.isCollapsed = false; - setTimeout((/** - * @return {?} - */ - function () { - _this.isCollapsed = true; - }), 100); - } - _this.smallScreen = true; - } - else { - _this.isDropdownChildDynamic = true; - _this.smallScreen = false; - } - }), 0); - }; - /** - * @return {?} - */ - ApplicationLayoutComponent.prototype.ngAfterViewInit = /** - * @return {?} - */ - function () { - var _this = this; - /** @type {?} */ - var navigations = this.store.selectSnapshot(LayoutState.getNavigationElements).map((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var name = _a.name; - return name; - })); - if (navigations.indexOf('LanguageRef') < 0) { - this.store.dispatch(new AddNavigationElement([ - { element: this.languageRef, order: 4, name: 'LanguageRef' }, - { element: this.currentUserRef, order: 5, name: 'CurrentUserRef' }, - ])); - } - this.navElements$ - .pipe(map((/** - * @param {?} elements - * @return {?} - */ - function (elements) { return elements.map((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var element = _a.element; - return element; - })); })), filter((/** - * @param {?} elements - * @return {?} - */ - function (elements) { return !compare(elements, _this.rightPartElements); })), takeUntilDestroy(this)) - .subscribe((/** - * @param {?} elements - * @return {?} - */ - function (elements) { - setTimeout((/** - * @return {?} - */ - function () { return (_this.rightPartElements = elements); }), 0); - })); - this.checkWindowWidth(); - fromEvent(window, 'resize') - .pipe(takeUntilDestroy(this), debounceTime(150)) - .subscribe((/** - * @return {?} - */ - function () { - _this.checkWindowWidth(); - })); - }; - /** - * @return {?} - */ - ApplicationLayoutComponent.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - /** - * @param {?} cultureName - * @return {?} - */ - ApplicationLayoutComponent.prototype.onChangeLang = /** - * @param {?} cultureName - * @return {?} - */ - function (cultureName) { - this.store.dispatch(new SetLanguage(cultureName)); - }; - /** - * @return {?} - */ - ApplicationLayoutComponent.prototype.logout = /** - * @return {?} - */ - function () { - this.oauthService.logOut(); - this.store.dispatch(new Navigate(['/'], null, { - state: { redirectUrl: this.store.selectSnapshot(RouterState).state.url }, - })); - this.store.dispatch(new GetAppConfiguration()); - }; - /** - * @param {?} event - * @param {?} childrenContainer - * @return {?} - */ - ApplicationLayoutComponent.prototype.openChange = /** - * @param {?} event - * @param {?} childrenContainer - * @return {?} - */ - function (event, childrenContainer) { - var _this = this; - if (!event) { - Object.keys(childrenContainer.style) - .filter((/** - * @param {?} key - * @return {?} - */ - function (key) { return Number.isInteger(+key); })) - .forEach((/** - * @param {?} key - * @return {?} - */ - function (key) { - _this.renderer.removeStyle(childrenContainer, childrenContainer.style[key]); - })); - this.renderer.removeStyle(childrenContainer, 'left'); - } - }; - // required for dynamic component - ApplicationLayoutComponent.type = "application" /* application */; - ApplicationLayoutComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-layout-application', - template: "\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n\r\n
    \r\n \r\n
    \r\n\r\n \r\n
    \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n\r\n
      \r\n \r\n
    \r\n \r\n \r\n \r\n\r\n\r\n
    \r\n \r\n
    \r\n\r\n\r\n\r\n\r\n\r\n {{ appInfo.name }}\r\n\r\n\r\n\r\n
  • 0\" class=\"nav-item\">\r\n
    \r\n \r\n {{ defaultLanguage$ | async }}\r\n \r\n \r\n {{ lang?.displayName }}\r\n
    \r\n \r\n
  • \r\n
    \r\n\r\n\r\n
  • \r\n \r\n \r\n
  • \r\n
    \r\n", - animations: [slideFromBottom, collapseWithMargin] - }] } - ]; - /** @nocollapse */ - ApplicationLayoutComponent.ctorParameters = function () { return [ - { type: Store }, - { type: OAuthService }, - { type: Renderer2 } - ]; }; - ApplicationLayoutComponent.propDecorators = { - currentUserRef: [{ type: ViewChild, args: ['currentUser', { static: false, read: TemplateRef },] }], - languageRef: [{ type: ViewChild, args: ['language', { static: false, read: TemplateRef },] }] - }; - tslib_1.__decorate([ - Select(ConfigState.getOne('routes')), - tslib_1.__metadata("design:type", Observable) - ], ApplicationLayoutComponent.prototype, "routes$", void 0); - tslib_1.__decorate([ - Select(ConfigState.getOne('currentUser')), - tslib_1.__metadata("design:type", Observable) - ], ApplicationLayoutComponent.prototype, "currentUser$", void 0); - tslib_1.__decorate([ - Select(ConfigState.getDeep('localization.languages')), - tslib_1.__metadata("design:type", Observable) - ], ApplicationLayoutComponent.prototype, "languages$", void 0); - tslib_1.__decorate([ - Select(LayoutState.getNavigationElements), - tslib_1.__metadata("design:type", Observable) - ], ApplicationLayoutComponent.prototype, "navElements$", void 0); - return ApplicationLayoutComponent; -}()); -export { ApplicationLayoutComponent }; -if (false) { - /** @type {?} */ - ApplicationLayoutComponent.type; - /** @type {?} */ - ApplicationLayoutComponent.prototype.routes$; - /** @type {?} */ - ApplicationLayoutComponent.prototype.currentUser$; - /** @type {?} */ - ApplicationLayoutComponent.prototype.languages$; - /** @type {?} */ - ApplicationLayoutComponent.prototype.navElements$; - /** @type {?} */ - ApplicationLayoutComponent.prototype.currentUserRef; - /** @type {?} */ - ApplicationLayoutComponent.prototype.languageRef; - /** @type {?} */ - ApplicationLayoutComponent.prototype.isDropdownChildDynamic; - /** @type {?} */ - ApplicationLayoutComponent.prototype.isCollapsed; - /** @type {?} */ - ApplicationLayoutComponent.prototype.smallScreen; - /** @type {?} */ - ApplicationLayoutComponent.prototype.rightPartElements; - /** @type {?} */ - ApplicationLayoutComponent.prototype.trackByFn; - /** @type {?} */ - ApplicationLayoutComponent.prototype.trackElementByFn; - /** - * @type {?} - * @private - */ - ApplicationLayoutComponent.prototype.store; - /** - * @type {?} - * @private - */ - ApplicationLayoutComponent.prototype.oauthService; - /** - * @type {?} - * @private - */ - ApplicationLayoutComponent.prototype.renderer; -} -/** - * @param {?} routes - * @return {?} - */ -function getVisibleRoutes(routes) { - return routes.reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { - if (val.invisible) - return acc; - if (val.children && val.children.length) { - val.children = getVisibleRoutes(val.children); - } - return tslib_1.__spread(acc, [val]); - }), []); -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb24tbGF5b3V0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuYmFzaWMvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9hcHBsaWNhdGlvbi1sYXlvdXQvYXBwbGljYXRpb24tbGF5b3V0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBSUwsV0FBVyxFQUVYLG1CQUFtQixFQUNuQixZQUFZLEVBQ1osV0FBVyxFQUNYLGdCQUFnQixHQUNqQixNQUFNLGNBQWMsQ0FBQztBQUN0QixPQUFPLEVBQUUsa0JBQWtCLEVBQUUsZUFBZSxFQUFFLE1BQU0sc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XHJcbiAgICAgIE9iamVjdC5rZXlzKGNoaWxkcmVuQ29udGFpbmVyLnN0eWxlKVxyXG4gICAgICAgIC5maWx0ZXIoa2V5ID0+IE51bWJlci5pc0ludGVnZXIoK2tleSkpXHJcbiAgICAgICAgLmZvckVhY2goa2V5ID0+IHtcclxuICAgICAgICAgIHRoaXMucmVuZGVyZXIucmVtb3ZlU3R5bGUoY2hpbGRyZW5Db250YWluZXIsIGNoaWxkcmVuQ29udGFpbmVyLnN0eWxlW2tleV0pO1xyXG4gICAgICAgIH0pO1xyXG4gICAgICB0aGlzLnJlbmRlcmVyLnJlbW92ZVN0eWxlKGNoaWxkcmVuQ29udGFpbmVyLCAnbGVmdCcpO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG5cclxuZnVuY3Rpb24gZ2V0VmlzaWJsZVJvdXRlcyhyb3V0ZXM6IEFCUC5GdWxsUm91dGVbXSkge1xyXG4gIHJldHVybiByb3V0ZXMucmVkdWNlKChhY2MsIHZhbCkgPT4ge1xyXG4gICAgaWYgKHZhbC5pbnZpc2libGUpIHJldHVybiBhY2M7XHJcblxyXG4gICAgaWYgKHZhbC5jaGlsZHJlbiAmJiB2YWwuY2hpbGRyZW4ubGVuZ3RoKSB7XHJcbiAgICAgIHZhbC5jaGlsZHJlbiA9IGdldFZpc2libGVSb3V0ZXModmFsLmNoaWxkcmVuKTtcclxuICAgIH1cclxuXHJcbiAgICByZXR1cm4gWy4uLmFjYywgdmFsXTtcclxuICB9LCBbXSk7XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm5/lib/components/empty-layout/empty-layout.component.js b/npm/ng-packs/dist/theme-basic/esm5/lib/components/empty-layout/empty-layout.component.js deleted file mode 100644 index 577e64f3ecd..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm5/lib/components/empty-layout/empty-layout.component.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/empty-layout/empty-layout.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component } from '@angular/core'; -var EmptyLayoutComponent = /** @class */ (function () { - function EmptyLayoutComponent() { - } - EmptyLayoutComponent.type = "empty" /* empty */; - EmptyLayoutComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-layout-empty', - template: "\n \n \n \n " - }] } - ]; - return EmptyLayoutComponent; -}()); -export { EmptyLayoutComponent }; -if (false) { - /** @type {?} */ - EmptyLayoutComponent.type; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1wdHktbGF5b3V0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuYmFzaWMvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9lbXB0eS1sYXlvdXQvZW1wdHktbGF5b3V0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHMUM7SUFBQTtJQVVBLENBQUM7SUFEUSx5QkFBSSx1QkFBcUI7O2dCQVRqQyxTQUFTLFNBQUM7b0JBQ1QsUUFBUSxFQUFFLGtCQUFrQjtvQkFDNUIsUUFBUSxFQUFFLG1IQUlUO2lCQUNGOztJQUdELDJCQUFDO0NBQUEsQUFWRCxJQVVDO1NBRlksb0JBQW9COzs7SUFDL0IsMEJBQWdDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IGVMYXlvdXRUeXBlIH0gZnJvbSAnQGFicC9uZy5jb3JlJztcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gIHNlbGVjdG9yOiAnYWJwLWxheW91dC1lbXB0eScsXHJcbiAgdGVtcGxhdGU6IGBcclxuICAgIDxyb3V0ZXItb3V0bGV0Pjwvcm91dGVyLW91dGxldD5cclxuICAgIDxhYnAtY29uZmlybWF0aW9uPjwvYWJwLWNvbmZpcm1hdGlvbj5cclxuICAgIDxhYnAtdG9hc3Q+PC9hYnAtdG9hc3Q+XHJcbiAgYCxcclxufSlcclxuZXhwb3J0IGNsYXNzIEVtcHR5TGF5b3V0Q29tcG9uZW50IHtcclxuICBzdGF0aWMgdHlwZSA9IGVMYXlvdXRUeXBlLmVtcHR5O1xyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm5/lib/components/index.js b/npm/ng-packs/dist/theme-basic/esm5/lib/components/index.js deleted file mode 100644 index 3eaac5ba356..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm5/lib/components/index.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { AccountLayoutComponent } from './account-layout/account-layout.component'; -export { ApplicationLayoutComponent } from './application-layout/application-layout.component'; -export { EmptyLayoutComponent } from './empty-layout/empty-layout.component'; -export { ValidationErrorComponent } from './validation-error/validation-error.component'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLmJhc2ljLyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSx1Q0FBYywyQ0FBMkMsQ0FBQztBQUMxRCwyQ0FBYyxtREFBbUQsQ0FBQztBQUNsRSxxQ0FBYyx1Q0FBdUMsQ0FBQztBQUN0RCx5Q0FBYywrQ0FBK0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYWNjb3VudC1sYXlvdXQvYWNjb3VudC1sYXlvdXQuY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9hcHBsaWNhdGlvbi1sYXlvdXQvYXBwbGljYXRpb24tbGF5b3V0LmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vZW1wdHktbGF5b3V0L2VtcHR5LWxheW91dC5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL3ZhbGlkYXRpb24tZXJyb3IvdmFsaWRhdGlvbi1lcnJvci5jb21wb25lbnQnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm5/lib/components/validation-error/validation-error.component.js b/npm/ng-packs/dist/theme-basic/esm5/lib/components/validation-error/validation-error.component.js deleted file mode 100644 index d18b6fa23d5..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm5/lib/components/validation-error/validation-error.component.js +++ /dev/null @@ -1,50 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/validation-error/validation-error.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core'; -import { ValidationErrorComponent as ErrorComponent } from '@ngx-validate/core'; -var ValidationErrorComponent = /** @class */ (function (_super) { - tslib_1.__extends(ValidationErrorComponent, _super); - function ValidationErrorComponent() { - return _super !== null && _super.apply(this, arguments) || this; - } - Object.defineProperty(ValidationErrorComponent.prototype, "abpErrors", { - get: /** - * @return {?} - */ - function () { - if (!this.errors || !this.errors.length) - return []; - return this.errors.map((/** - * @param {?} error - * @return {?} - */ - function (error) { - if (!error.message) - return error; - /** @type {?} */ - var index = error.message.indexOf('['); - if (index > -1) { - return tslib_1.__assign({}, error, { message: error.message.slice(0, index), interpoliteParams: error.message.slice(index + 1, error.message.length - 1).split(',') }); - } - return error; - })); - }, - enumerable: true, - configurable: true - }); - ValidationErrorComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-validation-error', - template: "\n
    \n {{ error.message | abpLocalization: error.interpoliteParams }}\n
    \n ", - changeDetection: ChangeDetectionStrategy.OnPush, - encapsulation: ViewEncapsulation.None - }] } - ]; - return ValidationErrorComponent; -}(ErrorComponent)); -export { ValidationErrorComponent }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdGlvbi1lcnJvci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLmJhc2ljLyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvdmFsaWRhdGlvbi1lcnJvci92YWxpZGF0aW9uLWVycm9yLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3RGLE9BQU8sRUFBYyx3QkFBd0IsSUFBSSxjQUFjLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUU1RjtJQVU4QyxvREFBYztJQVY1RDs7SUE4QkEsQ0FBQztJQW5CQyxzQkFBSSwrQ0FBUzs7OztRQUFiO1lBQ0UsSUFBSSxDQUFDLElBQUksQ0FBQyxNQUFNLElBQUksQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLE1BQU07Z0JBQUUsT0FBTyxFQUFFLENBQUM7WUFFbkQsT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFDLEdBQUc7Ozs7WUFBQyxVQUFBLEtBQUs7Z0JBQzFCLElBQUksQ0FBQyxLQUFLLENBQUMsT0FBTztvQkFBRSxPQUFPLEtBQUssQ0FBQzs7b0JBRTNCLEtBQUssR0FBRyxLQUFLLENBQUMsT0FBTyxDQUFDLE9BQU8sQ0FBQyxHQUFHLENB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5kZXggKyAxLCBlcnJvci5tZXNzYWdlLmxlbmd0aCAtIDEpLnNwbGl0KCcsJyksXHJcbiAgICAgICAgfTtcclxuICAgICAgfVxyXG5cclxuICAgICAgcmV0dXJuIGVycm9yO1xyXG4gICAgfSk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm5/lib/constants/styles.js b/npm/ng-packs/dist/theme-basic/esm5/lib/constants/styles.js deleted file mode 100644 index f5931322196..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm5/lib/constants/styles.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/styles.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export default "\n.content-header-title {\n font-size: 24px;\n}\n\n.entry-row {\n margin-bottom: 15px;\n}\n\n#main-navbar-tools a.dropdown-toggle {\n text-decoration: none;\n color: #fff;\n}\n\n.navbar .dropdown-submenu {\n position: relative;\n}\n.navbar .dropdown-menu {\n margin: 0;\n padding: 0;\n}\n .navbar .dropdown-menu a {\n font-size: .9em;\n padding: 10px 15px;\n display: block;\n min-width: 210px;\n text-align: left;\n border-radius: 0.25rem;\n min-height: 44px;\n }\n.navbar .dropdown-submenu a::after {\n transform: rotate(-90deg);\n position: absolute;\n right: 16px;\n top: 18px;\n}\n.navbar .dropdown-submenu .dropdown-menu {\n top: 0;\n left: 100%;\n}\n\n.card-header .btn {\n padding: 2px 6px;\n}\n.card-header h5 {\n margin: 0;\n}\n.container > .card {\n box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;\n}\n.abp-confirm .abp-confirm-footer {\n background-color: #f4f4f7 !important;\n}\n.abp-confirm .ui-toast-message-content {\n background-color: #fff !important;\n}\n\n@media screen and (min-width: 768px) {\n .navbar .dropdown:hover > .dropdown-menu {\n display: block;\n }\n\n .navbar .dropdown-submenu:hover > .dropdown-menu {\n display: block;\n }\n}\n.input-validation-error {\n border-color: #dc3545;\n}\n.field-validation-error {\n font-size: 0.8em;\n}\n"; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3R5bGVzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5iYXNpYy8iLCJzb3VyY2VzIjpbImxpYi9jb25zdGFudHMvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsZUFBZSxtNUNBd0VkLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZGVmYXVsdCBgXHJcbi5jb250ZW50LWhlYWRlci10aXRsZSB7XHJcbiAgICBmb250LXNpemU6IDI0cHg7XHJcbn1cclxuXHJcbi5lbnRyeS1yb3cge1xyXG4gICAgbWFyZ2luLWJvdHRvbTogMTVweDtcclxufVxyXG5cclxuI21haW4tbmF2YmFyLXRvb2xzIGEuZHJvcGRvd24tdG9nZ2xlIHtcclxuICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcclxuICAgIGNvbG9yOiAjZmZmO1xyXG59XHJcblxyXG4ubmF2YmFyIC5kcm9wZG93bi1zdWJtZW51IHtcclxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxufVxyXG4ubmF2YmFyIC5kcm9wZG93bi1tZW51IHtcclxuICAgIG1hcmdpbjogMDtcclxuICAgIHBhZGRpbmc6IDA7XHJcbn1cclxuICAgIC5uYXZiYXIgLmRyb3Bkb3duLW1lbnUgYSB7XHJcbiAgICAgICAgZm9udC1zaXplOiAuOWVtO1xyXG4gICAgICAgIHBhZGRpbmc6IDEwcHggMTVweDtcclxuICAgICAgICBkaXNwbGF5OiBibG9jaztcclxuICAgICAgICBtaW4td2lkdGg6IDIxMHB4O1xyXG4gICAgICAgIHRleHQtYWxpZ246IGxlZnQ7XHJcbiAgICAgICAgYm9yZGVyLXJhZGl1czogMC4yNXJlbTt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WVudSB7XHJcbiAgICAgICAgZGlzcGxheTogYmxvY2s7XHJcbiAgICB9XHJcbn1cclxuLmlucHV0LXZhbGlkYXRpb24tZXJyb3Ige1xyXG4gICAgYm9yZGVyLWNvbG9yOiAjZGMzNTQ1O1xyXG59XHJcbi5maWVsZC12YWxpZGF0aW9uLWVycm9yIHtcclxuICAgIGZvbnQtc2l6ZTogMC44ZW07XHJcbn1cclxuYDtcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm5/lib/models/index.js b/npm/ng-packs/dist/theme-basic/esm5/lib/models/index.js deleted file mode 100644 index 54042668c8a..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm5/lib/models/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export {} from './layout'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLmJhc2ljLyIsInNvdXJjZXMiOlsibGliL21vZGVscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLGVBQWMsVUFBVSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9sYXlvdXQnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm5/lib/models/layout.js b/npm/ng-packs/dist/theme-basic/esm5/lib/models/layout.js deleted file mode 100644 index c3ea282ba0a..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm5/lib/models/layout.js +++ /dev/null @@ -1,31 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/layout.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var Layout; -(function (Layout) { - /** - * @record - */ - function State() { } - Layout.State = State; - if (false) { - /** @type {?} */ - State.prototype.navigationElements; - } - /** - * @record - */ - function NavigationElement() { } - Layout.NavigationElement = NavigationElement; - if (false) { - /** @type {?} */ - NavigationElement.prototype.name; - /** @type {?} */ - NavigationElement.prototype.element; - /** @type {?|undefined} */ - NavigationElement.prototype.order; - } -})(Layout || (Layout = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5iYXNpYy8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvbGF5b3V0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBRUEsTUFBTSxLQUFXLE1BQU0sQ0FVdEI7QUFWRCxXQUFpQixNQUFNOzs7O0lBQ3JCLG9CQUVDOzs7O1FBREMsbUNBQXdDOzs7OztJQUcxQyxnQ0FJQzs7OztRQUhDLGlDQUFhOztRQUNiLG9DQUEwQjs7UUFDMUIsa0NBQWU7O0FBRW5CLENBQUMsRUFWZ0IsTUFBTSxLQUFOLE1BQU0sUUFVdEIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBUZW1wbGF0ZVJlZiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuZXhwb3J0IG5hbWVzcGFjZSBMYXlvdXQge1xyXG4gIGV4cG9ydCBpbnRlcmZhY2UgU3RhdGUge1xyXG4gICAgbmF2aWdhdGlvbkVsZW1lbnRzOiBOYXZpZ2F0aW9uRWxlbWVudFtdO1xyXG4gIH1cclxuXHJcbiAgZXhwb3J0IGludGVyZmFjZSBOYXZpZ2F0aW9uRWxlbWVudCB7XHJcbiAgICBuYW1lOiBzdHJpbmc7XHJcbiAgICBlbGVtZW50OiBUZW1wbGF0ZVJlZjxhbnk+O1xyXG4gICAgb3JkZXI/OiBudW1iZXI7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm5/lib/services/initial.service.js b/npm/ng-packs/dist/theme-basic/esm5/lib/services/initial.service.js deleted file mode 100644 index 6cc6c37e21d..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm5/lib/services/initial.service.js +++ /dev/null @@ -1,43 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/initial.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { LazyLoadService } from '@abp/ng.core'; -import styles from '../constants/styles'; -import * as i0 from "@angular/core"; -import * as i1 from "@abp/ng.core"; -var InitialService = /** @class */ (function () { - function InitialService(lazyLoadService) { - this.lazyLoadService = lazyLoadService; - this.appendStyle().subscribe(); - } - /** - * @return {?} - */ - InitialService.prototype.appendStyle = /** - * @return {?} - */ - function () { - return this.lazyLoadService.load(null, 'style', styles, 'head', 'beforeend'); - }; - InitialService.decorators = [ - { type: Injectable, args: [{ providedIn: 'root' },] } - ]; - /** @nocollapse */ - InitialService.ctorParameters = function () { return [ - { type: LazyLoadService } - ]; }; - /** @nocollapse */ InitialService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function InitialService_Factory() { return new InitialService(i0.ɵɵinject(i1.LazyLoadService)); }, token: InitialService, providedIn: "root" }); - return InitialService; -}()); -export { InitialService }; -if (false) { - /** - * @type {?} - * @private - */ - InitialService.prototype.lazyLoadService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5pdGlhbC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5iYXNpYy8iLCJzb3VyY2VzIjpbImxpYi9zZXJ2aWNlcy9pbml0aWFsLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7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WRTZXJ2aWNlKSB7XHJcbiAgICB0aGlzLmFwcGVuZFN0eWxlKCkuc3Vic2NyaWJlKCk7XHJcbiAgfVxyXG5cclxuICBhcHBlbmRTdHlsZSgpIHtcclxuICAgIHJldHVybiB0aGlzLmxhenlMb2FkU2VydmljZS5sb2FkKG51bGwsICdzdHlsZScsIHN0eWxlcywgJ2hlYWQnLCAnYmVmb3JlZW5kJyk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm5/lib/states/index.js b/npm/ng-packs/dist/theme-basic/esm5/lib/states/index.js deleted file mode 100644 index b0e953a2539..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm5/lib/states/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { LayoutState } from './layout.state'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLmJhc2ljLyIsInNvdXJjZXMiOlsibGliL3N0YXRlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLDRCQUFjLGdCQUFnQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9sYXlvdXQuc3RhdGUnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm5/lib/states/layout.state.js b/npm/ng-packs/dist/theme-basic/esm5/lib/states/layout.state.js deleted file mode 100644 index 78e3837e659..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm5/lib/states/layout.state.js +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/states/layout.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { State, Action, Selector } from '@ngxs/store'; -import { AddNavigationElement, RemoveNavigationElementByName } from '../actions/layout.actions'; -import snq from 'snq'; -var LayoutState = /** @class */ (function () { - function LayoutState() { - } - /** - * @param {?} __0 - * @return {?} - */ - LayoutState.getNavigationElements = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var navigationElements = _a.navigationElements; - return navigationElements; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - LayoutState.prototype.layoutAddAction = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var getState = _a.getState, patchState = _a.patchState; - var _c = _b.payload, payload = _c === void 0 ? [] : _c; - var navigationElements = getState().navigationElements; - if (!Array.isArray(payload)) { - payload = [payload]; - } - if (navigationElements.length) { - payload = snq((/** - * @return {?} - */ - function () { - return ((/** @type {?} */ (payload))).filter((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var name = _a.name; - return navigationElements.findIndex((/** - * @param {?} nav - * @return {?} - */ - function (nav) { return nav.name === name; })) < 0; - })); - }), []); - } - if (!payload.length) - return; - navigationElements = tslib_1.__spread(navigationElements, payload).map((/** - * @param {?} element - * @return {?} - */ - function (element) { return (tslib_1.__assign({}, element, { order: element.order || 99 })); })) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - function (a, b) { return a.order - b.order; })); - return patchState({ - navigationElements: navigationElements, - }); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - LayoutState.prototype.layoutRemoveAction = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var getState = _a.getState, patchState = _a.patchState; - var name = _b.name; - var navigationElements = getState().navigationElements; - /** @type {?} */ - var index = navigationElements.findIndex((/** - * @param {?} element - * @return {?} - */ - function (element) { return element.name === name; })); - if (index > -1) { - navigationElements = navigationElements.splice(index, 1); - } - return patchState({ - navigationElements: navigationElements, - }); - }; - tslib_1.__decorate([ - Action(AddNavigationElement), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, AddNavigationElement]), - tslib_1.__metadata("design:returntype", void 0) - ], LayoutState.prototype, "layoutAddAction", null); - tslib_1.__decorate([ - Action(RemoveNavigationElementByName), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object, RemoveNavigationElementByName]), - tslib_1.__metadata("design:returntype", void 0) - ], LayoutState.prototype, "layoutRemoveAction", null); - tslib_1.__decorate([ - Selector(), - tslib_1.__metadata("design:type", Function), - tslib_1.__metadata("design:paramtypes", [Object]), - tslib_1.__metadata("design:returntype", Array) - ], LayoutState, "getNavigationElements", null); - LayoutState = tslib_1.__decorate([ - State({ - name: 'LayoutState', - defaults: (/** @type {?} */ ({ navigationElements: [] })), - }) - ], LayoutState); - return LayoutState; -}()); -export { LayoutState }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LnN0YXRlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5iYXNpYy8iLCJzb3VyY2VzIjpbImxpYi9zdGF0ZXMvbGF5b3V0LnN0YXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLE9BQU8sRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFnQixRQUFRLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFDcEUsT0FBTyxFQUFFLG9CQUFvQixFQUFFLDZCQUE2QixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFHaEcsT0FBTyxHQUFHLE1BQU0sS0FBSyxDQUFDOzs7SUF1RHRCLENBQUM7Ozs7O0lBL0NRLGlDQUFxQjs7OztJQUE1QixVQUE2QixFQUFvQztZQUFsQywwQ0FBa0I7UUFDL0MsT0FBTyxrQkFBa0IsQ0FBQztJQUM1QixDQUFDOzs7Ozs7SU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U5hdmlnYXRpb25FbGVtZW50QnlOYW1lKSB7XHJcbiAgICBsZXQgeyBuYXZpZ2F0aW9uRWxlbWVudHMgfSA9IGdldFN0YXRlKCk7XHJcblxyXG4gICAgY29uc3QgaW5kZXggPSBuYXZpZ2F0aW9uRWxlbWVudHMuZmluZEluZGV4KGVsZW1lbnQgPT4gZWxlbWVudC5uYW1lID09PSBuYW1lKTtcclxuXHJcbiAgICBpZiAoaW5kZXggPiAtMSkge1xyXG4gICAgICBuYXZpZ2F0aW9uRWxlbWVudHMgPSBuYXZpZ2F0aW9uRWxlbWVudHMuc3BsaWNlKGluZGV4LCAxKTtcclxuICAgIH1cclxuXHJcbiAgICByZXR1cm4gcGF0Y2hTdGF0ZSh7XHJcbiAgICAgIG5hdmlnYXRpb25FbGVtZW50cyxcclxuICAgIH0pO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm5/lib/theme-basic.module.js b/npm/ng-packs/dist/theme-basic/esm5/lib/theme-basic.module.js deleted file mode 100644 index 8034bd93603..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm5/lib/theme-basic.module.js +++ /dev/null @@ -1,69 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/theme-basic.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { CoreModule } from '@abp/ng.core'; -import { ThemeSharedModule } from '@abp/ng.theme.shared'; -import { NgModule } from '@angular/core'; -import { NgbCollapseModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; -import { NgxValidateCoreModule } from '@ngx-validate/core'; -import { NgxsModule } from '@ngxs/store'; -import { ToastModule } from 'primeng/toast'; -import { AccountLayoutComponent } from './components/account-layout/account-layout.component'; -import { ApplicationLayoutComponent } from './components/application-layout/application-layout.component'; -import { EmptyLayoutComponent } from './components/empty-layout/empty-layout.component'; -import { LayoutState } from './states/layout.state'; -import { ValidationErrorComponent } from './components/validation-error/validation-error.component'; -import { InitialService } from './services/initial.service'; -/** @type {?} */ -export var LAYOUTS = [ApplicationLayoutComponent, AccountLayoutComponent, EmptyLayoutComponent]; -var ThemeBasicModule = /** @class */ (function () { - function ThemeBasicModule(initialService) { - this.initialService = initialService; - } - ThemeBasicModule.decorators = [ - { type: NgModule, args: [{ - declarations: tslib_1.__spread(LAYOUTS, [ValidationErrorComponent]), - imports: [ - CoreModule, - ThemeSharedModule, - NgbCollapseModule, - NgbDropdownModule, - ToastModule, - NgxValidateCoreModule, - NgxsModule.forFeature([LayoutState]), - NgxValidateCoreModule.forRoot({ - targetSelector: '.form-group', - blueprints: { - email: 'AbpAccount::ThisFieldIsNotAValidEmailAddress.', - max: 'AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]', - maxlength: 'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMaximumLengthoOf{0}[{{ requiredLength }}]', - min: 'AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]', - minlength: 'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMinimumLengthOf{0}[{{ requiredLength }}]', - required: 'AbpAccount::ThisFieldIsRequired.', - passwordMismatch: 'AbpIdentity::Identity.PasswordConfirmationFailed', - }, - errorTemplate: ValidationErrorComponent, - }), - ], - exports: tslib_1.__spread(LAYOUTS), - entryComponents: tslib_1.__spread(LAYOUTS, [ValidationErrorComponent]), - },] } - ]; - /** @nocollapse */ - ThemeBasicModule.ctorParameters = function () { return [ - { type: InitialService } - ]; }; - return ThemeBasicModule; -}()); -export { ThemeBasicModule }; -if (false) { - /** - * @type {?} - * @private - */ - ThemeBasicModule.prototype.initialService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhlbWUtYmFzaWMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5iYXNpYy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gICAgICAgIG1pbmxlbmd0aDogJ0FicEFjY291bnQ6OlRoaXNGaWVsZE11c3RCZUFTdHJpbmdPckFycmF5VHlwZVdpdGhBTWluaW11bUxlbmd0aE9mezB9W3t7IHJlcXVpcmVkTGVuZ3RoIH19XScsXHJcbiAgICAgICAgcmVxdWlyZWQ6ICdBYnBBY2NvdW50OjpUaGlzRmllbGRJc1JlcXVpcmVkLicsXHJcbiAgICAgICAgcGFzc3dvcmRNaXNtYXRjaDogJ0FicElkZW50aXR5OjpJZGVudGl0eS5QYXNzd29yZENvbmZpcm1hdGlvbkZhaWxlZCcsXHJcbiAgICAgIH0sXHJcbiAgICAgIGVycm9yVGVtcGxhdGU6IFZhbGlkYXRpb25FcnJvckNvbXBvbmVudCxcclxuICAgIH0pLFxyXG4gIF0sXHJcbiAgZXhwb3J0czogWy4uLkxBWU9VVFNdLFxyXG4gIGVudHJ5Q29tcG9uZW50czogWy4uLkxBWU9VVFMsIFZhbGlkYXRpb25FcnJvckNvbXBvbmVudF0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBUaGVtZUJhc2ljTW9kdWxlIHtcclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIGluaXRpYWxTZXJ2aWNlOiBJbml0aWFsU2VydmljZSkge31cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/esm5/public-api.js b/npm/ng-packs/dist/theme-basic/esm5/public-api.js deleted file mode 100644 index 3e51b73707d..00000000000 --- a/npm/ng-packs/dist/theme-basic/esm5/public-api.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/* - * Public API Surface of theme-basic - */ -export { LAYOUTS, ThemeBasicModule } from './lib/theme-basic.module'; -export { AddNavigationElement, RemoveNavigationElementByName } from './lib/actions'; -export { AccountLayoutComponent, ApplicationLayoutComponent, EmptyLayoutComponent, ValidationErrorComponent } from './lib/components'; -export {} from './lib/models'; -export { LayoutState } from './lib/states'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuYmFzaWMvIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBSUEsMENBQWMsMEJBQTBCLENBQUM7QUFDekMsb0VBQWMsZUFBZSxDQUFDO0FBQzlCLG1IQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGVBQWMsY0FBYyxDQUFDO0FBQzdCLDRCQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXHJcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiB0aGVtZS1iYXNpY1xyXG4gKi9cclxuXHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3RoZW1lLWJhc2ljLm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2FjdGlvbnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21wb25lbnRzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvbW9kZWxzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvc3RhdGVzJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-basic/fesm2015/abp-ng.theme.basic.js b/npm/ng-packs/dist/theme-basic/fesm2015/abp-ng.theme.basic.js deleted file mode 100644 index f7f0f29512d..00000000000 --- a/npm/ng-packs/dist/theme-basic/fesm2015/abp-ng.theme.basic.js +++ /dev/null @@ -1,788 +0,0 @@ -import { ConfigState, SessionState, takeUntilDestroy, SetLanguage, GetAppConfiguration, LazyLoadService, CoreModule } from '@abp/ng.core'; -import { slideFromBottom, collapseWithMargin, ThemeSharedModule } from '@abp/ng.theme.shared'; -import { Component, Renderer2, ViewChild, TemplateRef, ChangeDetectionStrategy, ViewEncapsulation, Injectable, ɵɵdefineInjectable, ɵɵinject, NgModule } from '@angular/core'; -import { NgbCollapseModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; -import { ValidationErrorComponent as ValidationErrorComponent$1, NgxValidateCoreModule } from '@ngx-validate/core'; -import { Action, Selector, State, Store, Select, NgxsModule } from '@ngxs/store'; -import { ToastModule } from 'primeng/toast'; -import { __decorate, __metadata } from 'tslib'; -import { Navigate, RouterState } from '@ngxs/router-plugin'; -import { OAuthService } from 'angular-oauth2-oidc'; -import compare from 'just-compare'; -import { fromEvent, Observable } from 'rxjs'; -import { map, filter, debounceTime } from 'rxjs/operators'; -import snq from 'snq'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/account-layout/account-layout.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class AccountLayoutComponent { -} -// required for dynamic component -AccountLayoutComponent.type = "account" /* account */; -AccountLayoutComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-layout-account', - template: ` - - - - ` - }] } -]; -if (false) { - /** @type {?} */ - AccountLayoutComponent.type; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/layout.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class AddNavigationElement { - /** - * @param {?} payload - */ - constructor(payload) { - this.payload = payload; - } -} -AddNavigationElement.type = '[Layout] Add Navigation Element'; -if (false) { - /** @type {?} */ - AddNavigationElement.type; - /** @type {?} */ - AddNavigationElement.prototype.payload; -} -class RemoveNavigationElementByName { - /** - * @param {?} name - */ - constructor(name) { - this.name = name; - } -} -RemoveNavigationElementByName.type = '[Layout] Remove Navigation ElementByName'; -if (false) { - /** @type {?} */ - RemoveNavigationElementByName.type; - /** @type {?} */ - RemoveNavigationElementByName.prototype.name; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/layout.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -let LayoutState = class LayoutState { - /** - * @param {?} __0 - * @return {?} - */ - static getNavigationElements({ navigationElements }) { - return navigationElements; - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - layoutAddAction({ getState, patchState }, { payload = [] }) { - let { navigationElements } = getState(); - if (!Array.isArray(payload)) { - payload = [payload]; - } - if (navigationElements.length) { - payload = snq((/** - * @return {?} - */ - () => ((/** @type {?} */ (payload))).filter((/** - * @param {?} __0 - * @return {?} - */ - ({ name }) => navigationElements.findIndex((/** - * @param {?} nav - * @return {?} - */ - nav => nav.name === name)) < 0))), []); - } - if (!payload.length) - return; - navigationElements = [...navigationElements, ...payload] - .map((/** - * @param {?} element - * @return {?} - */ - element => (Object.assign({}, element, { order: element.order || 99 })))) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - (a, b) => a.order - b.order)); - return patchState({ - navigationElements, - }); - } - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - layoutRemoveAction({ getState, patchState }, { name }) { - let { navigationElements } = getState(); - /** @type {?} */ - const index = navigationElements.findIndex((/** - * @param {?} element - * @return {?} - */ - element => element.name === name)); - if (index > -1) { - navigationElements = navigationElements.splice(index, 1); - } - return patchState({ - navigationElements, - }); - } -}; -__decorate([ - Action(AddNavigationElement), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, AddNavigationElement]), - __metadata("design:returntype", void 0) -], LayoutState.prototype, "layoutAddAction", null); -__decorate([ - Action(RemoveNavigationElementByName), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, RemoveNavigationElementByName]), - __metadata("design:returntype", void 0) -], LayoutState.prototype, "layoutRemoveAction", null); -__decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Array) -], LayoutState, "getNavigationElements", null); -LayoutState = __decorate([ - State({ - name: 'LayoutState', - defaults: (/** @type {?} */ ({ navigationElements: [] })), - }) -], LayoutState); - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/application-layout/application-layout.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class ApplicationLayoutComponent { - /** - * @param {?} store - * @param {?} oauthService - * @param {?} renderer - */ - constructor(store, oauthService, renderer) { - this.store = store; - this.oauthService = oauthService; - this.renderer = renderer; - this.isCollapsed = true; - this.rightPartElements = []; - this.trackByFn = (/** - * @param {?} _ - * @param {?} item - * @return {?} - */ - (_, item) => item.name); - this.trackElementByFn = (/** - * @param {?} _ - * @param {?} element - * @return {?} - */ - (_, element) => element); - } - // do not set true or false - /** - * @return {?} - */ - get appInfo() { - return this.store.selectSnapshot(ConfigState.getApplicationInfo); - } - /** - * @return {?} - */ - get visibleRoutes$() { - return this.routes$.pipe(map((/** - * @param {?} routes - * @return {?} - */ - routes => getVisibleRoutes(routes)))); - } - /** - * @return {?} - */ - get defaultLanguage$() { - return this.languages$.pipe(map((/** - * @param {?} languages - * @return {?} - */ - languages => snq((/** - * @return {?} - */ - () => languages.find((/** - * @param {?} lang - * @return {?} - */ - lang => lang.cultureName === this.selectedLangCulture)).displayName))), '')); - } - /** - * @return {?} - */ - get dropdownLanguages$() { - return this.languages$.pipe(map((/** - * @param {?} languages - * @return {?} - */ - languages => snq((/** - * @return {?} - */ - () => languages.filter((/** - * @param {?} lang - * @return {?} - */ - lang => lang.cultureName !== this.selectedLangCulture))))), [])); - } - /** - * @return {?} - */ - get selectedLangCulture() { - return this.store.selectSnapshot(SessionState.getLanguage); - } - /** - * @private - * @return {?} - */ - checkWindowWidth() { - setTimeout((/** - * @return {?} - */ - () => { - if (window.innerWidth < 768) { - this.isDropdownChildDynamic = false; - if (this.smallScreen === false) { - this.isCollapsed = false; - setTimeout((/** - * @return {?} - */ - () => { - this.isCollapsed = true; - }), 100); - } - this.smallScreen = true; - } - else { - this.isDropdownChildDynamic = true; - this.smallScreen = false; - } - }), 0); - } - /** - * @return {?} - */ - ngAfterViewInit() { - /** @type {?} */ - const navigations = this.store.selectSnapshot(LayoutState.getNavigationElements).map((/** - * @param {?} __0 - * @return {?} - */ - ({ name }) => name)); - if (navigations.indexOf('LanguageRef') < 0) { - this.store.dispatch(new AddNavigationElement([ - { element: this.languageRef, order: 4, name: 'LanguageRef' }, - { element: this.currentUserRef, order: 5, name: 'CurrentUserRef' }, - ])); - } - this.navElements$ - .pipe(map((/** - * @param {?} elements - * @return {?} - */ - elements => elements.map((/** - * @param {?} __0 - * @return {?} - */ - ({ element }) => element)))), filter((/** - * @param {?} elements - * @return {?} - */ - elements => !compare(elements, this.rightPartElements))), takeUntilDestroy(this)) - .subscribe((/** - * @param {?} elements - * @return {?} - */ - elements => { - setTimeout((/** - * @return {?} - */ - () => (this.rightPartElements = elements)), 0); - })); - this.checkWindowWidth(); - fromEvent(window, 'resize') - .pipe(takeUntilDestroy(this), debounceTime(150)) - .subscribe((/** - * @return {?} - */ - () => { - this.checkWindowWidth(); - })); - } - /** - * @return {?} - */ - ngOnDestroy() { } - /** - * @param {?} cultureName - * @return {?} - */ - onChangeLang(cultureName) { - this.store.dispatch(new SetLanguage(cultureName)); - } - /** - * @return {?} - */ - logout() { - this.oauthService.logOut(); - this.store.dispatch(new Navigate(['/'], null, { - state: { redirectUrl: this.store.selectSnapshot(RouterState).state.url }, - })); - this.store.dispatch(new GetAppConfiguration()); - } - /** - * @param {?} event - * @param {?} childrenContainer - * @return {?} - */ - openChange(event, childrenContainer) { - if (!event) { - Object.keys(childrenContainer.style) - .filter((/** - * @param {?} key - * @return {?} - */ - key => Number.isInteger(+key))) - .forEach((/** - * @param {?} key - * @return {?} - */ - key => { - this.renderer.removeStyle(childrenContainer, childrenContainer.style[key]); - })); - this.renderer.removeStyle(childrenContainer, 'left'); - } - } -} -// required for dynamic component -ApplicationLayoutComponent.type = "application" /* application */; -ApplicationLayoutComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-layout-application', - template: "\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n\r\n
    \r\n \r\n
    \r\n\r\n \r\n
    \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n\r\n
      \r\n \r\n
    \r\n \r\n \r\n \r\n\r\n\r\n
    \r\n \r\n
    \r\n\r\n\r\n\r\n\r\n\r\n {{ appInfo.name }}\r\n\r\n\r\n\r\n
  • 0\" class=\"nav-item\">\r\n
    \r\n \r\n {{ defaultLanguage$ | async }}\r\n \r\n \r\n {{ lang?.displayName }}\r\n
    \r\n \r\n
  • \r\n
    \r\n\r\n\r\n
  • \r\n \r\n \r\n
  • \r\n
    \r\n", - animations: [slideFromBottom, collapseWithMargin] - }] } -]; -/** @nocollapse */ -ApplicationLayoutComponent.ctorParameters = () => [ - { type: Store }, - { type: OAuthService }, - { type: Renderer2 } -]; -ApplicationLayoutComponent.propDecorators = { - currentUserRef: [{ type: ViewChild, args: ['currentUser', { static: false, read: TemplateRef },] }], - languageRef: [{ type: ViewChild, args: ['language', { static: false, read: TemplateRef },] }] -}; -__decorate([ - Select(ConfigState.getOne('routes')), - __metadata("design:type", Observable) -], ApplicationLayoutComponent.prototype, "routes$", void 0); -__decorate([ - Select(ConfigState.getOne('currentUser')), - __metadata("design:type", Observable) -], ApplicationLayoutComponent.prototype, "currentUser$", void 0); -__decorate([ - Select(ConfigState.getDeep('localization.languages')), - __metadata("design:type", Observable) -], ApplicationLayoutComponent.prototype, "languages$", void 0); -__decorate([ - Select(LayoutState.getNavigationElements), - __metadata("design:type", Observable) -], ApplicationLayoutComponent.prototype, "navElements$", void 0); -if (false) { - /** @type {?} */ - ApplicationLayoutComponent.type; - /** @type {?} */ - ApplicationLayoutComponent.prototype.routes$; - /** @type {?} */ - ApplicationLayoutComponent.prototype.currentUser$; - /** @type {?} */ - ApplicationLayoutComponent.prototype.languages$; - /** @type {?} */ - ApplicationLayoutComponent.prototype.navElements$; - /** @type {?} */ - ApplicationLayoutComponent.prototype.currentUserRef; - /** @type {?} */ - ApplicationLayoutComponent.prototype.languageRef; - /** @type {?} */ - ApplicationLayoutComponent.prototype.isDropdownChildDynamic; - /** @type {?} */ - ApplicationLayoutComponent.prototype.isCollapsed; - /** @type {?} */ - ApplicationLayoutComponent.prototype.smallScreen; - /** @type {?} */ - ApplicationLayoutComponent.prototype.rightPartElements; - /** @type {?} */ - ApplicationLayoutComponent.prototype.trackByFn; - /** @type {?} */ - ApplicationLayoutComponent.prototype.trackElementByFn; - /** - * @type {?} - * @private - */ - ApplicationLayoutComponent.prototype.store; - /** - * @type {?} - * @private - */ - ApplicationLayoutComponent.prototype.oauthService; - /** - * @type {?} - * @private - */ - ApplicationLayoutComponent.prototype.renderer; -} -/** - * @param {?} routes - * @return {?} - */ -function getVisibleRoutes(routes) { - return routes.reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - (acc, val) => { - if (val.invisible) - return acc; - if (val.children && val.children.length) { - val.children = getVisibleRoutes(val.children); - } - return [...acc, val]; - }), []); -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/empty-layout/empty-layout.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class EmptyLayoutComponent { -} -EmptyLayoutComponent.type = "empty" /* empty */; -EmptyLayoutComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-layout-empty', - template: ` - - - - ` - }] } -]; -if (false) { - /** @type {?} */ - EmptyLayoutComponent.type; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/validation-error/validation-error.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class ValidationErrorComponent extends ValidationErrorComponent$1 { - /** - * @return {?} - */ - get abpErrors() { - if (!this.errors || !this.errors.length) - return []; - return this.errors.map((/** - * @param {?} error - * @return {?} - */ - error => { - if (!error.message) - return error; - /** @type {?} */ - const index = error.message.indexOf('['); - if (index > -1) { - return Object.assign({}, error, { message: error.message.slice(0, index), interpoliteParams: error.message.slice(index + 1, error.message.length - 1).split(',') }); - } - return error; - })); - } -} -ValidationErrorComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-validation-error', - template: ` -
    - {{ error.message | abpLocalization: error.interpoliteParams }} -
    - `, - changeDetection: ChangeDetectionStrategy.OnPush, - encapsulation: ViewEncapsulation.None - }] } -]; - -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/styles.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var styles = ` -.content-header-title { - font-size: 24px; -} - -.entry-row { - margin-bottom: 15px; -} - -#main-navbar-tools a.dropdown-toggle { - text-decoration: none; - color: #fff; -} - -.navbar .dropdown-submenu { - position: relative; -} -.navbar .dropdown-menu { - margin: 0; - padding: 0; -} - .navbar .dropdown-menu a { - font-size: .9em; - padding: 10px 15px; - display: block; - min-width: 210px; - text-align: left; - border-radius: 0.25rem; - min-height: 44px; - } -.navbar .dropdown-submenu a::after { - transform: rotate(-90deg); - position: absolute; - right: 16px; - top: 18px; -} -.navbar .dropdown-submenu .dropdown-menu { - top: 0; - left: 100%; -} - -.card-header .btn { - padding: 2px 6px; -} -.card-header h5 { - margin: 0; -} -.container > .card { - box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; -} -.abp-confirm .abp-confirm-footer { - background-color: #f4f4f7 !important; -} -.abp-confirm .ui-toast-message-content { - background-color: #fff !important; -} - -@media screen and (min-width: 768px) { - .navbar .dropdown:hover > .dropdown-menu { - display: block; - } - - .navbar .dropdown-submenu:hover > .dropdown-menu { - display: block; - } -} -.input-validation-error { - border-color: #dc3545; -} -.field-validation-error { - font-size: 0.8em; -} -`; - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/initial.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class InitialService { - /** - * @param {?} lazyLoadService - */ - constructor(lazyLoadService) { - this.lazyLoadService = lazyLoadService; - this.appendStyle().subscribe(); - } - /** - * @return {?} - */ - appendStyle() { - return this.lazyLoadService.load(null, 'style', styles, 'head', 'beforeend'); - } -} -InitialService.decorators = [ - { type: Injectable, args: [{ providedIn: 'root' },] } -]; -/** @nocollapse */ -InitialService.ctorParameters = () => [ - { type: LazyLoadService } -]; -/** @nocollapse */ InitialService.ngInjectableDef = ɵɵdefineInjectable({ factory: function InitialService_Factory() { return new InitialService(ɵɵinject(LazyLoadService)); }, token: InitialService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @private - */ - InitialService.prototype.lazyLoadService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/theme-basic.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @type {?} */ -const LAYOUTS = [ApplicationLayoutComponent, AccountLayoutComponent, EmptyLayoutComponent]; -class ThemeBasicModule { - /** - * @param {?} initialService - */ - constructor(initialService) { - this.initialService = initialService; - } -} -ThemeBasicModule.decorators = [ - { type: NgModule, args: [{ - declarations: [...LAYOUTS, ValidationErrorComponent], - imports: [ - CoreModule, - ThemeSharedModule, - NgbCollapseModule, - NgbDropdownModule, - ToastModule, - NgxValidateCoreModule, - NgxsModule.forFeature([LayoutState]), - NgxValidateCoreModule.forRoot({ - targetSelector: '.form-group', - blueprints: { - email: 'AbpAccount::ThisFieldIsNotAValidEmailAddress.', - max: 'AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]', - maxlength: 'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMaximumLengthoOf{0}[{{ requiredLength }}]', - min: 'AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]', - minlength: 'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMinimumLengthOf{0}[{{ requiredLength }}]', - required: 'AbpAccount::ThisFieldIsRequired.', - passwordMismatch: 'AbpIdentity::Identity.PasswordConfirmationFailed', - }, - errorTemplate: ValidationErrorComponent, - }), - ], - exports: [...LAYOUTS], - entryComponents: [...LAYOUTS, ValidationErrorComponent], - },] } -]; -/** @nocollapse */ -ThemeBasicModule.ctorParameters = () => [ - { type: InitialService } -]; -if (false) { - /** - * @type {?} - * @private - */ - ThemeBasicModule.prototype.initialService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/layout.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var Layout; -(function (Layout) { - /** - * @record - */ - function State() { } - Layout.State = State; - if (false) { - /** @type {?} */ - State.prototype.navigationElements; - } - /** - * @record - */ - function NavigationElement() { } - Layout.NavigationElement = NavigationElement; - if (false) { - /** @type {?} */ - NavigationElement.prototype.name; - /** @type {?} */ - NavigationElement.prototype.element; - /** @type {?|undefined} */ - NavigationElement.prototype.order; - } -})(Layout || (Layout = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.theme.basic.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { AccountLayoutComponent, AddNavigationElement, ApplicationLayoutComponent, EmptyLayoutComponent, LAYOUTS, LayoutState, RemoveNavigationElementByName, ThemeBasicModule, ValidationErrorComponent, ApplicationLayoutComponent as ɵa, LayoutState as ɵb, AccountLayoutComponent as ɵc, EmptyLayoutComponent as ɵd, ValidationErrorComponent as ɵe, LayoutState as ɵf, AddNavigationElement as ɵg, RemoveNavigationElementByName as ɵh, InitialService as ɵj }; -//# sourceMappingURL=abp-ng.theme.basic.js.map diff --git a/npm/ng-packs/dist/theme-basic/fesm2015/abp-ng.theme.basic.js.map b/npm/ng-packs/dist/theme-basic/fesm2015/abp-ng.theme.basic.js.map deleted file mode 100644 index e1df094ffbc..00000000000 --- a/npm/ng-packs/dist/theme-basic/fesm2015/abp-ng.theme.basic.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.theme.basic.js","sources":["ng://@abp/ng.theme.basic/lib/components/account-layout/account-layout.component.ts","ng://@abp/ng.theme.basic/lib/actions/layout.actions.ts","ng://@abp/ng.theme.basic/lib/states/layout.state.ts","ng://@abp/ng.theme.basic/lib/components/application-layout/application-layout.component.ts","ng://@abp/ng.theme.basic/lib/components/empty-layout/empty-layout.component.ts","ng://@abp/ng.theme.basic/lib/components/validation-error/validation-error.component.ts","ng://@abp/ng.theme.basic/lib/constants/styles.ts","ng://@abp/ng.theme.basic/lib/services/initial.service.ts","ng://@abp/ng.theme.basic/lib/theme-basic.module.ts","ng://@abp/ng.theme.basic/lib/models/layout.ts"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { eLayoutType } from '@abp/ng.core';\r\n\r\n@Component({\r\n selector: 'abp-layout-account',\r\n template: `\r\n \r\n \r\n \r\n `,\r\n})\r\nexport class AccountLayoutComponent {\r\n // required for dynamic component\r\n static type = eLayoutType.account;\r\n}\r\n","import { Layout } from '../models/layout';\r\n\r\nexport class AddNavigationElement {\r\n static readonly type = '[Layout] Add Navigation Element';\r\n constructor(public payload: Layout.NavigationElement | Layout.NavigationElement[]) {}\r\n}\r\n\r\nexport class RemoveNavigationElementByName {\r\n static readonly type = '[Layout] Remove Navigation ElementByName';\r\n constructor(public name: string) {}\r\n}\r\n","import { State, Action, StateContext, Selector } from '@ngxs/store';\r\nimport { AddNavigationElement, RemoveNavigationElementByName } from '../actions/layout.actions';\r\nimport { Layout } from '../models/layout';\r\nimport { TemplateRef } from '@angular/core';\r\nimport snq from 'snq';\r\n\r\n@State({\r\n name: 'LayoutState',\r\n defaults: { navigationElements: [] } as Layout.State,\r\n})\r\nexport class LayoutState {\r\n @Selector()\r\n static getNavigationElements({ navigationElements }: Layout.State): Layout.NavigationElement[] {\r\n return navigationElements;\r\n }\r\n\r\n @Action(AddNavigationElement)\r\n layoutAddAction({ getState, patchState }: StateContext, { payload = [] }: AddNavigationElement) {\r\n let { navigationElements } = getState();\r\n\r\n if (!Array.isArray(payload)) {\r\n payload = [payload];\r\n }\r\n\r\n if (navigationElements.length) {\r\n payload = snq(\r\n () =>\r\n (payload as Layout.NavigationElement[]).filter(\r\n ({ name }) => navigationElements.findIndex(nav => nav.name === name) < 0,\r\n ),\r\n [],\r\n );\r\n }\r\n\r\n if (!payload.length) return;\r\n\r\n navigationElements = [...navigationElements, ...payload]\r\n .map(element => ({ ...element, order: element.order || 99 }))\r\n .sort((a, b) => a.order - b.order);\r\n\r\n return patchState({\r\n navigationElements,\r\n });\r\n }\r\n\r\n @Action(RemoveNavigationElementByName)\r\n layoutRemoveAction({ getState, patchState }: StateContext, { name }: RemoveNavigationElementByName) {\r\n let { navigationElements } = getState();\r\n\r\n const index = navigationElements.findIndex(element => element.name === name);\r\n\r\n if (index > -1) {\r\n navigationElements = navigationElements.splice(index, 1);\r\n }\r\n\r\n return patchState({\r\n navigationElements,\r\n });\r\n }\r\n}\r\n","import {\r\n ABP,\r\n ApplicationConfiguration,\r\n Config,\r\n ConfigState,\r\n eLayoutType,\r\n GetAppConfiguration,\r\n SessionState,\r\n SetLanguage,\r\n takeUntilDestroy,\r\n} from '@abp/ng.core';\r\nimport { collapseWithMargin, slideFromBottom } from '@abp/ng.theme.shared';\r\nimport {\r\n AfterViewInit,\r\n Component,\r\n OnDestroy,\r\n QueryList,\r\n Renderer2,\r\n TemplateRef,\r\n TrackByFunction,\r\n ViewChild,\r\n ViewChildren,\r\n ElementRef,\r\n} from '@angular/core';\r\nimport { NgbDropdown } from '@ng-bootstrap/ng-bootstrap';\r\nimport { Navigate, RouterState } from '@ngxs/router-plugin';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { OAuthService } from 'angular-oauth2-oidc';\r\nimport compare from 'just-compare';\r\nimport { fromEvent, Observable } from 'rxjs';\r\nimport { debounceTime, filter, map } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport { AddNavigationElement } from '../../actions';\r\nimport { Layout } from '../../models/layout';\r\nimport { LayoutState } from '../../states';\r\n\r\n@Component({\r\n selector: 'abp-layout-application',\r\n templateUrl: './application-layout.component.html',\r\n animations: [slideFromBottom, collapseWithMargin],\r\n})\r\nexport class ApplicationLayoutComponent implements AfterViewInit, OnDestroy {\r\n // required for dynamic component\r\n static type = eLayoutType.application;\r\n\r\n @Select(ConfigState.getOne('routes'))\r\n routes$: Observable;\r\n\r\n @Select(ConfigState.getOne('currentUser'))\r\n currentUser$: Observable;\r\n\r\n @Select(ConfigState.getDeep('localization.languages'))\r\n languages$: Observable;\r\n\r\n @Select(LayoutState.getNavigationElements)\r\n navElements$: Observable;\r\n\r\n @ViewChild('currentUser', { static: false, read: TemplateRef })\r\n currentUserRef: TemplateRef;\r\n\r\n @ViewChild('language', { static: false, read: TemplateRef })\r\n languageRef: TemplateRef;\r\n\r\n isDropdownChildDynamic: boolean;\r\n\r\n isCollapsed = true;\r\n\r\n smallScreen: boolean; // do not set true or false\r\n\r\n get appInfo(): Config.Application {\r\n return this.store.selectSnapshot(ConfigState.getApplicationInfo);\r\n }\r\n\r\n get visibleRoutes$(): Observable {\r\n return this.routes$.pipe(map(routes => getVisibleRoutes(routes)));\r\n }\r\n\r\n get defaultLanguage$(): Observable {\r\n return this.languages$.pipe(\r\n map(\r\n languages => snq(() => languages.find(lang => lang.cultureName === this.selectedLangCulture).displayName),\r\n '',\r\n ),\r\n );\r\n }\r\n\r\n get dropdownLanguages$(): Observable {\r\n return this.languages$.pipe(\r\n map(languages => snq(() => languages.filter(lang => lang.cultureName !== this.selectedLangCulture)), []),\r\n );\r\n }\r\n\r\n get selectedLangCulture(): string {\r\n return this.store.selectSnapshot(SessionState.getLanguage);\r\n }\r\n\r\n rightPartElements: TemplateRef[] = [];\r\n\r\n trackByFn: TrackByFunction = (_, item) => item.name;\r\n\r\n trackElementByFn: TrackByFunction = (_, element) => element;\r\n\r\n constructor(private store: Store, private oauthService: OAuthService, private renderer: Renderer2) {}\r\n\r\n private checkWindowWidth() {\r\n setTimeout(() => {\r\n if (window.innerWidth < 768) {\r\n this.isDropdownChildDynamic = false;\r\n if (this.smallScreen === false) {\r\n this.isCollapsed = false;\r\n setTimeout(() => {\r\n this.isCollapsed = true;\r\n }, 100);\r\n }\r\n this.smallScreen = true;\r\n } else {\r\n this.isDropdownChildDynamic = true;\r\n this.smallScreen = false;\r\n }\r\n }, 0);\r\n }\r\n\r\n ngAfterViewInit() {\r\n const navigations = this.store.selectSnapshot(LayoutState.getNavigationElements).map(({ name }) => name);\r\n\r\n if (navigations.indexOf('LanguageRef') < 0) {\r\n this.store.dispatch(\r\n new AddNavigationElement([\r\n { element: this.languageRef, order: 4, name: 'LanguageRef' },\r\n { element: this.currentUserRef, order: 5, name: 'CurrentUserRef' },\r\n ]),\r\n );\r\n }\r\n\r\n this.navElements$\r\n .pipe(\r\n map(elements => elements.map(({ element }) => element)),\r\n filter(elements => !compare(elements, this.rightPartElements)),\r\n takeUntilDestroy(this),\r\n )\r\n .subscribe(elements => {\r\n setTimeout(() => (this.rightPartElements = elements), 0);\r\n });\r\n\r\n this.checkWindowWidth();\r\n\r\n fromEvent(window, 'resize')\r\n .pipe(\r\n takeUntilDestroy(this),\r\n debounceTime(150),\r\n )\r\n .subscribe(() => {\r\n this.checkWindowWidth();\r\n });\r\n }\r\n\r\n ngOnDestroy() {}\r\n\r\n onChangeLang(cultureName: string) {\r\n this.store.dispatch(new SetLanguage(cultureName));\r\n }\r\n\r\n logout() {\r\n this.oauthService.logOut();\r\n this.store.dispatch(\r\n new Navigate(['/'], null, {\r\n state: { redirectUrl: this.store.selectSnapshot(RouterState).state.url },\r\n }),\r\n );\r\n this.store.dispatch(new GetAppConfiguration());\r\n }\r\n\r\n openChange(event: boolean, childrenContainer: HTMLDivElement) {\r\n if (!event) {\r\n Object.keys(childrenContainer.style)\r\n .filter(key => Number.isInteger(+key))\r\n .forEach(key => {\r\n this.renderer.removeStyle(childrenContainer, childrenContainer.style[key]);\r\n });\r\n this.renderer.removeStyle(childrenContainer, 'left');\r\n }\r\n }\r\n}\r\n\r\nfunction getVisibleRoutes(routes: ABP.FullRoute[]) {\r\n return routes.reduce((acc, val) => {\r\n if (val.invisible) return acc;\r\n\r\n if (val.children && val.children.length) {\r\n val.children = getVisibleRoutes(val.children);\r\n }\r\n\r\n return [...acc, val];\r\n }, []);\r\n}\r\n","import { Component } from '@angular/core';\r\nimport { eLayoutType } from '@abp/ng.core';\r\n\r\n@Component({\r\n selector: 'abp-layout-empty',\r\n template: `\r\n \r\n \r\n \r\n `,\r\n})\r\nexport class EmptyLayoutComponent {\r\n static type = eLayoutType.empty;\r\n}\r\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\r\nimport { Validation, ValidationErrorComponent as ErrorComponent } from '@ngx-validate/core';\r\n\r\n@Component({\r\n selector: 'abp-validation-error',\r\n template: `\r\n
    \r\n {{ error.message | abpLocalization: error.interpoliteParams }}\r\n
    \r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class ValidationErrorComponent extends ErrorComponent {\r\n get abpErrors(): Validation.Error[] & { interpoliteParams?: string[] } {\r\n if (!this.errors || !this.errors.length) return [];\r\n\r\n return this.errors.map(error => {\r\n if (!error.message) return error;\r\n\r\n const index = error.message.indexOf('[');\r\n\r\n if (index > -1) {\r\n return {\r\n ...error,\r\n message: error.message.slice(0, index),\r\n interpoliteParams: error.message.slice(index + 1, error.message.length - 1).split(','),\r\n };\r\n }\r\n\r\n return error;\r\n });\r\n }\r\n}\r\n","export default `\r\n.content-header-title {\r\n font-size: 24px;\r\n}\r\n\r\n.entry-row {\r\n margin-bottom: 15px;\r\n}\r\n\r\n#main-navbar-tools a.dropdown-toggle {\r\n text-decoration: none;\r\n color: #fff;\r\n}\r\n\r\n.navbar .dropdown-submenu {\r\n position: relative;\r\n}\r\n.navbar .dropdown-menu {\r\n margin: 0;\r\n padding: 0;\r\n}\r\n .navbar .dropdown-menu a {\r\n font-size: .9em;\r\n padding: 10px 15px;\r\n display: block;\r\n min-width: 210px;\r\n text-align: left;\r\n border-radius: 0.25rem;\r\n min-height: 44px;\r\n }\r\n.navbar .dropdown-submenu a::after {\r\n transform: rotate(-90deg);\r\n position: absolute;\r\n right: 16px;\r\n top: 18px;\r\n}\r\n.navbar .dropdown-submenu .dropdown-menu {\r\n top: 0;\r\n left: 100%;\r\n}\r\n\r\n.card-header .btn {\r\n padding: 2px 6px;\r\n}\r\n.card-header h5 {\r\n margin: 0;\r\n}\r\n.container > .card {\r\n box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;\r\n}\r\n.abp-confirm .abp-confirm-footer {\r\n background-color: #f4f4f7 !important;\r\n}\r\n.abp-confirm .ui-toast-message-content {\r\n background-color: #fff !important;\r\n}\r\n\r\n@media screen and (min-width: 768px) {\r\n .navbar .dropdown:hover > .dropdown-menu {\r\n display: block;\r\n }\r\n\r\n .navbar .dropdown-submenu:hover > .dropdown-menu {\r\n display: block;\r\n }\r\n}\r\n.input-validation-error {\r\n border-color: #dc3545;\r\n}\r\n.field-validation-error {\r\n font-size: 0.8em;\r\n}\r\n`;\r\n","import { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { LazyLoadService } from '@abp/ng.core';\r\nimport styles from '../constants/styles';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class InitialService {\r\n constructor(private lazyLoadService: LazyLoadService) {\r\n this.appendStyle().subscribe();\r\n }\r\n\r\n appendStyle() {\r\n return this.lazyLoadService.load(null, 'style', styles, 'head', 'beforeend');\r\n }\r\n}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule } from '@angular/core';\r\nimport { NgbCollapseModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { ToastModule } from 'primeng/toast';\r\nimport { AccountLayoutComponent } from './components/account-layout/account-layout.component';\r\nimport { ApplicationLayoutComponent } from './components/application-layout/application-layout.component';\r\nimport { EmptyLayoutComponent } from './components/empty-layout/empty-layout.component';\r\nimport { LayoutState } from './states/layout.state';\r\nimport { ValidationErrorComponent } from './components/validation-error/validation-error.component';\r\nimport { InitialService } from './services/initial.service';\r\n\r\nexport const LAYOUTS = [ApplicationLayoutComponent, AccountLayoutComponent, EmptyLayoutComponent];\r\n\r\n@NgModule({\r\n declarations: [...LAYOUTS, ValidationErrorComponent],\r\n imports: [\r\n CoreModule,\r\n ThemeSharedModule,\r\n NgbCollapseModule,\r\n NgbDropdownModule,\r\n ToastModule,\r\n NgxValidateCoreModule,\r\n NgxsModule.forFeature([LayoutState]),\r\n NgxValidateCoreModule.forRoot({\r\n targetSelector: '.form-group',\r\n blueprints: {\r\n email: 'AbpAccount::ThisFieldIsNotAValidEmailAddress.',\r\n max: 'AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]',\r\n maxlength: 'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMaximumLengthoOf{0}[{{ requiredLength }}]',\r\n min: 'AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]',\r\n minlength: 'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMinimumLengthOf{0}[{{ requiredLength }}]',\r\n required: 'AbpAccount::ThisFieldIsRequired.',\r\n passwordMismatch: 'AbpIdentity::Identity.PasswordConfirmationFailed',\r\n },\r\n errorTemplate: ValidationErrorComponent,\r\n }),\r\n ],\r\n exports: [...LAYOUTS],\r\n entryComponents: [...LAYOUTS, ValidationErrorComponent],\r\n})\r\nexport class ThemeBasicModule {\r\n constructor(private initialService: InitialService) {}\r\n}\r\n","import { TemplateRef } from '@angular/core';\r\n\r\nexport namespace Layout {\r\n export interface State {\r\n navigationElements: NavigationElement[];\r\n }\r\n\r\n export interface NavigationElement {\r\n name: string;\r\n element: TemplateRef;\r\n order?: number;\r\n }\r\n}\r\n"],"names":["tslib_1.__decorate","ErrorComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,MAWa,sBAAsB;;;AAE1B,2BAAI,2BAAuB;;YAVnC,SAAS,SAAC;gBACT,QAAQ,EAAE,oBAAoB;gBAC9B,QAAQ,EAAE;;;;GAIT;aACF;;;;IAGC,4BAAkC;;;;;;;;ACXpC,MAAa,oBAAoB;;;;IAE/B,YAAmB,OAA8D;QAA9D,YAAO,GAAP,OAAO,CAAuD;KAAI;;AADrE,yBAAI,GAAG,iCAAiC,CAAC;;;IAAzD,0BAAyD;;IAC7C,uCAAqE;;AAGnF,MAAa,6BAA6B;;;;IAExC,YAAmB,IAAY;QAAZ,SAAI,GAAJ,IAAI,CAAQ;KAAI;;AADnB,kCAAI,GAAG,0CAA0C,CAAC;;;IAAlE,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npm/ng-packs/dist/theme-basic/fesm5/abp-ng.theme.basic.js deleted file mode 100644 index 0a65ce8fe25..00000000000 --- a/npm/ng-packs/dist/theme-basic/fesm5/abp-ng.theme.basic.js +++ /dev/null @@ -1,790 +0,0 @@ -import { __spread, __assign, __decorate, __metadata, __extends } from 'tslib'; -import { ConfigState, SessionState, takeUntilDestroy, SetLanguage, GetAppConfiguration, LazyLoadService, CoreModule } from '@abp/ng.core'; -import { slideFromBottom, collapseWithMargin, ThemeSharedModule } from '@abp/ng.theme.shared'; -import { Component, Renderer2, ViewChild, TemplateRef, ChangeDetectionStrategy, ViewEncapsulation, Injectable, ɵɵdefineInjectable, ɵɵinject, NgModule } from '@angular/core'; -import { NgbCollapseModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; -import { ValidationErrorComponent as ValidationErrorComponent$1, NgxValidateCoreModule } from '@ngx-validate/core'; -import { Action, Selector, State, Store, Select, NgxsModule } from '@ngxs/store'; -import { ToastModule } from 'primeng/toast'; -import { Navigate, RouterState } from '@ngxs/router-plugin'; -import { OAuthService } from 'angular-oauth2-oidc'; -import compare from 'just-compare'; -import { fromEvent, Observable } from 'rxjs'; -import { map, filter, debounceTime } from 'rxjs/operators'; -import snq from 'snq'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/account-layout/account-layout.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var AccountLayoutComponent = /** @class */ (function () { - function AccountLayoutComponent() { - } - // required for dynamic component - AccountLayoutComponent.type = "account" /* account */; - AccountLayoutComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-layout-account', - template: "\n \n \n \n " - }] } - ]; - return AccountLayoutComponent; -}()); -if (false) { - /** @type {?} */ - AccountLayoutComponent.type; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/layout.actions.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var AddNavigationElement = /** @class */ (function () { - function AddNavigationElement(payload) { - this.payload = payload; - } - AddNavigationElement.type = '[Layout] Add Navigation Element'; - return AddNavigationElement; -}()); -if (false) { - /** @type {?} */ - AddNavigationElement.type; - /** @type {?} */ - AddNavigationElement.prototype.payload; -} -var RemoveNavigationElementByName = /** @class */ (function () { - function RemoveNavigationElementByName(name) { - this.name = name; - } - RemoveNavigationElementByName.type = '[Layout] Remove Navigation ElementByName'; - return RemoveNavigationElementByName; -}()); -if (false) { - /** @type {?} */ - RemoveNavigationElementByName.type; - /** @type {?} */ - RemoveNavigationElementByName.prototype.name; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/actions/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/layout.state.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var LayoutState = /** @class */ (function () { - function LayoutState() { - } - /** - * @param {?} __0 - * @return {?} - */ - LayoutState.getNavigationElements = /** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var navigationElements = _a.navigationElements; - return navigationElements; - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - LayoutState.prototype.layoutAddAction = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var getState = _a.getState, patchState = _a.patchState; - var _c = _b.payload, payload = _c === void 0 ? [] : _c; - var navigationElements = getState().navigationElements; - if (!Array.isArray(payload)) { - payload = [payload]; - } - if (navigationElements.length) { - payload = snq((/** - * @return {?} - */ - function () { - return ((/** @type {?} */ (payload))).filter((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var name = _a.name; - return navigationElements.findIndex((/** - * @param {?} nav - * @return {?} - */ - function (nav) { return nav.name === name; })) < 0; - })); - }), []); - } - if (!payload.length) - return; - navigationElements = __spread(navigationElements, payload).map((/** - * @param {?} element - * @return {?} - */ - function (element) { return (__assign({}, element, { order: element.order || 99 })); })) - .sort((/** - * @param {?} a - * @param {?} b - * @return {?} - */ - function (a, b) { return a.order - b.order; })); - return patchState({ - navigationElements: navigationElements, - }); - }; - /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - LayoutState.prototype.layoutRemoveAction = /** - * @param {?} __0 - * @param {?} __1 - * @return {?} - */ - function (_a, _b) { - var getState = _a.getState, patchState = _a.patchState; - var name = _b.name; - var navigationElements = getState().navigationElements; - /** @type {?} */ - var index = navigationElements.findIndex((/** - * @param {?} element - * @return {?} - */ - function (element) { return element.name === name; })); - if (index > -1) { - navigationElements = navigationElements.splice(index, 1); - } - return patchState({ - navigationElements: navigationElements, - }); - }; - __decorate([ - Action(AddNavigationElement), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, AddNavigationElement]), - __metadata("design:returntype", void 0) - ], LayoutState.prototype, "layoutAddAction", null); - __decorate([ - Action(RemoveNavigationElementByName), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, RemoveNavigationElementByName]), - __metadata("design:returntype", void 0) - ], LayoutState.prototype, "layoutRemoveAction", null); - __decorate([ - Selector(), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object]), - __metadata("design:returntype", Array) - ], LayoutState, "getNavigationElements", null); - LayoutState = __decorate([ - State({ - name: 'LayoutState', - defaults: (/** @type {?} */ ({ navigationElements: [] })), - }) - ], LayoutState); - return LayoutState; -}()); - -/** - * @fileoverview added by tsickle - * Generated from: lib/states/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/application-layout/application-layout.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ApplicationLayoutComponent = /** @class */ (function () { - function ApplicationLayoutComponent(store, oauthService, renderer) { - this.store = store; - this.oauthService = oauthService; - this.renderer = renderer; - this.isCollapsed = true; - this.rightPartElements = []; - this.trackByFn = (/** - * @param {?} _ - * @param {?} item - * @return {?} - */ - function (_, item) { return item.name; }); - this.trackElementByFn = (/** - * @param {?} _ - * @param {?} element - * @return {?} - */ - function (_, element) { return element; }); - } - Object.defineProperty(ApplicationLayoutComponent.prototype, "appInfo", { - get: - // do not set true or false - /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(ConfigState.getApplicationInfo); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ApplicationLayoutComponent.prototype, "visibleRoutes$", { - get: /** - * @return {?} - */ - function () { - return this.routes$.pipe(map((/** - * @param {?} routes - * @return {?} - */ - function (routes) { return getVisibleRoutes(routes); }))); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ApplicationLayoutComponent.prototype, "defaultLanguage$", { - get: /** - * @return {?} - */ - function () { - var _this = this; - return this.languages$.pipe(map((/** - * @param {?} languages - * @return {?} - */ - function (languages) { return snq((/** - * @return {?} - */ - function () { return languages.find((/** - * @param {?} lang - * @return {?} - */ - function (lang) { return lang.cultureName === _this.selectedLangCulture; })).displayName; })); }), '')); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ApplicationLayoutComponent.prototype, "dropdownLanguages$", { - get: /** - * @return {?} - */ - function () { - var _this = this; - return this.languages$.pipe(map((/** - * @param {?} languages - * @return {?} - */ - function (languages) { return snq((/** - * @return {?} - */ - function () { return languages.filter((/** - * @param {?} lang - * @return {?} - */ - function (lang) { return lang.cultureName !== _this.selectedLangCulture; })); })); }), [])); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ApplicationLayoutComponent.prototype, "selectedLangCulture", { - get: /** - * @return {?} - */ - function () { - return this.store.selectSnapshot(SessionState.getLanguage); - }, - enumerable: true, - configurable: true - }); - /** - * @private - * @return {?} - */ - ApplicationLayoutComponent.prototype.checkWindowWidth = /** - * @private - * @return {?} - */ - function () { - var _this = this; - setTimeout((/** - * @return {?} - */ - function () { - if (window.innerWidth < 768) { - _this.isDropdownChildDynamic = false; - if (_this.smallScreen === false) { - _this.isCollapsed = false; - setTimeout((/** - * @return {?} - */ - function () { - _this.isCollapsed = true; - }), 100); - } - _this.smallScreen = true; - } - else { - _this.isDropdownChildDynamic = true; - _this.smallScreen = false; - } - }), 0); - }; - /** - * @return {?} - */ - ApplicationLayoutComponent.prototype.ngAfterViewInit = /** - * @return {?} - */ - function () { - var _this = this; - /** @type {?} */ - var navigations = this.store.selectSnapshot(LayoutState.getNavigationElements).map((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var name = _a.name; - return name; - })); - if (navigations.indexOf('LanguageRef') < 0) { - this.store.dispatch(new AddNavigationElement([ - { element: this.languageRef, order: 4, name: 'LanguageRef' }, - { element: this.currentUserRef, order: 5, name: 'CurrentUserRef' }, - ])); - } - this.navElements$ - .pipe(map((/** - * @param {?} elements - * @return {?} - */ - function (elements) { return elements.map((/** - * @param {?} __0 - * @return {?} - */ - function (_a) { - var element = _a.element; - return element; - })); })), filter((/** - * @param {?} elements - * @return {?} - */ - function (elements) { return !compare(elements, _this.rightPartElements); })), takeUntilDestroy(this)) - .subscribe((/** - * @param {?} elements - * @return {?} - */ - function (elements) { - setTimeout((/** - * @return {?} - */ - function () { return (_this.rightPartElements = elements); }), 0); - })); - this.checkWindowWidth(); - fromEvent(window, 'resize') - .pipe(takeUntilDestroy(this), debounceTime(150)) - .subscribe((/** - * @return {?} - */ - function () { - _this.checkWindowWidth(); - })); - }; - /** - * @return {?} - */ - ApplicationLayoutComponent.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - /** - * @param {?} cultureName - * @return {?} - */ - ApplicationLayoutComponent.prototype.onChangeLang = /** - * @param {?} cultureName - * @return {?} - */ - function (cultureName) { - this.store.dispatch(new SetLanguage(cultureName)); - }; - /** - * @return {?} - */ - ApplicationLayoutComponent.prototype.logout = /** - * @return {?} - */ - function () { - this.oauthService.logOut(); - this.store.dispatch(new Navigate(['/'], null, { - state: { redirectUrl: this.store.selectSnapshot(RouterState).state.url }, - })); - this.store.dispatch(new GetAppConfiguration()); - }; - /** - * @param {?} event - * @param {?} childrenContainer - * @return {?} - */ - ApplicationLayoutComponent.prototype.openChange = /** - * @param {?} event - * @param {?} childrenContainer - * @return {?} - */ - function (event, childrenContainer) { - var _this = this; - if (!event) { - Object.keys(childrenContainer.style) - .filter((/** - * @param {?} key - * @return {?} - */ - function (key) { return Number.isInteger(+key); })) - .forEach((/** - * @param {?} key - * @return {?} - */ - function (key) { - _this.renderer.removeStyle(childrenContainer, childrenContainer.style[key]); - })); - this.renderer.removeStyle(childrenContainer, 'left'); - } - }; - // required for dynamic component - ApplicationLayoutComponent.type = "application" /* application */; - ApplicationLayoutComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-layout-application', - template: "\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n\r\n
    \r\n \r\n
    \r\n\r\n \r\n
    \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n\r\n
      \r\n \r\n
    \r\n \r\n \r\n \r\n\r\n\r\n
    \r\n \r\n
    \r\n\r\n\r\n\r\n\r\n\r\n {{ appInfo.name }}\r\n\r\n\r\n\r\n
  • 0\" class=\"nav-item\">\r\n
    \r\n \r\n {{ defaultLanguage$ | async }}\r\n \r\n \r\n {{ lang?.displayName }}\r\n
    \r\n \r\n
  • \r\n
    \r\n\r\n\r\n
  • \r\n \r\n \r\n
  • \r\n
    \r\n", - animations: [slideFromBottom, collapseWithMargin] - }] } - ]; - /** @nocollapse */ - ApplicationLayoutComponent.ctorParameters = function () { return [ - { type: Store }, - { type: OAuthService }, - { type: Renderer2 } - ]; }; - ApplicationLayoutComponent.propDecorators = { - currentUserRef: [{ type: ViewChild, args: ['currentUser', { static: false, read: TemplateRef },] }], - languageRef: [{ type: ViewChild, args: ['language', { static: false, read: TemplateRef },] }] - }; - __decorate([ - Select(ConfigState.getOne('routes')), - __metadata("design:type", Observable) - ], ApplicationLayoutComponent.prototype, "routes$", void 0); - __decorate([ - Select(ConfigState.getOne('currentUser')), - __metadata("design:type", Observable) - ], ApplicationLayoutComponent.prototype, "currentUser$", void 0); - __decorate([ - Select(ConfigState.getDeep('localization.languages')), - __metadata("design:type", Observable) - ], ApplicationLayoutComponent.prototype, "languages$", void 0); - __decorate([ - Select(LayoutState.getNavigationElements), - __metadata("design:type", Observable) - ], ApplicationLayoutComponent.prototype, "navElements$", void 0); - return ApplicationLayoutComponent; -}()); -if (false) { - /** @type {?} */ - ApplicationLayoutComponent.type; - /** @type {?} */ - ApplicationLayoutComponent.prototype.routes$; - /** @type {?} */ - ApplicationLayoutComponent.prototype.currentUser$; - /** @type {?} */ - ApplicationLayoutComponent.prototype.languages$; - /** @type {?} */ - ApplicationLayoutComponent.prototype.navElements$; - /** @type {?} */ - ApplicationLayoutComponent.prototype.currentUserRef; - /** @type {?} */ - ApplicationLayoutComponent.prototype.languageRef; - /** @type {?} */ - ApplicationLayoutComponent.prototype.isDropdownChildDynamic; - /** @type {?} */ - ApplicationLayoutComponent.prototype.isCollapsed; - /** @type {?} */ - ApplicationLayoutComponent.prototype.smallScreen; - /** @type {?} */ - ApplicationLayoutComponent.prototype.rightPartElements; - /** @type {?} */ - ApplicationLayoutComponent.prototype.trackByFn; - /** @type {?} */ - ApplicationLayoutComponent.prototype.trackElementByFn; - /** - * @type {?} - * @private - */ - ApplicationLayoutComponent.prototype.store; - /** - * @type {?} - * @private - */ - ApplicationLayoutComponent.prototype.oauthService; - /** - * @type {?} - * @private - */ - ApplicationLayoutComponent.prototype.renderer; -} -/** - * @param {?} routes - * @return {?} - */ -function getVisibleRoutes(routes) { - return routes.reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { - if (val.invisible) - return acc; - if (val.children && val.children.length) { - val.children = getVisibleRoutes(val.children); - } - return __spread(acc, [val]); - }), []); -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/empty-layout/empty-layout.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var EmptyLayoutComponent = /** @class */ (function () { - function EmptyLayoutComponent() { - } - EmptyLayoutComponent.type = "empty" /* empty */; - EmptyLayoutComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-layout-empty', - template: "\n \n \n \n " - }] } - ]; - return EmptyLayoutComponent; -}()); -if (false) { - /** @type {?} */ - EmptyLayoutComponent.type; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/validation-error/validation-error.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ValidationErrorComponent = /** @class */ (function (_super) { - __extends(ValidationErrorComponent, _super); - function ValidationErrorComponent() { - return _super !== null && _super.apply(this, arguments) || this; - } - Object.defineProperty(ValidationErrorComponent.prototype, "abpErrors", { - get: /** - * @return {?} - */ - function () { - if (!this.errors || !this.errors.length) - return []; - return this.errors.map((/** - * @param {?} error - * @return {?} - */ - function (error) { - if (!error.message) - return error; - /** @type {?} */ - var index = error.message.indexOf('['); - if (index > -1) { - return __assign({}, error, { message: error.message.slice(0, index), interpoliteParams: error.message.slice(index + 1, error.message.length - 1).split(',') }); - } - return error; - })); - }, - enumerable: true, - configurable: true - }); - ValidationErrorComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-validation-error', - template: "\n
    \n {{ error.message | abpLocalization: error.interpoliteParams }}\n
    \n ", - changeDetection: ChangeDetectionStrategy.OnPush, - encapsulation: ViewEncapsulation.None - }] } - ]; - return ValidationErrorComponent; -}(ValidationErrorComponent$1)); - -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/styles.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var styles = "\n.content-header-title {\n font-size: 24px;\n}\n\n.entry-row {\n margin-bottom: 15px;\n}\n\n#main-navbar-tools a.dropdown-toggle {\n text-decoration: none;\n color: #fff;\n}\n\n.navbar .dropdown-submenu {\n position: relative;\n}\n.navbar .dropdown-menu {\n margin: 0;\n padding: 0;\n}\n .navbar .dropdown-menu a {\n font-size: .9em;\n padding: 10px 15px;\n display: block;\n min-width: 210px;\n text-align: left;\n border-radius: 0.25rem;\n min-height: 44px;\n }\n.navbar .dropdown-submenu a::after {\n transform: rotate(-90deg);\n position: absolute;\n right: 16px;\n top: 18px;\n}\n.navbar .dropdown-submenu .dropdown-menu {\n top: 0;\n left: 100%;\n}\n\n.card-header .btn {\n padding: 2px 6px;\n}\n.card-header h5 {\n margin: 0;\n}\n.container > .card {\n box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;\n}\n.abp-confirm .abp-confirm-footer {\n background-color: #f4f4f7 !important;\n}\n.abp-confirm .ui-toast-message-content {\n background-color: #fff !important;\n}\n\n@media screen and (min-width: 768px) {\n .navbar .dropdown:hover > .dropdown-menu {\n display: block;\n }\n\n .navbar .dropdown-submenu:hover > .dropdown-menu {\n display: block;\n }\n}\n.input-validation-error {\n border-color: #dc3545;\n}\n.field-validation-error {\n font-size: 0.8em;\n}\n"; - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/initial.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var InitialService = /** @class */ (function () { - function InitialService(lazyLoadService) { - this.lazyLoadService = lazyLoadService; - this.appendStyle().subscribe(); - } - /** - * @return {?} - */ - InitialService.prototype.appendStyle = /** - * @return {?} - */ - function () { - return this.lazyLoadService.load(null, 'style', styles, 'head', 'beforeend'); - }; - InitialService.decorators = [ - { type: Injectable, args: [{ providedIn: 'root' },] } - ]; - /** @nocollapse */ - InitialService.ctorParameters = function () { return [ - { type: LazyLoadService } - ]; }; - /** @nocollapse */ InitialService.ngInjectableDef = ɵɵdefineInjectable({ factory: function InitialService_Factory() { return new InitialService(ɵɵinject(LazyLoadService)); }, token: InitialService, providedIn: "root" }); - return InitialService; -}()); -if (false) { - /** - * @type {?} - * @private - */ - InitialService.prototype.lazyLoadService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/theme-basic.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @type {?} */ -var LAYOUTS = [ApplicationLayoutComponent, AccountLayoutComponent, EmptyLayoutComponent]; -var ThemeBasicModule = /** @class */ (function () { - function ThemeBasicModule(initialService) { - this.initialService = initialService; - } - ThemeBasicModule.decorators = [ - { type: NgModule, args: [{ - declarations: __spread(LAYOUTS, [ValidationErrorComponent]), - imports: [ - CoreModule, - ThemeSharedModule, - NgbCollapseModule, - NgbDropdownModule, - ToastModule, - NgxValidateCoreModule, - NgxsModule.forFeature([LayoutState]), - NgxValidateCoreModule.forRoot({ - targetSelector: '.form-group', - blueprints: { - email: 'AbpAccount::ThisFieldIsNotAValidEmailAddress.', - max: 'AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]', - maxlength: 'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMaximumLengthoOf{0}[{{ requiredLength }}]', - min: 'AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]', - minlength: 'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMinimumLengthOf{0}[{{ requiredLength }}]', - required: 'AbpAccount::ThisFieldIsRequired.', - passwordMismatch: 'AbpIdentity::Identity.PasswordConfirmationFailed', - }, - errorTemplate: ValidationErrorComponent, - }), - ], - exports: __spread(LAYOUTS), - entryComponents: __spread(LAYOUTS, [ValidationErrorComponent]), - },] } - ]; - /** @nocollapse */ - ThemeBasicModule.ctorParameters = function () { return [ - { type: InitialService } - ]; }; - return ThemeBasicModule; -}()); -if (false) { - /** - * @type {?} - * @private - */ - ThemeBasicModule.prototype.initialService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/layout.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var Layout; -(function (Layout) { - /** - * @record - */ - function State() { } - Layout.State = State; - if (false) { - /** @type {?} */ - State.prototype.navigationElements; - } - /** - * @record - */ - function NavigationElement() { } - Layout.NavigationElement = NavigationElement; - if (false) { - /** @type {?} */ - NavigationElement.prototype.name; - /** @type {?} */ - NavigationElement.prototype.element; - /** @type {?|undefined} */ - NavigationElement.prototype.order; - } -})(Layout || (Layout = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.theme.basic.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { AccountLayoutComponent, AddNavigationElement, ApplicationLayoutComponent, EmptyLayoutComponent, LAYOUTS, LayoutState, RemoveNavigationElementByName, ThemeBasicModule, ValidationErrorComponent, ApplicationLayoutComponent as ɵa, LayoutState as ɵb, AccountLayoutComponent as ɵc, EmptyLayoutComponent as ɵd, ValidationErrorComponent as ɵe, LayoutState as ɵf, AddNavigationElement as ɵg, RemoveNavigationElementByName as ɵh, InitialService as ɵj }; -//# sourceMappingURL=abp-ng.theme.basic.js.map diff --git a/npm/ng-packs/dist/theme-basic/fesm5/abp-ng.theme.basic.js.map b/npm/ng-packs/dist/theme-basic/fesm5/abp-ng.theme.basic.js.map deleted file mode 100644 index af10354c6dc..00000000000 --- a/npm/ng-packs/dist/theme-basic/fesm5/abp-ng.theme.basic.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.theme.basic.js","sources":["ng://@abp/ng.theme.basic/lib/components/account-layout/account-layout.component.ts","ng://@abp/ng.theme.basic/lib/actions/layout.actions.ts","ng://@abp/ng.theme.basic/lib/states/layout.state.ts","ng://@abp/ng.theme.basic/lib/components/application-layout/application-layout.component.ts","ng://@abp/ng.theme.basic/lib/components/empty-layout/empty-layout.component.ts","ng://@abp/ng.theme.basic/lib/components/validation-error/validation-error.component.ts","ng://@abp/ng.theme.basic/lib/constants/styles.ts","ng://@abp/ng.theme.basic/lib/services/initial.service.ts","ng://@abp/ng.theme.basic/lib/theme-basic.module.ts","ng://@abp/ng.theme.basic/lib/models/layout.ts"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { eLayoutType } from '@abp/ng.core';\r\n\r\n@Component({\r\n selector: 'abp-layout-account',\r\n template: `\r\n \r\n \r\n \r\n `,\r\n})\r\nexport class AccountLayoutComponent {\r\n // required for dynamic component\r\n static type = eLayoutType.account;\r\n}\r\n","import { Layout } from '../models/layout';\r\n\r\nexport class AddNavigationElement {\r\n static readonly type = '[Layout] Add Navigation Element';\r\n constructor(public payload: Layout.NavigationElement | Layout.NavigationElement[]) {}\r\n}\r\n\r\nexport class RemoveNavigationElementByName {\r\n static readonly type = '[Layout] Remove Navigation ElementByName';\r\n constructor(public name: string) {}\r\n}\r\n","import { State, Action, StateContext, Selector } from '@ngxs/store';\r\nimport { AddNavigationElement, RemoveNavigationElementByName } from '../actions/layout.actions';\r\nimport { Layout } from '../models/layout';\r\nimport { TemplateRef } from '@angular/core';\r\nimport snq from 'snq';\r\n\r\n@State({\r\n name: 'LayoutState',\r\n defaults: { navigationElements: [] } as Layout.State,\r\n})\r\nexport class LayoutState {\r\n @Selector()\r\n static getNavigationElements({ navigationElements }: Layout.State): Layout.NavigationElement[] {\r\n return navigationElements;\r\n }\r\n\r\n @Action(AddNavigationElement)\r\n layoutAddAction({ getState, patchState }: StateContext, { payload = [] }: AddNavigationElement) {\r\n let { navigationElements } = getState();\r\n\r\n if (!Array.isArray(payload)) {\r\n payload = [payload];\r\n }\r\n\r\n if (navigationElements.length) {\r\n payload = snq(\r\n () =>\r\n (payload as Layout.NavigationElement[]).filter(\r\n ({ name }) => navigationElements.findIndex(nav => nav.name === name) < 0,\r\n ),\r\n [],\r\n );\r\n }\r\n\r\n if (!payload.length) return;\r\n\r\n navigationElements = [...navigationElements, ...payload]\r\n .map(element => ({ ...element, order: element.order || 99 }))\r\n .sort((a, b) => a.order - b.order);\r\n\r\n return patchState({\r\n navigationElements,\r\n });\r\n }\r\n\r\n @Action(RemoveNavigationElementByName)\r\n layoutRemoveAction({ getState, patchState }: StateContext, { name }: RemoveNavigationElementByName) {\r\n let { navigationElements } = getState();\r\n\r\n const index = navigationElements.findIndex(element => element.name === name);\r\n\r\n if (index > -1) {\r\n navigationElements = navigationElements.splice(index, 1);\r\n }\r\n\r\n return patchState({\r\n navigationElements,\r\n });\r\n }\r\n}\r\n","import {\r\n ABP,\r\n ApplicationConfiguration,\r\n Config,\r\n ConfigState,\r\n eLayoutType,\r\n GetAppConfiguration,\r\n SessionState,\r\n SetLanguage,\r\n takeUntilDestroy,\r\n} from '@abp/ng.core';\r\nimport { collapseWithMargin, slideFromBottom } from '@abp/ng.theme.shared';\r\nimport {\r\n AfterViewInit,\r\n Component,\r\n OnDestroy,\r\n QueryList,\r\n Renderer2,\r\n TemplateRef,\r\n TrackByFunction,\r\n ViewChild,\r\n ViewChildren,\r\n ElementRef,\r\n} from '@angular/core';\r\nimport { NgbDropdown } from '@ng-bootstrap/ng-bootstrap';\r\nimport { Navigate, RouterState } from '@ngxs/router-plugin';\r\nimport { Select, Store } from '@ngxs/store';\r\nimport { OAuthService } from 'angular-oauth2-oidc';\r\nimport compare from 'just-compare';\r\nimport { fromEvent, Observable } from 'rxjs';\r\nimport { debounceTime, filter, map } from 'rxjs/operators';\r\nimport snq from 'snq';\r\nimport { AddNavigationElement } from '../../actions';\r\nimport { Layout } from '../../models/layout';\r\nimport { LayoutState } from '../../states';\r\n\r\n@Component({\r\n selector: 'abp-layout-application',\r\n templateUrl: './application-layout.component.html',\r\n animations: [slideFromBottom, collapseWithMargin],\r\n})\r\nexport class ApplicationLayoutComponent implements AfterViewInit, OnDestroy {\r\n // required for dynamic component\r\n static type = eLayoutType.application;\r\n\r\n @Select(ConfigState.getOne('routes'))\r\n routes$: Observable;\r\n\r\n @Select(ConfigState.getOne('currentUser'))\r\n currentUser$: Observable;\r\n\r\n @Select(ConfigState.getDeep('localization.languages'))\r\n languages$: Observable;\r\n\r\n @Select(LayoutState.getNavigationElements)\r\n navElements$: Observable;\r\n\r\n @ViewChild('currentUser', { static: false, read: TemplateRef })\r\n currentUserRef: TemplateRef;\r\n\r\n @ViewChild('language', { static: false, read: TemplateRef })\r\n languageRef: TemplateRef;\r\n\r\n isDropdownChildDynamic: boolean;\r\n\r\n isCollapsed = true;\r\n\r\n smallScreen: boolean; // do not set true or false\r\n\r\n get appInfo(): Config.Application {\r\n return this.store.selectSnapshot(ConfigState.getApplicationInfo);\r\n }\r\n\r\n get visibleRoutes$(): Observable {\r\n return this.routes$.pipe(map(routes => getVisibleRoutes(routes)));\r\n }\r\n\r\n get defaultLanguage$(): Observable {\r\n return this.languages$.pipe(\r\n map(\r\n languages => snq(() => languages.find(lang => lang.cultureName === this.selectedLangCulture).displayName),\r\n '',\r\n ),\r\n );\r\n }\r\n\r\n get dropdownLanguages$(): Observable {\r\n return this.languages$.pipe(\r\n map(languages => snq(() => languages.filter(lang => lang.cultureName !== this.selectedLangCulture)), []),\r\n );\r\n }\r\n\r\n get selectedLangCulture(): string {\r\n return this.store.selectSnapshot(SessionState.getLanguage);\r\n }\r\n\r\n rightPartElements: TemplateRef[] = [];\r\n\r\n trackByFn: TrackByFunction = (_, item) => item.name;\r\n\r\n trackElementByFn: TrackByFunction = (_, element) => element;\r\n\r\n constructor(private store: Store, private oauthService: OAuthService, private renderer: Renderer2) {}\r\n\r\n private checkWindowWidth() {\r\n setTimeout(() => {\r\n if (window.innerWidth < 768) {\r\n this.isDropdownChildDynamic = false;\r\n if (this.smallScreen === false) {\r\n this.isCollapsed = false;\r\n setTimeout(() => {\r\n this.isCollapsed = true;\r\n }, 100);\r\n }\r\n this.smallScreen = true;\r\n } else {\r\n this.isDropdownChildDynamic = true;\r\n this.smallScreen = false;\r\n }\r\n }, 0);\r\n }\r\n\r\n ngAfterViewInit() {\r\n const navigations = this.store.selectSnapshot(LayoutState.getNavigationElements).map(({ name }) => name);\r\n\r\n if (navigations.indexOf('LanguageRef') < 0) {\r\n this.store.dispatch(\r\n new AddNavigationElement([\r\n { element: this.languageRef, order: 4, name: 'LanguageRef' },\r\n { element: this.currentUserRef, order: 5, name: 'CurrentUserRef' },\r\n ]),\r\n );\r\n }\r\n\r\n this.navElements$\r\n .pipe(\r\n map(elements => elements.map(({ element }) => element)),\r\n filter(elements => !compare(elements, this.rightPartElements)),\r\n takeUntilDestroy(this),\r\n )\r\n .subscribe(elements => {\r\n setTimeout(() => (this.rightPartElements = elements), 0);\r\n });\r\n\r\n this.checkWindowWidth();\r\n\r\n fromEvent(window, 'resize')\r\n .pipe(\r\n takeUntilDestroy(this),\r\n debounceTime(150),\r\n )\r\n .subscribe(() => {\r\n this.checkWindowWidth();\r\n });\r\n }\r\n\r\n ngOnDestroy() {}\r\n\r\n onChangeLang(cultureName: string) {\r\n this.store.dispatch(new SetLanguage(cultureName));\r\n }\r\n\r\n logout() {\r\n this.oauthService.logOut();\r\n this.store.dispatch(\r\n new Navigate(['/'], null, {\r\n state: { redirectUrl: this.store.selectSnapshot(RouterState).state.url },\r\n }),\r\n );\r\n this.store.dispatch(new GetAppConfiguration());\r\n }\r\n\r\n openChange(event: boolean, childrenContainer: HTMLDivElement) {\r\n if (!event) {\r\n Object.keys(childrenContainer.style)\r\n .filter(key => Number.isInteger(+key))\r\n .forEach(key => {\r\n this.renderer.removeStyle(childrenContainer, childrenContainer.style[key]);\r\n });\r\n this.renderer.removeStyle(childrenContainer, 'left');\r\n }\r\n }\r\n}\r\n\r\nfunction getVisibleRoutes(routes: ABP.FullRoute[]) {\r\n return routes.reduce((acc, val) => {\r\n if (val.invisible) return acc;\r\n\r\n if (val.children && val.children.length) {\r\n val.children = getVisibleRoutes(val.children);\r\n }\r\n\r\n return [...acc, val];\r\n }, []);\r\n}\r\n","import { Component } from '@angular/core';\r\nimport { eLayoutType } from '@abp/ng.core';\r\n\r\n@Component({\r\n selector: 'abp-layout-empty',\r\n template: `\r\n \r\n \r\n \r\n `,\r\n})\r\nexport class EmptyLayoutComponent {\r\n static type = eLayoutType.empty;\r\n}\r\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\r\nimport { Validation, ValidationErrorComponent as ErrorComponent } from '@ngx-validate/core';\r\n\r\n@Component({\r\n selector: 'abp-validation-error',\r\n template: `\r\n
    \r\n {{ error.message | abpLocalization: error.interpoliteParams }}\r\n
    \r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class ValidationErrorComponent extends ErrorComponent {\r\n get abpErrors(): Validation.Error[] & { interpoliteParams?: string[] } {\r\n if (!this.errors || !this.errors.length) return [];\r\n\r\n return this.errors.map(error => {\r\n if (!error.message) return error;\r\n\r\n const index = error.message.indexOf('[');\r\n\r\n if (index > -1) {\r\n return {\r\n ...error,\r\n message: error.message.slice(0, index),\r\n interpoliteParams: error.message.slice(index + 1, error.message.length - 1).split(','),\r\n };\r\n }\r\n\r\n return error;\r\n });\r\n }\r\n}\r\n","export default `\r\n.content-header-title {\r\n font-size: 24px;\r\n}\r\n\r\n.entry-row {\r\n margin-bottom: 15px;\r\n}\r\n\r\n#main-navbar-tools a.dropdown-toggle {\r\n text-decoration: none;\r\n color: #fff;\r\n}\r\n\r\n.navbar .dropdown-submenu {\r\n position: relative;\r\n}\r\n.navbar .dropdown-menu {\r\n margin: 0;\r\n padding: 0;\r\n}\r\n .navbar .dropdown-menu a {\r\n font-size: .9em;\r\n padding: 10px 15px;\r\n display: block;\r\n min-width: 210px;\r\n text-align: left;\r\n border-radius: 0.25rem;\r\n min-height: 44px;\r\n }\r\n.navbar .dropdown-submenu a::after {\r\n transform: rotate(-90deg);\r\n position: absolute;\r\n right: 16px;\r\n top: 18px;\r\n}\r\n.navbar .dropdown-submenu .dropdown-menu {\r\n top: 0;\r\n left: 100%;\r\n}\r\n\r\n.card-header .btn {\r\n padding: 2px 6px;\r\n}\r\n.card-header h5 {\r\n margin: 0;\r\n}\r\n.container > .card {\r\n box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;\r\n}\r\n.abp-confirm .abp-confirm-footer {\r\n background-color: #f4f4f7 !important;\r\n}\r\n.abp-confirm .ui-toast-message-content {\r\n background-color: #fff !important;\r\n}\r\n\r\n@media screen and (min-width: 768px) {\r\n .navbar .dropdown:hover > .dropdown-menu {\r\n display: block;\r\n }\r\n\r\n .navbar .dropdown-submenu:hover > .dropdown-menu {\r\n display: block;\r\n }\r\n}\r\n.input-validation-error {\r\n border-color: #dc3545;\r\n}\r\n.field-validation-error {\r\n font-size: 0.8em;\r\n}\r\n`;\r\n","import { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { LazyLoadService } from '@abp/ng.core';\r\nimport styles from '../constants/styles';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class InitialService {\r\n constructor(private lazyLoadService: LazyLoadService) {\r\n this.appendStyle().subscribe();\r\n }\r\n\r\n appendStyle() {\r\n return this.lazyLoadService.load(null, 'style', styles, 'head', 'beforeend');\r\n }\r\n}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { NgModule } from '@angular/core';\r\nimport { NgbCollapseModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { ToastModule } from 'primeng/toast';\r\nimport { AccountLayoutComponent } from './components/account-layout/account-layout.component';\r\nimport { ApplicationLayoutComponent } from './components/application-layout/application-layout.component';\r\nimport { EmptyLayoutComponent } from './components/empty-layout/empty-layout.component';\r\nimport { LayoutState } from './states/layout.state';\r\nimport { ValidationErrorComponent } from './components/validation-error/validation-error.component';\r\nimport { InitialService } from './services/initial.service';\r\n\r\nexport const LAYOUTS = [ApplicationLayoutComponent, AccountLayoutComponent, EmptyLayoutComponent];\r\n\r\n@NgModule({\r\n declarations: [...LAYOUTS, ValidationErrorComponent],\r\n imports: [\r\n CoreModule,\r\n ThemeSharedModule,\r\n NgbCollapseModule,\r\n NgbDropdownModule,\r\n ToastModule,\r\n NgxValidateCoreModule,\r\n NgxsModule.forFeature([LayoutState]),\r\n NgxValidateCoreModule.forRoot({\r\n targetSelector: '.form-group',\r\n blueprints: {\r\n email: 'AbpAccount::ThisFieldIsNotAValidEmailAddress.',\r\n max: 'AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]',\r\n maxlength: 'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMaximumLengthoOf{0}[{{ requiredLength }}]',\r\n min: 'AbpAccount::ThisFieldMustBeBetween{0}And{1}[{{ min }},{{ max }}]',\r\n minlength: 'AbpAccount::ThisFieldMustBeAStringOrArrayTypeWithAMinimumLengthOf{0}[{{ requiredLength }}]',\r\n required: 'AbpAccount::ThisFieldIsRequired.',\r\n passwordMismatch: 'AbpIdentity::Identity.PasswordConfirmationFailed',\r\n },\r\n errorTemplate: ValidationErrorComponent,\r\n }),\r\n ],\r\n exports: [...LAYOUTS],\r\n entryComponents: [...LAYOUTS, ValidationErrorComponent],\r\n})\r\nexport class ThemeBasicModule {\r\n constructor(private initialService: InitialService) {}\r\n}\r\n","import { TemplateRef } from '@angular/core';\r\n\r\nexport namespace Layout {\r\n export interface State {\r\n navigationElements: NavigationElement[];\r\n }\r\n\r\n export interface NavigationElement {\r\n name: string;\r\n element: TemplateRef;\r\n order?: number;\r\n }\r\n}\r\n"],"names":["tslib_1.__spread","tslib_1.__decorate","tslib_1.__extends","ErrorComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;IAGA;KAWC;;IADQ,2BAAI,2BAAuB;;gBAVnC,SAAS,SAAC;oBACT,QAAQ,EAAE,oBAAoB;oBAC9B,QAAQ,EAAE,mHAIT;iBACF;;IAID,6BAAC;CAXD,IAWC;;;IADC,4BAAkC;;;;;;;;ACXpC;IAEE,8BAAmB,OAA8D;QAA9D,YAAO,GAAP,OAAO,CAAuD;KAAI;IADrE,yBAAI,GAAG,iCAAiC,CAAC;IAE3D,2BAAC;CAHD,IAGC;;;IAFC,0BAAyD;;IAC7C,uCAAqE;;AAGnF;IAEE,uCAAmB,IAAY;QAAZ,SAAI,GAAJ,IAAI,CAAQ;KAAI;IADnB,kCAAI,GAAG,0CAA0C,CAAC;IAEpE,oCAAC;CAHD,IAGC;;;IAFC,mCAAkE;;IACtD,6CAAmB;;;;;;;;;;;;;;;;KCkDhC;;;;;IA/CQ,iCAAqB;;;;IAA5B,UAA6B,EAAoC;YAAlC,0CAAkB;QAC/C,OAAO,kBAAkB,CAAC;KAC3B;;;;;;IAGD,qCAAe;;;;;IAAf,UAAgB,EAAoD,EAAE,EAAsC;YAA1F,sBAAQ,EAAE,0BAAU;YAAkC,eAAY,EAAZ,iCAAY;QAC5E,IAAA,kDAAkB;QAExB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE;YAC3B,OAAO,GAAG,CAAC,OAAO,CAAC,CAAC;SACrB;QAED,IAAI,kBAAkB,CAAC,MAAM,EAAE;YAC7B,OAAO,GAAG,GAAG;;;YACX;gBACE,OAAA,oBAAC,OAAO,IAAgC,MAAM;;;;gBAC5C,UAAC,EAAQ;wBAAN,cAA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.d.ts deleted file mode 100644 index 2e29080de88..00000000000 --- a/npm/ng-packs/dist/theme-basic/lib/actions/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './layout.actions'; diff --git a/npm/ng-packs/dist/theme-basic/lib/actions/layout.actions.d.ts b/npm/ng-packs/dist/theme-basic/lib/actions/layout.actions.d.ts deleted file mode 100644 index 0af529c5c3c..00000000000 --- a/npm/ng-packs/dist/theme-basic/lib/actions/layout.actions.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Layout } from '../models/layout'; -export declare class AddNavigationElement { - payload: Layout.NavigationElement | Layout.NavigationElement[]; - static readonly type = "[Layout] Add Navigation Element"; - constructor(payload: Layout.NavigationElement | Layout.NavigationElement[]); -} -export declare class RemoveNavigationElementByName { - name: string; - static readonly type = "[Layout] Remove Navigation ElementByName"; - constructor(name: string); -} diff --git a/npm/ng-packs/dist/theme-basic/lib/components/account-layout/account-layout.component.d.ts b/npm/ng-packs/dist/theme-basic/lib/components/account-layout/account-layout.component.d.ts deleted file mode 100644 index 6f276026a92..00000000000 --- a/npm/ng-packs/dist/theme-basic/lib/components/account-layout/account-layout.component.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { eLayoutType } from '@abp/ng.core'; -export declare class AccountLayoutComponent { - static type: eLayoutType; -} diff --git a/npm/ng-packs/dist/theme-basic/lib/components/application-layout/application-layout.component.d.ts b/npm/ng-packs/dist/theme-basic/lib/components/application-layout/application-layout.component.d.ts deleted file mode 100644 index 71eb6f18b7d..00000000000 --- a/npm/ng-packs/dist/theme-basic/lib/components/application-layout/application-layout.component.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { ABP, ApplicationConfiguration, Config, eLayoutType } from '@abp/ng.core'; -import { AfterViewInit, OnDestroy, Renderer2, TemplateRef, TrackByFunction } from '@angular/core'; -import { Store } from '@ngxs/store'; -import { OAuthService } from 'angular-oauth2-oidc'; -import { Observable } from 'rxjs'; -import { Layout } from '../../models/layout'; -export declare class ApplicationLayoutComponent implements AfterViewInit, OnDestroy { - private store; - private oauthService; - private renderer; - static type: eLayoutType; - routes$: Observable; - currentUser$: Observable; - languages$: Observable; - navElements$: Observable; - currentUserRef: TemplateRef; - languageRef: TemplateRef; - isDropdownChildDynamic: boolean; - isCollapsed: boolean; - smallScreen: boolean; - readonly appInfo: Config.Application; - readonly visibleRoutes$: Observable; - readonly defaultLanguage$: Observable; - readonly dropdownLanguages$: Observable; - readonly selectedLangCulture: string; - rightPartElements: TemplateRef[]; - trackByFn: TrackByFunction; - trackElementByFn: TrackByFunction; - constructor(store: Store, oauthService: OAuthService, renderer: Renderer2); - private checkWindowWidth; - ngAfterViewInit(): void; - ngOnDestroy(): void; - onChangeLang(cultureName: string): void; - logout(): void; - openChange(event: boolean, childrenContainer: HTMLDivElement): void; -} diff --git a/npm/ng-packs/dist/theme-basic/lib/components/empty-layout/empty-layout.component.d.ts b/npm/ng-packs/dist/theme-basic/lib/components/empty-layout/empty-layout.component.d.ts deleted file mode 100644 index e3282108b05..00000000000 --- a/npm/ng-packs/dist/theme-basic/lib/components/empty-layout/empty-layout.component.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { eLayoutType } from '@abp/ng.core'; -export declare class EmptyLayoutComponent { - static type: eLayoutType; -} diff --git a/npm/ng-packs/dist/theme-basic/lib/components/index.d.ts b/npm/ng-packs/dist/theme-basic/lib/components/index.d.ts deleted file mode 100644 index cd1e7e8757f..00000000000 --- a/npm/ng-packs/dist/theme-basic/lib/components/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export * from './account-layout/account-layout.component'; -export * from './application-layout/application-layout.component'; -export * from './empty-layout/empty-layout.component'; -export * from './validation-error/validation-error.component'; diff --git a/npm/ng-packs/dist/theme-basic/lib/components/validation-error/validation-error.component.d.ts b/npm/ng-packs/dist/theme-basic/lib/components/validation-error/validation-error.component.d.ts deleted file mode 100644 index 449c0a3eceb..00000000000 --- a/npm/ng-packs/dist/theme-basic/lib/components/validation-error/validation-error.component.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { Validation, ValidationErrorComponent as ErrorComponent } from '@ngx-validate/core'; -export declare class ValidationErrorComponent extends ErrorComponent { - readonly abpErrors: Validation.Error[] & { - interpoliteParams?: string[]; - }; -} diff --git a/npm/ng-packs/dist/theme-basic/lib/constants/styles.d.ts b/npm/ng-packs/dist/theme-basic/lib/constants/styles.d.ts deleted file mode 100644 index 97cbec0ab6b..00000000000 --- a/npm/ng-packs/dist/theme-basic/lib/constants/styles.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: "\n.content-header-title {\n font-size: 24px;\n}\n\n.entry-row {\n margin-bottom: 15px;\n}\n\n#main-navbar-tools a.dropdown-toggle {\n text-decoration: none;\n color: #fff;\n}\n\n.navbar .dropdown-submenu {\n position: relative;\n}\n.navbar .dropdown-menu {\n margin: 0;\n padding: 0;\n}\n .navbar .dropdown-menu a {\n font-size: .9em;\n padding: 10px 15px;\n display: block;\n min-width: 210px;\n text-align: left;\n border-radius: 0.25rem;\n min-height: 44px;\n }\n.navbar .dropdown-submenu a::after {\n transform: rotate(-90deg);\n position: absolute;\n right: 16px;\n top: 18px;\n}\n.navbar .dropdown-submenu .dropdown-menu {\n top: 0;\n left: 100%;\n}\n\n.card-header .btn {\n padding: 2px 6px;\n}\n.card-header h5 {\n margin: 0;\n}\n.container > .card {\n box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;\n}\n.abp-confirm .abp-confirm-footer {\n background-color: #f4f4f7 !important;\n}\n.abp-confirm .ui-toast-message-content {\n background-color: #fff !important;\n}\n\n@media screen and (min-width: 768px) {\n .navbar .dropdown:hover > .dropdown-menu {\n display: block;\n }\n\n .navbar .dropdown-submenu:hover > .dropdown-menu {\n display: block;\n }\n}\n.input-validation-error {\n border-color: #dc3545;\n}\n.field-validation-error {\n font-size: 0.8em;\n}\n"; -export default _default; diff --git a/npm/ng-packs/dist/theme-basic/lib/models/index.d.ts b/npm/ng-packs/dist/theme-basic/lib/models/index.d.ts deleted file mode 100644 index 5d15fe1b3ce..00000000000 --- a/npm/ng-packs/dist/theme-basic/lib/models/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './layout'; diff --git a/npm/ng-packs/dist/theme-basic/lib/models/layout.d.ts b/npm/ng-packs/dist/theme-basic/lib/models/layout.d.ts deleted file mode 100644 index f172d9682f5..00000000000 --- a/npm/ng-packs/dist/theme-basic/lib/models/layout.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { TemplateRef } from '@angular/core'; -export declare namespace Layout { - interface State { - navigationElements: NavigationElement[]; - } - interface NavigationElement { - name: string; - element: TemplateRef; - order?: number; - } -} diff --git a/npm/ng-packs/dist/theme-basic/lib/services/initial.service.d.ts b/npm/ng-packs/dist/theme-basic/lib/services/initial.service.d.ts deleted file mode 100644 index 3f43341ff08..00000000000 --- a/npm/ng-packs/dist/theme-basic/lib/services/initial.service.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { LazyLoadService } from '@abp/ng.core'; -export declare class InitialService { - private lazyLoadService; - constructor(lazyLoadService: LazyLoadService); - appendStyle(): import("rxjs").Observable; -} diff --git a/npm/ng-packs/dist/theme-basic/lib/states/index.d.ts b/npm/ng-packs/dist/theme-basic/lib/states/index.d.ts deleted file mode 100644 index 1e257fc64c3..00000000000 --- a/npm/ng-packs/dist/theme-basic/lib/states/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './layout.state'; diff --git a/npm/ng-packs/dist/theme-basic/lib/states/layout.state.d.ts b/npm/ng-packs/dist/theme-basic/lib/states/layout.state.d.ts deleted file mode 100644 index d1ceb931101..00000000000 --- a/npm/ng-packs/dist/theme-basic/lib/states/layout.state.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { StateContext } from '@ngxs/store'; -import { AddNavigationElement, RemoveNavigationElementByName } from '../actions/layout.actions'; -import { Layout } from '../models/layout'; -export declare class LayoutState { - static getNavigationElements({ navigationElements }: Layout.State): Layout.NavigationElement[]; - layoutAddAction({ getState, patchState }: StateContext, { payload }: AddNavigationElement): Layout.State; - layoutRemoveAction({ getState, patchState }: StateContext, { name }: RemoveNavigationElementByName): Layout.State; -} diff --git a/npm/ng-packs/dist/theme-basic/lib/theme-basic.module.d.ts b/npm/ng-packs/dist/theme-basic/lib/theme-basic.module.d.ts deleted file mode 100644 index d94623c4194..00000000000 --- a/npm/ng-packs/dist/theme-basic/lib/theme-basic.module.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { AccountLayoutComponent } from './components/account-layout/account-layout.component'; -import { ApplicationLayoutComponent } from './components/application-layout/application-layout.component'; -import { InitialService } from './services/initial.service'; -export declare const LAYOUTS: (typeof ApplicationLayoutComponent | typeof AccountLayoutComponent)[]; -export declare class ThemeBasicModule { - private initialService; - constructor(initialService: InitialService); -} diff --git a/npm/ng-packs/dist/theme-basic/package.json b/npm/ng-packs/dist/theme-basic/package.json deleted file mode 100644 index ad74c5b140d..00000000000 --- a/npm/ng-packs/dist/theme-basic/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "@abp/ng.theme.basic", - "version": "1.1.0", - "dependencies": { - "@abp/ng.theme.shared": "^1.1.0", - "tslib": "^1.9.0" - }, - "publishConfig": { - "access": "public" - }, - "main": "bundles/abp-ng.theme.basic.umd.js", - "module": "fesm5/abp-ng.theme.basic.js", - "es2015": "fesm2015/abp-ng.theme.basic.js", - "esm5": "esm5/abp-ng.theme.basic.js", - "esm2015": "esm2015/abp-ng.theme.basic.js", - "fesm5": "fesm5/abp-ng.theme.basic.js", - "fesm2015": "fesm2015/abp-ng.theme.basic.js", - "typings": "abp-ng.theme.basic.d.ts", - "metadata": "abp-ng.theme.basic.metadata.json", - "sideEffects": false, - "gitHead": "42d9eb857fca97c046ebac4286b6831c8b8c1887" -} diff --git a/npm/ng-packs/dist/theme-basic/public-api.d.ts b/npm/ng-packs/dist/theme-basic/public-api.d.ts deleted file mode 100644 index eb08fe58c42..00000000000 --- a/npm/ng-packs/dist/theme-basic/public-api.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export * from './lib/theme-basic.module'; -export * from './lib/actions'; -export * from './lib/components'; -export * from './lib/models'; -export * from './lib/states'; diff --git a/npm/ng-packs/dist/theme-shared/README.md b/npm/ng-packs/dist/theme-shared/README.md deleted file mode 100644 index e1b21f241dc..00000000000 --- a/npm/ng-packs/dist/theme-shared/README.md +++ /dev/null @@ -1,3 +0,0 @@ -

    @abp/ng.theme.shared

    - -[docs.abp.io](https://docs.abp.io) diff --git a/npm/ng-packs/dist/theme-shared/abp-ng.theme.shared.d.ts b/npm/ng-packs/dist/theme-shared/abp-ng.theme.shared.d.ts deleted file mode 100644 index 6684eb35710..00000000000 --- a/npm/ng-packs/dist/theme-shared/abp-ng.theme.shared.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Generated bundle index. Do not edit. - */ -export * from './public-api'; -export { AbstractToaster as ɵf } from './lib/abstracts/toaster'; -export { fadeIn as ɵk, fadeOut as ɵl } from './lib/animations/fade.animations'; -export { fadeAnimation as ɵj } from './lib/animations/modal.animations'; -export { BreadcrumbComponent as ɵa } from './lib/components/breadcrumb/breadcrumb.component'; -export { ButtonComponent as ɵb } from './lib/components/button/button.component'; -export { ChartComponent as ɵc } from './lib/components/chart/chart.component'; -export { ConfirmationComponent as ɵd } from './lib/components/confirmation/confirmation.component'; -export { HttpErrorWrapperComponent as ɵg } from './lib/components/http-error-wrapper/http-error-wrapper.component'; -export { LoaderBarComponent as ɵh } from './lib/components/loader-bar/loader-bar.component'; -export { ModalComponent as ɵi } from './lib/components/modal/modal.component'; -export { SortOrderIconComponent as ɵo } from './lib/components/sort-order-icon/sort-order-icon.component'; -export { TableEmptyMessageComponent as ɵm } from './lib/components/table-empty-message/table-empty-message.component'; -export { ToastComponent as ɵn } from './lib/components/toast/toast.component'; -export { TableSortDirective as ɵp } from './lib/directives/table-sort.directive'; -export { ErrorHandler as ɵq } from './lib/handlers/error.handler'; -export { HttpErrorConfig as ɵr } from './lib/models/common'; -export { ConfirmationService as ɵe } from './lib/services/confirmation.service'; -export { HTTP_ERROR_CONFIG as ɵt, httpErrorConfigFactory as ɵs } from './lib/tokens/http-error.token'; -export { DateParserFormatter as ɵu } from './lib/utils/date-parser-formatter'; diff --git a/npm/ng-packs/dist/theme-shared/abp-ng.theme.shared.metadata.json b/npm/ng-packs/dist/theme-shared/abp-ng.theme.shared.metadata.json deleted file mode 100644 index 23a6740e857..00000000000 --- a/npm/ng-packs/dist/theme-shared/abp-ng.theme.shared.metadata.json +++ /dev/null @@ -1 +0,0 @@ -{"__symbolic":"module","version":4,"exports":[{"from":"./lib/widget-utils"},{"from":"./lib/date-parser-formatter"},{"from":"./lib/setting-management"},{"from":"./lib/statistics"},{"from":"./lib/toaster"},{"from":"./lib/modal/modal.component"},{"from":"./lib/table-empty-message/table-empty-message.component"},{"from":"./lib/toast/toast.component"},{"from":"./lib/sort-order-icon/sort-order-icon.component"}],"metadata":{"appendScript":{"__symbolic":"function"},"ThemeSharedModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":37,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@abp/ng.core","name":"CoreModule","line":38,"character":12},{"__symbolic":"reference","module":"primeng/toast","name":"ToastModule","line":38,"character":24},{"__symbolic":"reference","module":"@ngx-validate/core","name":"NgxValidateCoreModule","line":38,"character":37}],"declarations":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"ɵg"},{"__symbolic":"reference","name":"ɵh"},{"__symbolic":"reference","name":"ɵi"},{"__symbolic":"reference","name":"ɵm"},{"__symbolic":"reference","name":"ɵn"},{"__symbolic":"reference","name":"ɵo"},{"__symbolic":"reference","name":"ɵp"}],"exports":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"ɵh"},{"__symbolic":"reference","name":"ɵi"},{"__symbolic":"reference","name":"ɵm"},{"__symbolic":"reference","name":"ɵn"},{"__symbolic":"reference","name":"ɵo"},{"__symbolic":"reference","name":"ɵp"}],"providers":[{"__symbolic":"reference","module":"@angular/common","name":"DatePipe","line":64,"character":14}],"entryComponents":[{"__symbolic":"reference","name":"ɵg"}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵq"}]}]},"statics":{"forRoot":{"__symbolic":"function","parameters":["options"],"defaults":[{}],"value":{"ngModule":{"__symbolic":"reference","name":"ThemeSharedModule"},"providers":[{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_INITIALIZER","line":75,"character":19},"multi":true,"deps":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":77,"character":17}],"useFactory":{"__symbolic":"reference","name":"appendScript"}},{"provide":{"__symbolic":"reference","module":"primeng/components/common/messageservice","name":"MessageService","line":80,"character":19},"useClass":{"__symbolic":"reference","module":"primeng/components/common/messageservice","name":"MessageService","line":80,"character":45}},{"provide":{"__symbolic":"reference","name":"ɵt"},"useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"httpErrorConfig"}},{"provide":"HTTP_ERROR_CONFIG","useFactory":{"__symbolic":"reference","name":"ɵs"},"deps":[{"__symbolic":"reference","name":"ɵt"}]},{"provide":{"__symbolic":"reference","module":"@ng-bootstrap/ng-bootstrap","name":"NgbDateParserFormatter","line":87,"character":19},"useClass":{"__symbolic":"reference","name":"ɵu"}}]}}}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"abp-breadcrumb","template":"
      \r\n
    1. \r\n \r\n
    2. \r\n \r\n {{ segment | abpLocalization }}\r\n \r\n
    \r\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":14,"character":30},{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":14,"character":53}]}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":12,"character":1},"arguments":[{"selector":"abp-button","template":"\n \n \n \n "}]}],"members":{"buttonId":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3}}]}],"buttonClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"buttonType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"iconClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":3}}]}],"loading":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":3}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"attributes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3}}]}],"click":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":55,"character":3}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":61,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":66,"character":3}}]}],"abpClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":69,"character":3}}]}],"abpFocus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":71,"character":3}}]}],"abpBlur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":73,"character":3}}]}],"buttonRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":75,"character":3},"arguments":["button",{"static":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":82,"character":32}]}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":14,"character":1},"arguments":[{"selector":"abp-chart","template":"\r\n \r\n\r\n"}]}],"members":{"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"plugins":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"width":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"height":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"responsive":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"onDataSelect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":32,"character":3}}]}],"initialized":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":34,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":42,"character":25},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":42,"character":52}]}],"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3}}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"testChartJs":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"abp-confirmation","template":"\n \n \n \n
    \n {{ message.summary | abpLocalization: message.titleLocalizationParams }}\n
    \n
    \n {{ message.detail | abpLocalization: message.messageLocalizationParams }}\n
    \n\n \n
    \n \n "}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵe"}]}],"close":[{"__symbolic":"method"}]}},"ɵe":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵf"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":8,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"primeng/components/common/messageservice","name":"MessageService","line":16,"character":40}]}],"show":[{"__symbolic":"method"}],"clear":[{"__symbolic":"method"}],"listenToEscape":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵf":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"primeng/components/common/messageservice","name":"MessageService","line":12,"character":40}]}],"info":[{"__symbolic":"method"}],"success":[{"__symbolic":"method"}],"warn":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"show":[{"__symbolic":"method"}],"clear":[{"__symbolic":"method"}]}},"ɵg":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":18,"character":1},"arguments":[{"selector":"abp-http-error-wrapper","template":"
    \r\n \r\n\r\n
    \r\n
    \r\n
    \r\n

    {{ statusText }} {{ title | abpLocalization }}

    \r\n
    \r\n {{ details | abpLocalization }}\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n","styles":[".error{position:fixed;top:0;width:100vw;height:100vh;z-index:999999}.centered{position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}"]}]}],"members":{"containerRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":44,"character":3},"arguments":["container",{"static":false}]}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}]}},"ɵh":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"abp-loader-bar","template":"\n
    \n
    \n \n ","styles":[".abp-loader-bar{left:0;opacity:0;position:fixed;top:0;-webkit-transition:opacity .4s linear .4s;transition:opacity .4s linear .4s;z-index:99999}.abp-loader-bar.is-loading{opacity:1;-webkit-transition:none;transition:none}.abp-loader-bar .abp-progress{height:3px;left:0;position:fixed;top:0;-webkit-transition:width .4s;transition:width .4s}"]}]}],"members":{"containerClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"color":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"isLoading":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"filter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@ngxs/store","name":"Actions","line":51,"character":31},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":51,"character":56},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":51,"character":79}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"startLoading":[{"__symbolic":"method"}],"stopLoading":[{"__symbolic":"method"}]}},"ɵi":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":22,"character":1},"arguments":[{"selector":"abp-modal","animations":[{"__symbolic":"reference","name":"ɵj"}],"template":"\r\n
    \r\n \r\n
    \r\n
    \r\n \r\n ​\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n\r\n"}]}],"members":{"visible":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"busy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":50,"character":3}}]}],"centered":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":62,"character":3}}]}],"modalClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":64,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":66,"character":3}}]}],"abpSubmit":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":68,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵb"},{"static":false,"read":{"__symbolic":"reference","name":"ɵb"}}]}]}],"abpHeader":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":71,"character":3},"arguments":["abpHeader",{"static":false}]}]}],"abpBody":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":73,"character":3},"arguments":["abpBody",{"static":false}]}]}],"abpFooter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":75,"character":3},"arguments":["abpFooter",{"static":false}]}]}],"abpClose":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":77,"character":3},"arguments":["abpClose",{"static":false,"read":{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":77,"character":51}}]}]}],"modalContent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":80,"character":3},"arguments":["abpModalContent",{"static":false}]}]}],"abpButtons":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChildren","line":82,"character":3},"arguments":["abp-button"]}]}],"visibleChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":84,"character":3}}]}],"init":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":86,"character":3}}]}],"appear":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":88,"character":3}}]}],"disappear":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":90,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":102,"character":32},{"__symbolic":"reference","name":"ɵe"}]}],"ngOnDestroy":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"listen":[{"__symbolic":"method"}]}},"ɵj":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":3,"character":29},"arguments":["fade",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":4,"character":2},"arguments":[":enter",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"useAnimation","line":4,"character":23},"arguments":[{"__symbolic":"reference","name":"ɵk"}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":5,"character":2},"arguments":[":leave",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"useAnimation","line":5,"character":23},"arguments":[{"__symbolic":"reference","name":"ɵl"}]}]}]]},"ɵk":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animation","line":2,"character":22},"arguments":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":2,"character":33},"arguments":[{"opacity":"0"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":2,"character":58},"arguments":["{{ time}} {{ easing }}",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":2,"character":92},"arguments":[{"opacity":"1"}]}]}],{"params":{"time":"350ms","easing":"ease"}}]},"ɵl":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animation","line":6,"character":23},"arguments":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":7,"character":3},"arguments":[{"opacity":"1"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":7,"character":28},"arguments":["{{ time}} {{ easing }}",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":7,"character":62},"arguments":[{"opacity":"0"}]}]}],{"params":{"time":"350ms","easing":"ease"}}]},"ɵm":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"[abp-table-empty-message]","template":"\n \n {{ emptyMessage | abpLocalization }}\n \n "}]}],"members":{"colspan":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"message":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":3}}]}],"localizationResource":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"localizationProp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}]}},"ɵn":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"abp-toast","template":"\n \n \n \n
    \n
    {{ message.summary | abpLocalization: message.titleLocalizationParams }}
    \n
    {{ message.detail | abpLocalization: message.messageLocalizationParams }}
    \n
    \n
    \n
    \n "}]}],"members":{}},"ɵo":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"abp-sort-order-icon","template":"\r\n \r\n\r\n"}]}],"members":{"selectedKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"selectedSortKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"selectedKeyChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":31,"character":3}}]}],"selectedSortKeyChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":32,"character":3}}]}],"key":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"sortKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"order":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3}}]}],"orderChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":57,"character":3}}]}],"iconClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":3}}]}],"sort":[{"__symbolic":"method"}]}},"ɵp":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":10,"character":1},"arguments":[{"selector":"[abpTableSort]","providers":[{"__symbolic":"reference","module":"@abp/ng.core","name":"SortPipe","line":12,"character":14}]}]}],"members":{"abpTableSort":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":3}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":19,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Self","line":19,"character":27}}],null],"parameters":[{"__symbolic":"reference","module":"primeng/table","name":"Table","line":19,"character":49},{"__symbolic":"reference","module":"@abp/ng.core","name":"SortPipe","line":19,"character":74}]}],"ngOnChanges":[{"__symbolic":"method"}]}},"ɵq":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":45,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,null,null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":57,"character":5},"arguments":["HTTP_ERROR_CONFIG"]}]],"parameters":[{"__symbolic":"reference","module":"@ngxs/store","name":"Actions","line":50,"character":21},{"__symbolic":"reference","module":"@ngxs/store","name":"Store","line":51,"character":19},{"__symbolic":"reference","name":"ɵe"},{"__symbolic":"reference","module":"@angular/core","name":"ApplicationRef","line":53,"character":20},{"__symbolic":"reference","module":"@angular/core","name":"ComponentFactoryResolver","line":54,"character":19},{"__symbolic":"reference","module":"@angular/core","name":"RendererFactory2","line":55,"character":29},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":56,"character":22},{"__symbolic":"reference","name":"ɵr"}]}],"show401Page":[{"__symbolic":"method"}],"show404Page":[{"__symbolic":"method"}],"showError":[{"__symbolic":"method"}],"navigateToLogin":[{"__symbolic":"method"}],"createErrorComponent":[{"__symbolic":"method"}],"canCreateCustomError":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵr":{"__symbolic":"interface"},"ɵs":{"__symbolic":"function"},"ɵt":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":14,"character":37},"arguments":["HTTP_ERROR_CONFIG"]},"ɵu":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ng-bootstrap/ng-bootstrap","name":"NgbDateParserFormatter","line":21,"character":41},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":20,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":22,"character":15}}]],"parameters":[{"__symbolic":"reference","module":"@angular/common","name":"DatePipe","line":22,"character":44}]}],"parse":[{"__symbolic":"method"}],"format":[{"__symbolic":"method"}]}}},"origins":{"appendScript":"./lib/theme-shared.module","ThemeSharedModule":"./lib/theme-shared.module","ɵa":"./lib/components/breadcrumb/breadcrumb.component","ɵb":"./lib/components/button/button.component","ɵc":"./lib/components/chart/chart.component","ɵd":"./lib/components/confirmation/confirmation.component","ɵe":"./lib/services/confirmation.service","ɵf":"./lib/abstracts/toaster","ɵg":"./lib/components/http-error-wrapper/http-error-wrapper.component","ɵh":"./lib/components/loader-bar/loader-bar.component","ɵi":"./lib/components/modal/modal.component","ɵj":"./lib/animations/modal.animations","ɵk":"./lib/animations/fade.animations","ɵl":"./lib/animations/fade.animations","ɵm":"./lib/components/table-empty-message/table-empty-message.component","ɵn":"./lib/components/toast/toast.component","ɵo":"./lib/components/sort-order-icon/sort-order-icon.component","ɵp":"./lib/directives/table-sort.directive","ɵq":"./lib/handlers/error.handler","ɵr":"./lib/models/common","ɵs":"./lib/tokens/http-error.token","ɵt":"./lib/tokens/http-error.token","ɵu":"./lib/utils/date-parser-formatter"},"importAs":"@abp/ng.theme.shared"} \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/bundles/abp-ng.theme.shared.umd.js b/npm/ng-packs/dist/theme-shared/bundles/abp-ng.theme.shared.umd.js deleted file mode 100644 index fe0f1da1473..00000000000 --- a/npm/ng-packs/dist/theme-shared/bundles/abp-ng.theme.shared.umd.js +++ /dev/null @@ -1,2867 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@abp/ng.core'), require('@angular/core'), require('@ngx-validate/core'), require('primeng/components/common/messageservice'), require('primeng/toast'), require('@angular/router'), require('@ngxs/store'), require('rxjs'), require('rxjs/operators'), require('snq'), require('@angular/animations'), require('primeng/table'), require('just-clone'), require('@angular/common/http'), require('@ngxs/router-plugin'), require('@ng-bootstrap/ng-bootstrap'), require('@angular/common')) : - typeof define === 'function' && define.amd ? define('@abp/ng.theme.shared', ['exports', '@abp/ng.core', '@angular/core', '@ngx-validate/core', 'primeng/components/common/messageservice', 'primeng/toast', '@angular/router', '@ngxs/store', 'rxjs', 'rxjs/operators', 'snq', '@angular/animations', 'primeng/table', 'just-clone', '@angular/common/http', '@ngxs/router-plugin', '@ng-bootstrap/ng-bootstrap', '@angular/common'], factory) : - (global = global || self, factory((global.abp = global.abp || {}, global.abp.ng = global.abp.ng || {}, global.abp.ng.theme = global.abp.ng.theme || {}, global.abp.ng.theme.shared = {}), global.ng_core, global.ng.core, global.core$1, global.messageservice, global.toast, global.ng.router, global.store, global.rxjs, global.rxjs.operators, global.snq, global.ng.animations, global.table, global.clone, global.ng.common.http, global.routerPlugin, global.ngBootstrap, global.ng.common)); -}(this, (function (exports, ng_core, core, core$1, messageservice, toast, router, store, rxjs, operators, snq, animations, table, clone, http, routerPlugin, ngBootstrap, common) { 'use strict'; - - snq = snq && snq.hasOwnProperty('default') ? snq['default'] : snq; - clone = clone && clone.hasOwnProperty('default') ? clone['default'] : clone; - - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ - /* global Reflect, Promise */ - - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - - function __extends(d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - } - - var __assign = function() { - __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); - }; - - function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) - t[p[i]] = s[p[i]]; - } - return t; - } - - function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; - } - - function __param(paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } - } - - function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); - } - - function __awaiter(thisArg, _arguments, P, generator) { - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - } - - function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (_) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } - } - - function __exportStar(m, exports) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; - } - - function __values(o) { - var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0; - if (m) return m.call(o); - return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; - } - - function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; - } - - function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; - } - - function __spreadArrays() { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; - for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; - return r; - }; - - function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); - } - - function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } - } - - function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } - } - - function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); - function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } - function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } - } - - function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; - }; - - function __importStar(mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result.default = mod; - return result; - } - - function __importDefault(mod) { - return (mod && mod.__esModule) ? mod : { default: mod }; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/breadcrumb/breadcrumb.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var BreadcrumbComponent = /** @class */ (function () { - function BreadcrumbComponent(router, store) { - this.router = router; - this.store = store; - this.segments = []; - } - /** - * @return {?} - */ - BreadcrumbComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.show = !!this.store.selectSnapshot((/** - * @param {?} state - * @return {?} - */ - function (state) { return state.LeptonLayoutState; })); - if (this.show) { - /** @type {?} */ - var splittedUrl = this.router.url.split('/').filter((/** - * @param {?} chunk - * @return {?} - */ - function (chunk) { return chunk; })); - /** @type {?} */ - var currentUrl = this.store.selectSnapshot(ng_core.ConfigState.getRoute(splittedUrl[0])); - if (!currentUrl) { - currentUrl = this.store.selectSnapshot(ng_core.ConfigState.getRoute(null, null, this.router.url)); - splittedUrl = [this.router.url]; - if (!currentUrl) { - this.show = false; - return; - } - } - this.segments.push(currentUrl.name); - if (splittedUrl.length > 1) { - var _a = __read(splittedUrl), arr = _a.slice(1); - /** @type {?} */ - var childRoute = currentUrl; - var _loop_1 = function (i) { - /** @type {?} */ - var element = arr[i]; - childRoute = childRoute.children.find((/** - * @param {?} child - * @return {?} - */ - function (child) { return child.path === element; })); - this_1.segments.push(childRoute.name); - }; - var this_1 = this; - for (var i = 0; i < arr.length; i++) { - _loop_1(i); - } - } - } - }; - BreadcrumbComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-breadcrumb', - template: "
      \r\n
    1. \r\n \r\n
    2. \r\n \r\n {{ segment | abpLocalization }}\r\n \r\n
    \r\n" - }] } - ]; - /** @nocollapse */ - BreadcrumbComponent.ctorParameters = function () { return [ - { type: router.Router }, - { type: store.Store } - ]; }; - return BreadcrumbComponent; - }()); - if (false) { - /** @type {?} */ - BreadcrumbComponent.prototype.show; - /** @type {?} */ - BreadcrumbComponent.prototype.segments; - /** - * @type {?} - * @private - */ - BreadcrumbComponent.prototype.router; - /** - * @type {?} - * @private - */ - BreadcrumbComponent.prototype.store; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/button/button.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ButtonComponent = /** @class */ (function () { - function ButtonComponent(renderer) { - this.renderer = renderer; - this.buttonId = ''; - this.buttonClass = 'btn btn-primary'; - this.buttonType = 'button'; - this.loading = false; - this.disabled = false; - // tslint:disable - /** - * @deprecated use abpClick instead - */ - this.click = new core.EventEmitter(); - /** - * @deprecated use abpFocus instead - */ - // tslint:disable-next-line: no-output-native - this.focus = new core.EventEmitter(); - /** - * @deprecated use abpBlur instead - */ - this.blur = new core.EventEmitter(); - // tslint:enable - this.abpClick = new core.EventEmitter(); - this.abpFocus = new core.EventEmitter(); - this.abpBlur = new core.EventEmitter(); - } - Object.defineProperty(ButtonComponent.prototype, "icon", { - get: /** - * @return {?} - */ - function () { - return "" + (this.loading ? 'fa fa-spinner fa-spin' : this.iconClass || 'd-none'); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - ButtonComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - var _this = this; - if (this.attributes) { - Object.keys(this.attributes).forEach((/** - * @param {?} key - * @return {?} - */ - function (key) { - _this.renderer.setAttribute(_this.buttonRef.nativeElement, key, _this.attributes[key]); - })); - } - }; - ButtonComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-button', - template: "\n \n \n \n " - }] } - ]; - /** @nocollapse */ - ButtonComponent.ctorParameters = function () { return [ - { type: core.Renderer2 } - ]; }; - ButtonComponent.propDecorators = { - buttonId: [{ type: core.Input }], - buttonClass: [{ type: core.Input }], - buttonType: [{ type: core.Input }], - iconClass: [{ type: core.Input }], - loading: [{ type: core.Input }], - disabled: [{ type: core.Input }], - attributes: [{ type: core.Input }], - click: [{ type: core.Output }], - focus: [{ type: core.Output }], - blur: [{ type: core.Output }], - abpClick: [{ type: core.Output }], - abpFocus: [{ type: core.Output }], - abpBlur: [{ type: core.Output }], - buttonRef: [{ type: core.ViewChild, args: ['button', { static: true },] }] - }; - return ButtonComponent; - }()); - if (false) { - /** @type {?} */ - ButtonComponent.prototype.buttonId; - /** @type {?} */ - ButtonComponent.prototype.buttonClass; - /** @type {?} */ - ButtonComponent.prototype.buttonType; - /** @type {?} */ - ButtonComponent.prototype.iconClass; - /** @type {?} */ - ButtonComponent.prototype.loading; - /** @type {?} */ - ButtonComponent.prototype.disabled; - /** @type {?} */ - ButtonComponent.prototype.attributes; - /** - * @deprecated use abpClick instead - * @type {?} - */ - ButtonComponent.prototype.click; - /** - * @deprecated use abpFocus instead - * @type {?} - */ - ButtonComponent.prototype.focus; - /** - * @deprecated use abpBlur instead - * @type {?} - */ - ButtonComponent.prototype.blur; - /** @type {?} */ - ButtonComponent.prototype.abpClick; - /** @type {?} */ - ButtonComponent.prototype.abpFocus; - /** @type {?} */ - ButtonComponent.prototype.abpBlur; - /** @type {?} */ - ButtonComponent.prototype.buttonRef; - /** - * @type {?} - * @private - */ - ButtonComponent.prototype.renderer; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/utils/widget-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * @param {?} count - * @return {?} - */ - function getRandomBackgroundColor(count) { - /** @type {?} */ - var colors = []; - for (var i = 0; i < count; i++) { - /** @type {?} */ - var r = ((i + 5) * (i + 5) * 474) % 255; - /** @type {?} */ - var g = ((i + 5) * (i + 5) * 1600) % 255; - /** @type {?} */ - var b = ((i + 5) * (i + 5) * 84065) % 255; - colors.push('rgba(' + r + ', ' + g + ', ' + b + ', 0.7)'); - } - return colors; - } - /** @type {?} */ - var chartJsLoaded$ = new rxjs.ReplaySubject(1); - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/chart/chart.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ChartComponent = /** @class */ (function () { - function ChartComponent(el, cdRef) { - var _this = this; - this.el = el; - this.cdRef = cdRef; - this.options = {}; - this.plugins = []; - this.responsive = true; - // tslint:disable-next-line: no-output-on-prefix - this.onDataSelect = new core.EventEmitter(); - this.initialized = new rxjs.BehaviorSubject(this); - this.onCanvasClick = (/** - * @param {?} event - * @return {?} - */ - function (event) { - if (_this.chart) { - /** @type {?} */ - var element = _this.chart.getElementAtEvent(event); - /** @type {?} */ - var dataset = _this.chart.getDatasetAtEvent(event); - if (element && element.length && dataset) { - _this.onDataSelect.emit({ - originalEvent: event, - element: element[0], - dataset: dataset, - }); - } - } - }); - this.initChart = (/** - * @return {?} - */ - function () { - /** @type {?} */ - var opts = _this.options || {}; - opts.responsive = _this.responsive; - // allows chart to resize in responsive mode - if (opts.responsive && (_this.height || _this.width)) { - opts.maintainAspectRatio = false; - } - _this.chart = new Chart(_this.canvas, { - type: _this.type, - data: _this.data, - options: _this.options, - plugins: _this.plugins, - }); - _this.cdRef.detectChanges(); - }); - this.generateLegend = (/** - * @return {?} - */ - function () { - if (_this.chart) { - return _this.chart.generateLegend(); - } - }); - this.refresh = (/** - * @return {?} - */ - function () { - if (_this.chart) { - _this.chart.update(); - _this.cdRef.detectChanges(); - } - }); - this.reinit = (/** - * @return {?} - */ - function () { - if (_this.chart) { - _this.chart.destroy(); - _this.initChart(); - } - }); - } - Object.defineProperty(ChartComponent.prototype, "data", { - get: /** - * @return {?} - */ - function () { - return this._data; - }, - set: /** - * @param {?} val - * @return {?} - */ - function (val) { - this._data = val; - this.reinit(); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ChartComponent.prototype, "canvas", { - get: /** - * @return {?} - */ - function () { - return this.el.nativeElement.children[0].children[0]; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ChartComponent.prototype, "base64Image", { - get: /** - * @return {?} - */ - function () { - return this.chart.toBase64Image(); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - ChartComponent.prototype.ngAfterViewInit = /** - * @return {?} - */ - function () { - var _this = this; - chartJsLoaded$.subscribe((/** - * @return {?} - */ - function () { - _this.testChartJs(); - _this.initChart(); - _this._initialized = true; - })); - }; - /** - * @return {?} - */ - ChartComponent.prototype.testChartJs = /** - * @return {?} - */ - function () { - try { - // tslint:disable-next-line: no-unused-expression - Chart; - } - catch (error) { - throw new Error("Chart is not found. Import the Chart from app.module like shown below:\n import('chart.js');\n "); - } - }; - /** - * @return {?} - */ - ChartComponent.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { - if (this.chart) { - this.chart.destroy(); - this._initialized = false; - this.chart = null; - } - }; - ChartComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-chart', - template: "\r\n \r\n\r\n" - }] } - ]; - /** @nocollapse */ - ChartComponent.ctorParameters = function () { return [ - { type: core.ElementRef }, - { type: core.ChangeDetectorRef } - ]; }; - ChartComponent.propDecorators = { - type: [{ type: core.Input }], - options: [{ type: core.Input }], - plugins: [{ type: core.Input }], - width: [{ type: core.Input }], - height: [{ type: core.Input }], - responsive: [{ type: core.Input }], - onDataSelect: [{ type: core.Output }], - initialized: [{ type: core.Output }], - data: [{ type: core.Input }] - }; - return ChartComponent; - }()); - if (false) { - /** @type {?} */ - ChartComponent.prototype.type; - /** @type {?} */ - ChartComponent.prototype.options; - /** @type {?} */ - ChartComponent.prototype.plugins; - /** @type {?} */ - ChartComponent.prototype.width; - /** @type {?} */ - ChartComponent.prototype.height; - /** @type {?} */ - ChartComponent.prototype.responsive; - /** @type {?} */ - ChartComponent.prototype.onDataSelect; - /** @type {?} */ - ChartComponent.prototype.initialized; - /** - * @type {?} - * @private - */ - ChartComponent.prototype._initialized; - /** @type {?} */ - ChartComponent.prototype._data; - /** @type {?} */ - ChartComponent.prototype.chart; - /** @type {?} */ - ChartComponent.prototype.onCanvasClick; - /** @type {?} */ - ChartComponent.prototype.initChart; - /** @type {?} */ - ChartComponent.prototype.generateLegend; - /** @type {?} */ - ChartComponent.prototype.refresh; - /** @type {?} */ - ChartComponent.prototype.reinit; - /** @type {?} */ - ChartComponent.prototype.el; - /** - * @type {?} - * @private - */ - ChartComponent.prototype.cdRef; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/abstracts/toaster.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * @abstract - * @template T - */ - var /** - * @abstract - * @template T - */ - AbstractToaster = /** @class */ (function () { - function AbstractToaster(messageService) { - this.messageService = messageService; - this.key = 'abpToast'; - this.sticky = false; - } - /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - AbstractToaster.prototype.info = /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - function (message, title, options) { - return this.show(message, title, 'info', options); - }; - /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - AbstractToaster.prototype.success = /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - function (message, title, options) { - return this.show(message, title, 'success', options); - }; - /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - AbstractToaster.prototype.warn = /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - function (message, title, options) { - return this.show(message, title, 'warn', options); - }; - /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - AbstractToaster.prototype.error = /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - function (message, title, options) { - return this.show(message, title, 'error', options); - }; - /** - * @protected - * @param {?} message - * @param {?} title - * @param {?} severity - * @param {?=} options - * @return {?} - */ - AbstractToaster.prototype.show = /** - * @protected - * @param {?} message - * @param {?} title - * @param {?} severity - * @param {?=} options - * @return {?} - */ - function (message, title, severity, options) { - this.messageService.clear(this.key); - this.messageService.add(__assign({ severity: severity, detail: message || '', summary: title || '' }, options, { key: this.key }, (typeof (options || ((/** @type {?} */ ({})))).sticky === 'undefined' && { sticky: this.sticky }))); - this.status$ = new rxjs.Subject(); - return this.status$; - }; - /** - * @param {?=} status - * @return {?} - */ - AbstractToaster.prototype.clear = /** - * @param {?=} status - * @return {?} - */ - function (status) { - this.messageService.clear(this.key); - this.status$.next(status || "dismiss" /* dismiss */); - this.status$.complete(); - }; - return AbstractToaster; - }()); - if (false) { - /** @type {?} */ - AbstractToaster.prototype.status$; - /** @type {?} */ - AbstractToaster.prototype.key; - /** @type {?} */ - AbstractToaster.prototype.sticky; - /** - * @type {?} - * @protected - */ - AbstractToaster.prototype.messageService; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/confirmation.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ConfirmationService = /** @class */ (function (_super) { - __extends(ConfirmationService, _super); - function ConfirmationService(messageService) { - var _this = _super.call(this, messageService) || this; - _this.messageService = messageService; - _this.key = 'abpConfirmation'; - _this.sticky = true; - _this.destroy$ = new rxjs.Subject(); - return _this; - } - /** - * @param {?} message - * @param {?} title - * @param {?} severity - * @param {?=} options - * @return {?} - */ - ConfirmationService.prototype.show = /** - * @param {?} message - * @param {?} title - * @param {?} severity - * @param {?=} options - * @return {?} - */ - function (message, title, severity, options) { - this.listenToEscape(); - return _super.prototype.show.call(this, message, title, severity, options); - }; - /** - * @param {?=} status - * @return {?} - */ - ConfirmationService.prototype.clear = /** - * @param {?=} status - * @return {?} - */ - function (status) { - _super.prototype.clear.call(this, status); - this.destroy$.next(); - }; - /** - * @return {?} - */ - ConfirmationService.prototype.listenToEscape = /** - * @return {?} - */ - function () { - var _this = this; - rxjs.fromEvent(document, 'keyup') - .pipe(operators.takeUntil(this.destroy$), operators.debounceTime(150), operators.filter((/** - * @param {?} key - * @return {?} - */ - function (key) { return key && key.key === 'Escape'; }))) - .subscribe((/** - * @param {?} _ - * @return {?} - */ - function (_) { - _this.clear(); - })); - }; - ConfirmationService.decorators = [ - { type: core.Injectable, args: [{ providedIn: 'root' },] } - ]; - /** @nocollapse */ - ConfirmationService.ctorParameters = function () { return [ - { type: messageservice.MessageService } - ]; }; - /** @nocollapse */ ConfirmationService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function ConfirmationService_Factory() { return new ConfirmationService(core.ɵɵinject(messageservice.MessageService)); }, token: ConfirmationService, providedIn: "root" }); - return ConfirmationService; - }(AbstractToaster)); - if (false) { - /** @type {?} */ - ConfirmationService.prototype.key; - /** @type {?} */ - ConfirmationService.prototype.sticky; - /** @type {?} */ - ConfirmationService.prototype.destroy$; - /** - * @type {?} - * @protected - */ - ConfirmationService.prototype.messageService; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/confirmation/confirmation.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ConfirmationComponent = /** @class */ (function () { - function ConfirmationComponent(confirmationService) { - this.confirmationService = confirmationService; - this.confirm = "confirm" /* confirm */; - this.reject = "reject" /* reject */; - this.dismiss = "dismiss" /* dismiss */; - } - /** - * @param {?} status - * @return {?} - */ - ConfirmationComponent.prototype.close = /** - * @param {?} status - * @return {?} - */ - function (status) { - this.confirmationService.clear(status); - }; - ConfirmationComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-confirmation', - // tslint:disable-next-line: component-max-inline-declarations - template: "\n \n \n \n
    \n {{ message.summary | abpLocalization: message.titleLocalizationParams }}\n
    \n
    \n {{ message.detail | abpLocalization: message.messageLocalizationParams }}\n
    \n\n \n
    \n \n " - }] } - ]; - /** @nocollapse */ - ConfirmationComponent.ctorParameters = function () { return [ - { type: ConfirmationService } - ]; }; - return ConfirmationComponent; - }()); - if (false) { - /** @type {?} */ - ConfirmationComponent.prototype.confirm; - /** @type {?} */ - ConfirmationComponent.prototype.reject; - /** @type {?} */ - ConfirmationComponent.prototype.dismiss; - /** - * @type {?} - * @private - */ - ConfirmationComponent.prototype.confirmationService; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/http-error-wrapper/http-error-wrapper.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var HttpErrorWrapperComponent = /** @class */ (function () { - function HttpErrorWrapperComponent() { - this.status = 0; - this.title = 'Oops!'; - this.details = 'Sorry, an error has occured.'; - this.customComponent = null; - this.hideCloseIcon = false; - } - Object.defineProperty(HttpErrorWrapperComponent.prototype, "statusText", { - get: /** - * @return {?} - */ - function () { - return this.status ? "[" + this.status + "]" : ''; - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - HttpErrorWrapperComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.backgroundColor = - snq((/** - * @return {?} - */ - function () { return window.getComputedStyle(document.body).getPropertyValue('background-color'); })) || '#fff'; - }; - /** - * @return {?} - */ - HttpErrorWrapperComponent.prototype.ngAfterViewInit = /** - * @return {?} - */ - function () { - var _this = this; - if (this.customComponent) { - /** @type {?} */ - var customComponentRef = this.cfRes.resolveComponentFactory(this.customComponent).create(this.injector); - customComponentRef.instance.errorStatus = this.status; - customComponentRef.instance.destroy$ = this.destroy$; - this.appRef.attachView(customComponentRef.hostView); - this.containerRef.nativeElement.appendChild(((/** @type {?} */ (customComponentRef.hostView))).rootNodes[0]); - customComponentRef.changeDetectorRef.detectChanges(); - } - rxjs.fromEvent(document, 'keyup') - .pipe(ng_core.takeUntilDestroy(this), operators.debounceTime(150), operators.filter((/** - * @param {?} key - * @return {?} - */ - function (key) { return key && key.key === 'Escape'; }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.destroy(); - })); - }; - /** - * @return {?} - */ - HttpErrorWrapperComponent.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - /** - * @return {?} - */ - HttpErrorWrapperComponent.prototype.destroy = /** - * @return {?} - */ - function () { - this.destroy$.next(); - this.destroy$.complete(); - }; - HttpErrorWrapperComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-http-error-wrapper', - template: "
    \r\n \r\n\r\n
    \r\n
    \r\n
    \r\n

    {{ statusText }} {{ title | abpLocalization }}

    \r\n
    \r\n {{ details | abpLocalization }}\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n", - styles: [".error{position:fixed;top:0;width:100vw;height:100vh;z-index:999999}.centered{position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}"] - }] } - ]; - HttpErrorWrapperComponent.propDecorators = { - containerRef: [{ type: core.ViewChild, args: ['container', { static: false },] }] - }; - return HttpErrorWrapperComponent; - }()); - if (false) { - /** @type {?} */ - HttpErrorWrapperComponent.prototype.appRef; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.cfRes; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.injector; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.status; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.title; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.details; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.customComponent; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.destroy$; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.hideCloseIcon; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.backgroundColor; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.containerRef; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/loader-bar/loader-bar.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var LoaderBarComponent = /** @class */ (function () { - function LoaderBarComponent(actions, router, cdRef) { - this.actions = actions; - this.router = router; - this.cdRef = cdRef; - this.containerClass = 'abp-loader-bar'; - this.color = '#77b6ff'; - this.isLoading = false; - this.progressLevel = 0; - this.intervalPeriod = 350; - this.stopDelay = 820; - this.filter = (/** - * @param {?} action - * @return {?} - */ - function (action) { return action.payload.url.indexOf('openid-configuration') < 0; }); - } - Object.defineProperty(LoaderBarComponent.prototype, "boxShadow", { - get: /** - * @return {?} - */ - function () { - return "0 0 10px rgba(" + this.color + ", 0.5)"; - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - LoaderBarComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - var _this = this; - this.actions - .pipe(store.ofActionSuccessful(ng_core.StartLoader, ng_core.StopLoader), operators.filter(this.filter), core$1.takeUntilDestroy(this)) - .subscribe((/** - * @param {?} action - * @return {?} - */ - function (action) { - if (action instanceof ng_core.StartLoader) - _this.startLoading(); - else - _this.stopLoading(); - })); - this.router.events - .pipe(operators.filter((/** - * @param {?} event - * @return {?} - */ - function (event) { - return event instanceof router.NavigationStart || event instanceof router.NavigationEnd || event instanceof router.NavigationError; - })), core$1.takeUntilDestroy(this)) - .subscribe((/** - * @param {?} event - * @return {?} - */ - function (event) { - if (event instanceof router.NavigationStart) - _this.startLoading(); - else - _this.stopLoading(); - })); - }; - /** - * @return {?} - */ - LoaderBarComponent.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { - this.interval.unsubscribe(); - }; - /** - * @return {?} - */ - LoaderBarComponent.prototype.startLoading = /** - * @return {?} - */ - function () { - var _this = this; - if (this.isLoading || this.progressLevel !== 0) - return; - this.isLoading = true; - this.interval = rxjs.interval(this.intervalPeriod).subscribe((/** - * @return {?} - */ - function () { - if (_this.progressLevel < 75) { - _this.progressLevel += Math.random() * 10; - } - else if (_this.progressLevel < 90) { - _this.progressLevel += 0.4; - } - else if (_this.progressLevel < 100) { - _this.progressLevel += 0.1; - } - else { - _this.interval.unsubscribe(); - } - _this.cdRef.detectChanges(); - })); - }; - /** - * @return {?} - */ - LoaderBarComponent.prototype.stopLoading = /** - * @return {?} - */ - function () { - var _this = this; - this.interval.unsubscribe(); - this.progressLevel = 100; - this.isLoading = false; - if (this.timer && !this.timer.closed) - return; - this.timer = rxjs.timer(this.stopDelay).subscribe((/** - * @return {?} - */ - function () { - _this.progressLevel = 0; - _this.cdRef.detectChanges(); - })); - }; - LoaderBarComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-loader-bar', - template: "\n
    \n
    \n \n ", - styles: [".abp-loader-bar{left:0;opacity:0;position:fixed;top:0;-webkit-transition:opacity .4s linear .4s;transition:opacity .4s linear .4s;z-index:99999}.abp-loader-bar.is-loading{opacity:1;-webkit-transition:none;transition:none}.abp-loader-bar .abp-progress{height:3px;left:0;position:fixed;top:0;-webkit-transition:width .4s;transition:width .4s}"] - }] } - ]; - /** @nocollapse */ - LoaderBarComponent.ctorParameters = function () { return [ - { type: store.Actions }, - { type: router.Router }, - { type: core.ChangeDetectorRef } - ]; }; - LoaderBarComponent.propDecorators = { - containerClass: [{ type: core.Input }], - color: [{ type: core.Input }], - isLoading: [{ type: core.Input }], - filter: [{ type: core.Input }] - }; - return LoaderBarComponent; - }()); - if (false) { - /** @type {?} */ - LoaderBarComponent.prototype.containerClass; - /** @type {?} */ - LoaderBarComponent.prototype.color; - /** @type {?} */ - LoaderBarComponent.prototype.isLoading; - /** @type {?} */ - LoaderBarComponent.prototype.progressLevel; - /** @type {?} */ - LoaderBarComponent.prototype.interval; - /** @type {?} */ - LoaderBarComponent.prototype.timer; - /** @type {?} */ - LoaderBarComponent.prototype.intervalPeriod; - /** @type {?} */ - LoaderBarComponent.prototype.stopDelay; - /** @type {?} */ - LoaderBarComponent.prototype.filter; - /** - * @type {?} - * @private - */ - LoaderBarComponent.prototype.actions; - /** - * @type {?} - * @private - */ - LoaderBarComponent.prototype.router; - /** - * @type {?} - * @private - */ - LoaderBarComponent.prototype.cdRef; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/animations/fade.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** @type {?} */ - var fadeIn = animations.animation([animations.style({ opacity: '0' }), animations.animate('{{ time}} {{ easing }}', animations.style({ opacity: '1' }))], { - params: { time: '350ms', easing: 'ease' }, - }); - /** @type {?} */ - var fadeOut = animations.animation([animations.style({ opacity: '1' }), animations.animate('{{ time}} {{ easing }}', animations.style({ opacity: '0' }))], { params: { time: '350ms', easing: 'ease' } }); - /** @type {?} */ - var fadeInDown = animations.animation([ - animations.style({ opacity: '0', transform: '{{ transform }} translateY(-20px)' }), - animations.animate('{{ time }} {{ easing }}', animations.style({ opacity: '1', transform: '{{ transform }} translateY(0)' })), - ], { params: { time: '350ms', easing: 'ease', transform: '' } }); - /** @type {?} */ - var fadeInUp = animations.animation([ - animations.style({ opacity: '0', transform: '{{ transform }} translateY(20px)' }), - animations.animate('{{ time }} {{ easing }}', animations.style({ opacity: '1', transform: '{{ transform }} translateY(0)' })), - ], { params: { time: '350ms', easing: 'ease', transform: '' } }); - /** @type {?} */ - var fadeInLeft = animations.animation([ - animations.style({ opacity: '0', transform: '{{ transform }} translateX(20px)' }), - animations.animate('{{ time }} {{ easing }}', animations.style({ opacity: '1', transform: '{{ transform }} translateX(0)' })), - ], { params: { time: '350ms', easing: 'ease', transform: '' } }); - /** @type {?} */ - var fadeInRight = animations.animation([ - animations.style({ opacity: '0', transform: '{{ transform }} translateX(-20px)' }), - animations.animate('{{ time }} {{ easing }}', animations.style({ opacity: '1', transform: '{{ transform }} translateX(0)' })), - ], { params: { time: '350ms', easing: 'ease', transform: '' } }); - /** @type {?} */ - var fadeOutDown = animations.animation([ - animations.style({ opacity: '1', transform: '{{ transform }} translateY(0)' }), - animations.animate('{{ time }} {{ easing }}', animations.style({ opacity: '0', transform: '{{ transform }} translateY(20px)' })), - ], { params: { time: '350ms', easing: 'ease', transform: '' } }); - /** @type {?} */ - var fadeOutUp = animations.animation([ - animations.style({ opacity: '1', transform: '{{ transform }} translateY(0)' }), - animations.animate('{{ time }} {{ easing }}', animations.style({ opacity: '0', transform: '{{ transform }} translateY(-20px)' })), - ], { params: { time: '350ms', easing: 'ease', transform: '' } }); - /** @type {?} */ - var fadeOutLeft = animations.animation([ - animations.style({ opacity: '1', transform: '{{ transform }} translateX(0)' }), - animations.animate('{{ time }} {{ easing }}', animations.style({ opacity: '0', transform: '{{ transform }} translateX(20px)' })), - ], { params: { time: '350ms', easing: 'ease', transform: '' } }); - /** @type {?} */ - var fadeOutRight = animations.animation([ - animations.style({ opacity: '1', transform: '{{ transform }} translateX(0)' }), - animations.animate('{{ time }} {{ easing }}', animations.style({ opacity: '0', transform: '{{ transform }} translateX(-20px)' })), - ], { params: { time: '350ms', easing: 'ease', transform: '' } }); - - /** - * @fileoverview added by tsickle - * Generated from: lib/animations/modal.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** @type {?} */ - var fadeAnimation = animations.trigger('fade', [ - animations.transition(':enter', animations.useAnimation(fadeIn)), - animations.transition(':leave', animations.useAnimation(fadeOut)), - ]); - /** @type {?} */ - var dialogAnimation = animations.trigger('dialog', [ - animations.transition(':enter', animations.useAnimation(fadeInDown)), - animations.transition(':leave', animations.useAnimation(fadeOut)), - ]); - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/modal/modal.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ModalComponent = /** @class */ (function () { - function ModalComponent(renderer, confirmationService) { - this.renderer = renderer; - this.confirmationService = confirmationService; - this.centered = false; - this.modalClass = ''; - this.size = 'lg'; - this.visibleChange = new core.EventEmitter(); - this.init = new core.EventEmitter(); - this.appear = new core.EventEmitter(); - this.disappear = new core.EventEmitter(); - this._visible = false; - this._busy = false; - this.isModalOpen = false; - this.isConfirmationOpen = false; - this.destroy$ = new rxjs.Subject(); - } - Object.defineProperty(ModalComponent.prototype, "visible", { - get: /** - * @return {?} - */ - function () { - return this._visible; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - var _this = this; - if (typeof value !== 'boolean') - return; - this.isModalOpen = value; - this._visible = value; - this.visibleChange.emit(value); - if (value) { - setTimeout((/** - * @return {?} - */ - function () { return _this.listen(); }), 0); - this.renderer.addClass(document.body, 'modal-open'); - this.appear.emit(); - } - else { - this.renderer.removeClass(document.body, 'modal-open'); - this.disappear.emit(); - this.destroy$.next(); - } - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ModalComponent.prototype, "busy", { - get: /** - * @return {?} - */ - function () { - return this._busy; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - if (this.abpSubmit && this.abpSubmit instanceof ButtonComponent) { - this.abpSubmit.loading = value; - } - this._busy = value; - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - ModalComponent.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { - this.destroy$.next(); - }; - /** - * @return {?} - */ - ModalComponent.prototype.close = /** - * @return {?} - */ - function () { - var _this = this; - if (this.busy) - return; - /** @type {?} */ - var node; - if (!this.modalContent) { - node = (/** @type {?} */ (document.getElementById('modal-container'))); - } - /** @type {?} */ - var nodes = getFlatNodes(((/** @type {?} */ ((node || this.modalContent.nativeElement).querySelector('#abp-modal-body')))).childNodes); - if (hasNgDirty(nodes)) { - if (this.isConfirmationOpen) - return; - this.isConfirmationOpen = true; - this.confirmationService - .warn('AbpAccount::AreYouSureYouWantToCancelEditingWarningMessage', 'AbpAccount::AreYouSure') - .subscribe((/** - * @param {?} status - * @return {?} - */ - function (status) { - _this.isConfirmationOpen = false; - if (status === "confirm" /* confirm */) { - _this.visible = false; - } - })); - } - else { - this.visible = false; - } - }; - /** - * @return {?} - */ - ModalComponent.prototype.listen = /** - * @return {?} - */ - function () { - var _this = this; - rxjs.fromEvent(document, 'keyup') - .pipe(operators.takeUntil(this.destroy$), operators.debounceTime(150), operators.filter((/** - * @param {?} key - * @return {?} - */ - function (key) { return key && key.key === 'Escape'; }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.close(); - })); - setTimeout((/** - * @return {?} - */ - function () { - if (!_this.abpClose) - return; - rxjs.fromEvent(_this.abpClose.nativeElement, 'click') - .pipe(operators.takeUntil(_this.destroy$), operators.filter((/** - * @return {?} - */ - function () { return !!_this.modalContent; }))) - .subscribe((/** - * @return {?} - */ - function () { return _this.close(); })); - }), 0); - this.init.emit(); - }; - ModalComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-modal', - template: "\r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \u200B\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n\r\n", - animations: [fadeAnimation] - }] } - ]; - /** @nocollapse */ - ModalComponent.ctorParameters = function () { return [ - { type: core.Renderer2 }, - { type: ConfirmationService } - ]; }; - ModalComponent.propDecorators = { - visible: [{ type: core.Input }], - busy: [{ type: core.Input }], - centered: [{ type: core.Input }], - modalClass: [{ type: core.Input }], - size: [{ type: core.Input }], - abpSubmit: [{ type: core.ContentChild, args: [ButtonComponent, { static: false, read: ButtonComponent },] }], - abpHeader: [{ type: core.ContentChild, args: ['abpHeader', { static: false },] }], - abpBody: [{ type: core.ContentChild, args: ['abpBody', { static: false },] }], - abpFooter: [{ type: core.ContentChild, args: ['abpFooter', { static: false },] }], - abpClose: [{ type: core.ContentChild, args: ['abpClose', { static: false, read: core.ElementRef },] }], - modalContent: [{ type: core.ViewChild, args: ['abpModalContent', { static: false },] }], - abpButtons: [{ type: core.ViewChildren, args: ['abp-button',] }], - visibleChange: [{ type: core.Output }], - init: [{ type: core.Output }], - appear: [{ type: core.Output }], - disappear: [{ type: core.Output }] - }; - return ModalComponent; - }()); - if (false) { - /** @type {?} */ - ModalComponent.prototype.centered; - /** @type {?} */ - ModalComponent.prototype.modalClass; - /** @type {?} */ - ModalComponent.prototype.size; - /** @type {?} */ - ModalComponent.prototype.abpSubmit; - /** @type {?} */ - ModalComponent.prototype.abpHeader; - /** @type {?} */ - ModalComponent.prototype.abpBody; - /** @type {?} */ - ModalComponent.prototype.abpFooter; - /** @type {?} */ - ModalComponent.prototype.abpClose; - /** @type {?} */ - ModalComponent.prototype.modalContent; - /** @type {?} */ - ModalComponent.prototype.abpButtons; - /** @type {?} */ - ModalComponent.prototype.visibleChange; - /** @type {?} */ - ModalComponent.prototype.init; - /** @type {?} */ - ModalComponent.prototype.appear; - /** @type {?} */ - ModalComponent.prototype.disappear; - /** @type {?} */ - ModalComponent.prototype._visible; - /** @type {?} */ - ModalComponent.prototype._busy; - /** @type {?} */ - ModalComponent.prototype.isModalOpen; - /** @type {?} */ - ModalComponent.prototype.isConfirmationOpen; - /** @type {?} */ - ModalComponent.prototype.destroy$; - /** - * @type {?} - * @private - */ - ModalComponent.prototype.renderer; - /** - * @type {?} - * @private - */ - ModalComponent.prototype.confirmationService; - } - /** - * @param {?} nodes - * @return {?} - */ - function getFlatNodes(nodes) { - return Array.from(nodes).reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { return __spread(acc, (val.childNodes && val.childNodes.length ? getFlatNodes(val.childNodes) : [val])); }), []); - } - /** - * @param {?} nodes - * @return {?} - */ - function hasNgDirty(nodes) { - return nodes.findIndex((/** - * @param {?} node - * @return {?} - */ - function (node) { return (node.className || '').indexOf('ng-dirty') > -1; })) > -1; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/sort-order-icon/sort-order-icon.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var SortOrderIconComponent = /** @class */ (function () { - function SortOrderIconComponent() { - this.selectedKeyChange = new core.EventEmitter(); - this.selectedSortKeyChange = new core.EventEmitter(); - this.orderChange = new core.EventEmitter(); - } - Object.defineProperty(SortOrderIconComponent.prototype, "selectedKey", { - get: /** - * @return {?} - */ - function () { - return this._selectedSortKey; - }, - /** - * @deprecated use selectedSortKey instead. - */ - set: /** - * @deprecated use selectedSortKey instead. - * @param {?} value - * @return {?} - */ - function (value) { - this.selectedSortKey = value; - this.selectedKeyChange.emit(value); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(SortOrderIconComponent.prototype, "selectedSortKey", { - get: /** - * @return {?} - */ - function () { - return this._selectedSortKey; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - this._selectedSortKey = value; - this.selectedSortKeyChange.emit(value); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(SortOrderIconComponent.prototype, "key", { - /** - * @deprecated use sortKey instead. - */ - get: /** - * @deprecated use sortKey instead. - * @return {?} - */ - function () { - return this.sortKey; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - this.sortKey = value; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(SortOrderIconComponent.prototype, "order", { - get: /** - * @return {?} - */ - function () { - return this._order; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - this._order = value; - this.orderChange.emit(value); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(SortOrderIconComponent.prototype, "icon", { - get: /** - * @return {?} - */ - function () { - if (!this.selectedSortKey) - return 'fa-sort'; - if (this.selectedSortKey === this.sortKey) - return "fa-sort-" + this.order; - else - return ''; - }, - enumerable: true, - configurable: true - }); - /** - * @param {?} key - * @return {?} - */ - SortOrderIconComponent.prototype.sort = /** - * @param {?} key - * @return {?} - */ - function (key) { - this.selectedKey = key; // TODO: To be removed - this.selectedSortKey = key; - switch (this.order) { - case '': - this.order = 'asc'; - this.orderChange.emit('asc'); - break; - case 'asc': - this.order = 'desc'; - this.orderChange.emit('desc'); - break; - case 'desc': - this.order = ''; - this.selectedKey = ''; // TODO: To be removed - this.orderChange.emit(''); - break; - } - }; - SortOrderIconComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-sort-order-icon', - template: "\r\n \r\n\r\n" - }] } - ]; - SortOrderIconComponent.propDecorators = { - selectedKey: [{ type: core.Input }], - selectedSortKey: [{ type: core.Input }], - selectedKeyChange: [{ type: core.Output }], - selectedSortKeyChange: [{ type: core.Output }], - key: [{ type: core.Input }], - sortKey: [{ type: core.Input }], - order: [{ type: core.Input }], - orderChange: [{ type: core.Output }], - iconClass: [{ type: core.Input }] - }; - return SortOrderIconComponent; - }()); - if (false) { - /** - * @type {?} - * @private - */ - SortOrderIconComponent.prototype._order; - /** - * @type {?} - * @private - */ - SortOrderIconComponent.prototype._selectedSortKey; - /** @type {?} */ - SortOrderIconComponent.prototype.selectedKeyChange; - /** @type {?} */ - SortOrderIconComponent.prototype.selectedSortKeyChange; - /** @type {?} */ - SortOrderIconComponent.prototype.sortKey; - /** @type {?} */ - SortOrderIconComponent.prototype.orderChange; - /** @type {?} */ - SortOrderIconComponent.prototype.iconClass; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/table-empty-message/table-empty-message.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var TableEmptyMessageComponent = /** @class */ (function () { - function TableEmptyMessageComponent() { - this.colspan = 2; - this.localizationResource = 'AbpAccount'; - this.localizationProp = 'NoDataAvailableInDatatable'; - } - Object.defineProperty(TableEmptyMessageComponent.prototype, "emptyMessage", { - get: /** - * @return {?} - */ - function () { - return this.message || this.localizationResource + "::" + this.localizationProp; - }, - enumerable: true, - configurable: true - }); - TableEmptyMessageComponent.decorators = [ - { type: core.Component, args: [{ - // tslint:disable-next-line: component-selector - selector: '[abp-table-empty-message]', - template: "\n \n {{ emptyMessage | abpLocalization }}\n \n " - }] } - ]; - TableEmptyMessageComponent.propDecorators = { - colspan: [{ type: core.Input }], - message: [{ type: core.Input }], - localizationResource: [{ type: core.Input }], - localizationProp: [{ type: core.Input }] - }; - return TableEmptyMessageComponent; - }()); - if (false) { - /** @type {?} */ - TableEmptyMessageComponent.prototype.colspan; - /** @type {?} */ - TableEmptyMessageComponent.prototype.message; - /** @type {?} */ - TableEmptyMessageComponent.prototype.localizationResource; - /** @type {?} */ - TableEmptyMessageComponent.prototype.localizationProp; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/toast/toast.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ToastComponent = /** @class */ (function () { - function ToastComponent() { - } - ToastComponent.decorators = [ - { type: core.Component, args: [{ - selector: 'abp-toast', - // tslint:disable-next-line: component-max-inline-declarations - template: "\n \n \n \n
    \n
    {{ message.summary | abpLocalization: message.titleLocalizationParams }}
    \n
    {{ message.detail | abpLocalization: message.messageLocalizationParams }}
    \n
    \n
    \n
    \n " - }] } - ]; - return ToastComponent; - }()); - - /** - * @fileoverview added by tsickle - * Generated from: lib/constants/styles.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var styles = "\n.is-invalid .form-control {\n border-color: #dc3545;\n border-style: solid !important;\n}\n\n.is-invalid .invalid-feedback,\n.is-invalid + * .invalid-feedback {\n display: block;\n}\n\n.data-tables-filter {\n text-align: right;\n}\n\n.pointer {\n cursor: pointer;\n}\n\n.navbar .dropdown-submenu a::after {\n transform: rotate(-90deg);\n position: absolute;\n right: 16px;\n top: 18px;\n}\n\n.navbar .dropdown-menu {\n min-width: 215px;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar {\n height: 5px !important;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar-track {\n background: #ddd;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar-thumb {\n background: #8a8686;\n}\n\n.modal.show {\n display: block !important;\n}\n\n.modal-backdrop {\n position: fixed;\n top: 0;\n left: 0;\n width: calc(100% - 7px);\n height: 100%;\n background-color: rgba(0, 0, 0, 0.6);\n z-index: 1040;\n}\n\n.modal::-webkit-scrollbar {\n width: 7px;\n}\n\n.modal::-webkit-scrollbar-track {\n background: #ddd;\n}\n\n.modal::-webkit-scrollbar-thumb {\n background: #8a8686;\n}\n\n.modal-dialog {\n z-index: 1050;\n}\n\n.abp-ellipsis-inline {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.abp-ellipsis {\n overflow: hidden !important;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.abp-toast .ui-toast-message {\n box-sizing: border-box;\n border: 2px solid transparent;\n border-radius: 4px;\n color: #1b1d29;\n}\n\n.abp-toast .ui-toast-message-content {\n padding: 10px;\n}\n\n.abp-toast .ui-toast-message-content .ui-toast-icon {\n top: 0;\n left: 0;\n padding: 10px;\n}\n\n.abp-toast .ui-toast-summary {\n margin: 0;\n font-weight: 700;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-error {\n border: 2px solid #ba1659;\n background-color: #f4f4f7;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-error .ui-toast-message-content .ui-toast-icon {\n color: #ba1659;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn {\n border: 2px solid #ed5d98;\n background-color: #f4f4f7;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn .ui-toast-message-content .ui-toast-icon {\n color: #ed5d98;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-success {\n border: 2px solid #1c9174;\n background-color: #f4f4f7;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-success .ui-toast-message-content .ui-toast-icon {\n color: #1c9174;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-info {\n border: 2px solid #fccb31;\n background-color: #f4f4f7;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-info .ui-toast-message-content .ui-toast-icon {\n color: #fccb31;\n}\n\n.abp-confirm .ui-toast-message {\n box-sizing: border-box;\n padding: 0px;\n border:0 none;\n border-radius: 4px;\n background-color: transparent !important;\n font-family: \"Poppins\", sans-serif;\n text-align: center;\n}\n\n.abp-confirm .ui-toast-message-content {\n padding: 0px;\n}\n\n.abp-confirm .abp-confirm-icon {\n margin: 32px 50px 5px !important;\n color: #f8bb86 !important;\n font-size: 52px !important;\n}\n\n.abp-confirm .ui-toast-close-icon {\n display: none !important;\n}\n\n.abp-confirm .abp-confirm-summary {\n display: block !important;\n margin-bottom: 13px !important;\n padding: 13px 16px 0px !important;\n font-weight: 600 !important;\n font-size: 18px !important;\n}\n\n.abp-confirm .abp-confirm-body {\n display: inline-block !important;\n padding: 0px 10px !important;\n}\n\n.abp-confirm .abp-confirm-footer {\n display: block;\n margin-top: 30px;\n padding: 16px;\n text-align: right;\n}\n\n.abp-confirm .abp-confirm-footer .btn {\n margin-left: 10px !important;\n}\n\n.ui-widget-overlay {\n z-index: 1000;\n}\n\n.color-white {\n color: #FFF !important;\n}\n\n.custom-checkbox > label {\n cursor: pointer;\n}\n\n/* -1; }), false)) { - _this.show404Page(); - } - else if (res instanceof routerPlugin.RouterDataResolved && _this.componentRef) { - _this.componentRef.destroy(); - _this.componentRef = null; - } - })); - } - /** - * @private - * @return {?} - */ - ErrorHandler.prototype.show401Page = /** - * @private - * @return {?} - */ - function () { - this.createErrorComponent({ - title: { - key: 'AbpAccount::401Message', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.title, - }, - status: 401, - }); - }; - /** - * @private - * @return {?} - */ - ErrorHandler.prototype.show404Page = /** - * @private - * @return {?} - */ - function () { - this.createErrorComponent({ - title: { - key: 'AbpAccount::404Message', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.title, - }, - status: 404, - }); - }; - /** - * @private - * @param {?=} message - * @param {?=} title - * @param {?=} body - * @return {?} - */ - ErrorHandler.prototype.showError = /** - * @private - * @param {?=} message - * @param {?=} title - * @param {?=} body - * @return {?} - */ - function (message, title, body) { - if (body) { - if (body.details) { - message = body.details; - title = body.message; - } - else { - message = body.message || DEFAULT_ERROR_MESSAGES.defaultError.title; - } - } - return this.confirmationService.error(message, title, { - hideCancelBtn: true, - yesText: 'AbpAccount::Close', - }); - }; - /** - * @private - * @return {?} - */ - ErrorHandler.prototype.navigateToLogin = /** - * @private - * @return {?} - */ - function () { - this.store.dispatch(new routerPlugin.Navigate(['/account/login'], null, { state: { redirectUrl: this.store.selectSnapshot(routerPlugin.RouterState.url) } })); - }; - /** - * @param {?} instance - * @return {?} - */ - ErrorHandler.prototype.createErrorComponent = /** - * @param {?} instance - * @return {?} - */ - function (instance) { - var _this = this; - /** @type {?} */ - var renderer = this.rendererFactory.createRenderer(null, null); - /** @type {?} */ - var host = renderer.selectRootElement(document.body, true); - this.componentRef = this.cfRes.resolveComponentFactory(HttpErrorWrapperComponent).create(this.injector); - for (var key in this.componentRef.instance) { - if (this.componentRef.instance.hasOwnProperty(key)) { - this.componentRef.instance[key] = instance[key]; - } - } - this.componentRef.instance.hideCloseIcon = this.httpErrorConfig.errorScreen.hideCloseIcon; - if (this.canCreateCustomError((/** @type {?} */ (instance.status)))) { - this.componentRef.instance.cfRes = this.cfRes; - this.componentRef.instance.appRef = this.appRef; - this.componentRef.instance.injector = this.injector; - this.componentRef.instance.customComponent = this.httpErrorConfig.errorScreen.component; - } - this.appRef.attachView(this.componentRef.hostView); - renderer.appendChild(host, ((/** @type {?} */ (this.componentRef.hostView))).rootNodes[0]); - /** @type {?} */ - var destroy$ = new rxjs.Subject(); - this.componentRef.instance.destroy$ = destroy$; - destroy$.subscribe((/** - * @return {?} - */ - function () { - _this.componentRef.destroy(); - _this.componentRef = null; - })); - }; - /** - * @param {?} status - * @return {?} - */ - ErrorHandler.prototype.canCreateCustomError = /** - * @param {?} status - * @return {?} - */ - function (status) { - var _this = this; - return snq((/** - * @return {?} - */ - function () { - return _this.httpErrorConfig.errorScreen.component && - _this.httpErrorConfig.errorScreen.forWhichErrors.indexOf(status) > -1; - })); - }; - ErrorHandler.decorators = [ - { type: core.Injectable, args: [{ providedIn: 'root' },] } - ]; - /** @nocollapse */ - ErrorHandler.ctorParameters = function () { return [ - { type: store.Actions }, - { type: store.Store }, - { type: ConfirmationService }, - { type: core.ApplicationRef }, - { type: core.ComponentFactoryResolver }, - { type: core.RendererFactory2 }, - { type: core.Injector }, - { type: undefined, decorators: [{ type: core.Inject, args: ['HTTP_ERROR_CONFIG',] }] } - ]; }; - /** @nocollapse */ ErrorHandler.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function ErrorHandler_Factory() { return new ErrorHandler(core.ɵɵinject(store.Actions), core.ɵɵinject(store.Store), core.ɵɵinject(ConfirmationService), core.ɵɵinject(core.ApplicationRef), core.ɵɵinject(core.ComponentFactoryResolver), core.ɵɵinject(core.RendererFactory2), core.ɵɵinject(core.INJECTOR), core.ɵɵinject("HTTP_ERROR_CONFIG")); }, token: ErrorHandler, providedIn: "root" }); - return ErrorHandler; - }()); - if (false) { - /** @type {?} */ - ErrorHandler.prototype.componentRef; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.actions; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.store; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.confirmationService; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.appRef; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.cfRes; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.rendererFactory; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.injector; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.httpErrorConfig; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/tokens/http-error.token.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * @param {?=} config - * @return {?} - */ - function httpErrorConfigFactory(config) { - if (config === void 0) { config = (/** @type {?} */ ({})); } - if (config.errorScreen && config.errorScreen.component && !config.errorScreen.forWhichErrors) { - config.errorScreen.forWhichErrors = [401, 403, 404, 500]; - } - return (/** @type {?} */ (__assign({ errorScreen: {} }, config))); - } - /** @type {?} */ - var HTTP_ERROR_CONFIG = new core.InjectionToken('HTTP_ERROR_CONFIG'); - - /** - * @fileoverview added by tsickle - * Generated from: lib/utils/date-parser-formatter.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * @param {?} value - * @return {?} - */ - function padNumber(value) { - if (isNumber(value)) { - return ("0" + value).slice(-2); - } - else { - return ''; - } - } - /** - * @param {?} value - * @return {?} - */ - function isNumber(value) { - return !isNaN(toInteger(value)); - } - /** - * @param {?} value - * @return {?} - */ - function toInteger(value) { - return parseInt("" + value, 10); - } - var DateParserFormatter = /** @class */ (function (_super) { - __extends(DateParserFormatter, _super); - function DateParserFormatter(datePipe) { - var _this = _super.call(this) || this; - _this.datePipe = datePipe; - return _this; - } - /** - * @param {?} value - * @return {?} - */ - DateParserFormatter.prototype.parse = /** - * @param {?} value - * @return {?} - */ - function (value) { - if (value) { - /** @type {?} */ - var dateParts = value.trim().split('-'); - if (dateParts.length === 1 && isNumber(dateParts[0])) { - return { year: toInteger(dateParts[0]), month: null, day: null }; - } - else if (dateParts.length === 2 && isNumber(dateParts[0]) && isNumber(dateParts[1])) { - return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: null }; - } - else if (dateParts.length === 3 && isNumber(dateParts[0]) && isNumber(dateParts[1]) && isNumber(dateParts[2])) { - return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: toInteger(dateParts[2]) }; - } - } - return null; - }; - /** - * @param {?} date - * @return {?} - */ - DateParserFormatter.prototype.format = /** - * @param {?} date - * @return {?} - */ - function (date) { - if (date && this.datePipe) { - return this.datePipe.transform(new Date(date.year, date.month, date.day), 'shortDate'); - } - else { - return date - ? date.year + "-" + (isNumber(date.month) ? padNumber(date.month) : '') + "-" + (isNumber(date.day) ? padNumber(date.day) : '') - : ''; - } - }; - DateParserFormatter.decorators = [ - { type: core.Injectable } - ]; - /** @nocollapse */ - DateParserFormatter.ctorParameters = function () { return [ - { type: common.DatePipe, decorators: [{ type: core.Optional }] } - ]; }; - return DateParserFormatter; - }(ngBootstrap.NgbDateParserFormatter)); - if (false) { - /** - * @type {?} - * @private - */ - DateParserFormatter.prototype.datePipe; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/theme-shared.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * @param {?} injector - * @return {?} - */ - function appendScript(injector) { - /** @type {?} */ - var fn = (/** - * @return {?} - */ - function () { - import('chart.js').then((/** - * @return {?} - */ - function () { return chartJsLoaded$.next(true); })); - /** @type {?} */ - var lazyLoadService = injector.get(ng_core.LazyLoadService); - return lazyLoadService.load(null, 'style', styles, 'head', 'beforeend').toPromise(); - }); - return fn; - } - var ThemeSharedModule = /** @class */ (function () { - function ThemeSharedModule(errorHandler) { - this.errorHandler = errorHandler; - } - /** - * @param {?=} options - * @return {?} - */ - ThemeSharedModule.forRoot = /** - * @param {?=} options - * @return {?} - */ - function (options) { - if (options === void 0) { options = (/** @type {?} */ ({})); } - return { - ngModule: ThemeSharedModule, - providers: [ - { - provide: core.APP_INITIALIZER, - multi: true, - deps: [core.Injector], - useFactory: appendScript, - }, - { provide: messageservice.MessageService, useClass: messageservice.MessageService }, - { provide: HTTP_ERROR_CONFIG, useValue: options.httpErrorConfig }, - { - provide: 'HTTP_ERROR_CONFIG', - useFactory: httpErrorConfigFactory, - deps: [HTTP_ERROR_CONFIG], - }, - { provide: ngBootstrap.NgbDateParserFormatter, useClass: DateParserFormatter }, - ], - }; - }; - ThemeSharedModule.decorators = [ - { type: core.NgModule, args: [{ - imports: [ng_core.CoreModule, toast.ToastModule, core$1.NgxValidateCoreModule], - declarations: [ - BreadcrumbComponent, - ButtonComponent, - ChartComponent, - ConfirmationComponent, - HttpErrorWrapperComponent, - LoaderBarComponent, - ModalComponent, - TableEmptyMessageComponent, - ToastComponent, - SortOrderIconComponent, - TableSortDirective, - ], - exports: [ - BreadcrumbComponent, - ButtonComponent, - ChartComponent, - ConfirmationComponent, - LoaderBarComponent, - ModalComponent, - TableEmptyMessageComponent, - ToastComponent, - SortOrderIconComponent, - TableSortDirective, - ], - providers: [common.DatePipe], - entryComponents: [HttpErrorWrapperComponent], - },] } - ]; - /** @nocollapse */ - ThemeSharedModule.ctorParameters = function () { return [ - { type: ErrorHandler } - ]; }; - return ThemeSharedModule; - }()); - if (false) { - /** - * @type {?} - * @private - */ - ThemeSharedModule.prototype.errorHandler; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/animations/bounce.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** @type {?} */ - var bounceIn = animations.animation([ - animations.style({ opacity: '0', display: '{{ display }}' }), - animations.animate('{{ time}} {{ easing }}', animations.keyframes([ - animations.style({ opacity: '0', transform: '{{ transform }} scale(0.0)', offset: 0 }), - animations.style({ opacity: '0', transform: '{{ transform }} scale(0.8)', offset: 0.5 }), - animations.style({ opacity: '1', transform: '{{ transform }} scale(1.0)', offset: 1 }) - ])) - ], { - params: { - time: '350ms', - easing: 'cubic-bezier(.7,.31,.72,1.47)', - display: 'block', - transform: 'translate(-50%, -50%)' - } - }); - - /** - * @fileoverview added by tsickle - * Generated from: lib/animations/collapse.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** @type {?} */ - var collapseY = animations.animation([ - animations.style({ height: '*', overflow: 'hidden', 'box-sizing': 'border-box' }), - animations.animate('{{ time }} {{ easing }}', animations.style({ height: '0', padding: '0px' })), - ], { params: { time: '350ms', easing: 'ease' } }); - /** @type {?} */ - var collapseYWithMargin = animations.animation([animations.style({ 'margin-top': '0' }), animations.animate('{{ time }} {{ easing }}', animations.style({ 'margin-top': '-100%' }))], { - params: { time: '500ms', easing: 'ease' }, - }); - /** @type {?} */ - var collapseX = animations.animation([ - animations.style({ width: '*', overflow: 'hidden', 'box-sizing': 'border-box' }), - animations.animate('{{ time }} {{ easing }}', animations.style({ width: '0', padding: '0px' })), - ], { params: { time: '350ms', easing: 'ease' } }); - /** @type {?} */ - var expandY = animations.animation([ - animations.style({ height: '0', overflow: 'hidden', 'box-sizing': 'border-box' }), - animations.animate('{{ time }} {{ easing }}', animations.style({ height: '*', padding: '*' })), - ], { params: { time: '350ms', easing: 'ease' } }); - /** @type {?} */ - var expandYWithMargin = animations.animation([animations.style({ 'margin-top': '-100%' }), animations.animate('{{ time }} {{ easing }}', animations.style({ 'margin-top': '0' }))], { - params: { time: '500ms', easing: 'ease' }, - }); - /** @type {?} */ - var expandX = animations.animation([ - animations.style({ width: '0', overflow: 'hidden', 'box-sizing': 'border-box' }), - animations.animate('{{ time }} {{ easing }}', animations.style({ width: '*', padding: '*' })), - ], { params: { time: '350ms', easing: 'ease' } }); - /** @type {?} */ - var collapse = animations.trigger('collapse', [ - animations.state('collapsed', animations.style({ height: '0', overflow: 'hidden' })), - animations.state('expanded', animations.style({ height: '*', overflow: 'hidden' })), - animations.transition('expanded => collapsed', animations.useAnimation(collapseY)), - animations.transition('collapsed => expanded', animations.useAnimation(expandY)), - ]); - /** @type {?} */ - var collapseWithMargin = animations.trigger('collapseWithMargin', [ - animations.state('collapsed', animations.style({ 'margin-top': '-100%' })), - animations.state('expanded', animations.style({ 'margin-top': '0' })), - animations.transition('expanded => collapsed', animations.useAnimation(collapseYWithMargin), { - params: { time: '400ms', easing: 'linear' }, - }), - animations.transition('collapsed => expanded', animations.useAnimation(expandYWithMargin)), - ]); - /** @type {?} */ - var collapseLinearWithMargin = animations.trigger('collapseLinearWithMargin', [ - animations.state('collapsed', animations.style({ 'margin-top': '-100%' })), - animations.state('expanded', animations.style({ 'margin-top': '0' })), - animations.transition('expanded => collapsed', animations.useAnimation(collapseYWithMargin, { params: { time: '200ms', easing: 'linear' } })), - animations.transition('collapsed => expanded', animations.useAnimation(expandYWithMargin, { params: { time: '250ms', easing: 'linear' } })), - ]); - - /** - * @fileoverview added by tsickle - * Generated from: lib/animations/slide.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** @type {?} */ - var slideFromBottom = animations.trigger('slideFromBottom', [ - animations.transition('* <=> *', [ - animations.style({ 'margin-top': '20px', opacity: '0' }), - animations.animate('0.2s ease-out', animations.style({ opacity: '1', 'margin-top': '0px' })), - ]), - ]); - - /** - * @fileoverview added by tsickle - * Generated from: lib/animations/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/directives/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/common.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * @record - */ - function RootParams() { } - if (false) { - /** @type {?} */ - RootParams.prototype.httpErrorConfig; - } - /** - * @record - */ - function HttpErrorConfig() { } - if (false) { - /** @type {?|undefined} */ - HttpErrorConfig.prototype.errorScreen; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/confirmation.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var Confirmation; - (function (Confirmation) { - /** - * @record - */ - function Options() { } - Confirmation.Options = Options; - if (false) { - /** @type {?|undefined} */ - Options.prototype.hideCancelBtn; - /** @type {?|undefined} */ - Options.prototype.hideYesBtn; - /** @type {?|undefined} */ - Options.prototype.cancelText; - /** @type {?|undefined} */ - Options.prototype.yesText; - /** - * @deprecated to be deleted in v2 - * @type {?|undefined} - */ - Options.prototype.cancelCopy; - /** - * @deprecated to be deleted in v2 - * @type {?|undefined} - */ - Options.prototype.yesCopy; - } - })(Confirmation || (Confirmation = {})); - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/setting-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - /** - * @record - */ - function SettingTab() { } - if (false) { - /** @type {?} */ - SettingTab.prototype.component; - /** @type {?} */ - SettingTab.prototype.name; - /** @type {?} */ - SettingTab.prototype.order; - /** @type {?|undefined} */ - SettingTab.prototype.requiredPolicy; - } - /** @type {?} */ - var SETTING_TABS = (/** @type {?} */ ([])); - /** - * @param {?} tab - * @return {?} - */ - function addSettingTab(tab) { - if (!Array.isArray(tab)) { - tab = [tab]; - } - SETTING_TABS.push.apply(SETTING_TABS, __spread(tab)); - } - /** - * @return {?} - */ - function getSettingTabs() { - return SETTING_TABS; - } - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/statistics.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var Statistics; - (function (Statistics) { - /** - * @record - */ - function Response() { } - Statistics.Response = Response; - if (false) { - /** @type {?} */ - Response.prototype.data; - } - /** - * @record - */ - function Data() { } - Statistics.Data = Data; - /** - * @record - */ - function Filter() { } - Statistics.Filter = Filter; - if (false) { - /** @type {?} */ - Filter.prototype.startDate; - /** @type {?} */ - Filter.prototype.endDate; - } - })(Statistics || (Statistics = {})); - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/toaster.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - (function (Toaster) { - /** - * @record - */ - function Options() { } - Toaster.Options = Options; - if (false) { - /** @type {?|undefined} */ - Options.prototype.id; - /** @type {?|undefined} */ - Options.prototype.closable; - /** @type {?|undefined} */ - Options.prototype.life; - /** @type {?|undefined} */ - Options.prototype.sticky; - /** @type {?|undefined} */ - Options.prototype.data; - /** @type {?|undefined} */ - Options.prototype.messageLocalizationParams; - /** @type {?|undefined} */ - Options.prototype.titleLocalizationParams; - } - })(exports.Toaster || (exports.Toaster = {})); - - /** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - - /** - * @fileoverview added by tsickle - * Generated from: lib/services/toaster.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - var ToasterService = /** @class */ (function (_super) { - __extends(ToasterService, _super); - function ToasterService(messageService) { - var _this = _super.call(this, messageService) || this; - _this.messageService = messageService; - return _this; - } - /** - * @param {?} messages - * @return {?} - */ - ToasterService.prototype.addAll = /** - * @param {?} messages - * @return {?} - */ - function (messages) { - var _this = this; - this.messageService.addAll(messages.map((/** - * @param {?} message - * @return {?} - */ - function (message) { return (__assign({ key: _this.key }, message)); }))); - }; - ToasterService.decorators = [ - { type: core.Injectable, args: [{ providedIn: 'root' },] } - ]; - /** @nocollapse */ - ToasterService.ctorParameters = function () { return [ - { type: messageservice.MessageService } - ]; }; - /** @nocollapse */ ToasterService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function ToasterService_Factory() { return new ToasterService(core.ɵɵinject(messageservice.MessageService)); }, token: ToasterService, providedIn: "root" }); - return ToasterService; - }(AbstractToaster)); - if (false) { - /** - * @type {?} - * @protected - */ - ToasterService.prototype.messageService; - } - - exports.BreadcrumbComponent = BreadcrumbComponent; - exports.ButtonComponent = ButtonComponent; - exports.ChartComponent = ChartComponent; - exports.ConfirmationComponent = ConfirmationComponent; - exports.ConfirmationService = ConfirmationService; - exports.DateParserFormatter = DateParserFormatter; - exports.LoaderBarComponent = LoaderBarComponent; - exports.ModalComponent = ModalComponent; - exports.SortOrderIconComponent = SortOrderIconComponent; - exports.TableEmptyMessageComponent = TableEmptyMessageComponent; - exports.TableSortDirective = TableSortDirective; - exports.ThemeSharedModule = ThemeSharedModule; - exports.ToastComponent = ToastComponent; - exports.ToasterService = ToasterService; - exports.addSettingTab = addSettingTab; - exports.appendScript = appendScript; - exports.bounceIn = bounceIn; - exports.chartJsLoaded$ = chartJsLoaded$; - exports.collapse = collapse; - exports.collapseLinearWithMargin = collapseLinearWithMargin; - exports.collapseWithMargin = collapseWithMargin; - exports.collapseX = collapseX; - exports.collapseY = collapseY; - exports.collapseYWithMargin = collapseYWithMargin; - exports.dialogAnimation = dialogAnimation; - exports.expandX = expandX; - exports.expandY = expandY; - exports.expandYWithMargin = expandYWithMargin; - exports.fadeAnimation = fadeAnimation; - exports.fadeIn = fadeIn; - exports.fadeInDown = fadeInDown; - exports.fadeInLeft = fadeInLeft; - exports.fadeInRight = fadeInRight; - exports.fadeInUp = fadeInUp; - exports.fadeOut = fadeOut; - exports.fadeOutDown = fadeOutDown; - exports.fadeOutLeft = fadeOutLeft; - exports.fadeOutRight = fadeOutRight; - exports.fadeOutUp = fadeOutUp; - exports.getRandomBackgroundColor = getRandomBackgroundColor; - exports.getSettingTabs = getSettingTabs; - exports.slideFromBottom = slideFromBottom; - exports.ɵa = BreadcrumbComponent; - exports.ɵb = ButtonComponent; - exports.ɵc = ChartComponent; - exports.ɵd = ConfirmationComponent; - exports.ɵe = ConfirmationService; - exports.ɵf = AbstractToaster; - exports.ɵg = HttpErrorWrapperComponent; - exports.ɵh = LoaderBarComponent; - exports.ɵi = ModalComponent; - exports.ɵj = fadeAnimation; - exports.ɵk = fadeIn; - exports.ɵl = fadeOut; - exports.ɵm = TableEmptyMessageComponent; - exports.ɵn = ToastComponent; - exports.ɵo = SortOrderIconComponent; - exports.ɵp = TableSortDirective; - exports.ɵq = ErrorHandler; - exports.ɵs = httpErrorConfigFactory; - exports.ɵt = HTTP_ERROR_CONFIG; - exports.ɵu = DateParserFormatter; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}))); -//# sourceMappingURL=abp-ng.theme.shared.umd.js.map diff --git a/npm/ng-packs/dist/theme-shared/bundles/abp-ng.theme.shared.umd.js.map b/npm/ng-packs/dist/theme-shared/bundles/abp-ng.theme.shared.umd.js.map deleted file mode 100644 index ba75fd45615..00000000000 --- a/npm/ng-packs/dist/theme-shared/bundles/abp-ng.theme.shared.umd.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.theme.shared.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","ng://@abp/ng.theme.shared/lib/components/breadcrumb/breadcrumb.component.ts","ng://@abp/ng.theme.shared/lib/components/button/button.component.ts","ng://@abp/ng.theme.shared/lib/utils/widget-utils.ts","ng://@abp/ng.theme.shared/lib/components/chart/chart.component.ts","ng://@abp/ng.theme.shared/lib/abstracts/toaster.ts","ng://@abp/ng.theme.shared/lib/services/confirmation.service.ts","ng://@abp/ng.theme.shared/lib/components/confirmation/confirmation.component.ts","ng://@abp/ng.theme.shared/lib/components/http-error-wrapper/http-error-wrapper.component.ts","ng://@abp/ng.theme.shared/lib/components/loader-bar/loader-bar.component.ts","ng://@abp/ng.theme.shared/lib/animations/fade.animations.ts","ng://@abp/ng.theme.shared/lib/animations/modal.animations.ts","ng://@abp/ng.theme.shared/lib/components/modal/modal.component.ts","ng://@abp/ng.theme.shared/lib/components/sort-order-icon/sort-order-icon.component.ts","ng://@abp/ng.theme.shared/lib/components/table-empty-message/table-empty-message.component.ts","ng://@abp/ng.theme.shared/lib/components/toast/toast.component.ts","ng://@abp/ng.theme.shared/lib/constants/styles.ts","ng://@abp/ng.theme.shared/lib/directives/table-sort.directive.ts","ng://@abp/ng.theme.shared/lib/handlers/error.handler.ts","ng://@abp/ng.theme.shared/lib/tokens/http-error.token.ts","ng://@abp/ng.theme.shared/lib/utils/date-parser-formatter.ts","ng://@abp/ng.theme.shared/lib/theme-shared.module.ts","ng://@abp/ng.theme.shared/lib/animations/bounce.animations.ts","ng://@abp/ng.theme.shared/lib/animations/collapse.animations.ts","ng://@abp/ng.theme.shared/lib/animations/slide.animations.ts","ng://@abp/ng.theme.shared/lib/models/common.ts","ng://@abp/ng.theme.shared/lib/models/confirmation.ts","ng://@abp/ng.theme.shared/lib/models/setting-management.ts","ng://@abp/ng.theme.shared/lib/models/statistics.ts","ng://@abp/ng.theme.shared/lib/models/toaster.ts","ng://@abp/ng.theme.shared/lib/services/toaster.service.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngxs/store';\r\nimport { ConfigState, ABP } from '@abp/ng.core';\r\n\r\n@Component({\r\n selector: 'abp-breadcrumb',\r\n templateUrl: './breadcrumb.component.html',\r\n})\r\nexport class BreadcrumbComponent implements OnInit {\r\n show: boolean;\r\n\r\n segments: string[] = [];\r\n\r\n constructor(private router: Router, private store: Store) {}\r\n\r\n ngOnInit(): void {\r\n this.show = !!this.store.selectSnapshot(state => state.LeptonLayoutState);\r\n if (this.show) {\r\n let splittedUrl = this.router.url.split('/').filter(chunk => chunk);\r\n\r\n let currentUrl: ABP.FullRoute = this.store.selectSnapshot(ConfigState.getRoute(splittedUrl[0]));\r\n\r\n if (!currentUrl) {\r\n currentUrl = this.store.selectSnapshot(ConfigState.getRoute(null, null, this.router.url));\r\n splittedUrl = [this.router.url];\r\n if (!currentUrl) {\r\n this.show = false;\r\n return;\r\n }\r\n }\r\n\r\n this.segments.push(currentUrl.name);\r\n\r\n if (splittedUrl.length > 1) {\r\n const [, ...arr] = splittedUrl;\r\n\r\n let childRoute: ABP.FullRoute = currentUrl;\r\n for (let i = 0; i < arr.length; i++) {\r\n const element = arr[i];\r\n childRoute = childRoute.children.find(child => child.path === element);\r\n\r\n this.segments.push(childRoute.name);\r\n }\r\n }\r\n }\r\n }\r\n}\r\n","import {\r\n Component,\r\n EventEmitter,\r\n Input,\r\n Output,\r\n ViewChild,\r\n ElementRef,\r\n Renderer2,\r\n OnInit,\r\n} from '@angular/core';\r\nimport { ABP } from '@abp/ng.core';\r\n\r\n@Component({\r\n selector: 'abp-button',\r\n template: `\r\n \r\n \r\n \r\n `,\r\n})\r\nexport class ButtonComponent implements OnInit {\r\n @Input()\r\n buttonId = '';\r\n\r\n @Input()\r\n buttonClass = 'btn btn-primary';\r\n\r\n @Input()\r\n buttonType = 'button';\r\n\r\n @Input()\r\n iconClass: string;\r\n\r\n @Input()\r\n loading = false;\r\n\r\n @Input()\r\n disabled = false;\r\n\r\n @Input()\r\n attributes: ABP.Dictionary;\r\n\r\n // tslint:disable\r\n /**\r\n * @deprecated use abpClick instead\r\n */\r\n @Output() readonly click = new EventEmitter();\r\n\r\n /**\r\n * @deprecated use abpFocus instead\r\n */\r\n // tslint:disable-next-line: no-output-native\r\n @Output() readonly focus = new EventEmitter();\r\n\r\n /**\r\n * @deprecated use abpBlur instead\r\n */\r\n @Output() readonly blur = new EventEmitter();\r\n // tslint:enable\r\n\r\n @Output() readonly abpClick = new EventEmitter();\r\n\r\n @Output() readonly abpFocus = new EventEmitter();\r\n\r\n @Output() readonly abpBlur = new EventEmitter();\r\n\r\n @ViewChild('button', { static: true })\r\n buttonRef: ElementRef;\r\n\r\n get icon(): string {\r\n return `${this.loading ? 'fa fa-spinner fa-spin' : this.iconClass || 'd-none'}`;\r\n }\r\n\r\n constructor(private renderer: Renderer2) {}\r\n\r\n ngOnInit() {\r\n if (this.attributes) {\r\n Object.keys(this.attributes).forEach(key => {\r\n this.renderer.setAttribute(this.buttonRef.nativeElement, key, this.attributes[key]);\r\n });\r\n }\r\n }\r\n}\r\n","import { ReplaySubject } from 'rxjs';\r\n\r\nexport function getRandomBackgroundColor(count) {\r\n const colors = [];\r\n\r\n for (let i = 0; i < count; i++) {\r\n const r = ((i + 5) * (i + 5) * 474) % 255;\r\n const g = ((i + 5) * (i + 5) * 1600) % 255;\r\n const b = ((i + 5) * (i + 5) * 84065) % 255;\r\n colors.push('rgba(' + r + ', ' + g + ', ' + b + ', 0.7)');\r\n }\r\n\r\n return colors;\r\n}\r\n\r\nexport const chartJsLoaded$ = new ReplaySubject(1);\r\n","import {\r\n AfterViewInit,\r\n Component,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n OnDestroy,\r\n Output,\r\n ChangeDetectorRef,\r\n} from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { chartJsLoaded$ } from '../../utils/widget-utils';\r\ndeclare const Chart: any;\r\n\r\n@Component({\r\n selector: 'abp-chart',\r\n templateUrl: './chart.component.html',\r\n})\r\nexport class ChartComponent implements AfterViewInit, OnDestroy {\r\n @Input() type: string;\r\n\r\n @Input() options: any = {};\r\n\r\n @Input() plugins: any[] = [];\r\n\r\n @Input() width: string;\r\n\r\n @Input() height: string;\r\n\r\n @Input() responsive = true;\r\n\r\n // tslint:disable-next-line: no-output-on-prefix\r\n @Output() readonly onDataSelect: EventEmitter = new EventEmitter();\r\n\r\n @Output() readonly initialized = new BehaviorSubject(this);\r\n\r\n private _initialized: boolean;\r\n\r\n _data: any;\r\n\r\n chart: any;\r\n\r\n constructor(public el: ElementRef, private cdRef: ChangeDetectorRef) {}\r\n\r\n @Input() get data(): any {\r\n return this._data;\r\n }\r\n\r\n set data(val: any) {\r\n this._data = val;\r\n this.reinit();\r\n }\r\n\r\n get canvas() {\r\n return this.el.nativeElement.children[0].children[0];\r\n }\r\n\r\n get base64Image() {\r\n return this.chart.toBase64Image();\r\n }\r\n\r\n ngAfterViewInit() {\r\n chartJsLoaded$.subscribe(() => {\r\n this.testChartJs();\r\n\r\n this.initChart();\r\n this._initialized = true;\r\n });\r\n }\r\n\r\n testChartJs() {\r\n try {\r\n // tslint:disable-next-line: no-unused-expression\r\n Chart;\r\n } catch (error) {\r\n throw new Error(`Chart is not found. Import the Chart from app.module like shown below:\r\n import('chart.js');\r\n `);\r\n }\r\n }\r\n\r\n onCanvasClick = event => {\r\n if (this.chart) {\r\n const element = this.chart.getElementAtEvent(event);\r\n const dataset = this.chart.getDatasetAtEvent(event);\r\n if (element && element.length && dataset) {\r\n this.onDataSelect.emit({\r\n originalEvent: event,\r\n element: element[0],\r\n dataset,\r\n });\r\n }\r\n }\r\n };\r\n\r\n initChart = () => {\r\n const opts = this.options || {};\r\n opts.responsive = this.responsive;\r\n\r\n // allows chart to resize in responsive mode\r\n if (opts.responsive && (this.height || this.width)) {\r\n opts.maintainAspectRatio = false;\r\n }\r\n\r\n this.chart = new Chart(this.canvas, {\r\n type: this.type,\r\n data: this.data,\r\n options: this.options,\r\n plugins: this.plugins,\r\n });\r\n\r\n this.cdRef.detectChanges();\r\n };\r\n\r\n generateLegend = () => {\r\n if (this.chart) {\r\n return this.chart.generateLegend();\r\n }\r\n };\r\n\r\n refresh = () => {\r\n if (this.chart) {\r\n this.chart.update();\r\n this.cdRef.detectChanges();\r\n }\r\n };\r\n\r\n reinit = () => {\r\n if (this.chart) {\r\n this.chart.destroy();\r\n this.initChart();\r\n }\r\n };\r\n\r\n ngOnDestroy() {\r\n if (this.chart) {\r\n this.chart.destroy();\r\n this._initialized = false;\r\n this.chart = null;\r\n }\r\n }\r\n}\r\n","import { MessageService } from 'primeng/components/common/messageservice';\r\nimport { Observable, Subject } from 'rxjs';\r\nimport { Toaster } from '../models/toaster';\r\nimport { Config } from '@abp/ng.core';\r\n\r\nexport abstract class AbstractToaster {\r\n status$: Subject;\r\n\r\n key = 'abpToast';\r\n\r\n sticky = false;\r\n\r\n constructor(protected messageService: MessageService) {}\r\n\r\n info(message: Config.LocalizationParam, title: Config.LocalizationParam, options?: T): Observable {\r\n return this.show(message, title, 'info', options);\r\n }\r\n\r\n success(message: Config.LocalizationParam, title: Config.LocalizationParam, options?: T): Observable {\r\n return this.show(message, title, 'success', options);\r\n }\r\n\r\n warn(message: Config.LocalizationParam, title: Config.LocalizationParam, options?: T): Observable {\r\n return this.show(message, title, 'warn', options);\r\n }\r\n\r\n error(message: Config.LocalizationParam, title: Config.LocalizationParam, options?: T): Observable {\r\n return this.show(message, title, 'error', options);\r\n }\r\n\r\n protected show(\r\n message: Config.LocalizationParam,\r\n title: Config.LocalizationParam,\r\n severity: Toaster.Severity,\r\n options?: T,\r\n ): Observable {\r\n this.messageService.clear(this.key);\r\n\r\n this.messageService.add({\r\n severity,\r\n detail: message || '',\r\n summary: title || '',\r\n ...options,\r\n key: this.key,\r\n ...(typeof (options || ({} as any)).sticky === 'undefined' && { sticky: this.sticky }),\r\n });\r\n this.status$ = new Subject();\r\n return this.status$;\r\n }\r\n\r\n clear(status?: Toaster.Status) {\r\n this.messageService.clear(this.key);\r\n this.status$.next(status || Toaster.Status.dismiss);\r\n this.status$.complete();\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { AbstractToaster } from '../abstracts/toaster';\r\nimport { Confirmation } from '../models/confirmation';\r\nimport { MessageService } from 'primeng/components/common/messageservice';\r\nimport { fromEvent, Observable, Subject } from 'rxjs';\r\nimport { takeUntil, debounceTime, filter } from 'rxjs/operators';\r\nimport { Toaster } from '../models/toaster';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class ConfirmationService extends AbstractToaster {\r\n key = 'abpConfirmation';\r\n\r\n sticky = true;\r\n\r\n destroy$ = new Subject();\r\n\r\n constructor(protected messageService: MessageService) {\r\n super(messageService);\r\n }\r\n\r\n show(\r\n message: string,\r\n title: string,\r\n severity: Toaster.Severity,\r\n options?: Confirmation.Options,\r\n ): Observable {\r\n this.listenToEscape();\r\n return super.show(message, title, severity, options);\r\n }\r\n\r\n clear(status?: Toaster.Status) {\r\n super.clear(status);\r\n\r\n this.destroy$.next();\r\n }\r\n\r\n listenToEscape() {\r\n fromEvent(document, 'keyup')\r\n .pipe(\r\n takeUntil(this.destroy$),\r\n debounceTime(150),\r\n filter((key: KeyboardEvent) => key && key.key === 'Escape'),\r\n )\r\n .subscribe(_ => {\r\n this.clear();\r\n });\r\n }\r\n}\r\n","import { Component } from '@angular/core';\r\nimport { ConfirmationService } from '../../services/confirmation.service';\r\nimport { Toaster } from '../../models/toaster';\r\n\r\n@Component({\r\n selector: 'abp-confirmation',\r\n // tslint:disable-next-line: component-max-inline-declarations\r\n template: `\r\n \r\n \r\n \r\n
    \r\n {{ message.summary | abpLocalization: message.titleLocalizationParams }}\r\n
    \r\n
    \r\n {{ message.detail | abpLocalization: message.messageLocalizationParams }}\r\n
    \r\n\r\n \r\n
    \r\n \r\n `,\r\n})\r\nexport class ConfirmationComponent {\r\n confirm = Toaster.Status.confirm;\r\n reject = Toaster.Status.reject;\r\n dismiss = Toaster.Status.dismiss;\r\n\r\n constructor(private confirmationService: ConfirmationService) {}\r\n\r\n close(status: Toaster.Status) {\r\n this.confirmationService.clear(status);\r\n }\r\n}\r\n","import { Config, takeUntilDestroy } from '@abp/ng.core';\r\nimport {\r\n AfterViewInit,\r\n ApplicationRef,\r\n Component,\r\n ComponentFactoryResolver,\r\n ElementRef,\r\n EmbeddedViewRef,\r\n Injector,\r\n OnDestroy,\r\n OnInit,\r\n Type,\r\n ViewChild,\r\n} from '@angular/core';\r\nimport { fromEvent, Subject } from 'rxjs';\r\nimport { debounceTime, filter } from 'rxjs/operators';\r\nimport snq from 'snq';\r\n\r\n@Component({\r\n selector: 'abp-http-error-wrapper',\r\n templateUrl: './http-error-wrapper.component.html',\r\n styleUrls: ['http-error-wrapper.component.scss'],\r\n})\r\nexport class HttpErrorWrapperComponent implements AfterViewInit, OnDestroy, OnInit {\r\n appRef: ApplicationRef;\r\n\r\n cfRes: ComponentFactoryResolver;\r\n\r\n injector: Injector;\r\n\r\n status = 0;\r\n\r\n title: Config.LocalizationParam = 'Oops!';\r\n\r\n details: Config.LocalizationParam = 'Sorry, an error has occured.';\r\n\r\n customComponent: Type = null;\r\n\r\n destroy$: Subject;\r\n\r\n hideCloseIcon = false;\r\n\r\n backgroundColor: string;\r\n\r\n @ViewChild('container', { static: false })\r\n containerRef: ElementRef;\r\n\r\n get statusText(): string {\r\n return this.status ? `[${this.status}]` : '';\r\n }\r\n\r\n ngOnInit() {\r\n this.backgroundColor =\r\n snq(() => window.getComputedStyle(document.body).getPropertyValue('background-color')) || '#fff';\r\n }\r\n\r\n ngAfterViewInit() {\r\n if (this.customComponent) {\r\n const customComponentRef = this.cfRes.resolveComponentFactory(this.customComponent).create(this.injector);\r\n customComponentRef.instance.errorStatus = this.status;\r\n customComponentRef.instance.destroy$ = this.destroy$;\r\n this.appRef.attachView(customComponentRef.hostView);\r\n this.containerRef.nativeElement.appendChild((customComponentRef.hostView as EmbeddedViewRef).rootNodes[0]);\r\n customComponentRef.changeDetectorRef.detectChanges();\r\n }\r\n\r\n fromEvent(document, 'keyup')\r\n .pipe(\r\n takeUntilDestroy(this),\r\n debounceTime(150),\r\n filter((key: KeyboardEvent) => key && key.key === 'Escape'),\r\n )\r\n .subscribe(() => {\r\n this.destroy();\r\n });\r\n }\r\n\r\n ngOnDestroy() {}\r\n\r\n destroy() {\r\n this.destroy$.next();\r\n this.destroy$.complete();\r\n }\r\n}\r\n","import { StartLoader, StopLoader } from '@abp/ng.core';\r\nimport { ChangeDetectorRef, Component, Input, OnDestroy, OnInit } from '@angular/core';\r\nimport { NavigationEnd, NavigationError, NavigationStart, Router } from '@angular/router';\r\nimport { takeUntilDestroy } from '@ngx-validate/core';\r\nimport { Actions, ofActionSuccessful } from '@ngxs/store';\r\nimport { interval, Subscription, timer } from 'rxjs';\r\nimport { filter } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'abp-loader-bar',\r\n template: `\r\n
    \r\n
    \r\n \r\n `,\r\n styleUrls: ['./loader-bar.component.scss'],\r\n})\r\nexport class LoaderBarComponent implements OnDestroy, OnInit {\r\n @Input()\r\n containerClass = 'abp-loader-bar';\r\n\r\n @Input()\r\n color = '#77b6ff';\r\n\r\n @Input()\r\n isLoading = false;\r\n\r\n progressLevel = 0;\r\n\r\n interval: Subscription;\r\n\r\n timer: Subscription;\r\n\r\n intervalPeriod = 350;\r\n\r\n stopDelay = 820;\r\n\r\n @Input()\r\n filter = (action: StartLoader | StopLoader) => action.payload.url.indexOf('openid-configuration') < 0;\r\n\r\n get boxShadow(): string {\r\n return `0 0 10px rgba(${this.color}, 0.5)`;\r\n }\r\n\r\n constructor(private actions: Actions, private router: Router, private cdRef: ChangeDetectorRef) {}\r\n\r\n ngOnInit() {\r\n this.actions\r\n .pipe(\r\n ofActionSuccessful(StartLoader, StopLoader),\r\n filter(this.filter),\r\n takeUntilDestroy(this),\r\n )\r\n .subscribe(action => {\r\n if (action instanceof StartLoader) this.startLoading();\r\n else this.stopLoading();\r\n });\r\n\r\n this.router.events\r\n .pipe(\r\n filter(\r\n event =>\r\n event instanceof NavigationStart || event instanceof NavigationEnd || event instanceof NavigationError,\r\n ),\r\n takeUntilDestroy(this),\r\n )\r\n .subscribe(event => {\r\n if (event instanceof NavigationStart) this.startLoading();\r\n else this.stopLoading();\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n this.interval.unsubscribe();\r\n }\r\n\r\n startLoading() {\r\n if (this.isLoading || this.progressLevel !== 0) return;\r\n\r\n this.isLoading = true;\r\n this.interval = interval(this.intervalPeriod).subscribe(() => {\r\n if (this.progressLevel < 75) {\r\n this.progressLevel += Math.random() * 10;\r\n } else if (this.progressLevel < 90) {\r\n this.progressLevel += 0.4;\r\n } else if (this.progressLevel < 100) {\r\n this.progressLevel += 0.1;\r\n } else {\r\n this.interval.unsubscribe();\r\n }\r\n this.cdRef.detectChanges();\r\n });\r\n }\r\n\r\n stopLoading() {\r\n this.interval.unsubscribe();\r\n this.progressLevel = 100;\r\n this.isLoading = false;\r\n if (this.timer && !this.timer.closed) return;\r\n\r\n this.timer = timer(this.stopDelay).subscribe(() => {\r\n this.progressLevel = 0;\r\n this.cdRef.detectChanges();\r\n });\r\n }\r\n}\r\n","import { animate, animation, style } from '@angular/animations';\r\n\r\nexport const fadeIn = animation([style({ opacity: '0' }), animate('{{ time}} {{ easing }}', style({ opacity: '1' }))], {\r\n params: { time: '350ms', easing: 'ease' },\r\n});\r\n\r\nexport const fadeOut = animation(\r\n [style({ opacity: '1' }), animate('{{ time}} {{ easing }}', style({ opacity: '0' }))],\r\n { params: { time: '350ms', easing: 'ease' } },\r\n);\r\n\r\nexport const fadeInDown = animation(\r\n [\r\n style({ opacity: '0', transform: '{{ transform }} translateY(-20px)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateY(0)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeInUp = animation(\r\n [\r\n style({ opacity: '0', transform: '{{ transform }} translateY(20px)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateY(0)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeInLeft = animation(\r\n [\r\n style({ opacity: '0', transform: '{{ transform }} translateX(20px)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateX(0)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeInRight = animation(\r\n [\r\n style({ opacity: '0', transform: '{{ transform }} translateX(-20px)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateX(0)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeOutDown = animation(\r\n [\r\n style({ opacity: '1', transform: '{{ transform }} translateY(0)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateY(20px)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeOutUp = animation(\r\n [\r\n style({ opacity: '1', transform: '{{ transform }} translateY(0)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateY(-20px)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeOutLeft = animation(\r\n [\r\n style({ opacity: '1', transform: '{{ transform }} translateX(0)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateX(20px)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeOutRight = animation(\r\n [\r\n style({ opacity: '1', transform: '{{ transform }} translateX(0)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateX(-20px)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n","import { transition, trigger, useAnimation } from '@angular/animations';\r\nimport { fadeIn, fadeInDown, fadeOut } from './fade.animations';\r\n\r\nexport const fadeAnimation = trigger('fade', [\r\n transition(':enter', useAnimation(fadeIn)),\r\n transition(':leave', useAnimation(fadeOut)),\r\n]);\r\n\r\nexport const dialogAnimation = trigger('dialog', [\r\n transition(':enter', useAnimation(fadeInDown)),\r\n transition(':leave', useAnimation(fadeOut)),\r\n]);\r\n","import {\r\n Component,\r\n ContentChild,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n OnDestroy,\r\n Output,\r\n Renderer2,\r\n TemplateRef,\r\n ViewChild,\r\n ViewChildren,\r\n} from '@angular/core';\r\nimport { fromEvent, Subject } from 'rxjs';\r\nimport { debounceTime, filter, takeUntil } from 'rxjs/operators';\r\nimport { fadeAnimation } from '../../animations/modal.animations';\r\nimport { Toaster } from '../../models/toaster';\r\nimport { ConfirmationService } from '../../services/confirmation.service';\r\nimport { ButtonComponent } from '../button/button.component';\r\n\r\nexport type ModalSize = 'sm' | 'md' | 'lg' | 'xl';\r\n\r\n@Component({\r\n selector: 'abp-modal',\r\n templateUrl: './modal.component.html',\r\n animations: [fadeAnimation],\r\n})\r\nexport class ModalComponent implements OnDestroy {\r\n @Input()\r\n get visible(): boolean {\r\n return this._visible;\r\n }\r\n set visible(value: boolean) {\r\n if (typeof value !== 'boolean') return;\r\n\r\n this.isModalOpen = value;\r\n this._visible = value;\r\n this.visibleChange.emit(value);\r\n\r\n if (value) {\r\n setTimeout(() => this.listen(), 0);\r\n this.renderer.addClass(document.body, 'modal-open');\r\n this.appear.emit();\r\n } else {\r\n this.renderer.removeClass(document.body, 'modal-open');\r\n this.disappear.emit();\r\n this.destroy$.next();\r\n }\r\n }\r\n\r\n @Input()\r\n get busy(): boolean {\r\n return this._busy;\r\n }\r\n set busy(value: boolean) {\r\n if (this.abpSubmit && this.abpSubmit instanceof ButtonComponent) {\r\n this.abpSubmit.loading = value;\r\n }\r\n\r\n this._busy = value;\r\n }\r\n\r\n @Input() centered = false;\r\n\r\n @Input() modalClass = '';\r\n\r\n @Input() size: ModalSize = 'lg';\r\n\r\n @ContentChild(ButtonComponent, { static: false, read: ButtonComponent })\r\n abpSubmit: ButtonComponent;\r\n\r\n @ContentChild('abpHeader', { static: false }) abpHeader: TemplateRef;\r\n\r\n @ContentChild('abpBody', { static: false }) abpBody: TemplateRef;\r\n\r\n @ContentChild('abpFooter', { static: false }) abpFooter: TemplateRef;\r\n\r\n @ContentChild('abpClose', { static: false, read: ElementRef })\r\n abpClose: ElementRef;\r\n\r\n @ViewChild('abpModalContent', { static: false }) modalContent: ElementRef;\r\n\r\n @ViewChildren('abp-button') abpButtons;\r\n\r\n @Output() readonly visibleChange = new EventEmitter();\r\n\r\n @Output() readonly init = new EventEmitter();\r\n\r\n @Output() readonly appear = new EventEmitter();\r\n\r\n @Output() readonly disappear = new EventEmitter();\r\n\r\n _visible = false;\r\n\r\n _busy = false;\r\n\r\n isModalOpen = false;\r\n\r\n isConfirmationOpen = false;\r\n\r\n destroy$ = new Subject();\r\n\r\n constructor(private renderer: Renderer2, private confirmationService: ConfirmationService) {}\r\n\r\n ngOnDestroy(): void {\r\n this.destroy$.next();\r\n }\r\n\r\n close() {\r\n if (this.busy) return;\r\n\r\n let node: HTMLDivElement;\r\n if (!this.modalContent) {\r\n node = document.getElementById('modal-container') as HTMLDivElement;\r\n }\r\n\r\n const nodes = getFlatNodes(\r\n ((node || this.modalContent.nativeElement).querySelector('#abp-modal-body') as HTMLElement).childNodes,\r\n );\r\n\r\n if (hasNgDirty(nodes)) {\r\n if (this.isConfirmationOpen) return;\r\n\r\n this.isConfirmationOpen = true;\r\n this.confirmationService\r\n .warn('AbpAccount::AreYouSureYouWantToCancelEditingWarningMessage', 'AbpAccount::AreYouSure')\r\n .subscribe((status: Toaster.Status) => {\r\n this.isConfirmationOpen = false;\r\n if (status === Toaster.Status.confirm) {\r\n this.visible = false;\r\n }\r\n });\r\n } else {\r\n this.visible = false;\r\n }\r\n }\r\n\r\n listen() {\r\n fromEvent(document, 'keyup')\r\n .pipe(\r\n takeUntil(this.destroy$),\r\n debounceTime(150),\r\n filter((key: KeyboardEvent) => key && key.key === 'Escape'),\r\n )\r\n .subscribe(() => {\r\n this.close();\r\n });\r\n\r\n setTimeout(() => {\r\n if (!this.abpClose) return;\r\n fromEvent(this.abpClose.nativeElement, 'click')\r\n .pipe(\r\n takeUntil(this.destroy$),\r\n filter(() => !!this.modalContent),\r\n )\r\n .subscribe(() => this.close());\r\n }, 0);\r\n\r\n this.init.emit();\r\n }\r\n}\r\n\r\nfunction getFlatNodes(nodes: NodeList): HTMLElement[] {\r\n return Array.from(nodes).reduce(\r\n (acc, val) => [...acc, ...(val.childNodes && val.childNodes.length ? getFlatNodes(val.childNodes) : [val])],\r\n [],\r\n );\r\n}\r\n\r\nfunction hasNgDirty(nodes: HTMLElement[]) {\r\n return nodes.findIndex(node => (node.className || '').indexOf('ng-dirty') > -1) > -1;\r\n}\r\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-sort-order-icon',\r\n templateUrl: './sort-order-icon.component.html',\r\n})\r\nexport class SortOrderIconComponent {\r\n private _order: 'asc' | 'desc' | '';\r\n private _selectedSortKey: string;\r\n\r\n /**\r\n * @deprecated use selectedSortKey instead.\r\n */\r\n @Input()\r\n set selectedKey(value: string) {\r\n this.selectedSortKey = value;\r\n this.selectedKeyChange.emit(value);\r\n }\r\n get selectedKey(): string {\r\n return this._selectedSortKey;\r\n }\r\n\r\n @Input()\r\n set selectedSortKey(value: string) {\r\n this._selectedSortKey = value;\r\n this.selectedSortKeyChange.emit(value);\r\n }\r\n get selectedSortKey(): string {\r\n return this._selectedSortKey;\r\n }\r\n\r\n @Output() readonly selectedKeyChange = new EventEmitter();\r\n @Output() readonly selectedSortKeyChange = new EventEmitter();\r\n\r\n /**\r\n * @deprecated use sortKey instead.\r\n */\r\n @Input()\r\n get key(): string {\r\n return this.sortKey;\r\n }\r\n set key(value: string) {\r\n this.sortKey = value;\r\n }\r\n\r\n @Input()\r\n sortKey: string;\r\n\r\n @Input()\r\n set order(value: 'asc' | 'desc' | '') {\r\n this._order = value;\r\n this.orderChange.emit(value);\r\n }\r\n get order(): 'asc' | 'desc' | '' {\r\n return this._order;\r\n }\r\n\r\n @Output() readonly orderChange = new EventEmitter();\r\n\r\n @Input()\r\n iconClass: string;\r\n\r\n get icon(): string {\r\n if (!this.selectedSortKey) return 'fa-sort';\r\n if (this.selectedSortKey === this.sortKey) return `fa-sort-${this.order}`;\r\n else return '';\r\n }\r\n\r\n sort(key: string) {\r\n this.selectedKey = key; // TODO: To be removed\r\n this.selectedSortKey = key;\r\n switch (this.order) {\r\n case '':\r\n this.order = 'asc';\r\n this.orderChange.emit('asc');\r\n break;\r\n case 'asc':\r\n this.order = 'desc';\r\n this.orderChange.emit('desc');\r\n break;\r\n case 'desc':\r\n this.order = '';\r\n this.selectedKey = ''; // TODO: To be removed\r\n this.orderChange.emit('');\r\n break;\r\n }\r\n }\r\n}\r\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n // tslint:disable-next-line: component-selector\r\n selector: '[abp-table-empty-message]',\r\n template: `\r\n \r\n {{ emptyMessage | abpLocalization }}\r\n \r\n `\r\n})\r\nexport class TableEmptyMessageComponent {\r\n @Input()\r\n colspan = 2;\r\n\r\n @Input()\r\n message: string;\r\n\r\n @Input()\r\n localizationResource = 'AbpAccount';\r\n\r\n @Input()\r\n localizationProp = 'NoDataAvailableInDatatable';\r\n\r\n get emptyMessage(): string {\r\n return this.message || `${this.localizationResource}::${this.localizationProp}`;\r\n }\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-toast',\r\n // tslint:disable-next-line: component-max-inline-declarations\r\n template: `\r\n \r\n \r\n \r\n
    \r\n
    {{ message.summary | abpLocalization: message.titleLocalizationParams }}
    \r\n
    {{ message.detail | abpLocalization: message.messageLocalizationParams }}
    \r\n
    \r\n
    \r\n
    \r\n `,\r\n})\r\nexport class ToastComponent {}\r\n","export default `\r\n.is-invalid .form-control {\r\n border-color: #dc3545;\r\n border-style: solid !important;\r\n}\r\n\r\n.is-invalid .invalid-feedback,\r\n.is-invalid + * .invalid-feedback {\r\n display: block;\r\n}\r\n\r\n.data-tables-filter {\r\n text-align: right;\r\n}\r\n\r\n.pointer {\r\n cursor: pointer;\r\n}\r\n\r\n.navbar .dropdown-submenu a::after {\r\n transform: rotate(-90deg);\r\n position: absolute;\r\n right: 16px;\r\n top: 18px;\r\n}\r\n\r\n.navbar .dropdown-menu {\r\n min-width: 215px;\r\n}\r\n\r\n.ui-table-scrollable-body::-webkit-scrollbar {\r\n height: 5px !important;\r\n}\r\n\r\n.ui-table-scrollable-body::-webkit-scrollbar-track {\r\n background: #ddd;\r\n}\r\n\r\n.ui-table-scrollable-body::-webkit-scrollbar-thumb {\r\n background: #8a8686;\r\n}\r\n\r\n.modal.show {\r\n display: block !important;\r\n}\r\n\r\n.modal-backdrop {\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n width: calc(100% - 7px);\r\n height: 100%;\r\n background-color: rgba(0, 0, 0, 0.6);\r\n z-index: 1040;\r\n}\r\n\r\n.modal::-webkit-scrollbar {\r\n width: 7px;\r\n}\r\n\r\n.modal::-webkit-scrollbar-track {\r\n background: #ddd;\r\n}\r\n\r\n.modal::-webkit-scrollbar-thumb {\r\n background: #8a8686;\r\n}\r\n\r\n.modal-dialog {\r\n z-index: 1050;\r\n}\r\n\r\n.abp-ellipsis-inline {\r\n display: inline-block;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n}\r\n\r\n.abp-ellipsis {\r\n overflow: hidden !important;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n}\r\n\r\n.abp-toast .ui-toast-message {\r\n box-sizing: border-box;\r\n border: 2px solid transparent;\r\n border-radius: 4px;\r\n color: #1b1d29;\r\n}\r\n\r\n.abp-toast .ui-toast-message-content {\r\n padding: 10px;\r\n}\r\n\r\n.abp-toast .ui-toast-message-content .ui-toast-icon {\r\n top: 0;\r\n left: 0;\r\n padding: 10px;\r\n}\r\n\r\n.abp-toast .ui-toast-summary {\r\n margin: 0;\r\n font-weight: 700;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-error {\r\n border: 2px solid #ba1659;\r\n background-color: #f4f4f7;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-error .ui-toast-message-content .ui-toast-icon {\r\n color: #ba1659;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn {\r\n border: 2px solid #ed5d98;\r\n background-color: #f4f4f7;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn .ui-toast-message-content .ui-toast-icon {\r\n color: #ed5d98;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-success {\r\n border: 2px solid #1c9174;\r\n background-color: #f4f4f7;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-success .ui-toast-message-content .ui-toast-icon {\r\n color: #1c9174;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-info {\r\n border: 2px solid #fccb31;\r\n background-color: #f4f4f7;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-info .ui-toast-message-content .ui-toast-icon {\r\n color: #fccb31;\r\n}\r\n\r\n.abp-confirm .ui-toast-message {\r\n box-sizing: border-box;\r\n padding: 0px;\r\n border:0 none;\r\n border-radius: 4px;\r\n background-color: transparent !important;\r\n font-family: \"Poppins\", sans-serif;\r\n text-align: center;\r\n}\r\n\r\n.abp-confirm .ui-toast-message-content {\r\n padding: 0px;\r\n}\r\n\r\n.abp-confirm .abp-confirm-icon {\r\n margin: 32px 50px 5px !important;\r\n color: #f8bb86 !important;\r\n font-size: 52px !important;\r\n}\r\n\r\n.abp-confirm .ui-toast-close-icon {\r\n display: none !important;\r\n}\r\n\r\n.abp-confirm .abp-confirm-summary {\r\n display: block !important;\r\n margin-bottom: 13px !important;\r\n padding: 13px 16px 0px !important;\r\n font-weight: 600 !important;\r\n font-size: 18px !important;\r\n}\r\n\r\n.abp-confirm .abp-confirm-body {\r\n display: inline-block !important;\r\n padding: 0px 10px !important;\r\n}\r\n\r\n.abp-confirm .abp-confirm-footer {\r\n display: block;\r\n margin-top: 30px;\r\n padding: 16px;\r\n text-align: right;\r\n}\r\n\r\n.abp-confirm .abp-confirm-footer .btn {\r\n margin-left: 10px !important;\r\n}\r\n\r\n.ui-widget-overlay {\r\n z-index: 1000;\r\n}\r\n\r\n.color-white {\r\n color: #FFF !important;\r\n}\r\n\r\n.custom-checkbox > label {\r\n cursor: pointer;\r\n}\r\n\r\n/* ;\r\n\r\n constructor(\r\n private actions: Actions,\r\n private store: Store,\r\n private confirmationService: ConfirmationService,\r\n private appRef: ApplicationRef,\r\n private cfRes: ComponentFactoryResolver,\r\n private rendererFactory: RendererFactory2,\r\n private injector: Injector,\r\n @Inject('HTTP_ERROR_CONFIG') private httpErrorConfig: HttpErrorConfig,\r\n ) {\r\n this.actions.pipe(ofActionSuccessful(RestOccurError, RouterError, RouterDataResolved)).subscribe(res => {\r\n if (res instanceof RestOccurError) {\r\n const { payload: err = {} as HttpErrorResponse | any } = res;\r\n const body = snq(() => (err as HttpErrorResponse).error.error, DEFAULT_ERROR_MESSAGES.defaultError.title);\r\n\r\n if (err instanceof HttpErrorResponse && err.headers.get('_AbpErrorFormat')) {\r\n const confirmation$ = this.showError(null, null, body);\r\n\r\n if (err.status === 401) {\r\n confirmation$.subscribe(() => {\r\n this.navigateToLogin();\r\n });\r\n }\r\n } else {\r\n switch ((err as HttpErrorResponse).status) {\r\n case 401:\r\n this.canCreateCustomError(401)\r\n ? this.show401Page()\r\n : this.showError(\r\n {\r\n key: 'AbpAccount::DefaultErrorMessage401',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.title,\r\n },\r\n {\r\n key: 'AbpAccount::DefaultErrorMessage401Detail',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.details,\r\n },\r\n ).subscribe(() => this.navigateToLogin());\r\n break;\r\n case 403:\r\n this.createErrorComponent({\r\n title: {\r\n key: 'AbpAccount::DefaultErrorMessage403',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError403.title,\r\n },\r\n details: {\r\n key: 'AbpAccount::DefaultErrorMessage403Detail',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError403.details,\r\n },\r\n status: 403,\r\n });\r\n break;\r\n case 404:\r\n this.canCreateCustomError(404)\r\n ? this.show404Page()\r\n : this.showError(\r\n {\r\n key: 'AbpAccount::DefaultErrorMessage404',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.details,\r\n },\r\n {\r\n key: 'AbpAccount::DefaultErrorMessage404Detail',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.title,\r\n },\r\n );\r\n break;\r\n case 500:\r\n this.createErrorComponent({\r\n title: {\r\n key: 'AbpAccount::500Message',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError500.title,\r\n },\r\n details: {\r\n key: 'AbpAccount::InternalServerErrorMessage',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError500.details,\r\n },\r\n status: 500,\r\n });\r\n break;\r\n case 0:\r\n if ((err as HttpErrorResponse).statusText === 'Unknown Error') {\r\n this.createErrorComponent({\r\n title: {\r\n key: 'AbpAccount::DefaultErrorMessage',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError.title,\r\n },\r\n });\r\n }\r\n break;\r\n default:\r\n this.showError(DEFAULT_ERROR_MESSAGES.defaultError.details, DEFAULT_ERROR_MESSAGES.defaultError.title);\r\n break;\r\n }\r\n }\r\n } else if (res instanceof RouterError && snq(() => res.event.error.indexOf('Cannot match') > -1, false)) {\r\n this.show404Page();\r\n } else if (res instanceof RouterDataResolved && this.componentRef) {\r\n this.componentRef.destroy();\r\n this.componentRef = null;\r\n }\r\n });\r\n }\r\n\r\n private show401Page() {\r\n this.createErrorComponent({\r\n title: {\r\n key: 'AbpAccount::401Message',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.title,\r\n },\r\n status: 401,\r\n });\r\n }\r\n\r\n private show404Page() {\r\n this.createErrorComponent({\r\n title: {\r\n key: 'AbpAccount::404Message',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.title,\r\n },\r\n status: 404,\r\n });\r\n }\r\n\r\n private showError(\r\n message?: Config.LocalizationParam,\r\n title?: Config.LocalizationParam,\r\n body?: any,\r\n ): Observable {\r\n if (body) {\r\n if (body.details) {\r\n message = body.details;\r\n title = body.message;\r\n } else {\r\n message = body.message || DEFAULT_ERROR_MESSAGES.defaultError.title;\r\n }\r\n }\r\n\r\n return this.confirmationService.error(message, title, {\r\n hideCancelBtn: true,\r\n yesText: 'AbpAccount::Close',\r\n });\r\n }\r\n\r\n private navigateToLogin() {\r\n this.store.dispatch(\r\n new Navigate(['/account/login'], null, { state: { redirectUrl: this.store.selectSnapshot(RouterState.url) } }),\r\n );\r\n }\r\n\r\n createErrorComponent(instance: Partial) {\r\n const renderer = this.rendererFactory.createRenderer(null, null);\r\n const host = renderer.selectRootElement(document.body, true);\r\n\r\n this.componentRef = this.cfRes.resolveComponentFactory(HttpErrorWrapperComponent).create(this.injector);\r\n\r\n for (const key in this.componentRef.instance) {\r\n if (this.componentRef.instance.hasOwnProperty(key)) {\r\n this.componentRef.instance[key] = instance[key];\r\n }\r\n }\r\n this.componentRef.instance.hideCloseIcon = this.httpErrorConfig.errorScreen.hideCloseIcon;\r\n if (this.canCreateCustomError(instance.status as ErrorScreenErrorCodes)) {\r\n this.componentRef.instance.cfRes = this.cfRes;\r\n this.componentRef.instance.appRef = this.appRef;\r\n this.componentRef.instance.injector = this.injector;\r\n this.componentRef.instance.customComponent = this.httpErrorConfig.errorScreen.component;\r\n }\r\n\r\n this.appRef.attachView(this.componentRef.hostView);\r\n renderer.appendChild(host, (this.componentRef.hostView as EmbeddedViewRef).rootNodes[0]);\r\n\r\n const destroy$ = new Subject();\r\n this.componentRef.instance.destroy$ = destroy$;\r\n destroy$.subscribe(() => {\r\n this.componentRef.destroy();\r\n this.componentRef = null;\r\n });\r\n }\r\n\r\n canCreateCustomError(status: ErrorScreenErrorCodes): boolean {\r\n return snq(\r\n () =>\r\n this.httpErrorConfig.errorScreen.component &&\r\n this.httpErrorConfig.errorScreen.forWhichErrors.indexOf(status) > -1,\r\n );\r\n }\r\n}\r\n","import { InjectionToken } from '@angular/core';\r\nimport { HttpErrorConfig } from '../models/common';\r\n\r\nexport function httpErrorConfigFactory(config = {} as HttpErrorConfig) {\r\n if (config.errorScreen && config.errorScreen.component && !config.errorScreen.forWhichErrors) {\r\n config.errorScreen.forWhichErrors = [401, 403, 404, 500];\r\n }\r\n\r\n return {\r\n errorScreen: {},\r\n ...config,\r\n } as HttpErrorConfig;\r\n}\r\n\r\nexport const HTTP_ERROR_CONFIG = new InjectionToken('HTTP_ERROR_CONFIG');\r\n","import { Injectable, Optional } from '@angular/core';\r\nimport { NgbDateParserFormatter, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';\r\nimport { DatePipe } from '@angular/common';\r\n\r\nfunction padNumber(value: number) {\r\n if (isNumber(value)) {\r\n return `0${value}`.slice(-2);\r\n } else {\r\n return '';\r\n }\r\n}\r\n\r\nfunction isNumber(value: any): boolean {\r\n return !isNaN(toInteger(value));\r\n}\r\n\r\nfunction toInteger(value: any): number {\r\n return parseInt(`${value}`, 10);\r\n}\r\n\r\n@Injectable()\r\nexport class DateParserFormatter extends NgbDateParserFormatter {\r\n constructor(@Optional() private datePipe: DatePipe) {\r\n super();\r\n }\r\n\r\n parse(value: string): NgbDateStruct {\r\n if (value) {\r\n const dateParts = value.trim().split('-');\r\n if (dateParts.length === 1 && isNumber(dateParts[0])) {\r\n return { year: toInteger(dateParts[0]), month: null, day: null };\r\n } else if (dateParts.length === 2 && isNumber(dateParts[0]) && isNumber(dateParts[1])) {\r\n return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: null };\r\n } else if (dateParts.length === 3 && isNumber(dateParts[0]) && isNumber(dateParts[1]) && isNumber(dateParts[2])) {\r\n return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: toInteger(dateParts[2]) };\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n format(date: NgbDateStruct): string {\r\n if (date && this.datePipe) {\r\n return this.datePipe.transform(new Date(date.year, date.month, date.day), 'shortDate');\r\n } else {\r\n return date\r\n ? `${date.year}-${isNumber(date.month) ? padNumber(date.month) : ''}-${\r\n isNumber(date.day) ? padNumber(date.day) : ''\r\n }`\r\n : '';\r\n }\r\n }\r\n}\r\n","import { CoreModule, LazyLoadService } from '@abp/ng.core';\r\nimport { APP_INITIALIZER, Injector, ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\nimport { MessageService } from 'primeng/components/common/messageservice';\r\nimport { ToastModule } from 'primeng/toast';\r\nimport { forkJoin } from 'rxjs';\r\nimport { BreadcrumbComponent } from './components/breadcrumb/breadcrumb.component';\r\nimport { ButtonComponent } from './components/button/button.component';\r\nimport { ChartComponent } from './components/chart/chart.component';\r\nimport { ConfirmationComponent } from './components/confirmation/confirmation.component';\r\nimport { HttpErrorWrapperComponent } from './components/http-error-wrapper/http-error-wrapper.component';\r\nimport { LoaderBarComponent } from './components/loader-bar/loader-bar.component';\r\nimport { ModalComponent } from './components/modal/modal.component';\r\nimport { SortOrderIconComponent } from './components/sort-order-icon/sort-order-icon.component';\r\nimport { TableEmptyMessageComponent } from './components/table-empty-message/table-empty-message.component';\r\nimport { ToastComponent } from './components/toast/toast.component';\r\nimport styles from './constants/styles';\r\nimport { TableSortDirective } from './directives/table-sort.directive';\r\nimport { ErrorHandler } from './handlers/error.handler';\r\nimport { chartJsLoaded$ } from './utils/widget-utils';\r\nimport { RootParams } from './models/common';\r\nimport { HTTP_ERROR_CONFIG, httpErrorConfigFactory } from './tokens/http-error.token';\r\nimport { NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';\r\nimport { DateParserFormatter } from './utils/date-parser-formatter';\r\nimport { DatePipe } from '@angular/common';\r\n\r\nexport function appendScript(injector: Injector) {\r\n const fn = () => {\r\n import('chart.js').then(() => chartJsLoaded$.next(true));\r\n\r\n const lazyLoadService: LazyLoadService = injector.get(LazyLoadService);\r\n return lazyLoadService.load(null, 'style', styles, 'head', 'beforeend').toPromise();\r\n };\r\n\r\n return fn;\r\n}\r\n\r\n@NgModule({\r\n imports: [CoreModule, ToastModule, NgxValidateCoreModule],\r\n declarations: [\r\n BreadcrumbComponent,\r\n ButtonComponent,\r\n ChartComponent,\r\n ConfirmationComponent,\r\n HttpErrorWrapperComponent,\r\n LoaderBarComponent,\r\n ModalComponent,\r\n TableEmptyMessageComponent,\r\n ToastComponent,\r\n SortOrderIconComponent,\r\n TableSortDirective,\r\n ],\r\n exports: [\r\n BreadcrumbComponent,\r\n ButtonComponent,\r\n ChartComponent,\r\n ConfirmationComponent,\r\n LoaderBarComponent,\r\n ModalComponent,\r\n TableEmptyMessageComponent,\r\n ToastComponent,\r\n SortOrderIconComponent,\r\n TableSortDirective,\r\n ],\r\n providers: [DatePipe],\r\n entryComponents: [HttpErrorWrapperComponent],\r\n})\r\nexport class ThemeSharedModule {\r\n constructor(private errorHandler: ErrorHandler) {}\r\n\r\n static forRoot(options = {} as RootParams): ModuleWithProviders {\r\n return {\r\n ngModule: ThemeSharedModule,\r\n providers: [\r\n {\r\n provide: APP_INITIALIZER,\r\n multi: true,\r\n deps: [Injector],\r\n useFactory: appendScript,\r\n },\r\n { provide: MessageService, useClass: MessageService },\r\n { provide: HTTP_ERROR_CONFIG, useValue: options.httpErrorConfig },\r\n {\r\n provide: 'HTTP_ERROR_CONFIG',\r\n useFactory: httpErrorConfigFactory,\r\n deps: [HTTP_ERROR_CONFIG],\r\n },\r\n { provide: NgbDateParserFormatter, useClass: DateParserFormatter },\r\n ],\r\n };\r\n }\r\n}\r\n","import { animate, animation, keyframes, style } from '@angular/animations';\r\n\r\nexport const bounceIn = animation(\r\n [\r\n style({ opacity: '0', display: '{{ display }}' }),\r\n animate(\r\n '{{ time}} {{ easing }}',\r\n keyframes([\r\n style({ opacity: '0', transform: '{{ transform }} scale(0.0)', offset: 0 }),\r\n style({ opacity: '0', transform: '{{ transform }} scale(0.8)', offset: 0.5 }),\r\n style({ opacity: '1', transform: '{{ transform }} scale(1.0)', offset: 1 })\r\n ])\r\n )\r\n ],\r\n {\r\n params: {\r\n time: '350ms',\r\n easing: 'cubic-bezier(.7,.31,.72,1.47)',\r\n display: 'block',\r\n transform: 'translate(-50%, -50%)'\r\n }\r\n }\r\n);\r\n","import { animate, animation, trigger, state, style, transition, useAnimation } from '@angular/animations';\r\n\r\nexport const collapseY = animation(\r\n [\r\n style({ height: '*', overflow: 'hidden', 'box-sizing': 'border-box' }),\r\n animate('{{ time }} {{ easing }}', style({ height: '0', padding: '0px' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease' } },\r\n);\r\n\r\nexport const collapseYWithMargin = animation(\r\n [style({ 'margin-top': '0' }), animate('{{ time }} {{ easing }}', style({ 'margin-top': '-100%' }))],\r\n {\r\n params: { time: '500ms', easing: 'ease' },\r\n },\r\n);\r\n\r\nexport const collapseX = animation(\r\n [\r\n style({ width: '*', overflow: 'hidden', 'box-sizing': 'border-box' }),\r\n animate('{{ time }} {{ easing }}', style({ width: '0', padding: '0px' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease' } },\r\n);\r\n\r\nexport const expandY = animation(\r\n [\r\n style({ height: '0', overflow: 'hidden', 'box-sizing': 'border-box' }),\r\n animate('{{ time }} {{ easing }}', style({ height: '*', padding: '*' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease' } },\r\n);\r\n\r\nexport const expandYWithMargin = animation(\r\n [style({ 'margin-top': '-100%' }), animate('{{ time }} {{ easing }}', style({ 'margin-top': '0' }))],\r\n {\r\n params: { time: '500ms', easing: 'ease' },\r\n },\r\n);\r\n\r\nexport const expandX = animation(\r\n [\r\n style({ width: '0', overflow: 'hidden', 'box-sizing': 'border-box' }),\r\n animate('{{ time }} {{ easing }}', style({ width: '*', padding: '*' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease' } },\r\n);\r\n\r\nexport const collapse = trigger('collapse', [\r\n state('collapsed', style({ height: '0', overflow: 'hidden' })),\r\n state('expanded', style({ height: '*', overflow: 'hidden' })),\r\n transition('expanded => collapsed', useAnimation(collapseY)),\r\n transition('collapsed => expanded', useAnimation(expandY)),\r\n]);\r\n\r\nexport const collapseWithMargin = trigger('collapseWithMargin', [\r\n state('collapsed', style({ 'margin-top': '-100%' })),\r\n state('expanded', style({ 'margin-top': '0' })),\r\n transition('expanded => collapsed', useAnimation(collapseYWithMargin), {\r\n params: { time: '400ms', easing: 'linear' },\r\n }),\r\n transition('collapsed => expanded', useAnimation(expandYWithMargin)),\r\n]);\r\n\r\nexport const collapseLinearWithMargin = trigger('collapseLinearWithMargin', [\r\n state('collapsed', style({ 'margin-top': '-100%' })),\r\n state('expanded', style({ 'margin-top': '0' })),\r\n transition(\r\n 'expanded => collapsed',\r\n useAnimation(collapseYWithMargin, { params: { time: '200ms', easing: 'linear' } }),\r\n ),\r\n transition('collapsed => expanded', useAnimation(expandYWithMargin, { params: { time: '250ms', easing: 'linear' } })),\r\n]);\r\n","import { animate, state, style, transition, trigger, query } from '@angular/animations';\r\nexport const slideFromBottom = trigger('slideFromBottom', [\r\n transition('* <=> *', [\r\n style({ 'margin-top': '20px', opacity: '0' }),\r\n animate('0.2s ease-out', style({ opacity: '1', 'margin-top': '0px' })),\r\n ]),\r\n]);\r\n","import { Type } from '@angular/core';\r\n\r\nexport interface RootParams {\r\n httpErrorConfig: HttpErrorConfig;\r\n}\r\n\r\nexport type ErrorScreenErrorCodes = 401 | 403 | 404 | 500;\r\n\r\nexport interface HttpErrorConfig {\r\n errorScreen?: {\r\n component: Type;\r\n forWhichErrors?:\r\n | [ErrorScreenErrorCodes]\r\n | [ErrorScreenErrorCodes, ErrorScreenErrorCodes]\r\n | [ErrorScreenErrorCodes, ErrorScreenErrorCodes, ErrorScreenErrorCodes]\r\n | [ErrorScreenErrorCodes, ErrorScreenErrorCodes, ErrorScreenErrorCodes, ErrorScreenErrorCodes];\r\n hideCloseIcon?: boolean;\r\n };\r\n}\r\n","import { Toaster } from './toaster';\r\nimport { Config } from '@abp/ng.core';\r\n\r\nexport namespace Confirmation {\r\n export interface Options extends Toaster.Options {\r\n hideCancelBtn?: boolean;\r\n hideYesBtn?: boolean;\r\n cancelText?: Config.LocalizationParam;\r\n yesText?: Config.LocalizationParam;\r\n /**\r\n * @deprecated to be deleted in v2\r\n */\r\n cancelCopy?: Config.LocalizationParam;\r\n /**\r\n * @deprecated to be deleted in v2\r\n */\r\n yesCopy?: Config.LocalizationParam;\r\n }\r\n}\r\n","import { Type } from '@angular/core';\r\n\r\nexport interface SettingTab {\r\n component: Type;\r\n name: string;\r\n order: number;\r\n requiredPolicy?: string;\r\n}\r\n\r\nconst SETTING_TABS = [] as SettingTab[];\r\n\r\nexport function addSettingTab(tab: SettingTab | SettingTab[]): void {\r\n if (!Array.isArray(tab)) {\r\n tab = [tab];\r\n }\r\n\r\n SETTING_TABS.push(...tab);\r\n}\r\n\r\nexport function getSettingTabs(): SettingTab[] {\r\n return SETTING_TABS;\r\n}\r\n","export namespace Statistics {\r\n export interface Response {\r\n data: Data;\r\n }\r\n\r\n export interface Data {\r\n [key: string]: number;\r\n }\r\n\r\n export interface Filter {\r\n startDate: string | Date;\r\n endDate: string | Date;\r\n }\r\n}\r\n","export namespace Toaster {\r\n export interface Options {\r\n id?: any;\r\n closable?: boolean;\r\n life?: number;\r\n sticky?: boolean;\r\n data?: any;\r\n messageLocalizationParams?: string[];\r\n titleLocalizationParams?: string[];\r\n }\r\n\r\n export type Severity = 'success' | 'info' | 'warn' | 'error';\r\n\r\n export const enum Status {\r\n confirm = 'confirm',\r\n reject = 'reject',\r\n dismiss = 'dismiss',\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { AbstractToaster } from '../abstracts/toaster';\r\nimport { Message } from 'primeng/components/common/message';\r\nimport { MessageService } from 'primeng/components/common/messageservice';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class ToasterService extends AbstractToaster {\r\n constructor(protected messageService: MessageService) {\r\n super(messageService);\r\n }\r\n\r\n addAll(messages: Message[]): void {\r\n this.messageService.addAll(messages.map(message => ({ key: this.key, ...message })));\r\n }\r\n}\r\n"],"names":["ConfigState","Component","Router","Store","EventEmitter","Renderer2","Input","Output","ViewChild","ReplaySubject","BehaviorSubject","ElementRef","ChangeDetectorRef","Subject","tslib_1.__extends","fromEvent","takeUntil","debounceTime","filter","Injectable","MessageService","takeUntilDestroy","ofActionSuccessful","StartLoader","StopLoader","NavigationStart","NavigationEnd","NavigationError","interval","timer","Actions","animation","style","animate","trigger","transition","useAnimation","ContentChild","ViewChildren","Directive","SortPipe","Table","Optional","Self","store","RestOccurError","RouterError","RouterDataResolved","HttpErrorResponse","Navigate","RouterState","ApplicationRef","ComponentFactoryResolver","RendererFactory2","Injector","Inject","InjectionToken","DatePipe","NgbDateParserFormatter","LazyLoadService","APP_INITIALIZER","NgModule","CoreModule","ToastModule","NgxValidateCoreModule","keyframes","state","Toaster"],"mappings":";;;;;;;;;IAAA;IACA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;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rB;;;;;;;ICrBD,IAAiB,UAAU,CAa1B;IAbD,WAAiB,UAAU;;;;QACzB,uBAEC;;;;YADC,wBAAW;;;;;QAGb,mBAEC;;;;;QAED,qBAGC;;;;YAFC,2BAAyB;;YACzB,yBAAuB;;KAE1B,EAbgB,UAAU,KAAV,UAAU,QAa1B;;;;;;;ACbD,AAkBC;IAlBD,WAAiB,OAAO;;;;QACtB,sBAQC;;;;YAPC,qBAAS;;YACT,2BAAmB;;YACnB,uBAAc;;YACd,yBAAiB;;YACjB,uBAAW;;YACX,4CAAqC;;YACrC,0CAAmC;;KAUtC,EAlBgBmC,eAAO,KAAPA,eAAO,QAkBvB;;;;;;;;;;;;;;QCZmCrD,kCAAe;QACjD,wBAAsB,cAA8B;YAApD,YACE,kBAAM,cAAc,CAAC,SACtB;YAFqB,oBAAc,GAAd,cAAc,CAAgB;;SAEnD;;;;;QAED,+BAAM;;;;QAAN,UAAO,QAAmB;YAA1B,iBAEC;YADC,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;YAAC,UAAA,OAAO,IAAI,mBAAG,GAAG,EAAE,KAAI,CAAC,GAAG,IAAK,OAAO,KAAG,EAAC,CAAC,CAAC;SACtF;;oBARFK,eAAU,SAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;;oBAFzBC,6BAAc;;;6BAHvB;KAcC,CARmC,eAAe,GAQlD;;;;;;QAPa,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/bundles/abp-ng.theme.shared.umd.min.js b/npm/ng-packs/dist/theme-shared/bundles/abp-ng.theme.shared.umd.min.js deleted file mode 100644 index 02ab67c0cd7..00000000000 --- a/npm/ng-packs/dist/theme-shared/bundles/abp-ng.theme.shared.umd.min.js +++ /dev/null @@ -1,17 +0,0 @@ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@abp/ng.core"),require("@angular/core"),require("@ngx-validate/core"),require("primeng/components/common/messageservice"),require("primeng/toast"),require("@angular/router"),require("@ngxs/store"),require("rxjs"),require("rxjs/operators"),require("snq"),require("@angular/animations"),require("primeng/table"),require("just-clone"),require("@angular/common/http"),require("@ngxs/router-plugin"),require("@ng-bootstrap/ng-bootstrap"),require("@angular/common")):"function"==typeof define&&define.amd?define("@abp/ng.theme.shared",["exports","@abp/ng.core","@angular/core","@ngx-validate/core","primeng/components/common/messageservice","primeng/toast","@angular/router","@ngxs/store","rxjs","rxjs/operators","snq","@angular/animations","primeng/table","just-clone","@angular/common/http","@ngxs/router-plugin","@ng-bootstrap/ng-bootstrap","@angular/common"],e):e(((t=t||self).abp=t.abp||{},t.abp.ng=t.abp.ng||{},t.abp.ng.theme=t.abp.ng.theme||{},t.abp.ng.theme.shared={}),t.ng_core,t.ng.core,t.core$1,t.messageservice,t.toast,t.ng.router,t.store,t.rxjs,t.rxjs.operators,t.snq,t.ng.animations,t.table,t.clone,t.ng.common.http,t.routerPlugin,t.ngBootstrap,t.ng.common)}(this,(function(t,e,n,r,o,a,i,s,c,p,l,u,d,m,f,h,g,b){"use strict";l=l&&l.hasOwnProperty("default")?l.default:l,m=m&&m.hasOwnProperty("default")?m.default:m; -/*! ***************************************************************************** - Copyright (c) Microsoft Corporation. All rights reserved. - Licensed under the Apache License, Version 2.0 (the "License"); you may not use - this file except in compliance with the License. You may obtain a copy of the - License at http://www.apache.org/licenses/LICENSE-2.0 - - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, - MERCHANTABLITY OR NON-INFRINGEMENT. - - See the Apache Version 2.0 License for specific language governing permissions - and limitations under the License. - ***************************************************************************** */ -var y=function(t,e){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function v(t,e){function n(){this.constructor=t}y(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var C=function(){return(C=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0)&&!(r=a.next()).done;)i.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function w(){for(var t=[],e=0;e1)for(var r=x(t).slice(1),o=n,a=function(t){var e=r[t];o=o.children.find((function(t){return t.path===e})),i.segments.push(o.name)},i=this,s=0;s\r\n \r\n \r\n {{ segment | abpLocalization }}\r\n \r\n\r\n'}]}],t.ctorParameters=function(){return[{type:i.Router},{type:s.Store}]},t}();var k=function(){function t(t){this.renderer=t,this.buttonId="",this.buttonClass="btn btn-primary",this.buttonType="button",this.loading=!1,this.disabled=!1,this.click=new n.EventEmitter,this.focus=new n.EventEmitter,this.blur=new n.EventEmitter,this.abpClick=new n.EventEmitter,this.abpFocus=new n.EventEmitter,this.abpBlur=new n.EventEmitter}return Object.defineProperty(t.prototype,"icon",{get:function(){return""+(this.loading?"fa fa-spinner fa-spin":this.iconClass||"d-none")},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.attributes&&Object.keys(this.attributes).forEach((function(e){t.renderer.setAttribute(t.buttonRef.nativeElement,e,t.attributes[e])}))},t.decorators=[{type:n.Component,args:[{selector:"abp-button",template:'\n \n \n \n '}]}],t.ctorParameters=function(){return[{type:n.Renderer2}]},t.propDecorators={buttonId:[{type:n.Input}],buttonClass:[{type:n.Input}],buttonType:[{type:n.Input}],iconClass:[{type:n.Input}],loading:[{type:n.Input}],disabled:[{type:n.Input}],attributes:[{type:n.Input}],click:[{type:n.Output}],focus:[{type:n.Output}],blur:[{type:n.Output}],abpClick:[{type:n.Output}],abpFocus:[{type:n.Output}],abpBlur:[{type:n.Output}],buttonRef:[{type:n.ViewChild,args:["button",{static:!0}]}]},t}();var I=new c.ReplaySubject(1),S=function(){function t(t,e){var r=this;this.el=t,this.cdRef=e,this.options={},this.plugins=[],this.responsive=!0,this.onDataSelect=new n.EventEmitter,this.initialized=new c.BehaviorSubject(this),this.onCanvasClick=function(t){if(r.chart){var e=r.chart.getElementAtEvent(t),n=r.chart.getDatasetAtEvent(t);e&&e.length&&n&&r.onDataSelect.emit({originalEvent:t,element:e[0],dataset:n})}},this.initChart=function(){var t=r.options||{};t.responsive=r.responsive,t.responsive&&(r.height||r.width)&&(t.maintainAspectRatio=!1),r.chart=new Chart(r.canvas,{type:r.type,data:r.data,options:r.options,plugins:r.plugins}),r.cdRef.detectChanges()},this.generateLegend=function(){if(r.chart)return r.chart.generateLegend()},this.refresh=function(){r.chart&&(r.chart.update(),r.cdRef.detectChanges())},this.reinit=function(){r.chart&&(r.chart.destroy(),r.initChart())}}return Object.defineProperty(t.prototype,"data",{get:function(){return this._data},set:function(t){this._data=t,this.reinit()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"canvas",{get:function(){return this.el.nativeElement.children[0].children[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"base64Image",{get:function(){return this.chart.toBase64Image()},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){var t=this;I.subscribe((function(){t.testChartJs(),t.initChart(),t._initialized=!0}))},t.prototype.testChartJs=function(){try{Chart}catch(t){throw new Error("Chart is not found. Import the Chart from app.module like shown below:\n import('chart.js');\n ")}},t.prototype.ngOnDestroy=function(){this.chart&&(this.chart.destroy(),this._initialized=!1,this.chart=null)},t.decorators=[{type:n.Component,args:[{selector:"abp-chart",template:'\r\n \r\n\r\n'}]}],t.ctorParameters=function(){return[{type:n.ElementRef},{type:n.ChangeDetectorRef}]},t.propDecorators={type:[{type:n.Input}],options:[{type:n.Input}],plugins:[{type:n.Input}],width:[{type:n.Input}],height:[{type:n.Input}],responsive:[{type:n.Input}],onDataSelect:[{type:n.Output}],initialized:[{type:n.Output}],data:[{type:n.Input}]},t}();var R=function(){function t(t){this.messageService=t,this.key="abpToast",this.sticky=!1}return t.prototype.info=function(t,e,n){return this.show(t,e,"info",n)},t.prototype.success=function(t,e,n){return this.show(t,e,"success",n)},t.prototype.warn=function(t,e,n){return this.show(t,e,"warn",n)},t.prototype.error=function(t,e,n){return this.show(t,e,"error",n)},t.prototype.show=function(t,e,n,r){return this.messageService.clear(this.key),this.messageService.add(C({severity:n,detail:t||"",summary:e||""},r,{key:this.key},void 0===(r||{}).sticky&&{sticky:this.sticky})),this.status$=new c.Subject,this.status$},t.prototype.clear=function(t){this.messageService.clear(this.key),this.status$.next(t||"dismiss"),this.status$.complete()},t}();var O=function(t){function e(e){var n=t.call(this,e)||this;return n.messageService=e,n.key="abpConfirmation",n.sticky=!0,n.destroy$=new c.Subject,n}return v(e,t),e.prototype.show=function(e,n,r,o){return this.listenToEscape(),t.prototype.show.call(this,e,n,r,o)},e.prototype.clear=function(e){t.prototype.clear.call(this,e),this.destroy$.next()},e.prototype.listenToEscape=function(){var t=this;c.fromEvent(document,"keyup").pipe(p.takeUntil(this.destroy$),p.debounceTime(150),p.filter((function(t){return t&&"Escape"===t.key}))).subscribe((function(e){t.clear()}))},e.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:o.MessageService}]},e.ngInjectableDef=n.ɵɵdefineInjectable({factory:function(){return new e(n.ɵɵinject(o.MessageService))},token:e,providedIn:"root"}),e}(R);var j=function(){function t(t){this.confirmationService=t,this.confirm="confirm",this.reject="reject",this.dismiss="dismiss"}return t.prototype.close=function(t){this.confirmationService.clear(t)},t.decorators=[{type:n.Component,args:[{selector:"abp-confirmation",template:'\n \n \n \n
    \n {{ message.summary | abpLocalization: message.titleLocalizationParams }}\n
    \n
    \n {{ message.detail | abpLocalization: message.messageLocalizationParams }}\n
    \n\n \n
    \n \n '}]}],t.ctorParameters=function(){return[{type:O}]},t}();var A=function(){function t(){this.status=0,this.title="Oops!",this.details="Sorry, an error has occured.",this.customComponent=null,this.hideCloseIcon=!1}return Object.defineProperty(t.prototype,"statusText",{get:function(){return this.status?"["+this.status+"]":""},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.backgroundColor=l((function(){return window.getComputedStyle(document.body).getPropertyValue("background-color")}))||"#fff"},t.prototype.ngAfterViewInit=function(){var t=this;if(this.customComponent){var n=this.cfRes.resolveComponentFactory(this.customComponent).create(this.injector);n.instance.errorStatus=this.status,n.instance.destroy$=this.destroy$,this.appRef.attachView(n.hostView),this.containerRef.nativeElement.appendChild(n.hostView.rootNodes[0]),n.changeDetectorRef.detectChanges()}c.fromEvent(document,"keyup").pipe(e.takeUntilDestroy(this),p.debounceTime(150),p.filter((function(t){return t&&"Escape"===t.key}))).subscribe((function(){t.destroy()}))},t.prototype.ngOnDestroy=function(){},t.prototype.destroy=function(){this.destroy$.next(),this.destroy$.complete()},t.decorators=[{type:n.Component,args:[{selector:"abp-http-error-wrapper",template:'
    \r\n \r\n\r\n
    \r\n
    \r\n
    \r\n

    {{ statusText }} {{ title | abpLocalization }}

    \r\n
    \r\n {{ details | abpLocalization }}\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n',styles:[".error{position:fixed;top:0;width:100vw;height:100vh;z-index:999999}.centered{position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}"]}]}],t.propDecorators={containerRef:[{type:n.ViewChild,args:["container",{static:!1}]}]},t}();var P=function(){function t(t,e,n){this.actions=t,this.router=e,this.cdRef=n,this.containerClass="abp-loader-bar",this.color="#77b6ff",this.isLoading=!1,this.progressLevel=0,this.intervalPeriod=350,this.stopDelay=820,this.filter=function(t){return t.payload.url.indexOf("openid-configuration")<0}}return Object.defineProperty(t.prototype,"boxShadow",{get:function(){return"0 0 10px rgba("+this.color+", 0.5)"},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.actions.pipe(s.ofActionSuccessful(e.StartLoader,e.StopLoader),p.filter(this.filter),r.takeUntilDestroy(this)).subscribe((function(n){n instanceof e.StartLoader?t.startLoading():t.stopLoading()})),this.router.events.pipe(p.filter((function(t){return t instanceof i.NavigationStart||t instanceof i.NavigationEnd||t instanceof i.NavigationError})),r.takeUntilDestroy(this)).subscribe((function(e){e instanceof i.NavigationStart?t.startLoading():t.stopLoading()}))},t.prototype.ngOnDestroy=function(){this.interval.unsubscribe()},t.prototype.startLoading=function(){var t=this;this.isLoading||0!==this.progressLevel||(this.isLoading=!0,this.interval=c.interval(this.intervalPeriod).subscribe((function(){t.progressLevel<75?t.progressLevel+=10*Math.random():t.progressLevel<90?t.progressLevel+=.4:t.progressLevel<100?t.progressLevel+=.1:t.interval.unsubscribe(),t.cdRef.detectChanges()})))},t.prototype.stopLoading=function(){var t=this;this.interval.unsubscribe(),this.progressLevel=100,this.isLoading=!1,this.timer&&!this.timer.closed||(this.timer=c.timer(this.stopDelay).subscribe((function(){t.progressLevel=0,t.cdRef.detectChanges()})))},t.decorators=[{type:n.Component,args:[{selector:"abp-loader-bar",template:'\n
    \n
    \n \n ',styles:[".abp-loader-bar{left:0;opacity:0;position:fixed;top:0;-webkit-transition:opacity .4s linear .4s;transition:opacity .4s linear .4s;z-index:99999}.abp-loader-bar.is-loading{opacity:1;-webkit-transition:none;transition:none}.abp-loader-bar .abp-progress{height:3px;left:0;position:fixed;top:0;-webkit-transition:width .4s;transition:width .4s}"]}]}],t.ctorParameters=function(){return[{type:s.Actions},{type:i.Router},{type:n.ChangeDetectorRef}]},t.propDecorators={containerClass:[{type:n.Input}],color:[{type:n.Input}],isLoading:[{type:n.Input}],filter:[{type:n.Input}]},t}();var T=u.animation([u.style({opacity:"0"}),u.animate("{{ time}} {{ easing }}",u.style({opacity:"1"}))],{params:{time:"350ms",easing:"ease"}}),L=u.animation([u.style({opacity:"1"}),u.animate("{{ time}} {{ easing }}",u.style({opacity:"0"}))],{params:{time:"350ms",easing:"ease"}}),D=u.animation([u.style({opacity:"0",transform:"{{ transform }} translateY(-20px)"}),u.animate("{{ time }} {{ easing }}",u.style({opacity:"1",transform:"{{ transform }} translateY(0)"}))],{params:{time:"350ms",easing:"ease",transform:""}}),z=u.animation([u.style({opacity:"0",transform:"{{ transform }} translateY(20px)"}),u.animate("{{ time }} {{ easing }}",u.style({opacity:"1",transform:"{{ transform }} translateY(0)"}))],{params:{time:"350ms",easing:"ease",transform:""}}),M=u.animation([u.style({opacity:"0",transform:"{{ transform }} translateX(20px)"}),u.animate("{{ time }} {{ easing }}",u.style({opacity:"1",transform:"{{ transform }} translateX(0)"}))],{params:{time:"350ms",easing:"ease",transform:""}}),_=u.animation([u.style({opacity:"0",transform:"{{ transform }} translateX(-20px)"}),u.animate("{{ time }} {{ easing }}",u.style({opacity:"1",transform:"{{ transform }} translateX(0)"}))],{params:{time:"350ms",easing:"ease",transform:""}}),F=u.animation([u.style({opacity:"1",transform:"{{ transform }} translateY(0)"}),u.animate("{{ time }} {{ easing }}",u.style({opacity:"0",transform:"{{ transform }} translateY(20px)"}))],{params:{time:"350ms",easing:"ease",transform:""}}),V=u.animation([u.style({opacity:"1",transform:"{{ transform }} translateY(0)"}),u.animate("{{ time }} {{ easing }}",u.style({opacity:"0",transform:"{{ transform }} translateY(-20px)"}))],{params:{time:"350ms",easing:"ease",transform:""}}),$=u.animation([u.style({opacity:"1",transform:"{{ transform }} translateX(0)"}),u.animate("{{ time }} {{ easing }}",u.style({opacity:"0",transform:"{{ transform }} translateX(20px)"}))],{params:{time:"350ms",easing:"ease",transform:""}}),N=u.animation([u.style({opacity:"1",transform:"{{ transform }} translateX(0)"}),u.animate("{{ time }} {{ easing }}",u.style({opacity:"0",transform:"{{ transform }} translateX(-20px)"}))],{params:{time:"350ms",easing:"ease",transform:""}}),Y=u.trigger("fade",[u.transition(":enter",u.useAnimation(T)),u.transition(":leave",u.useAnimation(L))]),q=u.trigger("dialog",[u.transition(":enter",u.useAnimation(D)),u.transition(":leave",u.useAnimation(L))]),K=function(){function t(t,e){this.renderer=t,this.confirmationService=e,this.centered=!1,this.modalClass="",this.size="lg",this.visibleChange=new n.EventEmitter,this.init=new n.EventEmitter,this.appear=new n.EventEmitter,this.disappear=new n.EventEmitter,this._visible=!1,this._busy=!1,this.isModalOpen=!1,this.isConfirmationOpen=!1,this.destroy$=new c.Subject}return Object.defineProperty(t.prototype,"visible",{get:function(){return this._visible},set:function(t){var e=this;"boolean"==typeof t&&(this.isModalOpen=t,this._visible=t,this.visibleChange.emit(t),t?(setTimeout((function(){return e.listen()}),0),this.renderer.addClass(document.body,"modal-open"),this.appear.emit()):(this.renderer.removeClass(document.body,"modal-open"),this.disappear.emit(),this.destroy$.next()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"busy",{get:function(){return this._busy},set:function(t){this.abpSubmit&&this.abpSubmit instanceof k&&(this.abpSubmit.loading=t),this._busy=t},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.destroy$.next()},t.prototype.close=function(){var t,e=this;if(!this.busy)if(this.modalContent||(t=document.getElementById("modal-container")),function(t){return t.findIndex((function(t){return(t.className||"").indexOf("ng-dirty")>-1}))>-1}(function t(e){return Array.from(e).reduce((function(e,n){return w(e,n.childNodes&&n.childNodes.length?t(n.childNodes):[n])}),[])}((t||this.modalContent.nativeElement).querySelector("#abp-modal-body").childNodes))){if(this.isConfirmationOpen)return;this.isConfirmationOpen=!0,this.confirmationService.warn("AbpAccount::AreYouSureYouWantToCancelEditingWarningMessage","AbpAccount::AreYouSure").subscribe((function(t){e.isConfirmationOpen=!1,"confirm"===t&&(e.visible=!1)}))}else this.visible=!1},t.prototype.listen=function(){var t=this;c.fromEvent(document,"keyup").pipe(p.takeUntil(this.destroy$),p.debounceTime(150),p.filter((function(t){return t&&"Escape"===t.key}))).subscribe((function(){t.close()})),setTimeout((function(){t.abpClose&&c.fromEvent(t.abpClose.nativeElement,"click").pipe(p.takeUntil(t.destroy$),p.filter((function(){return!!t.modalContent}))).subscribe((function(){return t.close()}))}),0),this.init.emit()},t.decorators=[{type:n.Component,args:[{selector:"abp-modal",template:'\r\n \r\n \r\n \r\n \r\n \r\n\r\n',animations:[Y]}]}],t.ctorParameters=function(){return[{type:n.Renderer2},{type:O}]},t.propDecorators={visible:[{type:n.Input}],busy:[{type:n.Input}],centered:[{type:n.Input}],modalClass:[{type:n.Input}],size:[{type:n.Input}],abpSubmit:[{type:n.ContentChild,args:[k,{static:!1,read:k}]}],abpHeader:[{type:n.ContentChild,args:["abpHeader",{static:!1}]}],abpBody:[{type:n.ContentChild,args:["abpBody",{static:!1}]}],abpFooter:[{type:n.ContentChild,args:["abpFooter",{static:!1}]}],abpClose:[{type:n.ContentChild,args:["abpClose",{static:!1,read:n.ElementRef}]}],modalContent:[{type:n.ViewChild,args:["abpModalContent",{static:!1}]}],abpButtons:[{type:n.ViewChildren,args:["abp-button"]}],visibleChange:[{type:n.Output}],init:[{type:n.Output}],appear:[{type:n.Output}],disappear:[{type:n.Output}]},t}();var B=function(){function t(){this.selectedKeyChange=new n.EventEmitter,this.selectedSortKeyChange=new n.EventEmitter,this.orderChange=new n.EventEmitter}return Object.defineProperty(t.prototype,"selectedKey",{get:function(){return this._selectedSortKey},set:function(t){this.selectedSortKey=t,this.selectedKeyChange.emit(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectedSortKey",{get:function(){return this._selectedSortKey},set:function(t){this._selectedSortKey=t,this.selectedSortKeyChange.emit(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"key",{get:function(){return this.sortKey},set:function(t){this.sortKey=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"order",{get:function(){return this._order},set:function(t){this._order=t,this.orderChange.emit(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"icon",{get:function(){return this.selectedSortKey?this.selectedSortKey===this.sortKey?"fa-sort-"+this.order:"":"fa-sort"},enumerable:!0,configurable:!0}),t.prototype.sort=function(t){switch(this.selectedKey=t,this.selectedSortKey=t,this.order){case"":this.order="asc",this.orderChange.emit("asc");break;case"asc":this.order="desc",this.orderChange.emit("desc");break;case"desc":this.order="",this.selectedKey="",this.orderChange.emit("")}},t.decorators=[{type:n.Component,args:[{selector:"abp-sort-order-icon",template:'\r\n \r\n\r\n'}]}],t.propDecorators={selectedKey:[{type:n.Input}],selectedSortKey:[{type:n.Input}],selectedKeyChange:[{type:n.Output}],selectedSortKeyChange:[{type:n.Output}],key:[{type:n.Input}],sortKey:[{type:n.Input}],order:[{type:n.Input}],orderChange:[{type:n.Output}],iconClass:[{type:n.Input}]},t}();var H=function(){function t(){this.colspan=2,this.localizationResource="AbpAccount",this.localizationProp="NoDataAvailableInDatatable"}return Object.defineProperty(t.prototype,"emptyMessage",{get:function(){return this.message||this.localizationResource+"::"+this.localizationProp},enumerable:!0,configurable:!0}),t.decorators=[{type:n.Component,args:[{selector:"[abp-table-empty-message]",template:'\n \n {{ emptyMessage | abpLocalization }}\n \n '}]}],t.propDecorators={colspan:[{type:n.Input}],message:[{type:n.Input}],localizationResource:[{type:n.Input}],localizationProp:[{type:n.Input}]},t}();var W=function(){function t(){}return t.decorators=[{type:n.Component,args:[{selector:"abp-toast",template:'\n \n \n \n
    \n
    {{ message.summary | abpLocalization: message.titleLocalizationParams }}
    \n
    {{ message.detail | abpLocalization: message.messageLocalizationParams }}
    \n
    \n
    \n
    \n '}]}],t}(),U='\n.is-invalid .form-control {\n border-color: #dc3545;\n border-style: solid !important;\n}\n\n.is-invalid .invalid-feedback,\n.is-invalid + * .invalid-feedback {\n display: block;\n}\n\n.data-tables-filter {\n text-align: right;\n}\n\n.pointer {\n cursor: pointer;\n}\n\n.navbar .dropdown-submenu a::after {\n transform: rotate(-90deg);\n position: absolute;\n right: 16px;\n top: 18px;\n}\n\n.navbar .dropdown-menu {\n min-width: 215px;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar {\n height: 5px !important;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar-track {\n background: #ddd;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar-thumb {\n background: #8a8686;\n}\n\n.modal.show {\n display: block !important;\n}\n\n.modal-backdrop {\n position: fixed;\n top: 0;\n left: 0;\n width: calc(100% - 7px);\n height: 100%;\n background-color: rgba(0, 0, 0, 0.6);\n z-index: 1040;\n}\n\n.modal::-webkit-scrollbar {\n width: 7px;\n}\n\n.modal::-webkit-scrollbar-track {\n background: #ddd;\n}\n\n.modal::-webkit-scrollbar-thumb {\n background: #8a8686;\n}\n\n.modal-dialog {\n z-index: 1050;\n}\n\n.abp-ellipsis-inline {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.abp-ellipsis {\n overflow: hidden !important;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.abp-toast .ui-toast-message {\n box-sizing: border-box;\n border: 2px solid transparent;\n border-radius: 4px;\n color: #1b1d29;\n}\n\n.abp-toast .ui-toast-message-content {\n padding: 10px;\n}\n\n.abp-toast .ui-toast-message-content .ui-toast-icon {\n top: 0;\n left: 0;\n padding: 10px;\n}\n\n.abp-toast .ui-toast-summary {\n margin: 0;\n font-weight: 700;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-error {\n border: 2px solid #ba1659;\n background-color: #f4f4f7;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-error .ui-toast-message-content .ui-toast-icon {\n color: #ba1659;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn {\n border: 2px solid #ed5d98;\n background-color: #f4f4f7;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn .ui-toast-message-content .ui-toast-icon {\n color: #ed5d98;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-success {\n border: 2px solid #1c9174;\n background-color: #f4f4f7;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-success .ui-toast-message-content .ui-toast-icon {\n color: #1c9174;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-info {\n border: 2px solid #fccb31;\n background-color: #f4f4f7;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-info .ui-toast-message-content .ui-toast-icon {\n color: #fccb31;\n}\n\n.abp-confirm .ui-toast-message {\n box-sizing: border-box;\n padding: 0px;\n border:0 none;\n border-radius: 4px;\n background-color: transparent !important;\n font-family: "Poppins", sans-serif;\n text-align: center;\n}\n\n.abp-confirm .ui-toast-message-content {\n padding: 0px;\n}\n\n.abp-confirm .abp-confirm-icon {\n margin: 32px 50px 5px !important;\n color: #f8bb86 !important;\n font-size: 52px !important;\n}\n\n.abp-confirm .ui-toast-close-icon {\n display: none !important;\n}\n\n.abp-confirm .abp-confirm-summary {\n display: block !important;\n margin-bottom: 13px !important;\n padding: 13px 16px 0px !important;\n font-weight: 600 !important;\n font-size: 18px !important;\n}\n\n.abp-confirm .abp-confirm-body {\n display: inline-block !important;\n padding: 0px 10px !important;\n}\n\n.abp-confirm .abp-confirm-footer {\n display: block;\n margin-top: 30px;\n padding: 16px;\n text-align: right;\n}\n\n.abp-confirm .abp-confirm-footer .btn {\n margin-left: 10px !important;\n}\n\n.ui-widget-overlay {\n z-index: 1000;\n}\n\n.color-white {\n color: #FFF !important;\n}\n\n.custom-checkbox > label {\n cursor: pointer;\n}\n\n/* -1}),!1)?u.show404Page():t instanceof h.RouterDataResolved&&u.componentRef&&(u.componentRef.destroy(),u.componentRef=null)}))}return t.prototype.show401Page=function(){this.createErrorComponent({title:{key:"AbpAccount::401Message",defaultValue:G.defaultError401.title},status:401})},t.prototype.show404Page=function(){this.createErrorComponent({title:{key:"AbpAccount::404Message",defaultValue:G.defaultError404.title},status:404})},t.prototype.showError=function(t,e,n){return n&&(n.details?(t=n.details,e=n.message):t=n.message||G.defaultError.title),this.confirmationService.error(t,e,{hideCancelBtn:!0,yesText:"AbpAccount::Close"})},t.prototype.navigateToLogin=function(){this.store.dispatch(new h.Navigate(["/account/login"],null,{state:{redirectUrl:this.store.selectSnapshot(h.RouterState.url)}}))},t.prototype.createErrorComponent=function(t){var e=this,n=this.rendererFactory.createRenderer(null,null),r=n.selectRootElement(document.body,!0);for(var o in this.componentRef=this.cfRes.resolveComponentFactory(A).create(this.injector),this.componentRef.instance)this.componentRef.instance.hasOwnProperty(o)&&(this.componentRef.instance[o]=t[o]);this.componentRef.instance.hideCloseIcon=this.httpErrorConfig.errorScreen.hideCloseIcon,this.canCreateCustomError(t.status)&&(this.componentRef.instance.cfRes=this.cfRes,this.componentRef.instance.appRef=this.appRef,this.componentRef.instance.injector=this.injector,this.componentRef.instance.customComponent=this.httpErrorConfig.errorScreen.component),this.appRef.attachView(this.componentRef.hostView),n.appendChild(r,this.componentRef.hostView.rootNodes[0]);var a=new c.Subject;this.componentRef.instance.destroy$=a,a.subscribe((function(){e.componentRef.destroy(),e.componentRef=null}))},t.prototype.canCreateCustomError=function(t){var e=this;return l((function(){return e.httpErrorConfig.errorScreen.component&&e.httpErrorConfig.errorScreen.forWhichErrors.indexOf(t)>-1}))},t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:s.Actions},{type:s.Store},{type:O},{type:n.ApplicationRef},{type:n.ComponentFactoryResolver},{type:n.RendererFactory2},{type:n.Injector},{type:void 0,decorators:[{type:n.Inject,args:["HTTP_ERROR_CONFIG"]}]}]},t.ngInjectableDef=n.ɵɵdefineInjectable({factory:function(){return new t(n.ɵɵinject(s.Actions),n.ɵɵinject(s.Store),n.ɵɵinject(O),n.ɵɵinject(n.ApplicationRef),n.ɵɵinject(n.ComponentFactoryResolver),n.ɵɵinject(n.RendererFactory2),n.ɵɵinject(n.INJECTOR),n.ɵɵinject("HTTP_ERROR_CONFIG"))},token:t,providedIn:"root"}),t}();function Z(t){return void 0===t&&(t={}),t.errorScreen&&t.errorScreen.component&&!t.errorScreen.forWhichErrors&&(t.errorScreen.forWhichErrors=[401,403,404,500]),C({errorScreen:{}},t)}var Q=new n.InjectionToken("HTTP_ERROR_CONFIG");function tt(t){return et(t)?("0"+t).slice(-2):""}function et(t){return!isNaN(nt(t))}function nt(t){return parseInt(""+t,10)}var rt=function(t){function e(e){var n=t.call(this)||this;return n.datePipe=e,n}return v(e,t),e.prototype.parse=function(t){if(t){var e=t.trim().split("-");if(1===e.length&&et(e[0]))return{year:nt(e[0]),month:null,day:null};if(2===e.length&&et(e[0])&&et(e[1]))return{year:nt(e[0]),month:nt(e[1]),day:null};if(3===e.length&&et(e[0])&&et(e[1])&&et(e[2]))return{year:nt(e[0]),month:nt(e[1]),day:nt(e[2])}}return null},e.prototype.format=function(t){return t&&this.datePipe?this.datePipe.transform(new Date(t.year,t.month,t.day),"shortDate"):t?t.year+"-"+(et(t.month)?tt(t.month):"")+"-"+(et(t.day)?tt(t.day):""):""},e.decorators=[{type:n.Injectable}],e.ctorParameters=function(){return[{type:b.DatePipe,decorators:[{type:n.Optional}]}]},e}(g.NgbDateParserFormatter);function ot(t){return function(){return import("chart.js").then((function(){return I.next(!0)})),t.get(e.LazyLoadService).load(null,"style",U,"head","beforeend").toPromise()}}var at=function(){function t(t){this.errorHandler=t}return t.forRoot=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[{provide:n.APP_INITIALIZER,multi:!0,deps:[n.Injector],useFactory:ot},{provide:o.MessageService,useClass:o.MessageService},{provide:Q,useValue:e.httpErrorConfig},{provide:"HTTP_ERROR_CONFIG",useFactory:Z,deps:[Q]},{provide:g.NgbDateParserFormatter,useClass:rt}]}},t.decorators=[{type:n.NgModule,args:[{imports:[e.CoreModule,a.ToastModule,r.NgxValidateCoreModule],declarations:[E,k,S,j,A,P,K,H,W,B,X],exports:[E,k,S,j,P,K,H,W,B,X],providers:[b.DatePipe],entryComponents:[A]}]}],t.ctorParameters=function(){return[{type:J}]},t}();var it,st=u.animation([u.style({opacity:"0",display:"{{ display }}"}),u.animate("{{ time}} {{ easing }}",u.keyframes([u.style({opacity:"0",transform:"{{ transform }} scale(0.0)",offset:0}),u.style({opacity:"0",transform:"{{ transform }} scale(0.8)",offset:.5}),u.style({opacity:"1",transform:"{{ transform }} scale(1.0)",offset:1})]))],{params:{time:"350ms",easing:"cubic-bezier(.7,.31,.72,1.47)",display:"block",transform:"translate(-50%, -50%)"}}),ct=u.animation([u.style({height:"*",overflow:"hidden","box-sizing":"border-box"}),u.animate("{{ time }} {{ easing }}",u.style({height:"0",padding:"0px"}))],{params:{time:"350ms",easing:"ease"}}),pt=u.animation([u.style({"margin-top":"0"}),u.animate("{{ time }} {{ easing }}",u.style({"margin-top":"-100%"}))],{params:{time:"500ms",easing:"ease"}}),lt=u.animation([u.style({width:"*",overflow:"hidden","box-sizing":"border-box"}),u.animate("{{ time }} {{ easing }}",u.style({width:"0",padding:"0px"}))],{params:{time:"350ms",easing:"ease"}}),ut=u.animation([u.style({height:"0",overflow:"hidden","box-sizing":"border-box"}),u.animate("{{ time }} {{ easing }}",u.style({height:"*",padding:"*"}))],{params:{time:"350ms",easing:"ease"}}),dt=u.animation([u.style({"margin-top":"-100%"}),u.animate("{{ time }} {{ easing }}",u.style({"margin-top":"0"}))],{params:{time:"500ms",easing:"ease"}}),mt=u.animation([u.style({width:"0",overflow:"hidden","box-sizing":"border-box"}),u.animate("{{ time }} {{ easing }}",u.style({width:"*",padding:"*"}))],{params:{time:"350ms",easing:"ease"}}),ft=u.trigger("collapse",[u.state("collapsed",u.style({height:"0",overflow:"hidden"})),u.state("expanded",u.style({height:"*",overflow:"hidden"})),u.transition("expanded => collapsed",u.useAnimation(ct)),u.transition("collapsed => expanded",u.useAnimation(ut))]),ht=u.trigger("collapseWithMargin",[u.state("collapsed",u.style({"margin-top":"-100%"})),u.state("expanded",u.style({"margin-top":"0"})),u.transition("expanded => collapsed",u.useAnimation(pt),{params:{time:"400ms",easing:"linear"}}),u.transition("collapsed => expanded",u.useAnimation(dt))]),gt=u.trigger("collapseLinearWithMargin",[u.state("collapsed",u.style({"margin-top":"-100%"})),u.state("expanded",u.style({"margin-top":"0"})),u.transition("expanded => collapsed",u.useAnimation(pt,{params:{time:"200ms",easing:"linear"}})),u.transition("collapsed => expanded",u.useAnimation(dt,{params:{time:"250ms",easing:"linear"}}))]),bt=u.trigger("slideFromBottom",[u.transition("* <=> *",[u.style({"margin-top":"20px",opacity:"0"}),u.animate("0.2s ease-out",u.style({opacity:"1","margin-top":"0px"}))])]);(function(t){function e(){}t.Options=e})(it||(it={}));var yt,vt=[];!function(t){function e(){}function n(){}t.Response=e,t.Data=function(){},t.Filter=n}(yt||(yt={})),function(t){function e(){}t.Options=e}(t.Toaster||(t.Toaster={}));var Ct=function(t){function e(e){var n=t.call(this,e)||this;return n.messageService=e,n}return v(e,t),e.prototype.addAll=function(t){var e=this;this.messageService.addAll(t.map((function(t){return C({key:e.key},t)})))},e.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:o.MessageService}]},e.ngInjectableDef=n.ɵɵdefineInjectable({factory:function(){return new e(n.ɵɵinject(o.MessageService))},token:e,providedIn:"root"}),e}(R);t.BreadcrumbComponent=E,t.ButtonComponent=k,t.ChartComponent=S,t.ConfirmationComponent=j,t.ConfirmationService=O,t.DateParserFormatter=rt,t.LoaderBarComponent=P,t.ModalComponent=K,t.SortOrderIconComponent=B,t.TableEmptyMessageComponent=H,t.TableSortDirective=X,t.ThemeSharedModule=at,t.ToastComponent=W,t.ToasterService=Ct,t.addSettingTab=function(t){Array.isArray(t)||(t=[t]),vt.push.apply(vt,w(t))},t.appendScript=ot,t.bounceIn=st,t.chartJsLoaded$=I,t.collapse=ft,t.collapseLinearWithMargin=gt,t.collapseWithMargin=ht,t.collapseX=lt,t.collapseY=ct,t.collapseYWithMargin=pt,t.dialogAnimation=q,t.expandX=mt,t.expandY=ut,t.expandYWithMargin=dt,t.fadeAnimation=Y,t.fadeIn=T,t.fadeInDown=D,t.fadeInLeft=M,t.fadeInRight=_,t.fadeInUp=z,t.fadeOut=L,t.fadeOutDown=F,t.fadeOutLeft=$,t.fadeOutRight=N,t.fadeOutUp=V,t.getRandomBackgroundColor=function(t){for(var e=[],n=0;n= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngxs/store';\r\nimport { ConfigState, ABP } from '@abp/ng.core';\r\n\r\n@Component({\r\n selector: 'abp-breadcrumb',\r\n templateUrl: './breadcrumb.component.html',\r\n})\r\nexport class BreadcrumbComponent implements OnInit {\r\n show: boolean;\r\n\r\n segments: string[] = [];\r\n\r\n constructor(private router: Router, private store: Store) {}\r\n\r\n ngOnInit(): void {\r\n this.show = !!this.store.selectSnapshot(state => state.LeptonLayoutState);\r\n if (this.show) {\r\n let splittedUrl = this.router.url.split('/').filter(chunk => chunk);\r\n\r\n let currentUrl: ABP.FullRoute = this.store.selectSnapshot(ConfigState.getRoute(splittedUrl[0]));\r\n\r\n if (!currentUrl) {\r\n currentUrl = this.store.selectSnapshot(ConfigState.getRoute(null, null, this.router.url));\r\n splittedUrl = [this.router.url];\r\n if (!currentUrl) {\r\n this.show = false;\r\n return;\r\n }\r\n }\r\n\r\n this.segments.push(currentUrl.name);\r\n\r\n if (splittedUrl.length > 1) {\r\n const [, ...arr] = splittedUrl;\r\n\r\n let childRoute: ABP.FullRoute = currentUrl;\r\n for (let i = 0; i < arr.length; i++) {\r\n const element = arr[i];\r\n childRoute = childRoute.children.find(child => child.path === element);\r\n\r\n this.segments.push(childRoute.name);\r\n }\r\n }\r\n }\r\n }\r\n}\r\n","import {\r\n Component,\r\n EventEmitter,\r\n Input,\r\n Output,\r\n ViewChild,\r\n ElementRef,\r\n Renderer2,\r\n OnInit,\r\n} from '@angular/core';\r\nimport { ABP } from '@abp/ng.core';\r\n\r\n@Component({\r\n selector: 'abp-button',\r\n template: `\r\n \r\n \r\n \r\n `,\r\n})\r\nexport class ButtonComponent implements OnInit {\r\n @Input()\r\n buttonId = '';\r\n\r\n @Input()\r\n buttonClass = 'btn btn-primary';\r\n\r\n @Input()\r\n buttonType = 'button';\r\n\r\n @Input()\r\n iconClass: string;\r\n\r\n @Input()\r\n loading = false;\r\n\r\n @Input()\r\n disabled = false;\r\n\r\n @Input()\r\n attributes: ABP.Dictionary;\r\n\r\n // tslint:disable\r\n /**\r\n * @deprecated use abpClick instead\r\n */\r\n @Output() readonly click = new EventEmitter();\r\n\r\n /**\r\n * @deprecated use abpFocus instead\r\n */\r\n // tslint:disable-next-line: no-output-native\r\n @Output() readonly focus = new EventEmitter();\r\n\r\n /**\r\n * @deprecated use abpBlur instead\r\n */\r\n @Output() readonly blur = new EventEmitter();\r\n // tslint:enable\r\n\r\n @Output() readonly abpClick = new EventEmitter();\r\n\r\n @Output() readonly abpFocus = new EventEmitter();\r\n\r\n @Output() readonly abpBlur = new EventEmitter();\r\n\r\n @ViewChild('button', { static: true })\r\n buttonRef: ElementRef;\r\n\r\n get icon(): string {\r\n return `${this.loading ? 'fa fa-spinner fa-spin' : this.iconClass || 'd-none'}`;\r\n }\r\n\r\n constructor(private renderer: Renderer2) {}\r\n\r\n ngOnInit() {\r\n if (this.attributes) {\r\n Object.keys(this.attributes).forEach(key => {\r\n this.renderer.setAttribute(this.buttonRef.nativeElement, key, this.attributes[key]);\r\n });\r\n }\r\n }\r\n}\r\n","import { ReplaySubject } from 'rxjs';\r\n\r\nexport function getRandomBackgroundColor(count) {\r\n const colors = [];\r\n\r\n for (let i = 0; i < count; i++) {\r\n const r = ((i + 5) * (i + 5) * 474) % 255;\r\n const g = ((i + 5) * (i + 5) * 1600) % 255;\r\n const b = ((i + 5) * (i + 5) * 84065) % 255;\r\n colors.push('rgba(' + r + ', ' + g + ', ' + b + ', 0.7)');\r\n }\r\n\r\n return colors;\r\n}\r\n\r\nexport const chartJsLoaded$ = new ReplaySubject(1);\r\n","import {\r\n AfterViewInit,\r\n Component,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n OnDestroy,\r\n Output,\r\n ChangeDetectorRef,\r\n} from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { chartJsLoaded$ } from '../../utils/widget-utils';\r\ndeclare const Chart: any;\r\n\r\n@Component({\r\n selector: 'abp-chart',\r\n templateUrl: './chart.component.html',\r\n})\r\nexport class ChartComponent implements AfterViewInit, OnDestroy {\r\n @Input() type: string;\r\n\r\n @Input() options: any = {};\r\n\r\n @Input() plugins: any[] = [];\r\n\r\n @Input() width: string;\r\n\r\n @Input() height: string;\r\n\r\n @Input() responsive = true;\r\n\r\n // tslint:disable-next-line: no-output-on-prefix\r\n @Output() readonly onDataSelect: EventEmitter = new EventEmitter();\r\n\r\n @Output() readonly initialized = new BehaviorSubject(this);\r\n\r\n private _initialized: boolean;\r\n\r\n _data: any;\r\n\r\n chart: any;\r\n\r\n constructor(public el: ElementRef, private cdRef: ChangeDetectorRef) {}\r\n\r\n @Input() get data(): any {\r\n return this._data;\r\n }\r\n\r\n set data(val: any) {\r\n this._data = val;\r\n this.reinit();\r\n }\r\n\r\n get canvas() {\r\n return this.el.nativeElement.children[0].children[0];\r\n }\r\n\r\n get base64Image() {\r\n return this.chart.toBase64Image();\r\n }\r\n\r\n ngAfterViewInit() {\r\n chartJsLoaded$.subscribe(() => {\r\n this.testChartJs();\r\n\r\n this.initChart();\r\n this._initialized = true;\r\n });\r\n }\r\n\r\n testChartJs() {\r\n try {\r\n // tslint:disable-next-line: no-unused-expression\r\n Chart;\r\n } catch (error) {\r\n throw new Error(`Chart is not found. Import the Chart from app.module like shown below:\r\n import('chart.js');\r\n `);\r\n }\r\n }\r\n\r\n onCanvasClick = event => {\r\n if (this.chart) {\r\n const element = this.chart.getElementAtEvent(event);\r\n const dataset = this.chart.getDatasetAtEvent(event);\r\n if (element && element.length && dataset) {\r\n this.onDataSelect.emit({\r\n originalEvent: event,\r\n element: element[0],\r\n dataset,\r\n });\r\n }\r\n }\r\n };\r\n\r\n initChart = () => {\r\n const opts = this.options || {};\r\n opts.responsive = this.responsive;\r\n\r\n // allows chart to resize in responsive mode\r\n if (opts.responsive && (this.height || this.width)) {\r\n opts.maintainAspectRatio = false;\r\n }\r\n\r\n this.chart = new Chart(this.canvas, {\r\n type: this.type,\r\n data: this.data,\r\n options: this.options,\r\n plugins: this.plugins,\r\n });\r\n\r\n this.cdRef.detectChanges();\r\n };\r\n\r\n generateLegend = () => {\r\n if (this.chart) {\r\n return this.chart.generateLegend();\r\n }\r\n };\r\n\r\n refresh = () => {\r\n if (this.chart) {\r\n this.chart.update();\r\n this.cdRef.detectChanges();\r\n }\r\n };\r\n\r\n reinit = () => {\r\n if (this.chart) {\r\n this.chart.destroy();\r\n this.initChart();\r\n }\r\n };\r\n\r\n ngOnDestroy() {\r\n if (this.chart) {\r\n this.chart.destroy();\r\n this._initialized = false;\r\n this.chart = null;\r\n }\r\n }\r\n}\r\n","import { MessageService } from 'primeng/components/common/messageservice';\r\nimport { Observable, Subject } from 'rxjs';\r\nimport { Toaster } from '../models/toaster';\r\nimport { Config } from '@abp/ng.core';\r\n\r\nexport abstract class AbstractToaster {\r\n status$: Subject;\r\n\r\n key = 'abpToast';\r\n\r\n sticky = false;\r\n\r\n constructor(protected messageService: MessageService) {}\r\n\r\n info(message: Config.LocalizationParam, title: Config.LocalizationParam, options?: T): Observable {\r\n return this.show(message, title, 'info', options);\r\n }\r\n\r\n success(message: Config.LocalizationParam, title: Config.LocalizationParam, options?: T): Observable {\r\n return this.show(message, title, 'success', options);\r\n }\r\n\r\n warn(message: Config.LocalizationParam, title: Config.LocalizationParam, options?: T): Observable {\r\n return this.show(message, title, 'warn', options);\r\n }\r\n\r\n error(message: Config.LocalizationParam, title: Config.LocalizationParam, options?: T): Observable {\r\n return this.show(message, title, 'error', options);\r\n }\r\n\r\n protected show(\r\n message: Config.LocalizationParam,\r\n title: Config.LocalizationParam,\r\n severity: Toaster.Severity,\r\n options?: T,\r\n ): Observable {\r\n this.messageService.clear(this.key);\r\n\r\n this.messageService.add({\r\n severity,\r\n detail: message || '',\r\n summary: title || '',\r\n ...options,\r\n key: this.key,\r\n ...(typeof (options || ({} as any)).sticky === 'undefined' && { sticky: this.sticky }),\r\n });\r\n this.status$ = new Subject();\r\n return this.status$;\r\n }\r\n\r\n clear(status?: Toaster.Status) {\r\n this.messageService.clear(this.key);\r\n this.status$.next(status || Toaster.Status.dismiss);\r\n this.status$.complete();\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { AbstractToaster } from '../abstracts/toaster';\r\nimport { Confirmation } from '../models/confirmation';\r\nimport { MessageService } from 'primeng/components/common/messageservice';\r\nimport { fromEvent, Observable, Subject } from 'rxjs';\r\nimport { takeUntil, debounceTime, filter } from 'rxjs/operators';\r\nimport { Toaster } from '../models/toaster';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class ConfirmationService extends AbstractToaster {\r\n key = 'abpConfirmation';\r\n\r\n sticky = true;\r\n\r\n destroy$ = new Subject();\r\n\r\n constructor(protected messageService: MessageService) {\r\n super(messageService);\r\n }\r\n\r\n show(\r\n message: string,\r\n title: string,\r\n severity: Toaster.Severity,\r\n options?: Confirmation.Options,\r\n ): Observable {\r\n this.listenToEscape();\r\n return super.show(message, title, severity, options);\r\n }\r\n\r\n clear(status?: Toaster.Status) {\r\n super.clear(status);\r\n\r\n this.destroy$.next();\r\n }\r\n\r\n listenToEscape() {\r\n fromEvent(document, 'keyup')\r\n .pipe(\r\n takeUntil(this.destroy$),\r\n debounceTime(150),\r\n filter((key: KeyboardEvent) => key && key.key === 'Escape'),\r\n )\r\n .subscribe(_ => {\r\n this.clear();\r\n });\r\n }\r\n}\r\n","import { Component } from '@angular/core';\r\nimport { ConfirmationService } from '../../services/confirmation.service';\r\nimport { Toaster } from '../../models/toaster';\r\n\r\n@Component({\r\n selector: 'abp-confirmation',\r\n // tslint:disable-next-line: component-max-inline-declarations\r\n template: `\r\n \r\n \r\n \r\n
    \r\n {{ message.summary | abpLocalization: message.titleLocalizationParams }}\r\n
    \r\n
    \r\n {{ message.detail | abpLocalization: message.messageLocalizationParams }}\r\n
    \r\n\r\n \r\n
    \r\n \r\n `,\r\n})\r\nexport class ConfirmationComponent {\r\n confirm = Toaster.Status.confirm;\r\n reject = Toaster.Status.reject;\r\n dismiss = Toaster.Status.dismiss;\r\n\r\n constructor(private confirmationService: ConfirmationService) {}\r\n\r\n close(status: Toaster.Status) {\r\n this.confirmationService.clear(status);\r\n }\r\n}\r\n","import { Config, takeUntilDestroy } from '@abp/ng.core';\r\nimport {\r\n AfterViewInit,\r\n ApplicationRef,\r\n Component,\r\n ComponentFactoryResolver,\r\n ElementRef,\r\n EmbeddedViewRef,\r\n Injector,\r\n OnDestroy,\r\n OnInit,\r\n Type,\r\n ViewChild,\r\n} from '@angular/core';\r\nimport { fromEvent, Subject } from 'rxjs';\r\nimport { debounceTime, filter } from 'rxjs/operators';\r\nimport snq from 'snq';\r\n\r\n@Component({\r\n selector: 'abp-http-error-wrapper',\r\n templateUrl: './http-error-wrapper.component.html',\r\n styleUrls: ['http-error-wrapper.component.scss'],\r\n})\r\nexport class HttpErrorWrapperComponent implements AfterViewInit, OnDestroy, OnInit {\r\n appRef: ApplicationRef;\r\n\r\n cfRes: ComponentFactoryResolver;\r\n\r\n injector: Injector;\r\n\r\n status = 0;\r\n\r\n title: Config.LocalizationParam = 'Oops!';\r\n\r\n details: Config.LocalizationParam = 'Sorry, an error has occured.';\r\n\r\n customComponent: Type = null;\r\n\r\n destroy$: Subject;\r\n\r\n hideCloseIcon = false;\r\n\r\n backgroundColor: string;\r\n\r\n @ViewChild('container', { static: false })\r\n containerRef: ElementRef;\r\n\r\n get statusText(): string {\r\n return this.status ? `[${this.status}]` : '';\r\n }\r\n\r\n ngOnInit() {\r\n this.backgroundColor =\r\n snq(() => window.getComputedStyle(document.body).getPropertyValue('background-color')) || '#fff';\r\n }\r\n\r\n ngAfterViewInit() {\r\n if (this.customComponent) {\r\n const customComponentRef = this.cfRes.resolveComponentFactory(this.customComponent).create(this.injector);\r\n customComponentRef.instance.errorStatus = this.status;\r\n customComponentRef.instance.destroy$ = this.destroy$;\r\n this.appRef.attachView(customComponentRef.hostView);\r\n this.containerRef.nativeElement.appendChild((customComponentRef.hostView as EmbeddedViewRef).rootNodes[0]);\r\n customComponentRef.changeDetectorRef.detectChanges();\r\n }\r\n\r\n fromEvent(document, 'keyup')\r\n .pipe(\r\n takeUntilDestroy(this),\r\n debounceTime(150),\r\n filter((key: KeyboardEvent) => key && key.key === 'Escape'),\r\n )\r\n .subscribe(() => {\r\n this.destroy();\r\n });\r\n }\r\n\r\n ngOnDestroy() {}\r\n\r\n destroy() {\r\n this.destroy$.next();\r\n this.destroy$.complete();\r\n }\r\n}\r\n","import { StartLoader, StopLoader } from '@abp/ng.core';\r\nimport { ChangeDetectorRef, Component, Input, OnDestroy, OnInit } from '@angular/core';\r\nimport { NavigationEnd, NavigationError, NavigationStart, Router } from '@angular/router';\r\nimport { takeUntilDestroy } from '@ngx-validate/core';\r\nimport { Actions, ofActionSuccessful } from '@ngxs/store';\r\nimport { interval, Subscription, timer } from 'rxjs';\r\nimport { filter } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'abp-loader-bar',\r\n template: `\r\n
    \r\n
    \r\n \r\n `,\r\n styleUrls: ['./loader-bar.component.scss'],\r\n})\r\nexport class LoaderBarComponent implements OnDestroy, OnInit {\r\n @Input()\r\n containerClass = 'abp-loader-bar';\r\n\r\n @Input()\r\n color = '#77b6ff';\r\n\r\n @Input()\r\n isLoading = false;\r\n\r\n progressLevel = 0;\r\n\r\n interval: Subscription;\r\n\r\n timer: Subscription;\r\n\r\n intervalPeriod = 350;\r\n\r\n stopDelay = 820;\r\n\r\n @Input()\r\n filter = (action: StartLoader | StopLoader) => action.payload.url.indexOf('openid-configuration') < 0;\r\n\r\n get boxShadow(): string {\r\n return `0 0 10px rgba(${this.color}, 0.5)`;\r\n }\r\n\r\n constructor(private actions: Actions, private router: Router, private cdRef: ChangeDetectorRef) {}\r\n\r\n ngOnInit() {\r\n this.actions\r\n .pipe(\r\n ofActionSuccessful(StartLoader, StopLoader),\r\n filter(this.filter),\r\n takeUntilDestroy(this),\r\n )\r\n .subscribe(action => {\r\n if (action instanceof StartLoader) this.startLoading();\r\n else this.stopLoading();\r\n });\r\n\r\n this.router.events\r\n .pipe(\r\n filter(\r\n event =>\r\n event instanceof NavigationStart || event instanceof NavigationEnd || event instanceof NavigationError,\r\n ),\r\n takeUntilDestroy(this),\r\n )\r\n .subscribe(event => {\r\n if (event instanceof NavigationStart) this.startLoading();\r\n else this.stopLoading();\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n this.interval.unsubscribe();\r\n }\r\n\r\n startLoading() {\r\n if (this.isLoading || this.progressLevel !== 0) return;\r\n\r\n this.isLoading = true;\r\n this.interval = interval(this.intervalPeriod).subscribe(() => {\r\n if (this.progressLevel < 75) {\r\n this.progressLevel += Math.random() * 10;\r\n } else if (this.progressLevel < 90) {\r\n this.progressLevel += 0.4;\r\n } else if (this.progressLevel < 100) {\r\n this.progressLevel += 0.1;\r\n } else {\r\n this.interval.unsubscribe();\r\n }\r\n this.cdRef.detectChanges();\r\n });\r\n }\r\n\r\n stopLoading() {\r\n this.interval.unsubscribe();\r\n this.progressLevel = 100;\r\n this.isLoading = false;\r\n if (this.timer && !this.timer.closed) return;\r\n\r\n this.timer = timer(this.stopDelay).subscribe(() => {\r\n this.progressLevel = 0;\r\n this.cdRef.detectChanges();\r\n });\r\n }\r\n}\r\n","import { animate, animation, style } from '@angular/animations';\r\n\r\nexport const fadeIn = animation([style({ opacity: '0' }), animate('{{ time}} {{ easing }}', style({ opacity: '1' }))], {\r\n params: { time: '350ms', easing: 'ease' },\r\n});\r\n\r\nexport const fadeOut = animation(\r\n [style({ opacity: '1' }), animate('{{ time}} {{ easing }}', style({ opacity: '0' }))],\r\n { params: { time: '350ms', easing: 'ease' } },\r\n);\r\n\r\nexport const fadeInDown = animation(\r\n [\r\n style({ opacity: '0', transform: '{{ transform }} translateY(-20px)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateY(0)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeInUp = animation(\r\n [\r\n style({ opacity: '0', transform: '{{ transform }} translateY(20px)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateY(0)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeInLeft = animation(\r\n [\r\n style({ opacity: '0', transform: '{{ transform }} translateX(20px)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateX(0)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeInRight = animation(\r\n [\r\n style({ opacity: '0', transform: '{{ transform }} translateX(-20px)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateX(0)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeOutDown = animation(\r\n [\r\n style({ opacity: '1', transform: '{{ transform }} translateY(0)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateY(20px)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeOutUp = animation(\r\n [\r\n style({ opacity: '1', transform: '{{ transform }} translateY(0)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateY(-20px)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeOutLeft = animation(\r\n [\r\n style({ opacity: '1', transform: '{{ transform }} translateX(0)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateX(20px)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeOutRight = animation(\r\n [\r\n style({ opacity: '1', transform: '{{ transform }} translateX(0)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateX(-20px)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n","import { transition, trigger, useAnimation } from '@angular/animations';\r\nimport { fadeIn, fadeInDown, fadeOut } from './fade.animations';\r\n\r\nexport const fadeAnimation = trigger('fade', [\r\n transition(':enter', useAnimation(fadeIn)),\r\n transition(':leave', useAnimation(fadeOut)),\r\n]);\r\n\r\nexport const dialogAnimation = trigger('dialog', [\r\n transition(':enter', useAnimation(fadeInDown)),\r\n transition(':leave', useAnimation(fadeOut)),\r\n]);\r\n","import {\r\n Component,\r\n ContentChild,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n OnDestroy,\r\n Output,\r\n Renderer2,\r\n TemplateRef,\r\n ViewChild,\r\n ViewChildren,\r\n} from '@angular/core';\r\nimport { fromEvent, Subject } from 'rxjs';\r\nimport { debounceTime, filter, takeUntil } from 'rxjs/operators';\r\nimport { fadeAnimation } from '../../animations/modal.animations';\r\nimport { Toaster } from '../../models/toaster';\r\nimport { ConfirmationService } from '../../services/confirmation.service';\r\nimport { ButtonComponent } from '../button/button.component';\r\n\r\nexport type ModalSize = 'sm' | 'md' | 'lg' | 'xl';\r\n\r\n@Component({\r\n selector: 'abp-modal',\r\n templateUrl: './modal.component.html',\r\n animations: [fadeAnimation],\r\n})\r\nexport class ModalComponent implements OnDestroy {\r\n @Input()\r\n get visible(): boolean {\r\n return this._visible;\r\n }\r\n set visible(value: boolean) {\r\n if (typeof value !== 'boolean') return;\r\n\r\n this.isModalOpen = value;\r\n this._visible = value;\r\n this.visibleChange.emit(value);\r\n\r\n if (value) {\r\n setTimeout(() => this.listen(), 0);\r\n this.renderer.addClass(document.body, 'modal-open');\r\n this.appear.emit();\r\n } else {\r\n this.renderer.removeClass(document.body, 'modal-open');\r\n this.disappear.emit();\r\n this.destroy$.next();\r\n }\r\n }\r\n\r\n @Input()\r\n get busy(): boolean {\r\n return this._busy;\r\n }\r\n set busy(value: boolean) {\r\n if (this.abpSubmit && this.abpSubmit instanceof ButtonComponent) {\r\n this.abpSubmit.loading = value;\r\n }\r\n\r\n this._busy = value;\r\n }\r\n\r\n @Input() centered = false;\r\n\r\n @Input() modalClass = '';\r\n\r\n @Input() size: ModalSize = 'lg';\r\n\r\n @ContentChild(ButtonComponent, { static: false, read: ButtonComponent })\r\n abpSubmit: ButtonComponent;\r\n\r\n @ContentChild('abpHeader', { static: false }) abpHeader: TemplateRef;\r\n\r\n @ContentChild('abpBody', { static: false }) abpBody: TemplateRef;\r\n\r\n @ContentChild('abpFooter', { static: false }) abpFooter: TemplateRef;\r\n\r\n @ContentChild('abpClose', { static: false, read: ElementRef })\r\n abpClose: ElementRef;\r\n\r\n @ViewChild('abpModalContent', { static: false }) modalContent: ElementRef;\r\n\r\n @ViewChildren('abp-button') abpButtons;\r\n\r\n @Output() readonly visibleChange = new EventEmitter();\r\n\r\n @Output() readonly init = new EventEmitter();\r\n\r\n @Output() readonly appear = new EventEmitter();\r\n\r\n @Output() readonly disappear = new EventEmitter();\r\n\r\n _visible = false;\r\n\r\n _busy = false;\r\n\r\n isModalOpen = false;\r\n\r\n isConfirmationOpen = false;\r\n\r\n destroy$ = new Subject();\r\n\r\n constructor(private renderer: Renderer2, private confirmationService: ConfirmationService) {}\r\n\r\n ngOnDestroy(): void {\r\n this.destroy$.next();\r\n }\r\n\r\n close() {\r\n if (this.busy) return;\r\n\r\n let node: HTMLDivElement;\r\n if (!this.modalContent) {\r\n node = document.getElementById('modal-container') as HTMLDivElement;\r\n }\r\n\r\n const nodes = getFlatNodes(\r\n ((node || this.modalContent.nativeElement).querySelector('#abp-modal-body') as HTMLElement).childNodes,\r\n );\r\n\r\n if (hasNgDirty(nodes)) {\r\n if (this.isConfirmationOpen) return;\r\n\r\n this.isConfirmationOpen = true;\r\n this.confirmationService\r\n .warn('AbpAccount::AreYouSureYouWantToCancelEditingWarningMessage', 'AbpAccount::AreYouSure')\r\n .subscribe((status: Toaster.Status) => {\r\n this.isConfirmationOpen = false;\r\n if (status === Toaster.Status.confirm) {\r\n this.visible = false;\r\n }\r\n });\r\n } else {\r\n this.visible = false;\r\n }\r\n }\r\n\r\n listen() {\r\n fromEvent(document, 'keyup')\r\n .pipe(\r\n takeUntil(this.destroy$),\r\n debounceTime(150),\r\n filter((key: KeyboardEvent) => key && key.key === 'Escape'),\r\n )\r\n .subscribe(() => {\r\n this.close();\r\n });\r\n\r\n setTimeout(() => {\r\n if (!this.abpClose) return;\r\n fromEvent(this.abpClose.nativeElement, 'click')\r\n .pipe(\r\n takeUntil(this.destroy$),\r\n filter(() => !!this.modalContent),\r\n )\r\n .subscribe(() => this.close());\r\n }, 0);\r\n\r\n this.init.emit();\r\n }\r\n}\r\n\r\nfunction getFlatNodes(nodes: NodeList): HTMLElement[] {\r\n return Array.from(nodes).reduce(\r\n (acc, val) => [...acc, ...(val.childNodes && val.childNodes.length ? getFlatNodes(val.childNodes) : [val])],\r\n [],\r\n );\r\n}\r\n\r\nfunction hasNgDirty(nodes: HTMLElement[]) {\r\n return nodes.findIndex(node => (node.className || '').indexOf('ng-dirty') > -1) > -1;\r\n}\r\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-sort-order-icon',\r\n templateUrl: './sort-order-icon.component.html',\r\n})\r\nexport class SortOrderIconComponent {\r\n private _order: 'asc' | 'desc' | '';\r\n private _selectedSortKey: string;\r\n\r\n /**\r\n * @deprecated use selectedSortKey instead.\r\n */\r\n @Input()\r\n set selectedKey(value: string) {\r\n this.selectedSortKey = value;\r\n this.selectedKeyChange.emit(value);\r\n }\r\n get selectedKey(): string {\r\n return this._selectedSortKey;\r\n }\r\n\r\n @Input()\r\n set selectedSortKey(value: string) {\r\n this._selectedSortKey = value;\r\n this.selectedSortKeyChange.emit(value);\r\n }\r\n get selectedSortKey(): string {\r\n return this._selectedSortKey;\r\n }\r\n\r\n @Output() readonly selectedKeyChange = new EventEmitter();\r\n @Output() readonly selectedSortKeyChange = new EventEmitter();\r\n\r\n /**\r\n * @deprecated use sortKey instead.\r\n */\r\n @Input()\r\n get key(): string {\r\n return this.sortKey;\r\n }\r\n set key(value: string) {\r\n this.sortKey = value;\r\n }\r\n\r\n @Input()\r\n sortKey: string;\r\n\r\n @Input()\r\n set order(value: 'asc' | 'desc' | '') {\r\n this._order = value;\r\n this.orderChange.emit(value);\r\n }\r\n get order(): 'asc' | 'desc' | '' {\r\n return this._order;\r\n }\r\n\r\n @Output() readonly orderChange = new EventEmitter();\r\n\r\n @Input()\r\n iconClass: string;\r\n\r\n get icon(): string {\r\n if (!this.selectedSortKey) return 'fa-sort';\r\n if (this.selectedSortKey === this.sortKey) return `fa-sort-${this.order}`;\r\n else return '';\r\n }\r\n\r\n sort(key: string) {\r\n this.selectedKey = key; // TODO: To be removed\r\n this.selectedSortKey = key;\r\n switch (this.order) {\r\n case '':\r\n this.order = 'asc';\r\n this.orderChange.emit('asc');\r\n break;\r\n case 'asc':\r\n this.order = 'desc';\r\n this.orderChange.emit('desc');\r\n break;\r\n case 'desc':\r\n this.order = '';\r\n this.selectedKey = ''; // TODO: To be removed\r\n this.orderChange.emit('');\r\n break;\r\n }\r\n }\r\n}\r\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n // tslint:disable-next-line: component-selector\r\n selector: '[abp-table-empty-message]',\r\n template: `\r\n \r\n {{ emptyMessage | abpLocalization }}\r\n \r\n `\r\n})\r\nexport class TableEmptyMessageComponent {\r\n @Input()\r\n colspan = 2;\r\n\r\n @Input()\r\n message: string;\r\n\r\n @Input()\r\n localizationResource = 'AbpAccount';\r\n\r\n @Input()\r\n localizationProp = 'NoDataAvailableInDatatable';\r\n\r\n get emptyMessage(): string {\r\n return this.message || `${this.localizationResource}::${this.localizationProp}`;\r\n }\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-toast',\r\n // tslint:disable-next-line: component-max-inline-declarations\r\n template: `\r\n \r\n \r\n \r\n
    \r\n
    {{ message.summary | abpLocalization: message.titleLocalizationParams }}
    \r\n
    {{ message.detail | abpLocalization: message.messageLocalizationParams }}
    \r\n
    \r\n
    \r\n
    \r\n `,\r\n})\r\nexport class ToastComponent {}\r\n","export default `\r\n.is-invalid .form-control {\r\n border-color: #dc3545;\r\n border-style: solid !important;\r\n}\r\n\r\n.is-invalid .invalid-feedback,\r\n.is-invalid + * .invalid-feedback {\r\n display: block;\r\n}\r\n\r\n.data-tables-filter {\r\n text-align: right;\r\n}\r\n\r\n.pointer {\r\n cursor: pointer;\r\n}\r\n\r\n.navbar .dropdown-submenu a::after {\r\n transform: rotate(-90deg);\r\n position: absolute;\r\n right: 16px;\r\n top: 18px;\r\n}\r\n\r\n.navbar .dropdown-menu {\r\n min-width: 215px;\r\n}\r\n\r\n.ui-table-scrollable-body::-webkit-scrollbar {\r\n height: 5px !important;\r\n}\r\n\r\n.ui-table-scrollable-body::-webkit-scrollbar-track {\r\n background: #ddd;\r\n}\r\n\r\n.ui-table-scrollable-body::-webkit-scrollbar-thumb {\r\n background: #8a8686;\r\n}\r\n\r\n.modal.show {\r\n display: block !important;\r\n}\r\n\r\n.modal-backdrop {\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n width: calc(100% - 7px);\r\n height: 100%;\r\n background-color: rgba(0, 0, 0, 0.6);\r\n z-index: 1040;\r\n}\r\n\r\n.modal::-webkit-scrollbar {\r\n width: 7px;\r\n}\r\n\r\n.modal::-webkit-scrollbar-track {\r\n background: #ddd;\r\n}\r\n\r\n.modal::-webkit-scrollbar-thumb {\r\n background: #8a8686;\r\n}\r\n\r\n.modal-dialog {\r\n z-index: 1050;\r\n}\r\n\r\n.abp-ellipsis-inline {\r\n display: inline-block;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n}\r\n\r\n.abp-ellipsis {\r\n overflow: hidden !important;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n}\r\n\r\n.abp-toast .ui-toast-message {\r\n box-sizing: border-box;\r\n border: 2px solid transparent;\r\n border-radius: 4px;\r\n color: #1b1d29;\r\n}\r\n\r\n.abp-toast .ui-toast-message-content {\r\n padding: 10px;\r\n}\r\n\r\n.abp-toast .ui-toast-message-content .ui-toast-icon {\r\n top: 0;\r\n left: 0;\r\n padding: 10px;\r\n}\r\n\r\n.abp-toast .ui-toast-summary {\r\n margin: 0;\r\n font-weight: 700;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-error {\r\n border: 2px solid #ba1659;\r\n background-color: #f4f4f7;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-error .ui-toast-message-content .ui-toast-icon {\r\n color: #ba1659;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn {\r\n border: 2px solid #ed5d98;\r\n background-color: #f4f4f7;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn .ui-toast-message-content .ui-toast-icon {\r\n color: #ed5d98;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-success {\r\n border: 2px solid #1c9174;\r\n background-color: #f4f4f7;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-success .ui-toast-message-content .ui-toast-icon {\r\n color: #1c9174;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-info {\r\n border: 2px solid #fccb31;\r\n background-color: #f4f4f7;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-info .ui-toast-message-content .ui-toast-icon {\r\n color: #fccb31;\r\n}\r\n\r\n.abp-confirm .ui-toast-message {\r\n box-sizing: border-box;\r\n padding: 0px;\r\n border:0 none;\r\n border-radius: 4px;\r\n background-color: transparent !important;\r\n font-family: \"Poppins\", sans-serif;\r\n text-align: center;\r\n}\r\n\r\n.abp-confirm .ui-toast-message-content {\r\n padding: 0px;\r\n}\r\n\r\n.abp-confirm .abp-confirm-icon {\r\n margin: 32px 50px 5px !important;\r\n color: #f8bb86 !important;\r\n font-size: 52px !important;\r\n}\r\n\r\n.abp-confirm .ui-toast-close-icon {\r\n display: none !important;\r\n}\r\n\r\n.abp-confirm .abp-confirm-summary {\r\n display: block !important;\r\n margin-bottom: 13px !important;\r\n padding: 13px 16px 0px !important;\r\n font-weight: 600 !important;\r\n font-size: 18px !important;\r\n}\r\n\r\n.abp-confirm .abp-confirm-body {\r\n display: inline-block !important;\r\n padding: 0px 10px !important;\r\n}\r\n\r\n.abp-confirm .abp-confirm-footer {\r\n display: block;\r\n margin-top: 30px;\r\n padding: 16px;\r\n text-align: right;\r\n}\r\n\r\n.abp-confirm .abp-confirm-footer .btn {\r\n margin-left: 10px !important;\r\n}\r\n\r\n.ui-widget-overlay {\r\n z-index: 1000;\r\n}\r\n\r\n.color-white {\r\n color: #FFF !important;\r\n}\r\n\r\n.custom-checkbox > label {\r\n cursor: pointer;\r\n}\r\n\r\n/* ;\r\n\r\n constructor(\r\n private actions: Actions,\r\n private store: Store,\r\n private confirmationService: ConfirmationService,\r\n private appRef: ApplicationRef,\r\n private cfRes: ComponentFactoryResolver,\r\n private rendererFactory: RendererFactory2,\r\n private injector: Injector,\r\n @Inject('HTTP_ERROR_CONFIG') private httpErrorConfig: HttpErrorConfig,\r\n ) {\r\n this.actions.pipe(ofActionSuccessful(RestOccurError, RouterError, RouterDataResolved)).subscribe(res => {\r\n if (res instanceof RestOccurError) {\r\n const { payload: err = {} as HttpErrorResponse | any } = res;\r\n const body = snq(() => (err as HttpErrorResponse).error.error, DEFAULT_ERROR_MESSAGES.defaultError.title);\r\n\r\n if (err instanceof HttpErrorResponse && err.headers.get('_AbpErrorFormat')) {\r\n const confirmation$ = this.showError(null, null, body);\r\n\r\n if (err.status === 401) {\r\n confirmation$.subscribe(() => {\r\n this.navigateToLogin();\r\n });\r\n }\r\n } else {\r\n switch ((err as HttpErrorResponse).status) {\r\n case 401:\r\n this.canCreateCustomError(401)\r\n ? this.show401Page()\r\n : this.showError(\r\n {\r\n key: 'AbpAccount::DefaultErrorMessage401',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.title,\r\n },\r\n {\r\n key: 'AbpAccount::DefaultErrorMessage401Detail',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.details,\r\n },\r\n ).subscribe(() => this.navigateToLogin());\r\n break;\r\n case 403:\r\n this.createErrorComponent({\r\n title: {\r\n key: 'AbpAccount::DefaultErrorMessage403',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError403.title,\r\n },\r\n details: {\r\n key: 'AbpAccount::DefaultErrorMessage403Detail',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError403.details,\r\n },\r\n status: 403,\r\n });\r\n break;\r\n case 404:\r\n this.canCreateCustomError(404)\r\n ? this.show404Page()\r\n : this.showError(\r\n {\r\n key: 'AbpAccount::DefaultErrorMessage404',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.details,\r\n },\r\n {\r\n key: 'AbpAccount::DefaultErrorMessage404Detail',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.title,\r\n },\r\n );\r\n break;\r\n case 500:\r\n this.createErrorComponent({\r\n title: {\r\n key: 'AbpAccount::500Message',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError500.title,\r\n },\r\n details: {\r\n key: 'AbpAccount::InternalServerErrorMessage',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError500.details,\r\n },\r\n status: 500,\r\n });\r\n break;\r\n case 0:\r\n if ((err as HttpErrorResponse).statusText === 'Unknown Error') {\r\n this.createErrorComponent({\r\n title: {\r\n key: 'AbpAccount::DefaultErrorMessage',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError.title,\r\n },\r\n });\r\n }\r\n break;\r\n default:\r\n this.showError(DEFAULT_ERROR_MESSAGES.defaultError.details, DEFAULT_ERROR_MESSAGES.defaultError.title);\r\n break;\r\n }\r\n }\r\n } else if (res instanceof RouterError && snq(() => res.event.error.indexOf('Cannot match') > -1, false)) {\r\n this.show404Page();\r\n } else if (res instanceof RouterDataResolved && this.componentRef) {\r\n this.componentRef.destroy();\r\n this.componentRef = null;\r\n }\r\n });\r\n }\r\n\r\n private show401Page() {\r\n this.createErrorComponent({\r\n title: {\r\n key: 'AbpAccount::401Message',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.title,\r\n },\r\n status: 401,\r\n });\r\n }\r\n\r\n private show404Page() {\r\n this.createErrorComponent({\r\n title: {\r\n key: 'AbpAccount::404Message',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.title,\r\n },\r\n status: 404,\r\n });\r\n }\r\n\r\n private showError(\r\n message?: Config.LocalizationParam,\r\n title?: Config.LocalizationParam,\r\n body?: any,\r\n ): Observable {\r\n if (body) {\r\n if (body.details) {\r\n message = body.details;\r\n title = body.message;\r\n } else {\r\n message = body.message || DEFAULT_ERROR_MESSAGES.defaultError.title;\r\n }\r\n }\r\n\r\n return this.confirmationService.error(message, title, {\r\n hideCancelBtn: true,\r\n yesText: 'AbpAccount::Close',\r\n });\r\n }\r\n\r\n private navigateToLogin() {\r\n this.store.dispatch(\r\n new Navigate(['/account/login'], null, { state: { redirectUrl: this.store.selectSnapshot(RouterState.url) } }),\r\n );\r\n }\r\n\r\n createErrorComponent(instance: Partial) {\r\n const renderer = this.rendererFactory.createRenderer(null, null);\r\n const host = renderer.selectRootElement(document.body, true);\r\n\r\n this.componentRef = this.cfRes.resolveComponentFactory(HttpErrorWrapperComponent).create(this.injector);\r\n\r\n for (const key in this.componentRef.instance) {\r\n if (this.componentRef.instance.hasOwnProperty(key)) {\r\n this.componentRef.instance[key] = instance[key];\r\n }\r\n }\r\n this.componentRef.instance.hideCloseIcon = this.httpErrorConfig.errorScreen.hideCloseIcon;\r\n if (this.canCreateCustomError(instance.status as ErrorScreenErrorCodes)) {\r\n this.componentRef.instance.cfRes = this.cfRes;\r\n this.componentRef.instance.appRef = this.appRef;\r\n this.componentRef.instance.injector = this.injector;\r\n this.componentRef.instance.customComponent = this.httpErrorConfig.errorScreen.component;\r\n }\r\n\r\n this.appRef.attachView(this.componentRef.hostView);\r\n renderer.appendChild(host, (this.componentRef.hostView as EmbeddedViewRef).rootNodes[0]);\r\n\r\n const destroy$ = new Subject();\r\n this.componentRef.instance.destroy$ = destroy$;\r\n destroy$.subscribe(() => {\r\n this.componentRef.destroy();\r\n this.componentRef = null;\r\n });\r\n }\r\n\r\n canCreateCustomError(status: ErrorScreenErrorCodes): boolean {\r\n return snq(\r\n () =>\r\n this.httpErrorConfig.errorScreen.component &&\r\n this.httpErrorConfig.errorScreen.forWhichErrors.indexOf(status) > -1,\r\n );\r\n }\r\n}\r\n","import { InjectionToken } from '@angular/core';\r\nimport { HttpErrorConfig } from '../models/common';\r\n\r\nexport function httpErrorConfigFactory(config = {} as HttpErrorConfig) {\r\n if (config.errorScreen && config.errorScreen.component && !config.errorScreen.forWhichErrors) {\r\n config.errorScreen.forWhichErrors = [401, 403, 404, 500];\r\n }\r\n\r\n return {\r\n errorScreen: {},\r\n ...config,\r\n } as HttpErrorConfig;\r\n}\r\n\r\nexport const HTTP_ERROR_CONFIG = new InjectionToken('HTTP_ERROR_CONFIG');\r\n","import { Injectable, Optional } from '@angular/core';\r\nimport { NgbDateParserFormatter, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';\r\nimport { DatePipe } from '@angular/common';\r\n\r\nfunction padNumber(value: number) {\r\n if (isNumber(value)) {\r\n return `0${value}`.slice(-2);\r\n } else {\r\n return '';\r\n }\r\n}\r\n\r\nfunction isNumber(value: any): boolean {\r\n return !isNaN(toInteger(value));\r\n}\r\n\r\nfunction toInteger(value: any): number {\r\n return parseInt(`${value}`, 10);\r\n}\r\n\r\n@Injectable()\r\nexport class DateParserFormatter extends NgbDateParserFormatter {\r\n constructor(@Optional() private datePipe: DatePipe) {\r\n super();\r\n }\r\n\r\n parse(value: string): NgbDateStruct {\r\n if (value) {\r\n const dateParts = value.trim().split('-');\r\n if (dateParts.length === 1 && isNumber(dateParts[0])) {\r\n return { year: toInteger(dateParts[0]), month: null, day: null };\r\n } else if (dateParts.length === 2 && isNumber(dateParts[0]) && isNumber(dateParts[1])) {\r\n return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: null };\r\n } else if (dateParts.length === 3 && isNumber(dateParts[0]) && isNumber(dateParts[1]) && isNumber(dateParts[2])) {\r\n return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: toInteger(dateParts[2]) };\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n format(date: NgbDateStruct): string {\r\n if (date && this.datePipe) {\r\n return this.datePipe.transform(new Date(date.year, date.month, date.day), 'shortDate');\r\n } else {\r\n return date\r\n ? `${date.year}-${isNumber(date.month) ? padNumber(date.month) : ''}-${\r\n isNumber(date.day) ? padNumber(date.day) : ''\r\n }`\r\n : '';\r\n }\r\n }\r\n}\r\n","import { CoreModule, LazyLoadService } from '@abp/ng.core';\r\nimport { APP_INITIALIZER, Injector, ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\nimport { MessageService } from 'primeng/components/common/messageservice';\r\nimport { ToastModule } from 'primeng/toast';\r\nimport { forkJoin } from 'rxjs';\r\nimport { BreadcrumbComponent } from './components/breadcrumb/breadcrumb.component';\r\nimport { ButtonComponent } from './components/button/button.component';\r\nimport { ChartComponent } from './components/chart/chart.component';\r\nimport { ConfirmationComponent } from './components/confirmation/confirmation.component';\r\nimport { HttpErrorWrapperComponent } from './components/http-error-wrapper/http-error-wrapper.component';\r\nimport { LoaderBarComponent } from './components/loader-bar/loader-bar.component';\r\nimport { ModalComponent } from './components/modal/modal.component';\r\nimport { SortOrderIconComponent } from './components/sort-order-icon/sort-order-icon.component';\r\nimport { TableEmptyMessageComponent } from './components/table-empty-message/table-empty-message.component';\r\nimport { ToastComponent } from './components/toast/toast.component';\r\nimport styles from './constants/styles';\r\nimport { TableSortDirective } from './directives/table-sort.directive';\r\nimport { ErrorHandler } from './handlers/error.handler';\r\nimport { chartJsLoaded$ } from './utils/widget-utils';\r\nimport { RootParams } from './models/common';\r\nimport { HTTP_ERROR_CONFIG, httpErrorConfigFactory } from './tokens/http-error.token';\r\nimport { NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';\r\nimport { DateParserFormatter } from './utils/date-parser-formatter';\r\nimport { DatePipe } from '@angular/common';\r\n\r\nexport function appendScript(injector: Injector) {\r\n const fn = () => {\r\n import('chart.js').then(() => chartJsLoaded$.next(true));\r\n\r\n const lazyLoadService: LazyLoadService = injector.get(LazyLoadService);\r\n return lazyLoadService.load(null, 'style', styles, 'head', 'beforeend').toPromise();\r\n };\r\n\r\n return fn;\r\n}\r\n\r\n@NgModule({\r\n imports: [CoreModule, ToastModule, NgxValidateCoreModule],\r\n declarations: [\r\n BreadcrumbComponent,\r\n ButtonComponent,\r\n ChartComponent,\r\n ConfirmationComponent,\r\n HttpErrorWrapperComponent,\r\n LoaderBarComponent,\r\n ModalComponent,\r\n TableEmptyMessageComponent,\r\n ToastComponent,\r\n SortOrderIconComponent,\r\n TableSortDirective,\r\n ],\r\n exports: [\r\n BreadcrumbComponent,\r\n ButtonComponent,\r\n ChartComponent,\r\n ConfirmationComponent,\r\n LoaderBarComponent,\r\n ModalComponent,\r\n TableEmptyMessageComponent,\r\n ToastComponent,\r\n SortOrderIconComponent,\r\n TableSortDirective,\r\n ],\r\n providers: [DatePipe],\r\n entryComponents: [HttpErrorWrapperComponent],\r\n})\r\nexport class ThemeSharedModule {\r\n constructor(private errorHandler: ErrorHandler) {}\r\n\r\n static forRoot(options = {} as RootParams): ModuleWithProviders {\r\n return {\r\n ngModule: ThemeSharedModule,\r\n providers: [\r\n {\r\n provide: APP_INITIALIZER,\r\n multi: true,\r\n deps: [Injector],\r\n useFactory: appendScript,\r\n },\r\n { provide: MessageService, useClass: MessageService },\r\n { provide: HTTP_ERROR_CONFIG, useValue: options.httpErrorConfig },\r\n {\r\n provide: 'HTTP_ERROR_CONFIG',\r\n useFactory: httpErrorConfigFactory,\r\n deps: [HTTP_ERROR_CONFIG],\r\n },\r\n { provide: NgbDateParserFormatter, useClass: DateParserFormatter },\r\n ],\r\n };\r\n }\r\n}\r\n","import { animate, animation, keyframes, style } from '@angular/animations';\r\n\r\nexport const bounceIn = animation(\r\n [\r\n style({ opacity: '0', display: '{{ display }}' }),\r\n animate(\r\n '{{ time}} {{ easing }}',\r\n keyframes([\r\n style({ opacity: '0', transform: '{{ transform }} scale(0.0)', offset: 0 }),\r\n style({ opacity: '0', transform: '{{ transform }} scale(0.8)', offset: 0.5 }),\r\n style({ opacity: '1', transform: '{{ transform }} scale(1.0)', offset: 1 })\r\n ])\r\n )\r\n ],\r\n {\r\n params: {\r\n time: '350ms',\r\n easing: 'cubic-bezier(.7,.31,.72,1.47)',\r\n display: 'block',\r\n transform: 'translate(-50%, -50%)'\r\n }\r\n }\r\n);\r\n","import { Toaster } from './toaster';\r\nimport { Config } from '@abp/ng.core';\r\n\r\nexport namespace Confirmation {\r\n export interface Options extends Toaster.Options {\r\n hideCancelBtn?: boolean;\r\n hideYesBtn?: boolean;\r\n cancelText?: Config.LocalizationParam;\r\n yesText?: Config.LocalizationParam;\r\n /**\r\n * @deprecated to be deleted in v2\r\n */\r\n cancelCopy?: Config.LocalizationParam;\r\n /**\r\n * @deprecated to be deleted in v2\r\n */\r\n yesCopy?: Config.LocalizationParam;\r\n }\r\n}\r\n","import { animate, animation, trigger, state, style, transition, useAnimation } from '@angular/animations';\r\n\r\nexport const collapseY = animation(\r\n [\r\n style({ height: '*', overflow: 'hidden', 'box-sizing': 'border-box' }),\r\n animate('{{ time }} {{ easing }}', style({ height: '0', padding: '0px' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease' } },\r\n);\r\n\r\nexport const collapseYWithMargin = animation(\r\n [style({ 'margin-top': '0' }), animate('{{ time }} {{ easing }}', style({ 'margin-top': '-100%' }))],\r\n {\r\n params: { time: '500ms', easing: 'ease' },\r\n },\r\n);\r\n\r\nexport const collapseX = animation(\r\n [\r\n style({ width: '*', overflow: 'hidden', 'box-sizing': 'border-box' }),\r\n animate('{{ time }} {{ easing }}', style({ width: '0', padding: '0px' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease' } },\r\n);\r\n\r\nexport const expandY = animation(\r\n [\r\n style({ height: '0', overflow: 'hidden', 'box-sizing': 'border-box' }),\r\n animate('{{ time }} {{ easing }}', style({ height: '*', padding: '*' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease' } },\r\n);\r\n\r\nexport const expandYWithMargin = animation(\r\n [style({ 'margin-top': '-100%' }), animate('{{ time }} {{ easing }}', style({ 'margin-top': '0' }))],\r\n {\r\n params: { time: '500ms', easing: 'ease' },\r\n },\r\n);\r\n\r\nexport const expandX = animation(\r\n [\r\n style({ width: '0', overflow: 'hidden', 'box-sizing': 'border-box' }),\r\n animate('{{ time }} {{ easing }}', style({ width: '*', padding: '*' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease' } },\r\n);\r\n\r\nexport const collapse = trigger('collapse', [\r\n state('collapsed', style({ height: '0', overflow: 'hidden' })),\r\n state('expanded', style({ height: '*', overflow: 'hidden' })),\r\n transition('expanded => collapsed', useAnimation(collapseY)),\r\n transition('collapsed => expanded', useAnimation(expandY)),\r\n]);\r\n\r\nexport const collapseWithMargin = trigger('collapseWithMargin', [\r\n state('collapsed', style({ 'margin-top': '-100%' })),\r\n state('expanded', style({ 'margin-top': '0' })),\r\n transition('expanded => collapsed', useAnimation(collapseYWithMargin), {\r\n params: { time: '400ms', easing: 'linear' },\r\n }),\r\n transition('collapsed => expanded', useAnimation(expandYWithMargin)),\r\n]);\r\n\r\nexport const collapseLinearWithMargin = trigger('collapseLinearWithMargin', [\r\n state('collapsed', style({ 'margin-top': '-100%' })),\r\n state('expanded', style({ 'margin-top': '0' })),\r\n transition(\r\n 'expanded => collapsed',\r\n useAnimation(collapseYWithMargin, { params: { time: '200ms', easing: 'linear' } }),\r\n ),\r\n transition('collapsed => expanded', useAnimation(expandYWithMargin, { params: { time: '250ms', easing: 'linear' } })),\r\n]);\r\n","import { animate, state, style, transition, trigger, query } from '@angular/animations';\r\nexport const slideFromBottom = trigger('slideFromBottom', [\r\n transition('* <=> *', [\r\n style({ 'margin-top': '20px', opacity: '0' }),\r\n animate('0.2s ease-out', style({ opacity: '1', 'margin-top': '0px' })),\r\n ]),\r\n]);\r\n","export namespace Statistics {\r\n export interface Response {\r\n data: Data;\r\n }\r\n\r\n export interface Data {\r\n [key: string]: number;\r\n }\r\n\r\n export interface Filter {\r\n startDate: string | Date;\r\n endDate: string | Date;\r\n }\r\n}\r\n","import { Type } from '@angular/core';\r\n\r\nexport interface SettingTab {\r\n component: Type;\r\n name: string;\r\n order: number;\r\n requiredPolicy?: string;\r\n}\r\n\r\nconst SETTING_TABS = [] as SettingTab[];\r\n\r\nexport function addSettingTab(tab: SettingTab | SettingTab[]): void {\r\n if (!Array.isArray(tab)) {\r\n tab = [tab];\r\n }\r\n\r\n SETTING_TABS.push(...tab);\r\n}\r\n\r\nexport function getSettingTabs(): SettingTab[] {\r\n return SETTING_TABS;\r\n}\r\n","export namespace Toaster {\r\n export interface Options {\r\n id?: any;\r\n closable?: boolean;\r\n life?: number;\r\n sticky?: boolean;\r\n data?: any;\r\n messageLocalizationParams?: string[];\r\n titleLocalizationParams?: string[];\r\n }\r\n\r\n export type Severity = 'success' | 'info' | 'warn' | 'error';\r\n\r\n export const enum Status {\r\n confirm = 'confirm',\r\n reject = 'reject',\r\n dismiss = 'dismiss',\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { AbstractToaster } from '../abstracts/toaster';\r\nimport { Message } from 'primeng/components/common/message';\r\nimport { MessageService } from 'primeng/components/common/messageservice';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class ToasterService extends AbstractToaster {\r\n constructor(protected messageService: MessageService) {\r\n super(messageService);\r\n }\r\n\r\n addAll(messages: Message[]): void {\r\n this.messageService.addAll(messages.map(message => ({ key: this.key, ...message })));\r\n }\r\n}\r\n"]} \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/abp-ng.theme.shared.js b/npm/ng-packs/dist/theme-shared/esm2015/abp-ng.theme.shared.js deleted file mode 100644 index d4b5069acb9..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/abp-ng.theme.shared.js +++ /dev/null @@ -1,28 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.theme.shared.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { appendScript, ThemeSharedModule, bounceIn, collapseY, collapseYWithMargin, collapseX, expandY, expandYWithMargin, expandX, collapse, collapseWithMargin, collapseLinearWithMargin, fadeIn, fadeOut, fadeInDown, fadeInUp, fadeInLeft, fadeInRight, fadeOutDown, fadeOutUp, fadeOutLeft, fadeOutRight, fadeAnimation, dialogAnimation, slideFromBottom, BreadcrumbComponent, ButtonComponent, ChartComponent, ConfirmationComponent, LoaderBarComponent, ModalComponent, TableEmptyMessageComponent, ToastComponent, SortOrderIconComponent, TableSortDirective, addSettingTab, getSettingTabs, Toaster, ConfirmationService, ToasterService, getRandomBackgroundColor, chartJsLoaded$, DateParserFormatter } from './public-api'; -export { AbstractToaster as ɵf } from './lib/abstracts/toaster'; -export { fadeIn as ɵk, fadeOut as ɵl } from './lib/animations/fade.animations'; -export { fadeAnimation as ɵj } from './lib/animations/modal.animations'; -export { BreadcrumbComponent as ɵa } from './lib/components/breadcrumb/breadcrumb.component'; -export { ButtonComponent as ɵb } from './lib/components/button/button.component'; -export { ChartComponent as ɵc } from './lib/components/chart/chart.component'; -export { ConfirmationComponent as ɵd } from './lib/components/confirmation/confirmation.component'; -export { HttpErrorWrapperComponent as ɵg } from './lib/components/http-error-wrapper/http-error-wrapper.component'; -export { LoaderBarComponent as ɵh } from './lib/components/loader-bar/loader-bar.component'; -export { ModalComponent as ɵi } from './lib/components/modal/modal.component'; -export { SortOrderIconComponent as ɵo } from './lib/components/sort-order-icon/sort-order-icon.component'; -export { TableEmptyMessageComponent as ɵm } from './lib/components/table-empty-message/table-empty-message.component'; -export { ToastComponent as ɵn } from './lib/components/toast/toast.component'; -export { TableSortDirective as ɵp } from './lib/directives/table-sort.directive'; -export { ErrorHandler as ɵq } from './lib/handlers/error.handler'; -export { ConfirmationService as ɵe } from './lib/services/confirmation.service'; -export { HTTP_ERROR_CONFIG as ɵt, httpErrorConfigFactory as ɵs } from './lib/tokens/http-error.token'; -export { DateParserFormatter as ɵu } from './lib/utils/date-parser-formatter'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLnRoZW1lLnNoYXJlZC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsiYWJwLW5nLnRoZW1lLnNoYXJlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLDJyQkFBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLGVBQWUsSUFBSSxFQUFFLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQztBQUM5RCxPQUFPLEVBQUMsTUFBTSxJQUFJLEVBQUUsRUFBQyxPQUFPLElBQUksRUFBRSxFQUFDLE1BQU0sa0NBQWtDLENBQUM7QUF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9zZXJ2aWNlcy9jb25maXJtYXRpb24uc2VydmljZSc7XG5leHBvcnQge0hUVFBfRVJST1JfQ09ORklHIGFzIMm1dCxodHRwRXJyb3JDb25maWdGYWN0b3J5IGFzIMm1c30gZnJvbSAnLi9saWIvdG9rZW5zL2h0dHAtZXJyb3IudG9rZW4nO1xuZXhwb3J0IHtEYXRlUGFyc2VyRm9ybWF0dGVyIGFzIMm1dX0gZnJvbSAnLi9saWIvdXRpbHMvZGF0ZS1wYXJzZXItZm9ybWF0dGVyJzsiXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/abstracts/toaster.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/abstracts/toaster.js deleted file mode 100644 index fb759cfe97d..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/abstracts/toaster.js +++ /dev/null @@ -1,93 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/abstracts/toaster.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Subject } from 'rxjs'; -/** - * @abstract - * @template T - */ -export class AbstractToaster { - /** - * @param {?} messageService - */ - constructor(messageService) { - this.messageService = messageService; - this.key = 'abpToast'; - this.sticky = false; - } - /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - info(message, title, options) { - return this.show(message, title, 'info', options); - } - /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - success(message, title, options) { - return this.show(message, title, 'success', options); - } - /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - warn(message, title, options) { - return this.show(message, title, 'warn', options); - } - /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - error(message, title, options) { - return this.show(message, title, 'error', options); - } - /** - * @protected - * @param {?} message - * @param {?} title - * @param {?} severity - * @param {?=} options - * @return {?} - */ - show(message, title, severity, options) { - this.messageService.clear(this.key); - this.messageService.add(Object.assign({ severity, detail: message || '', summary: title || '' }, options, { key: this.key }, (typeof (options || ((/** @type {?} */ ({})))).sticky === 'undefined' && { sticky: this.sticky }))); - this.status$ = new Subject(); - return this.status$; - } - /** - * @param {?=} status - * @return {?} - */ - clear(status) { - this.messageService.clear(this.key); - this.status$.next(status || "dismiss" /* dismiss */); - this.status$.complete(); - } -} -if (false) { - /** @type {?} */ - AbstractToaster.prototype.status$; - /** @type {?} */ - AbstractToaster.prototype.key; - /** @type {?} */ - AbstractToaster.prototype.sticky; - /** - * @type {?} - * @protected - */ - AbstractToaster.prototype.messageService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3Rlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL2Fic3RyYWN0cy90b2FzdGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQ0EsT0FBTyxFQUFjLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQzs7Ozs7QUFJM0MsTUFBTSxPQUFnQixlQUFlOzs7O0lBT25DLFlBQXNCLGNBQThCO1FBQTlCLG1CQUFjLEdBQWQsY0FBYyxDQUFnQjtRQUpwRCxRQUFHLEdBQUcsVUFBVSxDQUFDO1FBRWpCLFdBQU0sR0FBRyxLQUFLLENBQUM7SUFFd0MsQ0FBQzs7Ozs7OztJQUV4RCxJQUFJLENBQUMsT0FBaUMsRUFBRSxLQUErQixFQUFFLE9BQVc7UUFDbEYsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE9BQU8sQ0FBQyxDQUFDO0lBQ3BELENBQUM7Ozs7Ozs7SUFFRCxPQUFPLENBQUMsT0FBaUMsRUFBRSxLQUErQixFQUFFLE9BQVc7UUFDckYsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sR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mZpZy5Mb2NhbGl6YXRpb25QYXJhbSxcclxuICAgIHNldmVyaXR5OiBUb2FzdGVyLlNldmVyaXR5LFxyXG4gICAgb3B0aW9ucz86IFQsXHJcbiAgKTogT2JzZXJ2YWJsZTxUb2FzdGVyLlN0YXR1cz4ge1xyXG4gICAgdGhpcy5tZXNzYWdlU2VydmljZS5jbGVhcih0aGlzLmtleSk7XHJcblxyXG4gICAgdGhpcy5tZXNzYWdlU2VydmljZS5hZGQoe1xyXG4gICAgICBzZXZlcml0eSxcclxuICAgICAgZGV0YWlsOiBtZXNzYWdlIHx8ICcnLFxyXG4gICAgICBzdW1tYXJ5OiB0aXRsZSB8fCAnJyxcclxuICAgICAgLi4ub3B0aW9ucyxcclxuICAgICAga2V5OiB0aGlzLmtleSxcclxuICAgICAgLi4uKHR5cGVvZiAob3B0aW9ucyB8fCAoe30gYXMgYW55KSkuc3RpY2t5ID09PSAndW5kZWZpbmVkJyAmJiB7IHN0aWNreTogdGhpcy5zdGlja3kgfSksXHJcbiAgICB9KTtcclxuICAgIHRoaXMuc3RhdHVzJCA9IG5ldyBTdWJqZWN0PFRvYXN0ZXIuU3RhdHVzPigpO1xyXG4gICAgcmV0dXJuIHRoaXMuc3RhdHVzJDtcclxuICB9XHJcblxyXG4gIGNsZWFyKHN0YXR1cz86IFRvYXN0ZXIuU3RhdHVzKSB7XHJcbiAgICB0aGlzLm1lc3NhZ2VTZXJ2aWNlLmNsZWFyKHRoaXMua2V5KTtcclxuICAgIHRoaXMuc3RhdHVzJC5uZXh0KHN0YXR1cyB8fCBUb2FzdGVyLlN0YXR1cy5kaXNtaXNzKTtcclxuICAgIHRoaXMuc3RhdHVzJC5jb21wbGV0ZSgpO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/animations/bounce.animations.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/animations/bounce.animations.js deleted file mode 100644 index 46cfa61a392..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/animations/bounce.animations.js +++ /dev/null @@ -1,23 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/bounce.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { animate, animation, keyframes, style } from '@angular/animations'; -/** @type {?} */ -export const bounceIn = animation([ - style({ opacity: '0', display: '{{ display }}' }), - animate('{{ time}} {{ easing }}', keyframes([ - style({ opacity: '0', transform: '{{ transform }} scale(0.0)', offset: 0 }), - style({ opacity: '0', transform: '{{ transform }} scale(0.8)', offset: 0.5 }), - style({ opacity: '1', transform: '{{ transform }} scale(1.0)', offset: 1 }) - ])) -], { - params: { - time: '350ms', - easing: 'cubic-bezier(.7,.31,.72,1.47)', - display: 'block', - transform: 'translate(-50%, -50%)' - } -}); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm91bmNlLmFuaW1hdGlvbnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLnNoYXJlZC8iLCJzb3VyY2VzIjpbImxpYi9hbmltYXRpb25zL2JvdW5jZS5hbmltYXRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxTQUFTLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLHFCQUFxQixDQUFDOztBQUUzRSxNQUFNLE9BQU8sUUFBUSxHQUFHLFNBQVMsQ0FDL0I7SUFDRSxLQUFLLENBQUMsRUFBRSxPQUFPLEVBQUUsR0FBRyxFQUFFLE9BQU8sRUFBRSxlQUFlLEVBQUUsQ0FBQztJQUNqRCxPQUFPLENBQ0wsd0JBQXdCLEVBQ3hCLFNBQVMsQ0FBQztRQUNSLEtBQUssQ0FBQyxFQUFFLE9BQU8sRUFBRSxHQUFHLEVBQUUsU0FBUyxFQ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Q6IDAuNSB9KSxcclxuICAgICAgICBzdHlsZSh7IG9wYWNpdHk6ICcxJywgdHJhbnNmb3JtOiAne3sgdHJhbnNmb3JtIH19IHNjYWxlKDEuMCknLCBvZmZzZXQ6IDEgfSlcclxuICAgICAgXSlcclxuICAgIClcclxuICBdLFxyXG4gIHtcclxuICAgIHBhcmFtczoge1xyXG4gICAgICB0aW1lOiAnMzUwbXMnLFxyXG4gICAgICBlYXNpbmc6ICdjdWJpYy1iZXppZXIoLjcsLjMxLC43MiwxLjQ3KScsXHJcbiAgICAgIGRpc3BsYXk6ICdibG9jaycsXHJcbiAgICAgIHRyYW5zZm9ybTogJ3RyYW5zbGF0ZSgtNTAlLCAtNTAlKSdcclxuICAgIH1cclxuICB9XHJcbik7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/animations/collapse.animations.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/animations/collapse.animations.js deleted file mode 100644 index 26a2028d883..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/animations/collapse.animations.js +++ /dev/null @@ -1,58 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/collapse.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { animate, animation, trigger, state, style, transition, useAnimation } from '@angular/animations'; -/** @type {?} */ -export const collapseY = animation([ - style({ height: '*', overflow: 'hidden', 'box-sizing': 'border-box' }), - animate('{{ time }} {{ easing }}', style({ height: '0', padding: '0px' })), -], { params: { time: '350ms', easing: 'ease' } }); -/** @type {?} */ -export const collapseYWithMargin = animation([style({ 'margin-top': '0' }), animate('{{ time }} {{ easing }}', style({ 'margin-top': '-100%' }))], { - params: { time: '500ms', easing: 'ease' }, -}); -/** @type {?} */ -export const collapseX = animation([ - style({ width: '*', overflow: 'hidden', 'box-sizing': 'border-box' }), - animate('{{ time }} {{ easing }}', style({ width: '0', padding: '0px' })), -], { params: { time: '350ms', easing: 'ease' } }); -/** @type {?} */ -export const expandY = animation([ - style({ height: '0', overflow: 'hidden', 'box-sizing': 'border-box' }), - animate('{{ time }} {{ easing }}', style({ height: '*', padding: '*' })), -], { params: { time: '350ms', easing: 'ease' } }); -/** @type {?} */ -export const expandYWithMargin = animation([style({ 'margin-top': '-100%' }), animate('{{ time }} {{ easing }}', style({ 'margin-top': '0' }))], { - params: { time: '500ms', easing: 'ease' }, -}); -/** @type {?} */ -export const expandX = animation([ - style({ width: '0', overflow: 'hidden', 'box-sizing': 'border-box' }), - animate('{{ time }} {{ easing }}', style({ width: '*', padding: '*' })), -], { params: { time: '350ms', easing: 'ease' } }); -/** @type {?} */ -export const collapse = trigger('collapse', [ - state('collapsed', style({ height: '0', overflow: 'hidden' })), - state('expanded', style({ height: '*', overflow: 'hidden' })), - transition('expanded => collapsed', useAnimation(collapseY)), - transition('collapsed => expanded', useAnimation(expandY)), -]); -/** @type {?} */ -export const collapseWithMargin = trigger('collapseWithMargin', [ - state('collapsed', style({ 'margin-top': '-100%' })), - state('expanded', style({ 'margin-top': '0' })), - transition('expanded => collapsed', useAnimation(collapseYWithMargin), { - params: { time: '400ms', easing: 'linear' }, - }), - transition('collapsed => expanded', useAnimation(expandYWithMargin)), -]); -/** @type {?} */ -export const collapseLinearWithMargin = trigger('collapseLinearWithMargin', [ - state('collapsed', style({ 'margin-top': '-100%' })), - state('expanded', style({ 'margin-top': '0' })), - transition('expanded => collapsed', useAnimation(collapseYWithMargin, { params: { time: '200ms', easing: 'linear' } })), - transition('collapsed => expanded', useAnimation(expandYWithMargin, { params: { time: '250ms', easing: 'linear' } })), -]); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sbGFwc2UuYW5pbWF0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL2FuaW1hdGlvbnMvY29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bGUoeyAnbWFyZ2luLXRvcCc6ICctMTAwJScgfSkpLFxyXG4gIHN0YXRlKCdleHBhbmRlZCcsIHN0eWxlKHsgJ21hcmdpbi10b3AnOiAnMCcgfSkpLFxyXG4gIHRyYW5zaXRpb24oXHJcbiAgICAnZXhwYW5kZWQgPT4gY29sbGFwc2VkJyxcclxuICAgIHVzZUFuaW1hdGlvbihjb2xsYXBzZVlXaXRoTWFyZ2luLCB7IHBhcmFtczogeyB0aW1lOiAnMjAwbXMnLCBlYXNpbmc6ICdsaW5lYXInIH0gfSksXHJcbiAgKSxcclxuICB0cmFuc2l0aW9uKCdjb2xsYXBzZWQgPT4gZXhwYW5kZWQnLCB1c2VBbmltYXRpb24oZXhwYW5kWVdpdGhNYXJnaW4sIHsgcGFyYW1zOiB7IHRpbWU6ICcyNTBtcycsIGVhc2luZzogJ2xpbmVhcicgfSB9KSksXHJcbl0pO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/animations/fade.animations.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/animations/fade.animations.js deleted file mode 100644 index 780ca61d841..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/animations/fade.animations.js +++ /dev/null @@ -1,53 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/fade.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { animate, animation, style } from '@angular/animations'; -/** @type {?} */ -export const fadeIn = animation([style({ opacity: '0' }), animate('{{ time}} {{ easing }}', style({ opacity: '1' }))], { - params: { time: '350ms', easing: 'ease' }, -}); -/** @type {?} */ -export const fadeOut = animation([style({ opacity: '1' }), animate('{{ time}} {{ easing }}', style({ opacity: '0' }))], { params: { time: '350ms', easing: 'ease' } }); -/** @type {?} */ -export const fadeInDown = animation([ - style({ opacity: '0', transform: '{{ transform }} translateY(-20px)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateY(0)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -export const fadeInUp = animation([ - style({ opacity: '0', transform: '{{ transform }} translateY(20px)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateY(0)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -export const fadeInLeft = animation([ - style({ opacity: '0', transform: '{{ transform }} translateX(20px)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateX(0)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -export const fadeInRight = animation([ - style({ opacity: '0', transform: '{{ transform }} translateX(-20px)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateX(0)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -export const fadeOutDown = animation([ - style({ opacity: '1', transform: '{{ transform }} translateY(0)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateY(20px)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -export const fadeOutUp = animation([ - style({ opacity: '1', transform: '{{ transform }} translateY(0)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateY(-20px)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -export const fadeOutLeft = animation([ - style({ opacity: '1', transform: '{{ transform }} translateX(0)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateX(20px)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -export const fadeOutRight = animation([ - style({ opacity: '1', transform: '{{ transform }} translateX(0)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateX(-20px)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -//# sourceMappingURL=data:application/json;base64,eyJ2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ZmFkZU91dExlZnQgPSBhbmltYXRpb24oXHJcbiAgW1xyXG4gICAgc3R5bGUoeyBvcGFjaXR5OiAnMScsIHRyYW5zZm9ybTogJ3t7IHRyYW5zZm9ybSB9fSB0cmFuc2xhdGVYKDApJyB9KSxcclxuICAgIGFuaW1hdGUoJ3t7IHRpbWUgfX0ge3sgZWFzaW5nIH19Jywgc3R5bGUoeyBvcGFjaXR5OiAnMCcsIHRyYW5zZm9ybTogJ3t7IHRyYW5zZm9ybSB9fSB0cmFuc2xhdGVYKDIwcHgpJyB9KSksXHJcbiAgXSxcclxuICB7IHBhcmFtczogeyB0aW1lOiAnMzUwbXMnLCBlYXNpbmc6ICdlYXNlJywgdHJhbnNmb3JtOiAnJyB9IH0sXHJcbik7XHJcblxyXG5leHBvcnQgY29uc3QgZmFkZU91dFJpZ2h0ID0gYW5pbWF0aW9uKFxyXG4gIFtcclxuICAgIHN0eWxlKHsgb3BhY2l0eTogJzEnLCB0cmFuc2Zvcm06ICd7eyB0cmFuc2Zvcm0gfX0gdHJhbnNsYXRlWCgwKScgfSksXHJcbiAgICBhbmltYXRlKCd7eyB0aW1lIH19IHt7IGVhc2luZyB9fScsIHN0eWxlKHsgb3BhY2l0eTogJzAnLCB0cmFuc2Zvcm06ICd7eyB0cmFuc2Zvcm0gfX0gdHJhbnNsYXRlWCgtMjBweCknIH0pKSxcclxuICBdLFxyXG4gIHsgcGFyYW1zOiB7IHRpbWU6ICczNTBtcycsIGVhc2luZzogJ2Vhc2UnLCB0cmFuc2Zvcm06ICcnIH0gfSxcclxuKTtcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/animations/index.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/animations/index.js deleted file mode 100644 index 27c3210e42c..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/animations/index.js +++ /dev/null @@ -1,11 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { bounceIn } from './bounce.animations'; -export { collapseY, collapseYWithMargin, collapseX, expandY, expandYWithMargin, expandX, collapse, collapseWithMargin, collapseLinearWithMargin } from './collapse.animations'; -export { fadeIn, fadeOut, fadeInDown, fadeInUp, fadeInLeft, fadeInRight, fadeOutDown, fadeOutUp, fadeOutLeft, fadeOutRight } from './fade.animations'; -export { fadeAnimation, dialogAnimation } from './modal.animations'; -export { slideFromBottom } from './slide.animations'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLnNoYXJlZC8iLCJzb3VyY2VzIjpbImxpYi9hbmltYXRpb25zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEseUJBQWMscUJBQXFCLENBQUM7QUFDcEMsdUpBQWMsdUJBQXVCLENBQUM7QUFDdEMsa0lBQWMsbUJBQW1CLENBQUM7QUFDbEMsK0NBQWMsb0JBQW9CLENBQUM7QUFDbkMsZ0NBQWMsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2JvdW5jZS5hbmltYXRpb25zJztcclxuZXhwb3J0ICogZnJvbSAnLi9jb2xsYXBzZS5hbmltYXRpb25zJztcclxuZXhwb3J0ICogZnJvbSAnLi9mYWRlLmFuaW1hdGlvbnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL21vZGFsLmFuaW1hdGlvbnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL3NsaWRlLmFuaW1hdGlvbnMnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/animations/modal.animations.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/animations/modal.animations.js deleted file mode 100644 index 55d2bf050b3..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/animations/modal.animations.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/modal.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { transition, trigger, useAnimation } from '@angular/animations'; -import { fadeIn, fadeInDown, fadeOut } from './fade.animations'; -/** @type {?} */ -export const fadeAnimation = trigger('fade', [ - transition(':enter', useAnimation(fadeIn)), - transition(':leave', useAnimation(fadeOut)), -]); -/** @type {?} */ -export const dialogAnimation = trigger('dialog', [ - transition(':enter', useAnimation(fadeInDown)), - transition(':leave', useAnimation(fadeOut)), -]); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwuYW5pbWF0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL2FuaW1hdGlvbnMvbW9kYWwuYW5pbWF0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ3hFLE9BQU8sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLE9BQU8sRUFBRSxNQUFNLG1CQUFtQixDQUFDOztBQUVoRSxNQUFNLE9BQU8sYUFBYSxHQUFHLE9BQU8sQ0FBQyxNQUFNLEVBQUU7SUFDM0MsVUFBVSxDQUFDLFFBQVEsRUFBRSxZQUFZLENBQUMsTUFBTSxDQUFDLENBQUM7SUFDMUMsVUFBVSxDQUFDLFFBQVEsRUFBRSxZQUFZLENBQUMsT0FBTyxDQUFDLENBQUM7Q0FDNUMsQ0FBQzs7QUFFRixNQUFNLE9BQU8sZUFBZSxHQUFHLE9BQU8sQ0FBQyxRQUFRLEVBQUU7SUFDL0MsVUFBVSxDQUFDLFFBQVEsRUFBRSxZQUFZLENBQUMsVUFBVSxDQUFDLENBQUM7SUFDOUMsVUFBVSxDQUFDLFFBQVEsRUFBRSxZQUFZLENBQUMsT0FBTyxDQUFDLENBQUM7Q0FDNUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IHRyYW5zaXRpb24sIHRyaWdnZXIsIHVzZUFuaW1hdGlvbiB9IGZyb20gJ0Bhbmd1bGFyL2FuaW1hdGlvbnMnO1xyXG5pbXBvcnQgeyBmYWRlSW4sIGZhZGVJbkRvd24sIGZhZGVPdXQgfSBmcm9tICcuL2ZhZGUuYW5pbWF0aW9ucyc7XHJcblxyXG5leHBvcnQgY29uc3QgZmFkZUFuaW1hdGlvbiA9IHRyaWdnZXIoJ2ZhZGUnLCBbXHJcbiAgdHJhbnNpdGlvbignOmVudGVyJywgdXNlQW5pbWF0aW9uKGZhZGVJbikpLFxyXG4gIHRyYW5zaXRpb24oJzpsZWF2ZScsIHVzZUFuaW1hdGlvbihmYWRlT3V0KSksXHJcbl0pO1xyXG5cclxuZXhwb3J0IGNvbnN0IGRpYWxvZ0FuaW1hdGlvbiA9IHRyaWdnZXIoJ2RpYWxvZycsIFtcclxuICB0cmFuc2l0aW9uKCc6ZW50ZXInLCB1c2VBbmltYXRpb24oZmFkZUluRG93bikpLFxyXG4gIHRyYW5zaXRpb24oJzpsZWF2ZScsIHVzZUFuaW1hdGlvbihmYWRlT3V0KSksXHJcbl0pO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/animations/slide.animations.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/animations/slide.animations.js deleted file mode 100644 index a711fd0a246..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/animations/slide.animations.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/slide.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { animate, style, transition, trigger } from '@angular/animations'; -/** @type {?} */ -export const slideFromBottom = trigger('slideFromBottom', [ - transition('* <=> *', [ - style({ 'margin-top': '20px', opacity: '0' }), - animate('0.2s ease-out', style({ opacity: '1', 'margin-top': '0px' })), - ]), -]); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGUuYW5pbWF0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL2FuaW1hdGlvbnMvc2xpZGUuYW5pbWF0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxPQUFPLEVBQVMsS0FBSyxFQUFFLFVBQVUsRUFBRSxPQUFPLEVBQVMsTUFBTSxxQkFBcUIsQ0FBQzs7QUFDeEYsTUFBTSxPQUFPLGVBQWUsR0FBRyxPQUFPLENBQUMsaUJBQWlCLEVBQUU7SUFDeEQsVUFBVSxDQUFDLFNBQVMsRUFBRTtRQUNwQixLQUFLLENBQUMsRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFFLE9BQU8sRUFBRSxHQUFHLEVBQUUsQ0FBQztRQUM3QyxPQUFPLENBQUMsZUFBZSxFQUFFLEtBQUssQ0FBQyxFQUFFLE9BQU8sRUFBRSxHQUFHLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxDQUFDLENBQUM7S0FDdkUsQ0FBQztDQUNILENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBhbmltYXRlLCBzdGF0ZSwgc3R5bGUsIHRyYW5zaXRpb24sIHRyaWdnZXIsIHF1ZXJ5IH0gZnJvbSAnQGFuZ3VsYXIvYW5pbWF0aW9ucyc7XHJcbmV4cG9ydCBjb25zdCBzbGlkZUZyb21Cb3R0b20gPSB0cmlnZ2VyKCdzbGlkZUZyb21Cb3R0b20nLCBbXHJcbiAgdHJhbnNpdGlvbignKiA8PT4gKicsIFtcclxuICAgIHN0eWxlKHsgJ21hcmdpbi10b3AnOiAnMjBweCcsIG9wYWNpdHk6ICcwJyB9KSxcclxuICAgIGFuaW1hdGUoJzAuMnMgZWFzZS1vdXQnLCBzdHlsZSh7IG9wYWNpdHk6ICcxJywgJ21hcmdpbi10b3AnOiAnMHB4JyB9KSksXHJcbiAgXSksXHJcbl0pO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/breadcrumb/breadcrumb.component.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/components/breadcrumb/breadcrumb.component.js deleted file mode 100644 index 1d3eaa4495c..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/breadcrumb/breadcrumb.component.js +++ /dev/null @@ -1,92 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/breadcrumb/breadcrumb.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component } from '@angular/core'; -import { Router } from '@angular/router'; -import { Store } from '@ngxs/store'; -import { ConfigState } from '@abp/ng.core'; -export class BreadcrumbComponent { - /** - * @param {?} router - * @param {?} store - */ - constructor(router, store) { - this.router = router; - this.store = store; - this.segments = []; - } - /** - * @return {?} - */ - ngOnInit() { - this.show = !!this.store.selectSnapshot((/** - * @param {?} state - * @return {?} - */ - state => state.LeptonLayoutState)); - if (this.show) { - /** @type {?} */ - let splittedUrl = this.router.url.split('/').filter((/** - * @param {?} chunk - * @return {?} - */ - chunk => chunk)); - /** @type {?} */ - let currentUrl = this.store.selectSnapshot(ConfigState.getRoute(splittedUrl[0])); - if (!currentUrl) { - currentUrl = this.store.selectSnapshot(ConfigState.getRoute(null, null, this.router.url)); - splittedUrl = [this.router.url]; - if (!currentUrl) { - this.show = false; - return; - } - } - this.segments.push(currentUrl.name); - if (splittedUrl.length > 1) { - const [, ...arr] = splittedUrl; - /** @type {?} */ - let childRoute = currentUrl; - for (let i = 0; i < arr.length; i++) { - /** @type {?} */ - const element = arr[i]; - childRoute = childRoute.children.find((/** - * @param {?} child - * @return {?} - */ - child => child.path === element)); - this.segments.push(childRoute.name); - } - } - } - } -} -BreadcrumbComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-breadcrumb', - template: "
      \r\n
    1. \r\n \r\n
    2. \r\n \r\n {{ segment | abpLocalization }}\r\n \r\n
    \r\n" - }] } -]; -/** @nocollapse */ -BreadcrumbComponent.ctorParameters = () => [ - { type: Router }, - { type: Store } -]; -if (false) { - /** @type {?} */ - BreadcrumbComponent.prototype.show; - /** @type {?} */ - BreadcrumbComponent.prototype.segments; - /** - * @type {?} - * @private - */ - BreadcrumbComponent.prototype.router; - /** - * @type {?} - * @private - */ - BreadcrumbComponent.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLnNoYXJlZC8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2JyZWFkY3J1bWIvYnJlYWRjcnVtYi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ2xELE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUN6QyxPQUFPLEVBQUUsS0FBSyxFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQ3BDLE9BQU8sRUFBRSxXQUFXLEVBQU8sTUFBTSxjQUFjLENBQUM7QUFNaEQsTUFBTSxPQUFPLG1CQUFtQjs7Ozs7SUFLOUIsWUFBb0IsTUFBYyxFQU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ICAgICAgIGlmICghY3VycmVudFVybCkge1xyXG4gICAgICAgICAgdGhpcy5zaG93ID0gZmFsc2U7XHJcbiAgICAgICAgICByZXR1cm47XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcblxyXG4gICAgICB0aGlzLnNlZ21lbnRzLnB1c2goY3VycmVudFVybC5uYW1lKTtcclxuXHJcbiAgICAgIGlmIChzcGxpdHRlZFVybC5sZW5ndGggPiAxKSB7XHJcbiAgICAgICAgY29uc3QgWywgLi4uYXJyXSA9IHNwbGl0dGVkVXJsO1xyXG5cclxuICAgICAgICBsZXQgY2hpbGRSb3V0ZTogQUJQLkZ1bGxSb3V0ZSA9IGN1cnJlbnRVcmw7XHJcbiAgICAgICAgZm9yIChsZXQgaSA9IDA7IGkgPCBhcnIubGVuZ3RoOyBpKyspIHtcclxuICAgICAgICAgIGNvbnN0IGVsZW1lbnQgPSBhcnJbaV07XHJcbiAgICAgICAgICBjaGlsZFJvdXRlID0gY2hpbGRSb3V0ZS5jaGlsZHJlbi5maW5kKGNoaWxkID0+IGNoaWxkLnBhdGggPT09IGVsZW1lbnQpO1xyXG5cclxuICAgICAgICAgIHRoaXMuc2VnbWVudHMucHVzaChjaGlsZFJvdXRlLm5hbWUpO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/button/button.component.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/components/button/button.component.js deleted file mode 100644 index dbbab957eb7..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/button/button.component.js +++ /dev/null @@ -1,141 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/button/button.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component, EventEmitter, Input, Output, ViewChild, ElementRef, Renderer2, } from '@angular/core'; -export class ButtonComponent { - /** - * @param {?} renderer - */ - constructor(renderer) { - this.renderer = renderer; - this.buttonId = ''; - this.buttonClass = 'btn btn-primary'; - this.buttonType = 'button'; - this.loading = false; - this.disabled = false; - // tslint:disable - /** - * @deprecated use abpClick instead - */ - this.click = new EventEmitter(); - /** - * @deprecated use abpFocus instead - */ - // tslint:disable-next-line: no-output-native - this.focus = new EventEmitter(); - /** - * @deprecated use abpBlur instead - */ - this.blur = new EventEmitter(); - // tslint:enable - this.abpClick = new EventEmitter(); - this.abpFocus = new EventEmitter(); - this.abpBlur = new EventEmitter(); - } - /** - * @return {?} - */ - get icon() { - return `${this.loading ? 'fa fa-spinner fa-spin' : this.iconClass || 'd-none'}`; - } - /** - * @return {?} - */ - ngOnInit() { - if (this.attributes) { - Object.keys(this.attributes).forEach((/** - * @param {?} key - * @return {?} - */ - key => { - this.renderer.setAttribute(this.buttonRef.nativeElement, key, this.attributes[key]); - })); - } - } -} -ButtonComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-button', - template: ` - - ` - }] } -]; -/** @nocollapse */ -ButtonComponent.ctorParameters = () => [ - { type: Renderer2 } -]; -ButtonComponent.propDecorators = { - buttonId: [{ type: Input }], - buttonClass: [{ type: Input }], - buttonType: [{ type: Input }], - iconClass: [{ type: Input }], - loading: [{ type: Input }], - disabled: [{ type: Input }], - attributes: [{ type: Input }], - click: [{ type: Output }], - focus: [{ type: Output }], - blur: [{ type: Output }], - abpClick: [{ type: Output }], - abpFocus: [{ type: Output }], - abpBlur: [{ type: Output }], - buttonRef: [{ type: ViewChild, args: ['button', { static: true },] }] -}; -if (false) { - /** @type {?} */ - ButtonComponent.prototype.buttonId; - /** @type {?} */ - ButtonComponent.prototype.buttonClass; - /** @type {?} */ - ButtonComponent.prototype.buttonType; - /** @type {?} */ - ButtonComponent.prototype.iconClass; - /** @type {?} */ - ButtonComponent.prototype.loading; - /** @type {?} */ - ButtonComponent.prototype.disabled; - /** @type {?} */ - ButtonComponent.prototype.attributes; - /** - * @deprecated use abpClick instead - * @type {?} - */ - ButtonComponent.prototype.click; - /** - * @deprecated use abpFocus instead - * @type {?} - */ - ButtonComponent.prototype.focus; - /** - * @deprecated use abpBlur instead - * @type {?} - */ - ButtonComponent.prototype.blur; - /** @type {?} */ - ButtonComponent.prototype.abpClick; - /** @type {?} */ - ButtonComponent.prototype.abpFocus; - /** @type {?} */ - ButtonComponent.prototype.abpBlur; - /** @type {?} */ - ButtonComponent.prototype.buttonRef; - /** - * @type {?} - * @private - */ - ButtonComponent.prototype.renderer; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvYnV0dG9uL2J1dHRvbi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULFlBQVksRUFDWixLQUFLLEVBQ0wsTUFBTSxFQUNOLFNBQVMsRUFDVCxVQUFVLEVBQ1YsU0FBUyxHQUVWLE1BQU0sZUFBZSxDQUFDO0FBb0J2QixNQUFNLE9BQU8sZUFBZTs7OztJQXFEMUIsWUFBb0IsUUFBbUI7UUFBbkIsYUFBUSxHQUFSLFFBQVEsQ0FBVztRQW5EdkMsYUFBUSxHQUFHLEVBQUUsQ0FBQztRQUdkLGdCQUFXLEdBQUcsaUJBQWlCLENBQUM7UUFHaEMsZUFBVSxHQUFHLFFBQVEsQ0FBQztRQU10QixZQUFPLEdBQUcsS0FBSyxDQUFDO1FBR2hCLGFBQVEsR0FBRyxLQUFLLENBQUM7Ozs7O1FBU0UsVUFBSyxHQUFHLElBQUksWUFBWSxFQUFjLENBQUM7Ozs7O1FBTXZDLFVBQUssR0FBRyxJQUFJLFlBQVksRUFBYyxDQUFDOzs7O1FBS3ZD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pcy5hdHRyaWJ1dGVzKS5mb3JFYWNoKGtleSA9PiB7XHJcbiAgICAgICAgdGhpcy5yZW5kZXJlci5zZXRBdHRyaWJ1dGUodGhpcy5idXR0b25SZWYubmF0aXZlRWxlbWVudCwga2V5LCB0aGlzLmF0dHJpYnV0ZXNba2V5XSk7XHJcbiAgICAgIH0pO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/chart/chart.component.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/components/chart/chart.component.js deleted file mode 100644 index 3567b41c6cb..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/chart/chart.component.js +++ /dev/null @@ -1,218 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/chart/chart.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component, ElementRef, EventEmitter, Input, Output, ChangeDetectorRef, } from '@angular/core'; -import { BehaviorSubject } from 'rxjs'; -import { chartJsLoaded$ } from '../../utils/widget-utils'; -export class ChartComponent { - /** - * @param {?} el - * @param {?} cdRef - */ - constructor(el, cdRef) { - this.el = el; - this.cdRef = cdRef; - this.options = {}; - this.plugins = []; - this.responsive = true; - // tslint:disable-next-line: no-output-on-prefix - this.onDataSelect = new EventEmitter(); - this.initialized = new BehaviorSubject(this); - this.onCanvasClick = (/** - * @param {?} event - * @return {?} - */ - event => { - if (this.chart) { - /** @type {?} */ - const element = this.chart.getElementAtEvent(event); - /** @type {?} */ - const dataset = this.chart.getDatasetAtEvent(event); - if (element && element.length && dataset) { - this.onDataSelect.emit({ - originalEvent: event, - element: element[0], - dataset, - }); - } - } - }); - this.initChart = (/** - * @return {?} - */ - () => { - /** @type {?} */ - const opts = this.options || {}; - opts.responsive = this.responsive; - // allows chart to resize in responsive mode - if (opts.responsive && (this.height || this.width)) { - opts.maintainAspectRatio = false; - } - this.chart = new Chart(this.canvas, { - type: this.type, - data: this.data, - options: this.options, - plugins: this.plugins, - }); - this.cdRef.detectChanges(); - }); - this.generateLegend = (/** - * @return {?} - */ - () => { - if (this.chart) { - return this.chart.generateLegend(); - } - }); - this.refresh = (/** - * @return {?} - */ - () => { - if (this.chart) { - this.chart.update(); - this.cdRef.detectChanges(); - } - }); - this.reinit = (/** - * @return {?} - */ - () => { - if (this.chart) { - this.chart.destroy(); - this.initChart(); - } - }); - } - /** - * @return {?} - */ - get data() { - return this._data; - } - /** - * @param {?} val - * @return {?} - */ - set data(val) { - this._data = val; - this.reinit(); - } - /** - * @return {?} - */ - get canvas() { - return this.el.nativeElement.children[0].children[0]; - } - /** - * @return {?} - */ - get base64Image() { - return this.chart.toBase64Image(); - } - /** - * @return {?} - */ - ngAfterViewInit() { - chartJsLoaded$.subscribe((/** - * @return {?} - */ - () => { - this.testChartJs(); - this.initChart(); - this._initialized = true; - })); - } - /** - * @return {?} - */ - testChartJs() { - try { - // tslint:disable-next-line: no-unused-expression - Chart; - } - catch (error) { - throw new Error(`Chart is not found. Import the Chart from app.module like shown below: - import('chart.js'); - `); - } - } - /** - * @return {?} - */ - ngOnDestroy() { - if (this.chart) { - this.chart.destroy(); - this._initialized = false; - this.chart = null; - } - } -} -ChartComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-chart', - template: "\r\n \r\n\r\n" - }] } -]; -/** @nocollapse */ -ChartComponent.ctorParameters = () => [ - { type: ElementRef }, - { type: ChangeDetectorRef } -]; -ChartComponent.propDecorators = { - type: [{ type: Input }], - options: [{ type: Input }], - plugins: [{ type: Input }], - width: [{ type: Input }], - height: [{ type: Input }], - responsive: [{ type: Input }], - onDataSelect: [{ type: Output }], - initialized: [{ type: Output }], - data: [{ type: Input }] -}; -if (false) { - /** @type {?} */ - ChartComponent.prototype.type; - /** @type {?} */ - ChartComponent.prototype.options; - /** @type {?} */ - ChartComponent.prototype.plugins; - /** @type {?} */ - ChartComponent.prototype.width; - /** @type {?} */ - ChartComponent.prototype.height; - /** @type {?} */ - ChartComponent.prototype.responsive; - /** @type {?} */ - ChartComponent.prototype.onDataSelect; - /** @type {?} */ - ChartComponent.prototype.initialized; - /** - * @type {?} - * @private - */ - ChartComponent.prototype._initialized; - /** @type {?} */ - ChartComponent.prototype._data; - /** @type {?} */ - ChartComponent.prototype.chart; - /** @type {?} */ - ChartComponent.prototype.onCanvasClick; - /** @type {?} */ - ChartComponent.prototype.initChart; - /** @type {?} */ - ChartComponent.prototype.generateLegend; - /** @type {?} */ - ChartComponent.prototype.refresh; - /** @type {?} */ - ChartComponent.prototype.reinit; - /** @type {?} */ - ChartComponent.prototype.el; - /** - * @type {?} - * @private - */ - ChartComponent.prototype.cdRef; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5zaGFyZWQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9jaGFydC9jaGFydC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBRUwsU0FBUyxFQUNULFVBQVUsRUFDVixZQUFZLEVBQ1osS0FBSyxFQUVMLE1BQU0sRUFDTixpQkFBaUIsR0FDbEIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUN2QyxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFPMUQsTUFBTSxPQUFPLGNBQWM7Ozs7O0lBd0J6QixZQUFtQixFQUFjLEVBQVUsS0FBd0I7UUFBaEQsT0FBRSxHQUFGLEVBQUUsQ0FBWTtRQUFVLFVBQUssR0FBTCxLQUFLLENBQW1CO1FBckIxRCxZQUFPLEdBQVEsRUFBRSxDQUFDO1FBRWxCLFlB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yYXRlTGVnZW5kKCk7XHJcbiAgICB9XHJcbiAgfTtcclxuXHJcbiAgcmVmcmVzaCA9ICgpID0+IHtcclxuICAgIGlmICh0aGlzLmNoYXJ0KSB7XHJcbiAgICAgIHRoaXMuY2hhcnQudXBkYXRlKCk7XHJcbiAgICAgIHRoaXMuY2RSZWYuZGV0ZWN0Q2hhbmdlcygpO1xyXG4gICAgfVxyXG4gIH07XHJcblxyXG4gIHJlaW5pdCA9ICgpID0+IHtcclxuICAgIGlmICh0aGlzLmNoYXJ0KSB7XHJcbiAgICAgIHRoaXMuY2hhcnQuZGVzdHJveSgpO1xyXG4gICAgICB0aGlzLmluaXRDaGFydCgpO1xyXG4gICAgfVxyXG4gIH07XHJcblxyXG4gIG5nT25EZXN0cm95KCkge1xyXG4gICAgaWYgKHRoaXMuY2hhcnQpIHtcclxuICAgICAgdGhpcy5jaGFydC5kZXN0cm95KCk7XHJcbiAgICAgIHRoaXMuX2luaXRpYWxpemVkID0gZmFsc2U7XHJcbiAgICAgIHRoaXMuY2hhcnQgPSBudWxsO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/confirmation/confirmation.component.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/components/confirmation/confirmation.component.js deleted file mode 100644 index 932d6b71a63..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/confirmation/confirmation.component.js +++ /dev/null @@ -1,91 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/confirmation/confirmation.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component } from '@angular/core'; -import { ConfirmationService } from '../../services/confirmation.service'; -export class ConfirmationComponent { - /** - * @param {?} confirmationService - */ - constructor(confirmationService) { - this.confirmationService = confirmationService; - this.confirm = "confirm" /* confirm */; - this.reject = "reject" /* reject */; - this.dismiss = "dismiss" /* dismiss */; - } - /** - * @param {?} status - * @return {?} - */ - close(status) { - this.confirmationService.clear(status); - } -} -ConfirmationComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-confirmation', - // tslint:disable-next-line: component-max-inline-declarations - template: ` - - - -
    - {{ message.summary | abpLocalization: message.titleLocalizationParams }} -
    -
    - {{ message.detail | abpLocalization: message.messageLocalizationParams }} -
    - - -
    -
    - ` - }] } -]; -/** @nocollapse */ -ConfirmationComponent.ctorParameters = () => [ - { type: ConfirmationService } -]; -if (false) { - /** @type {?} */ - ConfirmationComponent.prototype.confirm; - /** @type {?} */ - ConfirmationComponent.prototype.reject; - /** @type {?} */ - ConfirmationComponent.prototype.dismiss; - /** - * @type {?} - * @private - */ - ConfirmationComponent.prototype.confirmationService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybWF0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvY29uZmlybWF0aW9uL2NvbmZpcm1hdGlvbi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHFDQUFxQyxDQUFDO0FBaUQxRSxNQUFNLE9BQU8scUJBQXFCOzs7O0lBS2hDLFlBQW9CLG1CQUF3QztRQUF4Qyx3QkFBbUIsR0FBbkIsbUJBQW1CLENBQXFCO1FBSjVELFlBQU8sMkJBQTBCO1FBQ2pDLFdBQU0seUJBQXlCO1FBQy9CLFlBQU8sMkJBQTBCO0lBRThCLENBQUM7Ozs7O0lBRWhFLEtBQUssQ0FBQyxNQUFzQjtRQUMxQixJQUFJLENBQUMsbUJBQW1CLENBQUM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H19XHJcbiAgICAgICAgICA8L2J1dHRvbj5cclxuICAgICAgICAgIDxidXR0b25cclxuICAgICAgICAgICAgKm5nSWY9XCIhbWVzc2FnZS5oaWRlWWVzQnRuXCJcclxuICAgICAgICAgICAgaWQ9XCJjb25maXJtXCJcclxuICAgICAgICAgICAgdHlwZT1cImJ1dHRvblwiXHJcbiAgICAgICAgICAgIGNsYXNzPVwiYnRuIGJ0bi1zbSBidG4tcHJpbWFyeVwiXHJcbiAgICAgICAgICAgIChjbGljayk9XCJjbG9zZShjb25maXJtKVwiXHJcbiAgICAgICAgICAgIGF1dG9mb2N1c1xyXG4gICAgICAgICAgPlxyXG4gICAgICAgICAgICA8c3Bhbj57eyBtZXNzYWdlLnllc1RleHQgfHwgbWVzc2FnZS55ZXNDb3B5IHx8ICdBYnBJZGVudGl0eTo6WWVzJyB8IGFicExvY2FsaXphdGlvbiB9fTwvc3Bhbj5cclxuICAgICAgICAgIDwvYnV0dG9uPlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgICA8L25nLXRlbXBsYXRlPlxyXG4gICAgPC9wLXRvYXN0PlxyXG4gIGAsXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBDb25maXJtYXRpb25Db21wb25lbnQge1xyXG4gIGNvbmZpcm0gPSBUb2FzdGVyLlN0YXR1cy5jb25maXJtO1xyXG4gIHJlamVjdCA9IFRvYXN0ZXIuU3RhdHVzLnJlamVjdDtcclxuICBkaXNtaXNzID0gVG9hc3Rlci5TdGF0dXMuZGlzbWlzcztcclxuXHJcbiAgY29uc3RydWN0b3IocHJpdmF0ZSBjb25maXJtYXRpb25TZXJ2aWNlOiBDb25maXJtYXRpb25TZXJ2aWNlKSB7fVxyXG5cclxuICBjbG9zZShzdGF0dXM6IFRvYXN0ZXIuU3RhdHVzKSB7XHJcbiAgICB0aGlzLmNvbmZpcm1hdGlvblNlcnZpY2UuY2xlYXIoc3RhdHVzKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/http-error-wrapper/http-error-wrapper.component.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/components/http-error-wrapper/http-error-wrapper.component.js deleted file mode 100644 index 9e6c89a54f1..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/http-error-wrapper/http-error-wrapper.component.js +++ /dev/null @@ -1,107 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/http-error-wrapper/http-error-wrapper.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { takeUntilDestroy } from '@abp/ng.core'; -import { Component, ElementRef, ViewChild, } from '@angular/core'; -import { fromEvent } from 'rxjs'; -import { debounceTime, filter } from 'rxjs/operators'; -import snq from 'snq'; -export class HttpErrorWrapperComponent { - constructor() { - this.status = 0; - this.title = 'Oops!'; - this.details = 'Sorry, an error has occured.'; - this.customComponent = null; - this.hideCloseIcon = false; - } - /** - * @return {?} - */ - get statusText() { - return this.status ? `[${this.status}]` : ''; - } - /** - * @return {?} - */ - ngOnInit() { - this.backgroundColor = - snq((/** - * @return {?} - */ - () => window.getComputedStyle(document.body).getPropertyValue('background-color'))) || '#fff'; - } - /** - * @return {?} - */ - ngAfterViewInit() { - if (this.customComponent) { - /** @type {?} */ - const customComponentRef = this.cfRes.resolveComponentFactory(this.customComponent).create(this.injector); - customComponentRef.instance.errorStatus = this.status; - customComponentRef.instance.destroy$ = this.destroy$; - this.appRef.attachView(customComponentRef.hostView); - this.containerRef.nativeElement.appendChild(((/** @type {?} */ (customComponentRef.hostView))).rootNodes[0]); - customComponentRef.changeDetectorRef.detectChanges(); - } - fromEvent(document, 'keyup') - .pipe(takeUntilDestroy(this), debounceTime(150), filter((/** - * @param {?} key - * @return {?} - */ - (key) => key && key.key === 'Escape'))) - .subscribe((/** - * @return {?} - */ - () => { - this.destroy(); - })); - } - /** - * @return {?} - */ - ngOnDestroy() { } - /** - * @return {?} - */ - destroy() { - this.destroy$.next(); - this.destroy$.complete(); - } -} -HttpErrorWrapperComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-http-error-wrapper', - template: "
    \r\n \r\n\r\n
    \r\n
    \r\n
    \r\n

    {{ statusText }} {{ title | abpLocalization }}

    \r\n
    \r\n {{ details | abpLocalization }}\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n", - styles: [".error{position:fixed;top:0;width:100vw;height:100vh;z-index:999999}.centered{position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}"] - }] } -]; -HttpErrorWrapperComponent.propDecorators = { - containerRef: [{ type: ViewChild, args: ['container', { static: false },] }] -}; -if (false) { - /** @type {?} */ - HttpErrorWrapperComponent.prototype.appRef; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.cfRes; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.injector; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.status; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.title; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.details; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.customComponent; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.destroy$; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.hideCloseIcon; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.backgroundColor; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.containerRef; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHR0cC1lcnJvci13cmFwcGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvaHR0cC1lcnJvci13cmFwcGVyL2h0dHAtZXJyb3Itd3JhcHBlci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Q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SxcclxuICAgICAgICBmaWx0ZXIoKGtleTogS2V5Ym9hcmRFdmVudCkgPT4ga2V5ICYmIGtleS5rZXkgPT09ICdFc2NhcGUnKSxcclxuICAgICAgKVxyXG4gICAgICAuc3Vic2NyaWJlKCgpID0+IHtcclxuICAgICAgICB0aGlzLmRlc3Ryb3koKTtcclxuICAgICAgfSk7XHJcbiAgfVxyXG5cclxuICBuZ09uRGVzdHJveSgpIHt9XHJcblxyXG4gIGRlc3Ryb3koKSB7XHJcbiAgICB0aGlzLmRlc3Ryb3kkLm5leHQoKTtcclxuICAgIHRoaXMuZGVzdHJveSQuY29tcGxldGUoKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/index.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/components/index.js deleted file mode 100644 index 2b6f8abb246..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/index.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { BreadcrumbComponent } from './breadcrumb/breadcrumb.component'; -export { ButtonComponent } from './button/button.component'; -export { ChartComponent } from './chart/chart.component'; -export { ConfirmationComponent } from './confirmation/confirmation.component'; -export { LoaderBarComponent } from './loader-bar/loader-bar.component'; -export { ModalComponent } from './modal/modal.component'; -export { TableEmptyMessageComponent } from './table-empty-message/table-empty-message.component'; -export { ToastComponent } from './toast/toast.component'; -export { SortOrderIconComponent } from './sort-order-icon/sort-order-icon.component'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLnNoYXJlZC8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsb0NBQWMsbUNBQW1DLENBQUM7QUFDbEQsZ0NBQWMsMkJBQTJCLENBQUM7QUFDMUMsK0JBQWMseUJBQXlCLENBQUM7QUFDeEMsc0NBQWMsdUNBQXVDLENBQUM7QUFDdEQsbUNBQWMsbUNBQW1DLENBQUM7QUFDbEQsK0JBQWMseUJBQXlCLENBQUM7QUFDeEMsMkNBQWMscURBQXFELENBQUM7QUFDcEUsK0JBQWMseUJBQXlCLENBQUM7QUFDeEMsdUNBQWMsNkNBQTZDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2JyZWFkY3J1bWIvYnJlYWRjcnVtYi5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2J1dHRvbi9idXR0b24uY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9jaGFydC9jaGFydC5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2NvbmZpcm1hdGlvbi9jb25maXJtYXRpb24uY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9sb2FkZXItYmFyL2xvYWRlci1iYXIuY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9tb2RhbC9tb2RhbC5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL3RhYmxlLWVtcHR5LW1lc3NhZ2UvdGFibGUtZW1wdHktbWVzc2FnZS5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL3RvYXN0L3RvYXN0LmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc29ydC1vcmRlci1pY29uL3NvcnQtb3JkZXItaWNvbi5jb21wb25lbnQnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/loader-bar/loader-bar.component.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/components/loader-bar/loader-bar.component.js deleted file mode 100644 index 2fc5564772e..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/loader-bar/loader-bar.component.js +++ /dev/null @@ -1,189 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/loader-bar/loader-bar.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { StartLoader, StopLoader } from '@abp/ng.core'; -import { ChangeDetectorRef, Component, Input } from '@angular/core'; -import { NavigationEnd, NavigationError, NavigationStart, Router } from '@angular/router'; -import { takeUntilDestroy } from '@ngx-validate/core'; -import { Actions, ofActionSuccessful } from '@ngxs/store'; -import { interval, timer } from 'rxjs'; -import { filter } from 'rxjs/operators'; -export class LoaderBarComponent { - /** - * @param {?} actions - * @param {?} router - * @param {?} cdRef - */ - constructor(actions, router, cdRef) { - this.actions = actions; - this.router = router; - this.cdRef = cdRef; - this.containerClass = 'abp-loader-bar'; - this.color = '#77b6ff'; - this.isLoading = false; - this.progressLevel = 0; - this.intervalPeriod = 350; - this.stopDelay = 820; - this.filter = (/** - * @param {?} action - * @return {?} - */ - (action) => action.payload.url.indexOf('openid-configuration') < 0); - } - /** - * @return {?} - */ - get boxShadow() { - return `0 0 10px rgba(${this.color}, 0.5)`; - } - /** - * @return {?} - */ - ngOnInit() { - this.actions - .pipe(ofActionSuccessful(StartLoader, StopLoader), filter(this.filter), takeUntilDestroy(this)) - .subscribe((/** - * @param {?} action - * @return {?} - */ - action => { - if (action instanceof StartLoader) - this.startLoading(); - else - this.stopLoading(); - })); - this.router.events - .pipe(filter((/** - * @param {?} event - * @return {?} - */ - event => event instanceof NavigationStart || event instanceof NavigationEnd || event instanceof NavigationError)), takeUntilDestroy(this)) - .subscribe((/** - * @param {?} event - * @return {?} - */ - event => { - if (event instanceof NavigationStart) - this.startLoading(); - else - this.stopLoading(); - })); - } - /** - * @return {?} - */ - ngOnDestroy() { - this.interval.unsubscribe(); - } - /** - * @return {?} - */ - startLoading() { - if (this.isLoading || this.progressLevel !== 0) - return; - this.isLoading = true; - this.interval = interval(this.intervalPeriod).subscribe((/** - * @return {?} - */ - () => { - if (this.progressLevel < 75) { - this.progressLevel += Math.random() * 10; - } - else if (this.progressLevel < 90) { - this.progressLevel += 0.4; - } - else if (this.progressLevel < 100) { - this.progressLevel += 0.1; - } - else { - this.interval.unsubscribe(); - } - this.cdRef.detectChanges(); - })); - } - /** - * @return {?} - */ - stopLoading() { - this.interval.unsubscribe(); - this.progressLevel = 100; - this.isLoading = false; - if (this.timer && !this.timer.closed) - return; - this.timer = timer(this.stopDelay).subscribe((/** - * @return {?} - */ - () => { - this.progressLevel = 0; - this.cdRef.detectChanges(); - })); - } -} -LoaderBarComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-loader-bar', - template: ` -
    -
    -
    - `, - styles: [".abp-loader-bar{left:0;opacity:0;position:fixed;top:0;-webkit-transition:opacity .4s linear .4s;transition:opacity .4s linear .4s;z-index:99999}.abp-loader-bar.is-loading{opacity:1;-webkit-transition:none;transition:none}.abp-loader-bar .abp-progress{height:3px;left:0;position:fixed;top:0;-webkit-transition:width .4s;transition:width .4s}"] - }] } -]; -/** @nocollapse */ -LoaderBarComponent.ctorParameters = () => [ - { type: Actions }, - { type: Router }, - { type: ChangeDetectorRef } -]; -LoaderBarComponent.propDecorators = { - containerClass: [{ type: Input }], - color: [{ type: Input }], - isLoading: [{ type: Input }], - filter: [{ type: Input }] -}; -if (false) { - /** @type {?} */ - LoaderBarComponent.prototype.containerClass; - /** @type {?} */ - LoaderBarComponent.prototype.color; - /** @type {?} */ - LoaderBarComponent.prototype.isLoading; - /** @type {?} */ - LoaderBarComponent.prototype.progressLevel; - /** @type {?} */ - LoaderBarComponent.prototype.interval; - /** @type {?} */ - LoaderBarComponent.prototype.timer; - /** @type {?} */ - LoaderBarComponent.prototype.intervalPeriod; - /** @type {?} */ - LoaderBarComponent.prototype.stopDelay; - /** @type {?} */ - LoaderBarComponent.prototype.filter; - /** - * @type {?} - * @private - */ - LoaderBarComponent.prototype.actions; - /** - * @type {?} - * @private - */ - LoaderBarComponent.prototype.router; - /** - * @type {?} - * @private - */ - LoaderBarComponent.prototype.cdRef; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGVyLWJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLnNoYXJlZC8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2xvYWRlci1iYXIvbG9hZGVyLWJhci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsV0FBVyxFQUFFLFVBQVUsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUN2RCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBcUIsTUFBTSxlQUFlLENBQUM7QUFDdkYsT0FBTyxFQUFFLGFBQWEsRUFBRSxlQUFlLEVBQUUsZUFBZSxFQUFFLE1BQU0sRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzFGLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ3RELE9BQU8sRUFBRSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFDMUQsT0FBTyxFQUFFLFFBQVEsRUFBZ0IsS0FBSyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQ3JELE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQWtCeEMsTUFBTSxPQUFPLGtCQUFrQjs7Ozs7O0lBMkI3QixZQUFvQixPQUFnQixFQUFVLE1BQWMsRUFBVSxLQUF3QjtRQUExRSxZQUFPLEdBQVAsT0FBTyxDQUFTO1FBQVUsV0FBTSxHQUFOLE1BQU0sQ0FBUTtRQUFV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cbiAgICB0aGlzLnRpbWVyID0gdGltZXIodGhpcy5zdG9wRGVsYXkpLnN1YnNjcmliZSgoKSA9PiB7XHJcbiAgICAgIHRoaXMucHJvZ3Jlc3NMZXZlbCA9IDA7XHJcbiAgICAgIHRoaXMuY2RSZWYuZGV0ZWN0Q2hhbmdlcygpO1xyXG4gICAgfSk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/modal/modal.component.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/components/modal/modal.component.js deleted file mode 100644 index a3e54c9e386..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/modal/modal.component.js +++ /dev/null @@ -1,257 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/modal/modal.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component, ContentChild, ElementRef, EventEmitter, Input, Output, Renderer2, TemplateRef, ViewChild, ViewChildren, } from '@angular/core'; -import { fromEvent, Subject } from 'rxjs'; -import { debounceTime, filter, takeUntil } from 'rxjs/operators'; -import { fadeAnimation } from '../../animations/modal.animations'; -import { ConfirmationService } from '../../services/confirmation.service'; -import { ButtonComponent } from '../button/button.component'; -export class ModalComponent { - /** - * @param {?} renderer - * @param {?} confirmationService - */ - constructor(renderer, confirmationService) { - this.renderer = renderer; - this.confirmationService = confirmationService; - this.centered = false; - this.modalClass = ''; - this.size = 'lg'; - this.visibleChange = new EventEmitter(); - this.init = new EventEmitter(); - this.appear = new EventEmitter(); - this.disappear = new EventEmitter(); - this._visible = false; - this._busy = false; - this.isModalOpen = false; - this.isConfirmationOpen = false; - this.destroy$ = new Subject(); - } - /** - * @return {?} - */ - get visible() { - return this._visible; - } - /** - * @param {?} value - * @return {?} - */ - set visible(value) { - if (typeof value !== 'boolean') - return; - this.isModalOpen = value; - this._visible = value; - this.visibleChange.emit(value); - if (value) { - setTimeout((/** - * @return {?} - */ - () => this.listen()), 0); - this.renderer.addClass(document.body, 'modal-open'); - this.appear.emit(); - } - else { - this.renderer.removeClass(document.body, 'modal-open'); - this.disappear.emit(); - this.destroy$.next(); - } - } - /** - * @return {?} - */ - get busy() { - return this._busy; - } - /** - * @param {?} value - * @return {?} - */ - set busy(value) { - if (this.abpSubmit && this.abpSubmit instanceof ButtonComponent) { - this.abpSubmit.loading = value; - } - this._busy = value; - } - /** - * @return {?} - */ - ngOnDestroy() { - this.destroy$.next(); - } - /** - * @return {?} - */ - close() { - if (this.busy) - return; - /** @type {?} */ - let node; - if (!this.modalContent) { - node = (/** @type {?} */ (document.getElementById('modal-container'))); - } - /** @type {?} */ - const nodes = getFlatNodes(((/** @type {?} */ ((node || this.modalContent.nativeElement).querySelector('#abp-modal-body')))).childNodes); - if (hasNgDirty(nodes)) { - if (this.isConfirmationOpen) - return; - this.isConfirmationOpen = true; - this.confirmationService - .warn('AbpAccount::AreYouSureYouWantToCancelEditingWarningMessage', 'AbpAccount::AreYouSure') - .subscribe((/** - * @param {?} status - * @return {?} - */ - (status) => { - this.isConfirmationOpen = false; - if (status === "confirm" /* confirm */) { - this.visible = false; - } - })); - } - else { - this.visible = false; - } - } - /** - * @return {?} - */ - listen() { - fromEvent(document, 'keyup') - .pipe(takeUntil(this.destroy$), debounceTime(150), filter((/** - * @param {?} key - * @return {?} - */ - (key) => key && key.key === 'Escape'))) - .subscribe((/** - * @return {?} - */ - () => { - this.close(); - })); - setTimeout((/** - * @return {?} - */ - () => { - if (!this.abpClose) - return; - fromEvent(this.abpClose.nativeElement, 'click') - .pipe(takeUntil(this.destroy$), filter((/** - * @return {?} - */ - () => !!this.modalContent))) - .subscribe((/** - * @return {?} - */ - () => this.close())); - }), 0); - this.init.emit(); - } -} -ModalComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-modal', - template: "\r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \u200B\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n\r\n", - animations: [fadeAnimation] - }] } -]; -/** @nocollapse */ -ModalComponent.ctorParameters = () => [ - { type: Renderer2 }, - { type: ConfirmationService } -]; -ModalComponent.propDecorators = { - visible: [{ type: Input }], - busy: [{ type: Input }], - centered: [{ type: Input }], - modalClass: [{ type: Input }], - size: [{ type: Input }], - abpSubmit: [{ type: ContentChild, args: [ButtonComponent, { static: false, read: ButtonComponent },] }], - abpHeader: [{ type: ContentChild, args: ['abpHeader', { static: false },] }], - abpBody: [{ type: ContentChild, args: ['abpBody', { static: false },] }], - abpFooter: [{ type: ContentChild, args: ['abpFooter', { static: false },] }], - abpClose: [{ type: ContentChild, args: ['abpClose', { static: false, read: ElementRef },] }], - modalContent: [{ type: ViewChild, args: ['abpModalContent', { static: false },] }], - abpButtons: [{ type: ViewChildren, args: ['abp-button',] }], - visibleChange: [{ type: Output }], - init: [{ type: Output }], - appear: [{ type: Output }], - disappear: [{ type: Output }] -}; -if (false) { - /** @type {?} */ - ModalComponent.prototype.centered; - /** @type {?} */ - ModalComponent.prototype.modalClass; - /** @type {?} */ - ModalComponent.prototype.size; - /** @type {?} */ - ModalComponent.prototype.abpSubmit; - /** @type {?} */ - ModalComponent.prototype.abpHeader; - /** @type {?} */ - ModalComponent.prototype.abpBody; - /** @type {?} */ - ModalComponent.prototype.abpFooter; - /** @type {?} */ - ModalComponent.prototype.abpClose; - /** @type {?} */ - ModalComponent.prototype.modalContent; - /** @type {?} */ - ModalComponent.prototype.abpButtons; - /** @type {?} */ - ModalComponent.prototype.visibleChange; - /** @type {?} */ - ModalComponent.prototype.init; - /** @type {?} */ - ModalComponent.prototype.appear; - /** @type {?} */ - ModalComponent.prototype.disappear; - /** @type {?} */ - ModalComponent.prototype._visible; - /** @type {?} */ - ModalComponent.prototype._busy; - /** @type {?} */ - ModalComponent.prototype.isModalOpen; - /** @type {?} */ - ModalComponent.prototype.isConfirmationOpen; - /** @type {?} */ - ModalComponent.prototype.destroy$; - /** - * @type {?} - * @private - */ - ModalComponent.prototype.renderer; - /** - * @type {?} - * @private - */ - ModalComponent.prototype.confirmationService; -} -/** - * @param {?} nodes - * @return {?} - */ -function getFlatNodes(nodes) { - return Array.from(nodes).reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - (acc, val) => [...acc, ...(val.childNodes && val.childNodes.length ? getFlatNodes(val.childNodes) : [val])]), []); -} -/** - * @param {?} nodes - * @return {?} - */ -function hasNgDirty(nodes) { - return nodes.findIndex((/** - * @param {?} node - * @return {?} - */ - node => (node.className || '').indexOf('ng-dirty') > -1)) > -1; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5zaGFyZWQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9tb2RhbC9tb2RhbC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULFlBQVksRUFDWixVQUFVLEVBQ1YsWUFBWSxFQUNaLEtBQUssRUFFTCxNQUFNLEVBQ04sU0FBUyxFQUNULFdBQVcsRUFDWCxTQUFTLEVBQ1QsWUFBWSxHQUNiLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxTQUFTLEVBQUUsT0FBTyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQzFDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFFLFNBQVMsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ2pFLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUVsRSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxxQ0FBcUMsQ0FBQztBQUMxRSxPQUFPLEVBQUUsZUFBZ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biA9IGZhbHNlO1xyXG4gICAgICAgICAgaWYgKHN0YXR1cyA9PT0gVG9hc3Rlci5TdGF0dXMuY29uZmlybSkge1xyXG4gICAgICAgICAgICB0aGlzLnZpc2libGUgPSBmYWxzZTtcclxuICAgICAgICAgIH1cclxuICAgICAgICB9KTtcclxuICAgIH0gZWxzZSB7XHJcbiAgICAgIHRoaXMudmlzaWJsZSA9IGZhbHNlO1xyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgbGlzdGVuKCkge1xyXG4gICAgZnJvbUV2ZW50KGRvY3VtZW50LCAna2V5dXAnKVxyXG4gICAgICAucGlwZShcclxuICAgICAgICB0YWtlVW50aWwodGhpcy5kZXN0cm95JCksXHJcbiAgICAgICAgZGVib3VuY2VUaW1lKDE1MCksXHJcbiAgICAgICAgZmlsdGVyKChrZXk6IEtleWJvYXJkRXZlbnQpID0+IGtleSAmJiBrZXkua2V5ID09PSAnRXNjYXBlJyksXHJcbiAgICAgIClcclxuICAgICAgLnN1YnNjcmliZSgoKSA9PiB7XHJcbiAgICAgICAgdGhpcy5jbG9zZSgpO1xyXG4gICAgICB9KTtcclxuXHJcbiAgICBzZXRUaW1lb3V0KCgpID0+IHtcclxuICAgICAgaWYgKCF0aGlzLmFicENsb3NlKSByZXR1cm47XHJcbiAgICAgIGZyb21FdmVudCh0aGlzLmFicENsb3NlLm5hdGl2ZUVsZW1lbnQsICdjbGljaycpXHJcbiAgICAgICAgLnBpcGUoXHJcbiAgICAgICAgICB0YWtlVW50aWwodGhpcy5kZXN0cm95JCksXHJcbiAgICAgICAgICBmaWx0ZXIoKCkgPT4gISF0aGlzLm1vZGFsQ29udGVudCksXHJcbiAgICAgICAgKVxyXG4gICAgICAgIC5zdWJzY3JpYmUoKCkgPT4gdGhpcy5jbG9zZSgpKTtcclxuICAgIH0sIDApO1xyXG5cclxuICAgIHRoaXMuaW5pdC5lbWl0KCk7XHJcbiAgfVxyXG59XHJcblxyXG5mdW5jdGlvbiBnZXRGbGF0Tm9kZXMobm9kZXM6IE5vZGVMaXN0KTogSFRNTEVsZW1lbnRbXSB7XHJcbiAgcmV0dXJuIEFycmF5LmZyb20obm9kZXMpLnJlZHVjZShcclxuICAgIChhY2MsIHZhbCkgPT4gWy4uLmFjYywgLi4uKHZhbC5jaGlsZE5vZGVzICYmIHZhbC5jaGlsZE5vZGVzLmxlbmd0aCA/IGdldEZsYXROb2Rlcyh2YWwuY2hpbGROb2RlcykgOiBbdmFsXSldLFxyXG4gICAgW10sXHJcbiAgKTtcclxufVxyXG5cclxuZnVuY3Rpb24gaGFzTmdEaXJ0eShub2RlczogSFRNTEVsZW1lbnRbXSkge1xyXG4gIHJldHVybiBub2Rlcy5maW5kSW5kZXgobm9kZSA9PiAobm9kZS5jbGFzc05hbWUgfHwgJycpLmluZGV4T2YoJ25nLWRpcnR5JykgPiAtMSkgPiAtMTtcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/sort-order-icon/sort-order-icon.component.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/components/sort-order-icon/sort-order-icon.component.js deleted file mode 100644 index b6d08883a10..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/sort-order-icon/sort-order-icon.component.js +++ /dev/null @@ -1,144 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/sort-order-icon/sort-order-icon.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component, EventEmitter, Input, Output } from '@angular/core'; -export class SortOrderIconComponent { - constructor() { - this.selectedKeyChange = new EventEmitter(); - this.selectedSortKeyChange = new EventEmitter(); - this.orderChange = new EventEmitter(); - } - /** - * @deprecated use selectedSortKey instead. - * @param {?} value - * @return {?} - */ - set selectedKey(value) { - this.selectedSortKey = value; - this.selectedKeyChange.emit(value); - } - /** - * @return {?} - */ - get selectedKey() { - return this._selectedSortKey; - } - /** - * @param {?} value - * @return {?} - */ - set selectedSortKey(value) { - this._selectedSortKey = value; - this.selectedSortKeyChange.emit(value); - } - /** - * @return {?} - */ - get selectedSortKey() { - return this._selectedSortKey; - } - /** - * @deprecated use sortKey instead. - * @return {?} - */ - get key() { - return this.sortKey; - } - /** - * @param {?} value - * @return {?} - */ - set key(value) { - this.sortKey = value; - } - /** - * @param {?} value - * @return {?} - */ - set order(value) { - this._order = value; - this.orderChange.emit(value); - } - /** - * @return {?} - */ - get order() { - return this._order; - } - /** - * @return {?} - */ - get icon() { - if (!this.selectedSortKey) - return 'fa-sort'; - if (this.selectedSortKey === this.sortKey) - return `fa-sort-${this.order}`; - else - return ''; - } - /** - * @param {?} key - * @return {?} - */ - sort(key) { - this.selectedKey = key; // TODO: To be removed - this.selectedSortKey = key; - switch (this.order) { - case '': - this.order = 'asc'; - this.orderChange.emit('asc'); - break; - case 'asc': - this.order = 'desc'; - this.orderChange.emit('desc'); - break; - case 'desc': - this.order = ''; - this.selectedKey = ''; // TODO: To be removed - this.orderChange.emit(''); - break; - } - } -} -SortOrderIconComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-sort-order-icon', - template: "\r\n \r\n\r\n" - }] } -]; -SortOrderIconComponent.propDecorators = { - selectedKey: [{ type: Input }], - selectedSortKey: [{ type: Input }], - selectedKeyChange: [{ type: Output }], - selectedSortKeyChange: [{ type: Output }], - key: [{ type: Input }], - sortKey: [{ type: Input }], - order: [{ type: Input }], - orderChange: [{ type: Output }], - iconClass: [{ type: Input }] -}; -if (false) { - /** - * @type {?} - * @private - */ - SortOrderIconComponent.prototype._order; - /** - * @type {?} - * @private - */ - SortOrderIconComponent.prototype._selectedSortKey; - /** @type {?} */ - SortOrderIconComponent.prototype.selectedKeyChange; - /** @type {?} */ - SortOrderIconComponent.prototype.selectedSortKeyChange; - /** @type {?} */ - SortOrderIconComponent.prototype.sortKey; - /** @type {?} */ - SortOrderIconComponent.prototype.orderChange; - /** @type {?} */ - SortOrderIconComponent.prototype.iconClass; -} -//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uc2VsZWN0ZWRTb3J0S2V5ID0ga2V5O1xyXG4gICAgc3dpdGNoICh0aGlzLm9yZGVyKSB7XHJcbiAgICAgIGNhc2UgJyc6XHJcbiAgICAgICAgdGhpcy5vcmRlciA9ICdhc2MnO1xyXG4gICAgICAgIHRoaXMub3JkZXJDaGFuZ2UuZW1pdCgnYXNjJyk7XHJcbiAgICAgICAgYnJlYWs7XHJcbiAgICAgIGNhc2UgJ2FzYyc6XHJcbiAgICAgICAgdGhpcy5vcmRlciA9ICdkZXNjJztcclxuICAgICAgICB0aGlzLm9yZGVyQ2hhbmdlLmVtaXQoJ2Rlc2MnKTtcclxuICAgICAgICBicmVhaztcclxuICAgICAgY2FzZSAnZGVzYyc6XHJcbiAgICAgICAgdGhpcy5vcmRlciA9ICcnO1xyXG4gICAgICAgIHRoaXMuc2VsZWN0ZWRLZXkgPSAnJzsgLy8gVE9ETzogVG8gYmUgcmVtb3ZlZFxyXG4gICAgICAgIHRoaXMub3JkZXJDaGFuZ2UuZW1pdCgnJyk7XHJcbiAgICAgICAgYnJlYWs7XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/table-empty-message/table-empty-message.component.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/components/table-empty-message/table-empty-message.component.js deleted file mode 100644 index b93d94aacd5..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/table-empty-message/table-empty-message.component.js +++ /dev/null @@ -1,47 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/table-empty-message/table-empty-message.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component, Input } from '@angular/core'; -export class TableEmptyMessageComponent { - constructor() { - this.colspan = 2; - this.localizationResource = 'AbpAccount'; - this.localizationProp = 'NoDataAvailableInDatatable'; - } - /** - * @return {?} - */ - get emptyMessage() { - return this.message || `${this.localizationResource}::${this.localizationProp}`; - } -} -TableEmptyMessageComponent.decorators = [ - { type: Component, args: [{ - // tslint:disable-next-line: component-selector - selector: '[abp-table-empty-message]', - template: ` - - {{ emptyMessage | abpLocalization }} - - ` - }] } -]; -TableEmptyMessageComponent.propDecorators = { - colspan: [{ type: Input }], - message: [{ type: Input }], - localizationResource: [{ type: Input }], - localizationProp: [{ type: Input }] -}; -if (false) { - /** @type {?} */ - TableEmptyMessageComponent.prototype.colspan; - /** @type {?} */ - TableEmptyMessageComponent.prototype.message; - /** @type {?} */ - TableEmptyMessageComponent.prototype.localizationResource; - /** @type {?} */ - TableEmptyMessageComponent.prototype.localizationProp; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtZW1wdHktbWVzc2FnZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLnNoYXJlZC8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL3RhYmxlLWVtcHR5LW1lc3NhZ2UvdGFibGUtZW1wdHktbWVzc2FnZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQVd6RCxNQUFNLE9BQU8sMEJBQTBCO0lBVHZDO1FBV0UsWUFBTyxHQUFHLENBQUMsQ0FBQztRQU1aLHlCQUFvQixHQUFHLFlBQVksQ0FBQztRQUdwQyxxQkFBZ0IsR0FBRyw0QkFBNEIsQ0FBQztJQUtsRCxDQUFDOzs7O0lBSEMsSUFBSSxZQUFZO1FBQ2QsT0FBTyxJQUFJLENBQUMsT0FBTyxJQUFJLEdBQUcsSUFBSSxDQUFDLG9CQUFvQixLQUFLLElBQUksQ0FBQyxnQkFBZ0IsRUFBRSxDQUFDO0lBQ2xGLENBQUM7OztZQXhCRixTQU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hpcy5tZXNzYWdlIHx8IGAke3RoaXMubG9jYWxpemF0aW9uUmVzb3VyY2V9Ojoke3RoaXMubG9jYWxpemF0aW9uUHJvcH1gO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/toast/toast.component.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/components/toast/toast.component.js deleted file mode 100644 index 5ec00fc8088..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/components/toast/toast.component.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/toast/toast.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component } from '@angular/core'; -export class ToastComponent { -} -ToastComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-toast', - // tslint:disable-next-line: component-max-inline-declarations - template: ` - - - -
    -
    {{ message.summary | abpLocalization: message.titleLocalizationParams }}
    -
    {{ message.detail | abpLocalization: message.messageLocalizationParams }}
    -
    -
    -
    - ` - }] } -]; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5zaGFyZWQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy90b2FzdC90b2FzdC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBeUIxQyxNQUFNLE9BQU8sY0FBYzs7O1lBdkIxQixTQUFTLFNBQUM7Z0JBQ1QsUUFBUSxFQUFFLFdBQVc7O2dCQUVyQixRQUFRLEVBQUU7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQWtCVDthQUNGIiwic291cmNlc0NvbnRlb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NhZ2Uuc3VtbWFyeSB8IGFicExvY2FsaXphdGlvbjogbWVzc2FnZS50aXRsZUxvY2FsaXphdGlvblBhcmFtcyB9fTwvZGl2PlxyXG4gICAgICAgICAgPGRpdiBjbGFzcz1cInVpLXRvYXN0LWRldGFpbFwiPnt7IG1lc3NhZ2UuZGV0YWlsIHwgYWJwTG9jYWxpemF0aW9uOiBtZXNzYWdlLm1lc3NhZ2VMb2NhbGl6YXRpb25QYXJhbXMgfX08L2Rpdj5cclxuICAgICAgICA8L2Rpdj5cclxuICAgICAgPC9uZy10ZW1wbGF0ZT5cclxuICAgIDwvcC10b2FzdD5cclxuICBgLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgVG9hc3RDb21wb25lbnQge31cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/constants/styles.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/constants/styles.js deleted file mode 100644 index bedc540b59f..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/constants/styles.js +++ /dev/null @@ -1,271 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/styles.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export default ` -.is-invalid .form-control { - border-color: #dc3545; - border-style: solid !important; -} - -.is-invalid .invalid-feedback, -.is-invalid + * .invalid-feedback { - display: block; -} - -.data-tables-filter { - text-align: right; -} - -.pointer { - cursor: pointer; -} - -.navbar .dropdown-submenu a::after { - transform: rotate(-90deg); - position: absolute; - right: 16px; - top: 18px; -} - -.navbar .dropdown-menu { - min-width: 215px; -} - -.ui-table-scrollable-body::-webkit-scrollbar { - height: 5px !important; -} - -.ui-table-scrollable-body::-webkit-scrollbar-track { - background: #ddd; -} - -.ui-table-scrollable-body::-webkit-scrollbar-thumb { - background: #8a8686; -} - -.modal.show { - display: block !important; -} - -.modal-backdrop { - position: fixed; - top: 0; - left: 0; - width: calc(100% - 7px); - height: 100%; - background-color: rgba(0, 0, 0, 0.6); - z-index: 1040; -} - -.modal::-webkit-scrollbar { - width: 7px; -} - -.modal::-webkit-scrollbar-track { - background: #ddd; -} - -.modal::-webkit-scrollbar-thumb { - background: #8a8686; -} - -.modal-dialog { - z-index: 1050; -} - -.abp-ellipsis-inline { - display: inline-block; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -.abp-ellipsis { - overflow: hidden !important; - text-overflow: ellipsis; - white-space: nowrap; -} - -.abp-toast .ui-toast-message { - box-sizing: border-box; - border: 2px solid transparent; - border-radius: 4px; - color: #1b1d29; -} - -.abp-toast .ui-toast-message-content { - padding: 10px; -} - -.abp-toast .ui-toast-message-content .ui-toast-icon { - top: 0; - left: 0; - padding: 10px; -} - -.abp-toast .ui-toast-summary { - margin: 0; - font-weight: 700; -} - -body abp-toast .ui-toast .ui-toast-message.ui-toast-message-error { - border: 2px solid #ba1659; - background-color: #f4f4f7; -} - -body abp-toast .ui-toast .ui-toast-message.ui-toast-message-error .ui-toast-message-content .ui-toast-icon { - color: #ba1659; -} - -body abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn { - border: 2px solid #ed5d98; - background-color: #f4f4f7; -} - -body abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn .ui-toast-message-content .ui-toast-icon { - color: #ed5d98; -} - -body abp-toast .ui-toast .ui-toast-message.ui-toast-message-success { - border: 2px solid #1c9174; - background-color: #f4f4f7; -} - -body abp-toast .ui-toast .ui-toast-message.ui-toast-message-success .ui-toast-message-content .ui-toast-icon { - color: #1c9174; -} - -body abp-toast .ui-toast .ui-toast-message.ui-toast-message-info { - border: 2px solid #fccb31; - background-color: #f4f4f7; -} - -body abp-toast .ui-toast .ui-toast-message.ui-toast-message-info .ui-toast-message-content .ui-toast-icon { - color: #fccb31; -} - -.abp-confirm .ui-toast-message { - box-sizing: border-box; - padding: 0px; - border:0 none; - border-radius: 4px; - background-color: transparent !important; - font-family: "Poppins", sans-serif; - text-align: center; -} - -.abp-confirm .ui-toast-message-content { - padding: 0px; -} - -.abp-confirm .abp-confirm-icon { - margin: 32px 50px 5px !important; - color: #f8bb86 !important; - font-size: 52px !important; -} - -.abp-confirm .ui-toast-close-icon { - display: none !important; -} - -.abp-confirm .abp-confirm-summary { - display: block !important; - margin-bottom: 13px !important; - padding: 13px 16px 0px !important; - font-weight: 600 !important; - font-size: 18px !important; -} - -.abp-confirm .abp-confirm-body { - display: inline-block !important; - padding: 0px 10px !important; -} - -.abp-confirm .abp-confirm-footer { - display: block; - margin-top: 30px; - padding: 16px; - text-align: right; -} - -.abp-confirm .abp-confirm-footer .btn { - margin-left: 10px !important; -} - -.ui-widget-overlay { - z-index: 1000; -} - -.color-white { - color: #FFF !important; -} - -.custom-checkbox > label { - cursor: pointer; -} - -/* [ - { type: Table, decorators: [{ type: Optional }, { type: Self }] }, - { type: SortPipe } -]; -TableSortDirective.propDecorators = { - abpTableSort: [{ type: Input }], - value: [{ type: Input }] -}; -if (false) { - /** @type {?} */ - TableSortDirective.prototype.abpTableSort; - /** @type {?} */ - TableSortDirective.prototype.value; - /** - * @type {?} - * @private - */ - TableSortDirective.prototype.table; - /** - * @type {?} - * @private - */ - TableSortDirective.prototype.sortPipe; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtc29ydC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLnNoYXJlZC8iLCJzb3VyY2VzIjpbImxpYi9kaXJlY3RpdmVzL3RhYmxlLXNvcnQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsUUFBUSxFQUFFLElBQUksRUFBNEIsTUFBTSxlQUFlLENBQUM7QUFDM0YsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQ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UYWJsZVNvcnQgfHwgKHt9IGFzIFRhYmxlU29ydE9wdGlvbnMpO1xyXG4gICAgICB0aGlzLnRhYmxlLnZhbHVlID0gdGhpcy5zb3J0UGlwZS50cmFuc2Zvcm0oY2xvbmUodGhpcy52YWx1ZSksIHRoaXMuYWJwVGFibGVTb3J0Lm9yZGVyLCB0aGlzLmFicFRhYmxlU29ydC5rZXkpO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/handlers/error.handler.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/handlers/error.handler.js deleted file mode 100644 index 5b1298d9e14..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/handlers/error.handler.js +++ /dev/null @@ -1,327 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/handlers/error.handler.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { RestOccurError } from '@abp/ng.core'; -import { HttpErrorResponse } from '@angular/common/http'; -import { ApplicationRef, ComponentFactoryResolver, Inject, Injectable, Injector, RendererFactory2, } from '@angular/core'; -import { Navigate, RouterError, RouterState, RouterDataResolved } from '@ngxs/router-plugin'; -import { Actions, ofActionSuccessful, Store } from '@ngxs/store'; -import { Subject } from 'rxjs'; -import snq from 'snq'; -import { HttpErrorWrapperComponent } from '../components/http-error-wrapper/http-error-wrapper.component'; -import { ConfirmationService } from '../services/confirmation.service'; -import * as i0 from "@angular/core"; -import * as i1 from "@ngxs/store"; -import * as i2 from "../services/confirmation.service"; -/** @type {?} */ -export const DEFAULT_ERROR_MESSAGES = { - defaultError: { - title: 'An error has occurred!', - details: 'Error detail not sent by server.', - }, - defaultError401: { - title: 'You are not authenticated!', - details: 'You should be authenticated (sign in) in order to perform this operation.', - }, - defaultError403: { - title: 'You are not authorized!', - details: 'You are not allowed to perform this operation.', - }, - defaultError404: { - title: 'Resource not found!', - details: 'The resource requested could not found on the server.', - }, - defaultError500: { - title: 'Internal server error', - details: 'Error detail not sent by server.', - }, -}; -export class ErrorHandler { - /** - * @param {?} actions - * @param {?} store - * @param {?} confirmationService - * @param {?} appRef - * @param {?} cfRes - * @param {?} rendererFactory - * @param {?} injector - * @param {?} httpErrorConfig - */ - constructor(actions, store, confirmationService, appRef, cfRes, rendererFactory, injector, httpErrorConfig) { - this.actions = actions; - this.store = store; - this.confirmationService = confirmationService; - this.appRef = appRef; - this.cfRes = cfRes; - this.rendererFactory = rendererFactory; - this.injector = injector; - this.httpErrorConfig = httpErrorConfig; - this.actions.pipe(ofActionSuccessful(RestOccurError, RouterError, RouterDataResolved)).subscribe((/** - * @param {?} res - * @return {?} - */ - res => { - if (res instanceof RestOccurError) { - const { payload: err = (/** @type {?} */ ({})) } = res; - /** @type {?} */ - const body = snq((/** - * @return {?} - */ - () => ((/** @type {?} */ (err))).error.error), DEFAULT_ERROR_MESSAGES.defaultError.title); - if (err instanceof HttpErrorResponse && err.headers.get('_AbpErrorFormat')) { - /** @type {?} */ - const confirmation$ = this.showError(null, null, body); - if (err.status === 401) { - confirmation$.subscribe((/** - * @return {?} - */ - () => { - this.navigateToLogin(); - })); - } - } - else { - switch (((/** @type {?} */ (err))).status) { - case 401: - this.canCreateCustomError(401) - ? this.show401Page() - : this.showError({ - key: 'AbpAccount::DefaultErrorMessage401', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.title, - }, { - key: 'AbpAccount::DefaultErrorMessage401Detail', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.details, - }).subscribe((/** - * @return {?} - */ - () => this.navigateToLogin())); - break; - case 403: - this.createErrorComponent({ - title: { - key: 'AbpAccount::DefaultErrorMessage403', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError403.title, - }, - details: { - key: 'AbpAccount::DefaultErrorMessage403Detail', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError403.details, - }, - status: 403, - }); - break; - case 404: - this.canCreateCustomError(404) - ? this.show404Page() - : this.showError({ - key: 'AbpAccount::DefaultErrorMessage404', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.details, - }, { - key: 'AbpAccount::DefaultErrorMessage404Detail', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.title, - }); - break; - case 500: - this.createErrorComponent({ - title: { - key: 'AbpAccount::500Message', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError500.title, - }, - details: { - key: 'AbpAccount::InternalServerErrorMessage', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError500.details, - }, - status: 500, - }); - break; - case 0: - if (((/** @type {?} */ (err))).statusText === 'Unknown Error') { - this.createErrorComponent({ - title: { - key: 'AbpAccount::DefaultErrorMessage', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError.title, - }, - }); - } - break; - default: - this.showError(DEFAULT_ERROR_MESSAGES.defaultError.details, DEFAULT_ERROR_MESSAGES.defaultError.title); - break; - } - } - } - else if (res instanceof RouterError && snq((/** - * @return {?} - */ - () => res.event.error.indexOf('Cannot match') > -1), false)) { - this.show404Page(); - } - else if (res instanceof RouterDataResolved && this.componentRef) { - this.componentRef.destroy(); - this.componentRef = null; - } - })); - } - /** - * @private - * @return {?} - */ - show401Page() { - this.createErrorComponent({ - title: { - key: 'AbpAccount::401Message', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.title, - }, - status: 401, - }); - } - /** - * @private - * @return {?} - */ - show404Page() { - this.createErrorComponent({ - title: { - key: 'AbpAccount::404Message', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.title, - }, - status: 404, - }); - } - /** - * @private - * @param {?=} message - * @param {?=} title - * @param {?=} body - * @return {?} - */ - showError(message, title, body) { - if (body) { - if (body.details) { - message = body.details; - title = body.message; - } - else { - message = body.message || DEFAULT_ERROR_MESSAGES.defaultError.title; - } - } - return this.confirmationService.error(message, title, { - hideCancelBtn: true, - yesText: 'AbpAccount::Close', - }); - } - /** - * @private - * @return {?} - */ - navigateToLogin() { - this.store.dispatch(new Navigate(['/account/login'], null, { state: { redirectUrl: this.store.selectSnapshot(RouterState.url) } })); - } - /** - * @param {?} instance - * @return {?} - */ - createErrorComponent(instance) { - /** @type {?} */ - const renderer = this.rendererFactory.createRenderer(null, null); - /** @type {?} */ - const host = renderer.selectRootElement(document.body, true); - this.componentRef = this.cfRes.resolveComponentFactory(HttpErrorWrapperComponent).create(this.injector); - for (const key in this.componentRef.instance) { - if (this.componentRef.instance.hasOwnProperty(key)) { - this.componentRef.instance[key] = instance[key]; - } - } - this.componentRef.instance.hideCloseIcon = this.httpErrorConfig.errorScreen.hideCloseIcon; - if (this.canCreateCustomError((/** @type {?} */ (instance.status)))) { - this.componentRef.instance.cfRes = this.cfRes; - this.componentRef.instance.appRef = this.appRef; - this.componentRef.instance.injector = this.injector; - this.componentRef.instance.customComponent = this.httpErrorConfig.errorScreen.component; - } - this.appRef.attachView(this.componentRef.hostView); - renderer.appendChild(host, ((/** @type {?} */ (this.componentRef.hostView))).rootNodes[0]); - /** @type {?} */ - const destroy$ = new Subject(); - this.componentRef.instance.destroy$ = destroy$; - destroy$.subscribe((/** - * @return {?} - */ - () => { - this.componentRef.destroy(); - this.componentRef = null; - })); - } - /** - * @param {?} status - * @return {?} - */ - canCreateCustomError(status) { - return snq((/** - * @return {?} - */ - () => this.httpErrorConfig.errorScreen.component && - this.httpErrorConfig.errorScreen.forWhichErrors.indexOf(status) > -1)); - } -} -ErrorHandler.decorators = [ - { type: Injectable, args: [{ providedIn: 'root' },] } -]; -/** @nocollapse */ -ErrorHandler.ctorParameters = () => [ - { type: Actions }, - { type: Store }, - { type: ConfirmationService }, - { type: ApplicationRef }, - { type: ComponentFactoryResolver }, - { type: RendererFactory2 }, - { type: Injector }, - { type: undefined, decorators: [{ type: Inject, args: ['HTTP_ERROR_CONFIG',] }] } -]; -/** @nocollapse */ ErrorHandler.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ErrorHandler_Factory() { return new ErrorHandler(i0.ɵɵinject(i1.Actions), i0.ɵɵinject(i1.Store), i0.ɵɵinject(i2.ConfirmationService), i0.ɵɵinject(i0.ApplicationRef), i0.ɵɵinject(i0.ComponentFactoryResolver), i0.ɵɵinject(i0.RendererFactory2), i0.ɵɵinject(i0.INJECTOR), i0.ɵɵinject("HTTP_ERROR_CONFIG")); }, token: ErrorHandler, providedIn: "root" }); -if (false) { - /** @type {?} */ - ErrorHandler.prototype.componentRef; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.actions; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.store; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.confirmationService; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.appRef; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.cfRes; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.rendererFactory; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.injector; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.httpErrorConfig; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3IuaGFuZGxlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL2hhbmRsZXJzL2Vycm9yLmhhbmRsZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQVUsY0FBYyxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ3RELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3pELE9BQU8sRUFDTCxjQUFjLEVBQ2Qsd0JBQXdCLEVBRXhCLE1BQU0sRUFDTixVQUFVLEVBQ1YsUUFBUSxFQUNSLGdCQUFnQixHQUdqQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsUUFBUSxFQUFFLFdBQVcsRUFBRSxXQUFXLEV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B7XHJcbiAgICAgICAgICAgICAgICAgICAgICBrZXk6ICdBYnBBY2NvdW50OjpEZWZhdWx0RXJyb3JNZXNzYWdlNDAxJyxcclxuICAgICAgICAgICAgICAgICAgICAgIGRlZmF1bHRWYWx1ZTogREVGQVVMVF9FUlJPUl9NRVNTQUdFUy5kZWZhdWx0RXJyb3I0MDEudGl0bGUsXHJcbiAgICAgICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgICAgICAgICB7XHJcbiAgICAgICAgICAgICAgICAgICAgICBrZXk6ICdBYnBBY2NvdW50OjpEZWZhdWx0RXJyb3JNZXNzYWdlNDAxRGV0YWlsJyxcclxuICAgICAgICAgICAgICAgICAgICAgIGRlZmF1bHRWYWx1ZTogREVGQVVMVF9FUlJPUl9NRVNTQUdFUy5kZWZhdWx0RXJyb3I0MDEuZGV0YWlscyxcclxuICAgICAgICAgICAgICAgICAgICB9LFxyXG4gICAgICAgICAgICAgICAgICApLnN1YnNjcmliZSgoKSA9PiB0aGlzLm5hdmlnYXRlVG9Mb2dpbigpKTtcclxuICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICAgICAgY2FzZSA0MDM6XHJcbiAgICAgICAgICAgICAgdGhpcy5jcmVhdGVFcnJvckNvbXBvbmVudCh7XHJcbiAgICAgICAgICAgICAgICB0aXRsZToge1xyXG4gICAgICAgICAgICAgICAgICBrZXk6ICdBYnBBY2NvdW50OjpEZWZhdWx0RXJyb3JNZXNzYWdlNDAzJyxcclxuICAgICAgICAgICAgICAgICAgZGVmYXVsdFZhbHVlOiBERUZBVUxUX0VSUk9SX01FU1NBR0VTLmRlZmF1bHRFcnJvcjQwMy50aXRsZSxcclxuICAgICAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgICAgICBkZXRhaWxzOiB7XHJcbiAgICAgICAgICAgICAgICAgIGtleTogJ0FicEFjY291bnQ6OkRlZmF1bHRFcnJvck1lc3NhZ2U0MDNEZXRhaWwnLFxyXG4gICAgICAgICAgICAgICAgICBkZWZhdWx0VmFsdWU6IERFRkFVTFRfRVJST1JfTUVTU0FHRVMuZGVmYXVsdEVycm9yNDAzLmRldGFpbHMsXHJcbiAgICAgICAgICAgICAgICB9LFxyXG4gICAgICAgICAgICAgICAgc3RhdHVzOiA0MDMsXHJcbiAgICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgICAgIGNhc2UgNDA0OlxyXG4gICAgICAgICAgICAgIHRoaXMuY2FuQ3JlYXRlQ3VzdG9tRXJyb3IoNDA0KVxyXG4gICAgICAgICAgICAgICAgPyB0aGlzLnNob3c0MDRQYWdlKClcclxuICAgICAgICAgICAgICAgIDogdGhpcy5zaG93RXJyb3IoXHJcbiAgICAgICAgICAgICAgICAgICAge1xyXG4gICAgICAgICAgICAgICAgICAgICAga2V5OiAnQWJwQWNjb3VudDo6RGVmYXVsdEVycm9yTWVzc2FnZTQwNCcsXHJcbiAgICAgICAgICAgICAgICAgICAgICBkZWZhdWx0VmFsdWU6IERFRkFVTFRfRVJST1JfTUVTU0FHRVMuZGVmYXVsdEVycm9yNDA0LmRldGFpbHMsXHJcbiAgICAgICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgICAgICAgICB7XHJcbiAgICAgICAgICAgICAgICAgICAgICBrZXk6ICdBYnBBY2NvdW50OjpEZWZhdWx0RXJyb3JNZXNzYWdlNDA0RGV0YWlsJyxcclxuICAgICAgICAgICAgICAgICAgICAgIGRlZmF1bHRWYWx1ZTogREVGQVVMVF9FUlJPUl9NRVNTQUdFUy5kZWZhdWx0RXJyb3I0MDQudGl0bGUsXHJcbiAgICAgICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgICAgICAgKTtcclxuICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICAgICAgY2FzZSA1MDA6XHJcbiAgICAgICAgICAgICAgdGhpcy5jcmVhdGVFcnJvckNvbXBvbmVudCh7XHJcbiAgICAgICAgICAgICAgICB0aXRsZToge1xyXG4gICAgICAgICAgICAgICAgICBrZXk6ICdBYnBBY2NvdW50Ojo1MDBNZXNzYWdlJyxcclxuICAgICAgICAgICAgICAgICAgZGVmYXVsdFZhbHVlOiBERUZBVUxUX0VSUk9SX01FU1NBR0VTLmRlZmF1bHRFcnJvcjUwMC50aXRsZSxcclxuICAgICAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgICAgICBkZXRhaWxzOiB7XHJcbiAgICAgICAgICAgICAgICAgIGtleTogJ0FicEFjY291bnQ6OkludGVybmFsU2VydmVyRXJyb3JNZXNzYWdlJyxcclxuICAgICAgICAgICAgICAgICAgZGVmYXVsdFZhbHVlOiBERUZBVUxUX0VSUk9SX01FU1NBR0VTLmRlZmF1bHRFcnJvcjUwMC5kZXRhaWxzLFxyXG4gICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgICAgIHN0YXR1czogNTAwLFxyXG4gICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICAgIGJyZWFrO1xyXG4gICAgICAgICAgICBjYXNlIDA6XHJcbiAgICAgICAgICAgICAgaWYgKChlcnIgYXMgSHR0cEVycm9yUmVzcG9uc2UpLnN0YXR1c1RleHQgPT09ICdVbmtub3duIEVycm9yJykge1xyXG4gICAgICAgICAgICAgICAgdGhpcy5jcmVhdGVFcnJvckNvbXBvbmVudCh7XHJcbiAgICAgICAgICAgICAgICAgIHRpdGxlOiB7XHJcbiAgICAgICAgICAgICAgICAgICAga2V5OiAnQWJwQWNjb3VudDo6RGVmYXVsdEVycm9yTWVzc2FnZScsXHJcbiAgICAgICAgICAgICAgICAgICAgZGVmYXVsdFZhbHVlOiBERUZBVUxUX0VSUk9SX01FU1NBR0VTLmRlZmF1bHRFcnJvci50aXRsZSxcclxuICAgICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICAgICAgZGVmYXVsdDpcclxuICAgICAg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BvbmVudCAmJlxyXG4gICAgICAgIHRoaXMuaHR0cEVycm9yQ29uZmlnLmVycm9yU2NyZWVuLmZvcldoaWNoRXJyb3JzLmluZGV4T2Yoc3RhdHVzKSA+IC0xLFxyXG4gICAgKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/models/common.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/models/common.js deleted file mode 100644 index 821f6e01114..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/models/common.js +++ /dev/null @@ -1,22 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/common.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -export function RootParams() { } -if (false) { - /** @type {?} */ - RootParams.prototype.httpErrorConfig; -} -/** - * @record - */ -export function HttpErrorConfig() { } -if (false) { - /** @type {?|undefined} */ - HttpErrorConfig.prototype.errorScreen; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5zaGFyZWQvIiwic291cmNlcyI6WyJsaWIvbW9kZWxzL2NvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUVBLGdDQUVDOzs7SUFEQyxxQ0FBaUM7Ozs7O0FBS25DLHFDQVVDOzs7SUFUQyxzQ0FRRSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFR5cGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgUm9vdFBhcmFtcyB7XHJcbiAgaHR0cEVycm9yQ29uZmlnOiBIdHRwRXJyb3JDb25maWc7XHJcbn1cclxuXHJcbmV4cG9ydCB0eXBlIEVycm9yU2NyZWVuRXJyb3JDb2RlcyA9IDQwMSB8IDQwMyB8IDQwNCB8IDUwMDtcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgSHR0cEVycm9yQ29uZmlnIHtcclxuICBlcnJvclNjcmVlbj86IHtcclxuICAgIGNvbXBvbmVudDogVHlwZTxhbnk+O1xyXG4gICAgZm9yV2hpY2hFcnJvcnM/OlxyXG4gICAgICB8IFtFcnJvclNjcmVlbkVycm9yQ29kZXNdXHJcbiAgICAgIHwgW0Vycm9yU2NyZWVuRXJyb3JDb2RlcywgRXJyb3JTY3JlZW5FcnJvckNvZGVzXVxyXG4gICAgICB8IFtFcnJvclNjcmVlbkVycm9yQ29kZXMsIEVycm9yU2NyZWVuRXJyb3JDb2RlcywgRXJyb3JTY3JlZW5FcnJvckNvZGVzXVxyXG4gICAgICB8IFtFcnJvclNjcmVlbkVycm9yQ29kZXMsIEVycm9yU2NyZWVuRXJyb3JDb2RlcywgRXJyb3JTY3JlZW5FcnJvckNvZGVzLCBFcnJvclNjcmVlbkVycm9yQ29kZXNdO1xyXG4gICAgaGlkZUNsb3NlSWNvbj86IGJvb2xlYW47XHJcbiAgfTtcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/models/confirmation.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/models/confirmation.js deleted file mode 100644 index c5e65b4ec57..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/models/confirmation.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/confirmation.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var Confirmation; -(function (Confirmation) { - /** - * @record - */ - function Options() { } - Confirmation.Options = Options; - if (false) { - /** @type {?|undefined} */ - Options.prototype.hideCancelBtn; - /** @type {?|undefined} */ - Options.prototype.hideYesBtn; - /** @type {?|undefined} */ - Options.prototype.cancelText; - /** @type {?|undefined} */ - Options.prototype.yesText; - /** - * @deprecated to be deleted in v2 - * @type {?|undefined} - */ - Options.prototype.cancelCopy; - /** - * @deprecated to be deleted in v2 - * @type {?|undefined} - */ - Options.prototype.yesCopy; - } -})(Confirmation || (Confirmation = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybWF0aW9uLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5zaGFyZWQvIiwic291cmNlcyI6WyJsaWIvbW9kZWxzL2NvbmZpcm1hdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUdBLE1BQU0sS0FBVyxZQUFZLENBZTVCO0FBZkQsV0FBaUIsWUFBWTs7OztJQUMzQixzQkFhQzs7OztRQVpDLGdDQUF3Qjs7UUFDeEIsNkJBQXFCOztRQUNyQiw2QkFBc0M7O1FBQ3RDLDBCQUFtQzs7Ozs7UUFJbkMsNkJBQXNDOzs7OztRQUl0QywwQkFBbUM7O0FBRXZDLENBQUMsRUFmZ0IsWUFBWSxLQUFaLFlBQVksUUFlNUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBUb2FzdGVyIH0gZnJvbSAnLi90b2FzdGVyJztcclxuaW1wb3J0IHsgQ29uZmlnIH0gZnJvbSAnQGFicC9uZy5jb3JlJztcclxuXHJcbmV4cG9ydCBuYW1lc3BhY2UgQ29uZmlybWF0aW9uIHtcclxuICBleHBvcnQgaW50ZXJmYWNlIE9wdGlvbnMgZXh0ZW5kcyBUb2FzdGVyLk9wdGlvbnMge1xyXG4gICAgaGlkZUNhbmNlbEJ0bj86IGJvb2xlYW47XHJcbiAgICBoaWRlWWVzQnRuPzogYm9vbGVhbjtcclxuICAgIGNhbmNlbFRleHQ/OiBDb25maWcuTG9jYWxpemF0aW9uUGFyYW07XHJcbiAgICB5ZXNUZXh0PzogQ29uZmlnLkxvY2FsaXphdGlvblBhcmFtO1xyXG4gICAgLyoqXHJcbiAgICAgKiBAZGVwcmVjYXRlZCB0byBiZSBkZWxldGVkIGluIHYyXHJcbiAgICAgKi9cclxuICAgIGNhbmNlbENvcHk/OiBDb25maWcuTG9jYWxpemF0aW9uUGFyYW07XHJcbiAgICAvKipcclxuICAgICAqIEBkZXByZWNhdGVkIHRvIGJlIGRlbGV0ZWQgaW4gdjJcclxuICAgICAqL1xyXG4gICAgeWVzQ29weT86IENvbmZpZy5Mb2NhbGl6YXRpb25QYXJhbTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/models/index.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/models/index.js deleted file mode 100644 index 29f42ec88df..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/models/index.js +++ /dev/null @@ -1,11 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export {} from './common'; -export {} from './confirmation'; -export { addSettingTab, getSettingTabs } from './setting-management'; -export {} from './statistics'; -export { Toaster } from './toaster'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLnNoYXJlZC8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxlQUFjLFVBQVUsQ0FBQztBQUN6QixlQUFjLGdCQUFnQixDQUFDO0FBQy9CLDhDQUFjLHNCQUFzQixDQUFDO0FBQ3JDLGVBQWMsY0FBYyxDQUFDO0FBQzdCLHdCQUFjLFdBQVcsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29tbW9uJztcclxuZXhwb3J0ICogZnJvbSAnLi9jb25maXJtYXRpb24nO1xyXG5leHBvcnQgKiBmcm9tICcuL3NldHRpbmctbWFuYWdlbWVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc3RhdGlzdGljcyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vdG9hc3Rlcic7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/models/setting-management.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/models/setting-management.js deleted file mode 100644 index cf42c40aadc..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/models/setting-management.js +++ /dev/null @@ -1,38 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/setting-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -export function SettingTab() { } -if (false) { - /** @type {?} */ - SettingTab.prototype.component; - /** @type {?} */ - SettingTab.prototype.name; - /** @type {?} */ - SettingTab.prototype.order; - /** @type {?|undefined} */ - SettingTab.prototype.requiredPolicy; -} -/** @type {?} */ -const SETTING_TABS = (/** @type {?} */ ([])); -/** - * @param {?} tab - * @return {?} - */ -export function addSettingTab(tab) { - if (!Array.isArray(tab)) { - tab = [tab]; - } - SETTING_TABS.push(...tab); -} -/** - * @return {?} - */ -export function getSettingTabs() { - return SETTING_TABS; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZy1tYW5hZ2VtZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5zaGFyZWQvIiwic291cmNlcyI6WyJsaWIvbW9kZWxzL3NldHRpbmctbWFuYWdlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUVBLGdDQUtDOzs7SUFKQywrQkFBcUI7O0lBQ3JCLDBCQUFhOztJQUNiLDJCQUFjOztJQUNkLG9DQUF3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ng-packs/dist/theme-shared/esm2015/lib/models/statistics.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/models/statistics.js deleted file mode 100644 index 144a785d830..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/models/statistics.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/statistics.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var Statistics; -(function (Statistics) { - /** - * @record - */ - function Response() { } - Statistics.Response = Response; - if (false) { - /** @type {?} */ - Response.prototype.data; - } - /** - * @record - */ - function Data() { } - Statistics.Data = Data; - /** - * @record - */ - function Filter() { } - Statistics.Filter = Filter; - if (false) { - /** @type {?} */ - Filter.prototype.startDate; - /** @type {?} */ - Filter.prototype.endDate; - } -})(Statistics || (Statistics = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdGlzdGljcy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL21vZGVscy9zdGF0aXN0aWNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsTUFBTSxLQUFXLFVBQVUsQ0FhMUI7QUFiRCxXQUFpQixVQUFVOzs7O0lBQ3pCLHVCQUVDOzs7O1FBREMsd0JBQVc7Ozs7O0lBR2IsbUJBRUM7Ozs7O0lBRUQscUJBR0M7Ozs7UUFGQywyQkFBeUI7O1FBQ3pCLHlCQUF1Qjs7QUFFM0IsQ0FBQyxFQWJnQixVQUFVLEtBQVYsVUFBVSxRQWExQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBuYW1lc3BhY2UgU3RhdGlzdGljcyB7XHJcbiAgZXhwb3J0IGludGVyZmFjZSBSZXNwb25zZSB7XHJcbiAgICBkYXRhOiBEYXRhO1xyXG4gIH1cclxuXHJcbiAgZXhwb3J0IGludGVyZmFjZSBEYXRhIHtcclxuICAgIFtrZXk6IHN0cmluZ106IG51bWJlcjtcclxuICB9XHJcblxyXG4gIGV4cG9ydCBpbnRlcmZhY2UgRmlsdGVyIHtcclxuICAgIHN0YXJ0RGF0ZTogc3RyaW5nIHwgRGF0ZTtcclxuICAgIGVuZERhdGU6IHN0cmluZyB8IERhdGU7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/models/toaster.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/models/toaster.js deleted file mode 100644 index 6cfe8a9a2f0..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/models/toaster.js +++ /dev/null @@ -1,30 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/toaster.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var Toaster; -(function (Toaster) { - /** - * @record - */ - function Options() { } - Toaster.Options = Options; - if (false) { - /** @type {?|undefined} */ - Options.prototype.id; - /** @type {?|undefined} */ - Options.prototype.closable; - /** @type {?|undefined} */ - Options.prototype.life; - /** @type {?|undefined} */ - Options.prototype.sticky; - /** @type {?|undefined} */ - Options.prototype.data; - /** @type {?|undefined} */ - Options.prototype.messageLocalizationParams; - /** @type {?|undefined} */ - Options.prototype.titleLocalizationParams; - } -})(Toaster || (Toaster = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3Rlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL21vZGVscy90b2FzdGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsTUFBTSxLQUFXLE9BQU8sQ0FrQnZCO0FBbEJELFdBQWlCLE9BQU87Ozs7SUFDdEIsc0JBUUM7Ozs7UUFQQyxxQkFBUzs7UUFDVCwyQkFBbUI7O1FBQ25CLHVCQUFjOztRQUNkLHlCQUFpQjs7UUFDakIsdUJBQVc7O1FBQ1gsNENBQXFDOztRQUNyQywwQ0FBbUM7O0FBVXZDLENBQUMsRUFsQmdCLE9BQU8sS0FBUCxPQUFPLFFBa0J2QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBuYW1lc3BhY2UgVG9hc3RlciB7XHJcbiAgZXhwb3J0IGludGVyZmFjZSBPcHRpb25zIHtcclxuICAgIGlkPzogYW55O1xyXG4gICAgY2xvc2FibGU/OiBib29sZWFuO1xyXG4gICAgbGlmZT86IG51bWJlcjtcclxuICAgIHN0aWNreT86IGJvb2xlYW47XHJcbiAgICBkYXRhPzogYW55O1xyXG4gICAgbWVzc2FnZUxvY2FsaXphdGlvblBhcmFtcz86IHN0cmluZ1tdO1xyXG4gICAgdGl0bGVMb2NhbGl6YXRpb25QYXJhbXM/OiBzdHJpbmdbXTtcclxuICB9XHJcblxyXG4gIGV4cG9ydCB0eXBlIFNldmVyaXR5ID0gJ3N1Y2Nlc3MnIHwgJ2luZm8nIHwgJ3dhcm4nIHwgJ2Vycm9yJztcclxuXHJcbiAgZXhwb3J0IGNvbnN0IGVudW0gU3RhdHVzIHtcclxuICAgIGNvbmZpcm0gPSAnY29uZmlybScsXHJcbiAgICByZWplY3QgPSAncmVqZWN0JyxcclxuICAgIGRpc21pc3MgPSAnZGlzbWlzcycsXHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/services/confirmation.service.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/services/confirmation.service.js deleted file mode 100644 index 6ed46fc2d57..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/services/confirmation.service.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/confirmation.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { AbstractToaster } from '../abstracts/toaster'; -import { MessageService } from 'primeng/components/common/messageservice'; -import { fromEvent, Subject } from 'rxjs'; -import { takeUntil, debounceTime, filter } from 'rxjs/operators'; -import * as i0 from "@angular/core"; -import * as i1 from "primeng/components/common/messageservice"; -export class ConfirmationService extends AbstractToaster { - /** - * @param {?} messageService - */ - constructor(messageService) { - super(messageService); - this.messageService = messageService; - this.key = 'abpConfirmation'; - this.sticky = true; - this.destroy$ = new Subject(); - } - /** - * @param {?} message - * @param {?} title - * @param {?} severity - * @param {?=} options - * @return {?} - */ - show(message, title, severity, options) { - this.listenToEscape(); - return super.show(message, title, severity, options); - } - /** - * @param {?=} status - * @return {?} - */ - clear(status) { - super.clear(status); - this.destroy$.next(); - } - /** - * @return {?} - */ - listenToEscape() { - fromEvent(document, 'keyup') - .pipe(takeUntil(this.destroy$), debounceTime(150), filter((/** - * @param {?} key - * @return {?} - */ - (key) => key && key.key === 'Escape'))) - .subscribe((/** - * @param {?} _ - * @return {?} - */ - _ => { - this.clear(); - })); - } -} -ConfirmationService.decorators = [ - { type: Injectable, args: [{ providedIn: 'root' },] } -]; -/** @nocollapse */ -ConfirmationService.ctorParameters = () => [ - { type: MessageService } -]; -/** @nocollapse */ ConfirmationService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ConfirmationService_Factory() { return new ConfirmationService(i0.ɵɵinject(i1.MessageService)); }, token: ConfirmationService, providedIn: "root" }); -if (false) { - /** @type {?} */ - ConfirmationService.prototype.key; - /** @type {?} */ - ConfirmationService.prototype.sticky; - /** @type {?} */ - ConfirmationService.prototype.destroy$; - /** - * @type {?} - * @protected - */ - ConfirmationService.prototype.messageService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybWF0aW9uLnNlcnZpY2UuanMiLCJzb3VyY2V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B0aGlzLmRlc3Ryb3kkLm5leHQoKTtcclxuICB9XHJcblxyXG4gIGxpc3RlblRvRXNjYXBlKCkge1xyXG4gICAgZnJvbUV2ZW50KGRvY3VtZW50LCAna2V5dXAnKVxyXG4gICAgICAucGlwZShcclxuICAgICAgICB0YWtlVW50aWwodGhpcy5kZXN0cm95JCksXHJcbiAgICAgICAgZGVib3VuY2VUaW1lKDE1MCksXHJcbiAgICAgICAgZmlsdGVyKChrZXk6IEtleWJvYXJkRXZlbnQpID0+IGtleSAmJiBrZXkua2V5ID09PSAnRXNjYXBlJyksXHJcbiAgICAgIClcclxuICAgICAgLnN1YnNjcmliZShfID0+IHtcclxuICAgICAgICB0aGlzLmNsZWFyKCk7XHJcbiAgICAgIH0pO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/services/index.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/services/index.js deleted file mode 100644 index 5cb2c754f55..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/services/index.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { ConfirmationService } from './confirmation.service'; -export { ToasterService } from './toaster.service'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLnNoYXJlZC8iLCJzb3VyY2VzIjpbImxpYi9zZXJ2aWNlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLG9DQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLCtCQUFjLG1CQUFtQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb25maXJtYXRpb24uc2VydmljZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vdG9hc3Rlci5zZXJ2aWNlJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/services/toaster.service.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/services/toaster.service.js deleted file mode 100644 index b13215682ee..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/services/toaster.service.js +++ /dev/null @@ -1,46 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/toaster.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable } from '@angular/core'; -import { AbstractToaster } from '../abstracts/toaster'; -import { MessageService } from 'primeng/components/common/messageservice'; -import * as i0 from "@angular/core"; -import * as i1 from "primeng/components/common/messageservice"; -export class ToasterService extends AbstractToaster { - /** - * @param {?} messageService - */ - constructor(messageService) { - super(messageService); - this.messageService = messageService; - } - /** - * @param {?} messages - * @return {?} - */ - addAll(messages) { - this.messageService.addAll(messages.map((/** - * @param {?} message - * @return {?} - */ - message => (Object.assign({ key: this.key }, message))))); - } -} -ToasterService.decorators = [ - { type: Injectable, args: [{ providedIn: 'root' },] } -]; -/** @nocollapse */ -ToasterService.ctorParameters = () => [ - { type: MessageService } -]; -/** @nocollapse */ ToasterService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ToasterService_Factory() { return new ToasterService(i0.ɵɵinject(i1.MessageService)); }, token: ToasterService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @protected - */ - ToasterService.prototype.messageService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3Rlci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5zaGFyZWQvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvdG9hc3Rlci5zZXJ2aWNlLnRzIl0sIm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ljZSc7XHJcblxyXG5ASW5qZWN0YWJsZSh7IHByb3ZpZGVkSW46ICdyb290JyB9KVxyXG5leHBvcnQgY2xhc3MgVG9hc3RlclNlcnZpY2UgZXh0ZW5kcyBBYnN0cmFjdFRvYXN0ZXIge1xyXG4gIGNvbnN0cnVjdG9yKHByb3RlY3RlZCBtZXNzYWdlU2VydmljZTogTWVzc2FnZVNlcnZpY2UpIHtcclxuICAgIHN1cGVyKG1lc3NhZ2VTZXJ2aWNlKTtcclxuICB9XHJcblxyXG4gIGFkZEFsbChtZXNzYWdlczogTWVzc2FnZVtdKTogdm9pZCB7XHJcbiAgICB0aGlzLm1lc3NhZ2VTZXJ2aWNlLmFkZEFsbChtZXNzYWdlcy5tYXAobWVzc2FnZSA9PiAoeyBrZXk6IHRoaXMua2V5LCAuLi5tZXNzYWdlIH0pKSk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/theme-shared.module.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/theme-shared.module.js deleted file mode 100644 index 7e7f0c3e66e..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/theme-shared.module.js +++ /dev/null @@ -1,125 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/theme-shared.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { CoreModule, LazyLoadService } from '@abp/ng.core'; -import { APP_INITIALIZER, Injector, NgModule } from '@angular/core'; -import { NgxValidateCoreModule } from '@ngx-validate/core'; -import { MessageService } from 'primeng/components/common/messageservice'; -import { ToastModule } from 'primeng/toast'; -import { BreadcrumbComponent } from './components/breadcrumb/breadcrumb.component'; -import { ButtonComponent } from './components/button/button.component'; -import { ChartComponent } from './components/chart/chart.component'; -import { ConfirmationComponent } from './components/confirmation/confirmation.component'; -import { HttpErrorWrapperComponent } from './components/http-error-wrapper/http-error-wrapper.component'; -import { LoaderBarComponent } from './components/loader-bar/loader-bar.component'; -import { ModalComponent } from './components/modal/modal.component'; -import { SortOrderIconComponent } from './components/sort-order-icon/sort-order-icon.component'; -import { TableEmptyMessageComponent } from './components/table-empty-message/table-empty-message.component'; -import { ToastComponent } from './components/toast/toast.component'; -import styles from './constants/styles'; -import { TableSortDirective } from './directives/table-sort.directive'; -import { ErrorHandler } from './handlers/error.handler'; -import { chartJsLoaded$ } from './utils/widget-utils'; -import { HTTP_ERROR_CONFIG, httpErrorConfigFactory } from './tokens/http-error.token'; -import { NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap'; -import { DateParserFormatter } from './utils/date-parser-formatter'; -import { DatePipe } from '@angular/common'; -/** - * @param {?} injector - * @return {?} - */ -export function appendScript(injector) { - /** @type {?} */ - const fn = (/** - * @return {?} - */ - () => { - import('chart.js').then((/** - * @return {?} - */ - () => chartJsLoaded$.next(true))); - /** @type {?} */ - const lazyLoadService = injector.get(LazyLoadService); - return lazyLoadService.load(null, 'style', styles, 'head', 'beforeend').toPromise(); - }); - return fn; -} -export class ThemeSharedModule { - /** - * @param {?} errorHandler - */ - constructor(errorHandler) { - this.errorHandler = errorHandler; - } - /** - * @param {?=} options - * @return {?} - */ - static forRoot(options = (/** @type {?} */ ({}))) { - return { - ngModule: ThemeSharedModule, - providers: [ - { - provide: APP_INITIALIZER, - multi: true, - deps: [Injector], - useFactory: appendScript, - }, - { provide: MessageService, useClass: MessageService }, - { provide: HTTP_ERROR_CONFIG, useValue: options.httpErrorConfig }, - { - provide: 'HTTP_ERROR_CONFIG', - useFactory: httpErrorConfigFactory, - deps: [HTTP_ERROR_CONFIG], - }, - { provide: NgbDateParserFormatter, useClass: DateParserFormatter }, - ], - }; - } -} -ThemeSharedModule.decorators = [ - { type: NgModule, args: [{ - imports: [CoreModule, ToastModule, NgxValidateCoreModule], - declarations: [ - BreadcrumbComponent, - ButtonComponent, - ChartComponent, - ConfirmationComponent, - HttpErrorWrapperComponent, - LoaderBarComponent, - ModalComponent, - TableEmptyMessageComponent, - ToastComponent, - SortOrderIconComponent, - TableSortDirective, - ], - exports: [ - BreadcrumbComponent, - ButtonComponent, - ChartComponent, - ConfirmationComponent, - LoaderBarComponent, - ModalComponent, - TableEmptyMessageComponent, - ToastComponent, - SortOrderIconComponent, - TableSortDirective, - ], - providers: [DatePipe], - entryComponents: [HttpErrorWrapperComponent], - },] } -]; -/** @nocollapse */ -ThemeSharedModule.ctorParameters = () => [ - { type: ErrorHandler } -]; -if (false) { - /** - * @type {?} - * @private - */ - ThemeSharedModule.prototype.errorHandler; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhlbWUtc2hhcmVkLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL3RoZW1lLXNoYXJlZC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLGVBQWUsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUMzRCxPQUFPLEVBQUUsZUFBZSxFQUFFLFFBQVEsRUFBdUIsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pGLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQzNELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwwQ0FBMEMsQ0FBQztBQUMxRSxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTVDLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDhDQUE4QyxDQUFDO0FBQ25GLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQztBQUN2RSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sb0NBQW9DLENBQUM7QU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gICAgIHtcclxuICAgICAgICAgIHByb3ZpZGU6ICdIVFRQX0VSUk9SX0NPTkZJRycsXHJcbiAgICAgICAgICB1c2VGYWN0b3J5OiBodHRwRXJyb3JDb25maWdGYWN0b3J5LFxyXG4gICAgICAgICAgZGVwczogW0hUVFBfRVJST1JfQ09ORklHXSxcclxuICAgICAgICB9LFxyXG4gICAgICAgIHsgcHJvdmlkZTogTmdiRGF0ZVBhcnNlckZvcm1hdHRlciwgdXNlQ2xhc3M6IERhdGVQYXJzZXJGb3JtYXR0ZXIgfSxcclxuICAgICAgXSxcclxuICAgIH07XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/tokens/http-error.token.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/tokens/http-error.token.js deleted file mode 100644 index 76ce02e11a9..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/tokens/http-error.token.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/tokens/http-error.token.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { InjectionToken } from '@angular/core'; -/** - * @param {?=} config - * @return {?} - */ -export function httpErrorConfigFactory(config = (/** @type {?} */ ({}))) { - if (config.errorScreen && config.errorScreen.component && !config.errorScreen.forWhichErrors) { - config.errorScreen.forWhichErrors = [401, 403, 404, 500]; - } - return (/** @type {?} */ (Object.assign({ errorScreen: {} }, config))); -} -/** @type {?} */ -export const HTTP_ERROR_CONFIG = new InjectionToken('HTTP_ERROR_CONFIG'); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHR0cC1lcnJvci50b2tlbi5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL3Rva2Vucy9odHRwLWVycm9yLnRva2V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0MDMsIDQwNCwgNTAwXTtcclxuICB9XHJcblxyXG4gIHJldHVybiB7XHJcbiAgICBlcnJvclNjcmVlbjoge30sXHJcbiAgICAuLi5jb25maWcsXHJcbiAgfSBhcyBIdHRwRXJyb3JDb25maWc7XHJcbn1cclxuXHJcbmV4cG9ydCBjb25zdCBIVFRQX0VSUk9SX0NPTkZJRyA9IG5ldyBJbmplY3Rpb25Ub2tlbignSFRUUF9FUlJPUl9DT05GSUcnKTtcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/utils/date-parser-formatter.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/utils/date-parser-formatter.js deleted file mode 100644 index d8654a9fb6f..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/utils/date-parser-formatter.js +++ /dev/null @@ -1,92 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/date-parser-formatter.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Injectable, Optional } from '@angular/core'; -import { NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap'; -import { DatePipe } from '@angular/common'; -/** - * @param {?} value - * @return {?} - */ -function padNumber(value) { - if (isNumber(value)) { - return `0${value}`.slice(-2); - } - else { - return ''; - } -} -/** - * @param {?} value - * @return {?} - */ -function isNumber(value) { - return !isNaN(toInteger(value)); -} -/** - * @param {?} value - * @return {?} - */ -function toInteger(value) { - return parseInt(`${value}`, 10); -} -export class DateParserFormatter extends NgbDateParserFormatter { - /** - * @param {?} datePipe - */ - constructor(datePipe) { - super(); - this.datePipe = datePipe; - } - /** - * @param {?} value - * @return {?} - */ - parse(value) { - if (value) { - /** @type {?} */ - const dateParts = value.trim().split('-'); - if (dateParts.length === 1 && isNumber(dateParts[0])) { - return { year: toInteger(dateParts[0]), month: null, day: null }; - } - else if (dateParts.length === 2 && isNumber(dateParts[0]) && isNumber(dateParts[1])) { - return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: null }; - } - else if (dateParts.length === 3 && isNumber(dateParts[0]) && isNumber(dateParts[1]) && isNumber(dateParts[2])) { - return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: toInteger(dateParts[2]) }; - } - } - return null; - } - /** - * @param {?} date - * @return {?} - */ - format(date) { - if (date && this.datePipe) { - return this.datePipe.transform(new Date(date.year, date.month, date.day), 'shortDate'); - } - else { - return date - ? `${date.year}-${isNumber(date.month) ? padNumber(date.month) : ''}-${isNumber(date.day) ? padNumber(date.day) : ''}` - : ''; - } - } -} -DateParserFormatter.decorators = [ - { type: Injectable } -]; -/** @nocollapse */ -DateParserFormatter.ctorParameters = () => [ - { type: DatePipe, decorators: [{ type: Optional }] } -]; -if (false) { - /** - * @type {?} - * @private - */ - DateParserFormatter.prototype.datePipe; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS1wYXJzZXItZm9ybWF0dGVyLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5zaGFyZWQvIiwic291cmNlcyI6WyJsaWIvdXRpbHMvZGF0ZS1wYXJzZXItZm9ybWF0dGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDckQsT0FBTyxFQUFFLHNCQUFzQixFQUFpQixNQUFNLDRCQUE0QixDQUFDO0FBQ25GLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7Ozs7QUFFM0MsU0FBUyxTQUFTLENBQUMsS0FBYTtJQUM5QixJQUFJLFFBQVEsQ0FBQyxLQUFLLENBQUMsRUFBRTtRQUNuQixPQUFPLElBQUksS0FBSyxFQUFFLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUM7S0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5ZWFyOiB0b0ludGVnZXIoZGF0ZVBhcnRzWzBdKSwgbW9udGg6IHRvSW50ZWdlcihkYXRlUGFydHNbMV0pLCBkYXk6IHRvSW50ZWdlcihkYXRlUGFydHNbMl0pIH07XHJcbiAgICAgIH1cclxuICAgIH1cclxuICAgIHJldHVybiBudWxsO1xyXG4gIH1cclxuXHJcbiAgZm9ybWF0KGRhdGU6IE5nYkRhdGVTdHJ1Y3QpOiBzdHJpbmcge1xyXG4gICAgaWYgKGRhdGUgJiYgdGhpcy5kYXRlUGlwZSkge1xyXG4gICAgICByZXR1cm4gdGhpcy5kYXRlUGlwZS50cmFuc2Zvcm0obmV3IERhdGUoZGF0ZS55ZWFyLCBkYXRlLm1vbnRoLCBkYXRlLmRheSksICdzaG9ydERhdGUnKTtcclxuICAgIH0gZWxzZSB7XHJcbiAgICAgIHJldHVybiBkYXRlXHJcbiAgICAgICAgPyBgJHtkYXRlLnllYXJ9LSR7aXNOdW1iZXIoZGF0ZS5tb250aCkgPyBwYWROdW1iZXIoZGF0ZS5tb250aCkgOiAnJ30tJHtcclxuICAgICAgICAgICAgaXNOdW1iZXIoZGF0ZS5kYXkpID8gcGFkTnVtYmVyKGRhdGUuZGF5KSA6ICcnXHJcbiAgICAgICAgICB9YFxyXG4gICAgICAgIDogJyc7XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/utils/index.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/utils/index.js deleted file mode 100644 index ba1c1b812fd..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/utils/index.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { getRandomBackgroundColor, chartJsLoaded$ } from './widget-utils'; -export { DateParserFormatter } from './date-parser-formatter'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLnNoYXJlZC8iLCJzb3VyY2VzIjpbImxpYi91dGlscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHlEQUFjLGdCQUFnQixDQUFDO0FBQy9CLG9DQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi93aWRnZXQtdXRpbHMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2RhdGUtcGFyc2VyLWZvcm1hdHRlcic7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/lib/utils/widget-utils.js b/npm/ng-packs/dist/theme-shared/esm2015/lib/utils/widget-utils.js deleted file mode 100644 index 24d9024e511..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/lib/utils/widget-utils.js +++ /dev/null @@ -1,27 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/widget-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { ReplaySubject } from 'rxjs'; -/** - * @param {?} count - * @return {?} - */ -export function getRandomBackgroundColor(count) { - /** @type {?} */ - const colors = []; - for (let i = 0; i < count; i++) { - /** @type {?} */ - const r = ((i + 5) * (i + 5) * 474) % 255; - /** @type {?} */ - const g = ((i + 5) * (i + 5) * 1600) % 255; - /** @type {?} */ - const b = ((i + 5) * (i + 5) * 84065) % 255; - colors.push('rgba(' + r + ', ' + g + ', ' + b + ', 0.7)'); - } - return colors; -} -/** @type {?} */ -export const chartJsLoaded$ = new ReplaySubject(1); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LXV0aWxzLmpzIiwic291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3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBSZXBsYXlTdWJqZWN0IH0gZnJvbSAncnhqcyc7XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gZ2V0UmFuZG9tQmFja2dyb3VuZENvbG9yKGNvdW50KSB7XHJcbiAgY29uc3QgY29sb3JzID0gW107XHJcblxyXG4gIGZvciAobGV0IGkgPSAwOyBpIDwgY291bnQ7IGkrKykge1xyXG4gICAgY29uc3QgciA9ICgoaSArIDUpICogKGkgKyA1KSAqIDQ3NCkgJSAyNTU7XHJcbiAgICBjb25zdCBnID0gKChpICsgNSkgKiAoaSArIDUpICogMTYwMCkgJSAyNTU7XHJcbiAgICBjb25zdCBiID0gKChpICsgNSkgKiAoaSArIDUpICogODQwNjUpICUgMjU1O1xyXG4gICAgY29sb3JzLnB1c2goJ3JnYmEoJyArIHIgKyAnLCAnICsgZyArICcsICcgKyBiICsgJywgMC43KScpO1xyXG4gIH1cclxuXHJcbiAgcmV0dXJuIGNvbG9ycztcclxufVxyXG5cclxuZXhwb3J0IGNvbnN0IGNoYXJ0SnNMb2FkZWQkID0gbmV3IFJlcGxheVN1YmplY3QoMSk7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm2015/public-api.js b/npm/ng-packs/dist/theme-shared/esm2015/public-api.js deleted file mode 100644 index f2b03f8cb3a..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm2015/public-api.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/* - * Public API Surface of theme-shared - */ -export { appendScript, ThemeSharedModule } from './lib/theme-shared.module'; -export { bounceIn, collapseY, collapseYWithMargin, collapseX, expandY, expandYWithMargin, expandX, collapse, collapseWithMargin, collapseLinearWithMargin, fadeIn, fadeOut, fadeInDown, fadeInUp, fadeInLeft, fadeInRight, fadeOutDown, fadeOutUp, fadeOutLeft, fadeOutRight, fadeAnimation, dialogAnimation, slideFromBottom } from './lib/animations'; -export { BreadcrumbComponent, ButtonComponent, ChartComponent, ConfirmationComponent, LoaderBarComponent, ModalComponent, TableEmptyMessageComponent, ToastComponent, SortOrderIconComponent } from './lib/components'; -export { TableSortDirective } from './lib/directives'; -export { addSettingTab, getSettingTabs, Toaster } from './lib/models'; -export { ConfirmationService, ToasterService } from './lib/services'; -export { getRandomBackgroundColor, chartJsLoaded$, DateParserFormatter } from './lib/utils'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsicHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLGdEQUFjLDJCQUEyQixDQUFDO0FBQzFDLHFVQUFjLGtCQUFrQixDQUFDO0FBQ2pDLG9NQUFjLGtCQUFrQixDQUFDO0FBQ2pDLG1DQUFjLGtCQUFrQixDQUFDO0FBQ2pDLHVEQUFjLGNBQWMsQ0FBQztBQUM3QixvREFBYyxnQkFBZ0IsQ0FBQztBQUMvQiw4RUFBYyxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxyXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgdGhlbWUtc2hhcmVkXHJcbiAqL1xyXG5cclxuZXhwb3J0ICogZnJvbSAnLi9saWIvdGhlbWUtc2hhcmVkLm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2FuaW1hdGlvbnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21wb25lbnRzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvZGlyZWN0aXZlcyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL21vZGVscyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3NlcnZpY2VzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvdXRpbHMnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/abp-ng.theme.shared.js b/npm/ng-packs/dist/theme-shared/esm5/abp-ng.theme.shared.js deleted file mode 100644 index d4b5069acb9..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/abp-ng.theme.shared.js +++ /dev/null @@ -1,28 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.theme.shared.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ -export { appendScript, ThemeSharedModule, bounceIn, collapseY, collapseYWithMargin, collapseX, expandY, expandYWithMargin, expandX, collapse, collapseWithMargin, collapseLinearWithMargin, fadeIn, fadeOut, fadeInDown, fadeInUp, fadeInLeft, fadeInRight, fadeOutDown, fadeOutUp, fadeOutLeft, fadeOutRight, fadeAnimation, dialogAnimation, slideFromBottom, BreadcrumbComponent, ButtonComponent, ChartComponent, ConfirmationComponent, LoaderBarComponent, ModalComponent, TableEmptyMessageComponent, ToastComponent, SortOrderIconComponent, TableSortDirective, addSettingTab, getSettingTabs, Toaster, ConfirmationService, ToasterService, getRandomBackgroundColor, chartJsLoaded$, DateParserFormatter } from './public-api'; -export { AbstractToaster as ɵf } from './lib/abstracts/toaster'; -export { fadeIn as ɵk, fadeOut as ɵl } from './lib/animations/fade.animations'; -export { fadeAnimation as ɵj } from './lib/animations/modal.animations'; -export { BreadcrumbComponent as ɵa } from './lib/components/breadcrumb/breadcrumb.component'; -export { ButtonComponent as ɵb } from './lib/components/button/button.component'; -export { ChartComponent as ɵc } from './lib/components/chart/chart.component'; -export { ConfirmationComponent as ɵd } from './lib/components/confirmation/confirmation.component'; -export { HttpErrorWrapperComponent as ɵg } from './lib/components/http-error-wrapper/http-error-wrapper.component'; -export { LoaderBarComponent as ɵh } from './lib/components/loader-bar/loader-bar.component'; -export { ModalComponent as ɵi } from './lib/components/modal/modal.component'; -export { SortOrderIconComponent as ɵo } from './lib/components/sort-order-icon/sort-order-icon.component'; -export { TableEmptyMessageComponent as ɵm } from './lib/components/table-empty-message/table-empty-message.component'; -export { ToastComponent as ɵn } from './lib/components/toast/toast.component'; -export { TableSortDirective as ɵp } from './lib/directives/table-sort.directive'; -export { ErrorHandler as ɵq } from './lib/handlers/error.handler'; -export { ConfirmationService as ɵe } from './lib/services/confirmation.service'; -export { HTTP_ERROR_CONFIG as ɵt, httpErrorConfigFactory as ɵs } from './lib/tokens/http-error.token'; -export { DateParserFormatter as ɵu } from './lib/utils/date-parser-formatter'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLW5nLnRoZW1lLnNoYXJlZC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsiYWJwLW5nLnRoZW1lLnNoYXJlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLDJyQkFBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLGVBQWUsSUFBSSxFQUFFLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQztBQUM5RCxPQUFPLEVBQUMsTUFBTSxJQUFJLEVBQUUsRUFBQyxPQUFPLElBQUksRUFBRSxFQUFDLE1BQU0sa0NBQWtDLENBQUM7QUFDNUUsT0FBTyxFQUFDLGFBQWEsSUFBSSxFQUFFLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQztBQUN0RSxPQUFPLEVBQUMsbUJBQW1CLElBQUksRUFBRSxFQUFDLE1BQU0sa0RBQWtELENBQUM7QUFDM0YsT0FBTyxFQUFDLGVBQWUsSUFBSSxFQUFFLEVBQUMsTUFBTSwwQ0FBMEMsQ0FBQztBQUMvRSxPQUF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AnLi9saWIvdXRpbHMvZGF0ZS1wYXJzZXItZm9ybWF0dGVyJzsiXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/abstracts/toaster.js b/npm/ng-packs/dist/theme-shared/esm5/lib/abstracts/toaster.js deleted file mode 100644 index 10d1016bc82..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/abstracts/toaster.js +++ /dev/null @@ -1,137 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/abstracts/toaster.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Subject } from 'rxjs'; -/** - * @abstract - * @template T - */ -var /** - * @abstract - * @template T - */ -AbstractToaster = /** @class */ (function () { - function AbstractToaster(messageService) { - this.messageService = messageService; - this.key = 'abpToast'; - this.sticky = false; - } - /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - AbstractToaster.prototype.info = /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - function (message, title, options) { - return this.show(message, title, 'info', options); - }; - /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - AbstractToaster.prototype.success = /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - function (message, title, options) { - return this.show(message, title, 'success', options); - }; - /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - AbstractToaster.prototype.warn = /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - function (message, title, options) { - return this.show(message, title, 'warn', options); - }; - /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - AbstractToaster.prototype.error = /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - function (message, title, options) { - return this.show(message, title, 'error', options); - }; - /** - * @protected - * @param {?} message - * @param {?} title - * @param {?} severity - * @param {?=} options - * @return {?} - */ - AbstractToaster.prototype.show = /** - * @protected - * @param {?} message - * @param {?} title - * @param {?} severity - * @param {?=} options - * @return {?} - */ - function (message, title, severity, options) { - this.messageService.clear(this.key); - this.messageService.add(tslib_1.__assign({ severity: severity, detail: message || '', summary: title || '' }, options, { key: this.key }, (typeof (options || ((/** @type {?} */ ({})))).sticky === 'undefined' && { sticky: this.sticky }))); - this.status$ = new Subject(); - return this.status$; - }; - /** - * @param {?=} status - * @return {?} - */ - AbstractToaster.prototype.clear = /** - * @param {?=} status - * @return {?} - */ - function (status) { - this.messageService.clear(this.key); - this.status$.next(status || "dismiss" /* dismiss */); - this.status$.complete(); - }; - return AbstractToaster; -}()); -/** - * @abstract - * @template T - */ -export { AbstractToaster }; -if (false) { - /** @type {?} */ - AbstractToaster.prototype.status$; - /** @type {?} */ - AbstractToaster.prototype.key; - /** @type {?} */ - AbstractToaster.prototype.sticky; - /** - * @type {?} - * @protected - */ - AbstractToaster.prototype.messageService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3Rlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL2Fic3RyYWN0cy90b2FzdGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUNBLE9BQU8sRUFBYyxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7Ozs7O0FBSTNDOzs7OztJQU9FLHlCQUFzQixjQUE4QjtRQUE5QixtQkFBYyxHQUFkLGNBQWMsQ0FBZ0I7UUFKcEQsUUFBRyxHQUFHLFVBQVUsQ0FBQztRQUVqQixXQUFNLEdBQUcsS0FBSyxDQUFDO0lBRXdDLENBQUM7Ozs7Ozs7SUFFeEQsOEJBQUk7Ozs7OztJQUFKLFVBQUssT0FBaUMsRUFBRSxLQUErQixFQUFFLE9BQVc7UUFDbEYsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sRUFBRSxLQUFLL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LmNsZWFyKHRoaXMua2V5KTtcclxuICAgIHRoaXMuc3RhdHVzJC5uZXh0KHN0YXR1cyB8fCBUb2FzdGVyLlN0YXR1cy5kaXNtaXNzKTtcclxuICAgIHRoaXMuc3RhdHVzJC5jb21wbGV0ZSgpO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/animations/bounce.animations.js b/npm/ng-packs/dist/theme-shared/esm5/lib/animations/bounce.animations.js deleted file mode 100644 index ea8902a63cc..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/animations/bounce.animations.js +++ /dev/null @@ -1,23 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/bounce.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { animate, animation, keyframes, style } from '@angular/animations'; -/** @type {?} */ -export var bounceIn = animation([ - style({ opacity: '0', display: '{{ display }}' }), - animate('{{ time}} {{ easing }}', keyframes([ - style({ opacity: '0', transform: '{{ transform }} scale(0.0)', offset: 0 }), - style({ opacity: '0', transform: '{{ transform }} scale(0.8)', offset: 0.5 }), - style({ opacity: '1', transform: '{{ transform }} scale(1.0)', offset: 1 }) - ])) -], { - params: { - time: '350ms', - easing: 'cubic-bezier(.7,.31,.72,1.47)', - display: 'block', - transform: 'translate(-50%, -50%)' - } -}); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm91bmNlLmFuaW1hdGlvbnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLnNoYXJlZC8iLCJzb3VyY2VzIjpbImxpYi9hbmltYXRpb25zL2JvdW5jZS5hbmltYXRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxTQUFTLEVBQUUsU0FBUyxFQUFFL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0ZShcclxuICAgICAgJ3t7IHRpbWV9fSB7eyBlYXNpbmcgfX0nLFxyXG4gICAgICBrZXlmcmFtZXMoW1xyXG4gICAgICAgIHN0eWxlKHsgb3BhY2l0eTogJzAnLCB0cmFuc2Zvcm06ICd7eyB0cmFuc2Zvcm0gfX0gc2NhbGUoMC4wKScsIG9mZnNldDogMCB9KSxcclxuICAgICAgICBzdHlsZSh7IG9wYWNpdHk6ICcwJywgdHJhbnNmb3JtOiAne3sgdHJhbnNmb3JtIH19IHNjYWxlKDAuOCknLCBvZmZzZXQ6IDAuNSB9KSxcclxuICAgICAgICBzdHlsZSh7IG9wYWNpdHk6ICcxJywgdHJhbnNmb3JtOiAne3sgdHJhbnNmb3JtIH19IHNjYWxlKDEuMCknLCBvZmZzZXQ6IDEgfSlcclxuICAgICAgXSlcclxuICAgIClcclxuICBdLFxyXG4gIHtcclxuICAgIHBhcmFtczoge1xyXG4gICAgICB0aW1lOiAnMzUwbXMnLFxyXG4gICAgICBlYXNpbmc6ICdjdWJpYy1iZXppZXIoLjcsLjMxLC43MiwxLjQ3KScsXHJcbiAgICAgIGRpc3BsYXk6ICdibG9jaycsXHJcbiAgICAgIHRyYW5zZm9ybTogJ3RyYW5zbGF0ZSgtNTAlLCAtNTAlKSdcclxuICAgIH1cclxuICB9XHJcbik7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/animations/collapse.animations.js b/npm/ng-packs/dist/theme-shared/esm5/lib/animations/collapse.animations.js deleted file mode 100644 index 2132bf600b8..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/animations/collapse.animations.js +++ /dev/null @@ -1,58 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/collapse.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { animate, animation, trigger, state, style, transition, useAnimation } from '@angular/animations'; -/** @type {?} */ -export var collapseY = animation([ - style({ height: '*', overflow: 'hidden', 'box-sizing': 'border-box' }), - animate('{{ time }} {{ easing }}', style({ height: '0', padding: '0px' })), -], { params: { time: '350ms', easing: 'ease' } }); -/** @type {?} */ -export var collapseYWithMargin = animation([style({ 'margin-top': '0' }), animate('{{ time }} {{ easing }}', style({ 'margin-top': '-100%' }))], { - params: { time: '500ms', easing: 'ease' }, -}); -/** @type {?} */ -export var collapseX = animation([ - style({ width: '*', overflow: 'hidden', 'box-sizing': 'border-box' }), - animate('{{ time }} {{ easing }}', style({ width: '0', padding: '0px' })), -], { params: { time: '350ms', easing: 'ease' } }); -/** @type {?} */ -export var expandY = animation([ - style({ height: '0', overflow: 'hidden', 'box-sizing': 'border-box' }), - animate('{{ time }} {{ easing }}', style({ height: '*', padding: '*' })), -], { params: { time: '350ms', easing: 'ease' } }); -/** @type {?} */ -export var expandYWithMargin = animation([style({ 'margin-top': '-100%' }), animate('{{ time }} {{ easing }}', style({ 'margin-top': '0' }))], { - params: { time: '500ms', easing: 'ease' }, -}); -/** @type {?} */ -export var expandX = animation([ - style({ width: '0', overflow: 'hidden', 'box-sizing': 'border-box' }), - animate('{{ time }} {{ easing }}', style({ width: '*', padding: '*' })), -], { params: { time: '350ms', easing: 'ease' } }); -/** @type {?} */ -export var collapse = trigger('collapse', [ - state('collapsed', style({ height: '0', overflow: 'hidden' })), - state('expanded', style({ height: '*', overflow: 'hidden' })), - transition('expanded => collapsed', useAnimation(collapseY)), - transition('collapsed => expanded', useAnimation(expandY)), -]); -/** @type {?} */ -export var collapseWithMargin = trigger('collapseWithMargin', [ - state('collapsed', style({ 'margin-top': '-100%' })), - state('expanded', style({ 'margin-top': '0' })), - transition('expanded => collapsed', useAnimation(collapseYWithMargin), { - params: { time: '400ms', easing: 'linear' }, - }), - transition('collapsed => expanded', useAnimation(expandYWithMargin)), -]); -/** @type {?} */ -export var collapseLinearWithMargin = trigger('collapseLinearWithMargin', [ - state('collapsed', style({ 'margin-top': '-100%' })), - state('expanded', style({ 'margin-top': '0' })), - transition('expanded => collapsed', useAnimation(collapseYWithMargin, { params: { time: '200ms', easing: 'linear' } })), - transition('collapsed => expanded', useAnimation(expandYWithMargin, { params: { time: '250ms', easing: 'linear' } })), -]); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sbGFwc2UuYW5pbWF0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL2FuaW1hdGlvbnMvY29sbGFwc2UuYW5pbWF0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxPQUFPLEVBQUUsU0FBUyxFQUFFLE9BQU8sRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLFVBQVUsRUFBRSxZQUFZLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQzs7QUFFMUcsTUFBTSxLQUFPLFNBQVMsR0FBRyxTQUFTLENBQ2hDO0lBQ0UsS0FBSyxDQUFDLEVBQUUsTUFBTSxFQUFFLEdBQUcsRUFBRSxRQUFRLEVBQUUsUUFBUSxFQUFFLFlBQVksRUFBRSxZQUFZLEVBQUUsQ0FBQztJQUN0RSxPQUFPLENBQUMseUJBQXlCLEVBQUUsS0FBSyxDQUFDLEVBQUUsTUFBTSxFQUFFLEdBQUcsRUFBRSxPQUFPLEVBQUUsS0FBSyxFQUFFLENBQUMsQ0FBQztDQUMzRSxFQUNELEVBQUUsTUFBTSxFQUFFLEVBQUUsSUFBSSxFQUFFLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFFLEVBQUUsQ0FDOUM7O0FBRUQsTUFBTSxLQUFPLG1CQUFtQixHQUFHLFNBQVMsQ0FDMUMsQ0FBQyxLQUFLLENBQUMsRUFBRSxZQUFZLEVBQUUsR0FBRyxFQUFFLENBQUMsRUFBRSxPQUFPLENBQUMseUJBQXlCLEVBQUU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BlYXNpbmc6ICdsaW5lYXInIH0sXHJcbiAgfSksXHJcbiAgdHJhbnNpdGlvbignY29sbGFwc2VkID0+IGV4cGFuZGVkJywgdXNlQW5pbWF0aW9uKGV4cGFuZFlXaXRoTWFyZ2luKSksXHJcbl0pO1xyXG5cclxuZXhwb3J0IGNvbnN0IGNvbGxhcHNlTGluZWFyV2l0aE1hcmdpbiA9IHRyaWdnZXIoJ2NvbGxhcHNlTGluZWFyV2l0aE1hcmdpbicsIFtcclxuICBzdGF0ZSgnY29sbGFwc2VkJywgc3R5bGUoeyAnbWFyZ2luLXRvcCc6ICctMTAwJScgfSkpLFxyXG4gIHN0YXRlKCdleHBhbmRlZCcsIHN0eWxlKHsgJ21hcmdpbi10b3AnOiAnMCcgfSkpLFxyXG4gIHRyYW5zaXRpb24oXHJcbiAgICAnZXhwYW5kZWQgPT4gY29sbGFwc2VkJyxcclxuICAgIHVzZUFuaW1hdGlvbihjb2xsYXBzZVlXaXRoTWFyZ2luLCB7IHBhcmFtczogeyB0aW1lOiAnMjAwbXMnLCBlYXNpbmc6ICdsaW5lYXInIH0gfSksXHJcbiAgKSxcclxuICB0cmFuc2l0aW9uKCdjb2xsYXBzZWQgPT4gZXhwYW5kZWQnLCB1c2VBbmltYXRpb24oZXhwYW5kWVdpdGhNYXJnaW4sIHsgcGFyYW1zOiB7IHRpbWU6ICcyNTBtcycsIGVhc2luZzogJ2xpbmVhcicgfSB9KSksXHJcbl0pO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/animations/fade.animations.js b/npm/ng-packs/dist/theme-shared/esm5/lib/animations/fade.animations.js deleted file mode 100644 index b78ef54e0c4..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/animations/fade.animations.js +++ /dev/null @@ -1,53 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/fade.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { animate, animation, style } from '@angular/animations'; -/** @type {?} */ -export var fadeIn = animation([style({ opacity: '0' }), animate('{{ time}} {{ easing }}', style({ opacity: '1' }))], { - params: { time: '350ms', easing: 'ease' }, -}); -/** @type {?} */ -export var fadeOut = animation([style({ opacity: '1' }), animate('{{ time}} {{ easing }}', style({ opacity: '0' }))], { params: { time: '350ms', easing: 'ease' } }); -/** @type {?} */ -export var fadeInDown = animation([ - style({ opacity: '0', transform: '{{ transform }} translateY(-20px)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateY(0)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -export var fadeInUp = animation([ - style({ opacity: '0', transform: '{{ transform }} translateY(20px)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateY(0)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -export var fadeInLeft = animation([ - style({ opacity: '0', transform: '{{ transform }} translateX(20px)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateX(0)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -export var fadeInRight = animation([ - style({ opacity: '0', transform: '{{ transform }} translateX(-20px)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateX(0)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -export var fadeOutDown = animation([ - style({ opacity: '1', transform: '{{ transform }} translateY(0)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateY(20px)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -export var fadeOutUp = animation([ - style({ opacity: '1', transform: '{{ transform }} translateY(0)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateY(-20px)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -export var fadeOutLeft = animation([ - style({ opacity: '1', transform: '{{ transform }} translateX(0)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateX(20px)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -export var fadeOutRight = animation([ - style({ opacity: '1', transform: '{{ transform }} translateX(0)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateX(-20px)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFkZS5hbmltYXRpb25zLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5zaGFyZWQvIiwic291cmNlcyI6WyJsaWIvYW5pbWF0aW9ucy9mYWRlLmFuaW1hdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQzs7QUFFaEUsTUFBTSxLQUFPLE1BQU0sR0FBRyxTQUFTLENBQUMsQ0FBQyxLQUFLLENBQUMsRUFBRSxPQUFPLEVBQUUsR0FBRyxFQUFFLENBQUMsRUFBRSxPQUFPLENBQUMsd0JBQXdCLEVBQUUsS0FBSyxDQUFDLEVBQUUsT0FBTyxFQUFFLEdBQUcsRUFBRSxDQUFDLENBQUMsQ0FBQyxFQUFFO0lBQ3JILE1BQU0sRUFBRSxFQUFFLElBQUksRUFBRSxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBRTtDQUMxQyxDQUFDOztBQUVGLE1BQU0sS0FBTyxPQUFPLEdBQUcsU0FBUyxDQUM5QixDQUFDLEtBQUssQ0FBQyxFQUFFLE9BQU8sRUFBRSxHQUFHLEVBQUUsQ0FBQyxFQUFFLE9BQU8sQ0FBQyx3QkFBd0IsRUFBRSxLQUFL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ICczNTBtcycsIGVhc2luZzogJ2Vhc2UnLCB0cmFuc2Zvcm06ICcnIH0gfSxcclxuKTtcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/animations/index.js b/npm/ng-packs/dist/theme-shared/esm5/lib/animations/index.js deleted file mode 100644 index 27c3210e42c..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/animations/index.js +++ /dev/null @@ -1,11 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { bounceIn } from './bounce.animations'; -export { collapseY, collapseYWithMargin, collapseX, expandY, expandYWithMargin, expandX, collapse, collapseWithMargin, collapseLinearWithMargin } from './collapse.animations'; -export { fadeIn, fadeOut, fadeInDown, fadeInUp, fadeInLeft, fadeInRight, fadeOutDown, fadeOutUp, fadeOutLeft, fadeOutRight } from './fade.animations'; -export { fadeAnimation, dialogAnimation } from './modal.animations'; -export { slideFromBottom } from './slide.animations'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLnNoYXJlZC8iLCJzb3VyY2VzIjpbImxpYi9hbmltYXRpb25zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEseUJBQWMscUJBQXFCLENBQUM7QUFDcEMsdUpBQWMsdUJBQXVCLENBQUM7QUFDdEMsa0lBQWMsbUJBQW1CLENBQUM7QUFDbEMsK0NBQWMsb0JBQW9CLENBQUM7QUFDbkMsZ0NBQWMsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2JvdW5jZS5hbmltYXRpb25zJztcclxuZXhwb3J0ICogZnJvbSAnLi9jb2xsYXBzZS5hbmltYXRpb25zJztcclxuZXhwb3J0ICogZnJvbSAnLi9mYWRlLmFuaW1hdGlvbnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL21vZGFsLmFuaW1hdGlvbnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL3NsaWRlLmFuaW1hdGlvbnMnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/animations/modal.animations.js b/npm/ng-packs/dist/theme-shared/esm5/lib/animations/modal.animations.js deleted file mode 100644 index e6cb3c13e07..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/animations/modal.animations.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/modal.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { transition, trigger, useAnimation } from '@angular/animations'; -import { fadeIn, fadeInDown, fadeOut } from './fade.animations'; -/** @type {?} */ -export var fadeAnimation = trigger('fade', [ - transition(':enter', useAnimation(fadeIn)), - transition(':leave', useAnimation(fadeOut)), -]); -/** @type {?} */ -export var dialogAnimation = trigger('dialog', [ - transition(':enter', useAnimation(fadeInDown)), - transition(':leave', useAnimation(fadeOut)), -]); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwuYW5pbWF0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL2FuaW1hdGlvbnMvbW9kYWwuYW5pbWF0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ3hFLE9BQU8sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLE9BQU8sRUFBRSxNQUF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sIHVzZUFuaW1hdGlvbihmYWRlT3V0KSksXHJcbl0pO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/animations/slide.animations.js b/npm/ng-packs/dist/theme-shared/esm5/lib/animations/slide.animations.js deleted file mode 100644 index a779e807e56..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/animations/slide.animations.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/slide.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { animate, style, transition, trigger } from '@angular/animations'; -/** @type {?} */ -export var slideFromBottom = trigger('slideFromBottom', [ - transition('* <=> *', [ - style({ 'margin-top': '20px', opacity: '0' }), - animate('0.2s ease-out', style({ opacity: '1', 'margin-top': '0px' })), - ]), -]); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGUuYW5pbWF0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL2FuaW1hdGlvbnMvc2xpZGUuYW5pbWF0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxPQUFPLEVBQVMsS0FBSyxFQUFFLFVBQVUsRUFBRSxPQUFPLEVBQVMsTUFBTSxxQkFBcUIsQ0FBQzs7QUFDeEYsTUFBTSxLQUFPLGVBQWUsR0FBRyxPQUFPLENBQUMsaUJBQWlCLEVBQUU7SUFDeEQsVUFBVSxDQUFDLFNBQVMsRUFBRTtRQUNwQixLQUFLLENBQUMsRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFFLE9BQU8sRUFBRSxHQUFHLEVBQUUsQ0FBQztRQUM3QyxPQUFPLENBQUMsZUFBZSxFQUFFLEtBQUssQ0FBQyxFQUFFLE9BQU8sRUFBRSxHQUFHLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxDQUFDLENBQUM7S0FDdkUsQ0FBQztDQUNILENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBhbmltYXRlLCBzdGF0ZSwgc3R5bGUsIHRyYW5zaXRpb24sIHRyaWdnZXIsIHF1ZXJ5IH0gZnJvbSAnQGFuZ3VsYXIvYW5pbWF0aW9ucyc7XHJcbmV4cG9ydCBjb25zdCBzbGlkZUZyb21Cb3R0b20gPSB0cmlnZ2VyKCdzbGlkZUZyb21Cb3R0b20nLCBbXHJcbiAgdHJhbnNpdGlvbignKiA8PT4gKicsIFtcclxuICAgIHN0eWxlKHsgJ21hcmdpbi10b3AnOiAnMjBweCcsIG9wYWNpdHk6ICcwJyB9KSxcclxuICAgIGFuaW1hdGUoJzAuMnMgZWFzZS1vdXQnLCBzdHlsZSh7IG9wYWNpdHk6ICcxJywgJ21hcmdpbi10b3AnOiAnMHB4JyB9KSksXHJcbiAgXSksXHJcbl0pO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/components/breadcrumb/breadcrumb.component.js b/npm/ng-packs/dist/theme-shared/esm5/lib/components/breadcrumb/breadcrumb.component.js deleted file mode 100644 index e82576bb610..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/components/breadcrumb/breadcrumb.component.js +++ /dev/null @@ -1,98 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/breadcrumb/breadcrumb.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Component } from '@angular/core'; -import { Router } from '@angular/router'; -import { Store } from '@ngxs/store'; -import { ConfigState } from '@abp/ng.core'; -var BreadcrumbComponent = /** @class */ (function () { - function BreadcrumbComponent(router, store) { - this.router = router; - this.store = store; - this.segments = []; - } - /** - * @return {?} - */ - BreadcrumbComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.show = !!this.store.selectSnapshot((/** - * @param {?} state - * @return {?} - */ - function (state) { return state.LeptonLayoutState; })); - if (this.show) { - /** @type {?} */ - var splittedUrl = this.router.url.split('/').filter((/** - * @param {?} chunk - * @return {?} - */ - function (chunk) { return chunk; })); - /** @type {?} */ - var currentUrl = this.store.selectSnapshot(ConfigState.getRoute(splittedUrl[0])); - if (!currentUrl) { - currentUrl = this.store.selectSnapshot(ConfigState.getRoute(null, null, this.router.url)); - splittedUrl = [this.router.url]; - if (!currentUrl) { - this.show = false; - return; - } - } - this.segments.push(currentUrl.name); - if (splittedUrl.length > 1) { - var _a = tslib_1.__read(splittedUrl), arr = _a.slice(1); - /** @type {?} */ - var childRoute = currentUrl; - var _loop_1 = function (i) { - /** @type {?} */ - var element = arr[i]; - childRoute = childRoute.children.find((/** - * @param {?} child - * @return {?} - */ - function (child) { return child.path === element; })); - this_1.segments.push(childRoute.name); - }; - var this_1 = this; - for (var i = 0; i < arr.length; i++) { - _loop_1(i); - } - } - } - }; - BreadcrumbComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-breadcrumb', - template: "
      \r\n
    1. \r\n \r\n
    2. \r\n \r\n {{ segment | abpLocalization }}\r\n \r\n
    \r\n" - }] } - ]; - /** @nocollapse */ - BreadcrumbComponent.ctorParameters = function () { return [ - { type: Router }, - { type: Store } - ]; }; - return BreadcrumbComponent; -}()); -export { BreadcrumbComponent }; -if (false) { - /** @type {?} */ - BreadcrumbComponent.prototype.show; - /** @type {?} */ - BreadcrumbComponent.prototype.segments; - /** - * @type {?} - * @private - */ - BreadcrumbComponent.prototype.router; - /** - * @type {?} - * @private - */ - BreadcrumbComponent.prototype.store; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lL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Jlbi5maW5kKGNoaWxkID0+IGNoaWxkLnBhdGggPT09IGVsZW1lbnQpO1xyXG5cclxuICAgICAgICAgIHRoaXMuc2VnbWVudHMucHVzaChjaGlsZFJvdXRlLm5hbWUpO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/components/button/button.component.js b/npm/ng-packs/dist/theme-shared/esm5/lib/components/button/button.component.js deleted file mode 100644 index 385cc803744..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/components/button/button.component.js +++ /dev/null @@ -1,135 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/button/button.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component, EventEmitter, Input, Output, ViewChild, ElementRef, Renderer2, } from '@angular/core'; -var ButtonComponent = /** @class */ (function () { - function ButtonComponent(renderer) { - this.renderer = renderer; - this.buttonId = ''; - this.buttonClass = 'btn btn-primary'; - this.buttonType = 'button'; - this.loading = false; - this.disabled = false; - // tslint:disable - /** - * @deprecated use abpClick instead - */ - this.click = new EventEmitter(); - /** - * @deprecated use abpFocus instead - */ - // tslint:disable-next-line: no-output-native - this.focus = new EventEmitter(); - /** - * @deprecated use abpBlur instead - */ - this.blur = new EventEmitter(); - // tslint:enable - this.abpClick = new EventEmitter(); - this.abpFocus = new EventEmitter(); - this.abpBlur = new EventEmitter(); - } - Object.defineProperty(ButtonComponent.prototype, "icon", { - get: /** - * @return {?} - */ - function () { - return "" + (this.loading ? 'fa fa-spinner fa-spin' : this.iconClass || 'd-none'); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - ButtonComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - var _this = this; - if (this.attributes) { - Object.keys(this.attributes).forEach((/** - * @param {?} key - * @return {?} - */ - function (key) { - _this.renderer.setAttribute(_this.buttonRef.nativeElement, key, _this.attributes[key]); - })); - } - }; - ButtonComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-button', - template: "\n \n \n \n " - }] } - ]; - /** @nocollapse */ - ButtonComponent.ctorParameters = function () { return [ - { type: Renderer2 } - ]; }; - ButtonComponent.propDecorators = { - buttonId: [{ type: Input }], - buttonClass: [{ type: Input }], - buttonType: [{ type: Input }], - iconClass: [{ type: Input }], - loading: [{ type: Input }], - disabled: [{ type: Input }], - attributes: [{ type: Input }], - click: [{ type: Output }], - focus: [{ type: Output }], - blur: [{ type: Output }], - abpClick: [{ type: Output }], - abpFocus: [{ type: Output }], - abpBlur: [{ type: Output }], - buttonRef: [{ type: ViewChild, args: ['button', { static: true },] }] - }; - return ButtonComponent; -}()); -export { ButtonComponent }; -if (false) { - /** @type {?} */ - ButtonComponent.prototype.buttonId; - /** @type {?} */ - ButtonComponent.prototype.buttonClass; - /** @type {?} */ - ButtonComponent.prototype.buttonType; - /** @type {?} */ - ButtonComponent.prototype.iconClass; - /** @type {?} */ - ButtonComponent.prototype.loading; - /** @type {?} */ - ButtonComponent.prototype.disabled; - /** @type {?} */ - ButtonComponent.prototype.attributes; - /** - * @deprecated use abpClick instead - * @type {?} - */ - ButtonComponent.prototype.click; - /** - * @deprecated use abpFocus instead - * @type {?} - */ - ButtonComponent.prototype.focus; - /** - * @deprecated use abpBlur instead - * @type {?} - */ - ButtonComponent.prototype.blur; - /** @type {?} */ - ButtonComponent.prototype.abpClick; - /** @type {?} */ - ButtonComponent.prototype.abpFocus; - /** @type {?} */ - ButtonComponent.prototype.abpBlur; - /** @type {?} */ - ButtonComponent.prototype.buttonRef; - /** - * @type {?} - * @private - */ - ButtonComponent.prototype.renderer; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIs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PdXRwdXQoKSByZWFkb25seSBhYnBDbGljayA9IG5ldyBFdmVudEVtaXR0ZXI8TW91c2VFdmVudD4oKTtcclxuXHJcbiAgQE91dHB1dCgpIHJlYWRvbmx5IGFicEZvY3VzID0gbmV3IEV2ZW50RW1pdHRlcjxGb2N1c0V2ZW50PigpO1xyXG5cclxuICBAT3V0cHV0KCkgcmVhZG9ubHkgYWJwQmx1ciA9IG5ldyBFdmVudEVtaXR0ZXI8Rm9jdXNFdmVudD4oKTtcclxuXHJcbiAgQFZpZXdDaGlsZCgnYnV0dG9uJywgeyBzdGF0aWM6IHRydWUgfSlcclxuICBidXR0b25SZWY6IEVsZW1lbnRSZWY8SFRNTEJ1dHRvbkVsZW1lbnQ+O1xyXG5cclxuICBnZXQgaWNvbigpOiBzdHJpbmcge1xyXG4gICAgcmV0dXJuIGAke3RoaXMubG9hZGluZyA/ICdmYSBmYS1zcGlubmVyIGZhLXNwaW4nIDogdGhpcy5pY29uQ2xhc3MgfHwgJ2Qtbm9uZSd9YDtcclxuICB9XHJcblxyXG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgcmVuZGVyZXI6IFJlbmRlcmVyMikge31cclxuXHJcbiAgbmdPbkluaXQoKSB7XHJcbiAgICBpZiAodGhpcy5hdHRyaWJ1dGVzKSB7XHJcbiAgICAgIE9iamVjdC5rZXlzKHRoaXMuYXR0cmlidXRlcykuZm9yRWFjaChrZXkgPT4ge1xyXG4gICAgICAgIHRoaXMucmVuZGVyZXIuc2V0QXR0cmlidXRlKHRoaXMuYnV0dG9uUmVmLm5hdGl2ZUVsZW1lbnQsIGtleSwgdGhpcy5hdHRyaWJ1dGVzW2tleV0pO1xyXG4gICAgICB9KTtcclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/components/chart/chart.component.js b/npm/ng-packs/dist/theme-shared/esm5/lib/components/chart/chart.component.js deleted file mode 100644 index 0fafc1f3d06..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/components/chart/chart.component.js +++ /dev/null @@ -1,237 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/chart/chart.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component, ElementRef, EventEmitter, Input, Output, ChangeDetectorRef, } from '@angular/core'; -import { BehaviorSubject } from 'rxjs'; -import { chartJsLoaded$ } from '../../utils/widget-utils'; -var ChartComponent = /** @class */ (function () { - function ChartComponent(el, cdRef) { - var _this = this; - this.el = el; - this.cdRef = cdRef; - this.options = {}; - this.plugins = []; - this.responsive = true; - // tslint:disable-next-line: no-output-on-prefix - this.onDataSelect = new EventEmitter(); - this.initialized = new BehaviorSubject(this); - this.onCanvasClick = (/** - * @param {?} event - * @return {?} - */ - function (event) { - if (_this.chart) { - /** @type {?} */ - var element = _this.chart.getElementAtEvent(event); - /** @type {?} */ - var dataset = _this.chart.getDatasetAtEvent(event); - if (element && element.length && dataset) { - _this.onDataSelect.emit({ - originalEvent: event, - element: element[0], - dataset: dataset, - }); - } - } - }); - this.initChart = (/** - * @return {?} - */ - function () { - /** @type {?} */ - var opts = _this.options || {}; - opts.responsive = _this.responsive; - // allows chart to resize in responsive mode - if (opts.responsive && (_this.height || _this.width)) { - opts.maintainAspectRatio = false; - } - _this.chart = new Chart(_this.canvas, { - type: _this.type, - data: _this.data, - options: _this.options, - plugins: _this.plugins, - }); - _this.cdRef.detectChanges(); - }); - this.generateLegend = (/** - * @return {?} - */ - function () { - if (_this.chart) { - return _this.chart.generateLegend(); - } - }); - this.refresh = (/** - * @return {?} - */ - function () { - if (_this.chart) { - _this.chart.update(); - _this.cdRef.detectChanges(); - } - }); - this.reinit = (/** - * @return {?} - */ - function () { - if (_this.chart) { - _this.chart.destroy(); - _this.initChart(); - } - }); - } - Object.defineProperty(ChartComponent.prototype, "data", { - get: /** - * @return {?} - */ - function () { - return this._data; - }, - set: /** - * @param {?} val - * @return {?} - */ - function (val) { - this._data = val; - this.reinit(); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ChartComponent.prototype, "canvas", { - get: /** - * @return {?} - */ - function () { - return this.el.nativeElement.children[0].children[0]; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ChartComponent.prototype, "base64Image", { - get: /** - * @return {?} - */ - function () { - return this.chart.toBase64Image(); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - ChartComponent.prototype.ngAfterViewInit = /** - * @return {?} - */ - function () { - var _this = this; - chartJsLoaded$.subscribe((/** - * @return {?} - */ - function () { - _this.testChartJs(); - _this.initChart(); - _this._initialized = true; - })); - }; - /** - * @return {?} - */ - ChartComponent.prototype.testChartJs = /** - * @return {?} - */ - function () { - try { - // tslint:disable-next-line: no-unused-expression - Chart; - } - catch (error) { - throw new Error("Chart is not found. Import the Chart from app.module like shown below:\n import('chart.js');\n "); - } - }; - /** - * @return {?} - */ - ChartComponent.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { - if (this.chart) { - this.chart.destroy(); - this._initialized = false; - this.chart = null; - } - }; - ChartComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-chart', - template: "\r\n \r\n\r\n" - }] } - ]; - /** @nocollapse */ - ChartComponent.ctorParameters = function () { return [ - { type: ElementRef }, - { type: ChangeDetectorRef } - ]; }; - ChartComponent.propDecorators = { - type: [{ type: Input }], - options: [{ type: Input }], - plugins: [{ type: Input }], - width: [{ type: Input }], - height: [{ type: Input }], - responsive: [{ type: Input }], - onDataSelect: [{ type: Output }], - initialized: [{ type: Output }], - data: [{ type: Input }] - }; - return ChartComponent; -}()); -export { ChartComponent }; -if (false) { - /** @type {?} */ - ChartComponent.prototype.type; - /** @type {?} */ - ChartComponent.prototype.options; - /** @type {?} */ - ChartComponent.prototype.plugins; - /** @type {?} */ - ChartComponent.prototype.width; - /** @type {?} */ - ChartComponent.prototype.height; - /** @type {?} */ - ChartComponent.prototype.responsive; - /** @type {?} */ - ChartComponent.prototype.onDataSelect; - /** @type {?} */ - ChartComponent.prototype.initialized; - /** - * @type {?} - * @private - */ - ChartComponent.prototype._initialized; - /** @type {?} */ - ChartComponent.prototype._data; - /** @type {?} */ - ChartComponent.prototype.chart; - /** @type {?} */ - ChartComponent.prototype.onCanvasClick; - /** @type {?} */ - ChartComponent.prototype.initChart; - /** @type {?} */ - ChartComponent.prototype.generateLegend; - /** @type {?} */ - ChartComponent.prototype.refresh; - /** @type {?} */ - ChartComponent.prototype.reinit; - /** @type {?} */ - ChartComponent.prototype.el; - /** - * @type {?} - * @private - */ - ChartComponent.prototype.cdRef; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5zaGFyZWQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9jaGFydC9jaGFydC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBRUwsU0FBUyxFQUNULFVBQVUsRUFDVixZQUFZLEVBQ1osS0FBSyxFQUVMLE1BQU0sRUFDTixpQkFBaUIsR0FDbEIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUN2QyxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFHMUQ7SUE0QkUsd0JBQW1CLEVBQWMsRUFBVSxLQUF3QjtRQUFuRSxpQkFBdUU7UUFBcEQsT0FBRSxHQUFGLEVBQUUsQ0FBWTtRQUFVLFVBQUssR0FBTCxLQUFLLENBQW1CO1FBckIxRCxZQUFPLEdBQVEsRUFBRSxDQUFDO1FBRWxCLFlBQU8sR0FBVSxFQUFFLENBQUM7UUFNcEIsZUFBVSxHQUFHLElBQUksQ0FBQzs7UUFHUix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oYXJ0LmdlbmVyYXRlTGVnZW5kKCk7XHJcbiAgICB9XHJcbiAgfTtcclxuXHJcbiAgcmVmcmVzaCA9ICgpID0+IHtcclxuICAgIGlmICh0aGlzLmNoYXJ0KSB7XHJcbiAgICAgIHRoaXMuY2hhcnQudXBkYXRlKCk7XHJcbiAgICAgIHRoaXMuY2RSZWYuZGV0ZWN0Q2hhbmdlcygpO1xyXG4gICAgfVxyXG4gIH07XHJcblxyXG4gIHJlaW5pdCA9ICgpID0+IHtcclxuICAgIGlmICh0aGlzLmNoYXJ0KSB7XHJcbiAgICAgIHRoaXMuY2hhcnQuZGVzdHJveSgpO1xyXG4gICAgICB0aGlzLmluaXRDaGFydCgpO1xyXG4gICAgfVxyXG4gIH07XHJcblxyXG4gIG5nT25EZXN0cm95KCkge1xyXG4gICAgaWYgKHRoaXMuY2hhcnQpIHtcclxuICAgICAgdGhpcy5jaGFydC5kZXN0cm95KCk7XHJcbiAgICAgIHRoaXMuX2luaXRpYWxpemVkID0gZmFsc2U7XHJcbiAgICAgIHRoaXMuY2hhcnQgPSBudWxsO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/components/confirmation/confirmation.component.js b/npm/ng-packs/dist/theme-shared/esm5/lib/components/confirmation/confirmation.component.js deleted file mode 100644 index b550b7fd3f1..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/components/confirmation/confirmation.component.js +++ /dev/null @@ -1,53 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/confirmation/confirmation.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component } from '@angular/core'; -import { ConfirmationService } from '../../services/confirmation.service'; -var ConfirmationComponent = /** @class */ (function () { - function ConfirmationComponent(confirmationService) { - this.confirmationService = confirmationService; - this.confirm = "confirm" /* confirm */; - this.reject = "reject" /* reject */; - this.dismiss = "dismiss" /* dismiss */; - } - /** - * @param {?} status - * @return {?} - */ - ConfirmationComponent.prototype.close = /** - * @param {?} status - * @return {?} - */ - function (status) { - this.confirmationService.clear(status); - }; - ConfirmationComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-confirmation', - // tslint:disable-next-line: component-max-inline-declarations - template: "\n \n \n \n
    \n {{ message.summary | abpLocalization: message.titleLocalizationParams }}\n
    \n
    \n {{ message.detail | abpLocalization: message.messageLocalizationParams }}\n
    \n\n \n
    \n \n " - }] } - ]; - /** @nocollapse */ - ConfirmationComponent.ctorParameters = function () { return [ - { type: ConfirmationService } - ]; }; - return ConfirmationComponent; -}()); -export { ConfirmationComponent }; -if (false) { - /** @type {?} */ - ConfirmationComponent.prototype.confirm; - /** @type {?} */ - ConfirmationComponent.prototype.reject; - /** @type {?} */ - ConfirmationComponent.prototype.dismiss; - /** - * @type {?} - * @private - */ - ConfirmationComponent.prototype.confirmationService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybWF0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvY29uZmlybWF0aW9uL2NvbmZpcm1hdGlvbi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHFDQUFxQyxDQUFDO0FBRzFFO0lBbURFLCtCQUFvQixtQkFBd0M7UUFBeEMsd0JBQW1CLEdBQW5CLG1CQUFtQixDQUFxQjtRQUo1RCxZQUFPLDJCQUEwQjtRQUNqQyxXQUFNLHlCQUF5QjtRQUMvQixZQUFPLDJCQUEwQjtJQUU4QixDQUFDOzs7Ozt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lYXIoc3RhdHVzKTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/components/http-error-wrapper/http-error-wrapper.component.js b/npm/ng-packs/dist/theme-shared/esm5/lib/components/http-error-wrapper/http-error-wrapper.component.js deleted file mode 100644 index 1383ff5cec8..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/components/http-error-wrapper/http-error-wrapper.component.js +++ /dev/null @@ -1,126 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/http-error-wrapper/http-error-wrapper.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { takeUntilDestroy } from '@abp/ng.core'; -import { Component, ElementRef, ViewChild, } from '@angular/core'; -import { fromEvent } from 'rxjs'; -import { debounceTime, filter } from 'rxjs/operators'; -import snq from 'snq'; -var HttpErrorWrapperComponent = /** @class */ (function () { - function HttpErrorWrapperComponent() { - this.status = 0; - this.title = 'Oops!'; - this.details = 'Sorry, an error has occured.'; - this.customComponent = null; - this.hideCloseIcon = false; - } - Object.defineProperty(HttpErrorWrapperComponent.prototype, "statusText", { - get: /** - * @return {?} - */ - function () { - return this.status ? "[" + this.status + "]" : ''; - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - HttpErrorWrapperComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.backgroundColor = - snq((/** - * @return {?} - */ - function () { return window.getComputedStyle(document.body).getPropertyValue('background-color'); })) || '#fff'; - }; - /** - * @return {?} - */ - HttpErrorWrapperComponent.prototype.ngAfterViewInit = /** - * @return {?} - */ - function () { - var _this = this; - if (this.customComponent) { - /** @type {?} */ - var customComponentRef = this.cfRes.resolveComponentFactory(this.customComponent).create(this.injector); - customComponentRef.instance.errorStatus = this.status; - customComponentRef.instance.destroy$ = this.destroy$; - this.appRef.attachView(customComponentRef.hostView); - this.containerRef.nativeElement.appendChild(((/** @type {?} */ (customComponentRef.hostView))).rootNodes[0]); - customComponentRef.changeDetectorRef.detectChanges(); - } - fromEvent(document, 'keyup') - .pipe(takeUntilDestroy(this), debounceTime(150), filter((/** - * @param {?} key - * @return {?} - */ - function (key) { return key && key.key === 'Escape'; }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.destroy(); - })); - }; - /** - * @return {?} - */ - HttpErrorWrapperComponent.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - /** - * @return {?} - */ - HttpErrorWrapperComponent.prototype.destroy = /** - * @return {?} - */ - function () { - this.destroy$.next(); - this.destroy$.complete(); - }; - HttpErrorWrapperComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-http-error-wrapper', - template: "
    \r\n \r\n\r\n
    \r\n
    \r\n
    \r\n

    {{ statusText }} {{ title | abpLocalization }}

    \r\n
    \r\n {{ details | abpLocalization }}\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n", - styles: [".error{position:fixed;top:0;width:100vw;height:100vh;z-index:999999}.centered{position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}"] - }] } - ]; - HttpErrorWrapperComponent.propDecorators = { - containerRef: [{ type: ViewChild, args: ['container', { static: false },] }] - }; - return HttpErrorWrapperComponent; -}()); -export { HttpErrorWrapperComponent }; -if (false) { - /** @type {?} */ - HttpErrorWrapperComponent.prototype.appRef; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.cfRes; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.injector; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.status; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.title; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.details; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.customComponent; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.destroy$; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.hideCloseIcon; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.backgroundColor; - /** @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4gICAgICB0aGlzLmFwcFJlZi5hdHRhY2hWaWV3KGN1c3RvbUNvbXBvbmVudFJlZi5ob3N0Vmlldyk7XHJcbiAgICAgIHRoaXMuY29udGFpbmVyUmVmLm5hdGl2ZUVsZW1lbnQuYXBwZW5kQ2hpbGQoKGN1c3RvbUNvbXBvbmVudFJlZi5ob3N0VmlldyBhcyBFbWJlZGRlZFZpZXdSZWY8YW55Pikucm9vdE5vZGVzWzBdKTtcclxuICAgICAgY3VzdG9tQ29tcG9uZW50UmVmLmNoYW5nZURldGVjdG9yUmVmLmRldGVjdENoYW5nZXMoKTtcclxuICAgIH1cclxuXHJcbiAgICBmcm9tRXZlbnQoZG9jdW1lbnQsICdrZXl1cCcpXHJcbiAgICAgIC5waXBlKFxyXG4gICAgICAgIHRha2VVbnRpbERlc3Ryb3kodGhpcyksXHJcbiAgICAgICAgZGVib3VuY2VUaW1lKDE1MCksXHJcbiAgICAgICAgZmlsdGVyKChrZXk6IEtleWJvYXJkRXZlbnQpID0+IGtleSAmJiBrZXkua2V5ID09PSAnRXNjYXBlJyksXHJcbiAgICAgIClcclxuICAgICAgLnN1YnNjcmliZSgoKSA9PiB7XHJcbiAgICAgICAgdGhpcy5kZXN0cm95KCk7XHJcbiAgICAgIH0pO1xyXG4gIH1cclxuXHJcbiAgbmdPbkRlc3Ryb3koKSB7fVxyXG5cclxuICBkZXN0cm95KCkge1xyXG4gICAgdGhpcy5kZXN0cm95JC5uZXh0KCk7XHJcbiAgICB0aGlzLmRlc3Ryb3kkLmNvbXBsZXRlKCk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/components/index.js b/npm/ng-packs/dist/theme-shared/esm5/lib/components/index.js deleted file mode 100644 index 2b6f8abb246..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/components/index.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { BreadcrumbComponent } from './breadcrumb/breadcrumb.component'; -export { ButtonComponent } from './button/button.component'; -export { ChartComponent } from './chart/chart.component'; -export { ConfirmationComponent } from './confirmation/confirmation.component'; -export { LoaderBarComponent } from './loader-bar/loader-bar.component'; -export { ModalComponent } from './modal/modal.component'; -export { TableEmptyMessageComponent } from './table-empty-message/table-empty-message.component'; -export { ToastComponent } from './toast/toast.component'; -export { SortOrderIconComponent } from './sort-order-icon/sort-order-icon.component'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLnNoYXJlZC8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsb0NBQWMsbUNBQW1DLENBQUM7QUFDbEQsZ0NBQWMsMkJBQTJCLENBQUM7QUFDMUMsK0JBQWMseUJBQXlCLENBQUM7QUFDeEMsc0NBQWMsdUNBQXVDLENBQUM7QUFDdEQsbUNBQWMsbUNBQW1DLENBQUM7QUFDbEQsK0JBQWMseUJBQXlCLENBQUM7QUFDeEMsMkNBQWMscURBQXFELENBQUM7QUFDcEUsK0JBQWMseUJBQXlCLENBQUM7QUFDeEMsdUNBQWMsNkNBQTZDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2JyZWFkY3J1bWIvYnJlYWRjcnVtYi5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2J1dHRvbi9idXR0b24uY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9jaGFydC9jaGFydC5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2NvbmZpcm1hdGlvbi9jb25maXJtYXRpb24uY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9sb2FkZXItYmFyL2xvYWRlci1iYXIuY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9tb2RhbC9tb2RhbC5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL3RhYmxlLWVtcHR5LW1lc3NhZ2UvdGFibGUtZW1wdHktbWVzc2FnZS5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL3RvYXN0L3RvYXN0LmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc29ydC1vcmRlci1pY29uL3NvcnQtb3JkZXItaWNvbi5jb21wb25lbnQnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/components/loader-bar/loader-bar.component.js b/npm/ng-packs/dist/theme-shared/esm5/lib/components/loader-bar/loader-bar.component.js deleted file mode 100644 index 7953ee616d1..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/components/loader-bar/loader-bar.component.js +++ /dev/null @@ -1,196 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/loader-bar/loader-bar.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { StartLoader, StopLoader } from '@abp/ng.core'; -import { ChangeDetectorRef, Component, Input } from '@angular/core'; -import { NavigationEnd, NavigationError, NavigationStart, Router } from '@angular/router'; -import { takeUntilDestroy } from '@ngx-validate/core'; -import { Actions, ofActionSuccessful } from '@ngxs/store'; -import { interval, timer } from 'rxjs'; -import { filter } from 'rxjs/operators'; -var LoaderBarComponent = /** @class */ (function () { - function LoaderBarComponent(actions, router, cdRef) { - this.actions = actions; - this.router = router; - this.cdRef = cdRef; - this.containerClass = 'abp-loader-bar'; - this.color = '#77b6ff'; - this.isLoading = false; - this.progressLevel = 0; - this.intervalPeriod = 350; - this.stopDelay = 820; - this.filter = (/** - * @param {?} action - * @return {?} - */ - function (action) { return action.payload.url.indexOf('openid-configuration') < 0; }); - } - Object.defineProperty(LoaderBarComponent.prototype, "boxShadow", { - get: /** - * @return {?} - */ - function () { - return "0 0 10px rgba(" + this.color + ", 0.5)"; - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - LoaderBarComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - var _this = this; - this.actions - .pipe(ofActionSuccessful(StartLoader, StopLoader), filter(this.filter), takeUntilDestroy(this)) - .subscribe((/** - * @param {?} action - * @return {?} - */ - function (action) { - if (action instanceof StartLoader) - _this.startLoading(); - else - _this.stopLoading(); - })); - this.router.events - .pipe(filter((/** - * @param {?} event - * @return {?} - */ - function (event) { - return event instanceof NavigationStart || event instanceof NavigationEnd || event instanceof NavigationError; - })), takeUntilDestroy(this)) - .subscribe((/** - * @param {?} event - * @return {?} - */ - function (event) { - if (event instanceof NavigationStart) - _this.startLoading(); - else - _this.stopLoading(); - })); - }; - /** - * @return {?} - */ - LoaderBarComponent.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { - this.interval.unsubscribe(); - }; - /** - * @return {?} - */ - LoaderBarComponent.prototype.startLoading = /** - * @return {?} - */ - function () { - var _this = this; - if (this.isLoading || this.progressLevel !== 0) - return; - this.isLoading = true; - this.interval = interval(this.intervalPeriod).subscribe((/** - * @return {?} - */ - function () { - if (_this.progressLevel < 75) { - _this.progressLevel += Math.random() * 10; - } - else if (_this.progressLevel < 90) { - _this.progressLevel += 0.4; - } - else if (_this.progressLevel < 100) { - _this.progressLevel += 0.1; - } - else { - _this.interval.unsubscribe(); - } - _this.cdRef.detectChanges(); - })); - }; - /** - * @return {?} - */ - LoaderBarComponent.prototype.stopLoading = /** - * @return {?} - */ - function () { - var _this = this; - this.interval.unsubscribe(); - this.progressLevel = 100; - this.isLoading = false; - if (this.timer && !this.timer.closed) - return; - this.timer = timer(this.stopDelay).subscribe((/** - * @return {?} - */ - function () { - _this.progressLevel = 0; - _this.cdRef.detectChanges(); - })); - }; - LoaderBarComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-loader-bar', - template: "\n
    \n
    \n \n ", - styles: [".abp-loader-bar{left:0;opacity:0;position:fixed;top:0;-webkit-transition:opacity .4s linear .4s;transition:opacity .4s linear .4s;z-index:99999}.abp-loader-bar.is-loading{opacity:1;-webkit-transition:none;transition:none}.abp-loader-bar .abp-progress{height:3px;left:0;position:fixed;top:0;-webkit-transition:width .4s;transition:width .4s}"] - }] } - ]; - /** @nocollapse */ - LoaderBarComponent.ctorParameters = function () { return [ - { type: Actions }, - { type: Router }, - { type: ChangeDetectorRef } - ]; }; - LoaderBarComponent.propDecorators = { - containerClass: [{ type: Input }], - color: [{ type: Input }], - isLoading: [{ type: Input }], - filter: [{ type: Input }] - }; - return LoaderBarComponent; -}()); -export { LoaderBarComponent }; -if (false) { - /** @type {?} */ - LoaderBarComponent.prototype.containerClass; - /** @type {?} */ - LoaderBarComponent.prototype.color; - /** @type {?} */ - LoaderBarComponent.prototype.isLoading; - /** @type {?} */ - LoaderBarComponent.prototype.progressLevel; - /** @type {?} */ - LoaderBarComponent.prototype.interval; - /** @type {?} */ - LoaderBarComponent.prototype.timer; - /** @type {?} */ - LoaderBarComponent.prototype.intervalPeriod; - /** @type {?} */ - LoaderBarComponent.prototype.stopDelay; - /** @type {?} */ - LoaderBarComponent.prototype.filter; - /** - * @type {?} - * @private - */ - LoaderBarComponent.prototype.actions; - /** - * @type {?} - * @private - */ - LoaderBarComponent.prototype.router; - /** - * @type {?} - * @private - */ - LoaderBarComponent.prototype.cdRef; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGVyLWJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLnNoYXJlZC8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2xvYWRlci1iYXIvbG9hZGVyLWJhci5jb21wb25lbnQudHMiXSwibm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ID0gaW50ZXJ2YWwodGhpcy5pbnRlcnZhbFBlcmlvZCkuc3Vic2NyaWJlKCgpID0+IHtcclxuICAgICAgaWYgKHRoaXMucHJvZ3Jlc3NMZXZlbCA8IDc1KSB7XHJcbiAgICAgICAgdGhpcy5wcm9ncmVzc0xldmVsICs9IE1hdGgucmFuZG9tKCkgKiAxMDtcclxuICAgICAgfSBlbHNlIGlmICh0aGlzLnByb2dyZXNzTGV2ZWwgPCA5MCkge1xyXG4gICAgICAgIHRoaXMucHJvZ3Jlc3NMZXZlbCArPSAwLjQ7XHJcbiAgICAgIH0gZWxzZSBpZiAodGhpcy5wcm9ncmVzc0xldmVsIDwgMTAwKSB7XHJcbiAgICAgICAgdGhpcy5wcm9ncmVzc0xldmVsICs9IDAuMTtcclxuICAgICAgfSBlbHNlIHtcclxuICAgICAgICB0aGlzLmludGVydmFsLnVuc3Vic2NyaWJlKCk7XHJcbiAgICAgIH1cclxuICAgICAgdGhpcy5jZFJlZi5kZXRlY3RDaGFuZ2VzKCk7XHJcbiAgICB9KTtcclxuICB9XHJcblxyXG4gIHN0b3BMb2FkaW5nKCkge1xyXG4gICAgdGhpcy5pbnRlcnZhbC51bnN1YnNjcmliZSgpO1xyXG4gICAgdGhpcy5wcm9ncmVzc0xldmVsID0gMTAwO1xyXG4gICAgdGhpcy5pc0xvYWRpbmcgPSBmYWxzZTtcclxuICAgIGlmICh0aGlzLnRpbWVyICYmICF0aGlzLnRpbWVyLmNsb3NlZCkgcmV0dXJuO1xyXG5cclxuICAgIHRoaXMudGltZXIgPSB0aW1lcih0aGlzLnN0b3BEZWxheSkuc3Vic2NyaWJlKCgpID0+IHtcclxuICAgICAgdGhpcy5wcm9ncmVzc0xldmVsID0gMDtcclxuICAgICAgdGhpcy5jZFJlZi5kZXRlY3RDaGFuZ2VzKCk7XHJcbiAgICB9KTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/components/modal/modal.component.js b/npm/ng-packs/dist/theme-shared/esm5/lib/components/modal/modal.component.js deleted file mode 100644 index 79442c0456c..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/components/modal/modal.component.js +++ /dev/null @@ -1,276 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/modal/modal.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Component, ContentChild, ElementRef, EventEmitter, Input, Output, Renderer2, TemplateRef, ViewChild, ViewChildren, } from '@angular/core'; -import { fromEvent, Subject } from 'rxjs'; -import { debounceTime, filter, takeUntil } from 'rxjs/operators'; -import { fadeAnimation } from '../../animations/modal.animations'; -import { ConfirmationService } from '../../services/confirmation.service'; -import { ButtonComponent } from '../button/button.component'; -var ModalComponent = /** @class */ (function () { - function ModalComponent(renderer, confirmationService) { - this.renderer = renderer; - this.confirmationService = confirmationService; - this.centered = false; - this.modalClass = ''; - this.size = 'lg'; - this.visibleChange = new EventEmitter(); - this.init = new EventEmitter(); - this.appear = new EventEmitter(); - this.disappear = new EventEmitter(); - this._visible = false; - this._busy = false; - this.isModalOpen = false; - this.isConfirmationOpen = false; - this.destroy$ = new Subject(); - } - Object.defineProperty(ModalComponent.prototype, "visible", { - get: /** - * @return {?} - */ - function () { - return this._visible; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - var _this = this; - if (typeof value !== 'boolean') - return; - this.isModalOpen = value; - this._visible = value; - this.visibleChange.emit(value); - if (value) { - setTimeout((/** - * @return {?} - */ - function () { return _this.listen(); }), 0); - this.renderer.addClass(document.body, 'modal-open'); - this.appear.emit(); - } - else { - this.renderer.removeClass(document.body, 'modal-open'); - this.disappear.emit(); - this.destroy$.next(); - } - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ModalComponent.prototype, "busy", { - get: /** - * @return {?} - */ - function () { - return this._busy; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - if (this.abpSubmit && this.abpSubmit instanceof ButtonComponent) { - this.abpSubmit.loading = value; - } - this._busy = value; - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - ModalComponent.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { - this.destroy$.next(); - }; - /** - * @return {?} - */ - ModalComponent.prototype.close = /** - * @return {?} - */ - function () { - var _this = this; - if (this.busy) - return; - /** @type {?} */ - var node; - if (!this.modalContent) { - node = (/** @type {?} */ (document.getElementById('modal-container'))); - } - /** @type {?} */ - var nodes = getFlatNodes(((/** @type {?} */ ((node || this.modalContent.nativeElement).querySelector('#abp-modal-body')))).childNodes); - if (hasNgDirty(nodes)) { - if (this.isConfirmationOpen) - return; - this.isConfirmationOpen = true; - this.confirmationService - .warn('AbpAccount::AreYouSureYouWantToCancelEditingWarningMessage', 'AbpAccount::AreYouSure') - .subscribe((/** - * @param {?} status - * @return {?} - */ - function (status) { - _this.isConfirmationOpen = false; - if (status === "confirm" /* confirm */) { - _this.visible = false; - } - })); - } - else { - this.visible = false; - } - }; - /** - * @return {?} - */ - ModalComponent.prototype.listen = /** - * @return {?} - */ - function () { - var _this = this; - fromEvent(document, 'keyup') - .pipe(takeUntil(this.destroy$), debounceTime(150), filter((/** - * @param {?} key - * @return {?} - */ - function (key) { return key && key.key === 'Escape'; }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.close(); - })); - setTimeout((/** - * @return {?} - */ - function () { - if (!_this.abpClose) - return; - fromEvent(_this.abpClose.nativeElement, 'click') - .pipe(takeUntil(_this.destroy$), filter((/** - * @return {?} - */ - function () { return !!_this.modalContent; }))) - .subscribe((/** - * @return {?} - */ - function () { return _this.close(); })); - }), 0); - this.init.emit(); - }; - ModalComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-modal', - template: "\r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \u200B\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n\r\n", - animations: [fadeAnimation] - }] } - ]; - /** @nocollapse */ - ModalComponent.ctorParameters = function () { return [ - { type: Renderer2 }, - { type: ConfirmationService } - ]; }; - ModalComponent.propDecorators = { - visible: [{ type: Input }], - busy: [{ type: Input }], - centered: [{ type: Input }], - modalClass: [{ type: Input }], - size: [{ type: Input }], - abpSubmit: [{ type: ContentChild, args: [ButtonComponent, { static: false, read: ButtonComponent },] }], - abpHeader: [{ type: ContentChild, args: ['abpHeader', { static: false },] }], - abpBody: [{ type: ContentChild, args: ['abpBody', { static: false },] }], - abpFooter: [{ type: ContentChild, args: ['abpFooter', { static: false },] }], - abpClose: [{ type: ContentChild, args: ['abpClose', { static: false, read: ElementRef },] }], - modalContent: [{ type: ViewChild, args: ['abpModalContent', { static: false },] }], - abpButtons: [{ type: ViewChildren, args: ['abp-button',] }], - visibleChange: [{ type: Output }], - init: [{ type: Output }], - appear: [{ type: Output }], - disappear: [{ type: Output }] - }; - return ModalComponent; -}()); -export { ModalComponent }; -if (false) { - /** @type {?} */ - ModalComponent.prototype.centered; - /** @type {?} */ - ModalComponent.prototype.modalClass; - /** @type {?} */ - ModalComponent.prototype.size; - /** @type {?} */ - ModalComponent.prototype.abpSubmit; - /** @type {?} */ - ModalComponent.prototype.abpHeader; - /** @type {?} */ - ModalComponent.prototype.abpBody; - /** @type {?} */ - ModalComponent.prototype.abpFooter; - /** @type {?} */ - ModalComponent.prototype.abpClose; - /** @type {?} */ - ModalComponent.prototype.modalContent; - /** @type {?} */ - ModalComponent.prototype.abpButtons; - /** @type {?} */ - ModalComponent.prototype.visibleChange; - /** @type {?} */ - ModalComponent.prototype.init; - /** @type {?} */ - ModalComponent.prototype.appear; - /** @type {?} */ - ModalComponent.prototype.disappear; - /** @type {?} */ - ModalComponent.prototype._visible; - /** @type {?} */ - ModalComponent.prototype._busy; - /** @type {?} */ - ModalComponent.prototype.isModalOpen; - /** @type {?} */ - ModalComponent.prototype.isConfirmationOpen; - /** @type {?} */ - ModalComponent.prototype.destroy$; - /** - * @type {?} - * @private - */ - ModalComponent.prototype.renderer; - /** - * @type {?} - * @private - */ - ModalComponent.prototype.confirmationService; -} -/** - * @param {?} nodes - * @return {?} - */ -function getFlatNodes(nodes) { - return Array.from(nodes).reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { return tslib_1.__spread(acc, (val.childNodes && val.childNodes.length ? getFlatNodes(val.childNodes) : [val])); }), []); -} -/** - * @param {?} nodes - * @return {?} - */ -function hasNgDirty(nodes) { - return nodes.findIndex((/** - * @param {?} node - * @return {?} - */ - function (node) { return (node.className || '').indexOf('ng-dirty') > -1; })) > -1; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5zaGFyZWQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9tb2RhbC9tb2RhbC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxZQUFZLEVBQ1osVUFBVSxFQUNWLFlBQVksRUFDWixLQUFLLEVBRUwsTUFBTSxFQUNOLFNBQVMsRUFDVCxXQUFXLEVBQ1gsU0FBUyxFQUNULFlBQVksR0FDYixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsU0FBUyxFQUFFLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUMxQyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sRUFBRSxTQUFTLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNqRSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFFbEUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0scUNBQXFDLENBQUM7QUFDMUUsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQU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JlJylcclxuICAgICAgICAuc3Vic2NyaWJlKChzdGF0dXM6IFRvYXN0ZXIuU3RhdHVzKSA9PiB7XHJcbiAgICAgICAgICB0aGlzLmlzQ29uZmlybWF0aW9uT3BlbiA9IGZhbHNlO1xyXG4gICAgICAgICAgaWYgKHN0YXR1cyA9PT0gVG9hc3Rlci5TdGF0dXMuY29uZmlybSkge1xyXG4gICAgICAgICAgICB0aGlzLnZpc2libGUgPSBmYWxzZTtcclxuICAgICAgICAgIH1cclxuICAgICAgICB9KTtcclxuICAgIH0gZWxzZSB7XHJcbiAgICAgIHRoaXMudmlzaWJsZSA9IGZhbHNlO1xyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgbGlzdGVuKCkge1xyXG4gICAgZnJvbUV2ZW50KGRvY3VtZW50LCAna2V5dXAnKVxyXG4gICAgICAucGlwZShcclxuICAgICAgICB0YWtlVW50aWwodGhpcy5kZXN0cm95JCksXHJcbiAgICAgICAgZGVib3VuY2VUaW1lKDE1MCksXHJcbiAgICAgICAgZmlsdGVyKChrZXk6IEtleWJvYXJkRXZlbnQpID0+IGtleSAmJiBrZXkua2V5ID09PSAnRXNjYXBlJyksXHJcbiAgICAgIClcclxuICAgICAgLnN1YnNjcmliZSgoKSA9PiB7XHJcbiAgICAgICAgdGhpcy5jbG9zZSgpO1xyXG4gICAgICB9KTtcclxuXHJcbiAgICBzZXRUaW1lb3V0KCgpID0+IHtcclxuICAgICAgaWYgKCF0aGlzLmFicENsb3NlKSByZXR1cm47XHJcbiAgICAgIGZyb21FdmVudCh0aGlzLmFicENsb3NlLm5hdGl2ZUVsZW1lbnQsICdjbGljaycpXHJcbiAgICAgICAgLnBpcGUoXHJcbiAgICAgICAgICB0YWtlVW50aWwodGhpcy5kZXN0cm95JCksXHJcbiAgICAgICAgICBmaWx0ZXIoKCkgPT4gISF0aGlzLm1vZGFsQ29udGVudCksXHJcbiAgICAgICAgKVxyXG4gICAgICAgIC5zdWJzY3JpYmUoKCkgPT4gdGhpcy5jbG9zZSgpKTtcclxuICAgIH0sIDApO1xyXG5cclxuICAgIHRoaXMuaW5pdC5lbWl0KCk7XHJcbiAgfVxyXG59XHJcblxyXG5mdW5jdGlvbiBnZXRGbGF0Tm9kZXMobm9kZXM6IE5vZGVMaXN0KTogSFRNTEVsZW1lbnRbXSB7XHJcbiAgcmV0dXJuIEFycmF5LmZyb20obm9kZXMpLnJlZHVjZShcclxuICAgIChhY2MsIHZhbCkgPT4gWy4uLmFjYywgLi4uKHZhbC5jaGlsZE5vZGVzICYmIHZhbC5jaGlsZE5vZGVzLmxlbmd0aCA/IGdldEZsYXROb2Rlcyh2YWwuY2hpbGROb2RlcykgOiBbdmFsXSldLFxyXG4gICAgW10sXHJcbiAgKTtcclxufVxyXG5cclxuZnVuY3Rpb24gaGFzTmdEaXJ0eShub2RlczogSFRNTEVsZW1lbnRbXSkge1xyXG4gIHJldHVybiBub2Rlcy5maW5kSW5kZXgobm9kZSA9PiAobm9kZS5jbGFzc05hbWUgfHwgJycpLmluZGV4T2YoJ25nLWRpcnR5JykgPiAtMSkgPiAtMTtcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/components/sort-order-icon/sort-order-icon.component.js b/npm/ng-packs/dist/theme-shared/esm5/lib/components/sort-order-icon/sort-order-icon.component.js deleted file mode 100644 index ea4f45fefaf..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/components/sort-order-icon/sort-order-icon.component.js +++ /dev/null @@ -1,176 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/sort-order-icon/sort-order-icon.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component, EventEmitter, Input, Output } from '@angular/core'; -var SortOrderIconComponent = /** @class */ (function () { - function SortOrderIconComponent() { - this.selectedKeyChange = new EventEmitter(); - this.selectedSortKeyChange = new EventEmitter(); - this.orderChange = new EventEmitter(); - } - Object.defineProperty(SortOrderIconComponent.prototype, "selectedKey", { - get: /** - * @return {?} - */ - function () { - return this._selectedSortKey; - }, - /** - * @deprecated use selectedSortKey instead. - */ - set: /** - * @deprecated use selectedSortKey instead. - * @param {?} value - * @return {?} - */ - function (value) { - this.selectedSortKey = value; - this.selectedKeyChange.emit(value); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(SortOrderIconComponent.prototype, "selectedSortKey", { - get: /** - * @return {?} - */ - function () { - return this._selectedSortKey; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - this._selectedSortKey = value; - this.selectedSortKeyChange.emit(value); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(SortOrderIconComponent.prototype, "key", { - /** - * @deprecated use sortKey instead. - */ - get: /** - * @deprecated use sortKey instead. - * @return {?} - */ - function () { - return this.sortKey; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - this.sortKey = value; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(SortOrderIconComponent.prototype, "order", { - get: /** - * @return {?} - */ - function () { - return this._order; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - this._order = value; - this.orderChange.emit(value); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(SortOrderIconComponent.prototype, "icon", { - get: /** - * @return {?} - */ - function () { - if (!this.selectedSortKey) - return 'fa-sort'; - if (this.selectedSortKey === this.sortKey) - return "fa-sort-" + this.order; - else - return ''; - }, - enumerable: true, - configurable: true - }); - /** - * @param {?} key - * @return {?} - */ - SortOrderIconComponent.prototype.sort = /** - * @param {?} key - * @return {?} - */ - function (key) { - this.selectedKey = key; // TODO: To be removed - this.selectedSortKey = key; - switch (this.order) { - case '': - this.order = 'asc'; - this.orderChange.emit('asc'); - break; - case 'asc': - this.order = 'desc'; - this.orderChange.emit('desc'); - break; - case 'desc': - this.order = ''; - this.selectedKey = ''; // TODO: To be removed - this.orderChange.emit(''); - break; - } - }; - SortOrderIconComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-sort-order-icon', - template: "\r\n \r\n\r\n" - }] } - ]; - SortOrderIconComponent.propDecorators = { - selectedKey: [{ type: Input }], - selectedSortKey: [{ type: Input }], - selectedKeyChange: [{ type: Output }], - selectedSortKeyChange: [{ type: Output }], - key: [{ type: Input }], - sortKey: [{ type: Input }], - order: [{ type: Input }], - orderChange: [{ type: Output }], - iconClass: [{ type: Input }] - }; - return SortOrderIconComponent; -}()); -export { SortOrderIconComponent }; -if (false) { - /** - * @type {?} - * @private - */ - SortOrderIconComponent.prototype._order; - /** - * @type {?} - * @private - */ - SortOrderIconComponent.prototype._selectedSortKey; - /** @type {?} */ - SortOrderIconComponent.prototype.selectedKeyChange; - /** @type {?} */ - SortOrderIconComponent.prototype.selectedSortKeyChange; - /** @type {?} */ - SortOrderIconComponent.prototype.sortKey; - /** @type {?} */ - SortOrderIconComponent.prototype.orderChange; - /** @type {?} */ - SortOrderIconComponent.prototype.iconClass; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29ydC1vcmRlci1pY29uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvc29ydC1vcmRlci1pY29uL3NvcnQtb3JkZXItaWNvbi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXZFO0lBQUE7UUE2QnFCLHNCQUFpQixHQUFHLElBQUksWUFBWSxFQUFVLENBQUM7UUFDL0MsMEJBQXFCLEdBQUcsSUFBSSxZQUFZLEVBQVUsQ0FBQztRQXlCbkQsZ0JBQVcsR0FBRyxJQUFJLFlBQVksRUFBVSxDQUFDO0lBOEI5RCxDQUFDO0lBMUVDLHN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gJyc7XHJcbiAgICAgICAgdGhpcy5zZWxlY3RlZEtleSA9ICcnOyAvLyBUT0RPOiBUbyBiZSByZW1vdmVkXHJcbiAgICAgICAgdGhpcy5vcmRlckNoYW5nZS5lbWl0KCcnKTtcclxuICAgICAgICBicmVhaztcclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/components/table-empty-message/table-empty-message.component.js b/npm/ng-packs/dist/theme-shared/esm5/lib/components/table-empty-message/table-empty-message.component.js deleted file mode 100644 index 8017a96055a..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/components/table-empty-message/table-empty-message.component.js +++ /dev/null @@ -1,49 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/table-empty-message/table-empty-message.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component, Input } from '@angular/core'; -var TableEmptyMessageComponent = /** @class */ (function () { - function TableEmptyMessageComponent() { - this.colspan = 2; - this.localizationResource = 'AbpAccount'; - this.localizationProp = 'NoDataAvailableInDatatable'; - } - Object.defineProperty(TableEmptyMessageComponent.prototype, "emptyMessage", { - get: /** - * @return {?} - */ - function () { - return this.message || this.localizationResource + "::" + this.localizationProp; - }, - enumerable: true, - configurable: true - }); - TableEmptyMessageComponent.decorators = [ - { type: Component, args: [{ - // tslint:disable-next-line: component-selector - selector: '[abp-table-empty-message]', - template: "\n \n {{ emptyMessage | abpLocalization }}\n \n " - }] } - ]; - TableEmptyMessageComponent.propDecorators = { - colspan: [{ type: Input }], - message: [{ type: Input }], - localizationResource: [{ type: Input }], - localizationProp: [{ type: Input }] - }; - return TableEmptyMessageComponent; -}()); -export { TableEmptyMessageComponent }; -if (false) { - /** @type {?} */ - TableEmptyMessageComponent.prototype.colspan; - /** @type {?} */ - TableEmptyMessageComponent.prototype.message; - /** @type {?} */ - TableEmptyMessageComponent.prototype.localizationResource; - /** @type {?} */ - TableEmptyMessageComponent.prototype.localizationProp; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtZW1wdHktbWVzc2FnZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLnNoYXJlZC8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL3RhYmxlLWVtcHR5LW1lc3NhZ2UvdGFibGUtZW1wdHktbWVzc2FnZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV6RDtJQUFBO1FBV0UsWUFBTyxHQUFHLENBQUMsQ0FBQztRQU1aLHlCQUFvQixHQUFHLFlBQVksQ0FBQztRQUdwQyxxQkFBZ0IsR0FBRyw0QkFBNEIsQ0FBQztJQUtsRCxDQUFDO0lBSEMsc0JBQUksb0RBQVk7Ozs7UUFBaEI7WUFDRSxPQUFPLElBQUksQ0FBQyxPQUFPLElBQU8sSUFBSSxDQUFDLG9CQUFvQixVQUFLLElBQUksQ0FBQyxnQkFBa0IsQ0FBQztRQUNsRixDQUFDOzs7T0FBQTs7Z0JBeEJGLFNBQVMsU0FBQzs7b0JBRVQsUUFBUSxFQUFFLDJCQUEyQjtvQkFDckMsUUFBUSxFQUFFLHdIQUlUO2lCQUNGOzs7MEJBRUUsS0FBSzswQkFHTCxLQUFLO3VDQUdMLEtBQUs7bUNBR0wsS0FBSzs7SUFNUixpQ0FBQztDQUFBLEFBekJELElBeUJDO1NBaEJZLDBCQUEwQjs7O0lBQ3JDLDZDQUNZOztJQUVaLDZDQUNnQjs7SUFFaEIsMERBQ29DOztJQUVwQyxzREFDZ0QiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIE9uSW5pdCwgSW5wdXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gIC8vIHRzbGludDpkaXNhYmxlLW5leHQtbGluZTogY29tcG9uZW50LXNlbGVjdG9yXHJcbiAgc2VsZWN0b3I6ICdbYWJwLXRhYmxlLWVtcHR5LW1lc3NhZ2VdJyxcclxuICB0ZW1wbGF0ZTogYFxyXG4gICAgPHRkIGNsYXNzPVwidGV4dC1jZW50ZXJcIiBbYXR0ci5jb2xzcGFuXT1cImNvbHNwYW5cIj5cclxuICAgICAge3sgZW1wdHlNZXNzYWdlIHwgYWJwTG9jYWxpemF0aW9uIH19XHJcbiAgICA8L3RkPlxyXG4gIGBcclxufSlcclxuZXhwb3J0IGNsYXNzIFRhYmxlRW1wdHlNZXNzYWdlQ29tcG9uZW50IHtcclxuICBASW5wdXQoKVxyXG4gIGNvbHNwYW4gPSAyO1xyXG5cclxuICBASW5wdXQoKVxyXG4gIG1lc3NhZ2U6IHN0cmluZztcclxuXHJcbiAgQElucHV0KClcclxuICBsb2NhbGl6YXRpb25SZXNvdXJjZSA9ICdBYnBBY2NvdW50JztcclxuXHJcbiAgQElucHV0KClcclxuICBsb2NhbGl6YXRpb25Qcm9wID0gJ05vRGF0YUF2YWlsYWJsZUluRGF0YXRhYmxlJztcclxuXHJcbiAgZ2V0IGVtcHR5TWVzc2FnZSgpOiBzdHJpbmcge1xyXG4gICAgcmV0dXJuIHRoaXMubWVzc2FnZSB8fCBgJHt0aGlzLmxvY2FsaXphdGlvblJlc291cmNlfTo6JHt0aGlzLmxvY2FsaXphdGlvblByb3B9YDtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/components/toast/toast.component.js b/npm/ng-packs/dist/theme-shared/esm5/lib/components/toast/toast.component.js deleted file mode 100644 index a97114006ca..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/components/toast/toast.component.js +++ /dev/null @@ -1,20 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/components/toast/toast.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { Component } from '@angular/core'; -var ToastComponent = /** @class */ (function () { - function ToastComponent() { - } - ToastComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-toast', - // tslint:disable-next-line: component-max-inline-declarations - template: "\n \n \n \n
    \n
    {{ message.summary | abpLocalization: message.titleLocalizationParams }}
    \n
    {{ message.detail | abpLocalization: message.messageLocalizationParams }}
    \n
    \n
    \n
    \n " - }] } - ]; - return ToastComponent; -}()); -export { ToastComponent }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5zaGFyZWQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy90b2FzdC90b2FzdC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTFDO0lBQUE7SUF1QjZCLENBQUM7O2dCQXZCN0IsU0FBUyxTQUFDO29CQUNULFFBQVEsRUFBRSxXQUFXOztvQkFFckIsUUFBUSxFQUFFLHMyQkFrQlQ7aUJBQ0Y7O0lBQzRCLHFCQUFDO0NBQUEsQUF2QjlCLElBdUI4QjtTQUFqQixjQUFjIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ2FicC10b2FzdCcsXHJcbiAgLy8gdHNsaW50OmRpc2FibGUtbmV4dC1saW5lOiBjb21wb25lbnQtbWF4LWlubGluZS1kZWNsYXJhdGlvbnNcclxuICB0Z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2VMb2NhbGl6YXRpb25QYXJhbXMgfX08L2Rpdj5cclxuICAgICAgICA8L2Rpdj5cclxuICAgICAgPC9uZy10ZW1wbGF0ZT5cclxuICAgIDwvcC10b2FzdD5cclxuICBgLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgVG9hc3RDb21wb25lbnQge31cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/constants/styles.js b/npm/ng-packs/dist/theme-shared/esm5/lib/constants/styles.js deleted file mode 100644 index 2e68b03f777..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/constants/styles.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/styles.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export default "\n.is-invalid .form-control {\n border-color: #dc3545;\n border-style: solid !important;\n}\n\n.is-invalid .invalid-feedback,\n.is-invalid + * .invalid-feedback {\n display: block;\n}\n\n.data-tables-filter {\n text-align: right;\n}\n\n.pointer {\n cursor: pointer;\n}\n\n.navbar .dropdown-submenu a::after {\n transform: rotate(-90deg);\n position: absolute;\n right: 16px;\n top: 18px;\n}\n\n.navbar .dropdown-menu {\n min-width: 215px;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar {\n height: 5px !important;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar-track {\n background: #ddd;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar-thumb {\n background: #8a8686;\n}\n\n.modal.show {\n display: block !important;\n}\n\n.modal-backdrop {\n position: fixed;\n top: 0;\n left: 0;\n width: calc(100% - 7px);\n height: 100%;\n background-color: rgba(0, 0, 0, 0.6);\n z-index: 1040;\n}\n\n.modal::-webkit-scrollbar {\n width: 7px;\n}\n\n.modal::-webkit-scrollbar-track {\n background: #ddd;\n}\n\n.modal::-webkit-scrollbar-thumb {\n background: #8a8686;\n}\n\n.modal-dialog {\n z-index: 1050;\n}\n\n.abp-ellipsis-inline {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.abp-ellipsis {\n overflow: hidden !important;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.abp-toast .ui-toast-message {\n box-sizing: border-box;\n border: 2px solid transparent;\n border-radius: 4px;\n color: #1b1d29;\n}\n\n.abp-toast .ui-toast-message-content {\n padding: 10px;\n}\n\n.abp-toast .ui-toast-message-content .ui-toast-icon {\n top: 0;\n left: 0;\n padding: 10px;\n}\n\n.abp-toast .ui-toast-summary {\n margin: 0;\n font-weight: 700;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-error {\n border: 2px solid #ba1659;\n background-color: #f4f4f7;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-error .ui-toast-message-content .ui-toast-icon {\n color: #ba1659;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn {\n border: 2px solid #ed5d98;\n background-color: #f4f4f7;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn .ui-toast-message-content .ui-toast-icon {\n color: #ed5d98;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-success {\n border: 2px solid #1c9174;\n background-color: #f4f4f7;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-success .ui-toast-message-content .ui-toast-icon {\n color: #1c9174;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-info {\n border: 2px solid #fccb31;\n background-color: #f4f4f7;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-info .ui-toast-message-content .ui-toast-icon {\n color: #fccb31;\n}\n\n.abp-confirm .ui-toast-message {\n box-sizing: border-box;\n padding: 0px;\n border:0 none;\n border-radius: 4px;\n background-color: transparent !important;\n font-family: \"Poppins\", sans-serif;\n text-align: center;\n}\n\n.abp-confirm .ui-toast-message-content {\n padding: 0px;\n}\n\n.abp-confirm .abp-confirm-icon {\n margin: 32px 50px 5px !important;\n color: #f8bb86 !important;\n font-size: 52px !important;\n}\n\n.abp-confirm .ui-toast-close-icon {\n display: none !important;\n}\n\n.abp-confirm .abp-confirm-summary {\n display: block !important;\n margin-bottom: 13px !important;\n padding: 13px 16px 0px !important;\n font-weight: 600 !important;\n font-size: 18px !important;\n}\n\n.abp-confirm .abp-confirm-body {\n display: inline-block !important;\n padding: 0px 10px !important;\n}\n\n.abp-confirm .abp-confirm-footer {\n display: block;\n margin-top: 30px;\n padding: 16px;\n text-align: right;\n}\n\n.abp-confirm .abp-confirm-footer .btn {\n margin-left: 10px !important;\n}\n\n.ui-widget-overlay {\n z-index: 1000;\n}\n\n.color-white {\n color: #FFF !important;\n}\n\n.custom-checkbox > label {\n cursor: pointer;\n}\n\n/* -1; }), false)) { - _this.show404Page(); - } - else if (res instanceof RouterDataResolved && _this.componentRef) { - _this.componentRef.destroy(); - _this.componentRef = null; - } - })); - } - /** - * @private - * @return {?} - */ - ErrorHandler.prototype.show401Page = /** - * @private - * @return {?} - */ - function () { - this.createErrorComponent({ - title: { - key: 'AbpAccount::401Message', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.title, - }, - status: 401, - }); - }; - /** - * @private - * @return {?} - */ - ErrorHandler.prototype.show404Page = /** - * @private - * @return {?} - */ - function () { - this.createErrorComponent({ - title: { - key: 'AbpAccount::404Message', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.title, - }, - status: 404, - }); - }; - /** - * @private - * @param {?=} message - * @param {?=} title - * @param {?=} body - * @return {?} - */ - ErrorHandler.prototype.showError = /** - * @private - * @param {?=} message - * @param {?=} title - * @param {?=} body - * @return {?} - */ - function (message, title, body) { - if (body) { - if (body.details) { - message = body.details; - title = body.message; - } - else { - message = body.message || DEFAULT_ERROR_MESSAGES.defaultError.title; - } - } - return this.confirmationService.error(message, title, { - hideCancelBtn: true, - yesText: 'AbpAccount::Close', - }); - }; - /** - * @private - * @return {?} - */ - ErrorHandler.prototype.navigateToLogin = /** - * @private - * @return {?} - */ - function () { - this.store.dispatch(new Navigate(['/account/login'], null, { state: { redirectUrl: this.store.selectSnapshot(RouterState.url) } })); - }; - /** - * @param {?} instance - * @return {?} - */ - ErrorHandler.prototype.createErrorComponent = /** - * @param {?} instance - * @return {?} - */ - function (instance) { - var _this = this; - /** @type {?} */ - var renderer = this.rendererFactory.createRenderer(null, null); - /** @type {?} */ - var host = renderer.selectRootElement(document.body, true); - this.componentRef = this.cfRes.resolveComponentFactory(HttpErrorWrapperComponent).create(this.injector); - for (var key in this.componentRef.instance) { - if (this.componentRef.instance.hasOwnProperty(key)) { - this.componentRef.instance[key] = instance[key]; - } - } - this.componentRef.instance.hideCloseIcon = this.httpErrorConfig.errorScreen.hideCloseIcon; - if (this.canCreateCustomError((/** @type {?} */ (instance.status)))) { - this.componentRef.instance.cfRes = this.cfRes; - this.componentRef.instance.appRef = this.appRef; - this.componentRef.instance.injector = this.injector; - this.componentRef.instance.customComponent = this.httpErrorConfig.errorScreen.component; - } - this.appRef.attachView(this.componentRef.hostView); - renderer.appendChild(host, ((/** @type {?} */ (this.componentRef.hostView))).rootNodes[0]); - /** @type {?} */ - var destroy$ = new Subject(); - this.componentRef.instance.destroy$ = destroy$; - destroy$.subscribe((/** - * @return {?} - */ - function () { - _this.componentRef.destroy(); - _this.componentRef = null; - })); - }; - /** - * @param {?} status - * @return {?} - */ - ErrorHandler.prototype.canCreateCustomError = /** - * @param {?} status - * @return {?} - */ - function (status) { - var _this = this; - return snq((/** - * @return {?} - */ - function () { - return _this.httpErrorConfig.errorScreen.component && - _this.httpErrorConfig.errorScreen.forWhichErrors.indexOf(status) > -1; - })); - }; - ErrorHandler.decorators = [ - { type: Injectable, args: [{ providedIn: 'root' },] } - ]; - /** @nocollapse */ - ErrorHandler.ctorParameters = function () { return [ - { type: Actions }, - { type: Store }, - { type: ConfirmationService }, - { type: ApplicationRef }, - { type: ComponentFactoryResolver }, - { type: RendererFactory2 }, - { type: Injector }, - { type: undefined, decorators: [{ type: Inject, args: ['HTTP_ERROR_CONFIG',] }] } - ]; }; - /** @nocollapse */ ErrorHandler.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ErrorHandler_Factory() { return new ErrorHandler(i0.ɵɵinject(i1.Actions), i0.ɵɵinject(i1.Store), i0.ɵɵinject(i2.ConfirmationService), i0.ɵɵinject(i0.ApplicationRef), i0.ɵɵinject(i0.ComponentFactoryResolver), i0.ɵɵinject(i0.RendererFactory2), i0.ɵɵinject(i0.INJECTOR), i0.ɵɵinject("HTTP_ERROR_CONFIG")); }, token: ErrorHandler, providedIn: "root" }); - return ErrorHandler; -}()); -export { ErrorHandler }; -if (false) { - /** @type {?} */ - ErrorHandler.prototype.componentRef; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.actions; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.store; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.confirmationService; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.appRef; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.cfRes; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.rendererFactory; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.injector; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.httpErrorConfig; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3IuaGFuZGxlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL2hhbmRsZXJzL2Vycm9yLmhhbmRsZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQVUsY0FBYyxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ3RELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3pELE9BQU8sRUFDTCxjQUFjLEVBQ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AgfSk7XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgIHN3aXRjaCAoKGVyciBhcyBIdHRwRXJyb3JSZXNwb25zZSkuc3RhdHVzKSB7XHJcbiAgICAgICAgICAgIGNhc2UgNDAxOlxyXG4gICAgICAgICAgICAgIHRoaXMuY2FuQ3JlYXRlQ3VzdG9tRXJyb3IoNDAxKVxyXG4gICAgICAgICAgICAgICAgPyB0aGlzLnNob3c0MDFQYWdlKClcclxuICAgICAgICAgICAgICAgIDogdGhpcy5zaG93RXJyb3IoXHJcbiAgICAgICAgICAgICAgICAgICAge1xyXG4gICAgICAgICAgICAgICAgICAgICAga2V5OiAnQWJwQWNjb3VudDo6RGVmYXVsdEVycm9yTWVzc2FnZTQwMScsXHJcbiAgICAgICAgICAgICAgICAgICAgICBkZWZhdWx0VmFsdWU6IERFRkFVTFRfRVJST1JfTUVTU0FHRVMuZGVmYXVsdEVycm9yNDAxLnRpdGxlLFxyXG4gICAgICAgICAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgICAgICAgICAge1xyXG4gICAgICAgICAgICAgICAgICAgICAga2V5OiAnQWJwQWNjb3VudDo6RGVmYXVsdEVycm9yTWVzc2FnZTQwMURldGFpbCcsXHJcbiAgICAgICAgICAgICAgICAgICAgICBkZWZhdWx0VmFsdWU6IERFRkFVTFRfRVJST1JfTUVTU0FHRVMuZGVmYXVsdEVycm9yNDAxLmRldGFpbHMsXHJcbiAgICAgICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgICAgICAgKS5zdWJzY3JpYmUoKCkgPT4gdGhpcy5uYXZpZ2F0ZVRvTG9naW4oKSk7XHJcbiAgICAgICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgICAgIGNhc2UgNDAzOlxyXG4gICAgICAgICAgICAgIHRoaXMuY3JlYXRlRXJyb3JDb21wb25lbnQoe1xyXG4gICAgICAgICAgICAgICAgdGl0bGU6IHtcclxuICAgICAgICAgICAgICAgICAga2V5OiAnQWJwQWNjb3VudDo6RGVmYXVsdEVycm9yTWVzc2FnZTQwMycsXHJcbiAgICAgICAgICAgICAgICAgIGRlZmF1bHRWYWx1ZTogREVGQVVMVF9FUlJPUl9NRVNTQUdFUy5kZWZhdWx0RXJyb3I0MDMudGl0bGUsXHJcbiAgICAgICAgICAgICAgICB9LFxyXG4gICAgICAgICAgICAgICAgZGV0YWlsczoge1xyXG4gICAgICAgICAgICAgICAgICBrZXk6ICdBYnBBY2NvdW50OjpEZWZhdWx0RXJyb3JNZXNzYWdlNDAzRGV0YWlsJyxcclxuICAgICAgICAgICAgICAgICAgZGVmYXVsdFZhbHVlOiBERUZBVUxUX0VSUk9SX01FU1NBR0VTLmRlZmF1bHRFcnJvcjQwMy5kZXRhaWxzLFxyXG4gICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgICAgIHN0YXR1czogNDAzLFxyXG4gICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICAgIGJyZWFrO1xyXG4gICAgICAgICAgICBjYXNlIDQwNDpcclxuICAgICAgICAgICAgICB0aGlzLmNhbkNyZWF0ZUN1c3RvbUVycm9yKDQwNClcclxuICAgICAgICAgICAgICAgID8gdGhpcy5zaG93NDA0UGFnZSgpXHJcbiAgICAgICAgICAgICAgICA6IHRoaXMuc2hvd0Vycm9yKFxyXG4gICAgICAgICAgICAgICAgICAgIHtcclxuICAgICAgICAgICAgICAgICAgICAgIGtleTogJ0FicEFjY291bnQ6OkRlZmF1bHRFcnJvck1lc3NhZ2U0MDQnLFxyXG4gICAgICAgICAgICAgICAgICAgICAgZGVmYXVsdFZhbHVlOiBERUZBVUxUX0VSUk9SX01FU1NBR0VTLmRlZmF1bHRFcnJvcjQwNC5kZXRhaWxzLFxyXG4gICAgICAgICAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgICAgICAgICAge1xyXG4gICAgICAgICAgICAgICAgICAgICAga2V5OiAnQWJwQWNjb3VudDo6RGVmYXVsdEVycm9yTWVzc2FnZTQwNERldGFpbCcsXHJcbiAgICAgICAgICAgICAgICAgICAgICBkZWZhdWx0VmFsdWU6IERFRkFVTFRfRVJST1JfTUVTU0FHRVMuZGVmYXVsdEVycm9yNDA0LnRpdGxlLFxyXG4gICAgICAgICAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgICAgICAgICk7XHJcbiAgICAgICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgICAgIGNhc2UgNTAwOlxyXG4gICAgICAgICAgICAgIHRoaXMuY3JlYXRlRXJyb3JDb21wb25lbnQoe1xyXG4gICAgICAgICAgICAgICAgdGl0bGU6IHtcclxuICAgICAgICAgICAgICAgICAga2V5OiAnQWJwQWNjb3VudDo6NTAwTWVzc2FnZScsXHJcbiAgICAgICAgICAgICAgICAgIGRlZmF1bHRWYWx1ZTogREVGQVVMVF9FUlJPUl9NRVNTQUdFUy5kZWZhdWx0RXJyb3I1MDAudGl0bGUsXHJcbiAgICAgICAgICAgICAgICB9LFxyXG4gICAgICAgICAgICAgICAgZGV0YWlsczoge1xyXG4gICAgICAgICAgICAgICAgICBrZXk6ICdBYnBBY2NvdW50OjpJbnRlcm5hbFNlcnZlckVycm9yTWVzc2FnZScsXHJcbiAgICAgICAgICAgICAgICAgIGRlZmF1bHRWYWx1ZTogREVGQVVMVF9FUlJPUl9NRVNTQUdFUy5kZWZhdWx0RXJyb3I1MDAuZGV0YWlscyxcclxuICAgICAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgICAgICBzdGF0dXM6IDUwMCxcclxuICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICAgICAgY2FzZSAwOlxyXG4gICAgICAgICAgICAgIGlmICgoZXJyIGFzIEh0dHBFcnJvclJlc3BvbnNlKS5zdGF0dXNUZXh0ID09PSAnVW5rbm93biBFcnJvcicpIHtcclxuICAgICAgICAgICAgICAgIHRoaXMuY3JlYXRlRXJyb3JDb21wb25lbnQoe1xyXG4gICAg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gPSBkZXN0cm95JDtcclxuICAgIGRlc3Ryb3kkLnN1YnNjcmliZSgoKSA9PiB7XHJcbiAgICAgIHRoaXMuY29tcG9uZW50UmVmLmRlc3Ryb3koKTtcclxuICAgICAgdGhpcy5jb21wb25lbnRSZWYgPSBudWxsO1xyXG4gICAgfSk7XHJcbiAgfVxyXG5cclxuICBjYW5DcmVhdGVDdXN0b21FcnJvcihzdGF0dXM6IEVycm9yU2NyZWVuRXJyb3JDb2Rlcyk6IGJvb2xlYW4ge1xyXG4gICAgcmV0dXJuIHNucShcclxuICAgICAgKCkgPT5cclxuICAgICAgICB0aGlzLmh0dHBFcnJvckNvbmZpZy5lcnJvclNjcmVlbi5jb21wb25lbnQgJiZcclxuICAgICAgICB0aGlzLmh0dHBFcnJvckNvbmZpZy5lcnJvclNjcmVlbi5mb3JXaGljaEVycm9ycy5pbmRleE9mKHN0YXR1cykgPiAtMSxcclxuICAgICk7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/models/common.js b/npm/ng-packs/dist/theme-shared/esm5/lib/models/common.js deleted file mode 100644 index 821f6e01114..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/models/common.js +++ /dev/null @@ -1,22 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/common.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -export function RootParams() { } -if (false) { - /** @type {?} */ - RootParams.prototype.httpErrorConfig; -} -/** - * @record - */ -export function HttpErrorConfig() { } -if (false) { - /** @type {?|undefined} */ - HttpErrorConfig.prototype.errorScreen; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5zaGFyZWQvIiwic291cmNlcyI6WyJsaWIvbW9kZWxzL2NvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUVBLGdDQUVDOzs7SUFEQyxxQ0FBaUM7Ozs7O0FBS25DLHFDQVVDOzs7SUFUQyxzQ0FRRSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFR5cGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgUm9vdFBhcmFtcyB7XHJcbiAgaHR0cEVycm9yQ29uZmlnOiBIdHRwRXJyb3JDb25maWc7XHJcbn1cclxuXHJcbmV4cG9ydCB0eXBlIEVycm9yU2NyZWVuRXJyb3JDb2RlcyA9IDQwMSB8IDQwMyB8IDQwNCB8IDUwMDtcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgSHR0cEVycm9yQ29uZmlnIHtcclxuICBlcnJvclNjcmVlbj86IHtcclxuICAgIGNvbXBvbmVudDogVHlwZTxhbnk+O1xyXG4gICAgZm9yV2hpY2hFcnJvcnM/OlxyXG4gICAgICB8IFtFcnJvclNjcmVlbkVycm9yQ29kZXNdXHJcbiAgICAgIHwgW0Vycm9yU2NyZWVuRXJyb3JDb2RlcywgRXJyb3JTY3JlZW5FcnJvckNvZGVzXVxyXG4gICAgICB8IFtFcnJvclNjcmVlbkVycm9yQ29kZXMsIEVycm9yU2NyZWVuRXJyb3JDb2RlcywgRXJyb3JTY3JlZW5FcnJvckNvZGVzXVxyXG4gICAgICB8IFtFcnJvclNjcmVlbkVycm9yQ29kZXMsIEVycm9yU2NyZWVuRXJyb3JDb2RlcywgRXJyb3JTY3JlZW5FcnJvckNvZGVzLCBFcnJvclNjcmVlbkVycm9yQ29kZXNdO1xyXG4gICAgaGlkZUNsb3NlSWNvbj86IGJvb2xlYW47XHJcbiAgfTtcclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/models/confirmation.js b/npm/ng-packs/dist/theme-shared/esm5/lib/models/confirmation.js deleted file mode 100644 index c5e65b4ec57..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/models/confirmation.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/confirmation.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var Confirmation; -(function (Confirmation) { - /** - * @record - */ - function Options() { } - Confirmation.Options = Options; - if (false) { - /** @type {?|undefined} */ - Options.prototype.hideCancelBtn; - /** @type {?|undefined} */ - Options.prototype.hideYesBtn; - /** @type {?|undefined} */ - Options.prototype.cancelText; - /** @type {?|undefined} */ - Options.prototype.yesText; - /** - * @deprecated to be deleted in v2 - * @type {?|undefined} - */ - Options.prototype.cancelCopy; - /** - * @deprecated to be deleted in v2 - * @type {?|undefined} - */ - Options.prototype.yesCopy; - } -})(Confirmation || (Confirmation = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybWF0aW9uLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5zaGFyZWQvIiwic291cmNlcyI6WyJsaWIvbW9kZWxzL2NvbmZpcm1hdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUdBLE1BQU0sS0FBVyxZQUFZLENBZTVCO0FBZkQsV0FBaUIsWUFBWTs7OztJQUMzQixzQkFhQzs7OztRQVpDLGdDQUF3Qjs7UUFDeEIsNkJBQXFCOztRQUNyQiw2QkFBc0M7O1FBQ3RDLDBCQUFtQzs7Ozs7UUFJbkMsNkJBQXNDOzs7OztRQUl0QywwQkFBbUM7O0FBRXZDLENBQUMsRUFmZ0IsWUFBWSxLQUFaLFlBQVksUUFlNUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBUb2FzdGVyIH0gZnJvbSAnLi90b2FzdGVyJztcclxuaW1wb3J0IHsgQ29uZmlnIH0gZnJvbSAnQGFicC9uZy5jb3JlJztcclxuXHJcbmV4cG9ydCBuYW1lc3BhY2UgQ29uZmlybWF0aW9uIHtcclxuICBleHBvcnQgaW50ZXJmYWNlIE9wdGlvbnMgZXh0ZW5kcyBUb2FzdGVyLk9wdGlvbnMge1xyXG4gICAgaGlkZUNhbmNlbEJ0bj86IGJvb2xlYW47XHJcbiAgICBoaWRlWWVzQnRuPzogYm9vbGVhbjtcclxuICAgIGNhbmNlbFRleHQ/OiBDb25maWcuTG9jYWxpemF0aW9uUGFyYW07XHJcbiAgICB5ZXNUZXh0PzogQ29uZmlnLkxvY2FsaXphdGlvblBhcmFtO1xyXG4gICAgLyoqXHJcbiAgICAgKiBAZGVwcmVjYXRlZCB0byBiZSBkZWxldGVkIGluIHYyXHJcbiAgICAgKi9cclxuICAgIGNhbmNlbENvcHk/OiBDb25maWcuTG9jYWxpemF0aW9uUGFyYW07XHJcbiAgICAvKipcclxuICAgICAqIEBkZXByZWNhdGVkIHRvIGJlIGRlbGV0ZWQgaW4gdjJcclxuICAgICAqL1xyXG4gICAgeWVzQ29weT86IENvbmZpZy5Mb2NhbGl6YXRpb25QYXJhbTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/models/index.js b/npm/ng-packs/dist/theme-shared/esm5/lib/models/index.js deleted file mode 100644 index 29f42ec88df..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/models/index.js +++ /dev/null @@ -1,11 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export {} from './common'; -export {} from './confirmation'; -export { addSettingTab, getSettingTabs } from './setting-management'; -export {} from './statistics'; -export { Toaster } from './toaster'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLnNoYXJlZC8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxlQUFjLFVBQVUsQ0FBQztBQUN6QixlQUFjLGdCQUFnQixDQUFDO0FBQy9CLDhDQUFjLHNCQUFzQixDQUFDO0FBQ3JDLGVBQWMsY0FBYyxDQUFDO0FBQzdCLHdCQUFjLFdBQVcsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29tbW9uJztcclxuZXhwb3J0ICogZnJvbSAnLi9jb25maXJtYXRpb24nO1xyXG5leHBvcnQgKiBmcm9tICcuL3NldHRpbmctbWFuYWdlbWVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc3RhdGlzdGljcyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vdG9hc3Rlcic7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/models/setting-management.js b/npm/ng-packs/dist/theme-shared/esm5/lib/models/setting-management.js deleted file mode 100644 index 357815295ce..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/models/setting-management.js +++ /dev/null @@ -1,39 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/setting-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -/** - * @record - */ -export function SettingTab() { } -if (false) { - /** @type {?} */ - SettingTab.prototype.component; - /** @type {?} */ - SettingTab.prototype.name; - /** @type {?} */ - SettingTab.prototype.order; - /** @type {?|undefined} */ - SettingTab.prototype.requiredPolicy; -} -/** @type {?} */ -var SETTING_TABS = (/** @type {?} */ ([])); -/** - * @param {?} tab - * @return {?} - */ -export function addSettingTab(tab) { - if (!Array.isArray(tab)) { - tab = [tab]; - } - SETTING_TABS.push.apply(SETTING_TABS, tslib_1.__spread(tab)); -} -/** - * @return {?} - */ -export function getSettingTabs() { - return SETTING_TABS; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZy1tYW5hZ2VtZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5zaGFyZWQvIiwic291cmNlcyI6WyJsaWIvbW9kZWxzL3NldHRpbmctbWFuYWdlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFFQSxnQ0FLQzs7O0lBSkMsK0JBQXFCOztJQUNyQiwwQkFBYTs7SUFDYiwyQkFBYzs7SUFDZCxvQ0FBd0I7OztJQUdwQixZQUFZLEdBQUcsbUJBQUEsRUFBRSxFQUFnQjs7Ozs7QUFFdkMsTUFBTSxVQUFVLGFBQWEsQ0FBQyxHQUE4QjtJQUMxRCxJQUFJLENBQUMsS0FBSyxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsRUFBRTtRQUN2QixHQUFHLEdBQUcsQ0FBQyxHQUFHLENBQUMsQ0FBQztLQUNiO0lBRUQsWUFBWSxDQUFDLElBQUksT0FBakIsWUFBWSxtQkFBUyxHQUFHLEdBQUU7QUFDNUIsQ0FBQzs7OztBQUVELE1BQU0sVUFBVSxjQUFjO0lBQzVCLE9BQU8sWUFBWSxDQUFDO0FBQ3RCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBUeXBlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIFNldHRpbmdUYWIge1xyXG4gIGNvbXBvbmVudDogVHlwZTxhbnk+O1xyXG4gIG5hbWU6IHN0cmluZztcclxuICBvcmRlcjogbnVtYmVyO1xyXG4gIHJlcXVpcmVkUG9saWN5Pzogc3RyaW5nO1xyXG59XHJcblxyXG5jb25zdCBTRVRUSU5HX1RBQlMgPSBbXSBhcyBTZXR0aW5nVGFiW107XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gYWRkU2V0dGluZ1RhYih0YWI6IFNldHRpbmdUYWIgfCBTZXR0aW5nVGFiW10pOiB2b2lkIHtcclxuICBpZiAoIUFycmF5LmlzQXJyYXkodGFiKSkge1xyXG4gICAgdGFiID0gW3RhYl07XHJcbiAgfVxyXG5cclxuICBTRVRUSU5HX1RBQlMucHVzaCguLi50YWIpO1xyXG59XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gZ2V0U2V0dGluZ1RhYnMoKTogU2V0dGluZ1RhYltdIHtcclxuICByZXR1cm4gU0VUVElOR19UQUJTO1xyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/models/statistics.js b/npm/ng-packs/dist/theme-shared/esm5/lib/models/statistics.js deleted file mode 100644 index 144a785d830..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/models/statistics.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/statistics.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var Statistics; -(function (Statistics) { - /** - * @record - */ - function Response() { } - Statistics.Response = Response; - if (false) { - /** @type {?} */ - Response.prototype.data; - } - /** - * @record - */ - function Data() { } - Statistics.Data = Data; - /** - * @record - */ - function Filter() { } - Statistics.Filter = Filter; - if (false) { - /** @type {?} */ - Filter.prototype.startDate; - /** @type {?} */ - Filter.prototype.endDate; - } -})(Statistics || (Statistics = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdGlzdGljcy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL21vZGVscy9zdGF0aXN0aWNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsTUFBTSxLQUFXLFVBQVUsQ0FhMUI7QUFiRCxXQUFpQixVQUFVOzs7O0lBQ3pCLHVCQUVDOzs7O1FBREMsd0JBQVc7Ozs7O0lBR2IsbUJBRUM7Ozs7O0lBRUQscUJBR0M7Ozs7UUFGQywyQkFBeUI7O1FBQ3pCLHlCQUF1Qjs7QUFFM0IsQ0FBQyxFQWJnQixVQUFVLEtBQVYsVUFBVSxRQWExQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBuYW1lc3BhY2UgU3RhdGlzdGljcyB7XHJcbiAgZXhwb3J0IGludGVyZmFjZSBSZXNwb25zZSB7XHJcbiAgICBkYXRhOiBEYXRhO1xyXG4gIH1cclxuXHJcbiAgZXhwb3J0IGludGVyZmFjZSBEYXRhIHtcclxuICAgIFtrZXk6IHN0cmluZ106IG51bWJlcjtcclxuICB9XHJcblxyXG4gIGV4cG9ydCBpbnRlcmZhY2UgRmlsdGVyIHtcclxuICAgIHN0YXJ0RGF0ZTogc3RyaW5nIHwgRGF0ZTtcclxuICAgIGVuZERhdGU6IHN0cmluZyB8IERhdGU7XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/models/toaster.js b/npm/ng-packs/dist/theme-shared/esm5/lib/models/toaster.js deleted file mode 100644 index 6cfe8a9a2f0..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/models/toaster.js +++ /dev/null @@ -1,30 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/models/toaster.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export var Toaster; -(function (Toaster) { - /** - * @record - */ - function Options() { } - Toaster.Options = Options; - if (false) { - /** @type {?|undefined} */ - Options.prototype.id; - /** @type {?|undefined} */ - Options.prototype.closable; - /** @type {?|undefined} */ - Options.prototype.life; - /** @type {?|undefined} */ - Options.prototype.sticky; - /** @type {?|undefined} */ - Options.prototype.data; - /** @type {?|undefined} */ - Options.prototype.messageLocalizationParams; - /** @type {?|undefined} */ - Options.prototype.titleLocalizationParams; - } -})(Toaster || (Toaster = {})); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3Rlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL21vZGVscy90b2FzdGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsTUFBTSxLQUFXLE9BQU8sQ0FrQnZCO0FBbEJELFdBQWlCLE9BQU87Ozs7SUFDdEIsc0JBUUM7Ozs7UUFQQyxxQkFBUzs7UUFDVCwyQkFBbUI7O1FBQ25CLHVCQUFjOztRQUNkLHlCQUFpQjs7UUFDakIsdUJBQVc7O1FBQ1gsNENBQXFDOztRQUNyQywwQ0FBbUM7O0FBVXZDLENBQUMsRUFsQmdCLE9BQU8sS0FBUCxPQUFPLFFBa0J2QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBuYW1lc3BhY2UgVG9hc3RlciB7XHJcbiAgZXhwb3J0IGludGVyZmFjZSBPcHRpb25zIHtcclxuICAgIGlkPzogYW55O1xyXG4gICAgY2xvc2FibGU/OiBib29sZWFuO1xyXG4gICAgbGlmZT86IG51bWJlcjtcclxuICAgIHN0aWNreT86IGJvb2xlYW47XHJcbiAgICBkYXRhPzogYW55O1xyXG4gICAgbWVzc2FnZUxvY2FsaXphdGlvblBhcmFtcz86IHN0cmluZ1tdO1xyXG4gICAgdGl0bGVMb2NhbGl6YXRpb25QYXJhbXM/OiBzdHJpbmdbXTtcclxuICB9XHJcblxyXG4gIGV4cG9ydCB0eXBlIFNldmVyaXR5ID0gJ3N1Y2Nlc3MnIHwgJ2luZm8nIHwgJ3dhcm4nIHwgJ2Vycm9yJztcclxuXHJcbiAgZXhwb3J0IGNvbnN0IGVudW0gU3RhdHVzIHtcclxuICAgIGNvbmZpcm0gPSAnY29uZmlybScsXHJcbiAgICByZWplY3QgPSAncmVqZWN0JyxcclxuICAgIGRpc21pc3MgPSAnZGlzbWlzcycsXHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/services/confirmation.service.js b/npm/ng-packs/dist/theme-shared/esm5/lib/services/confirmation.service.js deleted file mode 100644 index 66a1b003e3a..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/services/confirmation.service.js +++ /dev/null @@ -1,100 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/confirmation.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Injectable } from '@angular/core'; -import { AbstractToaster } from '../abstracts/toaster'; -import { MessageService } from 'primeng/components/common/messageservice'; -import { fromEvent, Subject } from 'rxjs'; -import { takeUntil, debounceTime, filter } from 'rxjs/operators'; -import * as i0 from "@angular/core"; -import * as i1 from "primeng/components/common/messageservice"; -var ConfirmationService = /** @class */ (function (_super) { - tslib_1.__extends(ConfirmationService, _super); - function ConfirmationService(messageService) { - var _this = _super.call(this, messageService) || this; - _this.messageService = messageService; - _this.key = 'abpConfirmation'; - _this.sticky = true; - _this.destroy$ = new Subject(); - return _this; - } - /** - * @param {?} message - * @param {?} title - * @param {?} severity - * @param {?=} options - * @return {?} - */ - ConfirmationService.prototype.show = /** - * @param {?} message - * @param {?} title - * @param {?} severity - * @param {?=} options - * @return {?} - */ - function (message, title, severity, options) { - this.listenToEscape(); - return _super.prototype.show.call(this, message, title, severity, options); - }; - /** - * @param {?=} status - * @return {?} - */ - ConfirmationService.prototype.clear = /** - * @param {?=} status - * @return {?} - */ - function (status) { - _super.prototype.clear.call(this, status); - this.destroy$.next(); - }; - /** - * @return {?} - */ - ConfirmationService.prototype.listenToEscape = /** - * @return {?} - */ - function () { - var _this = this; - fromEvent(document, 'keyup') - .pipe(takeUntil(this.destroy$), debounceTime(150), filter((/** - * @param {?} key - * @return {?} - */ - function (key) { return key && key.key === 'Escape'; }))) - .subscribe((/** - * @param {?} _ - * @return {?} - */ - function (_) { - _this.clear(); - })); - }; - ConfirmationService.decorators = [ - { type: Injectable, args: [{ providedIn: 'root' },] } - ]; - /** @nocollapse */ - ConfirmationService.ctorParameters = function () { return [ - { type: MessageService } - ]; }; - /** @nocollapse */ ConfirmationService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ConfirmationService_Factory() { return new ConfirmationService(i0.ɵɵinject(i1.MessageService)); }, token: ConfirmationService, providedIn: "root" }); - return ConfirmationService; -}(AbstractToaster)); -export { ConfirmationService }; -if (false) { - /** @type {?} */ - ConfirmationService.prototype.key; - /** @type {?} */ - ConfirmationService.prototype.sticky; - /** @type {?} */ - ConfirmationService.prototype.destroy$; - /** - * @type {?} - * @protected - */ - ConfirmationService.prototype.messageService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybWF0aW9uLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLnNoYXJlZC8iLCJzb3VyY2VzIjpbImxpYi9zZXJ2aWNlcy9jb25maXJtYXRpb24uc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUV2RCxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sMENBQTBDLENBQUM7QUFDMUUsT0FBTyxFQUFFLFNBQVMsRUFBYyxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDdEQsT0FBTyxFQUFF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Y2FwZScpLFxyXG4gICAgICApXHJcbiAgICAgIC5zdWJzY3JpYmUoXyA9PiB7XHJcbiAgICAgICAgdGhpcy5jbGVhcigpO1xyXG4gICAgICB9KTtcclxuICB9XHJcbn1cclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/services/index.js b/npm/ng-packs/dist/theme-shared/esm5/lib/services/index.js deleted file mode 100644 index 5cb2c754f55..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/services/index.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { ConfirmationService } from './confirmation.service'; -export { ToasterService } from './toaster.service'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLnNoYXJlZC8iLCJzb3VyY2VzIjpbImxpYi9zZXJ2aWNlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLG9DQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLCtCQUFjLG1CQUFtQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb25maXJtYXRpb24uc2VydmljZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vdG9hc3Rlci5zZXJ2aWNlJztcclxuIl19 \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/services/toaster.service.js b/npm/ng-packs/dist/theme-shared/esm5/lib/services/toaster.service.js deleted file mode 100644 index 27432999dab..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/services/toaster.service.js +++ /dev/null @@ -1,53 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/services/toaster.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Injectable } from '@angular/core'; -import { AbstractToaster } from '../abstracts/toaster'; -import { MessageService } from 'primeng/components/common/messageservice'; -import * as i0 from "@angular/core"; -import * as i1 from "primeng/components/common/messageservice"; -var ToasterService = /** @class */ (function (_super) { - tslib_1.__extends(ToasterService, _super); - function ToasterService(messageService) { - var _this = _super.call(this, messageService) || this; - _this.messageService = messageService; - return _this; - } - /** - * @param {?} messages - * @return {?} - */ - ToasterService.prototype.addAll = /** - * @param {?} messages - * @return {?} - */ - function (messages) { - var _this = this; - this.messageService.addAll(messages.map((/** - * @param {?} message - * @return {?} - */ - function (message) { return (tslib_1.__assign({ key: _this.key }, message)); }))); - }; - ToasterService.decorators = [ - { type: Injectable, args: [{ providedIn: 'root' },] } - ]; - /** @nocollapse */ - ToasterService.ctorParameters = function () { return [ - { type: MessageService } - ]; }; - /** @nocollapse */ ToasterService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ToasterService_Factory() { return new ToasterService(i0.ɵɵinject(i1.MessageService)); }, token: ToasterService, providedIn: "root" }); - return ToasterService; -}(AbstractToaster)); -export { ToasterService }; -if (false) { - /** - * @type {?} - * @protected - */ - ToasterService.prototype.messageService; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3Rlci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5zaGFyZWQvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvdG9hc3Rlci5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBRXZELE9BQU8sRUF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NsYXNzIFRvYXN0ZXJTZXJ2aWNlIGV4dGVuZHMgQWJzdHJhY3RUb2FzdGVyIHtcclxuICBjb25zdHJ1Y3Rvcihwcm90ZWN0ZWQgbWVzc2FnZVNlcnZpY2U6IE1lc3NhZ2VTZXJ2aWNlKSB7XHJcbiAgICBzdXBlcihtZXNzYWdlU2VydmljZSk7XHJcbiAgfVxyXG5cclxuICBhZGRBbGwobWVzc2FnZXM6IE1lc3NhZ2VbXSk6IHZvaWQge1xyXG4gICAgdGhpcy5tZXNzYWdlU2VydmljZS5hZGRBbGwobWVzc2FnZXMubWFwKG1lc3NhZ2UgPT4gKHsga2V5OiB0aGlzLmtleSwgLi4ubWVzc2FnZSB9KSkpO1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/theme-shared.module.js b/npm/ng-packs/dist/theme-shared/esm5/lib/theme-shared.module.js deleted file mode 100644 index dead6a211c6..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/theme-shared.module.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/theme-shared.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { CoreModule, LazyLoadService } from '@abp/ng.core'; -import { APP_INITIALIZER, Injector, NgModule } from '@angular/core'; -import { NgxValidateCoreModule } from '@ngx-validate/core'; -import { MessageService } from 'primeng/components/common/messageservice'; -import { ToastModule } from 'primeng/toast'; -import { BreadcrumbComponent } from './components/breadcrumb/breadcrumb.component'; -import { ButtonComponent } from './components/button/button.component'; -import { ChartComponent } from './components/chart/chart.component'; -import { ConfirmationComponent } from './components/confirmation/confirmation.component'; -import { HttpErrorWrapperComponent } from './components/http-error-wrapper/http-error-wrapper.component'; -import { LoaderBarComponent } from './components/loader-bar/loader-bar.component'; -import { ModalComponent } from './components/modal/modal.component'; -import { SortOrderIconComponent } from './components/sort-order-icon/sort-order-icon.component'; -import { TableEmptyMessageComponent } from './components/table-empty-message/table-empty-message.component'; -import { ToastComponent } from './components/toast/toast.component'; -import styles from './constants/styles'; -import { TableSortDirective } from './directives/table-sort.directive'; -import { ErrorHandler } from './handlers/error.handler'; -import { chartJsLoaded$ } from './utils/widget-utils'; -import { HTTP_ERROR_CONFIG, httpErrorConfigFactory } from './tokens/http-error.token'; -import { NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap'; -import { DateParserFormatter } from './utils/date-parser-formatter'; -import { DatePipe } from '@angular/common'; -/** - * @param {?} injector - * @return {?} - */ -export function appendScript(injector) { - /** @type {?} */ - var fn = (/** - * @return {?} - */ - function () { - import('chart.js').then((/** - * @return {?} - */ - function () { return chartJsLoaded$.next(true); })); - /** @type {?} */ - var lazyLoadService = injector.get(LazyLoadService); - return lazyLoadService.load(null, 'style', styles, 'head', 'beforeend').toPromise(); - }); - return fn; -} -var ThemeSharedModule = /** @class */ (function () { - function ThemeSharedModule(errorHandler) { - this.errorHandler = errorHandler; - } - /** - * @param {?=} options - * @return {?} - */ - ThemeSharedModule.forRoot = /** - * @param {?=} options - * @return {?} - */ - function (options) { - if (options === void 0) { options = (/** @type {?} */ ({})); } - return { - ngModule: ThemeSharedModule, - providers: [ - { - provide: APP_INITIALIZER, - multi: true, - deps: [Injector], - useFactory: appendScript, - }, - { provide: MessageService, useClass: MessageService }, - { provide: HTTP_ERROR_CONFIG, useValue: options.httpErrorConfig }, - { - provide: 'HTTP_ERROR_CONFIG', - useFactory: httpErrorConfigFactory, - deps: [HTTP_ERROR_CONFIG], - }, - { provide: NgbDateParserFormatter, useClass: DateParserFormatter }, - ], - }; - }; - ThemeSharedModule.decorators = [ - { type: NgModule, args: [{ - imports: [CoreModule, ToastModule, NgxValidateCoreModule], - declarations: [ - BreadcrumbComponent, - ButtonComponent, - ChartComponent, - ConfirmationComponent, - HttpErrorWrapperComponent, - LoaderBarComponent, - ModalComponent, - TableEmptyMessageComponent, - ToastComponent, - SortOrderIconComponent, - TableSortDirective, - ], - exports: [ - BreadcrumbComponent, - ButtonComponent, - ChartComponent, - ConfirmationComponent, - LoaderBarComponent, - ModalComponent, - TableEmptyMessageComponent, - ToastComponent, - SortOrderIconComponent, - TableSortDirective, - ], - providers: [DatePipe], - entryComponents: [HttpErrorWrapperComponent], - },] } - ]; - /** @nocollapse */ - ThemeSharedModule.ctorParameters = function () { return [ - { type: ErrorHandler } - ]; }; - return ThemeSharedModule; -}()); -export { ThemeSharedModule }; -if (false) { - /** - * @type {?} - * @private - */ - ThemeSharedModule.prototype.errorHandler; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhlbWUtc2hhcmVkLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsibGliL3RoZW1lLXNoYXJlZC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLGVBQWUsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUMzRCxPQUFPLEVBQUUsZUFBZSxFQUFFLFFBQVEsRUFBdUIsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pGLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQzNELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwwQ0FBMEMsQ0FBQztBQUMxRSxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTVDLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDhDQUE4QyxDQUFDO0FBQ25GLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQztBQUN2RSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sb0NBQW9DLENBQUM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Q09ORklHLCB1c2VWYWx1ZTogb3B0aW9ucy5odHRwRXJyb3JDb25maWcgfSxcclxuICAgICAgICB7XHJcbiAgICAgICAgICBwcm92aWRlOiAnSFRUUF9FUlJPUl9DT05GSUcnLFxyXG4gICAgICAgICAgdXNlRmFjdG9yeTogaHR0cEVycm9yQ29uZmlnRmFjdG9yeSxcclxuICAgICAgICAgIGRlcHM6IFtIVFRQX0VSUk9SX0NPTkZJR10sXHJcbiAgICAgICAgfSxcclxuICAgICAgICB7IHByb3ZpZGU6IE5nYkRhdGVQYXJzZXJGb3JtYXR0ZXIsIHVzZUNsYXNzOiBEYXRlUGFyc2VyRm9ybWF0dGVyIH0sXHJcbiAgICAgIF0sXHJcbiAgICB9O1xyXG4gIH1cclxufVxyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/tokens/http-error.token.js b/npm/ng-packs/dist/theme-shared/esm5/lib/tokens/http-error.token.js deleted file mode 100644 index 8cbdc646d62..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/tokens/http-error.token.js +++ /dev/null @@ -1,21 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/tokens/http-error.token.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { InjectionToken } from '@angular/core'; -/** - * @param {?=} config - * @return {?} - */ -export function httpErrorConfigFactory(config) { - if (config === void 0) { config = (/** @type {?} */ ({})); } - if (config.errorScreen && config.errorScreen.component && !config.errorScreen.forWhichErrors) { - config.errorScreen.forWhichErrors = [401, 403, 404, 500]; - } - return (/** @type {?} */ (tslib_1.__assign({ errorScreen: {} }, config))); -} -/** @type {?} */ -export var HTTP_ERROR_CONFIG = new InjectionToken('HTTP_ERROR_CONFIG'); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHR0cC1lcnJvci50b2tlbi5qcyIs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W50ICYmICFjb25maWcuZXJyb3JTY3JlZW4uZm9yV2hpY2hFcnJvcnMpIHtcclxuICAgIGNvbmZpZy5lcnJvclNjcmVlbi5mb3JXaGljaEVycm9ycyA9IFs0MDEsIDQwMywgNDA0LCA1MDBdO1xyXG4gIH1cclxuXHJcbiAgcmV0dXJuIHtcclxuICAgIGVycm9yU2NyZWVuOiB7fSxcclxuICAgIC4uLmNvbmZpZyxcclxuICB9IGFzIEh0dHBFcnJvckNvbmZpZztcclxufVxyXG5cclxuZXhwb3J0IGNvbnN0IEhUVFBfRVJST1JfQ09ORklHID0gbmV3IEluamVjdGlvblRva2VuKCdIVFRQX0VSUk9SX0NPTkZJRycpO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/utils/date-parser-formatter.js b/npm/ng-packs/dist/theme-shared/esm5/lib/utils/date-parser-formatter.js deleted file mode 100644 index b5f98a5186f..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/utils/date-parser-formatter.js +++ /dev/null @@ -1,102 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/date-parser-formatter.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import * as tslib_1 from "tslib"; -import { Injectable, Optional } from '@angular/core'; -import { NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap'; -import { DatePipe } from '@angular/common'; -/** - * @param {?} value - * @return {?} - */ -function padNumber(value) { - if (isNumber(value)) { - return ("0" + value).slice(-2); - } - else { - return ''; - } -} -/** - * @param {?} value - * @return {?} - */ -function isNumber(value) { - return !isNaN(toInteger(value)); -} -/** - * @param {?} value - * @return {?} - */ -function toInteger(value) { - return parseInt("" + value, 10); -} -var DateParserFormatter = /** @class */ (function (_super) { - tslib_1.__extends(DateParserFormatter, _super); - function DateParserFormatter(datePipe) { - var _this = _super.call(this) || this; - _this.datePipe = datePipe; - return _this; - } - /** - * @param {?} value - * @return {?} - */ - DateParserFormatter.prototype.parse = /** - * @param {?} value - * @return {?} - */ - function (value) { - if (value) { - /** @type {?} */ - var dateParts = value.trim().split('-'); - if (dateParts.length === 1 && isNumber(dateParts[0])) { - return { year: toInteger(dateParts[0]), month: null, day: null }; - } - else if (dateParts.length === 2 && isNumber(dateParts[0]) && isNumber(dateParts[1])) { - return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: null }; - } - else if (dateParts.length === 3 && isNumber(dateParts[0]) && isNumber(dateParts[1]) && isNumber(dateParts[2])) { - return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: toInteger(dateParts[2]) }; - } - } - return null; - }; - /** - * @param {?} date - * @return {?} - */ - DateParserFormatter.prototype.format = /** - * @param {?} date - * @return {?} - */ - function (date) { - if (date && this.datePipe) { - return this.datePipe.transform(new Date(date.year, date.month, date.day), 'shortDate'); - } - else { - return date - ? date.year + "-" + (isNumber(date.month) ? padNumber(date.month) : '') + "-" + (isNumber(date.day) ? padNumber(date.day) : '') - : ''; - } - }; - DateParserFormatter.decorators = [ - { type: Injectable } - ]; - /** @nocollapse */ - DateParserFormatter.ctorParameters = function () { return [ - { type: DatePipe, decorators: [{ type: Optional }] } - ]; }; - return DateParserFormatter; -}(NgbDateParserFormatter)); -export { DateParserFormatter }; -if (false) { - /** - * @type {?} - * @private - */ - DateParserFormatter.prototype.datePipe; -} -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS1wYXJzZXItZm9ybWF0dGVyLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5zaGFyZWQvIiwic291cmNlcyI6WyJsaWIvdXRpbHMvZGF0ZS1wYXJzZXItZm9ybWF0dGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3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c7XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/utils/index.js b/npm/ng-packs/dist/theme-shared/esm5/lib/utils/index.js deleted file mode 100644 index ba1c1b812fd..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/utils/index.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -export { getRandomBackgroundColor, chartJsLoaded$ } from './widget-utils'; -export { DateParserFormatter } from './date-parser-formatter'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWJwL25nLnRoZW1lLnNoYXJlZC8iLCJzb3VyY2VzIjpbImxpYi91dGlscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHlEQUFjLGdCQUFnQixDQUFDO0FBQy9CLG9DQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi93aWRnZXQtdXRpbHMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2RhdGUtcGFyc2VyLWZvcm1hdHRlcic7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/lib/utils/widget-utils.js b/npm/ng-packs/dist/theme-shared/esm5/lib/utils/widget-utils.js deleted file mode 100644 index 06a3601b325..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/lib/utils/widget-utils.js +++ /dev/null @@ -1,27 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/widget-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -import { ReplaySubject } from 'rxjs'; -/** - * @param {?} count - * @return {?} - */ -export function getRandomBackgroundColor(count) { - /** @type {?} */ - var colors = []; - for (var i = 0; i < count; i++) { - /** @type {?} */ - var r = ((i + 5) * (i + 5) * 474) % 255; - /** @type {?} */ - var g = ((i + 5) * (i + 5) * 1600) % 255; - /** @type {?} */ - var b = ((i + 5) * (i + 5) * 84065) % 255; - colors.push('rgba(' + r + ', ' + g + ', ' + b + ', 0.7)'); - } - return colors; -} -/** @type {?} */ -export var chartJsLoaded$ = new ReplaySubject(1); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LXV0aWxzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy50aGVtZS5zaGFyZWQvIiwic291cmNlcyI6WyJsaWIvdXRpbHMvd2lkZ2V0LXV0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLE1BQU0sQ0FBQzs7Ozs7QUFFckMsTUFBTSxVQUFVLHdCQUF3QixDQUFDLEtBQUs7O1FBQ3RDLE1BQU0sR0FBRyxFQUFFO0lBRWpCLEtBQUssSUFBSSxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsR0FBRyxLQUFLLEVBQUUsQ0FBQyxFQUFFLEVBQUU7O1lBQ3hCLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxHQUFHLEdBQUcsQ0FBQyxHQUFHLEdBQUc7O1lBQ25DLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxHQUFHLElBQUksQ0FBQyxHQUFHLEdBQUc7O1lBQ3BDLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxHQUFHLEtBQUssQ0FBQyxHQUFHLEdBQUc7UUFDM0MsTUFBTSxDQUFDLElBQUksQ0FBQyxPQUFPLEdBQUcsQ0FBQyxHQUFHLElBQUksR0FBRyxDQUFDLEdBQUcsSUFBSSxHQUFHLENBQUMsR0FBRyxRQUFRLENBQUMsQ0FBQztLQUMzRDtJQUVELE9BQU8sTUFBTSxDQUFDO0FBQ2hCLENBQUM7O0FBRUQsTUFBTSxLQUFPLGNBQWMsR0FBRyxJQUFJLGFBQWEsQ0FBQyxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBSZXBsYXlTdWJqZWN0IH0gZnJvbSAncnhqcyc7XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gZ2V0UmFuZG9tQmFja2dyb3VuZENvbG9yKGNvdW50KSB7XHJcbiAgY29uc3QgY29sb3JzID0gW107XHJcblxyXG4gIGZvciAobGV0IGkgPSAwOyBpIDwgY291bnQ7IGkrKykge1xyXG4gICAgY29uc3QgciA9ICgoaSArIDUpICogKGkgKyA1KSAqIDQ3NCkgJSAyNTU7XHJcbiAgICBjb25zdCBnID0gKChpICsgNSkgKiAoaSArIDUpICogMTYwMCkgJSAyNTU7XHJcbiAgICBjb25zdCBiID0gKChpICsgNSkgKiAoaSArIDUpICogODQwNjUpICUgMjU1O1xyXG4gICAgY29sb3JzLnB1c2goJ3JnYmEoJyArIHIgKyAnLCAnICsgZyArICcsICcgKyBiICsgJywgMC43KScpO1xyXG4gIH1cclxuXHJcbiAgcmV0dXJuIGNvbG9ycztcclxufVxyXG5cclxuZXhwb3J0IGNvbnN0IGNoYXJ0SnNMb2FkZWQkID0gbmV3IFJlcGxheVN1YmplY3QoMSk7XHJcbiJdfQ== \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/esm5/public-api.js b/npm/ng-packs/dist/theme-shared/esm5/public-api.js deleted file mode 100644 index f2b03f8cb3a..00000000000 --- a/npm/ng-packs/dist/theme-shared/esm5/public-api.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/* - * Public API Surface of theme-shared - */ -export { appendScript, ThemeSharedModule } from './lib/theme-shared.module'; -export { bounceIn, collapseY, collapseYWithMargin, collapseX, expandY, expandYWithMargin, expandX, collapse, collapseWithMargin, collapseLinearWithMargin, fadeIn, fadeOut, fadeInDown, fadeInUp, fadeInLeft, fadeInRight, fadeOutDown, fadeOutUp, fadeOutLeft, fadeOutRight, fadeAnimation, dialogAnimation, slideFromBottom } from './lib/animations'; -export { BreadcrumbComponent, ButtonComponent, ChartComponent, ConfirmationComponent, LoaderBarComponent, ModalComponent, TableEmptyMessageComponent, ToastComponent, SortOrderIconComponent } from './lib/components'; -export { TableSortDirective } from './lib/directives'; -export { addSettingTab, getSettingTabs, Toaster } from './lib/models'; -export { ConfirmationService, ToasterService } from './lib/services'; -export { getRandomBackgroundColor, chartJsLoaded$, DateParserFormatter } from './lib/utils'; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYnAvbmcudGhlbWUuc2hhcmVkLyIsInNvdXJjZXMiOlsicHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLGdEQUFjLDJCQUEyQixDQUFDO0FBQzFDLHFVQUFjLGtCQUFrQixDQUFDO0FBQ2pDLG9NQUFjLGtCQUFrQixDQUFDO0FBQ2pDLG1DQUFjLGtCQUFrQixDQUFDO0FBQ2pDLHVEQUFjLGNBQWMsQ0FBQztBQUM3QixvREFBYyxnQkFBZ0IsQ0FBQztBQUMvQiw4RUFBYyxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxyXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgdGhlbWUtc2hhcmVkXHJcbiAqL1xyXG5cclxuZXhwb3J0ICogZnJvbSAnLi9saWIvdGhlbWUtc2hhcmVkLm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2FuaW1hdGlvbnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21wb25lbnRzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvZGlyZWN0aXZlcyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL21vZGVscyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3NlcnZpY2VzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvdXRpbHMnO1xyXG4iXX0= \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/fesm2015/abp-ng.theme.shared.js b/npm/ng-packs/dist/theme-shared/fesm2015/abp-ng.theme.shared.js deleted file mode 100644 index c27617e53c3..00000000000 --- a/npm/ng-packs/dist/theme-shared/fesm2015/abp-ng.theme.shared.js +++ /dev/null @@ -1,2773 +0,0 @@ -import { ConfigState, takeUntilDestroy, StartLoader, StopLoader, SortPipe, RestOccurError, LazyLoadService, CoreModule } from '@abp/ng.core'; -import { Component, EventEmitter, Renderer2, Input, Output, ViewChild, ElementRef, ChangeDetectorRef, Injectable, ɵɵdefineInjectable, ɵɵinject, ContentChild, ViewChildren, Directive, Optional, Self, ApplicationRef, ComponentFactoryResolver, RendererFactory2, Injector, Inject, INJECTOR, InjectionToken, APP_INITIALIZER, NgModule } from '@angular/core'; -import { takeUntilDestroy as takeUntilDestroy$1, NgxValidateCoreModule } from '@ngx-validate/core'; -import { MessageService } from 'primeng/components/common/messageservice'; -import { ToastModule } from 'primeng/toast'; -import { Router, NavigationStart, NavigationEnd, NavigationError } from '@angular/router'; -import { Store, ofActionSuccessful, Actions } from '@ngxs/store'; -import { ReplaySubject, BehaviorSubject, Subject, fromEvent, interval, timer } from 'rxjs'; -import { takeUntil, debounceTime, filter } from 'rxjs/operators'; -import snq from 'snq'; -import { animation, style, animate, trigger, transition, useAnimation, keyframes, state } from '@angular/animations'; -import { Table } from 'primeng/table'; -import clone from 'just-clone'; -import { HttpErrorResponse } from '@angular/common/http'; -import { RouterError, RouterDataResolved, Navigate, RouterState } from '@ngxs/router-plugin'; -import { NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap'; -import { DatePipe } from '@angular/common'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/breadcrumb/breadcrumb.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class BreadcrumbComponent { - /** - * @param {?} router - * @param {?} store - */ - constructor(router, store) { - this.router = router; - this.store = store; - this.segments = []; - } - /** - * @return {?} - */ - ngOnInit() { - this.show = !!this.store.selectSnapshot((/** - * @param {?} state - * @return {?} - */ - state => state.LeptonLayoutState)); - if (this.show) { - /** @type {?} */ - let splittedUrl = this.router.url.split('/').filter((/** - * @param {?} chunk - * @return {?} - */ - chunk => chunk)); - /** @type {?} */ - let currentUrl = this.store.selectSnapshot(ConfigState.getRoute(splittedUrl[0])); - if (!currentUrl) { - currentUrl = this.store.selectSnapshot(ConfigState.getRoute(null, null, this.router.url)); - splittedUrl = [this.router.url]; - if (!currentUrl) { - this.show = false; - return; - } - } - this.segments.push(currentUrl.name); - if (splittedUrl.length > 1) { - const [, ...arr] = splittedUrl; - /** @type {?} */ - let childRoute = currentUrl; - for (let i = 0; i < arr.length; i++) { - /** @type {?} */ - const element = arr[i]; - childRoute = childRoute.children.find((/** - * @param {?} child - * @return {?} - */ - child => child.path === element)); - this.segments.push(childRoute.name); - } - } - } - } -} -BreadcrumbComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-breadcrumb', - template: "
      \r\n
    1. \r\n \r\n
    2. \r\n \r\n {{ segment | abpLocalization }}\r\n \r\n
    \r\n" - }] } -]; -/** @nocollapse */ -BreadcrumbComponent.ctorParameters = () => [ - { type: Router }, - { type: Store } -]; -if (false) { - /** @type {?} */ - BreadcrumbComponent.prototype.show; - /** @type {?} */ - BreadcrumbComponent.prototype.segments; - /** - * @type {?} - * @private - */ - BreadcrumbComponent.prototype.router; - /** - * @type {?} - * @private - */ - BreadcrumbComponent.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/button/button.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class ButtonComponent { - /** - * @param {?} renderer - */ - constructor(renderer) { - this.renderer = renderer; - this.buttonId = ''; - this.buttonClass = 'btn btn-primary'; - this.buttonType = 'button'; - this.loading = false; - this.disabled = false; - // tslint:disable - /** - * @deprecated use abpClick instead - */ - this.click = new EventEmitter(); - /** - * @deprecated use abpFocus instead - */ - // tslint:disable-next-line: no-output-native - this.focus = new EventEmitter(); - /** - * @deprecated use abpBlur instead - */ - this.blur = new EventEmitter(); - // tslint:enable - this.abpClick = new EventEmitter(); - this.abpFocus = new EventEmitter(); - this.abpBlur = new EventEmitter(); - } - /** - * @return {?} - */ - get icon() { - return `${this.loading ? 'fa fa-spinner fa-spin' : this.iconClass || 'd-none'}`; - } - /** - * @return {?} - */ - ngOnInit() { - if (this.attributes) { - Object.keys(this.attributes).forEach((/** - * @param {?} key - * @return {?} - */ - key => { - this.renderer.setAttribute(this.buttonRef.nativeElement, key, this.attributes[key]); - })); - } - } -} -ButtonComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-button', - template: ` - - ` - }] } -]; -/** @nocollapse */ -ButtonComponent.ctorParameters = () => [ - { type: Renderer2 } -]; -ButtonComponent.propDecorators = { - buttonId: [{ type: Input }], - buttonClass: [{ type: Input }], - buttonType: [{ type: Input }], - iconClass: [{ type: Input }], - loading: [{ type: Input }], - disabled: [{ type: Input }], - attributes: [{ type: Input }], - click: [{ type: Output }], - focus: [{ type: Output }], - blur: [{ type: Output }], - abpClick: [{ type: Output }], - abpFocus: [{ type: Output }], - abpBlur: [{ type: Output }], - buttonRef: [{ type: ViewChild, args: ['button', { static: true },] }] -}; -if (false) { - /** @type {?} */ - ButtonComponent.prototype.buttonId; - /** @type {?} */ - ButtonComponent.prototype.buttonClass; - /** @type {?} */ - ButtonComponent.prototype.buttonType; - /** @type {?} */ - ButtonComponent.prototype.iconClass; - /** @type {?} */ - ButtonComponent.prototype.loading; - /** @type {?} */ - ButtonComponent.prototype.disabled; - /** @type {?} */ - ButtonComponent.prototype.attributes; - /** - * @deprecated use abpClick instead - * @type {?} - */ - ButtonComponent.prototype.click; - /** - * @deprecated use abpFocus instead - * @type {?} - */ - ButtonComponent.prototype.focus; - /** - * @deprecated use abpBlur instead - * @type {?} - */ - ButtonComponent.prototype.blur; - /** @type {?} */ - ButtonComponent.prototype.abpClick; - /** @type {?} */ - ButtonComponent.prototype.abpFocus; - /** @type {?} */ - ButtonComponent.prototype.abpBlur; - /** @type {?} */ - ButtonComponent.prototype.buttonRef; - /** - * @type {?} - * @private - */ - ButtonComponent.prototype.renderer; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/widget-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?} count - * @return {?} - */ -function getRandomBackgroundColor(count) { - /** @type {?} */ - const colors = []; - for (let i = 0; i < count; i++) { - /** @type {?} */ - const r = ((i + 5) * (i + 5) * 474) % 255; - /** @type {?} */ - const g = ((i + 5) * (i + 5) * 1600) % 255; - /** @type {?} */ - const b = ((i + 5) * (i + 5) * 84065) % 255; - colors.push('rgba(' + r + ', ' + g + ', ' + b + ', 0.7)'); - } - return colors; -} -/** @type {?} */ -const chartJsLoaded$ = new ReplaySubject(1); - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/chart/chart.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class ChartComponent { - /** - * @param {?} el - * @param {?} cdRef - */ - constructor(el, cdRef) { - this.el = el; - this.cdRef = cdRef; - this.options = {}; - this.plugins = []; - this.responsive = true; - // tslint:disable-next-line: no-output-on-prefix - this.onDataSelect = new EventEmitter(); - this.initialized = new BehaviorSubject(this); - this.onCanvasClick = (/** - * @param {?} event - * @return {?} - */ - event => { - if (this.chart) { - /** @type {?} */ - const element = this.chart.getElementAtEvent(event); - /** @type {?} */ - const dataset = this.chart.getDatasetAtEvent(event); - if (element && element.length && dataset) { - this.onDataSelect.emit({ - originalEvent: event, - element: element[0], - dataset, - }); - } - } - }); - this.initChart = (/** - * @return {?} - */ - () => { - /** @type {?} */ - const opts = this.options || {}; - opts.responsive = this.responsive; - // allows chart to resize in responsive mode - if (opts.responsive && (this.height || this.width)) { - opts.maintainAspectRatio = false; - } - this.chart = new Chart(this.canvas, { - type: this.type, - data: this.data, - options: this.options, - plugins: this.plugins, - }); - this.cdRef.detectChanges(); - }); - this.generateLegend = (/** - * @return {?} - */ - () => { - if (this.chart) { - return this.chart.generateLegend(); - } - }); - this.refresh = (/** - * @return {?} - */ - () => { - if (this.chart) { - this.chart.update(); - this.cdRef.detectChanges(); - } - }); - this.reinit = (/** - * @return {?} - */ - () => { - if (this.chart) { - this.chart.destroy(); - this.initChart(); - } - }); - } - /** - * @return {?} - */ - get data() { - return this._data; - } - /** - * @param {?} val - * @return {?} - */ - set data(val) { - this._data = val; - this.reinit(); - } - /** - * @return {?} - */ - get canvas() { - return this.el.nativeElement.children[0].children[0]; - } - /** - * @return {?} - */ - get base64Image() { - return this.chart.toBase64Image(); - } - /** - * @return {?} - */ - ngAfterViewInit() { - chartJsLoaded$.subscribe((/** - * @return {?} - */ - () => { - this.testChartJs(); - this.initChart(); - this._initialized = true; - })); - } - /** - * @return {?} - */ - testChartJs() { - try { - // tslint:disable-next-line: no-unused-expression - Chart; - } - catch (error) { - throw new Error(`Chart is not found. Import the Chart from app.module like shown below: - import('chart.js'); - `); - } - } - /** - * @return {?} - */ - ngOnDestroy() { - if (this.chart) { - this.chart.destroy(); - this._initialized = false; - this.chart = null; - } - } -} -ChartComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-chart', - template: "\r\n \r\n\r\n" - }] } -]; -/** @nocollapse */ -ChartComponent.ctorParameters = () => [ - { type: ElementRef }, - { type: ChangeDetectorRef } -]; -ChartComponent.propDecorators = { - type: [{ type: Input }], - options: [{ type: Input }], - plugins: [{ type: Input }], - width: [{ type: Input }], - height: [{ type: Input }], - responsive: [{ type: Input }], - onDataSelect: [{ type: Output }], - initialized: [{ type: Output }], - data: [{ type: Input }] -}; -if (false) { - /** @type {?} */ - ChartComponent.prototype.type; - /** @type {?} */ - ChartComponent.prototype.options; - /** @type {?} */ - ChartComponent.prototype.plugins; - /** @type {?} */ - ChartComponent.prototype.width; - /** @type {?} */ - ChartComponent.prototype.height; - /** @type {?} */ - ChartComponent.prototype.responsive; - /** @type {?} */ - ChartComponent.prototype.onDataSelect; - /** @type {?} */ - ChartComponent.prototype.initialized; - /** - * @type {?} - * @private - */ - ChartComponent.prototype._initialized; - /** @type {?} */ - ChartComponent.prototype._data; - /** @type {?} */ - ChartComponent.prototype.chart; - /** @type {?} */ - ChartComponent.prototype.onCanvasClick; - /** @type {?} */ - ChartComponent.prototype.initChart; - /** @type {?} */ - ChartComponent.prototype.generateLegend; - /** @type {?} */ - ChartComponent.prototype.refresh; - /** @type {?} */ - ChartComponent.prototype.reinit; - /** @type {?} */ - ChartComponent.prototype.el; - /** - * @type {?} - * @private - */ - ChartComponent.prototype.cdRef; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/abstracts/toaster.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @abstract - * @template T - */ -class AbstractToaster { - /** - * @param {?} messageService - */ - constructor(messageService) { - this.messageService = messageService; - this.key = 'abpToast'; - this.sticky = false; - } - /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - info(message, title, options) { - return this.show(message, title, 'info', options); - } - /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - success(message, title, options) { - return this.show(message, title, 'success', options); - } - /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - warn(message, title, options) { - return this.show(message, title, 'warn', options); - } - /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - error(message, title, options) { - return this.show(message, title, 'error', options); - } - /** - * @protected - * @param {?} message - * @param {?} title - * @param {?} severity - * @param {?=} options - * @return {?} - */ - show(message, title, severity, options) { - this.messageService.clear(this.key); - this.messageService.add(Object.assign({ severity, detail: message || '', summary: title || '' }, options, { key: this.key }, (typeof (options || ((/** @type {?} */ ({})))).sticky === 'undefined' && { sticky: this.sticky }))); - this.status$ = new Subject(); - return this.status$; - } - /** - * @param {?=} status - * @return {?} - */ - clear(status) { - this.messageService.clear(this.key); - this.status$.next(status || "dismiss" /* dismiss */); - this.status$.complete(); - } -} -if (false) { - /** @type {?} */ - AbstractToaster.prototype.status$; - /** @type {?} */ - AbstractToaster.prototype.key; - /** @type {?} */ - AbstractToaster.prototype.sticky; - /** - * @type {?} - * @protected - */ - AbstractToaster.prototype.messageService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/confirmation.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class ConfirmationService extends AbstractToaster { - /** - * @param {?} messageService - */ - constructor(messageService) { - super(messageService); - this.messageService = messageService; - this.key = 'abpConfirmation'; - this.sticky = true; - this.destroy$ = new Subject(); - } - /** - * @param {?} message - * @param {?} title - * @param {?} severity - * @param {?=} options - * @return {?} - */ - show(message, title, severity, options) { - this.listenToEscape(); - return super.show(message, title, severity, options); - } - /** - * @param {?=} status - * @return {?} - */ - clear(status) { - super.clear(status); - this.destroy$.next(); - } - /** - * @return {?} - */ - listenToEscape() { - fromEvent(document, 'keyup') - .pipe(takeUntil(this.destroy$), debounceTime(150), filter((/** - * @param {?} key - * @return {?} - */ - (key) => key && key.key === 'Escape'))) - .subscribe((/** - * @param {?} _ - * @return {?} - */ - _ => { - this.clear(); - })); - } -} -ConfirmationService.decorators = [ - { type: Injectable, args: [{ providedIn: 'root' },] } -]; -/** @nocollapse */ -ConfirmationService.ctorParameters = () => [ - { type: MessageService } -]; -/** @nocollapse */ ConfirmationService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ConfirmationService_Factory() { return new ConfirmationService(ɵɵinject(MessageService)); }, token: ConfirmationService, providedIn: "root" }); -if (false) { - /** @type {?} */ - ConfirmationService.prototype.key; - /** @type {?} */ - ConfirmationService.prototype.sticky; - /** @type {?} */ - ConfirmationService.prototype.destroy$; - /** - * @type {?} - * @protected - */ - ConfirmationService.prototype.messageService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/confirmation/confirmation.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class ConfirmationComponent { - /** - * @param {?} confirmationService - */ - constructor(confirmationService) { - this.confirmationService = confirmationService; - this.confirm = "confirm" /* confirm */; - this.reject = "reject" /* reject */; - this.dismiss = "dismiss" /* dismiss */; - } - /** - * @param {?} status - * @return {?} - */ - close(status) { - this.confirmationService.clear(status); - } -} -ConfirmationComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-confirmation', - // tslint:disable-next-line: component-max-inline-declarations - template: ` - - - -
    - {{ message.summary | abpLocalization: message.titleLocalizationParams }} -
    -
    - {{ message.detail | abpLocalization: message.messageLocalizationParams }} -
    - - -
    -
    - ` - }] } -]; -/** @nocollapse */ -ConfirmationComponent.ctorParameters = () => [ - { type: ConfirmationService } -]; -if (false) { - /** @type {?} */ - ConfirmationComponent.prototype.confirm; - /** @type {?} */ - ConfirmationComponent.prototype.reject; - /** @type {?} */ - ConfirmationComponent.prototype.dismiss; - /** - * @type {?} - * @private - */ - ConfirmationComponent.prototype.confirmationService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/http-error-wrapper/http-error-wrapper.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class HttpErrorWrapperComponent { - constructor() { - this.status = 0; - this.title = 'Oops!'; - this.details = 'Sorry, an error has occured.'; - this.customComponent = null; - this.hideCloseIcon = false; - } - /** - * @return {?} - */ - get statusText() { - return this.status ? `[${this.status}]` : ''; - } - /** - * @return {?} - */ - ngOnInit() { - this.backgroundColor = - snq((/** - * @return {?} - */ - () => window.getComputedStyle(document.body).getPropertyValue('background-color'))) || '#fff'; - } - /** - * @return {?} - */ - ngAfterViewInit() { - if (this.customComponent) { - /** @type {?} */ - const customComponentRef = this.cfRes.resolveComponentFactory(this.customComponent).create(this.injector); - customComponentRef.instance.errorStatus = this.status; - customComponentRef.instance.destroy$ = this.destroy$; - this.appRef.attachView(customComponentRef.hostView); - this.containerRef.nativeElement.appendChild(((/** @type {?} */ (customComponentRef.hostView))).rootNodes[0]); - customComponentRef.changeDetectorRef.detectChanges(); - } - fromEvent(document, 'keyup') - .pipe(takeUntilDestroy(this), debounceTime(150), filter((/** - * @param {?} key - * @return {?} - */ - (key) => key && key.key === 'Escape'))) - .subscribe((/** - * @return {?} - */ - () => { - this.destroy(); - })); - } - /** - * @return {?} - */ - ngOnDestroy() { } - /** - * @return {?} - */ - destroy() { - this.destroy$.next(); - this.destroy$.complete(); - } -} -HttpErrorWrapperComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-http-error-wrapper', - template: "
    \r\n \r\n\r\n
    \r\n
    \r\n
    \r\n

    {{ statusText }} {{ title | abpLocalization }}

    \r\n
    \r\n {{ details | abpLocalization }}\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n", - styles: [".error{position:fixed;top:0;width:100vw;height:100vh;z-index:999999}.centered{position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}"] - }] } -]; -HttpErrorWrapperComponent.propDecorators = { - containerRef: [{ type: ViewChild, args: ['container', { static: false },] }] -}; -if (false) { - /** @type {?} */ - HttpErrorWrapperComponent.prototype.appRef; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.cfRes; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.injector; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.status; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.title; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.details; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.customComponent; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.destroy$; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.hideCloseIcon; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.backgroundColor; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.containerRef; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/loader-bar/loader-bar.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class LoaderBarComponent { - /** - * @param {?} actions - * @param {?} router - * @param {?} cdRef - */ - constructor(actions, router, cdRef) { - this.actions = actions; - this.router = router; - this.cdRef = cdRef; - this.containerClass = 'abp-loader-bar'; - this.color = '#77b6ff'; - this.isLoading = false; - this.progressLevel = 0; - this.intervalPeriod = 350; - this.stopDelay = 820; - this.filter = (/** - * @param {?} action - * @return {?} - */ - (action) => action.payload.url.indexOf('openid-configuration') < 0); - } - /** - * @return {?} - */ - get boxShadow() { - return `0 0 10px rgba(${this.color}, 0.5)`; - } - /** - * @return {?} - */ - ngOnInit() { - this.actions - .pipe(ofActionSuccessful(StartLoader, StopLoader), filter(this.filter), takeUntilDestroy$1(this)) - .subscribe((/** - * @param {?} action - * @return {?} - */ - action => { - if (action instanceof StartLoader) - this.startLoading(); - else - this.stopLoading(); - })); - this.router.events - .pipe(filter((/** - * @param {?} event - * @return {?} - */ - event => event instanceof NavigationStart || event instanceof NavigationEnd || event instanceof NavigationError)), takeUntilDestroy$1(this)) - .subscribe((/** - * @param {?} event - * @return {?} - */ - event => { - if (event instanceof NavigationStart) - this.startLoading(); - else - this.stopLoading(); - })); - } - /** - * @return {?} - */ - ngOnDestroy() { - this.interval.unsubscribe(); - } - /** - * @return {?} - */ - startLoading() { - if (this.isLoading || this.progressLevel !== 0) - return; - this.isLoading = true; - this.interval = interval(this.intervalPeriod).subscribe((/** - * @return {?} - */ - () => { - if (this.progressLevel < 75) { - this.progressLevel += Math.random() * 10; - } - else if (this.progressLevel < 90) { - this.progressLevel += 0.4; - } - else if (this.progressLevel < 100) { - this.progressLevel += 0.1; - } - else { - this.interval.unsubscribe(); - } - this.cdRef.detectChanges(); - })); - } - /** - * @return {?} - */ - stopLoading() { - this.interval.unsubscribe(); - this.progressLevel = 100; - this.isLoading = false; - if (this.timer && !this.timer.closed) - return; - this.timer = timer(this.stopDelay).subscribe((/** - * @return {?} - */ - () => { - this.progressLevel = 0; - this.cdRef.detectChanges(); - })); - } -} -LoaderBarComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-loader-bar', - template: ` -
    -
    -
    - `, - styles: [".abp-loader-bar{left:0;opacity:0;position:fixed;top:0;-webkit-transition:opacity .4s linear .4s;transition:opacity .4s linear .4s;z-index:99999}.abp-loader-bar.is-loading{opacity:1;-webkit-transition:none;transition:none}.abp-loader-bar .abp-progress{height:3px;left:0;position:fixed;top:0;-webkit-transition:width .4s;transition:width .4s}"] - }] } -]; -/** @nocollapse */ -LoaderBarComponent.ctorParameters = () => [ - { type: Actions }, - { type: Router }, - { type: ChangeDetectorRef } -]; -LoaderBarComponent.propDecorators = { - containerClass: [{ type: Input }], - color: [{ type: Input }], - isLoading: [{ type: Input }], - filter: [{ type: Input }] -}; -if (false) { - /** @type {?} */ - LoaderBarComponent.prototype.containerClass; - /** @type {?} */ - LoaderBarComponent.prototype.color; - /** @type {?} */ - LoaderBarComponent.prototype.isLoading; - /** @type {?} */ - LoaderBarComponent.prototype.progressLevel; - /** @type {?} */ - LoaderBarComponent.prototype.interval; - /** @type {?} */ - LoaderBarComponent.prototype.timer; - /** @type {?} */ - LoaderBarComponent.prototype.intervalPeriod; - /** @type {?} */ - LoaderBarComponent.prototype.stopDelay; - /** @type {?} */ - LoaderBarComponent.prototype.filter; - /** - * @type {?} - * @private - */ - LoaderBarComponent.prototype.actions; - /** - * @type {?} - * @private - */ - LoaderBarComponent.prototype.router; - /** - * @type {?} - * @private - */ - LoaderBarComponent.prototype.cdRef; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/fade.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @type {?} */ -const fadeIn = animation([style({ opacity: '0' }), animate('{{ time}} {{ easing }}', style({ opacity: '1' }))], { - params: { time: '350ms', easing: 'ease' }, -}); -/** @type {?} */ -const fadeOut = animation([style({ opacity: '1' }), animate('{{ time}} {{ easing }}', style({ opacity: '0' }))], { params: { time: '350ms', easing: 'ease' } }); -/** @type {?} */ -const fadeInDown = animation([ - style({ opacity: '0', transform: '{{ transform }} translateY(-20px)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateY(0)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -const fadeInUp = animation([ - style({ opacity: '0', transform: '{{ transform }} translateY(20px)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateY(0)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -const fadeInLeft = animation([ - style({ opacity: '0', transform: '{{ transform }} translateX(20px)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateX(0)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -const fadeInRight = animation([ - style({ opacity: '0', transform: '{{ transform }} translateX(-20px)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateX(0)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -const fadeOutDown = animation([ - style({ opacity: '1', transform: '{{ transform }} translateY(0)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateY(20px)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -const fadeOutUp = animation([ - style({ opacity: '1', transform: '{{ transform }} translateY(0)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateY(-20px)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -const fadeOutLeft = animation([ - style({ opacity: '1', transform: '{{ transform }} translateX(0)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateX(20px)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -const fadeOutRight = animation([ - style({ opacity: '1', transform: '{{ transform }} translateX(0)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateX(-20px)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); - -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/modal.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @type {?} */ -const fadeAnimation = trigger('fade', [ - transition(':enter', useAnimation(fadeIn)), - transition(':leave', useAnimation(fadeOut)), -]); -/** @type {?} */ -const dialogAnimation = trigger('dialog', [ - transition(':enter', useAnimation(fadeInDown)), - transition(':leave', useAnimation(fadeOut)), -]); - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/modal/modal.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class ModalComponent { - /** - * @param {?} renderer - * @param {?} confirmationService - */ - constructor(renderer, confirmationService) { - this.renderer = renderer; - this.confirmationService = confirmationService; - this.centered = false; - this.modalClass = ''; - this.size = 'lg'; - this.visibleChange = new EventEmitter(); - this.init = new EventEmitter(); - this.appear = new EventEmitter(); - this.disappear = new EventEmitter(); - this._visible = false; - this._busy = false; - this.isModalOpen = false; - this.isConfirmationOpen = false; - this.destroy$ = new Subject(); - } - /** - * @return {?} - */ - get visible() { - return this._visible; - } - /** - * @param {?} value - * @return {?} - */ - set visible(value) { - if (typeof value !== 'boolean') - return; - this.isModalOpen = value; - this._visible = value; - this.visibleChange.emit(value); - if (value) { - setTimeout((/** - * @return {?} - */ - () => this.listen()), 0); - this.renderer.addClass(document.body, 'modal-open'); - this.appear.emit(); - } - else { - this.renderer.removeClass(document.body, 'modal-open'); - this.disappear.emit(); - this.destroy$.next(); - } - } - /** - * @return {?} - */ - get busy() { - return this._busy; - } - /** - * @param {?} value - * @return {?} - */ - set busy(value) { - if (this.abpSubmit && this.abpSubmit instanceof ButtonComponent) { - this.abpSubmit.loading = value; - } - this._busy = value; - } - /** - * @return {?} - */ - ngOnDestroy() { - this.destroy$.next(); - } - /** - * @return {?} - */ - close() { - if (this.busy) - return; - /** @type {?} */ - let node; - if (!this.modalContent) { - node = (/** @type {?} */ (document.getElementById('modal-container'))); - } - /** @type {?} */ - const nodes = getFlatNodes(((/** @type {?} */ ((node || this.modalContent.nativeElement).querySelector('#abp-modal-body')))).childNodes); - if (hasNgDirty(nodes)) { - if (this.isConfirmationOpen) - return; - this.isConfirmationOpen = true; - this.confirmationService - .warn('AbpAccount::AreYouSureYouWantToCancelEditingWarningMessage', 'AbpAccount::AreYouSure') - .subscribe((/** - * @param {?} status - * @return {?} - */ - (status) => { - this.isConfirmationOpen = false; - if (status === "confirm" /* confirm */) { - this.visible = false; - } - })); - } - else { - this.visible = false; - } - } - /** - * @return {?} - */ - listen() { - fromEvent(document, 'keyup') - .pipe(takeUntil(this.destroy$), debounceTime(150), filter((/** - * @param {?} key - * @return {?} - */ - (key) => key && key.key === 'Escape'))) - .subscribe((/** - * @return {?} - */ - () => { - this.close(); - })); - setTimeout((/** - * @return {?} - */ - () => { - if (!this.abpClose) - return; - fromEvent(this.abpClose.nativeElement, 'click') - .pipe(takeUntil(this.destroy$), filter((/** - * @return {?} - */ - () => !!this.modalContent))) - .subscribe((/** - * @return {?} - */ - () => this.close())); - }), 0); - this.init.emit(); - } -} -ModalComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-modal', - template: "\r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \u200B\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n\r\n", - animations: [fadeAnimation] - }] } -]; -/** @nocollapse */ -ModalComponent.ctorParameters = () => [ - { type: Renderer2 }, - { type: ConfirmationService } -]; -ModalComponent.propDecorators = { - visible: [{ type: Input }], - busy: [{ type: Input }], - centered: [{ type: Input }], - modalClass: [{ type: Input }], - size: [{ type: Input }], - abpSubmit: [{ type: ContentChild, args: [ButtonComponent, { static: false, read: ButtonComponent },] }], - abpHeader: [{ type: ContentChild, args: ['abpHeader', { static: false },] }], - abpBody: [{ type: ContentChild, args: ['abpBody', { static: false },] }], - abpFooter: [{ type: ContentChild, args: ['abpFooter', { static: false },] }], - abpClose: [{ type: ContentChild, args: ['abpClose', { static: false, read: ElementRef },] }], - modalContent: [{ type: ViewChild, args: ['abpModalContent', { static: false },] }], - abpButtons: [{ type: ViewChildren, args: ['abp-button',] }], - visibleChange: [{ type: Output }], - init: [{ type: Output }], - appear: [{ type: Output }], - disappear: [{ type: Output }] -}; -if (false) { - /** @type {?} */ - ModalComponent.prototype.centered; - /** @type {?} */ - ModalComponent.prototype.modalClass; - /** @type {?} */ - ModalComponent.prototype.size; - /** @type {?} */ - ModalComponent.prototype.abpSubmit; - /** @type {?} */ - ModalComponent.prototype.abpHeader; - /** @type {?} */ - ModalComponent.prototype.abpBody; - /** @type {?} */ - ModalComponent.prototype.abpFooter; - /** @type {?} */ - ModalComponent.prototype.abpClose; - /** @type {?} */ - ModalComponent.prototype.modalContent; - /** @type {?} */ - ModalComponent.prototype.abpButtons; - /** @type {?} */ - ModalComponent.prototype.visibleChange; - /** @type {?} */ - ModalComponent.prototype.init; - /** @type {?} */ - ModalComponent.prototype.appear; - /** @type {?} */ - ModalComponent.prototype.disappear; - /** @type {?} */ - ModalComponent.prototype._visible; - /** @type {?} */ - ModalComponent.prototype._busy; - /** @type {?} */ - ModalComponent.prototype.isModalOpen; - /** @type {?} */ - ModalComponent.prototype.isConfirmationOpen; - /** @type {?} */ - ModalComponent.prototype.destroy$; - /** - * @type {?} - * @private - */ - ModalComponent.prototype.renderer; - /** - * @type {?} - * @private - */ - ModalComponent.prototype.confirmationService; -} -/** - * @param {?} nodes - * @return {?} - */ -function getFlatNodes(nodes) { - return Array.from(nodes).reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - (acc, val) => [...acc, ...(val.childNodes && val.childNodes.length ? getFlatNodes(val.childNodes) : [val])]), []); -} -/** - * @param {?} nodes - * @return {?} - */ -function hasNgDirty(nodes) { - return nodes.findIndex((/** - * @param {?} node - * @return {?} - */ - node => (node.className || '').indexOf('ng-dirty') > -1)) > -1; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/sort-order-icon/sort-order-icon.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class SortOrderIconComponent { - constructor() { - this.selectedKeyChange = new EventEmitter(); - this.selectedSortKeyChange = new EventEmitter(); - this.orderChange = new EventEmitter(); - } - /** - * @deprecated use selectedSortKey instead. - * @param {?} value - * @return {?} - */ - set selectedKey(value) { - this.selectedSortKey = value; - this.selectedKeyChange.emit(value); - } - /** - * @return {?} - */ - get selectedKey() { - return this._selectedSortKey; - } - /** - * @param {?} value - * @return {?} - */ - set selectedSortKey(value) { - this._selectedSortKey = value; - this.selectedSortKeyChange.emit(value); - } - /** - * @return {?} - */ - get selectedSortKey() { - return this._selectedSortKey; - } - /** - * @deprecated use sortKey instead. - * @return {?} - */ - get key() { - return this.sortKey; - } - /** - * @param {?} value - * @return {?} - */ - set key(value) { - this.sortKey = value; - } - /** - * @param {?} value - * @return {?} - */ - set order(value) { - this._order = value; - this.orderChange.emit(value); - } - /** - * @return {?} - */ - get order() { - return this._order; - } - /** - * @return {?} - */ - get icon() { - if (!this.selectedSortKey) - return 'fa-sort'; - if (this.selectedSortKey === this.sortKey) - return `fa-sort-${this.order}`; - else - return ''; - } - /** - * @param {?} key - * @return {?} - */ - sort(key) { - this.selectedKey = key; // TODO: To be removed - this.selectedSortKey = key; - switch (this.order) { - case '': - this.order = 'asc'; - this.orderChange.emit('asc'); - break; - case 'asc': - this.order = 'desc'; - this.orderChange.emit('desc'); - break; - case 'desc': - this.order = ''; - this.selectedKey = ''; // TODO: To be removed - this.orderChange.emit(''); - break; - } - } -} -SortOrderIconComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-sort-order-icon', - template: "\r\n \r\n\r\n" - }] } -]; -SortOrderIconComponent.propDecorators = { - selectedKey: [{ type: Input }], - selectedSortKey: [{ type: Input }], - selectedKeyChange: [{ type: Output }], - selectedSortKeyChange: [{ type: Output }], - key: [{ type: Input }], - sortKey: [{ type: Input }], - order: [{ type: Input }], - orderChange: [{ type: Output }], - iconClass: [{ type: Input }] -}; -if (false) { - /** - * @type {?} - * @private - */ - SortOrderIconComponent.prototype._order; - /** - * @type {?} - * @private - */ - SortOrderIconComponent.prototype._selectedSortKey; - /** @type {?} */ - SortOrderIconComponent.prototype.selectedKeyChange; - /** @type {?} */ - SortOrderIconComponent.prototype.selectedSortKeyChange; - /** @type {?} */ - SortOrderIconComponent.prototype.sortKey; - /** @type {?} */ - SortOrderIconComponent.prototype.orderChange; - /** @type {?} */ - SortOrderIconComponent.prototype.iconClass; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/table-empty-message/table-empty-message.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class TableEmptyMessageComponent { - constructor() { - this.colspan = 2; - this.localizationResource = 'AbpAccount'; - this.localizationProp = 'NoDataAvailableInDatatable'; - } - /** - * @return {?} - */ - get emptyMessage() { - return this.message || `${this.localizationResource}::${this.localizationProp}`; - } -} -TableEmptyMessageComponent.decorators = [ - { type: Component, args: [{ - // tslint:disable-next-line: component-selector - selector: '[abp-table-empty-message]', - template: ` - - {{ emptyMessage | abpLocalization }} - - ` - }] } -]; -TableEmptyMessageComponent.propDecorators = { - colspan: [{ type: Input }], - message: [{ type: Input }], - localizationResource: [{ type: Input }], - localizationProp: [{ type: Input }] -}; -if (false) { - /** @type {?} */ - TableEmptyMessageComponent.prototype.colspan; - /** @type {?} */ - TableEmptyMessageComponent.prototype.message; - /** @type {?} */ - TableEmptyMessageComponent.prototype.localizationResource; - /** @type {?} */ - TableEmptyMessageComponent.prototype.localizationProp; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/toast/toast.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class ToastComponent { -} -ToastComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-toast', - // tslint:disable-next-line: component-max-inline-declarations - template: ` - - - -
    -
    {{ message.summary | abpLocalization: message.titleLocalizationParams }}
    -
    {{ message.detail | abpLocalization: message.messageLocalizationParams }}
    -
    -
    -
    - ` - }] } -]; - -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/styles.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var styles = ` -.is-invalid .form-control { - border-color: #dc3545; - border-style: solid !important; -} - -.is-invalid .invalid-feedback, -.is-invalid + * .invalid-feedback { - display: block; -} - -.data-tables-filter { - text-align: right; -} - -.pointer { - cursor: pointer; -} - -.navbar .dropdown-submenu a::after { - transform: rotate(-90deg); - position: absolute; - right: 16px; - top: 18px; -} - -.navbar .dropdown-menu { - min-width: 215px; -} - -.ui-table-scrollable-body::-webkit-scrollbar { - height: 5px !important; -} - -.ui-table-scrollable-body::-webkit-scrollbar-track { - background: #ddd; -} - -.ui-table-scrollable-body::-webkit-scrollbar-thumb { - background: #8a8686; -} - -.modal.show { - display: block !important; -} - -.modal-backdrop { - position: fixed; - top: 0; - left: 0; - width: calc(100% - 7px); - height: 100%; - background-color: rgba(0, 0, 0, 0.6); - z-index: 1040; -} - -.modal::-webkit-scrollbar { - width: 7px; -} - -.modal::-webkit-scrollbar-track { - background: #ddd; -} - -.modal::-webkit-scrollbar-thumb { - background: #8a8686; -} - -.modal-dialog { - z-index: 1050; -} - -.abp-ellipsis-inline { - display: inline-block; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -.abp-ellipsis { - overflow: hidden !important; - text-overflow: ellipsis; - white-space: nowrap; -} - -.abp-toast .ui-toast-message { - box-sizing: border-box; - border: 2px solid transparent; - border-radius: 4px; - color: #1b1d29; -} - -.abp-toast .ui-toast-message-content { - padding: 10px; -} - -.abp-toast .ui-toast-message-content .ui-toast-icon { - top: 0; - left: 0; - padding: 10px; -} - -.abp-toast .ui-toast-summary { - margin: 0; - font-weight: 700; -} - -body abp-toast .ui-toast .ui-toast-message.ui-toast-message-error { - border: 2px solid #ba1659; - background-color: #f4f4f7; -} - -body abp-toast .ui-toast .ui-toast-message.ui-toast-message-error .ui-toast-message-content .ui-toast-icon { - color: #ba1659; -} - -body abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn { - border: 2px solid #ed5d98; - background-color: #f4f4f7; -} - -body abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn .ui-toast-message-content .ui-toast-icon { - color: #ed5d98; -} - -body abp-toast .ui-toast .ui-toast-message.ui-toast-message-success { - border: 2px solid #1c9174; - background-color: #f4f4f7; -} - -body abp-toast .ui-toast .ui-toast-message.ui-toast-message-success .ui-toast-message-content .ui-toast-icon { - color: #1c9174; -} - -body abp-toast .ui-toast .ui-toast-message.ui-toast-message-info { - border: 2px solid #fccb31; - background-color: #f4f4f7; -} - -body abp-toast .ui-toast .ui-toast-message.ui-toast-message-info .ui-toast-message-content .ui-toast-icon { - color: #fccb31; -} - -.abp-confirm .ui-toast-message { - box-sizing: border-box; - padding: 0px; - border:0 none; - border-radius: 4px; - background-color: transparent !important; - font-family: "Poppins", sans-serif; - text-align: center; -} - -.abp-confirm .ui-toast-message-content { - padding: 0px; -} - -.abp-confirm .abp-confirm-icon { - margin: 32px 50px 5px !important; - color: #f8bb86 !important; - font-size: 52px !important; -} - -.abp-confirm .ui-toast-close-icon { - display: none !important; -} - -.abp-confirm .abp-confirm-summary { - display: block !important; - margin-bottom: 13px !important; - padding: 13px 16px 0px !important; - font-weight: 600 !important; - font-size: 18px !important; -} - -.abp-confirm .abp-confirm-body { - display: inline-block !important; - padding: 0px 10px !important; -} - -.abp-confirm .abp-confirm-footer { - display: block; - margin-top: 30px; - padding: 16px; - text-align: right; -} - -.abp-confirm .abp-confirm-footer .btn { - margin-left: 10px !important; -} - -.ui-widget-overlay { - z-index: 1000; -} - -.color-white { - color: #FFF !important; -} - -.custom-checkbox > label { - cursor: pointer; -} - -/* [ - { type: Table, decorators: [{ type: Optional }, { type: Self }] }, - { type: SortPipe } -]; -TableSortDirective.propDecorators = { - abpTableSort: [{ type: Input }], - value: [{ type: Input }] -}; -if (false) { - /** @type {?} */ - TableSortDirective.prototype.abpTableSort; - /** @type {?} */ - TableSortDirective.prototype.value; - /** - * @type {?} - * @private - */ - TableSortDirective.prototype.table; - /** - * @type {?} - * @private - */ - TableSortDirective.prototype.sortPipe; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/handlers/error.handler.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @type {?} */ -const DEFAULT_ERROR_MESSAGES = { - defaultError: { - title: 'An error has occurred!', - details: 'Error detail not sent by server.', - }, - defaultError401: { - title: 'You are not authenticated!', - details: 'You should be authenticated (sign in) in order to perform this operation.', - }, - defaultError403: { - title: 'You are not authorized!', - details: 'You are not allowed to perform this operation.', - }, - defaultError404: { - title: 'Resource not found!', - details: 'The resource requested could not found on the server.', - }, - defaultError500: { - title: 'Internal server error', - details: 'Error detail not sent by server.', - }, -}; -class ErrorHandler { - /** - * @param {?} actions - * @param {?} store - * @param {?} confirmationService - * @param {?} appRef - * @param {?} cfRes - * @param {?} rendererFactory - * @param {?} injector - * @param {?} httpErrorConfig - */ - constructor(actions, store, confirmationService, appRef, cfRes, rendererFactory, injector, httpErrorConfig) { - this.actions = actions; - this.store = store; - this.confirmationService = confirmationService; - this.appRef = appRef; - this.cfRes = cfRes; - this.rendererFactory = rendererFactory; - this.injector = injector; - this.httpErrorConfig = httpErrorConfig; - this.actions.pipe(ofActionSuccessful(RestOccurError, RouterError, RouterDataResolved)).subscribe((/** - * @param {?} res - * @return {?} - */ - res => { - if (res instanceof RestOccurError) { - const { payload: err = (/** @type {?} */ ({})) } = res; - /** @type {?} */ - const body = snq((/** - * @return {?} - */ - () => ((/** @type {?} */ (err))).error.error), DEFAULT_ERROR_MESSAGES.defaultError.title); - if (err instanceof HttpErrorResponse && err.headers.get('_AbpErrorFormat')) { - /** @type {?} */ - const confirmation$ = this.showError(null, null, body); - if (err.status === 401) { - confirmation$.subscribe((/** - * @return {?} - */ - () => { - this.navigateToLogin(); - })); - } - } - else { - switch (((/** @type {?} */ (err))).status) { - case 401: - this.canCreateCustomError(401) - ? this.show401Page() - : this.showError({ - key: 'AbpAccount::DefaultErrorMessage401', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.title, - }, { - key: 'AbpAccount::DefaultErrorMessage401Detail', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.details, - }).subscribe((/** - * @return {?} - */ - () => this.navigateToLogin())); - break; - case 403: - this.createErrorComponent({ - title: { - key: 'AbpAccount::DefaultErrorMessage403', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError403.title, - }, - details: { - key: 'AbpAccount::DefaultErrorMessage403Detail', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError403.details, - }, - status: 403, - }); - break; - case 404: - this.canCreateCustomError(404) - ? this.show404Page() - : this.showError({ - key: 'AbpAccount::DefaultErrorMessage404', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.details, - }, { - key: 'AbpAccount::DefaultErrorMessage404Detail', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.title, - }); - break; - case 500: - this.createErrorComponent({ - title: { - key: 'AbpAccount::500Message', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError500.title, - }, - details: { - key: 'AbpAccount::InternalServerErrorMessage', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError500.details, - }, - status: 500, - }); - break; - case 0: - if (((/** @type {?} */ (err))).statusText === 'Unknown Error') { - this.createErrorComponent({ - title: { - key: 'AbpAccount::DefaultErrorMessage', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError.title, - }, - }); - } - break; - default: - this.showError(DEFAULT_ERROR_MESSAGES.defaultError.details, DEFAULT_ERROR_MESSAGES.defaultError.title); - break; - } - } - } - else if (res instanceof RouterError && snq((/** - * @return {?} - */ - () => res.event.error.indexOf('Cannot match') > -1), false)) { - this.show404Page(); - } - else if (res instanceof RouterDataResolved && this.componentRef) { - this.componentRef.destroy(); - this.componentRef = null; - } - })); - } - /** - * @private - * @return {?} - */ - show401Page() { - this.createErrorComponent({ - title: { - key: 'AbpAccount::401Message', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.title, - }, - status: 401, - }); - } - /** - * @private - * @return {?} - */ - show404Page() { - this.createErrorComponent({ - title: { - key: 'AbpAccount::404Message', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.title, - }, - status: 404, - }); - } - /** - * @private - * @param {?=} message - * @param {?=} title - * @param {?=} body - * @return {?} - */ - showError(message, title, body) { - if (body) { - if (body.details) { - message = body.details; - title = body.message; - } - else { - message = body.message || DEFAULT_ERROR_MESSAGES.defaultError.title; - } - } - return this.confirmationService.error(message, title, { - hideCancelBtn: true, - yesText: 'AbpAccount::Close', - }); - } - /** - * @private - * @return {?} - */ - navigateToLogin() { - this.store.dispatch(new Navigate(['/account/login'], null, { state: { redirectUrl: this.store.selectSnapshot(RouterState.url) } })); - } - /** - * @param {?} instance - * @return {?} - */ - createErrorComponent(instance) { - /** @type {?} */ - const renderer = this.rendererFactory.createRenderer(null, null); - /** @type {?} */ - const host = renderer.selectRootElement(document.body, true); - this.componentRef = this.cfRes.resolveComponentFactory(HttpErrorWrapperComponent).create(this.injector); - for (const key in this.componentRef.instance) { - if (this.componentRef.instance.hasOwnProperty(key)) { - this.componentRef.instance[key] = instance[key]; - } - } - this.componentRef.instance.hideCloseIcon = this.httpErrorConfig.errorScreen.hideCloseIcon; - if (this.canCreateCustomError((/** @type {?} */ (instance.status)))) { - this.componentRef.instance.cfRes = this.cfRes; - this.componentRef.instance.appRef = this.appRef; - this.componentRef.instance.injector = this.injector; - this.componentRef.instance.customComponent = this.httpErrorConfig.errorScreen.component; - } - this.appRef.attachView(this.componentRef.hostView); - renderer.appendChild(host, ((/** @type {?} */ (this.componentRef.hostView))).rootNodes[0]); - /** @type {?} */ - const destroy$ = new Subject(); - this.componentRef.instance.destroy$ = destroy$; - destroy$.subscribe((/** - * @return {?} - */ - () => { - this.componentRef.destroy(); - this.componentRef = null; - })); - } - /** - * @param {?} status - * @return {?} - */ - canCreateCustomError(status) { - return snq((/** - * @return {?} - */ - () => this.httpErrorConfig.errorScreen.component && - this.httpErrorConfig.errorScreen.forWhichErrors.indexOf(status) > -1)); - } -} -ErrorHandler.decorators = [ - { type: Injectable, args: [{ providedIn: 'root' },] } -]; -/** @nocollapse */ -ErrorHandler.ctorParameters = () => [ - { type: Actions }, - { type: Store }, - { type: ConfirmationService }, - { type: ApplicationRef }, - { type: ComponentFactoryResolver }, - { type: RendererFactory2 }, - { type: Injector }, - { type: undefined, decorators: [{ type: Inject, args: ['HTTP_ERROR_CONFIG',] }] } -]; -/** @nocollapse */ ErrorHandler.ngInjectableDef = ɵɵdefineInjectable({ factory: function ErrorHandler_Factory() { return new ErrorHandler(ɵɵinject(Actions), ɵɵinject(Store), ɵɵinject(ConfirmationService), ɵɵinject(ApplicationRef), ɵɵinject(ComponentFactoryResolver), ɵɵinject(RendererFactory2), ɵɵinject(INJECTOR), ɵɵinject("HTTP_ERROR_CONFIG")); }, token: ErrorHandler, providedIn: "root" }); -if (false) { - /** @type {?} */ - ErrorHandler.prototype.componentRef; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.actions; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.store; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.confirmationService; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.appRef; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.cfRes; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.rendererFactory; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.injector; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.httpErrorConfig; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/tokens/http-error.token.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?=} config - * @return {?} - */ -function httpErrorConfigFactory(config = (/** @type {?} */ ({}))) { - if (config.errorScreen && config.errorScreen.component && !config.errorScreen.forWhichErrors) { - config.errorScreen.forWhichErrors = [401, 403, 404, 500]; - } - return (/** @type {?} */ (Object.assign({ errorScreen: {} }, config))); -} -/** @type {?} */ -const HTTP_ERROR_CONFIG = new InjectionToken('HTTP_ERROR_CONFIG'); - -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/date-parser-formatter.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?} value - * @return {?} - */ -function padNumber(value) { - if (isNumber(value)) { - return `0${value}`.slice(-2); - } - else { - return ''; - } -} -/** - * @param {?} value - * @return {?} - */ -function isNumber(value) { - return !isNaN(toInteger(value)); -} -/** - * @param {?} value - * @return {?} - */ -function toInteger(value) { - return parseInt(`${value}`, 10); -} -class DateParserFormatter extends NgbDateParserFormatter { - /** - * @param {?} datePipe - */ - constructor(datePipe) { - super(); - this.datePipe = datePipe; - } - /** - * @param {?} value - * @return {?} - */ - parse(value) { - if (value) { - /** @type {?} */ - const dateParts = value.trim().split('-'); - if (dateParts.length === 1 && isNumber(dateParts[0])) { - return { year: toInteger(dateParts[0]), month: null, day: null }; - } - else if (dateParts.length === 2 && isNumber(dateParts[0]) && isNumber(dateParts[1])) { - return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: null }; - } - else if (dateParts.length === 3 && isNumber(dateParts[0]) && isNumber(dateParts[1]) && isNumber(dateParts[2])) { - return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: toInteger(dateParts[2]) }; - } - } - return null; - } - /** - * @param {?} date - * @return {?} - */ - format(date) { - if (date && this.datePipe) { - return this.datePipe.transform(new Date(date.year, date.month, date.day), 'shortDate'); - } - else { - return date - ? `${date.year}-${isNumber(date.month) ? padNumber(date.month) : ''}-${isNumber(date.day) ? padNumber(date.day) : ''}` - : ''; - } - } -} -DateParserFormatter.decorators = [ - { type: Injectable } -]; -/** @nocollapse */ -DateParserFormatter.ctorParameters = () => [ - { type: DatePipe, decorators: [{ type: Optional }] } -]; -if (false) { - /** - * @type {?} - * @private - */ - DateParserFormatter.prototype.datePipe; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/theme-shared.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?} injector - * @return {?} - */ -function appendScript(injector) { - /** @type {?} */ - const fn = (/** - * @return {?} - */ - () => { - import('chart.js').then((/** - * @return {?} - */ - () => chartJsLoaded$.next(true))); - /** @type {?} */ - const lazyLoadService = injector.get(LazyLoadService); - return lazyLoadService.load(null, 'style', styles, 'head', 'beforeend').toPromise(); - }); - return fn; -} -class ThemeSharedModule { - /** - * @param {?} errorHandler - */ - constructor(errorHandler) { - this.errorHandler = errorHandler; - } - /** - * @param {?=} options - * @return {?} - */ - static forRoot(options = (/** @type {?} */ ({}))) { - return { - ngModule: ThemeSharedModule, - providers: [ - { - provide: APP_INITIALIZER, - multi: true, - deps: [Injector], - useFactory: appendScript, - }, - { provide: MessageService, useClass: MessageService }, - { provide: HTTP_ERROR_CONFIG, useValue: options.httpErrorConfig }, - { - provide: 'HTTP_ERROR_CONFIG', - useFactory: httpErrorConfigFactory, - deps: [HTTP_ERROR_CONFIG], - }, - { provide: NgbDateParserFormatter, useClass: DateParserFormatter }, - ], - }; - } -} -ThemeSharedModule.decorators = [ - { type: NgModule, args: [{ - imports: [CoreModule, ToastModule, NgxValidateCoreModule], - declarations: [ - BreadcrumbComponent, - ButtonComponent, - ChartComponent, - ConfirmationComponent, - HttpErrorWrapperComponent, - LoaderBarComponent, - ModalComponent, - TableEmptyMessageComponent, - ToastComponent, - SortOrderIconComponent, - TableSortDirective, - ], - exports: [ - BreadcrumbComponent, - ButtonComponent, - ChartComponent, - ConfirmationComponent, - LoaderBarComponent, - ModalComponent, - TableEmptyMessageComponent, - ToastComponent, - SortOrderIconComponent, - TableSortDirective, - ], - providers: [DatePipe], - entryComponents: [HttpErrorWrapperComponent], - },] } -]; -/** @nocollapse */ -ThemeSharedModule.ctorParameters = () => [ - { type: ErrorHandler } -]; -if (false) { - /** - * @type {?} - * @private - */ - ThemeSharedModule.prototype.errorHandler; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/bounce.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @type {?} */ -const bounceIn = animation([ - style({ opacity: '0', display: '{{ display }}' }), - animate('{{ time}} {{ easing }}', keyframes([ - style({ opacity: '0', transform: '{{ transform }} scale(0.0)', offset: 0 }), - style({ opacity: '0', transform: '{{ transform }} scale(0.8)', offset: 0.5 }), - style({ opacity: '1', transform: '{{ transform }} scale(1.0)', offset: 1 }) - ])) -], { - params: { - time: '350ms', - easing: 'cubic-bezier(.7,.31,.72,1.47)', - display: 'block', - transform: 'translate(-50%, -50%)' - } -}); - -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/collapse.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @type {?} */ -const collapseY = animation([ - style({ height: '*', overflow: 'hidden', 'box-sizing': 'border-box' }), - animate('{{ time }} {{ easing }}', style({ height: '0', padding: '0px' })), -], { params: { time: '350ms', easing: 'ease' } }); -/** @type {?} */ -const collapseYWithMargin = animation([style({ 'margin-top': '0' }), animate('{{ time }} {{ easing }}', style({ 'margin-top': '-100%' }))], { - params: { time: '500ms', easing: 'ease' }, -}); -/** @type {?} */ -const collapseX = animation([ - style({ width: '*', overflow: 'hidden', 'box-sizing': 'border-box' }), - animate('{{ time }} {{ easing }}', style({ width: '0', padding: '0px' })), -], { params: { time: '350ms', easing: 'ease' } }); -/** @type {?} */ -const expandY = animation([ - style({ height: '0', overflow: 'hidden', 'box-sizing': 'border-box' }), - animate('{{ time }} {{ easing }}', style({ height: '*', padding: '*' })), -], { params: { time: '350ms', easing: 'ease' } }); -/** @type {?} */ -const expandYWithMargin = animation([style({ 'margin-top': '-100%' }), animate('{{ time }} {{ easing }}', style({ 'margin-top': '0' }))], { - params: { time: '500ms', easing: 'ease' }, -}); -/** @type {?} */ -const expandX = animation([ - style({ width: '0', overflow: 'hidden', 'box-sizing': 'border-box' }), - animate('{{ time }} {{ easing }}', style({ width: '*', padding: '*' })), -], { params: { time: '350ms', easing: 'ease' } }); -/** @type {?} */ -const collapse = trigger('collapse', [ - state('collapsed', style({ height: '0', overflow: 'hidden' })), - state('expanded', style({ height: '*', overflow: 'hidden' })), - transition('expanded => collapsed', useAnimation(collapseY)), - transition('collapsed => expanded', useAnimation(expandY)), -]); -/** @type {?} */ -const collapseWithMargin = trigger('collapseWithMargin', [ - state('collapsed', style({ 'margin-top': '-100%' })), - state('expanded', style({ 'margin-top': '0' })), - transition('expanded => collapsed', useAnimation(collapseYWithMargin), { - params: { time: '400ms', easing: 'linear' }, - }), - transition('collapsed => expanded', useAnimation(expandYWithMargin)), -]); -/** @type {?} */ -const collapseLinearWithMargin = trigger('collapseLinearWithMargin', [ - state('collapsed', style({ 'margin-top': '-100%' })), - state('expanded', style({ 'margin-top': '0' })), - transition('expanded => collapsed', useAnimation(collapseYWithMargin, { params: { time: '200ms', easing: 'linear' } })), - transition('collapsed => expanded', useAnimation(expandYWithMargin, { params: { time: '250ms', easing: 'linear' } })), -]); - -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/slide.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @type {?} */ -const slideFromBottom = trigger('slideFromBottom', [ - transition('* <=> *', [ - style({ 'margin-top': '20px', opacity: '0' }), - animate('0.2s ease-out', style({ opacity: '1', 'margin-top': '0px' })), - ]), -]); - -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/common.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -function RootParams() { } -if (false) { - /** @type {?} */ - RootParams.prototype.httpErrorConfig; -} -/** - * @record - */ -function HttpErrorConfig() { } -if (false) { - /** @type {?|undefined} */ - HttpErrorConfig.prototype.errorScreen; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/confirmation.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var Confirmation; -(function (Confirmation) { - /** - * @record - */ - function Options() { } - Confirmation.Options = Options; - if (false) { - /** @type {?|undefined} */ - Options.prototype.hideCancelBtn; - /** @type {?|undefined} */ - Options.prototype.hideYesBtn; - /** @type {?|undefined} */ - Options.prototype.cancelText; - /** @type {?|undefined} */ - Options.prototype.yesText; - /** - * @deprecated to be deleted in v2 - * @type {?|undefined} - */ - Options.prototype.cancelCopy; - /** - * @deprecated to be deleted in v2 - * @type {?|undefined} - */ - Options.prototype.yesCopy; - } -})(Confirmation || (Confirmation = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/setting-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -function SettingTab() { } -if (false) { - /** @type {?} */ - SettingTab.prototype.component; - /** @type {?} */ - SettingTab.prototype.name; - /** @type {?} */ - SettingTab.prototype.order; - /** @type {?|undefined} */ - SettingTab.prototype.requiredPolicy; -} -/** @type {?} */ -const SETTING_TABS = (/** @type {?} */ ([])); -/** - * @param {?} tab - * @return {?} - */ -function addSettingTab(tab) { - if (!Array.isArray(tab)) { - tab = [tab]; - } - SETTING_TABS.push(...tab); -} -/** - * @return {?} - */ -function getSettingTabs() { - return SETTING_TABS; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/statistics.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var Statistics; -(function (Statistics) { - /** - * @record - */ - function Response() { } - Statistics.Response = Response; - if (false) { - /** @type {?} */ - Response.prototype.data; - } - /** - * @record - */ - function Data() { } - Statistics.Data = Data; - /** - * @record - */ - function Filter() { } - Statistics.Filter = Filter; - if (false) { - /** @type {?} */ - Filter.prototype.startDate; - /** @type {?} */ - Filter.prototype.endDate; - } -})(Statistics || (Statistics = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/toaster.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var Toaster; -(function (Toaster) { - /** - * @record - */ - function Options() { } - Toaster.Options = Options; - if (false) { - /** @type {?|undefined} */ - Options.prototype.id; - /** @type {?|undefined} */ - Options.prototype.closable; - /** @type {?|undefined} */ - Options.prototype.life; - /** @type {?|undefined} */ - Options.prototype.sticky; - /** @type {?|undefined} */ - Options.prototype.data; - /** @type {?|undefined} */ - Options.prototype.messageLocalizationParams; - /** @type {?|undefined} */ - Options.prototype.titleLocalizationParams; - } -})(Toaster || (Toaster = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/toaster.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -class ToasterService extends AbstractToaster { - /** - * @param {?} messageService - */ - constructor(messageService) { - super(messageService); - this.messageService = messageService; - } - /** - * @param {?} messages - * @return {?} - */ - addAll(messages) { - this.messageService.addAll(messages.map((/** - * @param {?} message - * @return {?} - */ - message => (Object.assign({ key: this.key }, message))))); - } -} -ToasterService.decorators = [ - { type: Injectable, args: [{ providedIn: 'root' },] } -]; -/** @nocollapse */ -ToasterService.ctorParameters = () => [ - { type: MessageService } -]; -/** @nocollapse */ ToasterService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ToasterService_Factory() { return new ToasterService(ɵɵinject(MessageService)); }, token: ToasterService, providedIn: "root" }); -if (false) { - /** - * @type {?} - * @protected - */ - ToasterService.prototype.messageService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.theme.shared.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { BreadcrumbComponent, ButtonComponent, ChartComponent, ConfirmationComponent, ConfirmationService, DateParserFormatter, LoaderBarComponent, ModalComponent, SortOrderIconComponent, TableEmptyMessageComponent, TableSortDirective, ThemeSharedModule, ToastComponent, Toaster, ToasterService, addSettingTab, appendScript, bounceIn, chartJsLoaded$, collapse, collapseLinearWithMargin, collapseWithMargin, collapseX, collapseY, collapseYWithMargin, dialogAnimation, expandX, expandY, expandYWithMargin, fadeAnimation, fadeIn, fadeInDown, fadeInLeft, fadeInRight, fadeInUp, fadeOut, fadeOutDown, fadeOutLeft, fadeOutRight, fadeOutUp, getRandomBackgroundColor, getSettingTabs, slideFromBottom, BreadcrumbComponent as ɵa, ButtonComponent as ɵb, ChartComponent as ɵc, ConfirmationComponent as ɵd, ConfirmationService as ɵe, AbstractToaster as ɵf, HttpErrorWrapperComponent as ɵg, LoaderBarComponent as ɵh, ModalComponent as ɵi, fadeAnimation as ɵj, fadeIn as ɵk, fadeOut as ɵl, TableEmptyMessageComponent as ɵm, ToastComponent as ɵn, SortOrderIconComponent as ɵo, TableSortDirective as ɵp, ErrorHandler as ɵq, httpErrorConfigFactory as ɵs, HTTP_ERROR_CONFIG as ɵt, DateParserFormatter as ɵu }; -//# sourceMappingURL=abp-ng.theme.shared.js.map diff --git a/npm/ng-packs/dist/theme-shared/fesm2015/abp-ng.theme.shared.js.map b/npm/ng-packs/dist/theme-shared/fesm2015/abp-ng.theme.shared.js.map deleted file mode 100644 index e100f83a4db..00000000000 --- a/npm/ng-packs/dist/theme-shared/fesm2015/abp-ng.theme.shared.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.theme.shared.js","sources":["ng://@abp/ng.theme.shared/lib/components/breadcrumb/breadcrumb.component.ts","ng://@abp/ng.theme.shared/lib/components/button/button.component.ts","ng://@abp/ng.theme.shared/lib/utils/widget-utils.ts","ng://@abp/ng.theme.shared/lib/components/chart/chart.component.ts","ng://@abp/ng.theme.shared/lib/abstracts/toaster.ts","ng://@abp/ng.theme.shared/lib/services/confirmation.service.ts","ng://@abp/ng.theme.shared/lib/components/confirmation/confirmation.component.ts","ng://@abp/ng.theme.shared/lib/components/http-error-wrapper/http-error-wrapper.component.ts","ng://@abp/ng.theme.shared/lib/components/loader-bar/loader-bar.component.ts","ng://@abp/ng.theme.shared/lib/animations/fade.animations.ts","ng://@abp/ng.theme.shared/lib/animations/modal.animations.ts","ng://@abp/ng.theme.shared/lib/components/modal/modal.component.ts","ng://@abp/ng.theme.shared/lib/components/sort-order-icon/sort-order-icon.component.ts","ng://@abp/ng.theme.shared/lib/components/table-empty-message/table-empty-message.component.ts","ng://@abp/ng.theme.shared/lib/components/toast/toast.component.ts","ng://@abp/ng.theme.shared/lib/constants/styles.ts","ng://@abp/ng.theme.shared/lib/directives/table-sort.directive.ts","ng://@abp/ng.theme.shared/lib/handlers/error.handler.ts","ng://@abp/ng.theme.shared/lib/tokens/http-error.token.ts","ng://@abp/ng.theme.shared/lib/utils/date-parser-formatter.ts","ng://@abp/ng.theme.shared/lib/theme-shared.module.ts","ng://@abp/ng.theme.shared/lib/animations/bounce.animations.ts","ng://@abp/ng.theme.shared/lib/animations/collapse.animations.ts","ng://@abp/ng.theme.shared/lib/animations/slide.animations.ts","ng://@abp/ng.theme.shared/lib/models/common.ts","ng://@abp/ng.theme.shared/lib/models/confirmation.ts","ng://@abp/ng.theme.shared/lib/models/setting-management.ts","ng://@abp/ng.theme.shared/lib/models/statistics.ts","ng://@abp/ng.theme.shared/lib/models/toaster.ts","ng://@abp/ng.theme.shared/lib/services/toaster.service.ts"],"sourcesContent":["import { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngxs/store';\r\nimport { ConfigState, ABP } from '@abp/ng.core';\r\n\r\n@Component({\r\n selector: 'abp-breadcrumb',\r\n templateUrl: './breadcrumb.component.html',\r\n})\r\nexport class BreadcrumbComponent implements OnInit {\r\n show: boolean;\r\n\r\n segments: string[] = [];\r\n\r\n constructor(private router: Router, private store: Store) {}\r\n\r\n ngOnInit(): void {\r\n this.show = !!this.store.selectSnapshot(state => state.LeptonLayoutState);\r\n if (this.show) {\r\n let splittedUrl = this.router.url.split('/').filter(chunk => chunk);\r\n\r\n let currentUrl: ABP.FullRoute = this.store.selectSnapshot(ConfigState.getRoute(splittedUrl[0]));\r\n\r\n if (!currentUrl) {\r\n currentUrl = this.store.selectSnapshot(ConfigState.getRoute(null, null, this.router.url));\r\n splittedUrl = [this.router.url];\r\n if (!currentUrl) {\r\n this.show = false;\r\n return;\r\n }\r\n }\r\n\r\n this.segments.push(currentUrl.name);\r\n\r\n if (splittedUrl.length > 1) {\r\n const [, ...arr] = splittedUrl;\r\n\r\n let childRoute: ABP.FullRoute = currentUrl;\r\n for (let i = 0; i < arr.length; i++) {\r\n const element = arr[i];\r\n childRoute = childRoute.children.find(child => child.path === element);\r\n\r\n this.segments.push(childRoute.name);\r\n }\r\n }\r\n }\r\n }\r\n}\r\n","import {\r\n Component,\r\n EventEmitter,\r\n Input,\r\n Output,\r\n ViewChild,\r\n ElementRef,\r\n Renderer2,\r\n OnInit,\r\n} from '@angular/core';\r\nimport { ABP } from '@abp/ng.core';\r\n\r\n@Component({\r\n selector: 'abp-button',\r\n template: `\r\n \r\n \r\n \r\n `,\r\n})\r\nexport class ButtonComponent implements OnInit {\r\n @Input()\r\n buttonId = '';\r\n\r\n @Input()\r\n buttonClass = 'btn btn-primary';\r\n\r\n @Input()\r\n buttonType = 'button';\r\n\r\n @Input()\r\n iconClass: string;\r\n\r\n @Input()\r\n loading = false;\r\n\r\n @Input()\r\n disabled = false;\r\n\r\n @Input()\r\n attributes: ABP.Dictionary;\r\n\r\n // tslint:disable\r\n /**\r\n * @deprecated use abpClick instead\r\n */\r\n @Output() readonly click = new EventEmitter();\r\n\r\n /**\r\n * @deprecated use abpFocus instead\r\n */\r\n // tslint:disable-next-line: no-output-native\r\n @Output() readonly focus = new EventEmitter();\r\n\r\n /**\r\n * @deprecated use abpBlur instead\r\n */\r\n @Output() readonly blur = new EventEmitter();\r\n // tslint:enable\r\n\r\n @Output() readonly abpClick = new EventEmitter();\r\n\r\n @Output() readonly abpFocus = new EventEmitter();\r\n\r\n @Output() readonly abpBlur = new EventEmitter();\r\n\r\n @ViewChild('button', { static: true })\r\n buttonRef: ElementRef;\r\n\r\n get icon(): string {\r\n return `${this.loading ? 'fa fa-spinner fa-spin' : this.iconClass || 'd-none'}`;\r\n }\r\n\r\n constructor(private renderer: Renderer2) {}\r\n\r\n ngOnInit() {\r\n if (this.attributes) {\r\n Object.keys(this.attributes).forEach(key => {\r\n this.renderer.setAttribute(this.buttonRef.nativeElement, key, this.attributes[key]);\r\n });\r\n }\r\n }\r\n}\r\n","import { ReplaySubject } from 'rxjs';\r\n\r\nexport function getRandomBackgroundColor(count) {\r\n const colors = [];\r\n\r\n for (let i = 0; i < count; i++) {\r\n const r = ((i + 5) * (i + 5) * 474) % 255;\r\n const g = ((i + 5) * (i + 5) * 1600) % 255;\r\n const b = ((i + 5) * (i + 5) * 84065) % 255;\r\n colors.push('rgba(' + r + ', ' + g + ', ' + b + ', 0.7)');\r\n }\r\n\r\n return colors;\r\n}\r\n\r\nexport const chartJsLoaded$ = new ReplaySubject(1);\r\n","import {\r\n AfterViewInit,\r\n Component,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n OnDestroy,\r\n Output,\r\n ChangeDetectorRef,\r\n} from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { chartJsLoaded$ } from '../../utils/widget-utils';\r\ndeclare const Chart: any;\r\n\r\n@Component({\r\n selector: 'abp-chart',\r\n templateUrl: './chart.component.html',\r\n})\r\nexport class ChartComponent implements AfterViewInit, OnDestroy {\r\n @Input() type: string;\r\n\r\n @Input() options: any = {};\r\n\r\n @Input() plugins: any[] = [];\r\n\r\n @Input() width: string;\r\n\r\n @Input() height: string;\r\n\r\n @Input() responsive = true;\r\n\r\n // tslint:disable-next-line: no-output-on-prefix\r\n @Output() readonly onDataSelect: EventEmitter = new EventEmitter();\r\n\r\n @Output() readonly initialized = new BehaviorSubject(this);\r\n\r\n private _initialized: boolean;\r\n\r\n _data: any;\r\n\r\n chart: any;\r\n\r\n constructor(public el: ElementRef, private cdRef: ChangeDetectorRef) {}\r\n\r\n @Input() get data(): any {\r\n return this._data;\r\n }\r\n\r\n set data(val: any) {\r\n this._data = val;\r\n this.reinit();\r\n }\r\n\r\n get canvas() {\r\n return this.el.nativeElement.children[0].children[0];\r\n }\r\n\r\n get base64Image() {\r\n return this.chart.toBase64Image();\r\n }\r\n\r\n ngAfterViewInit() {\r\n chartJsLoaded$.subscribe(() => {\r\n this.testChartJs();\r\n\r\n this.initChart();\r\n this._initialized = true;\r\n });\r\n }\r\n\r\n testChartJs() {\r\n try {\r\n // tslint:disable-next-line: no-unused-expression\r\n Chart;\r\n } catch (error) {\r\n throw new Error(`Chart is not found. Import the Chart from app.module like shown below:\r\n import('chart.js');\r\n `);\r\n }\r\n }\r\n\r\n onCanvasClick = event => {\r\n if (this.chart) {\r\n const element = this.chart.getElementAtEvent(event);\r\n const dataset = this.chart.getDatasetAtEvent(event);\r\n if (element && element.length && dataset) {\r\n this.onDataSelect.emit({\r\n originalEvent: event,\r\n element: element[0],\r\n dataset,\r\n });\r\n }\r\n }\r\n };\r\n\r\n initChart = () => {\r\n const opts = this.options || {};\r\n opts.responsive = this.responsive;\r\n\r\n // allows chart to resize in responsive mode\r\n if (opts.responsive && (this.height || this.width)) {\r\n opts.maintainAspectRatio = false;\r\n }\r\n\r\n this.chart = new Chart(this.canvas, {\r\n type: this.type,\r\n data: this.data,\r\n options: this.options,\r\n plugins: this.plugins,\r\n });\r\n\r\n this.cdRef.detectChanges();\r\n };\r\n\r\n generateLegend = () => {\r\n if (this.chart) {\r\n return this.chart.generateLegend();\r\n }\r\n };\r\n\r\n refresh = () => {\r\n if (this.chart) {\r\n this.chart.update();\r\n this.cdRef.detectChanges();\r\n }\r\n };\r\n\r\n reinit = () => {\r\n if (this.chart) {\r\n this.chart.destroy();\r\n this.initChart();\r\n }\r\n };\r\n\r\n ngOnDestroy() {\r\n if (this.chart) {\r\n this.chart.destroy();\r\n this._initialized = false;\r\n this.chart = null;\r\n }\r\n }\r\n}\r\n","import { MessageService } from 'primeng/components/common/messageservice';\r\nimport { Observable, Subject } from 'rxjs';\r\nimport { Toaster } from '../models/toaster';\r\nimport { Config } from '@abp/ng.core';\r\n\r\nexport abstract class AbstractToaster {\r\n status$: Subject;\r\n\r\n key = 'abpToast';\r\n\r\n sticky = false;\r\n\r\n constructor(protected messageService: MessageService) {}\r\n\r\n info(message: Config.LocalizationParam, title: Config.LocalizationParam, options?: T): Observable {\r\n return this.show(message, title, 'info', options);\r\n }\r\n\r\n success(message: Config.LocalizationParam, title: Config.LocalizationParam, options?: T): Observable {\r\n return this.show(message, title, 'success', options);\r\n }\r\n\r\n warn(message: Config.LocalizationParam, title: Config.LocalizationParam, options?: T): Observable {\r\n return this.show(message, title, 'warn', options);\r\n }\r\n\r\n error(message: Config.LocalizationParam, title: Config.LocalizationParam, options?: T): Observable {\r\n return this.show(message, title, 'error', options);\r\n }\r\n\r\n protected show(\r\n message: Config.LocalizationParam,\r\n title: Config.LocalizationParam,\r\n severity: Toaster.Severity,\r\n options?: T,\r\n ): Observable {\r\n this.messageService.clear(this.key);\r\n\r\n this.messageService.add({\r\n severity,\r\n detail: message || '',\r\n summary: title || '',\r\n ...options,\r\n key: this.key,\r\n ...(typeof (options || ({} as any)).sticky === 'undefined' && { sticky: this.sticky }),\r\n });\r\n this.status$ = new Subject();\r\n return this.status$;\r\n }\r\n\r\n clear(status?: Toaster.Status) {\r\n this.messageService.clear(this.key);\r\n this.status$.next(status || Toaster.Status.dismiss);\r\n this.status$.complete();\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { AbstractToaster } from '../abstracts/toaster';\r\nimport { Confirmation } from '../models/confirmation';\r\nimport { MessageService } from 'primeng/components/common/messageservice';\r\nimport { fromEvent, Observable, Subject } from 'rxjs';\r\nimport { takeUntil, debounceTime, filter } from 'rxjs/operators';\r\nimport { Toaster } from '../models/toaster';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class ConfirmationService extends AbstractToaster {\r\n key = 'abpConfirmation';\r\n\r\n sticky = true;\r\n\r\n destroy$ = new Subject();\r\n\r\n constructor(protected messageService: MessageService) {\r\n super(messageService);\r\n }\r\n\r\n show(\r\n message: string,\r\n title: string,\r\n severity: Toaster.Severity,\r\n options?: Confirmation.Options,\r\n ): Observable {\r\n this.listenToEscape();\r\n return super.show(message, title, severity, options);\r\n }\r\n\r\n clear(status?: Toaster.Status) {\r\n super.clear(status);\r\n\r\n this.destroy$.next();\r\n }\r\n\r\n listenToEscape() {\r\n fromEvent(document, 'keyup')\r\n .pipe(\r\n takeUntil(this.destroy$),\r\n debounceTime(150),\r\n filter((key: KeyboardEvent) => key && key.key === 'Escape'),\r\n )\r\n .subscribe(_ => {\r\n this.clear();\r\n });\r\n }\r\n}\r\n","import { Component } from '@angular/core';\r\nimport { ConfirmationService } from '../../services/confirmation.service';\r\nimport { Toaster } from '../../models/toaster';\r\n\r\n@Component({\r\n selector: 'abp-confirmation',\r\n // tslint:disable-next-line: component-max-inline-declarations\r\n template: `\r\n \r\n \r\n \r\n
    \r\n {{ message.summary | abpLocalization: message.titleLocalizationParams }}\r\n
    \r\n
    \r\n {{ message.detail | abpLocalization: message.messageLocalizationParams }}\r\n
    \r\n\r\n \r\n
    \r\n \r\n `,\r\n})\r\nexport class ConfirmationComponent {\r\n confirm = Toaster.Status.confirm;\r\n reject = Toaster.Status.reject;\r\n dismiss = Toaster.Status.dismiss;\r\n\r\n constructor(private confirmationService: ConfirmationService) {}\r\n\r\n close(status: Toaster.Status) {\r\n this.confirmationService.clear(status);\r\n }\r\n}\r\n","import { Config, takeUntilDestroy } from '@abp/ng.core';\r\nimport {\r\n AfterViewInit,\r\n ApplicationRef,\r\n Component,\r\n ComponentFactoryResolver,\r\n ElementRef,\r\n EmbeddedViewRef,\r\n Injector,\r\n OnDestroy,\r\n OnInit,\r\n Type,\r\n ViewChild,\r\n} from '@angular/core';\r\nimport { fromEvent, Subject } from 'rxjs';\r\nimport { debounceTime, filter } from 'rxjs/operators';\r\nimport snq from 'snq';\r\n\r\n@Component({\r\n selector: 'abp-http-error-wrapper',\r\n templateUrl: './http-error-wrapper.component.html',\r\n styleUrls: ['http-error-wrapper.component.scss'],\r\n})\r\nexport class HttpErrorWrapperComponent implements AfterViewInit, OnDestroy, OnInit {\r\n appRef: ApplicationRef;\r\n\r\n cfRes: ComponentFactoryResolver;\r\n\r\n injector: Injector;\r\n\r\n status = 0;\r\n\r\n title: Config.LocalizationParam = 'Oops!';\r\n\r\n details: Config.LocalizationParam = 'Sorry, an error has occured.';\r\n\r\n customComponent: Type = null;\r\n\r\n destroy$: Subject;\r\n\r\n hideCloseIcon = false;\r\n\r\n backgroundColor: string;\r\n\r\n @ViewChild('container', { static: false })\r\n containerRef: ElementRef;\r\n\r\n get statusText(): string {\r\n return this.status ? `[${this.status}]` : '';\r\n }\r\n\r\n ngOnInit() {\r\n this.backgroundColor =\r\n snq(() => window.getComputedStyle(document.body).getPropertyValue('background-color')) || '#fff';\r\n }\r\n\r\n ngAfterViewInit() {\r\n if (this.customComponent) {\r\n const customComponentRef = this.cfRes.resolveComponentFactory(this.customComponent).create(this.injector);\r\n customComponentRef.instance.errorStatus = this.status;\r\n customComponentRef.instance.destroy$ = this.destroy$;\r\n this.appRef.attachView(customComponentRef.hostView);\r\n this.containerRef.nativeElement.appendChild((customComponentRef.hostView as EmbeddedViewRef).rootNodes[0]);\r\n customComponentRef.changeDetectorRef.detectChanges();\r\n }\r\n\r\n fromEvent(document, 'keyup')\r\n .pipe(\r\n takeUntilDestroy(this),\r\n debounceTime(150),\r\n filter((key: KeyboardEvent) => key && key.key === 'Escape'),\r\n )\r\n .subscribe(() => {\r\n this.destroy();\r\n });\r\n }\r\n\r\n ngOnDestroy() {}\r\n\r\n destroy() {\r\n this.destroy$.next();\r\n this.destroy$.complete();\r\n }\r\n}\r\n","import { StartLoader, StopLoader } from '@abp/ng.core';\r\nimport { ChangeDetectorRef, Component, Input, OnDestroy, OnInit } from '@angular/core';\r\nimport { NavigationEnd, NavigationError, NavigationStart, Router } from '@angular/router';\r\nimport { takeUntilDestroy } from '@ngx-validate/core';\r\nimport { Actions, ofActionSuccessful } from '@ngxs/store';\r\nimport { interval, Subscription, timer } from 'rxjs';\r\nimport { filter } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'abp-loader-bar',\r\n template: `\r\n
    \r\n
    \r\n \r\n `,\r\n styleUrls: ['./loader-bar.component.scss'],\r\n})\r\nexport class LoaderBarComponent implements OnDestroy, OnInit {\r\n @Input()\r\n containerClass = 'abp-loader-bar';\r\n\r\n @Input()\r\n color = '#77b6ff';\r\n\r\n @Input()\r\n isLoading = false;\r\n\r\n progressLevel = 0;\r\n\r\n interval: Subscription;\r\n\r\n timer: Subscription;\r\n\r\n intervalPeriod = 350;\r\n\r\n stopDelay = 820;\r\n\r\n @Input()\r\n filter = (action: StartLoader | StopLoader) => action.payload.url.indexOf('openid-configuration') < 0;\r\n\r\n get boxShadow(): string {\r\n return `0 0 10px rgba(${this.color}, 0.5)`;\r\n }\r\n\r\n constructor(private actions: Actions, private router: Router, private cdRef: ChangeDetectorRef) {}\r\n\r\n ngOnInit() {\r\n this.actions\r\n .pipe(\r\n ofActionSuccessful(StartLoader, StopLoader),\r\n filter(this.filter),\r\n takeUntilDestroy(this),\r\n )\r\n .subscribe(action => {\r\n if (action instanceof StartLoader) this.startLoading();\r\n else this.stopLoading();\r\n });\r\n\r\n this.router.events\r\n .pipe(\r\n filter(\r\n event =>\r\n event instanceof NavigationStart || event instanceof NavigationEnd || event instanceof NavigationError,\r\n ),\r\n takeUntilDestroy(this),\r\n )\r\n .subscribe(event => {\r\n if (event instanceof NavigationStart) this.startLoading();\r\n else this.stopLoading();\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n this.interval.unsubscribe();\r\n }\r\n\r\n startLoading() {\r\n if (this.isLoading || this.progressLevel !== 0) return;\r\n\r\n this.isLoading = true;\r\n this.interval = interval(this.intervalPeriod).subscribe(() => {\r\n if (this.progressLevel < 75) {\r\n this.progressLevel += Math.random() * 10;\r\n } else if (this.progressLevel < 90) {\r\n this.progressLevel += 0.4;\r\n } else if (this.progressLevel < 100) {\r\n this.progressLevel += 0.1;\r\n } else {\r\n this.interval.unsubscribe();\r\n }\r\n this.cdRef.detectChanges();\r\n });\r\n }\r\n\r\n stopLoading() {\r\n this.interval.unsubscribe();\r\n this.progressLevel = 100;\r\n this.isLoading = false;\r\n if (this.timer && !this.timer.closed) return;\r\n\r\n this.timer = timer(this.stopDelay).subscribe(() => {\r\n this.progressLevel = 0;\r\n this.cdRef.detectChanges();\r\n });\r\n }\r\n}\r\n","import { animate, animation, style } from '@angular/animations';\r\n\r\nexport const fadeIn = animation([style({ opacity: '0' }), animate('{{ time}} {{ easing }}', style({ opacity: '1' }))], {\r\n params: { time: '350ms', easing: 'ease' },\r\n});\r\n\r\nexport const fadeOut = animation(\r\n [style({ opacity: '1' }), animate('{{ time}} {{ easing }}', style({ opacity: '0' }))],\r\n { params: { time: '350ms', easing: 'ease' } },\r\n);\r\n\r\nexport const fadeInDown = animation(\r\n [\r\n style({ opacity: '0', transform: '{{ transform }} translateY(-20px)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateY(0)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeInUp = animation(\r\n [\r\n style({ opacity: '0', transform: '{{ transform }} translateY(20px)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateY(0)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeInLeft = animation(\r\n [\r\n style({ opacity: '0', transform: '{{ transform }} translateX(20px)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateX(0)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeInRight = animation(\r\n [\r\n style({ opacity: '0', transform: '{{ transform }} translateX(-20px)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateX(0)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeOutDown = animation(\r\n [\r\n style({ opacity: '1', transform: '{{ transform }} translateY(0)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateY(20px)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeOutUp = animation(\r\n [\r\n style({ opacity: '1', transform: '{{ transform }} translateY(0)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateY(-20px)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeOutLeft = animation(\r\n [\r\n style({ opacity: '1', transform: '{{ transform }} translateX(0)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateX(20px)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeOutRight = animation(\r\n [\r\n style({ opacity: '1', transform: '{{ transform }} translateX(0)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateX(-20px)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n","import { transition, trigger, useAnimation } from '@angular/animations';\r\nimport { fadeIn, fadeInDown, fadeOut } from './fade.animations';\r\n\r\nexport const fadeAnimation = trigger('fade', [\r\n transition(':enter', useAnimation(fadeIn)),\r\n transition(':leave', useAnimation(fadeOut)),\r\n]);\r\n\r\nexport const dialogAnimation = trigger('dialog', [\r\n transition(':enter', useAnimation(fadeInDown)),\r\n transition(':leave', useAnimation(fadeOut)),\r\n]);\r\n","import {\r\n Component,\r\n ContentChild,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n OnDestroy,\r\n Output,\r\n Renderer2,\r\n TemplateRef,\r\n ViewChild,\r\n ViewChildren,\r\n} from '@angular/core';\r\nimport { fromEvent, Subject } from 'rxjs';\r\nimport { debounceTime, filter, takeUntil } from 'rxjs/operators';\r\nimport { fadeAnimation } from '../../animations/modal.animations';\r\nimport { Toaster } from '../../models/toaster';\r\nimport { ConfirmationService } from '../../services/confirmation.service';\r\nimport { ButtonComponent } from '../button/button.component';\r\n\r\nexport type ModalSize = 'sm' | 'md' | 'lg' | 'xl';\r\n\r\n@Component({\r\n selector: 'abp-modal',\r\n templateUrl: './modal.component.html',\r\n animations: [fadeAnimation],\r\n})\r\nexport class ModalComponent implements OnDestroy {\r\n @Input()\r\n get visible(): boolean {\r\n return this._visible;\r\n }\r\n set visible(value: boolean) {\r\n if (typeof value !== 'boolean') return;\r\n\r\n this.isModalOpen = value;\r\n this._visible = value;\r\n this.visibleChange.emit(value);\r\n\r\n if (value) {\r\n setTimeout(() => this.listen(), 0);\r\n this.renderer.addClass(document.body, 'modal-open');\r\n this.appear.emit();\r\n } else {\r\n this.renderer.removeClass(document.body, 'modal-open');\r\n this.disappear.emit();\r\n this.destroy$.next();\r\n }\r\n }\r\n\r\n @Input()\r\n get busy(): boolean {\r\n return this._busy;\r\n }\r\n set busy(value: boolean) {\r\n if (this.abpSubmit && this.abpSubmit instanceof ButtonComponent) {\r\n this.abpSubmit.loading = value;\r\n }\r\n\r\n this._busy = value;\r\n }\r\n\r\n @Input() centered = false;\r\n\r\n @Input() modalClass = '';\r\n\r\n @Input() size: ModalSize = 'lg';\r\n\r\n @ContentChild(ButtonComponent, { static: false, read: ButtonComponent })\r\n abpSubmit: ButtonComponent;\r\n\r\n @ContentChild('abpHeader', { static: false }) abpHeader: TemplateRef;\r\n\r\n @ContentChild('abpBody', { static: false }) abpBody: TemplateRef;\r\n\r\n @ContentChild('abpFooter', { static: false }) abpFooter: TemplateRef;\r\n\r\n @ContentChild('abpClose', { static: false, read: ElementRef })\r\n abpClose: ElementRef;\r\n\r\n @ViewChild('abpModalContent', { static: false }) modalContent: ElementRef;\r\n\r\n @ViewChildren('abp-button') abpButtons;\r\n\r\n @Output() readonly visibleChange = new EventEmitter();\r\n\r\n @Output() readonly init = new EventEmitter();\r\n\r\n @Output() readonly appear = new EventEmitter();\r\n\r\n @Output() readonly disappear = new EventEmitter();\r\n\r\n _visible = false;\r\n\r\n _busy = false;\r\n\r\n isModalOpen = false;\r\n\r\n isConfirmationOpen = false;\r\n\r\n destroy$ = new Subject();\r\n\r\n constructor(private renderer: Renderer2, private confirmationService: ConfirmationService) {}\r\n\r\n ngOnDestroy(): void {\r\n this.destroy$.next();\r\n }\r\n\r\n close() {\r\n if (this.busy) return;\r\n\r\n let node: HTMLDivElement;\r\n if (!this.modalContent) {\r\n node = document.getElementById('modal-container') as HTMLDivElement;\r\n }\r\n\r\n const nodes = getFlatNodes(\r\n ((node || this.modalContent.nativeElement).querySelector('#abp-modal-body') as HTMLElement).childNodes,\r\n );\r\n\r\n if (hasNgDirty(nodes)) {\r\n if (this.isConfirmationOpen) return;\r\n\r\n this.isConfirmationOpen = true;\r\n this.confirmationService\r\n .warn('AbpAccount::AreYouSureYouWantToCancelEditingWarningMessage', 'AbpAccount::AreYouSure')\r\n .subscribe((status: Toaster.Status) => {\r\n this.isConfirmationOpen = false;\r\n if (status === Toaster.Status.confirm) {\r\n this.visible = false;\r\n }\r\n });\r\n } else {\r\n this.visible = false;\r\n }\r\n }\r\n\r\n listen() {\r\n fromEvent(document, 'keyup')\r\n .pipe(\r\n takeUntil(this.destroy$),\r\n debounceTime(150),\r\n filter((key: KeyboardEvent) => key && key.key === 'Escape'),\r\n )\r\n .subscribe(() => {\r\n this.close();\r\n });\r\n\r\n setTimeout(() => {\r\n if (!this.abpClose) return;\r\n fromEvent(this.abpClose.nativeElement, 'click')\r\n .pipe(\r\n takeUntil(this.destroy$),\r\n filter(() => !!this.modalContent),\r\n )\r\n .subscribe(() => this.close());\r\n }, 0);\r\n\r\n this.init.emit();\r\n }\r\n}\r\n\r\nfunction getFlatNodes(nodes: NodeList): HTMLElement[] {\r\n return Array.from(nodes).reduce(\r\n (acc, val) => [...acc, ...(val.childNodes && val.childNodes.length ? getFlatNodes(val.childNodes) : [val])],\r\n [],\r\n );\r\n}\r\n\r\nfunction hasNgDirty(nodes: HTMLElement[]) {\r\n return nodes.findIndex(node => (node.className || '').indexOf('ng-dirty') > -1) > -1;\r\n}\r\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-sort-order-icon',\r\n templateUrl: './sort-order-icon.component.html',\r\n})\r\nexport class SortOrderIconComponent {\r\n private _order: 'asc' | 'desc' | '';\r\n private _selectedSortKey: string;\r\n\r\n /**\r\n * @deprecated use selectedSortKey instead.\r\n */\r\n @Input()\r\n set selectedKey(value: string) {\r\n this.selectedSortKey = value;\r\n this.selectedKeyChange.emit(value);\r\n }\r\n get selectedKey(): string {\r\n return this._selectedSortKey;\r\n }\r\n\r\n @Input()\r\n set selectedSortKey(value: string) {\r\n this._selectedSortKey = value;\r\n this.selectedSortKeyChange.emit(value);\r\n }\r\n get selectedSortKey(): string {\r\n return this._selectedSortKey;\r\n }\r\n\r\n @Output() readonly selectedKeyChange = new EventEmitter();\r\n @Output() readonly selectedSortKeyChange = new EventEmitter();\r\n\r\n /**\r\n * @deprecated use sortKey instead.\r\n */\r\n @Input()\r\n get key(): string {\r\n return this.sortKey;\r\n }\r\n set key(value: string) {\r\n this.sortKey = value;\r\n }\r\n\r\n @Input()\r\n sortKey: string;\r\n\r\n @Input()\r\n set order(value: 'asc' | 'desc' | '') {\r\n this._order = value;\r\n this.orderChange.emit(value);\r\n }\r\n get order(): 'asc' | 'desc' | '' {\r\n return this._order;\r\n }\r\n\r\n @Output() readonly orderChange = new EventEmitter();\r\n\r\n @Input()\r\n iconClass: string;\r\n\r\n get icon(): string {\r\n if (!this.selectedSortKey) return 'fa-sort';\r\n if (this.selectedSortKey === this.sortKey) return `fa-sort-${this.order}`;\r\n else return '';\r\n }\r\n\r\n sort(key: string) {\r\n this.selectedKey = key; // TODO: To be removed\r\n this.selectedSortKey = key;\r\n switch (this.order) {\r\n case '':\r\n this.order = 'asc';\r\n this.orderChange.emit('asc');\r\n break;\r\n case 'asc':\r\n this.order = 'desc';\r\n this.orderChange.emit('desc');\r\n break;\r\n case 'desc':\r\n this.order = '';\r\n this.selectedKey = ''; // TODO: To be removed\r\n this.orderChange.emit('');\r\n break;\r\n }\r\n }\r\n}\r\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n // tslint:disable-next-line: component-selector\r\n selector: '[abp-table-empty-message]',\r\n template: `\r\n \r\n {{ emptyMessage | abpLocalization }}\r\n \r\n `\r\n})\r\nexport class TableEmptyMessageComponent {\r\n @Input()\r\n colspan = 2;\r\n\r\n @Input()\r\n message: string;\r\n\r\n @Input()\r\n localizationResource = 'AbpAccount';\r\n\r\n @Input()\r\n localizationProp = 'NoDataAvailableInDatatable';\r\n\r\n get emptyMessage(): string {\r\n return this.message || `${this.localizationResource}::${this.localizationProp}`;\r\n }\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-toast',\r\n // tslint:disable-next-line: component-max-inline-declarations\r\n template: `\r\n \r\n \r\n \r\n
    \r\n
    {{ message.summary | abpLocalization: message.titleLocalizationParams }}
    \r\n
    {{ message.detail | abpLocalization: message.messageLocalizationParams }}
    \r\n
    \r\n
    \r\n
    \r\n `,\r\n})\r\nexport class ToastComponent {}\r\n","export default `\r\n.is-invalid .form-control {\r\n border-color: #dc3545;\r\n border-style: solid !important;\r\n}\r\n\r\n.is-invalid .invalid-feedback,\r\n.is-invalid + * .invalid-feedback {\r\n display: block;\r\n}\r\n\r\n.data-tables-filter {\r\n text-align: right;\r\n}\r\n\r\n.pointer {\r\n cursor: pointer;\r\n}\r\n\r\n.navbar .dropdown-submenu a::after {\r\n transform: rotate(-90deg);\r\n position: absolute;\r\n right: 16px;\r\n top: 18px;\r\n}\r\n\r\n.navbar .dropdown-menu {\r\n min-width: 215px;\r\n}\r\n\r\n.ui-table-scrollable-body::-webkit-scrollbar {\r\n height: 5px !important;\r\n}\r\n\r\n.ui-table-scrollable-body::-webkit-scrollbar-track {\r\n background: #ddd;\r\n}\r\n\r\n.ui-table-scrollable-body::-webkit-scrollbar-thumb {\r\n background: #8a8686;\r\n}\r\n\r\n.modal.show {\r\n display: block !important;\r\n}\r\n\r\n.modal-backdrop {\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n width: calc(100% - 7px);\r\n height: 100%;\r\n background-color: rgba(0, 0, 0, 0.6);\r\n z-index: 1040;\r\n}\r\n\r\n.modal::-webkit-scrollbar {\r\n width: 7px;\r\n}\r\n\r\n.modal::-webkit-scrollbar-track {\r\n background: #ddd;\r\n}\r\n\r\n.modal::-webkit-scrollbar-thumb {\r\n background: #8a8686;\r\n}\r\n\r\n.modal-dialog {\r\n z-index: 1050;\r\n}\r\n\r\n.abp-ellipsis-inline {\r\n display: inline-block;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n}\r\n\r\n.abp-ellipsis {\r\n overflow: hidden !important;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n}\r\n\r\n.abp-toast .ui-toast-message {\r\n box-sizing: border-box;\r\n border: 2px solid transparent;\r\n border-radius: 4px;\r\n color: #1b1d29;\r\n}\r\n\r\n.abp-toast .ui-toast-message-content {\r\n padding: 10px;\r\n}\r\n\r\n.abp-toast .ui-toast-message-content .ui-toast-icon {\r\n top: 0;\r\n left: 0;\r\n padding: 10px;\r\n}\r\n\r\n.abp-toast .ui-toast-summary {\r\n margin: 0;\r\n font-weight: 700;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-error {\r\n border: 2px solid #ba1659;\r\n background-color: #f4f4f7;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-error .ui-toast-message-content .ui-toast-icon {\r\n color: #ba1659;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn {\r\n border: 2px solid #ed5d98;\r\n background-color: #f4f4f7;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn .ui-toast-message-content .ui-toast-icon {\r\n color: #ed5d98;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-success {\r\n border: 2px solid #1c9174;\r\n background-color: #f4f4f7;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-success .ui-toast-message-content .ui-toast-icon {\r\n color: #1c9174;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-info {\r\n border: 2px solid #fccb31;\r\n background-color: #f4f4f7;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-info .ui-toast-message-content .ui-toast-icon {\r\n color: #fccb31;\r\n}\r\n\r\n.abp-confirm .ui-toast-message {\r\n box-sizing: border-box;\r\n padding: 0px;\r\n border:0 none;\r\n border-radius: 4px;\r\n background-color: transparent !important;\r\n font-family: \"Poppins\", sans-serif;\r\n text-align: center;\r\n}\r\n\r\n.abp-confirm .ui-toast-message-content {\r\n padding: 0px;\r\n}\r\n\r\n.abp-confirm .abp-confirm-icon {\r\n margin: 32px 50px 5px !important;\r\n color: #f8bb86 !important;\r\n font-size: 52px !important;\r\n}\r\n\r\n.abp-confirm .ui-toast-close-icon {\r\n display: none !important;\r\n}\r\n\r\n.abp-confirm .abp-confirm-summary {\r\n display: block !important;\r\n margin-bottom: 13px !important;\r\n padding: 13px 16px 0px !important;\r\n font-weight: 600 !important;\r\n font-size: 18px !important;\r\n}\r\n\r\n.abp-confirm .abp-confirm-body {\r\n display: inline-block !important;\r\n padding: 0px 10px !important;\r\n}\r\n\r\n.abp-confirm .abp-confirm-footer {\r\n display: block;\r\n margin-top: 30px;\r\n padding: 16px;\r\n text-align: right;\r\n}\r\n\r\n.abp-confirm .abp-confirm-footer .btn {\r\n margin-left: 10px !important;\r\n}\r\n\r\n.ui-widget-overlay {\r\n z-index: 1000;\r\n}\r\n\r\n.color-white {\r\n color: #FFF !important;\r\n}\r\n\r\n.custom-checkbox > label {\r\n cursor: pointer;\r\n}\r\n\r\n/* ;\r\n\r\n constructor(\r\n private actions: Actions,\r\n private store: Store,\r\n private confirmationService: ConfirmationService,\r\n private appRef: ApplicationRef,\r\n private cfRes: ComponentFactoryResolver,\r\n private rendererFactory: RendererFactory2,\r\n private injector: Injector,\r\n @Inject('HTTP_ERROR_CONFIG') private httpErrorConfig: HttpErrorConfig,\r\n ) {\r\n this.actions.pipe(ofActionSuccessful(RestOccurError, RouterError, RouterDataResolved)).subscribe(res => {\r\n if (res instanceof RestOccurError) {\r\n const { payload: err = {} as HttpErrorResponse | any } = res;\r\n const body = snq(() => (err as HttpErrorResponse).error.error, DEFAULT_ERROR_MESSAGES.defaultError.title);\r\n\r\n if (err instanceof HttpErrorResponse && err.headers.get('_AbpErrorFormat')) {\r\n const confirmation$ = this.showError(null, null, body);\r\n\r\n if (err.status === 401) {\r\n confirmation$.subscribe(() => {\r\n this.navigateToLogin();\r\n });\r\n }\r\n } else {\r\n switch ((err as HttpErrorResponse).status) {\r\n case 401:\r\n this.canCreateCustomError(401)\r\n ? this.show401Page()\r\n : this.showError(\r\n {\r\n key: 'AbpAccount::DefaultErrorMessage401',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.title,\r\n },\r\n {\r\n key: 'AbpAccount::DefaultErrorMessage401Detail',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.details,\r\n },\r\n ).subscribe(() => this.navigateToLogin());\r\n break;\r\n case 403:\r\n this.createErrorComponent({\r\n title: {\r\n key: 'AbpAccount::DefaultErrorMessage403',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError403.title,\r\n },\r\n details: {\r\n key: 'AbpAccount::DefaultErrorMessage403Detail',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError403.details,\r\n },\r\n status: 403,\r\n });\r\n break;\r\n case 404:\r\n this.canCreateCustomError(404)\r\n ? this.show404Page()\r\n : this.showError(\r\n {\r\n key: 'AbpAccount::DefaultErrorMessage404',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.details,\r\n },\r\n {\r\n key: 'AbpAccount::DefaultErrorMessage404Detail',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.title,\r\n },\r\n );\r\n break;\r\n case 500:\r\n this.createErrorComponent({\r\n title: {\r\n key: 'AbpAccount::500Message',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError500.title,\r\n },\r\n details: {\r\n key: 'AbpAccount::InternalServerErrorMessage',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError500.details,\r\n },\r\n status: 500,\r\n });\r\n break;\r\n case 0:\r\n if ((err as HttpErrorResponse).statusText === 'Unknown Error') {\r\n this.createErrorComponent({\r\n title: {\r\n key: 'AbpAccount::DefaultErrorMessage',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError.title,\r\n },\r\n });\r\n }\r\n break;\r\n default:\r\n this.showError(DEFAULT_ERROR_MESSAGES.defaultError.details, DEFAULT_ERROR_MESSAGES.defaultError.title);\r\n break;\r\n }\r\n }\r\n } else if (res instanceof RouterError && snq(() => res.event.error.indexOf('Cannot match') > -1, false)) {\r\n this.show404Page();\r\n } else if (res instanceof RouterDataResolved && this.componentRef) {\r\n this.componentRef.destroy();\r\n this.componentRef = null;\r\n }\r\n });\r\n }\r\n\r\n private show401Page() {\r\n this.createErrorComponent({\r\n title: {\r\n key: 'AbpAccount::401Message',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.title,\r\n },\r\n status: 401,\r\n });\r\n }\r\n\r\n private show404Page() {\r\n this.createErrorComponent({\r\n title: {\r\n key: 'AbpAccount::404Message',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.title,\r\n },\r\n status: 404,\r\n });\r\n }\r\n\r\n private showError(\r\n message?: Config.LocalizationParam,\r\n title?: Config.LocalizationParam,\r\n body?: any,\r\n ): Observable {\r\n if (body) {\r\n if (body.details) {\r\n message = body.details;\r\n title = body.message;\r\n } else {\r\n message = body.message || DEFAULT_ERROR_MESSAGES.defaultError.title;\r\n }\r\n }\r\n\r\n return this.confirmationService.error(message, title, {\r\n hideCancelBtn: true,\r\n yesText: 'AbpAccount::Close',\r\n });\r\n }\r\n\r\n private navigateToLogin() {\r\n this.store.dispatch(\r\n new Navigate(['/account/login'], null, { state: { redirectUrl: this.store.selectSnapshot(RouterState.url) } }),\r\n );\r\n }\r\n\r\n createErrorComponent(instance: Partial) {\r\n const renderer = this.rendererFactory.createRenderer(null, null);\r\n const host = renderer.selectRootElement(document.body, true);\r\n\r\n this.componentRef = this.cfRes.resolveComponentFactory(HttpErrorWrapperComponent).create(this.injector);\r\n\r\n for (const key in this.componentRef.instance) {\r\n if (this.componentRef.instance.hasOwnProperty(key)) {\r\n this.componentRef.instance[key] = instance[key];\r\n }\r\n }\r\n this.componentRef.instance.hideCloseIcon = this.httpErrorConfig.errorScreen.hideCloseIcon;\r\n if (this.canCreateCustomError(instance.status as ErrorScreenErrorCodes)) {\r\n this.componentRef.instance.cfRes = this.cfRes;\r\n this.componentRef.instance.appRef = this.appRef;\r\n this.componentRef.instance.injector = this.injector;\r\n this.componentRef.instance.customComponent = this.httpErrorConfig.errorScreen.component;\r\n }\r\n\r\n this.appRef.attachView(this.componentRef.hostView);\r\n renderer.appendChild(host, (this.componentRef.hostView as EmbeddedViewRef).rootNodes[0]);\r\n\r\n const destroy$ = new Subject();\r\n this.componentRef.instance.destroy$ = destroy$;\r\n destroy$.subscribe(() => {\r\n this.componentRef.destroy();\r\n this.componentRef = null;\r\n });\r\n }\r\n\r\n canCreateCustomError(status: ErrorScreenErrorCodes): boolean {\r\n return snq(\r\n () =>\r\n this.httpErrorConfig.errorScreen.component &&\r\n this.httpErrorConfig.errorScreen.forWhichErrors.indexOf(status) > -1,\r\n );\r\n }\r\n}\r\n","import { InjectionToken } from '@angular/core';\r\nimport { HttpErrorConfig } from '../models/common';\r\n\r\nexport function httpErrorConfigFactory(config = {} as HttpErrorConfig) {\r\n if (config.errorScreen && config.errorScreen.component && !config.errorScreen.forWhichErrors) {\r\n config.errorScreen.forWhichErrors = [401, 403, 404, 500];\r\n }\r\n\r\n return {\r\n errorScreen: {},\r\n ...config,\r\n } as HttpErrorConfig;\r\n}\r\n\r\nexport const HTTP_ERROR_CONFIG = new InjectionToken('HTTP_ERROR_CONFIG');\r\n","import { Injectable, Optional } from '@angular/core';\r\nimport { NgbDateParserFormatter, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';\r\nimport { DatePipe } from '@angular/common';\r\n\r\nfunction padNumber(value: number) {\r\n if (isNumber(value)) {\r\n return `0${value}`.slice(-2);\r\n } else {\r\n return '';\r\n }\r\n}\r\n\r\nfunction isNumber(value: any): boolean {\r\n return !isNaN(toInteger(value));\r\n}\r\n\r\nfunction toInteger(value: any): number {\r\n return parseInt(`${value}`, 10);\r\n}\r\n\r\n@Injectable()\r\nexport class DateParserFormatter extends NgbDateParserFormatter {\r\n constructor(@Optional() private datePipe: DatePipe) {\r\n super();\r\n }\r\n\r\n parse(value: string): NgbDateStruct {\r\n if (value) {\r\n const dateParts = value.trim().split('-');\r\n if (dateParts.length === 1 && isNumber(dateParts[0])) {\r\n return { year: toInteger(dateParts[0]), month: null, day: null };\r\n } else if (dateParts.length === 2 && isNumber(dateParts[0]) && isNumber(dateParts[1])) {\r\n return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: null };\r\n } else if (dateParts.length === 3 && isNumber(dateParts[0]) && isNumber(dateParts[1]) && isNumber(dateParts[2])) {\r\n return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: toInteger(dateParts[2]) };\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n format(date: NgbDateStruct): string {\r\n if (date && this.datePipe) {\r\n return this.datePipe.transform(new Date(date.year, date.month, date.day), 'shortDate');\r\n } else {\r\n return date\r\n ? `${date.year}-${isNumber(date.month) ? padNumber(date.month) : ''}-${\r\n isNumber(date.day) ? padNumber(date.day) : ''\r\n }`\r\n : '';\r\n }\r\n }\r\n}\r\n","import { CoreModule, LazyLoadService } from '@abp/ng.core';\r\nimport { APP_INITIALIZER, Injector, ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\nimport { MessageService } from 'primeng/components/common/messageservice';\r\nimport { ToastModule } from 'primeng/toast';\r\nimport { forkJoin } from 'rxjs';\r\nimport { BreadcrumbComponent } from './components/breadcrumb/breadcrumb.component';\r\nimport { ButtonComponent } from './components/button/button.component';\r\nimport { ChartComponent } from './components/chart/chart.component';\r\nimport { ConfirmationComponent } from './components/confirmation/confirmation.component';\r\nimport { HttpErrorWrapperComponent } from './components/http-error-wrapper/http-error-wrapper.component';\r\nimport { LoaderBarComponent } from './components/loader-bar/loader-bar.component';\r\nimport { ModalComponent } from './components/modal/modal.component';\r\nimport { SortOrderIconComponent } from './components/sort-order-icon/sort-order-icon.component';\r\nimport { TableEmptyMessageComponent } from './components/table-empty-message/table-empty-message.component';\r\nimport { ToastComponent } from './components/toast/toast.component';\r\nimport styles from './constants/styles';\r\nimport { TableSortDirective } from './directives/table-sort.directive';\r\nimport { ErrorHandler } from './handlers/error.handler';\r\nimport { chartJsLoaded$ } from './utils/widget-utils';\r\nimport { RootParams } from './models/common';\r\nimport { HTTP_ERROR_CONFIG, httpErrorConfigFactory } from './tokens/http-error.token';\r\nimport { NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';\r\nimport { DateParserFormatter } from './utils/date-parser-formatter';\r\nimport { DatePipe } from '@angular/common';\r\n\r\nexport function appendScript(injector: Injector) {\r\n const fn = () => {\r\n import('chart.js').then(() => chartJsLoaded$.next(true));\r\n\r\n const lazyLoadService: LazyLoadService = injector.get(LazyLoadService);\r\n return lazyLoadService.load(null, 'style', styles, 'head', 'beforeend').toPromise();\r\n };\r\n\r\n return fn;\r\n}\r\n\r\n@NgModule({\r\n imports: [CoreModule, ToastModule, NgxValidateCoreModule],\r\n declarations: [\r\n BreadcrumbComponent,\r\n ButtonComponent,\r\n ChartComponent,\r\n ConfirmationComponent,\r\n HttpErrorWrapperComponent,\r\n LoaderBarComponent,\r\n ModalComponent,\r\n TableEmptyMessageComponent,\r\n ToastComponent,\r\n SortOrderIconComponent,\r\n TableSortDirective,\r\n ],\r\n exports: [\r\n BreadcrumbComponent,\r\n ButtonComponent,\r\n ChartComponent,\r\n ConfirmationComponent,\r\n LoaderBarComponent,\r\n ModalComponent,\r\n TableEmptyMessageComponent,\r\n ToastComponent,\r\n SortOrderIconComponent,\r\n TableSortDirective,\r\n ],\r\n providers: [DatePipe],\r\n entryComponents: [HttpErrorWrapperComponent],\r\n})\r\nexport class ThemeSharedModule {\r\n constructor(private errorHandler: ErrorHandler) {}\r\n\r\n static forRoot(options = {} as RootParams): ModuleWithProviders {\r\n return {\r\n ngModule: ThemeSharedModule,\r\n providers: [\r\n {\r\n provide: APP_INITIALIZER,\r\n multi: true,\r\n deps: [Injector],\r\n useFactory: appendScript,\r\n },\r\n { provide: MessageService, useClass: MessageService },\r\n { provide: HTTP_ERROR_CONFIG, useValue: options.httpErrorConfig },\r\n {\r\n provide: 'HTTP_ERROR_CONFIG',\r\n useFactory: httpErrorConfigFactory,\r\n deps: [HTTP_ERROR_CONFIG],\r\n },\r\n { provide: NgbDateParserFormatter, useClass: DateParserFormatter },\r\n ],\r\n };\r\n }\r\n}\r\n","import { animate, animation, keyframes, style } from '@angular/animations';\r\n\r\nexport const bounceIn = animation(\r\n [\r\n style({ opacity: '0', display: '{{ display }}' }),\r\n animate(\r\n '{{ time}} {{ easing }}',\r\n keyframes([\r\n style({ opacity: '0', transform: '{{ transform }} scale(0.0)', offset: 0 }),\r\n style({ opacity: '0', transform: '{{ transform }} scale(0.8)', offset: 0.5 }),\r\n style({ opacity: '1', transform: '{{ transform }} scale(1.0)', offset: 1 })\r\n ])\r\n )\r\n ],\r\n {\r\n params: {\r\n time: '350ms',\r\n easing: 'cubic-bezier(.7,.31,.72,1.47)',\r\n display: 'block',\r\n transform: 'translate(-50%, -50%)'\r\n }\r\n }\r\n);\r\n","import { animate, animation, trigger, state, style, transition, useAnimation } from '@angular/animations';\r\n\r\nexport const collapseY = animation(\r\n [\r\n style({ height: '*', overflow: 'hidden', 'box-sizing': 'border-box' }),\r\n animate('{{ time }} {{ easing }}', style({ height: '0', padding: '0px' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease' } },\r\n);\r\n\r\nexport const collapseYWithMargin = animation(\r\n [style({ 'margin-top': '0' }), animate('{{ time }} {{ easing }}', style({ 'margin-top': '-100%' }))],\r\n {\r\n params: { time: '500ms', easing: 'ease' },\r\n },\r\n);\r\n\r\nexport const collapseX = animation(\r\n [\r\n style({ width: '*', overflow: 'hidden', 'box-sizing': 'border-box' }),\r\n animate('{{ time }} {{ easing }}', style({ width: '0', padding: '0px' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease' } },\r\n);\r\n\r\nexport const expandY = animation(\r\n [\r\n style({ height: '0', overflow: 'hidden', 'box-sizing': 'border-box' }),\r\n animate('{{ time }} {{ easing }}', style({ height: '*', padding: '*' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease' } },\r\n);\r\n\r\nexport const expandYWithMargin = animation(\r\n [style({ 'margin-top': '-100%' }), animate('{{ time }} {{ easing }}', style({ 'margin-top': '0' }))],\r\n {\r\n params: { time: '500ms', easing: 'ease' },\r\n },\r\n);\r\n\r\nexport const expandX = animation(\r\n [\r\n style({ width: '0', overflow: 'hidden', 'box-sizing': 'border-box' }),\r\n animate('{{ time }} {{ easing }}', style({ width: '*', padding: '*' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease' } },\r\n);\r\n\r\nexport const collapse = trigger('collapse', [\r\n state('collapsed', style({ height: '0', overflow: 'hidden' })),\r\n state('expanded', style({ height: '*', overflow: 'hidden' })),\r\n transition('expanded => collapsed', useAnimation(collapseY)),\r\n transition('collapsed => expanded', useAnimation(expandY)),\r\n]);\r\n\r\nexport const collapseWithMargin = trigger('collapseWithMargin', [\r\n state('collapsed', style({ 'margin-top': '-100%' })),\r\n state('expanded', style({ 'margin-top': '0' })),\r\n transition('expanded => collapsed', useAnimation(collapseYWithMargin), {\r\n params: { time: '400ms', easing: 'linear' },\r\n }),\r\n transition('collapsed => expanded', useAnimation(expandYWithMargin)),\r\n]);\r\n\r\nexport const collapseLinearWithMargin = trigger('collapseLinearWithMargin', [\r\n state('collapsed', style({ 'margin-top': '-100%' })),\r\n state('expanded', style({ 'margin-top': '0' })),\r\n transition(\r\n 'expanded => collapsed',\r\n useAnimation(collapseYWithMargin, { params: { time: '200ms', easing: 'linear' } }),\r\n ),\r\n transition('collapsed => expanded', useAnimation(expandYWithMargin, { params: { time: '250ms', easing: 'linear' } })),\r\n]);\r\n","import { animate, state, style, transition, trigger, query } from '@angular/animations';\r\nexport const slideFromBottom = trigger('slideFromBottom', [\r\n transition('* <=> *', [\r\n style({ 'margin-top': '20px', opacity: '0' }),\r\n animate('0.2s ease-out', style({ opacity: '1', 'margin-top': '0px' })),\r\n ]),\r\n]);\r\n","import { Type } from '@angular/core';\r\n\r\nexport interface RootParams {\r\n httpErrorConfig: HttpErrorConfig;\r\n}\r\n\r\nexport type ErrorScreenErrorCodes = 401 | 403 | 404 | 500;\r\n\r\nexport interface HttpErrorConfig {\r\n errorScreen?: {\r\n component: Type;\r\n forWhichErrors?:\r\n | [ErrorScreenErrorCodes]\r\n | [ErrorScreenErrorCodes, ErrorScreenErrorCodes]\r\n | [ErrorScreenErrorCodes, ErrorScreenErrorCodes, ErrorScreenErrorCodes]\r\n | [ErrorScreenErrorCodes, ErrorScreenErrorCodes, ErrorScreenErrorCodes, ErrorScreenErrorCodes];\r\n hideCloseIcon?: boolean;\r\n };\r\n}\r\n","import { Toaster } from './toaster';\r\nimport { Config } from '@abp/ng.core';\r\n\r\nexport namespace Confirmation {\r\n export interface Options extends Toaster.Options {\r\n hideCancelBtn?: boolean;\r\n hideYesBtn?: boolean;\r\n cancelText?: Config.LocalizationParam;\r\n yesText?: Config.LocalizationParam;\r\n /**\r\n * @deprecated to be deleted in v2\r\n */\r\n cancelCopy?: Config.LocalizationParam;\r\n /**\r\n * @deprecated to be deleted in v2\r\n */\r\n yesCopy?: Config.LocalizationParam;\r\n }\r\n}\r\n","import { Type } from '@angular/core';\r\n\r\nexport interface SettingTab {\r\n component: Type;\r\n name: string;\r\n order: number;\r\n requiredPolicy?: string;\r\n}\r\n\r\nconst SETTING_TABS = [] as SettingTab[];\r\n\r\nexport function addSettingTab(tab: SettingTab | SettingTab[]): void {\r\n if (!Array.isArray(tab)) {\r\n tab = [tab];\r\n }\r\n\r\n SETTING_TABS.push(...tab);\r\n}\r\n\r\nexport function getSettingTabs(): SettingTab[] {\r\n return SETTING_TABS;\r\n}\r\n","export namespace Statistics {\r\n export interface Response {\r\n data: Data;\r\n }\r\n\r\n export interface Data {\r\n [key: string]: number;\r\n }\r\n\r\n export interface Filter {\r\n startDate: string | Date;\r\n endDate: string | Date;\r\n }\r\n}\r\n","export namespace Toaster {\r\n export interface Options {\r\n id?: any;\r\n closable?: boolean;\r\n life?: number;\r\n sticky?: boolean;\r\n data?: any;\r\n messageLocalizationParams?: string[];\r\n titleLocalizationParams?: string[];\r\n }\r\n\r\n export type Severity = 'success' | 'info' | 'warn' | 'error';\r\n\r\n export const enum Status {\r\n confirm = 'confirm',\r\n reject = 'reject',\r\n dismiss = 'dismiss',\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { AbstractToaster } from '../abstracts/toaster';\r\nimport { Message } from 'primeng/components/common/message';\r\nimport { MessageService } from 'primeng/components/common/messageservice';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class ToasterService extends AbstractToaster {\r\n constructor(protected messageService: MessageService) {\r\n super(messageService);\r\n }\r\n\r\n addAll(messages: Message[]): void {\r\n this.messageService.addAll(messages.map(message => ({ key: this.key, ...message })));\r\n }\r\n}\r\n"],"names":["takeUntilDestroy"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,MASa,mBAAmB;;;;;IAK9B,YAAoB,MAAc,EAAU,KAAY;QAApC,WAAM,GAAN,MAAM,CAAQ;QAAU,UAAK,GAAL,KAAK,CAAO;QAFxD,aAAQ,GAAa,EAAE,CAAC;KAEoC;;;;IAE5D,QAAQ;QACN,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc;;;;QAAC,KAAK,IAAI,KAAK,CAAC,iBAAiB,EAAC,CAAC;QAC1E,IAAI,IAAI,CAAC,IAAI,EAAE;;gBACT,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,C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AAO,CAAC,GAAG,CAAC,EAAE;QACvB,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;KACb;IAED,YAAY,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,CAAC;CAC3B;;;;AAED,SAAgB,cAAc;IAC5B,OAAO,YAAY,CAAC;CACrB;;;;;;;ACrBD,IAAiB,UAAU,CAa1B;AAbD,WAAiB,UAAU;;;;IACzB,uBAEC;;;;QADC,wBAAW;;;;;IAGb,mBAEC;;;;;IAED,qBAGC;;;;QAFC,2BAAyB;;QACzB,yBAAuB;;CAE1B,EAbgB,UAAU,KAAV,UAAU,QAa1B;;;;;;;ACbD,IAAiB,OAAO,CAkBvB;AAlBD,WAAiB,OAAO;;;;IACtB,sBAQC;;;;QAPC,qBAAS;;QACT,2BAAmB;;QACnB,uBAAc;;QACd,yBAAiB;;QACjB,uBAAW;;QACX,4CAAqC;;QACrC,0CAAmC;;CAUtC,EAlBgB,OAAO,KAAP,OAAO,QAkBvB;;;;;;;;;;;;;AClBD,MAMa,cAAe,SAAQ,eAAe;;;;IACjD,YAAsB,cAA8B;QAClD,KAAK,CAAC,cAAc,CAAC,CAAC;QADF,mBAAc,GAAd,cAAc,CAAgB;KAEnD;;;;;IAED,MAAM,CAAC,QAAmB;QACxB,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;QAAC,OAAO,qBAAO,GAAG,EAAE,IAAI,CAAC,GAAG,IAAK,OAAO,EAAG,EAAC,CAAC,CAAC;KACtF;;;YARF,UAAU,SAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;;YAFzB,cAAc;;;;;;;;IAIT,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/fesm5/abp-ng.theme.shared.js b/npm/ng-packs/dist/theme-shared/fesm5/abp-ng.theme.shared.js deleted file mode 100644 index 01073bac8d1..00000000000 --- a/npm/ng-packs/dist/theme-shared/fesm5/abp-ng.theme.shared.js +++ /dev/null @@ -1,2639 +0,0 @@ -import { ConfigState, takeUntilDestroy, StartLoader, StopLoader, SortPipe, RestOccurError, LazyLoadService, CoreModule } from '@abp/ng.core'; -import { Component, EventEmitter, Renderer2, Input, Output, ViewChild, ElementRef, ChangeDetectorRef, Injectable, ɵɵdefineInjectable, ɵɵinject, ContentChild, ViewChildren, Directive, Optional, Self, ApplicationRef, ComponentFactoryResolver, RendererFactory2, Injector, Inject, INJECTOR, InjectionToken, APP_INITIALIZER, NgModule } from '@angular/core'; -import { takeUntilDestroy as takeUntilDestroy$1, NgxValidateCoreModule } from '@ngx-validate/core'; -import { MessageService } from 'primeng/components/common/messageservice'; -import { ToastModule } from 'primeng/toast'; -import { __read, __assign, __extends, __spread } from 'tslib'; -import { Router, NavigationStart, NavigationEnd, NavigationError } from '@angular/router'; -import { Store, ofActionSuccessful, Actions } from '@ngxs/store'; -import { ReplaySubject, BehaviorSubject, Subject, fromEvent, interval, timer } from 'rxjs'; -import { takeUntil, debounceTime, filter } from 'rxjs/operators'; -import snq from 'snq'; -import { animation, style, animate, trigger, transition, useAnimation, keyframes, state } from '@angular/animations'; -import { Table } from 'primeng/table'; -import clone from 'just-clone'; -import { HttpErrorResponse } from '@angular/common/http'; -import { RouterError, RouterDataResolved, Navigate, RouterState } from '@ngxs/router-plugin'; -import { NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap'; -import { DatePipe } from '@angular/common'; - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/breadcrumb/breadcrumb.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var BreadcrumbComponent = /** @class */ (function () { - function BreadcrumbComponent(router, store) { - this.router = router; - this.store = store; - this.segments = []; - } - /** - * @return {?} - */ - BreadcrumbComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.show = !!this.store.selectSnapshot((/** - * @param {?} state - * @return {?} - */ - function (state) { return state.LeptonLayoutState; })); - if (this.show) { - /** @type {?} */ - var splittedUrl = this.router.url.split('/').filter((/** - * @param {?} chunk - * @return {?} - */ - function (chunk) { return chunk; })); - /** @type {?} */ - var currentUrl = this.store.selectSnapshot(ConfigState.getRoute(splittedUrl[0])); - if (!currentUrl) { - currentUrl = this.store.selectSnapshot(ConfigState.getRoute(null, null, this.router.url)); - splittedUrl = [this.router.url]; - if (!currentUrl) { - this.show = false; - return; - } - } - this.segments.push(currentUrl.name); - if (splittedUrl.length > 1) { - var _a = __read(splittedUrl), arr = _a.slice(1); - /** @type {?} */ - var childRoute = currentUrl; - var _loop_1 = function (i) { - /** @type {?} */ - var element = arr[i]; - childRoute = childRoute.children.find((/** - * @param {?} child - * @return {?} - */ - function (child) { return child.path === element; })); - this_1.segments.push(childRoute.name); - }; - var this_1 = this; - for (var i = 0; i < arr.length; i++) { - _loop_1(i); - } - } - } - }; - BreadcrumbComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-breadcrumb', - template: "
      \r\n
    1. \r\n \r\n
    2. \r\n \r\n {{ segment | abpLocalization }}\r\n \r\n
    \r\n" - }] } - ]; - /** @nocollapse */ - BreadcrumbComponent.ctorParameters = function () { return [ - { type: Router }, - { type: Store } - ]; }; - return BreadcrumbComponent; -}()); -if (false) { - /** @type {?} */ - BreadcrumbComponent.prototype.show; - /** @type {?} */ - BreadcrumbComponent.prototype.segments; - /** - * @type {?} - * @private - */ - BreadcrumbComponent.prototype.router; - /** - * @type {?} - * @private - */ - BreadcrumbComponent.prototype.store; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/button/button.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ButtonComponent = /** @class */ (function () { - function ButtonComponent(renderer) { - this.renderer = renderer; - this.buttonId = ''; - this.buttonClass = 'btn btn-primary'; - this.buttonType = 'button'; - this.loading = false; - this.disabled = false; - // tslint:disable - /** - * @deprecated use abpClick instead - */ - this.click = new EventEmitter(); - /** - * @deprecated use abpFocus instead - */ - // tslint:disable-next-line: no-output-native - this.focus = new EventEmitter(); - /** - * @deprecated use abpBlur instead - */ - this.blur = new EventEmitter(); - // tslint:enable - this.abpClick = new EventEmitter(); - this.abpFocus = new EventEmitter(); - this.abpBlur = new EventEmitter(); - } - Object.defineProperty(ButtonComponent.prototype, "icon", { - get: /** - * @return {?} - */ - function () { - return "" + (this.loading ? 'fa fa-spinner fa-spin' : this.iconClass || 'd-none'); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - ButtonComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - var _this = this; - if (this.attributes) { - Object.keys(this.attributes).forEach((/** - * @param {?} key - * @return {?} - */ - function (key) { - _this.renderer.setAttribute(_this.buttonRef.nativeElement, key, _this.attributes[key]); - })); - } - }; - ButtonComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-button', - template: "\n \n \n \n " - }] } - ]; - /** @nocollapse */ - ButtonComponent.ctorParameters = function () { return [ - { type: Renderer2 } - ]; }; - ButtonComponent.propDecorators = { - buttonId: [{ type: Input }], - buttonClass: [{ type: Input }], - buttonType: [{ type: Input }], - iconClass: [{ type: Input }], - loading: [{ type: Input }], - disabled: [{ type: Input }], - attributes: [{ type: Input }], - click: [{ type: Output }], - focus: [{ type: Output }], - blur: [{ type: Output }], - abpClick: [{ type: Output }], - abpFocus: [{ type: Output }], - abpBlur: [{ type: Output }], - buttonRef: [{ type: ViewChild, args: ['button', { static: true },] }] - }; - return ButtonComponent; -}()); -if (false) { - /** @type {?} */ - ButtonComponent.prototype.buttonId; - /** @type {?} */ - ButtonComponent.prototype.buttonClass; - /** @type {?} */ - ButtonComponent.prototype.buttonType; - /** @type {?} */ - ButtonComponent.prototype.iconClass; - /** @type {?} */ - ButtonComponent.prototype.loading; - /** @type {?} */ - ButtonComponent.prototype.disabled; - /** @type {?} */ - ButtonComponent.prototype.attributes; - /** - * @deprecated use abpClick instead - * @type {?} - */ - ButtonComponent.prototype.click; - /** - * @deprecated use abpFocus instead - * @type {?} - */ - ButtonComponent.prototype.focus; - /** - * @deprecated use abpBlur instead - * @type {?} - */ - ButtonComponent.prototype.blur; - /** @type {?} */ - ButtonComponent.prototype.abpClick; - /** @type {?} */ - ButtonComponent.prototype.abpFocus; - /** @type {?} */ - ButtonComponent.prototype.abpBlur; - /** @type {?} */ - ButtonComponent.prototype.buttonRef; - /** - * @type {?} - * @private - */ - ButtonComponent.prototype.renderer; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/widget-utils.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?} count - * @return {?} - */ -function getRandomBackgroundColor(count) { - /** @type {?} */ - var colors = []; - for (var i = 0; i < count; i++) { - /** @type {?} */ - var r = ((i + 5) * (i + 5) * 474) % 255; - /** @type {?} */ - var g = ((i + 5) * (i + 5) * 1600) % 255; - /** @type {?} */ - var b = ((i + 5) * (i + 5) * 84065) % 255; - colors.push('rgba(' + r + ', ' + g + ', ' + b + ', 0.7)'); - } - return colors; -} -/** @type {?} */ -var chartJsLoaded$ = new ReplaySubject(1); - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/chart/chart.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ChartComponent = /** @class */ (function () { - function ChartComponent(el, cdRef) { - var _this = this; - this.el = el; - this.cdRef = cdRef; - this.options = {}; - this.plugins = []; - this.responsive = true; - // tslint:disable-next-line: no-output-on-prefix - this.onDataSelect = new EventEmitter(); - this.initialized = new BehaviorSubject(this); - this.onCanvasClick = (/** - * @param {?} event - * @return {?} - */ - function (event) { - if (_this.chart) { - /** @type {?} */ - var element = _this.chart.getElementAtEvent(event); - /** @type {?} */ - var dataset = _this.chart.getDatasetAtEvent(event); - if (element && element.length && dataset) { - _this.onDataSelect.emit({ - originalEvent: event, - element: element[0], - dataset: dataset, - }); - } - } - }); - this.initChart = (/** - * @return {?} - */ - function () { - /** @type {?} */ - var opts = _this.options || {}; - opts.responsive = _this.responsive; - // allows chart to resize in responsive mode - if (opts.responsive && (_this.height || _this.width)) { - opts.maintainAspectRatio = false; - } - _this.chart = new Chart(_this.canvas, { - type: _this.type, - data: _this.data, - options: _this.options, - plugins: _this.plugins, - }); - _this.cdRef.detectChanges(); - }); - this.generateLegend = (/** - * @return {?} - */ - function () { - if (_this.chart) { - return _this.chart.generateLegend(); - } - }); - this.refresh = (/** - * @return {?} - */ - function () { - if (_this.chart) { - _this.chart.update(); - _this.cdRef.detectChanges(); - } - }); - this.reinit = (/** - * @return {?} - */ - function () { - if (_this.chart) { - _this.chart.destroy(); - _this.initChart(); - } - }); - } - Object.defineProperty(ChartComponent.prototype, "data", { - get: /** - * @return {?} - */ - function () { - return this._data; - }, - set: /** - * @param {?} val - * @return {?} - */ - function (val) { - this._data = val; - this.reinit(); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ChartComponent.prototype, "canvas", { - get: /** - * @return {?} - */ - function () { - return this.el.nativeElement.children[0].children[0]; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ChartComponent.prototype, "base64Image", { - get: /** - * @return {?} - */ - function () { - return this.chart.toBase64Image(); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - ChartComponent.prototype.ngAfterViewInit = /** - * @return {?} - */ - function () { - var _this = this; - chartJsLoaded$.subscribe((/** - * @return {?} - */ - function () { - _this.testChartJs(); - _this.initChart(); - _this._initialized = true; - })); - }; - /** - * @return {?} - */ - ChartComponent.prototype.testChartJs = /** - * @return {?} - */ - function () { - try { - // tslint:disable-next-line: no-unused-expression - Chart; - } - catch (error) { - throw new Error("Chart is not found. Import the Chart from app.module like shown below:\n import('chart.js');\n "); - } - }; - /** - * @return {?} - */ - ChartComponent.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { - if (this.chart) { - this.chart.destroy(); - this._initialized = false; - this.chart = null; - } - }; - ChartComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-chart', - template: "\r\n \r\n\r\n" - }] } - ]; - /** @nocollapse */ - ChartComponent.ctorParameters = function () { return [ - { type: ElementRef }, - { type: ChangeDetectorRef } - ]; }; - ChartComponent.propDecorators = { - type: [{ type: Input }], - options: [{ type: Input }], - plugins: [{ type: Input }], - width: [{ type: Input }], - height: [{ type: Input }], - responsive: [{ type: Input }], - onDataSelect: [{ type: Output }], - initialized: [{ type: Output }], - data: [{ type: Input }] - }; - return ChartComponent; -}()); -if (false) { - /** @type {?} */ - ChartComponent.prototype.type; - /** @type {?} */ - ChartComponent.prototype.options; - /** @type {?} */ - ChartComponent.prototype.plugins; - /** @type {?} */ - ChartComponent.prototype.width; - /** @type {?} */ - ChartComponent.prototype.height; - /** @type {?} */ - ChartComponent.prototype.responsive; - /** @type {?} */ - ChartComponent.prototype.onDataSelect; - /** @type {?} */ - ChartComponent.prototype.initialized; - /** - * @type {?} - * @private - */ - ChartComponent.prototype._initialized; - /** @type {?} */ - ChartComponent.prototype._data; - /** @type {?} */ - ChartComponent.prototype.chart; - /** @type {?} */ - ChartComponent.prototype.onCanvasClick; - /** @type {?} */ - ChartComponent.prototype.initChart; - /** @type {?} */ - ChartComponent.prototype.generateLegend; - /** @type {?} */ - ChartComponent.prototype.refresh; - /** @type {?} */ - ChartComponent.prototype.reinit; - /** @type {?} */ - ChartComponent.prototype.el; - /** - * @type {?} - * @private - */ - ChartComponent.prototype.cdRef; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/abstracts/toaster.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @abstract - * @template T - */ -var /** - * @abstract - * @template T - */ -AbstractToaster = /** @class */ (function () { - function AbstractToaster(messageService) { - this.messageService = messageService; - this.key = 'abpToast'; - this.sticky = false; - } - /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - AbstractToaster.prototype.info = /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - function (message, title, options) { - return this.show(message, title, 'info', options); - }; - /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - AbstractToaster.prototype.success = /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - function (message, title, options) { - return this.show(message, title, 'success', options); - }; - /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - AbstractToaster.prototype.warn = /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - function (message, title, options) { - return this.show(message, title, 'warn', options); - }; - /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - AbstractToaster.prototype.error = /** - * @param {?} message - * @param {?} title - * @param {?=} options - * @return {?} - */ - function (message, title, options) { - return this.show(message, title, 'error', options); - }; - /** - * @protected - * @param {?} message - * @param {?} title - * @param {?} severity - * @param {?=} options - * @return {?} - */ - AbstractToaster.prototype.show = /** - * @protected - * @param {?} message - * @param {?} title - * @param {?} severity - * @param {?=} options - * @return {?} - */ - function (message, title, severity, options) { - this.messageService.clear(this.key); - this.messageService.add(__assign({ severity: severity, detail: message || '', summary: title || '' }, options, { key: this.key }, (typeof (options || ((/** @type {?} */ ({})))).sticky === 'undefined' && { sticky: this.sticky }))); - this.status$ = new Subject(); - return this.status$; - }; - /** - * @param {?=} status - * @return {?} - */ - AbstractToaster.prototype.clear = /** - * @param {?=} status - * @return {?} - */ - function (status) { - this.messageService.clear(this.key); - this.status$.next(status || "dismiss" /* dismiss */); - this.status$.complete(); - }; - return AbstractToaster; -}()); -if (false) { - /** @type {?} */ - AbstractToaster.prototype.status$; - /** @type {?} */ - AbstractToaster.prototype.key; - /** @type {?} */ - AbstractToaster.prototype.sticky; - /** - * @type {?} - * @protected - */ - AbstractToaster.prototype.messageService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/confirmation.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ConfirmationService = /** @class */ (function (_super) { - __extends(ConfirmationService, _super); - function ConfirmationService(messageService) { - var _this = _super.call(this, messageService) || this; - _this.messageService = messageService; - _this.key = 'abpConfirmation'; - _this.sticky = true; - _this.destroy$ = new Subject(); - return _this; - } - /** - * @param {?} message - * @param {?} title - * @param {?} severity - * @param {?=} options - * @return {?} - */ - ConfirmationService.prototype.show = /** - * @param {?} message - * @param {?} title - * @param {?} severity - * @param {?=} options - * @return {?} - */ - function (message, title, severity, options) { - this.listenToEscape(); - return _super.prototype.show.call(this, message, title, severity, options); - }; - /** - * @param {?=} status - * @return {?} - */ - ConfirmationService.prototype.clear = /** - * @param {?=} status - * @return {?} - */ - function (status) { - _super.prototype.clear.call(this, status); - this.destroy$.next(); - }; - /** - * @return {?} - */ - ConfirmationService.prototype.listenToEscape = /** - * @return {?} - */ - function () { - var _this = this; - fromEvent(document, 'keyup') - .pipe(takeUntil(this.destroy$), debounceTime(150), filter((/** - * @param {?} key - * @return {?} - */ - function (key) { return key && key.key === 'Escape'; }))) - .subscribe((/** - * @param {?} _ - * @return {?} - */ - function (_) { - _this.clear(); - })); - }; - ConfirmationService.decorators = [ - { type: Injectable, args: [{ providedIn: 'root' },] } - ]; - /** @nocollapse */ - ConfirmationService.ctorParameters = function () { return [ - { type: MessageService } - ]; }; - /** @nocollapse */ ConfirmationService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ConfirmationService_Factory() { return new ConfirmationService(ɵɵinject(MessageService)); }, token: ConfirmationService, providedIn: "root" }); - return ConfirmationService; -}(AbstractToaster)); -if (false) { - /** @type {?} */ - ConfirmationService.prototype.key; - /** @type {?} */ - ConfirmationService.prototype.sticky; - /** @type {?} */ - ConfirmationService.prototype.destroy$; - /** - * @type {?} - * @protected - */ - ConfirmationService.prototype.messageService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/confirmation/confirmation.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ConfirmationComponent = /** @class */ (function () { - function ConfirmationComponent(confirmationService) { - this.confirmationService = confirmationService; - this.confirm = "confirm" /* confirm */; - this.reject = "reject" /* reject */; - this.dismiss = "dismiss" /* dismiss */; - } - /** - * @param {?} status - * @return {?} - */ - ConfirmationComponent.prototype.close = /** - * @param {?} status - * @return {?} - */ - function (status) { - this.confirmationService.clear(status); - }; - ConfirmationComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-confirmation', - // tslint:disable-next-line: component-max-inline-declarations - template: "\n \n \n \n
    \n {{ message.summary | abpLocalization: message.titleLocalizationParams }}\n
    \n
    \n {{ message.detail | abpLocalization: message.messageLocalizationParams }}\n
    \n\n \n
    \n \n " - }] } - ]; - /** @nocollapse */ - ConfirmationComponent.ctorParameters = function () { return [ - { type: ConfirmationService } - ]; }; - return ConfirmationComponent; -}()); -if (false) { - /** @type {?} */ - ConfirmationComponent.prototype.confirm; - /** @type {?} */ - ConfirmationComponent.prototype.reject; - /** @type {?} */ - ConfirmationComponent.prototype.dismiss; - /** - * @type {?} - * @private - */ - ConfirmationComponent.prototype.confirmationService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/http-error-wrapper/http-error-wrapper.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var HttpErrorWrapperComponent = /** @class */ (function () { - function HttpErrorWrapperComponent() { - this.status = 0; - this.title = 'Oops!'; - this.details = 'Sorry, an error has occured.'; - this.customComponent = null; - this.hideCloseIcon = false; - } - Object.defineProperty(HttpErrorWrapperComponent.prototype, "statusText", { - get: /** - * @return {?} - */ - function () { - return this.status ? "[" + this.status + "]" : ''; - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - HttpErrorWrapperComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this.backgroundColor = - snq((/** - * @return {?} - */ - function () { return window.getComputedStyle(document.body).getPropertyValue('background-color'); })) || '#fff'; - }; - /** - * @return {?} - */ - HttpErrorWrapperComponent.prototype.ngAfterViewInit = /** - * @return {?} - */ - function () { - var _this = this; - if (this.customComponent) { - /** @type {?} */ - var customComponentRef = this.cfRes.resolveComponentFactory(this.customComponent).create(this.injector); - customComponentRef.instance.errorStatus = this.status; - customComponentRef.instance.destroy$ = this.destroy$; - this.appRef.attachView(customComponentRef.hostView); - this.containerRef.nativeElement.appendChild(((/** @type {?} */ (customComponentRef.hostView))).rootNodes[0]); - customComponentRef.changeDetectorRef.detectChanges(); - } - fromEvent(document, 'keyup') - .pipe(takeUntilDestroy(this), debounceTime(150), filter((/** - * @param {?} key - * @return {?} - */ - function (key) { return key && key.key === 'Escape'; }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.destroy(); - })); - }; - /** - * @return {?} - */ - HttpErrorWrapperComponent.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { }; - /** - * @return {?} - */ - HttpErrorWrapperComponent.prototype.destroy = /** - * @return {?} - */ - function () { - this.destroy$.next(); - this.destroy$.complete(); - }; - HttpErrorWrapperComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-http-error-wrapper', - template: "
    \r\n \r\n\r\n
    \r\n
    \r\n
    \r\n

    {{ statusText }} {{ title | abpLocalization }}

    \r\n
    \r\n {{ details | abpLocalization }}\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n", - styles: [".error{position:fixed;top:0;width:100vw;height:100vh;z-index:999999}.centered{position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}"] - }] } - ]; - HttpErrorWrapperComponent.propDecorators = { - containerRef: [{ type: ViewChild, args: ['container', { static: false },] }] - }; - return HttpErrorWrapperComponent; -}()); -if (false) { - /** @type {?} */ - HttpErrorWrapperComponent.prototype.appRef; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.cfRes; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.injector; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.status; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.title; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.details; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.customComponent; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.destroy$; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.hideCloseIcon; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.backgroundColor; - /** @type {?} */ - HttpErrorWrapperComponent.prototype.containerRef; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/loader-bar/loader-bar.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var LoaderBarComponent = /** @class */ (function () { - function LoaderBarComponent(actions, router, cdRef) { - this.actions = actions; - this.router = router; - this.cdRef = cdRef; - this.containerClass = 'abp-loader-bar'; - this.color = '#77b6ff'; - this.isLoading = false; - this.progressLevel = 0; - this.intervalPeriod = 350; - this.stopDelay = 820; - this.filter = (/** - * @param {?} action - * @return {?} - */ - function (action) { return action.payload.url.indexOf('openid-configuration') < 0; }); - } - Object.defineProperty(LoaderBarComponent.prototype, "boxShadow", { - get: /** - * @return {?} - */ - function () { - return "0 0 10px rgba(" + this.color + ", 0.5)"; - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - LoaderBarComponent.prototype.ngOnInit = /** - * @return {?} - */ - function () { - var _this = this; - this.actions - .pipe(ofActionSuccessful(StartLoader, StopLoader), filter(this.filter), takeUntilDestroy$1(this)) - .subscribe((/** - * @param {?} action - * @return {?} - */ - function (action) { - if (action instanceof StartLoader) - _this.startLoading(); - else - _this.stopLoading(); - })); - this.router.events - .pipe(filter((/** - * @param {?} event - * @return {?} - */ - function (event) { - return event instanceof NavigationStart || event instanceof NavigationEnd || event instanceof NavigationError; - })), takeUntilDestroy$1(this)) - .subscribe((/** - * @param {?} event - * @return {?} - */ - function (event) { - if (event instanceof NavigationStart) - _this.startLoading(); - else - _this.stopLoading(); - })); - }; - /** - * @return {?} - */ - LoaderBarComponent.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { - this.interval.unsubscribe(); - }; - /** - * @return {?} - */ - LoaderBarComponent.prototype.startLoading = /** - * @return {?} - */ - function () { - var _this = this; - if (this.isLoading || this.progressLevel !== 0) - return; - this.isLoading = true; - this.interval = interval(this.intervalPeriod).subscribe((/** - * @return {?} - */ - function () { - if (_this.progressLevel < 75) { - _this.progressLevel += Math.random() * 10; - } - else if (_this.progressLevel < 90) { - _this.progressLevel += 0.4; - } - else if (_this.progressLevel < 100) { - _this.progressLevel += 0.1; - } - else { - _this.interval.unsubscribe(); - } - _this.cdRef.detectChanges(); - })); - }; - /** - * @return {?} - */ - LoaderBarComponent.prototype.stopLoading = /** - * @return {?} - */ - function () { - var _this = this; - this.interval.unsubscribe(); - this.progressLevel = 100; - this.isLoading = false; - if (this.timer && !this.timer.closed) - return; - this.timer = timer(this.stopDelay).subscribe((/** - * @return {?} - */ - function () { - _this.progressLevel = 0; - _this.cdRef.detectChanges(); - })); - }; - LoaderBarComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-loader-bar', - template: "\n
    \n
    \n \n ", - styles: [".abp-loader-bar{left:0;opacity:0;position:fixed;top:0;-webkit-transition:opacity .4s linear .4s;transition:opacity .4s linear .4s;z-index:99999}.abp-loader-bar.is-loading{opacity:1;-webkit-transition:none;transition:none}.abp-loader-bar .abp-progress{height:3px;left:0;position:fixed;top:0;-webkit-transition:width .4s;transition:width .4s}"] - }] } - ]; - /** @nocollapse */ - LoaderBarComponent.ctorParameters = function () { return [ - { type: Actions }, - { type: Router }, - { type: ChangeDetectorRef } - ]; }; - LoaderBarComponent.propDecorators = { - containerClass: [{ type: Input }], - color: [{ type: Input }], - isLoading: [{ type: Input }], - filter: [{ type: Input }] - }; - return LoaderBarComponent; -}()); -if (false) { - /** @type {?} */ - LoaderBarComponent.prototype.containerClass; - /** @type {?} */ - LoaderBarComponent.prototype.color; - /** @type {?} */ - LoaderBarComponent.prototype.isLoading; - /** @type {?} */ - LoaderBarComponent.prototype.progressLevel; - /** @type {?} */ - LoaderBarComponent.prototype.interval; - /** @type {?} */ - LoaderBarComponent.prototype.timer; - /** @type {?} */ - LoaderBarComponent.prototype.intervalPeriod; - /** @type {?} */ - LoaderBarComponent.prototype.stopDelay; - /** @type {?} */ - LoaderBarComponent.prototype.filter; - /** - * @type {?} - * @private - */ - LoaderBarComponent.prototype.actions; - /** - * @type {?} - * @private - */ - LoaderBarComponent.prototype.router; - /** - * @type {?} - * @private - */ - LoaderBarComponent.prototype.cdRef; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/fade.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @type {?} */ -var fadeIn = animation([style({ opacity: '0' }), animate('{{ time}} {{ easing }}', style({ opacity: '1' }))], { - params: { time: '350ms', easing: 'ease' }, -}); -/** @type {?} */ -var fadeOut = animation([style({ opacity: '1' }), animate('{{ time}} {{ easing }}', style({ opacity: '0' }))], { params: { time: '350ms', easing: 'ease' } }); -/** @type {?} */ -var fadeInDown = animation([ - style({ opacity: '0', transform: '{{ transform }} translateY(-20px)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateY(0)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -var fadeInUp = animation([ - style({ opacity: '0', transform: '{{ transform }} translateY(20px)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateY(0)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -var fadeInLeft = animation([ - style({ opacity: '0', transform: '{{ transform }} translateX(20px)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateX(0)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -var fadeInRight = animation([ - style({ opacity: '0', transform: '{{ transform }} translateX(-20px)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateX(0)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -var fadeOutDown = animation([ - style({ opacity: '1', transform: '{{ transform }} translateY(0)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateY(20px)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -var fadeOutUp = animation([ - style({ opacity: '1', transform: '{{ transform }} translateY(0)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateY(-20px)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -var fadeOutLeft = animation([ - style({ opacity: '1', transform: '{{ transform }} translateX(0)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateX(20px)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); -/** @type {?} */ -var fadeOutRight = animation([ - style({ opacity: '1', transform: '{{ transform }} translateX(0)' }), - animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateX(-20px)' })), -], { params: { time: '350ms', easing: 'ease', transform: '' } }); - -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/modal.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @type {?} */ -var fadeAnimation = trigger('fade', [ - transition(':enter', useAnimation(fadeIn)), - transition(':leave', useAnimation(fadeOut)), -]); -/** @type {?} */ -var dialogAnimation = trigger('dialog', [ - transition(':enter', useAnimation(fadeInDown)), - transition(':leave', useAnimation(fadeOut)), -]); - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/modal/modal.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ModalComponent = /** @class */ (function () { - function ModalComponent(renderer, confirmationService) { - this.renderer = renderer; - this.confirmationService = confirmationService; - this.centered = false; - this.modalClass = ''; - this.size = 'lg'; - this.visibleChange = new EventEmitter(); - this.init = new EventEmitter(); - this.appear = new EventEmitter(); - this.disappear = new EventEmitter(); - this._visible = false; - this._busy = false; - this.isModalOpen = false; - this.isConfirmationOpen = false; - this.destroy$ = new Subject(); - } - Object.defineProperty(ModalComponent.prototype, "visible", { - get: /** - * @return {?} - */ - function () { - return this._visible; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - var _this = this; - if (typeof value !== 'boolean') - return; - this.isModalOpen = value; - this._visible = value; - this.visibleChange.emit(value); - if (value) { - setTimeout((/** - * @return {?} - */ - function () { return _this.listen(); }), 0); - this.renderer.addClass(document.body, 'modal-open'); - this.appear.emit(); - } - else { - this.renderer.removeClass(document.body, 'modal-open'); - this.disappear.emit(); - this.destroy$.next(); - } - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ModalComponent.prototype, "busy", { - get: /** - * @return {?} - */ - function () { - return this._busy; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - if (this.abpSubmit && this.abpSubmit instanceof ButtonComponent) { - this.abpSubmit.loading = value; - } - this._busy = value; - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - ModalComponent.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { - this.destroy$.next(); - }; - /** - * @return {?} - */ - ModalComponent.prototype.close = /** - * @return {?} - */ - function () { - var _this = this; - if (this.busy) - return; - /** @type {?} */ - var node; - if (!this.modalContent) { - node = (/** @type {?} */ (document.getElementById('modal-container'))); - } - /** @type {?} */ - var nodes = getFlatNodes(((/** @type {?} */ ((node || this.modalContent.nativeElement).querySelector('#abp-modal-body')))).childNodes); - if (hasNgDirty(nodes)) { - if (this.isConfirmationOpen) - return; - this.isConfirmationOpen = true; - this.confirmationService - .warn('AbpAccount::AreYouSureYouWantToCancelEditingWarningMessage', 'AbpAccount::AreYouSure') - .subscribe((/** - * @param {?} status - * @return {?} - */ - function (status) { - _this.isConfirmationOpen = false; - if (status === "confirm" /* confirm */) { - _this.visible = false; - } - })); - } - else { - this.visible = false; - } - }; - /** - * @return {?} - */ - ModalComponent.prototype.listen = /** - * @return {?} - */ - function () { - var _this = this; - fromEvent(document, 'keyup') - .pipe(takeUntil(this.destroy$), debounceTime(150), filter((/** - * @param {?} key - * @return {?} - */ - function (key) { return key && key.key === 'Escape'; }))) - .subscribe((/** - * @return {?} - */ - function () { - _this.close(); - })); - setTimeout((/** - * @return {?} - */ - function () { - if (!_this.abpClose) - return; - fromEvent(_this.abpClose.nativeElement, 'click') - .pipe(takeUntil(_this.destroy$), filter((/** - * @return {?} - */ - function () { return !!_this.modalContent; }))) - .subscribe((/** - * @return {?} - */ - function () { return _this.close(); })); - }), 0); - this.init.emit(); - }; - ModalComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-modal', - template: "\r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \u200B\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n\r\n", - animations: [fadeAnimation] - }] } - ]; - /** @nocollapse */ - ModalComponent.ctorParameters = function () { return [ - { type: Renderer2 }, - { type: ConfirmationService } - ]; }; - ModalComponent.propDecorators = { - visible: [{ type: Input }], - busy: [{ type: Input }], - centered: [{ type: Input }], - modalClass: [{ type: Input }], - size: [{ type: Input }], - abpSubmit: [{ type: ContentChild, args: [ButtonComponent, { static: false, read: ButtonComponent },] }], - abpHeader: [{ type: ContentChild, args: ['abpHeader', { static: false },] }], - abpBody: [{ type: ContentChild, args: ['abpBody', { static: false },] }], - abpFooter: [{ type: ContentChild, args: ['abpFooter', { static: false },] }], - abpClose: [{ type: ContentChild, args: ['abpClose', { static: false, read: ElementRef },] }], - modalContent: [{ type: ViewChild, args: ['abpModalContent', { static: false },] }], - abpButtons: [{ type: ViewChildren, args: ['abp-button',] }], - visibleChange: [{ type: Output }], - init: [{ type: Output }], - appear: [{ type: Output }], - disappear: [{ type: Output }] - }; - return ModalComponent; -}()); -if (false) { - /** @type {?} */ - ModalComponent.prototype.centered; - /** @type {?} */ - ModalComponent.prototype.modalClass; - /** @type {?} */ - ModalComponent.prototype.size; - /** @type {?} */ - ModalComponent.prototype.abpSubmit; - /** @type {?} */ - ModalComponent.prototype.abpHeader; - /** @type {?} */ - ModalComponent.prototype.abpBody; - /** @type {?} */ - ModalComponent.prototype.abpFooter; - /** @type {?} */ - ModalComponent.prototype.abpClose; - /** @type {?} */ - ModalComponent.prototype.modalContent; - /** @type {?} */ - ModalComponent.prototype.abpButtons; - /** @type {?} */ - ModalComponent.prototype.visibleChange; - /** @type {?} */ - ModalComponent.prototype.init; - /** @type {?} */ - ModalComponent.prototype.appear; - /** @type {?} */ - ModalComponent.prototype.disappear; - /** @type {?} */ - ModalComponent.prototype._visible; - /** @type {?} */ - ModalComponent.prototype._busy; - /** @type {?} */ - ModalComponent.prototype.isModalOpen; - /** @type {?} */ - ModalComponent.prototype.isConfirmationOpen; - /** @type {?} */ - ModalComponent.prototype.destroy$; - /** - * @type {?} - * @private - */ - ModalComponent.prototype.renderer; - /** - * @type {?} - * @private - */ - ModalComponent.prototype.confirmationService; -} -/** - * @param {?} nodes - * @return {?} - */ -function getFlatNodes(nodes) { - return Array.from(nodes).reduce((/** - * @param {?} acc - * @param {?} val - * @return {?} - */ - function (acc, val) { return __spread(acc, (val.childNodes && val.childNodes.length ? getFlatNodes(val.childNodes) : [val])); }), []); -} -/** - * @param {?} nodes - * @return {?} - */ -function hasNgDirty(nodes) { - return nodes.findIndex((/** - * @param {?} node - * @return {?} - */ - function (node) { return (node.className || '').indexOf('ng-dirty') > -1; })) > -1; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/sort-order-icon/sort-order-icon.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var SortOrderIconComponent = /** @class */ (function () { - function SortOrderIconComponent() { - this.selectedKeyChange = new EventEmitter(); - this.selectedSortKeyChange = new EventEmitter(); - this.orderChange = new EventEmitter(); - } - Object.defineProperty(SortOrderIconComponent.prototype, "selectedKey", { - get: /** - * @return {?} - */ - function () { - return this._selectedSortKey; - }, - /** - * @deprecated use selectedSortKey instead. - */ - set: /** - * @deprecated use selectedSortKey instead. - * @param {?} value - * @return {?} - */ - function (value) { - this.selectedSortKey = value; - this.selectedKeyChange.emit(value); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(SortOrderIconComponent.prototype, "selectedSortKey", { - get: /** - * @return {?} - */ - function () { - return this._selectedSortKey; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - this._selectedSortKey = value; - this.selectedSortKeyChange.emit(value); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(SortOrderIconComponent.prototype, "key", { - /** - * @deprecated use sortKey instead. - */ - get: /** - * @deprecated use sortKey instead. - * @return {?} - */ - function () { - return this.sortKey; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - this.sortKey = value; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(SortOrderIconComponent.prototype, "order", { - get: /** - * @return {?} - */ - function () { - return this._order; - }, - set: /** - * @param {?} value - * @return {?} - */ - function (value) { - this._order = value; - this.orderChange.emit(value); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(SortOrderIconComponent.prototype, "icon", { - get: /** - * @return {?} - */ - function () { - if (!this.selectedSortKey) - return 'fa-sort'; - if (this.selectedSortKey === this.sortKey) - return "fa-sort-" + this.order; - else - return ''; - }, - enumerable: true, - configurable: true - }); - /** - * @param {?} key - * @return {?} - */ - SortOrderIconComponent.prototype.sort = /** - * @param {?} key - * @return {?} - */ - function (key) { - this.selectedKey = key; // TODO: To be removed - this.selectedSortKey = key; - switch (this.order) { - case '': - this.order = 'asc'; - this.orderChange.emit('asc'); - break; - case 'asc': - this.order = 'desc'; - this.orderChange.emit('desc'); - break; - case 'desc': - this.order = ''; - this.selectedKey = ''; // TODO: To be removed - this.orderChange.emit(''); - break; - } - }; - SortOrderIconComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-sort-order-icon', - template: "\r\n \r\n\r\n" - }] } - ]; - SortOrderIconComponent.propDecorators = { - selectedKey: [{ type: Input }], - selectedSortKey: [{ type: Input }], - selectedKeyChange: [{ type: Output }], - selectedSortKeyChange: [{ type: Output }], - key: [{ type: Input }], - sortKey: [{ type: Input }], - order: [{ type: Input }], - orderChange: [{ type: Output }], - iconClass: [{ type: Input }] - }; - return SortOrderIconComponent; -}()); -if (false) { - /** - * @type {?} - * @private - */ - SortOrderIconComponent.prototype._order; - /** - * @type {?} - * @private - */ - SortOrderIconComponent.prototype._selectedSortKey; - /** @type {?} */ - SortOrderIconComponent.prototype.selectedKeyChange; - /** @type {?} */ - SortOrderIconComponent.prototype.selectedSortKeyChange; - /** @type {?} */ - SortOrderIconComponent.prototype.sortKey; - /** @type {?} */ - SortOrderIconComponent.prototype.orderChange; - /** @type {?} */ - SortOrderIconComponent.prototype.iconClass; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/table-empty-message/table-empty-message.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var TableEmptyMessageComponent = /** @class */ (function () { - function TableEmptyMessageComponent() { - this.colspan = 2; - this.localizationResource = 'AbpAccount'; - this.localizationProp = 'NoDataAvailableInDatatable'; - } - Object.defineProperty(TableEmptyMessageComponent.prototype, "emptyMessage", { - get: /** - * @return {?} - */ - function () { - return this.message || this.localizationResource + "::" + this.localizationProp; - }, - enumerable: true, - configurable: true - }); - TableEmptyMessageComponent.decorators = [ - { type: Component, args: [{ - // tslint:disable-next-line: component-selector - selector: '[abp-table-empty-message]', - template: "\n \n {{ emptyMessage | abpLocalization }}\n \n " - }] } - ]; - TableEmptyMessageComponent.propDecorators = { - colspan: [{ type: Input }], - message: [{ type: Input }], - localizationResource: [{ type: Input }], - localizationProp: [{ type: Input }] - }; - return TableEmptyMessageComponent; -}()); -if (false) { - /** @type {?} */ - TableEmptyMessageComponent.prototype.colspan; - /** @type {?} */ - TableEmptyMessageComponent.prototype.message; - /** @type {?} */ - TableEmptyMessageComponent.prototype.localizationResource; - /** @type {?} */ - TableEmptyMessageComponent.prototype.localizationProp; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/toast/toast.component.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ToastComponent = /** @class */ (function () { - function ToastComponent() { - } - ToastComponent.decorators = [ - { type: Component, args: [{ - selector: 'abp-toast', - // tslint:disable-next-line: component-max-inline-declarations - template: "\n \n \n \n
    \n
    {{ message.summary | abpLocalization: message.titleLocalizationParams }}
    \n
    {{ message.detail | abpLocalization: message.messageLocalizationParams }}
    \n
    \n
    \n
    \n " - }] } - ]; - return ToastComponent; -}()); - -/** - * @fileoverview added by tsickle - * Generated from: lib/constants/styles.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var styles = "\n.is-invalid .form-control {\n border-color: #dc3545;\n border-style: solid !important;\n}\n\n.is-invalid .invalid-feedback,\n.is-invalid + * .invalid-feedback {\n display: block;\n}\n\n.data-tables-filter {\n text-align: right;\n}\n\n.pointer {\n cursor: pointer;\n}\n\n.navbar .dropdown-submenu a::after {\n transform: rotate(-90deg);\n position: absolute;\n right: 16px;\n top: 18px;\n}\n\n.navbar .dropdown-menu {\n min-width: 215px;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar {\n height: 5px !important;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar-track {\n background: #ddd;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar-thumb {\n background: #8a8686;\n}\n\n.modal.show {\n display: block !important;\n}\n\n.modal-backdrop {\n position: fixed;\n top: 0;\n left: 0;\n width: calc(100% - 7px);\n height: 100%;\n background-color: rgba(0, 0, 0, 0.6);\n z-index: 1040;\n}\n\n.modal::-webkit-scrollbar {\n width: 7px;\n}\n\n.modal::-webkit-scrollbar-track {\n background: #ddd;\n}\n\n.modal::-webkit-scrollbar-thumb {\n background: #8a8686;\n}\n\n.modal-dialog {\n z-index: 1050;\n}\n\n.abp-ellipsis-inline {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.abp-ellipsis {\n overflow: hidden !important;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.abp-toast .ui-toast-message {\n box-sizing: border-box;\n border: 2px solid transparent;\n border-radius: 4px;\n color: #1b1d29;\n}\n\n.abp-toast .ui-toast-message-content {\n padding: 10px;\n}\n\n.abp-toast .ui-toast-message-content .ui-toast-icon {\n top: 0;\n left: 0;\n padding: 10px;\n}\n\n.abp-toast .ui-toast-summary {\n margin: 0;\n font-weight: 700;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-error {\n border: 2px solid #ba1659;\n background-color: #f4f4f7;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-error .ui-toast-message-content .ui-toast-icon {\n color: #ba1659;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn {\n border: 2px solid #ed5d98;\n background-color: #f4f4f7;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn .ui-toast-message-content .ui-toast-icon {\n color: #ed5d98;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-success {\n border: 2px solid #1c9174;\n background-color: #f4f4f7;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-success .ui-toast-message-content .ui-toast-icon {\n color: #1c9174;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-info {\n border: 2px solid #fccb31;\n background-color: #f4f4f7;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-info .ui-toast-message-content .ui-toast-icon {\n color: #fccb31;\n}\n\n.abp-confirm .ui-toast-message {\n box-sizing: border-box;\n padding: 0px;\n border:0 none;\n border-radius: 4px;\n background-color: transparent !important;\n font-family: \"Poppins\", sans-serif;\n text-align: center;\n}\n\n.abp-confirm .ui-toast-message-content {\n padding: 0px;\n}\n\n.abp-confirm .abp-confirm-icon {\n margin: 32px 50px 5px !important;\n color: #f8bb86 !important;\n font-size: 52px !important;\n}\n\n.abp-confirm .ui-toast-close-icon {\n display: none !important;\n}\n\n.abp-confirm .abp-confirm-summary {\n display: block !important;\n margin-bottom: 13px !important;\n padding: 13px 16px 0px !important;\n font-weight: 600 !important;\n font-size: 18px !important;\n}\n\n.abp-confirm .abp-confirm-body {\n display: inline-block !important;\n padding: 0px 10px !important;\n}\n\n.abp-confirm .abp-confirm-footer {\n display: block;\n margin-top: 30px;\n padding: 16px;\n text-align: right;\n}\n\n.abp-confirm .abp-confirm-footer .btn {\n margin-left: 10px !important;\n}\n\n.ui-widget-overlay {\n z-index: 1000;\n}\n\n.color-white {\n color: #FFF !important;\n}\n\n.custom-checkbox > label {\n cursor: pointer;\n}\n\n/* -1; }), false)) { - _this.show404Page(); - } - else if (res instanceof RouterDataResolved && _this.componentRef) { - _this.componentRef.destroy(); - _this.componentRef = null; - } - })); - } - /** - * @private - * @return {?} - */ - ErrorHandler.prototype.show401Page = /** - * @private - * @return {?} - */ - function () { - this.createErrorComponent({ - title: { - key: 'AbpAccount::401Message', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.title, - }, - status: 401, - }); - }; - /** - * @private - * @return {?} - */ - ErrorHandler.prototype.show404Page = /** - * @private - * @return {?} - */ - function () { - this.createErrorComponent({ - title: { - key: 'AbpAccount::404Message', - defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.title, - }, - status: 404, - }); - }; - /** - * @private - * @param {?=} message - * @param {?=} title - * @param {?=} body - * @return {?} - */ - ErrorHandler.prototype.showError = /** - * @private - * @param {?=} message - * @param {?=} title - * @param {?=} body - * @return {?} - */ - function (message, title, body) { - if (body) { - if (body.details) { - message = body.details; - title = body.message; - } - else { - message = body.message || DEFAULT_ERROR_MESSAGES.defaultError.title; - } - } - return this.confirmationService.error(message, title, { - hideCancelBtn: true, - yesText: 'AbpAccount::Close', - }); - }; - /** - * @private - * @return {?} - */ - ErrorHandler.prototype.navigateToLogin = /** - * @private - * @return {?} - */ - function () { - this.store.dispatch(new Navigate(['/account/login'], null, { state: { redirectUrl: this.store.selectSnapshot(RouterState.url) } })); - }; - /** - * @param {?} instance - * @return {?} - */ - ErrorHandler.prototype.createErrorComponent = /** - * @param {?} instance - * @return {?} - */ - function (instance) { - var _this = this; - /** @type {?} */ - var renderer = this.rendererFactory.createRenderer(null, null); - /** @type {?} */ - var host = renderer.selectRootElement(document.body, true); - this.componentRef = this.cfRes.resolveComponentFactory(HttpErrorWrapperComponent).create(this.injector); - for (var key in this.componentRef.instance) { - if (this.componentRef.instance.hasOwnProperty(key)) { - this.componentRef.instance[key] = instance[key]; - } - } - this.componentRef.instance.hideCloseIcon = this.httpErrorConfig.errorScreen.hideCloseIcon; - if (this.canCreateCustomError((/** @type {?} */ (instance.status)))) { - this.componentRef.instance.cfRes = this.cfRes; - this.componentRef.instance.appRef = this.appRef; - this.componentRef.instance.injector = this.injector; - this.componentRef.instance.customComponent = this.httpErrorConfig.errorScreen.component; - } - this.appRef.attachView(this.componentRef.hostView); - renderer.appendChild(host, ((/** @type {?} */ (this.componentRef.hostView))).rootNodes[0]); - /** @type {?} */ - var destroy$ = new Subject(); - this.componentRef.instance.destroy$ = destroy$; - destroy$.subscribe((/** - * @return {?} - */ - function () { - _this.componentRef.destroy(); - _this.componentRef = null; - })); - }; - /** - * @param {?} status - * @return {?} - */ - ErrorHandler.prototype.canCreateCustomError = /** - * @param {?} status - * @return {?} - */ - function (status) { - var _this = this; - return snq((/** - * @return {?} - */ - function () { - return _this.httpErrorConfig.errorScreen.component && - _this.httpErrorConfig.errorScreen.forWhichErrors.indexOf(status) > -1; - })); - }; - ErrorHandler.decorators = [ - { type: Injectable, args: [{ providedIn: 'root' },] } - ]; - /** @nocollapse */ - ErrorHandler.ctorParameters = function () { return [ - { type: Actions }, - { type: Store }, - { type: ConfirmationService }, - { type: ApplicationRef }, - { type: ComponentFactoryResolver }, - { type: RendererFactory2 }, - { type: Injector }, - { type: undefined, decorators: [{ type: Inject, args: ['HTTP_ERROR_CONFIG',] }] } - ]; }; - /** @nocollapse */ ErrorHandler.ngInjectableDef = ɵɵdefineInjectable({ factory: function ErrorHandler_Factory() { return new ErrorHandler(ɵɵinject(Actions), ɵɵinject(Store), ɵɵinject(ConfirmationService), ɵɵinject(ApplicationRef), ɵɵinject(ComponentFactoryResolver), ɵɵinject(RendererFactory2), ɵɵinject(INJECTOR), ɵɵinject("HTTP_ERROR_CONFIG")); }, token: ErrorHandler, providedIn: "root" }); - return ErrorHandler; -}()); -if (false) { - /** @type {?} */ - ErrorHandler.prototype.componentRef; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.actions; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.store; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.confirmationService; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.appRef; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.cfRes; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.rendererFactory; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.injector; - /** - * @type {?} - * @private - */ - ErrorHandler.prototype.httpErrorConfig; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/tokens/http-error.token.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?=} config - * @return {?} - */ -function httpErrorConfigFactory(config) { - if (config === void 0) { config = (/** @type {?} */ ({})); } - if (config.errorScreen && config.errorScreen.component && !config.errorScreen.forWhichErrors) { - config.errorScreen.forWhichErrors = [401, 403, 404, 500]; - } - return (/** @type {?} */ (__assign({ errorScreen: {} }, config))); -} -/** @type {?} */ -var HTTP_ERROR_CONFIG = new InjectionToken('HTTP_ERROR_CONFIG'); - -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/date-parser-formatter.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?} value - * @return {?} - */ -function padNumber(value) { - if (isNumber(value)) { - return ("0" + value).slice(-2); - } - else { - return ''; - } -} -/** - * @param {?} value - * @return {?} - */ -function isNumber(value) { - return !isNaN(toInteger(value)); -} -/** - * @param {?} value - * @return {?} - */ -function toInteger(value) { - return parseInt("" + value, 10); -} -var DateParserFormatter = /** @class */ (function (_super) { - __extends(DateParserFormatter, _super); - function DateParserFormatter(datePipe) { - var _this = _super.call(this) || this; - _this.datePipe = datePipe; - return _this; - } - /** - * @param {?} value - * @return {?} - */ - DateParserFormatter.prototype.parse = /** - * @param {?} value - * @return {?} - */ - function (value) { - if (value) { - /** @type {?} */ - var dateParts = value.trim().split('-'); - if (dateParts.length === 1 && isNumber(dateParts[0])) { - return { year: toInteger(dateParts[0]), month: null, day: null }; - } - else if (dateParts.length === 2 && isNumber(dateParts[0]) && isNumber(dateParts[1])) { - return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: null }; - } - else if (dateParts.length === 3 && isNumber(dateParts[0]) && isNumber(dateParts[1]) && isNumber(dateParts[2])) { - return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: toInteger(dateParts[2]) }; - } - } - return null; - }; - /** - * @param {?} date - * @return {?} - */ - DateParserFormatter.prototype.format = /** - * @param {?} date - * @return {?} - */ - function (date) { - if (date && this.datePipe) { - return this.datePipe.transform(new Date(date.year, date.month, date.day), 'shortDate'); - } - else { - return date - ? date.year + "-" + (isNumber(date.month) ? padNumber(date.month) : '') + "-" + (isNumber(date.day) ? padNumber(date.day) : '') - : ''; - } - }; - DateParserFormatter.decorators = [ - { type: Injectable } - ]; - /** @nocollapse */ - DateParserFormatter.ctorParameters = function () { return [ - { type: DatePipe, decorators: [{ type: Optional }] } - ]; }; - return DateParserFormatter; -}(NgbDateParserFormatter)); -if (false) { - /** - * @type {?} - * @private - */ - DateParserFormatter.prototype.datePipe; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/theme-shared.module.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @param {?} injector - * @return {?} - */ -function appendScript(injector) { - /** @type {?} */ - var fn = (/** - * @return {?} - */ - function () { - import('chart.js').then((/** - * @return {?} - */ - function () { return chartJsLoaded$.next(true); })); - /** @type {?} */ - var lazyLoadService = injector.get(LazyLoadService); - return lazyLoadService.load(null, 'style', styles, 'head', 'beforeend').toPromise(); - }); - return fn; -} -var ThemeSharedModule = /** @class */ (function () { - function ThemeSharedModule(errorHandler) { - this.errorHandler = errorHandler; - } - /** - * @param {?=} options - * @return {?} - */ - ThemeSharedModule.forRoot = /** - * @param {?=} options - * @return {?} - */ - function (options) { - if (options === void 0) { options = (/** @type {?} */ ({})); } - return { - ngModule: ThemeSharedModule, - providers: [ - { - provide: APP_INITIALIZER, - multi: true, - deps: [Injector], - useFactory: appendScript, - }, - { provide: MessageService, useClass: MessageService }, - { provide: HTTP_ERROR_CONFIG, useValue: options.httpErrorConfig }, - { - provide: 'HTTP_ERROR_CONFIG', - useFactory: httpErrorConfigFactory, - deps: [HTTP_ERROR_CONFIG], - }, - { provide: NgbDateParserFormatter, useClass: DateParserFormatter }, - ], - }; - }; - ThemeSharedModule.decorators = [ - { type: NgModule, args: [{ - imports: [CoreModule, ToastModule, NgxValidateCoreModule], - declarations: [ - BreadcrumbComponent, - ButtonComponent, - ChartComponent, - ConfirmationComponent, - HttpErrorWrapperComponent, - LoaderBarComponent, - ModalComponent, - TableEmptyMessageComponent, - ToastComponent, - SortOrderIconComponent, - TableSortDirective, - ], - exports: [ - BreadcrumbComponent, - ButtonComponent, - ChartComponent, - ConfirmationComponent, - LoaderBarComponent, - ModalComponent, - TableEmptyMessageComponent, - ToastComponent, - SortOrderIconComponent, - TableSortDirective, - ], - providers: [DatePipe], - entryComponents: [HttpErrorWrapperComponent], - },] } - ]; - /** @nocollapse */ - ThemeSharedModule.ctorParameters = function () { return [ - { type: ErrorHandler } - ]; }; - return ThemeSharedModule; -}()); -if (false) { - /** - * @type {?} - * @private - */ - ThemeSharedModule.prototype.errorHandler; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/bounce.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @type {?} */ -var bounceIn = animation([ - style({ opacity: '0', display: '{{ display }}' }), - animate('{{ time}} {{ easing }}', keyframes([ - style({ opacity: '0', transform: '{{ transform }} scale(0.0)', offset: 0 }), - style({ opacity: '0', transform: '{{ transform }} scale(0.8)', offset: 0.5 }), - style({ opacity: '1', transform: '{{ transform }} scale(1.0)', offset: 1 }) - ])) -], { - params: { - time: '350ms', - easing: 'cubic-bezier(.7,.31,.72,1.47)', - display: 'block', - transform: 'translate(-50%, -50%)' - } -}); - -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/collapse.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @type {?} */ -var collapseY = animation([ - style({ height: '*', overflow: 'hidden', 'box-sizing': 'border-box' }), - animate('{{ time }} {{ easing }}', style({ height: '0', padding: '0px' })), -], { params: { time: '350ms', easing: 'ease' } }); -/** @type {?} */ -var collapseYWithMargin = animation([style({ 'margin-top': '0' }), animate('{{ time }} {{ easing }}', style({ 'margin-top': '-100%' }))], { - params: { time: '500ms', easing: 'ease' }, -}); -/** @type {?} */ -var collapseX = animation([ - style({ width: '*', overflow: 'hidden', 'box-sizing': 'border-box' }), - animate('{{ time }} {{ easing }}', style({ width: '0', padding: '0px' })), -], { params: { time: '350ms', easing: 'ease' } }); -/** @type {?} */ -var expandY = animation([ - style({ height: '0', overflow: 'hidden', 'box-sizing': 'border-box' }), - animate('{{ time }} {{ easing }}', style({ height: '*', padding: '*' })), -], { params: { time: '350ms', easing: 'ease' } }); -/** @type {?} */ -var expandYWithMargin = animation([style({ 'margin-top': '-100%' }), animate('{{ time }} {{ easing }}', style({ 'margin-top': '0' }))], { - params: { time: '500ms', easing: 'ease' }, -}); -/** @type {?} */ -var expandX = animation([ - style({ width: '0', overflow: 'hidden', 'box-sizing': 'border-box' }), - animate('{{ time }} {{ easing }}', style({ width: '*', padding: '*' })), -], { params: { time: '350ms', easing: 'ease' } }); -/** @type {?} */ -var collapse = trigger('collapse', [ - state('collapsed', style({ height: '0', overflow: 'hidden' })), - state('expanded', style({ height: '*', overflow: 'hidden' })), - transition('expanded => collapsed', useAnimation(collapseY)), - transition('collapsed => expanded', useAnimation(expandY)), -]); -/** @type {?} */ -var collapseWithMargin = trigger('collapseWithMargin', [ - state('collapsed', style({ 'margin-top': '-100%' })), - state('expanded', style({ 'margin-top': '0' })), - transition('expanded => collapsed', useAnimation(collapseYWithMargin), { - params: { time: '400ms', easing: 'linear' }, - }), - transition('collapsed => expanded', useAnimation(expandYWithMargin)), -]); -/** @type {?} */ -var collapseLinearWithMargin = trigger('collapseLinearWithMargin', [ - state('collapsed', style({ 'margin-top': '-100%' })), - state('expanded', style({ 'margin-top': '0' })), - transition('expanded => collapsed', useAnimation(collapseYWithMargin, { params: { time: '200ms', easing: 'linear' } })), - transition('collapsed => expanded', useAnimation(expandYWithMargin, { params: { time: '250ms', easing: 'linear' } })), -]); - -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/slide.animations.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** @type {?} */ -var slideFromBottom = trigger('slideFromBottom', [ - transition('* <=> *', [ - style({ 'margin-top': '20px', opacity: '0' }), - animate('0.2s ease-out', style({ opacity: '1', 'margin-top': '0px' })), - ]), -]); - -/** - * @fileoverview added by tsickle - * Generated from: lib/animations/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/components/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/directives/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/common.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -function RootParams() { } -if (false) { - /** @type {?} */ - RootParams.prototype.httpErrorConfig; -} -/** - * @record - */ -function HttpErrorConfig() { } -if (false) { - /** @type {?|undefined} */ - HttpErrorConfig.prototype.errorScreen; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/confirmation.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var Confirmation; -(function (Confirmation) { - /** - * @record - */ - function Options() { } - Confirmation.Options = Options; - if (false) { - /** @type {?|undefined} */ - Options.prototype.hideCancelBtn; - /** @type {?|undefined} */ - Options.prototype.hideYesBtn; - /** @type {?|undefined} */ - Options.prototype.cancelText; - /** @type {?|undefined} */ - Options.prototype.yesText; - /** - * @deprecated to be deleted in v2 - * @type {?|undefined} - */ - Options.prototype.cancelCopy; - /** - * @deprecated to be deleted in v2 - * @type {?|undefined} - */ - Options.prototype.yesCopy; - } -})(Confirmation || (Confirmation = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/setting-management.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -/** - * @record - */ -function SettingTab() { } -if (false) { - /** @type {?} */ - SettingTab.prototype.component; - /** @type {?} */ - SettingTab.prototype.name; - /** @type {?} */ - SettingTab.prototype.order; - /** @type {?|undefined} */ - SettingTab.prototype.requiredPolicy; -} -/** @type {?} */ -var SETTING_TABS = (/** @type {?} */ ([])); -/** - * @param {?} tab - * @return {?} - */ -function addSettingTab(tab) { - if (!Array.isArray(tab)) { - tab = [tab]; - } - SETTING_TABS.push.apply(SETTING_TABS, __spread(tab)); -} -/** - * @return {?} - */ -function getSettingTabs() { - return SETTING_TABS; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/statistics.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var Statistics; -(function (Statistics) { - /** - * @record - */ - function Response() { } - Statistics.Response = Response; - if (false) { - /** @type {?} */ - Response.prototype.data; - } - /** - * @record - */ - function Data() { } - Statistics.Data = Data; - /** - * @record - */ - function Filter() { } - Statistics.Filter = Filter; - if (false) { - /** @type {?} */ - Filter.prototype.startDate; - /** @type {?} */ - Filter.prototype.endDate; - } -})(Statistics || (Statistics = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/toaster.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var Toaster; -(function (Toaster) { - /** - * @record - */ - function Options() { } - Toaster.Options = Options; - if (false) { - /** @type {?|undefined} */ - Options.prototype.id; - /** @type {?|undefined} */ - Options.prototype.closable; - /** @type {?|undefined} */ - Options.prototype.life; - /** @type {?|undefined} */ - Options.prototype.sticky; - /** @type {?|undefined} */ - Options.prototype.data; - /** @type {?|undefined} */ - Options.prototype.messageLocalizationParams; - /** @type {?|undefined} */ - Options.prototype.titleLocalizationParams; - } -})(Toaster || (Toaster = {})); - -/** - * @fileoverview added by tsickle - * Generated from: lib/models/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/toaster.service.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ -var ToasterService = /** @class */ (function (_super) { - __extends(ToasterService, _super); - function ToasterService(messageService) { - var _this = _super.call(this, messageService) || this; - _this.messageService = messageService; - return _this; - } - /** - * @param {?} messages - * @return {?} - */ - ToasterService.prototype.addAll = /** - * @param {?} messages - * @return {?} - */ - function (messages) { - var _this = this; - this.messageService.addAll(messages.map((/** - * @param {?} message - * @return {?} - */ - function (message) { return (__assign({ key: _this.key }, message)); }))); - }; - ToasterService.decorators = [ - { type: Injectable, args: [{ providedIn: 'root' },] } - ]; - /** @nocollapse */ - ToasterService.ctorParameters = function () { return [ - { type: MessageService } - ]; }; - /** @nocollapse */ ToasterService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ToasterService_Factory() { return new ToasterService(ɵɵinject(MessageService)); }, token: ToasterService, providedIn: "root" }); - return ToasterService; -}(AbstractToaster)); -if (false) { - /** - * @type {?} - * @protected - */ - ToasterService.prototype.messageService; -} - -/** - * @fileoverview added by tsickle - * Generated from: lib/services/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: lib/utils/index.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: public-api.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * Generated from: abp-ng.theme.shared.ts - * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc - */ - -export { BreadcrumbComponent, ButtonComponent, ChartComponent, ConfirmationComponent, ConfirmationService, DateParserFormatter, LoaderBarComponent, ModalComponent, SortOrderIconComponent, TableEmptyMessageComponent, TableSortDirective, ThemeSharedModule, ToastComponent, Toaster, ToasterService, addSettingTab, appendScript, bounceIn, chartJsLoaded$, collapse, collapseLinearWithMargin, collapseWithMargin, collapseX, collapseY, collapseYWithMargin, dialogAnimation, expandX, expandY, expandYWithMargin, fadeAnimation, fadeIn, fadeInDown, fadeInLeft, fadeInRight, fadeInUp, fadeOut, fadeOutDown, fadeOutLeft, fadeOutRight, fadeOutUp, getRandomBackgroundColor, getSettingTabs, slideFromBottom, BreadcrumbComponent as ɵa, ButtonComponent as ɵb, ChartComponent as ɵc, ConfirmationComponent as ɵd, ConfirmationService as ɵe, AbstractToaster as ɵf, HttpErrorWrapperComponent as ɵg, LoaderBarComponent as ɵh, ModalComponent as ɵi, fadeAnimation as ɵj, fadeIn as ɵk, fadeOut as ɵl, TableEmptyMessageComponent as ɵm, ToastComponent as ɵn, SortOrderIconComponent as ɵo, TableSortDirective as ɵp, ErrorHandler as ɵq, httpErrorConfigFactory as ɵs, HTTP_ERROR_CONFIG as ɵt, DateParserFormatter as ɵu }; -//# sourceMappingURL=abp-ng.theme.shared.js.map diff --git a/npm/ng-packs/dist/theme-shared/fesm5/abp-ng.theme.shared.js.map b/npm/ng-packs/dist/theme-shared/fesm5/abp-ng.theme.shared.js.map deleted file mode 100644 index 3617023a0fc..00000000000 --- a/npm/ng-packs/dist/theme-shared/fesm5/abp-ng.theme.shared.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"abp-ng.theme.shared.js","sources":["ng://@abp/ng.theme.shared/lib/components/breadcrumb/breadcrumb.component.ts","ng://@abp/ng.theme.shared/lib/components/button/button.component.ts","ng://@abp/ng.theme.shared/lib/utils/widget-utils.ts","ng://@abp/ng.theme.shared/lib/components/chart/chart.component.ts","ng://@abp/ng.theme.shared/lib/abstracts/toaster.ts","ng://@abp/ng.theme.shared/lib/services/confirmation.service.ts","ng://@abp/ng.theme.shared/lib/components/confirmation/confirmation.component.ts","ng://@abp/ng.theme.shared/lib/components/http-error-wrapper/http-error-wrapper.component.ts","ng://@abp/ng.theme.shared/lib/components/loader-bar/loader-bar.component.ts","ng://@abp/ng.theme.shared/lib/animations/fade.animations.ts","ng://@abp/ng.theme.shared/lib/animations/modal.animations.ts","ng://@abp/ng.theme.shared/lib/components/modal/modal.component.ts","ng://@abp/ng.theme.shared/lib/components/sort-order-icon/sort-order-icon.component.ts","ng://@abp/ng.theme.shared/lib/components/table-empty-message/table-empty-message.component.ts","ng://@abp/ng.theme.shared/lib/components/toast/toast.component.ts","ng://@abp/ng.theme.shared/lib/constants/styles.ts","ng://@abp/ng.theme.shared/lib/directives/table-sort.directive.ts","ng://@abp/ng.theme.shared/lib/handlers/error.handler.ts","ng://@abp/ng.theme.shared/lib/tokens/http-error.token.ts","ng://@abp/ng.theme.shared/lib/utils/date-parser-formatter.ts","ng://@abp/ng.theme.shared/lib/theme-shared.module.ts","ng://@abp/ng.theme.shared/lib/animations/bounce.animations.ts","ng://@abp/ng.theme.shared/lib/animations/collapse.animations.ts","ng://@abp/ng.theme.shared/lib/animations/slide.animations.ts","ng://@abp/ng.theme.shared/lib/models/common.ts","ng://@abp/ng.theme.shared/lib/models/confirmation.ts","ng://@abp/ng.theme.shared/lib/models/setting-management.ts","ng://@abp/ng.theme.shared/lib/models/statistics.ts","ng://@abp/ng.theme.shared/lib/models/toaster.ts","ng://@abp/ng.theme.shared/lib/services/toaster.service.ts"],"sourcesContent":["import { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngxs/store';\r\nimport { ConfigState, ABP } from '@abp/ng.core';\r\n\r\n@Component({\r\n selector: 'abp-breadcrumb',\r\n templateUrl: './breadcrumb.component.html',\r\n})\r\nexport class BreadcrumbComponent implements OnInit {\r\n show: boolean;\r\n\r\n segments: string[] = [];\r\n\r\n constructor(private router: Router, private store: Store) {}\r\n\r\n ngOnInit(): void {\r\n this.show = !!this.store.selectSnapshot(state => state.LeptonLayoutState);\r\n if (this.show) {\r\n let splittedUrl = this.router.url.split('/').filter(chunk => chunk);\r\n\r\n let currentUrl: ABP.FullRoute = this.store.selectSnapshot(ConfigState.getRoute(splittedUrl[0]));\r\n\r\n if (!currentUrl) {\r\n currentUrl = this.store.selectSnapshot(ConfigState.getRoute(null, null, this.router.url));\r\n splittedUrl = [this.router.url];\r\n if (!currentUrl) {\r\n this.show = false;\r\n return;\r\n }\r\n }\r\n\r\n this.segments.push(currentUrl.name);\r\n\r\n if (splittedUrl.length > 1) {\r\n const [, ...arr] = splittedUrl;\r\n\r\n let childRoute: ABP.FullRoute = currentUrl;\r\n for (let i = 0; i < arr.length; i++) {\r\n const element = arr[i];\r\n childRoute = childRoute.children.find(child => child.path === element);\r\n\r\n this.segments.push(childRoute.name);\r\n }\r\n }\r\n }\r\n }\r\n}\r\n","import {\r\n Component,\r\n EventEmitter,\r\n Input,\r\n Output,\r\n ViewChild,\r\n ElementRef,\r\n Renderer2,\r\n OnInit,\r\n} from '@angular/core';\r\nimport { ABP } from '@abp/ng.core';\r\n\r\n@Component({\r\n selector: 'abp-button',\r\n template: `\r\n \r\n \r\n \r\n `,\r\n})\r\nexport class ButtonComponent implements OnInit {\r\n @Input()\r\n buttonId = '';\r\n\r\n @Input()\r\n buttonClass = 'btn btn-primary';\r\n\r\n @Input()\r\n buttonType = 'button';\r\n\r\n @Input()\r\n iconClass: string;\r\n\r\n @Input()\r\n loading = false;\r\n\r\n @Input()\r\n disabled = false;\r\n\r\n @Input()\r\n attributes: ABP.Dictionary;\r\n\r\n // tslint:disable\r\n /**\r\n * @deprecated use abpClick instead\r\n */\r\n @Output() readonly click = new EventEmitter();\r\n\r\n /**\r\n * @deprecated use abpFocus instead\r\n */\r\n // tslint:disable-next-line: no-output-native\r\n @Output() readonly focus = new EventEmitter();\r\n\r\n /**\r\n * @deprecated use abpBlur instead\r\n */\r\n @Output() readonly blur = new EventEmitter();\r\n // tslint:enable\r\n\r\n @Output() readonly abpClick = new EventEmitter();\r\n\r\n @Output() readonly abpFocus = new EventEmitter();\r\n\r\n @Output() readonly abpBlur = new EventEmitter();\r\n\r\n @ViewChild('button', { static: true })\r\n buttonRef: ElementRef;\r\n\r\n get icon(): string {\r\n return `${this.loading ? 'fa fa-spinner fa-spin' : this.iconClass || 'd-none'}`;\r\n }\r\n\r\n constructor(private renderer: Renderer2) {}\r\n\r\n ngOnInit() {\r\n if (this.attributes) {\r\n Object.keys(this.attributes).forEach(key => {\r\n this.renderer.setAttribute(this.buttonRef.nativeElement, key, this.attributes[key]);\r\n });\r\n }\r\n }\r\n}\r\n","import { ReplaySubject } from 'rxjs';\r\n\r\nexport function getRandomBackgroundColor(count) {\r\n const colors = [];\r\n\r\n for (let i = 0; i < count; i++) {\r\n const r = ((i + 5) * (i + 5) * 474) % 255;\r\n const g = ((i + 5) * (i + 5) * 1600) % 255;\r\n const b = ((i + 5) * (i + 5) * 84065) % 255;\r\n colors.push('rgba(' + r + ', ' + g + ', ' + b + ', 0.7)');\r\n }\r\n\r\n return colors;\r\n}\r\n\r\nexport const chartJsLoaded$ = new ReplaySubject(1);\r\n","import {\r\n AfterViewInit,\r\n Component,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n OnDestroy,\r\n Output,\r\n ChangeDetectorRef,\r\n} from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { chartJsLoaded$ } from '../../utils/widget-utils';\r\ndeclare const Chart: any;\r\n\r\n@Component({\r\n selector: 'abp-chart',\r\n templateUrl: './chart.component.html',\r\n})\r\nexport class ChartComponent implements AfterViewInit, OnDestroy {\r\n @Input() type: string;\r\n\r\n @Input() options: any = {};\r\n\r\n @Input() plugins: any[] = [];\r\n\r\n @Input() width: string;\r\n\r\n @Input() height: string;\r\n\r\n @Input() responsive = true;\r\n\r\n // tslint:disable-next-line: no-output-on-prefix\r\n @Output() readonly onDataSelect: EventEmitter = new EventEmitter();\r\n\r\n @Output() readonly initialized = new BehaviorSubject(this);\r\n\r\n private _initialized: boolean;\r\n\r\n _data: any;\r\n\r\n chart: any;\r\n\r\n constructor(public el: ElementRef, private cdRef: ChangeDetectorRef) {}\r\n\r\n @Input() get data(): any {\r\n return this._data;\r\n }\r\n\r\n set data(val: any) {\r\n this._data = val;\r\n this.reinit();\r\n }\r\n\r\n get canvas() {\r\n return this.el.nativeElement.children[0].children[0];\r\n }\r\n\r\n get base64Image() {\r\n return this.chart.toBase64Image();\r\n }\r\n\r\n ngAfterViewInit() {\r\n chartJsLoaded$.subscribe(() => {\r\n this.testChartJs();\r\n\r\n this.initChart();\r\n this._initialized = true;\r\n });\r\n }\r\n\r\n testChartJs() {\r\n try {\r\n // tslint:disable-next-line: no-unused-expression\r\n Chart;\r\n } catch (error) {\r\n throw new Error(`Chart is not found. Import the Chart from app.module like shown below:\r\n import('chart.js');\r\n `);\r\n }\r\n }\r\n\r\n onCanvasClick = event => {\r\n if (this.chart) {\r\n const element = this.chart.getElementAtEvent(event);\r\n const dataset = this.chart.getDatasetAtEvent(event);\r\n if (element && element.length && dataset) {\r\n this.onDataSelect.emit({\r\n originalEvent: event,\r\n element: element[0],\r\n dataset,\r\n });\r\n }\r\n }\r\n };\r\n\r\n initChart = () => {\r\n const opts = this.options || {};\r\n opts.responsive = this.responsive;\r\n\r\n // allows chart to resize in responsive mode\r\n if (opts.responsive && (this.height || this.width)) {\r\n opts.maintainAspectRatio = false;\r\n }\r\n\r\n this.chart = new Chart(this.canvas, {\r\n type: this.type,\r\n data: this.data,\r\n options: this.options,\r\n plugins: this.plugins,\r\n });\r\n\r\n this.cdRef.detectChanges();\r\n };\r\n\r\n generateLegend = () => {\r\n if (this.chart) {\r\n return this.chart.generateLegend();\r\n }\r\n };\r\n\r\n refresh = () => {\r\n if (this.chart) {\r\n this.chart.update();\r\n this.cdRef.detectChanges();\r\n }\r\n };\r\n\r\n reinit = () => {\r\n if (this.chart) {\r\n this.chart.destroy();\r\n this.initChart();\r\n }\r\n };\r\n\r\n ngOnDestroy() {\r\n if (this.chart) {\r\n this.chart.destroy();\r\n this._initialized = false;\r\n this.chart = null;\r\n }\r\n }\r\n}\r\n","import { MessageService } from 'primeng/components/common/messageservice';\r\nimport { Observable, Subject } from 'rxjs';\r\nimport { Toaster } from '../models/toaster';\r\nimport { Config } from '@abp/ng.core';\r\n\r\nexport abstract class AbstractToaster {\r\n status$: Subject;\r\n\r\n key = 'abpToast';\r\n\r\n sticky = false;\r\n\r\n constructor(protected messageService: MessageService) {}\r\n\r\n info(message: Config.LocalizationParam, title: Config.LocalizationParam, options?: T): Observable {\r\n return this.show(message, title, 'info', options);\r\n }\r\n\r\n success(message: Config.LocalizationParam, title: Config.LocalizationParam, options?: T): Observable {\r\n return this.show(message, title, 'success', options);\r\n }\r\n\r\n warn(message: Config.LocalizationParam, title: Config.LocalizationParam, options?: T): Observable {\r\n return this.show(message, title, 'warn', options);\r\n }\r\n\r\n error(message: Config.LocalizationParam, title: Config.LocalizationParam, options?: T): Observable {\r\n return this.show(message, title, 'error', options);\r\n }\r\n\r\n protected show(\r\n message: Config.LocalizationParam,\r\n title: Config.LocalizationParam,\r\n severity: Toaster.Severity,\r\n options?: T,\r\n ): Observable {\r\n this.messageService.clear(this.key);\r\n\r\n this.messageService.add({\r\n severity,\r\n detail: message || '',\r\n summary: title || '',\r\n ...options,\r\n key: this.key,\r\n ...(typeof (options || ({} as any)).sticky === 'undefined' && { sticky: this.sticky }),\r\n });\r\n this.status$ = new Subject();\r\n return this.status$;\r\n }\r\n\r\n clear(status?: Toaster.Status) {\r\n this.messageService.clear(this.key);\r\n this.status$.next(status || Toaster.Status.dismiss);\r\n this.status$.complete();\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { AbstractToaster } from '../abstracts/toaster';\r\nimport { Confirmation } from '../models/confirmation';\r\nimport { MessageService } from 'primeng/components/common/messageservice';\r\nimport { fromEvent, Observable, Subject } from 'rxjs';\r\nimport { takeUntil, debounceTime, filter } from 'rxjs/operators';\r\nimport { Toaster } from '../models/toaster';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class ConfirmationService extends AbstractToaster {\r\n key = 'abpConfirmation';\r\n\r\n sticky = true;\r\n\r\n destroy$ = new Subject();\r\n\r\n constructor(protected messageService: MessageService) {\r\n super(messageService);\r\n }\r\n\r\n show(\r\n message: string,\r\n title: string,\r\n severity: Toaster.Severity,\r\n options?: Confirmation.Options,\r\n ): Observable {\r\n this.listenToEscape();\r\n return super.show(message, title, severity, options);\r\n }\r\n\r\n clear(status?: Toaster.Status) {\r\n super.clear(status);\r\n\r\n this.destroy$.next();\r\n }\r\n\r\n listenToEscape() {\r\n fromEvent(document, 'keyup')\r\n .pipe(\r\n takeUntil(this.destroy$),\r\n debounceTime(150),\r\n filter((key: KeyboardEvent) => key && key.key === 'Escape'),\r\n )\r\n .subscribe(_ => {\r\n this.clear();\r\n });\r\n }\r\n}\r\n","import { Component } from '@angular/core';\r\nimport { ConfirmationService } from '../../services/confirmation.service';\r\nimport { Toaster } from '../../models/toaster';\r\n\r\n@Component({\r\n selector: 'abp-confirmation',\r\n // tslint:disable-next-line: component-max-inline-declarations\r\n template: `\r\n \r\n \r\n \r\n
    \r\n {{ message.summary | abpLocalization: message.titleLocalizationParams }}\r\n
    \r\n
    \r\n {{ message.detail | abpLocalization: message.messageLocalizationParams }}\r\n
    \r\n\r\n \r\n
    \r\n \r\n `,\r\n})\r\nexport class ConfirmationComponent {\r\n confirm = Toaster.Status.confirm;\r\n reject = Toaster.Status.reject;\r\n dismiss = Toaster.Status.dismiss;\r\n\r\n constructor(private confirmationService: ConfirmationService) {}\r\n\r\n close(status: Toaster.Status) {\r\n this.confirmationService.clear(status);\r\n }\r\n}\r\n","import { Config, takeUntilDestroy } from '@abp/ng.core';\r\nimport {\r\n AfterViewInit,\r\n ApplicationRef,\r\n Component,\r\n ComponentFactoryResolver,\r\n ElementRef,\r\n EmbeddedViewRef,\r\n Injector,\r\n OnDestroy,\r\n OnInit,\r\n Type,\r\n ViewChild,\r\n} from '@angular/core';\r\nimport { fromEvent, Subject } from 'rxjs';\r\nimport { debounceTime, filter } from 'rxjs/operators';\r\nimport snq from 'snq';\r\n\r\n@Component({\r\n selector: 'abp-http-error-wrapper',\r\n templateUrl: './http-error-wrapper.component.html',\r\n styleUrls: ['http-error-wrapper.component.scss'],\r\n})\r\nexport class HttpErrorWrapperComponent implements AfterViewInit, OnDestroy, OnInit {\r\n appRef: ApplicationRef;\r\n\r\n cfRes: ComponentFactoryResolver;\r\n\r\n injector: Injector;\r\n\r\n status = 0;\r\n\r\n title: Config.LocalizationParam = 'Oops!';\r\n\r\n details: Config.LocalizationParam = 'Sorry, an error has occured.';\r\n\r\n customComponent: Type = null;\r\n\r\n destroy$: Subject;\r\n\r\n hideCloseIcon = false;\r\n\r\n backgroundColor: string;\r\n\r\n @ViewChild('container', { static: false })\r\n containerRef: ElementRef;\r\n\r\n get statusText(): string {\r\n return this.status ? `[${this.status}]` : '';\r\n }\r\n\r\n ngOnInit() {\r\n this.backgroundColor =\r\n snq(() => window.getComputedStyle(document.body).getPropertyValue('background-color')) || '#fff';\r\n }\r\n\r\n ngAfterViewInit() {\r\n if (this.customComponent) {\r\n const customComponentRef = this.cfRes.resolveComponentFactory(this.customComponent).create(this.injector);\r\n customComponentRef.instance.errorStatus = this.status;\r\n customComponentRef.instance.destroy$ = this.destroy$;\r\n this.appRef.attachView(customComponentRef.hostView);\r\n this.containerRef.nativeElement.appendChild((customComponentRef.hostView as EmbeddedViewRef).rootNodes[0]);\r\n customComponentRef.changeDetectorRef.detectChanges();\r\n }\r\n\r\n fromEvent(document, 'keyup')\r\n .pipe(\r\n takeUntilDestroy(this),\r\n debounceTime(150),\r\n filter((key: KeyboardEvent) => key && key.key === 'Escape'),\r\n )\r\n .subscribe(() => {\r\n this.destroy();\r\n });\r\n }\r\n\r\n ngOnDestroy() {}\r\n\r\n destroy() {\r\n this.destroy$.next();\r\n this.destroy$.complete();\r\n }\r\n}\r\n","import { StartLoader, StopLoader } from '@abp/ng.core';\r\nimport { ChangeDetectorRef, Component, Input, OnDestroy, OnInit } from '@angular/core';\r\nimport { NavigationEnd, NavigationError, NavigationStart, Router } from '@angular/router';\r\nimport { takeUntilDestroy } from '@ngx-validate/core';\r\nimport { Actions, ofActionSuccessful } from '@ngxs/store';\r\nimport { interval, Subscription, timer } from 'rxjs';\r\nimport { filter } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'abp-loader-bar',\r\n template: `\r\n
    \r\n
    \r\n \r\n `,\r\n styleUrls: ['./loader-bar.component.scss'],\r\n})\r\nexport class LoaderBarComponent implements OnDestroy, OnInit {\r\n @Input()\r\n containerClass = 'abp-loader-bar';\r\n\r\n @Input()\r\n color = '#77b6ff';\r\n\r\n @Input()\r\n isLoading = false;\r\n\r\n progressLevel = 0;\r\n\r\n interval: Subscription;\r\n\r\n timer: Subscription;\r\n\r\n intervalPeriod = 350;\r\n\r\n stopDelay = 820;\r\n\r\n @Input()\r\n filter = (action: StartLoader | StopLoader) => action.payload.url.indexOf('openid-configuration') < 0;\r\n\r\n get boxShadow(): string {\r\n return `0 0 10px rgba(${this.color}, 0.5)`;\r\n }\r\n\r\n constructor(private actions: Actions, private router: Router, private cdRef: ChangeDetectorRef) {}\r\n\r\n ngOnInit() {\r\n this.actions\r\n .pipe(\r\n ofActionSuccessful(StartLoader, StopLoader),\r\n filter(this.filter),\r\n takeUntilDestroy(this),\r\n )\r\n .subscribe(action => {\r\n if (action instanceof StartLoader) this.startLoading();\r\n else this.stopLoading();\r\n });\r\n\r\n this.router.events\r\n .pipe(\r\n filter(\r\n event =>\r\n event instanceof NavigationStart || event instanceof NavigationEnd || event instanceof NavigationError,\r\n ),\r\n takeUntilDestroy(this),\r\n )\r\n .subscribe(event => {\r\n if (event instanceof NavigationStart) this.startLoading();\r\n else this.stopLoading();\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n this.interval.unsubscribe();\r\n }\r\n\r\n startLoading() {\r\n if (this.isLoading || this.progressLevel !== 0) return;\r\n\r\n this.isLoading = true;\r\n this.interval = interval(this.intervalPeriod).subscribe(() => {\r\n if (this.progressLevel < 75) {\r\n this.progressLevel += Math.random() * 10;\r\n } else if (this.progressLevel < 90) {\r\n this.progressLevel += 0.4;\r\n } else if (this.progressLevel < 100) {\r\n this.progressLevel += 0.1;\r\n } else {\r\n this.interval.unsubscribe();\r\n }\r\n this.cdRef.detectChanges();\r\n });\r\n }\r\n\r\n stopLoading() {\r\n this.interval.unsubscribe();\r\n this.progressLevel = 100;\r\n this.isLoading = false;\r\n if (this.timer && !this.timer.closed) return;\r\n\r\n this.timer = timer(this.stopDelay).subscribe(() => {\r\n this.progressLevel = 0;\r\n this.cdRef.detectChanges();\r\n });\r\n }\r\n}\r\n","import { animate, animation, style } from '@angular/animations';\r\n\r\nexport const fadeIn = animation([style({ opacity: '0' }), animate('{{ time}} {{ easing }}', style({ opacity: '1' }))], {\r\n params: { time: '350ms', easing: 'ease' },\r\n});\r\n\r\nexport const fadeOut = animation(\r\n [style({ opacity: '1' }), animate('{{ time}} {{ easing }}', style({ opacity: '0' }))],\r\n { params: { time: '350ms', easing: 'ease' } },\r\n);\r\n\r\nexport const fadeInDown = animation(\r\n [\r\n style({ opacity: '0', transform: '{{ transform }} translateY(-20px)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateY(0)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeInUp = animation(\r\n [\r\n style({ opacity: '0', transform: '{{ transform }} translateY(20px)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateY(0)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeInLeft = animation(\r\n [\r\n style({ opacity: '0', transform: '{{ transform }} translateX(20px)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateX(0)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeInRight = animation(\r\n [\r\n style({ opacity: '0', transform: '{{ transform }} translateX(-20px)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '1', transform: '{{ transform }} translateX(0)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeOutDown = animation(\r\n [\r\n style({ opacity: '1', transform: '{{ transform }} translateY(0)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateY(20px)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeOutUp = animation(\r\n [\r\n style({ opacity: '1', transform: '{{ transform }} translateY(0)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateY(-20px)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeOutLeft = animation(\r\n [\r\n style({ opacity: '1', transform: '{{ transform }} translateX(0)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateX(20px)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n\r\nexport const fadeOutRight = animation(\r\n [\r\n style({ opacity: '1', transform: '{{ transform }} translateX(0)' }),\r\n animate('{{ time }} {{ easing }}', style({ opacity: '0', transform: '{{ transform }} translateX(-20px)' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease', transform: '' } },\r\n);\r\n","import { transition, trigger, useAnimation } from '@angular/animations';\r\nimport { fadeIn, fadeInDown, fadeOut } from './fade.animations';\r\n\r\nexport const fadeAnimation = trigger('fade', [\r\n transition(':enter', useAnimation(fadeIn)),\r\n transition(':leave', useAnimation(fadeOut)),\r\n]);\r\n\r\nexport const dialogAnimation = trigger('dialog', [\r\n transition(':enter', useAnimation(fadeInDown)),\r\n transition(':leave', useAnimation(fadeOut)),\r\n]);\r\n","import {\r\n Component,\r\n ContentChild,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n OnDestroy,\r\n Output,\r\n Renderer2,\r\n TemplateRef,\r\n ViewChild,\r\n ViewChildren,\r\n} from '@angular/core';\r\nimport { fromEvent, Subject } from 'rxjs';\r\nimport { debounceTime, filter, takeUntil } from 'rxjs/operators';\r\nimport { fadeAnimation } from '../../animations/modal.animations';\r\nimport { Toaster } from '../../models/toaster';\r\nimport { ConfirmationService } from '../../services/confirmation.service';\r\nimport { ButtonComponent } from '../button/button.component';\r\n\r\nexport type ModalSize = 'sm' | 'md' | 'lg' | 'xl';\r\n\r\n@Component({\r\n selector: 'abp-modal',\r\n templateUrl: './modal.component.html',\r\n animations: [fadeAnimation],\r\n})\r\nexport class ModalComponent implements OnDestroy {\r\n @Input()\r\n get visible(): boolean {\r\n return this._visible;\r\n }\r\n set visible(value: boolean) {\r\n if (typeof value !== 'boolean') return;\r\n\r\n this.isModalOpen = value;\r\n this._visible = value;\r\n this.visibleChange.emit(value);\r\n\r\n if (value) {\r\n setTimeout(() => this.listen(), 0);\r\n this.renderer.addClass(document.body, 'modal-open');\r\n this.appear.emit();\r\n } else {\r\n this.renderer.removeClass(document.body, 'modal-open');\r\n this.disappear.emit();\r\n this.destroy$.next();\r\n }\r\n }\r\n\r\n @Input()\r\n get busy(): boolean {\r\n return this._busy;\r\n }\r\n set busy(value: boolean) {\r\n if (this.abpSubmit && this.abpSubmit instanceof ButtonComponent) {\r\n this.abpSubmit.loading = value;\r\n }\r\n\r\n this._busy = value;\r\n }\r\n\r\n @Input() centered = false;\r\n\r\n @Input() modalClass = '';\r\n\r\n @Input() size: ModalSize = 'lg';\r\n\r\n @ContentChild(ButtonComponent, { static: false, read: ButtonComponent })\r\n abpSubmit: ButtonComponent;\r\n\r\n @ContentChild('abpHeader', { static: false }) abpHeader: TemplateRef;\r\n\r\n @ContentChild('abpBody', { static: false }) abpBody: TemplateRef;\r\n\r\n @ContentChild('abpFooter', { static: false }) abpFooter: TemplateRef;\r\n\r\n @ContentChild('abpClose', { static: false, read: ElementRef })\r\n abpClose: ElementRef;\r\n\r\n @ViewChild('abpModalContent', { static: false }) modalContent: ElementRef;\r\n\r\n @ViewChildren('abp-button') abpButtons;\r\n\r\n @Output() readonly visibleChange = new EventEmitter();\r\n\r\n @Output() readonly init = new EventEmitter();\r\n\r\n @Output() readonly appear = new EventEmitter();\r\n\r\n @Output() readonly disappear = new EventEmitter();\r\n\r\n _visible = false;\r\n\r\n _busy = false;\r\n\r\n isModalOpen = false;\r\n\r\n isConfirmationOpen = false;\r\n\r\n destroy$ = new Subject();\r\n\r\n constructor(private renderer: Renderer2, private confirmationService: ConfirmationService) {}\r\n\r\n ngOnDestroy(): void {\r\n this.destroy$.next();\r\n }\r\n\r\n close() {\r\n if (this.busy) return;\r\n\r\n let node: HTMLDivElement;\r\n if (!this.modalContent) {\r\n node = document.getElementById('modal-container') as HTMLDivElement;\r\n }\r\n\r\n const nodes = getFlatNodes(\r\n ((node || this.modalContent.nativeElement).querySelector('#abp-modal-body') as HTMLElement).childNodes,\r\n );\r\n\r\n if (hasNgDirty(nodes)) {\r\n if (this.isConfirmationOpen) return;\r\n\r\n this.isConfirmationOpen = true;\r\n this.confirmationService\r\n .warn('AbpAccount::AreYouSureYouWantToCancelEditingWarningMessage', 'AbpAccount::AreYouSure')\r\n .subscribe((status: Toaster.Status) => {\r\n this.isConfirmationOpen = false;\r\n if (status === Toaster.Status.confirm) {\r\n this.visible = false;\r\n }\r\n });\r\n } else {\r\n this.visible = false;\r\n }\r\n }\r\n\r\n listen() {\r\n fromEvent(document, 'keyup')\r\n .pipe(\r\n takeUntil(this.destroy$),\r\n debounceTime(150),\r\n filter((key: KeyboardEvent) => key && key.key === 'Escape'),\r\n )\r\n .subscribe(() => {\r\n this.close();\r\n });\r\n\r\n setTimeout(() => {\r\n if (!this.abpClose) return;\r\n fromEvent(this.abpClose.nativeElement, 'click')\r\n .pipe(\r\n takeUntil(this.destroy$),\r\n filter(() => !!this.modalContent),\r\n )\r\n .subscribe(() => this.close());\r\n }, 0);\r\n\r\n this.init.emit();\r\n }\r\n}\r\n\r\nfunction getFlatNodes(nodes: NodeList): HTMLElement[] {\r\n return Array.from(nodes).reduce(\r\n (acc, val) => [...acc, ...(val.childNodes && val.childNodes.length ? getFlatNodes(val.childNodes) : [val])],\r\n [],\r\n );\r\n}\r\n\r\nfunction hasNgDirty(nodes: HTMLElement[]) {\r\n return nodes.findIndex(node => (node.className || '').indexOf('ng-dirty') > -1) > -1;\r\n}\r\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-sort-order-icon',\r\n templateUrl: './sort-order-icon.component.html',\r\n})\r\nexport class SortOrderIconComponent {\r\n private _order: 'asc' | 'desc' | '';\r\n private _selectedSortKey: string;\r\n\r\n /**\r\n * @deprecated use selectedSortKey instead.\r\n */\r\n @Input()\r\n set selectedKey(value: string) {\r\n this.selectedSortKey = value;\r\n this.selectedKeyChange.emit(value);\r\n }\r\n get selectedKey(): string {\r\n return this._selectedSortKey;\r\n }\r\n\r\n @Input()\r\n set selectedSortKey(value: string) {\r\n this._selectedSortKey = value;\r\n this.selectedSortKeyChange.emit(value);\r\n }\r\n get selectedSortKey(): string {\r\n return this._selectedSortKey;\r\n }\r\n\r\n @Output() readonly selectedKeyChange = new EventEmitter();\r\n @Output() readonly selectedSortKeyChange = new EventEmitter();\r\n\r\n /**\r\n * @deprecated use sortKey instead.\r\n */\r\n @Input()\r\n get key(): string {\r\n return this.sortKey;\r\n }\r\n set key(value: string) {\r\n this.sortKey = value;\r\n }\r\n\r\n @Input()\r\n sortKey: string;\r\n\r\n @Input()\r\n set order(value: 'asc' | 'desc' | '') {\r\n this._order = value;\r\n this.orderChange.emit(value);\r\n }\r\n get order(): 'asc' | 'desc' | '' {\r\n return this._order;\r\n }\r\n\r\n @Output() readonly orderChange = new EventEmitter();\r\n\r\n @Input()\r\n iconClass: string;\r\n\r\n get icon(): string {\r\n if (!this.selectedSortKey) return 'fa-sort';\r\n if (this.selectedSortKey === this.sortKey) return `fa-sort-${this.order}`;\r\n else return '';\r\n }\r\n\r\n sort(key: string) {\r\n this.selectedKey = key; // TODO: To be removed\r\n this.selectedSortKey = key;\r\n switch (this.order) {\r\n case '':\r\n this.order = 'asc';\r\n this.orderChange.emit('asc');\r\n break;\r\n case 'asc':\r\n this.order = 'desc';\r\n this.orderChange.emit('desc');\r\n break;\r\n case 'desc':\r\n this.order = '';\r\n this.selectedKey = ''; // TODO: To be removed\r\n this.orderChange.emit('');\r\n break;\r\n }\r\n }\r\n}\r\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n // tslint:disable-next-line: component-selector\r\n selector: '[abp-table-empty-message]',\r\n template: `\r\n \r\n {{ emptyMessage | abpLocalization }}\r\n \r\n `\r\n})\r\nexport class TableEmptyMessageComponent {\r\n @Input()\r\n colspan = 2;\r\n\r\n @Input()\r\n message: string;\r\n\r\n @Input()\r\n localizationResource = 'AbpAccount';\r\n\r\n @Input()\r\n localizationProp = 'NoDataAvailableInDatatable';\r\n\r\n get emptyMessage(): string {\r\n return this.message || `${this.localizationResource}::${this.localizationProp}`;\r\n }\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-toast',\r\n // tslint:disable-next-line: component-max-inline-declarations\r\n template: `\r\n \r\n \r\n \r\n
    \r\n
    {{ message.summary | abpLocalization: message.titleLocalizationParams }}
    \r\n
    {{ message.detail | abpLocalization: message.messageLocalizationParams }}
    \r\n
    \r\n
    \r\n
    \r\n `,\r\n})\r\nexport class ToastComponent {}\r\n","export default `\r\n.is-invalid .form-control {\r\n border-color: #dc3545;\r\n border-style: solid !important;\r\n}\r\n\r\n.is-invalid .invalid-feedback,\r\n.is-invalid + * .invalid-feedback {\r\n display: block;\r\n}\r\n\r\n.data-tables-filter {\r\n text-align: right;\r\n}\r\n\r\n.pointer {\r\n cursor: pointer;\r\n}\r\n\r\n.navbar .dropdown-submenu a::after {\r\n transform: rotate(-90deg);\r\n position: absolute;\r\n right: 16px;\r\n top: 18px;\r\n}\r\n\r\n.navbar .dropdown-menu {\r\n min-width: 215px;\r\n}\r\n\r\n.ui-table-scrollable-body::-webkit-scrollbar {\r\n height: 5px !important;\r\n}\r\n\r\n.ui-table-scrollable-body::-webkit-scrollbar-track {\r\n background: #ddd;\r\n}\r\n\r\n.ui-table-scrollable-body::-webkit-scrollbar-thumb {\r\n background: #8a8686;\r\n}\r\n\r\n.modal.show {\r\n display: block !important;\r\n}\r\n\r\n.modal-backdrop {\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n width: calc(100% - 7px);\r\n height: 100%;\r\n background-color: rgba(0, 0, 0, 0.6);\r\n z-index: 1040;\r\n}\r\n\r\n.modal::-webkit-scrollbar {\r\n width: 7px;\r\n}\r\n\r\n.modal::-webkit-scrollbar-track {\r\n background: #ddd;\r\n}\r\n\r\n.modal::-webkit-scrollbar-thumb {\r\n background: #8a8686;\r\n}\r\n\r\n.modal-dialog {\r\n z-index: 1050;\r\n}\r\n\r\n.abp-ellipsis-inline {\r\n display: inline-block;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n}\r\n\r\n.abp-ellipsis {\r\n overflow: hidden !important;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n}\r\n\r\n.abp-toast .ui-toast-message {\r\n box-sizing: border-box;\r\n border: 2px solid transparent;\r\n border-radius: 4px;\r\n color: #1b1d29;\r\n}\r\n\r\n.abp-toast .ui-toast-message-content {\r\n padding: 10px;\r\n}\r\n\r\n.abp-toast .ui-toast-message-content .ui-toast-icon {\r\n top: 0;\r\n left: 0;\r\n padding: 10px;\r\n}\r\n\r\n.abp-toast .ui-toast-summary {\r\n margin: 0;\r\n font-weight: 700;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-error {\r\n border: 2px solid #ba1659;\r\n background-color: #f4f4f7;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-error .ui-toast-message-content .ui-toast-icon {\r\n color: #ba1659;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn {\r\n border: 2px solid #ed5d98;\r\n background-color: #f4f4f7;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn .ui-toast-message-content .ui-toast-icon {\r\n color: #ed5d98;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-success {\r\n border: 2px solid #1c9174;\r\n background-color: #f4f4f7;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-success .ui-toast-message-content .ui-toast-icon {\r\n color: #1c9174;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-info {\r\n border: 2px solid #fccb31;\r\n background-color: #f4f4f7;\r\n}\r\n\r\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-info .ui-toast-message-content .ui-toast-icon {\r\n color: #fccb31;\r\n}\r\n\r\n.abp-confirm .ui-toast-message {\r\n box-sizing: border-box;\r\n padding: 0px;\r\n border:0 none;\r\n border-radius: 4px;\r\n background-color: transparent !important;\r\n font-family: \"Poppins\", sans-serif;\r\n text-align: center;\r\n}\r\n\r\n.abp-confirm .ui-toast-message-content {\r\n padding: 0px;\r\n}\r\n\r\n.abp-confirm .abp-confirm-icon {\r\n margin: 32px 50px 5px !important;\r\n color: #f8bb86 !important;\r\n font-size: 52px !important;\r\n}\r\n\r\n.abp-confirm .ui-toast-close-icon {\r\n display: none !important;\r\n}\r\n\r\n.abp-confirm .abp-confirm-summary {\r\n display: block !important;\r\n margin-bottom: 13px !important;\r\n padding: 13px 16px 0px !important;\r\n font-weight: 600 !important;\r\n font-size: 18px !important;\r\n}\r\n\r\n.abp-confirm .abp-confirm-body {\r\n display: inline-block !important;\r\n padding: 0px 10px !important;\r\n}\r\n\r\n.abp-confirm .abp-confirm-footer {\r\n display: block;\r\n margin-top: 30px;\r\n padding: 16px;\r\n text-align: right;\r\n}\r\n\r\n.abp-confirm .abp-confirm-footer .btn {\r\n margin-left: 10px !important;\r\n}\r\n\r\n.ui-widget-overlay {\r\n z-index: 1000;\r\n}\r\n\r\n.color-white {\r\n color: #FFF !important;\r\n}\r\n\r\n.custom-checkbox > label {\r\n cursor: pointer;\r\n}\r\n\r\n/* ;\r\n\r\n constructor(\r\n private actions: Actions,\r\n private store: Store,\r\n private confirmationService: ConfirmationService,\r\n private appRef: ApplicationRef,\r\n private cfRes: ComponentFactoryResolver,\r\n private rendererFactory: RendererFactory2,\r\n private injector: Injector,\r\n @Inject('HTTP_ERROR_CONFIG') private httpErrorConfig: HttpErrorConfig,\r\n ) {\r\n this.actions.pipe(ofActionSuccessful(RestOccurError, RouterError, RouterDataResolved)).subscribe(res => {\r\n if (res instanceof RestOccurError) {\r\n const { payload: err = {} as HttpErrorResponse | any } = res;\r\n const body = snq(() => (err as HttpErrorResponse).error.error, DEFAULT_ERROR_MESSAGES.defaultError.title);\r\n\r\n if (err instanceof HttpErrorResponse && err.headers.get('_AbpErrorFormat')) {\r\n const confirmation$ = this.showError(null, null, body);\r\n\r\n if (err.status === 401) {\r\n confirmation$.subscribe(() => {\r\n this.navigateToLogin();\r\n });\r\n }\r\n } else {\r\n switch ((err as HttpErrorResponse).status) {\r\n case 401:\r\n this.canCreateCustomError(401)\r\n ? this.show401Page()\r\n : this.showError(\r\n {\r\n key: 'AbpAccount::DefaultErrorMessage401',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.title,\r\n },\r\n {\r\n key: 'AbpAccount::DefaultErrorMessage401Detail',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.details,\r\n },\r\n ).subscribe(() => this.navigateToLogin());\r\n break;\r\n case 403:\r\n this.createErrorComponent({\r\n title: {\r\n key: 'AbpAccount::DefaultErrorMessage403',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError403.title,\r\n },\r\n details: {\r\n key: 'AbpAccount::DefaultErrorMessage403Detail',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError403.details,\r\n },\r\n status: 403,\r\n });\r\n break;\r\n case 404:\r\n this.canCreateCustomError(404)\r\n ? this.show404Page()\r\n : this.showError(\r\n {\r\n key: 'AbpAccount::DefaultErrorMessage404',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.details,\r\n },\r\n {\r\n key: 'AbpAccount::DefaultErrorMessage404Detail',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.title,\r\n },\r\n );\r\n break;\r\n case 500:\r\n this.createErrorComponent({\r\n title: {\r\n key: 'AbpAccount::500Message',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError500.title,\r\n },\r\n details: {\r\n key: 'AbpAccount::InternalServerErrorMessage',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError500.details,\r\n },\r\n status: 500,\r\n });\r\n break;\r\n case 0:\r\n if ((err as HttpErrorResponse).statusText === 'Unknown Error') {\r\n this.createErrorComponent({\r\n title: {\r\n key: 'AbpAccount::DefaultErrorMessage',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError.title,\r\n },\r\n });\r\n }\r\n break;\r\n default:\r\n this.showError(DEFAULT_ERROR_MESSAGES.defaultError.details, DEFAULT_ERROR_MESSAGES.defaultError.title);\r\n break;\r\n }\r\n }\r\n } else if (res instanceof RouterError && snq(() => res.event.error.indexOf('Cannot match') > -1, false)) {\r\n this.show404Page();\r\n } else if (res instanceof RouterDataResolved && this.componentRef) {\r\n this.componentRef.destroy();\r\n this.componentRef = null;\r\n }\r\n });\r\n }\r\n\r\n private show401Page() {\r\n this.createErrorComponent({\r\n title: {\r\n key: 'AbpAccount::401Message',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.title,\r\n },\r\n status: 401,\r\n });\r\n }\r\n\r\n private show404Page() {\r\n this.createErrorComponent({\r\n title: {\r\n key: 'AbpAccount::404Message',\r\n defaultValue: DEFAULT_ERROR_MESSAGES.defaultError404.title,\r\n },\r\n status: 404,\r\n });\r\n }\r\n\r\n private showError(\r\n message?: Config.LocalizationParam,\r\n title?: Config.LocalizationParam,\r\n body?: any,\r\n ): Observable {\r\n if (body) {\r\n if (body.details) {\r\n message = body.details;\r\n title = body.message;\r\n } else {\r\n message = body.message || DEFAULT_ERROR_MESSAGES.defaultError.title;\r\n }\r\n }\r\n\r\n return this.confirmationService.error(message, title, {\r\n hideCancelBtn: true,\r\n yesText: 'AbpAccount::Close',\r\n });\r\n }\r\n\r\n private navigateToLogin() {\r\n this.store.dispatch(\r\n new Navigate(['/account/login'], null, { state: { redirectUrl: this.store.selectSnapshot(RouterState.url) } }),\r\n );\r\n }\r\n\r\n createErrorComponent(instance: Partial) {\r\n const renderer = this.rendererFactory.createRenderer(null, null);\r\n const host = renderer.selectRootElement(document.body, true);\r\n\r\n this.componentRef = this.cfRes.resolveComponentFactory(HttpErrorWrapperComponent).create(this.injector);\r\n\r\n for (const key in this.componentRef.instance) {\r\n if (this.componentRef.instance.hasOwnProperty(key)) {\r\n this.componentRef.instance[key] = instance[key];\r\n }\r\n }\r\n this.componentRef.instance.hideCloseIcon = this.httpErrorConfig.errorScreen.hideCloseIcon;\r\n if (this.canCreateCustomError(instance.status as ErrorScreenErrorCodes)) {\r\n this.componentRef.instance.cfRes = this.cfRes;\r\n this.componentRef.instance.appRef = this.appRef;\r\n this.componentRef.instance.injector = this.injector;\r\n this.componentRef.instance.customComponent = this.httpErrorConfig.errorScreen.component;\r\n }\r\n\r\n this.appRef.attachView(this.componentRef.hostView);\r\n renderer.appendChild(host, (this.componentRef.hostView as EmbeddedViewRef).rootNodes[0]);\r\n\r\n const destroy$ = new Subject();\r\n this.componentRef.instance.destroy$ = destroy$;\r\n destroy$.subscribe(() => {\r\n this.componentRef.destroy();\r\n this.componentRef = null;\r\n });\r\n }\r\n\r\n canCreateCustomError(status: ErrorScreenErrorCodes): boolean {\r\n return snq(\r\n () =>\r\n this.httpErrorConfig.errorScreen.component &&\r\n this.httpErrorConfig.errorScreen.forWhichErrors.indexOf(status) > -1,\r\n );\r\n }\r\n}\r\n","import { InjectionToken } from '@angular/core';\r\nimport { HttpErrorConfig } from '../models/common';\r\n\r\nexport function httpErrorConfigFactory(config = {} as HttpErrorConfig) {\r\n if (config.errorScreen && config.errorScreen.component && !config.errorScreen.forWhichErrors) {\r\n config.errorScreen.forWhichErrors = [401, 403, 404, 500];\r\n }\r\n\r\n return {\r\n errorScreen: {},\r\n ...config,\r\n } as HttpErrorConfig;\r\n}\r\n\r\nexport const HTTP_ERROR_CONFIG = new InjectionToken('HTTP_ERROR_CONFIG');\r\n","import { Injectable, Optional } from '@angular/core';\r\nimport { NgbDateParserFormatter, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';\r\nimport { DatePipe } from '@angular/common';\r\n\r\nfunction padNumber(value: number) {\r\n if (isNumber(value)) {\r\n return `0${value}`.slice(-2);\r\n } else {\r\n return '';\r\n }\r\n}\r\n\r\nfunction isNumber(value: any): boolean {\r\n return !isNaN(toInteger(value));\r\n}\r\n\r\nfunction toInteger(value: any): number {\r\n return parseInt(`${value}`, 10);\r\n}\r\n\r\n@Injectable()\r\nexport class DateParserFormatter extends NgbDateParserFormatter {\r\n constructor(@Optional() private datePipe: DatePipe) {\r\n super();\r\n }\r\n\r\n parse(value: string): NgbDateStruct {\r\n if (value) {\r\n const dateParts = value.trim().split('-');\r\n if (dateParts.length === 1 && isNumber(dateParts[0])) {\r\n return { year: toInteger(dateParts[0]), month: null, day: null };\r\n } else if (dateParts.length === 2 && isNumber(dateParts[0]) && isNumber(dateParts[1])) {\r\n return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: null };\r\n } else if (dateParts.length === 3 && isNumber(dateParts[0]) && isNumber(dateParts[1]) && isNumber(dateParts[2])) {\r\n return { year: toInteger(dateParts[0]), month: toInteger(dateParts[1]), day: toInteger(dateParts[2]) };\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n format(date: NgbDateStruct): string {\r\n if (date && this.datePipe) {\r\n return this.datePipe.transform(new Date(date.year, date.month, date.day), 'shortDate');\r\n } else {\r\n return date\r\n ? `${date.year}-${isNumber(date.month) ? padNumber(date.month) : ''}-${\r\n isNumber(date.day) ? padNumber(date.day) : ''\r\n }`\r\n : '';\r\n }\r\n }\r\n}\r\n","import { CoreModule, LazyLoadService } from '@abp/ng.core';\r\nimport { APP_INITIALIZER, Injector, ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\nimport { MessageService } from 'primeng/components/common/messageservice';\r\nimport { ToastModule } from 'primeng/toast';\r\nimport { forkJoin } from 'rxjs';\r\nimport { BreadcrumbComponent } from './components/breadcrumb/breadcrumb.component';\r\nimport { ButtonComponent } from './components/button/button.component';\r\nimport { ChartComponent } from './components/chart/chart.component';\r\nimport { ConfirmationComponent } from './components/confirmation/confirmation.component';\r\nimport { HttpErrorWrapperComponent } from './components/http-error-wrapper/http-error-wrapper.component';\r\nimport { LoaderBarComponent } from './components/loader-bar/loader-bar.component';\r\nimport { ModalComponent } from './components/modal/modal.component';\r\nimport { SortOrderIconComponent } from './components/sort-order-icon/sort-order-icon.component';\r\nimport { TableEmptyMessageComponent } from './components/table-empty-message/table-empty-message.component';\r\nimport { ToastComponent } from './components/toast/toast.component';\r\nimport styles from './constants/styles';\r\nimport { TableSortDirective } from './directives/table-sort.directive';\r\nimport { ErrorHandler } from './handlers/error.handler';\r\nimport { chartJsLoaded$ } from './utils/widget-utils';\r\nimport { RootParams } from './models/common';\r\nimport { HTTP_ERROR_CONFIG, httpErrorConfigFactory } from './tokens/http-error.token';\r\nimport { NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';\r\nimport { DateParserFormatter } from './utils/date-parser-formatter';\r\nimport { DatePipe } from '@angular/common';\r\n\r\nexport function appendScript(injector: Injector) {\r\n const fn = () => {\r\n import('chart.js').then(() => chartJsLoaded$.next(true));\r\n\r\n const lazyLoadService: LazyLoadService = injector.get(LazyLoadService);\r\n return lazyLoadService.load(null, 'style', styles, 'head', 'beforeend').toPromise();\r\n };\r\n\r\n return fn;\r\n}\r\n\r\n@NgModule({\r\n imports: [CoreModule, ToastModule, NgxValidateCoreModule],\r\n declarations: [\r\n BreadcrumbComponent,\r\n ButtonComponent,\r\n ChartComponent,\r\n ConfirmationComponent,\r\n HttpErrorWrapperComponent,\r\n LoaderBarComponent,\r\n ModalComponent,\r\n TableEmptyMessageComponent,\r\n ToastComponent,\r\n SortOrderIconComponent,\r\n TableSortDirective,\r\n ],\r\n exports: [\r\n BreadcrumbComponent,\r\n ButtonComponent,\r\n ChartComponent,\r\n ConfirmationComponent,\r\n LoaderBarComponent,\r\n ModalComponent,\r\n TableEmptyMessageComponent,\r\n ToastComponent,\r\n SortOrderIconComponent,\r\n TableSortDirective,\r\n ],\r\n providers: [DatePipe],\r\n entryComponents: [HttpErrorWrapperComponent],\r\n})\r\nexport class ThemeSharedModule {\r\n constructor(private errorHandler: ErrorHandler) {}\r\n\r\n static forRoot(options = {} as RootParams): ModuleWithProviders {\r\n return {\r\n ngModule: ThemeSharedModule,\r\n providers: [\r\n {\r\n provide: APP_INITIALIZER,\r\n multi: true,\r\n deps: [Injector],\r\n useFactory: appendScript,\r\n },\r\n { provide: MessageService, useClass: MessageService },\r\n { provide: HTTP_ERROR_CONFIG, useValue: options.httpErrorConfig },\r\n {\r\n provide: 'HTTP_ERROR_CONFIG',\r\n useFactory: httpErrorConfigFactory,\r\n deps: [HTTP_ERROR_CONFIG],\r\n },\r\n { provide: NgbDateParserFormatter, useClass: DateParserFormatter },\r\n ],\r\n };\r\n }\r\n}\r\n","import { animate, animation, keyframes, style } from '@angular/animations';\r\n\r\nexport const bounceIn = animation(\r\n [\r\n style({ opacity: '0', display: '{{ display }}' }),\r\n animate(\r\n '{{ time}} {{ easing }}',\r\n keyframes([\r\n style({ opacity: '0', transform: '{{ transform }} scale(0.0)', offset: 0 }),\r\n style({ opacity: '0', transform: '{{ transform }} scale(0.8)', offset: 0.5 }),\r\n style({ opacity: '1', transform: '{{ transform }} scale(1.0)', offset: 1 })\r\n ])\r\n )\r\n ],\r\n {\r\n params: {\r\n time: '350ms',\r\n easing: 'cubic-bezier(.7,.31,.72,1.47)',\r\n display: 'block',\r\n transform: 'translate(-50%, -50%)'\r\n }\r\n }\r\n);\r\n","import { animate, animation, trigger, state, style, transition, useAnimation } from '@angular/animations';\r\n\r\nexport const collapseY = animation(\r\n [\r\n style({ height: '*', overflow: 'hidden', 'box-sizing': 'border-box' }),\r\n animate('{{ time }} {{ easing }}', style({ height: '0', padding: '0px' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease' } },\r\n);\r\n\r\nexport const collapseYWithMargin = animation(\r\n [style({ 'margin-top': '0' }), animate('{{ time }} {{ easing }}', style({ 'margin-top': '-100%' }))],\r\n {\r\n params: { time: '500ms', easing: 'ease' },\r\n },\r\n);\r\n\r\nexport const collapseX = animation(\r\n [\r\n style({ width: '*', overflow: 'hidden', 'box-sizing': 'border-box' }),\r\n animate('{{ time }} {{ easing }}', style({ width: '0', padding: '0px' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease' } },\r\n);\r\n\r\nexport const expandY = animation(\r\n [\r\n style({ height: '0', overflow: 'hidden', 'box-sizing': 'border-box' }),\r\n animate('{{ time }} {{ easing }}', style({ height: '*', padding: '*' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease' } },\r\n);\r\n\r\nexport const expandYWithMargin = animation(\r\n [style({ 'margin-top': '-100%' }), animate('{{ time }} {{ easing }}', style({ 'margin-top': '0' }))],\r\n {\r\n params: { time: '500ms', easing: 'ease' },\r\n },\r\n);\r\n\r\nexport const expandX = animation(\r\n [\r\n style({ width: '0', overflow: 'hidden', 'box-sizing': 'border-box' }),\r\n animate('{{ time }} {{ easing }}', style({ width: '*', padding: '*' })),\r\n ],\r\n { params: { time: '350ms', easing: 'ease' } },\r\n);\r\n\r\nexport const collapse = trigger('collapse', [\r\n state('collapsed', style({ height: '0', overflow: 'hidden' })),\r\n state('expanded', style({ height: '*', overflow: 'hidden' })),\r\n transition('expanded => collapsed', useAnimation(collapseY)),\r\n transition('collapsed => expanded', useAnimation(expandY)),\r\n]);\r\n\r\nexport const collapseWithMargin = trigger('collapseWithMargin', [\r\n state('collapsed', style({ 'margin-top': '-100%' })),\r\n state('expanded', style({ 'margin-top': '0' })),\r\n transition('expanded => collapsed', useAnimation(collapseYWithMargin), {\r\n params: { time: '400ms', easing: 'linear' },\r\n }),\r\n transition('collapsed => expanded', useAnimation(expandYWithMargin)),\r\n]);\r\n\r\nexport const collapseLinearWithMargin = trigger('collapseLinearWithMargin', [\r\n state('collapsed', style({ 'margin-top': '-100%' })),\r\n state('expanded', style({ 'margin-top': '0' })),\r\n transition(\r\n 'expanded => collapsed',\r\n useAnimation(collapseYWithMargin, { params: { time: '200ms', easing: 'linear' } }),\r\n ),\r\n transition('collapsed => expanded', useAnimation(expandYWithMargin, { params: { time: '250ms', easing: 'linear' } })),\r\n]);\r\n","import { animate, state, style, transition, trigger, query } from '@angular/animations';\r\nexport const slideFromBottom = trigger('slideFromBottom', [\r\n transition('* <=> *', [\r\n style({ 'margin-top': '20px', opacity: '0' }),\r\n animate('0.2s ease-out', style({ opacity: '1', 'margin-top': '0px' })),\r\n ]),\r\n]);\r\n","import { Type } from '@angular/core';\r\n\r\nexport interface RootParams {\r\n httpErrorConfig: HttpErrorConfig;\r\n}\r\n\r\nexport type ErrorScreenErrorCodes = 401 | 403 | 404 | 500;\r\n\r\nexport interface HttpErrorConfig {\r\n errorScreen?: {\r\n component: Type;\r\n forWhichErrors?:\r\n | [ErrorScreenErrorCodes]\r\n | [ErrorScreenErrorCodes, ErrorScreenErrorCodes]\r\n | [ErrorScreenErrorCodes, ErrorScreenErrorCodes, ErrorScreenErrorCodes]\r\n | [ErrorScreenErrorCodes, ErrorScreenErrorCodes, ErrorScreenErrorCodes, ErrorScreenErrorCodes];\r\n hideCloseIcon?: boolean;\r\n };\r\n}\r\n","import { Toaster } from './toaster';\r\nimport { Config } from '@abp/ng.core';\r\n\r\nexport namespace Confirmation {\r\n export interface Options extends Toaster.Options {\r\n hideCancelBtn?: boolean;\r\n hideYesBtn?: boolean;\r\n cancelText?: Config.LocalizationParam;\r\n yesText?: Config.LocalizationParam;\r\n /**\r\n * @deprecated to be deleted in v2\r\n */\r\n cancelCopy?: Config.LocalizationParam;\r\n /**\r\n * @deprecated to be deleted in v2\r\n */\r\n yesCopy?: Config.LocalizationParam;\r\n }\r\n}\r\n","import { Type } from '@angular/core';\r\n\r\nexport interface SettingTab {\r\n component: Type;\r\n name: string;\r\n order: number;\r\n requiredPolicy?: string;\r\n}\r\n\r\nconst SETTING_TABS = [] as SettingTab[];\r\n\r\nexport function addSettingTab(tab: SettingTab | SettingTab[]): void {\r\n if (!Array.isArray(tab)) {\r\n tab = [tab];\r\n }\r\n\r\n SETTING_TABS.push(...tab);\r\n}\r\n\r\nexport function getSettingTabs(): SettingTab[] {\r\n return SETTING_TABS;\r\n}\r\n","export namespace Statistics {\r\n export interface Response {\r\n data: Data;\r\n }\r\n\r\n export interface Data {\r\n [key: string]: number;\r\n }\r\n\r\n export interface Filter {\r\n startDate: string | Date;\r\n endDate: string | Date;\r\n }\r\n}\r\n","export namespace Toaster {\r\n export interface Options {\r\n id?: any;\r\n closable?: boolean;\r\n life?: number;\r\n sticky?: boolean;\r\n data?: any;\r\n messageLocalizationParams?: string[];\r\n titleLocalizationParams?: string[];\r\n }\r\n\r\n export type Severity = 'success' | 'info' | 'warn' | 'error';\r\n\r\n export const enum Status {\r\n confirm = 'confirm',\r\n reject = 'reject',\r\n dismiss = 'dismiss',\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { AbstractToaster } from '../abstracts/toaster';\r\nimport { Message } from 'primeng/components/common/message';\r\nimport { MessageService } from 'primeng/components/common/messageservice';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class ToasterService extends AbstractToaster {\r\n constructor(protected messageService: MessageService) {\r\n super(messageService);\r\n }\r\n\r\n addAll(messages: Message[]): void {\r\n this.messageService.addAll(messages.map(message => ({ key: this.key, ...message })));\r\n }\r\n}\r\n"],"names":["tslib_1.__extends","takeUntilDestroy"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;IAcE,6BAAoB,MAAc,EAAU,KAAY;QAApC,WAAM,GAAN,MAAM,CAAQ;QAAU,UAAK,GAAL,KAAK,CAAO;QAFxD,aAAQ,GAAa,EAAE,CAAC;KAEoC;;;;IAE5D,sCAAQ;;;IAAR;QACE,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc;;;;QAAC,UAAA,KAAK,IAAI,OAAA,KAAK,CAAC,iBAAiB,GAAA,EAAC,CAAC;QAC1E,IAAI,IAAI,CAAC,IAAI,EAAE;;gBACT,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM;;;;YAAC,UAAA,KAAK,IAAI,OAAA,KAAK,GAAA,EAAC;;gBAE/D,UAAU,GAAkB,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;YAE/F,IAAI,CAAC,UAAU,EAAE;gBACf,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;gBAC1F,WAAW,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;gBAChC,IAAI,CAAC,UAAU,EAAE;oBACf,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;oBAClB,OAAO;iBACR;aACF;YAED,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;YAEpC,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC,E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cC,CARmC,eAAe,GAQlD;;;;;;IAPa,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/npm/ng-packs/dist/theme-shared/lib/abstracts/toaster.d.ts b/npm/ng-packs/dist/theme-shared/lib/abstracts/toaster.d.ts deleted file mode 100644 index 6709c0777f7..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/abstracts/toaster.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { MessageService } from 'primeng/components/common/messageservice'; -import { Observable, Subject } from 'rxjs'; -import { Toaster } from '../models/toaster'; -import { Config } from '@abp/ng.core'; -export declare abstract class AbstractToaster { - protected messageService: MessageService; - status$: Subject; - key: string; - sticky: boolean; - constructor(messageService: MessageService); - info(message: Config.LocalizationParam, title: Config.LocalizationParam, options?: T): Observable; - success(message: Config.LocalizationParam, title: Config.LocalizationParam, options?: T): Observable; - warn(message: Config.LocalizationParam, title: Config.LocalizationParam, options?: T): Observable; - error(message: Config.LocalizationParam, title: Config.LocalizationParam, options?: T): Observable; - protected show(message: Config.LocalizationParam, title: Config.LocalizationParam, severity: Toaster.Severity, options?: T): Observable; - clear(status?: Toaster.Status): void; -} diff --git a/npm/ng-packs/dist/theme-shared/lib/animations/bounce.animations.d.ts b/npm/ng-packs/dist/theme-shared/lib/animations/bounce.animations.d.ts deleted file mode 100644 index 0bff33b68c0..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/animations/bounce.animations.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const bounceIn: import("@angular/animations").AnimationReferenceMetadata; diff --git a/npm/ng-packs/dist/theme-shared/lib/animations/collapse.animations.d.ts b/npm/ng-packs/dist/theme-shared/lib/animations/collapse.animations.d.ts deleted file mode 100644 index 8936d76010b..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/animations/collapse.animations.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export declare const collapseY: import("@angular/animations").AnimationReferenceMetadata; -export declare const collapseYWithMargin: import("@angular/animations").AnimationReferenceMetadata; -export declare const collapseX: import("@angular/animations").AnimationReferenceMetadata; -export declare const expandY: import("@angular/animations").AnimationReferenceMetadata; -export declare const expandYWithMargin: import("@angular/animations").AnimationReferenceMetadata; -export declare const expandX: import("@angular/animations").AnimationReferenceMetadata; -export declare const collapse: import("@angular/animations").AnimationTriggerMetadata; -export declare const collapseWithMargin: import("@angular/animations").AnimationTriggerMetadata; -export declare const collapseLinearWithMargin: import("@angular/animations").AnimationTriggerMetadata; diff --git a/npm/ng-packs/dist/theme-shared/lib/animations/fade.animations.d.ts b/npm/ng-packs/dist/theme-shared/lib/animations/fade.animations.d.ts deleted file mode 100644 index b74cc3ebd44..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/animations/fade.animations.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare const fadeIn: import("@angular/animations").AnimationReferenceMetadata; -export declare const fadeOut: import("@angular/animations").AnimationReferenceMetadata; -export declare const fadeInDown: import("@angular/animations").AnimationReferenceMetadata; -export declare const fadeInUp: import("@angular/animations").AnimationReferenceMetadata; -export declare const fadeInLeft: import("@angular/animations").AnimationReferenceMetadata; -export declare const fadeInRight: import("@angular/animations").AnimationReferenceMetadata; -export declare const fadeOutDown: import("@angular/animations").AnimationReferenceMetadata; -export declare const fadeOutUp: import("@angular/animations").AnimationReferenceMetadata; -export declare const fadeOutLeft: import("@angular/animations").AnimationReferenceMetadata; -export declare const fadeOutRight: import("@angular/animations").AnimationReferenceMetadata; diff --git a/npm/ng-packs/dist/theme-shared/lib/animations/index.d.ts b/npm/ng-packs/dist/theme-shared/lib/animations/index.d.ts deleted file mode 100644 index 816afbaaa49..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/animations/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export * from './bounce.animations'; -export * from './collapse.animations'; -export * from './fade.animations'; -export * from './modal.animations'; -export * from './slide.animations'; diff --git a/npm/ng-packs/dist/theme-shared/lib/animations/modal.animations.d.ts b/npm/ng-packs/dist/theme-shared/lib/animations/modal.animations.d.ts deleted file mode 100644 index a348a8c9ada..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/animations/modal.animations.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const fadeAnimation: import("@angular/animations").AnimationTriggerMetadata; -export declare const dialogAnimation: import("@angular/animations").AnimationTriggerMetadata; diff --git a/npm/ng-packs/dist/theme-shared/lib/animations/slide.animations.d.ts b/npm/ng-packs/dist/theme-shared/lib/animations/slide.animations.d.ts deleted file mode 100644 index e971aa54c74..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/animations/slide.animations.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const slideFromBottom: import("@angular/animations").AnimationTriggerMetadata; diff --git a/npm/ng-packs/dist/theme-shared/lib/components/breadcrumb/breadcrumb.component.d.ts b/npm/ng-packs/dist/theme-shared/lib/components/breadcrumb/breadcrumb.component.d.ts deleted file mode 100644 index c6296baa154..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/components/breadcrumb/breadcrumb.component.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { OnInit } from '@angular/core'; -import { Router } from '@angular/router'; -import { Store } from '@ngxs/store'; -export declare class BreadcrumbComponent implements OnInit { - private router; - private store; - show: boolean; - segments: string[]; - constructor(router: Router, store: Store); - ngOnInit(): void; -} diff --git a/npm/ng-packs/dist/theme-shared/lib/components/button/button.component.d.ts b/npm/ng-packs/dist/theme-shared/lib/components/button/button.component.d.ts deleted file mode 100644 index 9e1de5c9455..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/components/button/button.component.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { EventEmitter, ElementRef, Renderer2, OnInit } from '@angular/core'; -import { ABP } from '@abp/ng.core'; -export declare class ButtonComponent implements OnInit { - private renderer; - buttonId: string; - buttonClass: string; - buttonType: string; - iconClass: string; - loading: boolean; - disabled: boolean; - attributes: ABP.Dictionary; - /** - * @deprecated use abpClick instead - */ - readonly click: EventEmitter; - /** - * @deprecated use abpFocus instead - */ - readonly focus: EventEmitter; - /** - * @deprecated use abpBlur instead - */ - readonly blur: EventEmitter; - readonly abpClick: EventEmitter; - readonly abpFocus: EventEmitter; - readonly abpBlur: EventEmitter; - buttonRef: ElementRef; - readonly icon: string; - constructor(renderer: Renderer2); - ngOnInit(): void; -} diff --git a/npm/ng-packs/dist/theme-shared/lib/components/chart/chart.component.d.ts b/npm/ng-packs/dist/theme-shared/lib/components/chart/chart.component.d.ts deleted file mode 100644 index 641d80c1d71..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/components/chart/chart.component.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, ChangeDetectorRef } from '@angular/core'; -import { BehaviorSubject } from 'rxjs'; -export declare class ChartComponent implements AfterViewInit, OnDestroy { - el: ElementRef; - private cdRef; - type: string; - options: any; - plugins: any[]; - width: string; - height: string; - responsive: boolean; - readonly onDataSelect: EventEmitter; - readonly initialized: BehaviorSubject; - private _initialized; - _data: any; - chart: any; - constructor(el: ElementRef, cdRef: ChangeDetectorRef); - data: any; - readonly canvas: any; - readonly base64Image: any; - ngAfterViewInit(): void; - testChartJs(): void; - onCanvasClick: (event: any) => void; - initChart: () => void; - generateLegend: () => any; - refresh: () => void; - reinit: () => void; - ngOnDestroy(): void; -} diff --git a/npm/ng-packs/dist/theme-shared/lib/components/confirmation/confirmation.component.d.ts b/npm/ng-packs/dist/theme-shared/lib/components/confirmation/confirmation.component.d.ts deleted file mode 100644 index 3173bbc9b39..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/components/confirmation/confirmation.component.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { ConfirmationService } from '../../services/confirmation.service'; -import { Toaster } from '../../models/toaster'; -export declare class ConfirmationComponent { - private confirmationService; - confirm: Toaster.Status; - reject: Toaster.Status; - dismiss: Toaster.Status; - constructor(confirmationService: ConfirmationService); - close(status: Toaster.Status): void; -} diff --git a/npm/ng-packs/dist/theme-shared/lib/components/http-error-wrapper/http-error-wrapper.component.d.ts b/npm/ng-packs/dist/theme-shared/lib/components/http-error-wrapper/http-error-wrapper.component.d.ts deleted file mode 100644 index abeefe0bb19..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/components/http-error-wrapper/http-error-wrapper.component.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Config } from '@abp/ng.core'; -import { AfterViewInit, ApplicationRef, ComponentFactoryResolver, ElementRef, Injector, OnDestroy, OnInit, Type } from '@angular/core'; -import { Subject } from 'rxjs'; -export declare class HttpErrorWrapperComponent implements AfterViewInit, OnDestroy, OnInit { - appRef: ApplicationRef; - cfRes: ComponentFactoryResolver; - injector: Injector; - status: number; - title: Config.LocalizationParam; - details: Config.LocalizationParam; - customComponent: Type; - destroy$: Subject; - hideCloseIcon: boolean; - backgroundColor: string; - containerRef: ElementRef; - readonly statusText: string; - ngOnInit(): void; - ngAfterViewInit(): void; - ngOnDestroy(): void; - destroy(): void; -} diff --git a/npm/ng-packs/dist/theme-shared/lib/components/index.d.ts b/npm/ng-packs/dist/theme-shared/lib/components/index.d.ts deleted file mode 100644 index c812fc601ea..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/components/index.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export * from './breadcrumb/breadcrumb.component'; -export * from './button/button.component'; -export * from './chart/chart.component'; -export * from './confirmation/confirmation.component'; -export * from './loader-bar/loader-bar.component'; -export * from './modal/modal.component'; -export * from './table-empty-message/table-empty-message.component'; -export * from './toast/toast.component'; -export * from './sort-order-icon/sort-order-icon.component'; diff --git a/npm/ng-packs/dist/theme-shared/lib/components/loader-bar/loader-bar.component.d.ts b/npm/ng-packs/dist/theme-shared/lib/components/loader-bar/loader-bar.component.d.ts deleted file mode 100644 index dfd35aece4b..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/components/loader-bar/loader-bar.component.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { StartLoader, StopLoader } from '@abp/ng.core'; -import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core'; -import { Router } from '@angular/router'; -import { Actions } from '@ngxs/store'; -import { Subscription } from 'rxjs'; -export declare class LoaderBarComponent implements OnDestroy, OnInit { - private actions; - private router; - private cdRef; - containerClass: string; - color: string; - isLoading: boolean; - progressLevel: number; - interval: Subscription; - timer: Subscription; - intervalPeriod: number; - stopDelay: number; - filter: (action: StartLoader | StopLoader) => boolean; - readonly boxShadow: string; - constructor(actions: Actions, router: Router, cdRef: ChangeDetectorRef); - ngOnInit(): void; - ngOnDestroy(): void; - startLoading(): void; - stopLoading(): void; -} diff --git a/npm/ng-packs/dist/theme-shared/lib/components/modal/modal.component.d.ts b/npm/ng-packs/dist/theme-shared/lib/components/modal/modal.component.d.ts deleted file mode 100644 index ecd9699d95a..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/components/modal/modal.component.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { ElementRef, EventEmitter, OnDestroy, Renderer2, TemplateRef } from '@angular/core'; -import { Subject } from 'rxjs'; -import { ConfirmationService } from '../../services/confirmation.service'; -import { ButtonComponent } from '../button/button.component'; -export declare type ModalSize = 'sm' | 'md' | 'lg' | 'xl'; -export declare class ModalComponent implements OnDestroy { - private renderer; - private confirmationService; - visible: boolean; - busy: boolean; - centered: boolean; - modalClass: string; - size: ModalSize; - abpSubmit: ButtonComponent; - abpHeader: TemplateRef; - abpBody: TemplateRef; - abpFooter: TemplateRef; - abpClose: ElementRef; - modalContent: ElementRef; - abpButtons: any; - readonly visibleChange: EventEmitter; - readonly init: EventEmitter; - readonly appear: EventEmitter; - readonly disappear: EventEmitter; - _visible: boolean; - _busy: boolean; - isModalOpen: boolean; - isConfirmationOpen: boolean; - destroy$: Subject; - constructor(renderer: Renderer2, confirmationService: ConfirmationService); - ngOnDestroy(): void; - close(): void; - listen(): void; -} diff --git a/npm/ng-packs/dist/theme-shared/lib/components/sort-order-icon/sort-order-icon.component.d.ts b/npm/ng-packs/dist/theme-shared/lib/components/sort-order-icon/sort-order-icon.component.d.ts deleted file mode 100644 index 09a4e1c9de1..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/components/sort-order-icon/sort-order-icon.component.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { EventEmitter } from '@angular/core'; -export declare class SortOrderIconComponent { - private _order; - private _selectedSortKey; - /** - * @deprecated use selectedSortKey instead. - */ - selectedKey: string; - selectedSortKey: string; - readonly selectedKeyChange: EventEmitter; - readonly selectedSortKeyChange: EventEmitter; - /** - * @deprecated use sortKey instead. - */ - key: string; - sortKey: string; - order: 'asc' | 'desc' | ''; - readonly orderChange: EventEmitter; - iconClass: string; - readonly icon: string; - sort(key: string): void; -} diff --git a/npm/ng-packs/dist/theme-shared/lib/components/table-empty-message/table-empty-message.component.d.ts b/npm/ng-packs/dist/theme-shared/lib/components/table-empty-message/table-empty-message.component.d.ts deleted file mode 100644 index 8d49c457363..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/components/table-empty-message/table-empty-message.component.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export declare class TableEmptyMessageComponent { - colspan: number; - message: string; - localizationResource: string; - localizationProp: string; - readonly emptyMessage: string; -} diff --git a/npm/ng-packs/dist/theme-shared/lib/components/toast/toast.component.d.ts b/npm/ng-packs/dist/theme-shared/lib/components/toast/toast.component.d.ts deleted file mode 100644 index 1361635de23..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/components/toast/toast.component.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare class ToastComponent { -} diff --git a/npm/ng-packs/dist/theme-shared/lib/constants/styles.d.ts b/npm/ng-packs/dist/theme-shared/lib/constants/styles.d.ts deleted file mode 100644 index 7c9cff5a125..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/constants/styles.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: "\n.is-invalid .form-control {\n border-color: #dc3545;\n border-style: solid !important;\n}\n\n.is-invalid .invalid-feedback,\n.is-invalid + * .invalid-feedback {\n display: block;\n}\n\n.data-tables-filter {\n text-align: right;\n}\n\n.pointer {\n cursor: pointer;\n}\n\n.navbar .dropdown-submenu a::after {\n transform: rotate(-90deg);\n position: absolute;\n right: 16px;\n top: 18px;\n}\n\n.navbar .dropdown-menu {\n min-width: 215px;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar {\n height: 5px !important;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar-track {\n background: #ddd;\n}\n\n.ui-table-scrollable-body::-webkit-scrollbar-thumb {\n background: #8a8686;\n}\n\n.modal.show {\n display: block !important;\n}\n\n.modal-backdrop {\n position: fixed;\n top: 0;\n left: 0;\n width: calc(100% - 7px);\n height: 100%;\n background-color: rgba(0, 0, 0, 0.6);\n z-index: 1040;\n}\n\n.modal::-webkit-scrollbar {\n width: 7px;\n}\n\n.modal::-webkit-scrollbar-track {\n background: #ddd;\n}\n\n.modal::-webkit-scrollbar-thumb {\n background: #8a8686;\n}\n\n.modal-dialog {\n z-index: 1050;\n}\n\n.abp-ellipsis-inline {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.abp-ellipsis {\n overflow: hidden !important;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.abp-toast .ui-toast-message {\n box-sizing: border-box;\n border: 2px solid transparent;\n border-radius: 4px;\n color: #1b1d29;\n}\n\n.abp-toast .ui-toast-message-content {\n padding: 10px;\n}\n\n.abp-toast .ui-toast-message-content .ui-toast-icon {\n top: 0;\n left: 0;\n padding: 10px;\n}\n\n.abp-toast .ui-toast-summary {\n margin: 0;\n font-weight: 700;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-error {\n border: 2px solid #ba1659;\n background-color: #f4f4f7;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-error .ui-toast-message-content .ui-toast-icon {\n color: #ba1659;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn {\n border: 2px solid #ed5d98;\n background-color: #f4f4f7;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-warn .ui-toast-message-content .ui-toast-icon {\n color: #ed5d98;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-success {\n border: 2px solid #1c9174;\n background-color: #f4f4f7;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-success .ui-toast-message-content .ui-toast-icon {\n color: #1c9174;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-info {\n border: 2px solid #fccb31;\n background-color: #f4f4f7;\n}\n\nbody abp-toast .ui-toast .ui-toast-message.ui-toast-message-info .ui-toast-message-content .ui-toast-icon {\n color: #fccb31;\n}\n\n.abp-confirm .ui-toast-message {\n box-sizing: border-box;\n padding: 0px;\n border:0 none;\n border-radius: 4px;\n background-color: transparent !important;\n font-family: \"Poppins\", sans-serif;\n text-align: center;\n}\n\n.abp-confirm .ui-toast-message-content {\n padding: 0px;\n}\n\n.abp-confirm .abp-confirm-icon {\n margin: 32px 50px 5px !important;\n color: #f8bb86 !important;\n font-size: 52px !important;\n}\n\n.abp-confirm .ui-toast-close-icon {\n display: none !important;\n}\n\n.abp-confirm .abp-confirm-summary {\n display: block !important;\n margin-bottom: 13px !important;\n padding: 13px 16px 0px !important;\n font-weight: 600 !important;\n font-size: 18px !important;\n}\n\n.abp-confirm .abp-confirm-body {\n display: inline-block !important;\n padding: 0px 10px !important;\n}\n\n.abp-confirm .abp-confirm-footer {\n display: block;\n margin-top: 30px;\n padding: 16px;\n text-align: right;\n}\n\n.abp-confirm .abp-confirm-footer .btn {\n margin-left: 10px !important;\n}\n\n.ui-widget-overlay {\n z-index: 1000;\n}\n\n.color-white {\n color: #FFF !important;\n}\n\n.custom-checkbox > label {\n cursor: pointer;\n}\n\n/* ; - constructor(actions: Actions, store: Store, confirmationService: ConfirmationService, appRef: ApplicationRef, cfRes: ComponentFactoryResolver, rendererFactory: RendererFactory2, injector: Injector, httpErrorConfig: HttpErrorConfig); - private show401Page; - private show404Page; - private showError; - private navigateToLogin; - createErrorComponent(instance: Partial): void; - canCreateCustomError(status: ErrorScreenErrorCodes): boolean; -} diff --git a/npm/ng-packs/dist/theme-shared/lib/models/common.d.ts b/npm/ng-packs/dist/theme-shared/lib/models/common.d.ts deleted file mode 100644 index 45cdd0919bd..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/models/common.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Type } from '@angular/core'; -export interface RootParams { - httpErrorConfig: HttpErrorConfig; -} -export declare type ErrorScreenErrorCodes = 401 | 403 | 404 | 500; -export interface HttpErrorConfig { - errorScreen?: { - component: Type; - forWhichErrors?: [ErrorScreenErrorCodes] | [ErrorScreenErrorCodes, ErrorScreenErrorCodes] | [ErrorScreenErrorCodes, ErrorScreenErrorCodes, ErrorScreenErrorCodes] | [ErrorScreenErrorCodes, ErrorScreenErrorCodes, ErrorScreenErrorCodes, ErrorScreenErrorCodes]; - hideCloseIcon?: boolean; - }; -} diff --git a/npm/ng-packs/dist/theme-shared/lib/models/confirmation.d.ts b/npm/ng-packs/dist/theme-shared/lib/models/confirmation.d.ts deleted file mode 100644 index 845fd74d6cb..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/models/confirmation.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Toaster } from './toaster'; -import { Config } from '@abp/ng.core'; -export declare namespace Confirmation { - interface Options extends Toaster.Options { - hideCancelBtn?: boolean; - hideYesBtn?: boolean; - cancelText?: Config.LocalizationParam; - yesText?: Config.LocalizationParam; - /** - * @deprecated to be deleted in v2 - */ - cancelCopy?: Config.LocalizationParam; - /** - * @deprecated to be deleted in v2 - */ - yesCopy?: Config.LocalizationParam; - } -} diff --git a/npm/ng-packs/dist/theme-shared/lib/models/index.d.ts b/npm/ng-packs/dist/theme-shared/lib/models/index.d.ts deleted file mode 100644 index f82171101f9..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/models/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export * from './common'; -export * from './confirmation'; -export * from './setting-management'; -export * from './statistics'; -export * from './toaster'; diff --git a/npm/ng-packs/dist/theme-shared/lib/models/setting-management.d.ts b/npm/ng-packs/dist/theme-shared/lib/models/setting-management.d.ts deleted file mode 100644 index 81b1d8344bf..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/models/setting-management.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Type } from '@angular/core'; -export interface SettingTab { - component: Type; - name: string; - order: number; - requiredPolicy?: string; -} -export declare function addSettingTab(tab: SettingTab | SettingTab[]): void; -export declare function getSettingTabs(): SettingTab[]; diff --git a/npm/ng-packs/dist/theme-shared/lib/models/statistics.d.ts b/npm/ng-packs/dist/theme-shared/lib/models/statistics.d.ts deleted file mode 100644 index 974af1e96cd..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/models/statistics.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export declare namespace Statistics { - interface Response { - data: Data; - } - interface Data { - [key: string]: number; - } - interface Filter { - startDate: string | Date; - endDate: string | Date; - } -} diff --git a/npm/ng-packs/dist/theme-shared/lib/models/toaster.d.ts b/npm/ng-packs/dist/theme-shared/lib/models/toaster.d.ts deleted file mode 100644 index 9a4cac590b8..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/models/toaster.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -export declare namespace Toaster { - interface Options { - id?: any; - closable?: boolean; - life?: number; - sticky?: boolean; - data?: any; - messageLocalizationParams?: string[]; - titleLocalizationParams?: string[]; - } - type Severity = 'success' | 'info' | 'warn' | 'error'; - const enum Status { - confirm = "confirm", - reject = "reject", - dismiss = "dismiss" - } -} diff --git a/npm/ng-packs/dist/theme-shared/lib/services/confirmation.service.d.ts b/npm/ng-packs/dist/theme-shared/lib/services/confirmation.service.d.ts deleted file mode 100644 index 9978e41ad27..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/services/confirmation.service.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { AbstractToaster } from '../abstracts/toaster'; -import { Confirmation } from '../models/confirmation'; -import { MessageService } from 'primeng/components/common/messageservice'; -import { Observable, Subject } from 'rxjs'; -import { Toaster } from '../models/toaster'; -export declare class ConfirmationService extends AbstractToaster { - protected messageService: MessageService; - key: string; - sticky: boolean; - destroy$: Subject; - constructor(messageService: MessageService); - show(message: string, title: string, severity: Toaster.Severity, options?: Confirmation.Options): Observable; - clear(status?: Toaster.Status): void; - listenToEscape(): void; -} diff --git a/npm/ng-packs/dist/theme-shared/lib/services/index.d.ts b/npm/ng-packs/dist/theme-shared/lib/services/index.d.ts deleted file mode 100644 index c53455a433c..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/services/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './confirmation.service'; -export * from './toaster.service'; diff --git a/npm/ng-packs/dist/theme-shared/lib/services/toaster.service.d.ts b/npm/ng-packs/dist/theme-shared/lib/services/toaster.service.d.ts deleted file mode 100644 index e5a48b66087..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/services/toaster.service.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { AbstractToaster } from '../abstracts/toaster'; -import { Message } from 'primeng/components/common/message'; -import { MessageService } from 'primeng/components/common/messageservice'; -export declare class ToasterService extends AbstractToaster { - protected messageService: MessageService; - constructor(messageService: MessageService); - addAll(messages: Message[]): void; -} diff --git a/npm/ng-packs/dist/theme-shared/lib/theme-shared.module.d.ts b/npm/ng-packs/dist/theme-shared/lib/theme-shared.module.d.ts deleted file mode 100644 index e8ada3c6654..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/theme-shared.module.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Injector, ModuleWithProviders } from '@angular/core'; -import { ErrorHandler } from './handlers/error.handler'; -import { RootParams } from './models/common'; -export declare function appendScript(injector: Injector): () => Promise; -export declare class ThemeSharedModule { - private errorHandler; - constructor(errorHandler: ErrorHandler); - static forRoot(options?: RootParams): ModuleWithProviders; -} diff --git a/npm/ng-packs/dist/theme-shared/lib/tokens/http-error.token.d.ts b/npm/ng-packs/dist/theme-shared/lib/tokens/http-error.token.d.ts deleted file mode 100644 index 860301d88ff..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/tokens/http-error.token.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { InjectionToken } from '@angular/core'; -import { HttpErrorConfig } from '../models/common'; -export declare function httpErrorConfigFactory(config?: HttpErrorConfig): HttpErrorConfig; -export declare const HTTP_ERROR_CONFIG: InjectionToken; diff --git a/npm/ng-packs/dist/theme-shared/lib/utils/date-parser-formatter.d.ts b/npm/ng-packs/dist/theme-shared/lib/utils/date-parser-formatter.d.ts deleted file mode 100644 index f3ab0fb0760..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/utils/date-parser-formatter.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { NgbDateParserFormatter, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap'; -import { DatePipe } from '@angular/common'; -export declare class DateParserFormatter extends NgbDateParserFormatter { - private datePipe; - constructor(datePipe: DatePipe); - parse(value: string): NgbDateStruct; - format(date: NgbDateStruct): string; -} diff --git a/npm/ng-packs/dist/theme-shared/lib/utils/index.d.ts b/npm/ng-packs/dist/theme-shared/lib/utils/index.d.ts deleted file mode 100644 index 3742880cb7e..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/utils/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './widget-utils'; -export * from './date-parser-formatter'; diff --git a/npm/ng-packs/dist/theme-shared/lib/utils/widget-utils.d.ts b/npm/ng-packs/dist/theme-shared/lib/utils/widget-utils.d.ts deleted file mode 100644 index 5d77e4306fc..00000000000 --- a/npm/ng-packs/dist/theme-shared/lib/utils/widget-utils.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { ReplaySubject } from 'rxjs'; -export declare function getRandomBackgroundColor(count: any): any[]; -export declare const chartJsLoaded$: ReplaySubject; diff --git a/npm/ng-packs/dist/theme-shared/package.json b/npm/ng-packs/dist/theme-shared/package.json deleted file mode 100644 index 202df759774..00000000000 --- a/npm/ng-packs/dist/theme-shared/package.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "@abp/ng.theme.shared", - "version": "1.1.0", - "dependencies": { - "@abp/ng.core": "^1.1.0", - "@angular/cdk": "^8.2.3", - "@fortawesome/fontawesome-free": "^5.11.2", - "@ng-bootstrap/ng-bootstrap": "^5.1.4", - "@ngx-validate/core": "^0.0.7", - "bootstrap": "^4.3.1", - "chart.js": "^2.9.2", - "font-awesome": "^4.7.0", - "ngx-perfect-scrollbar": "^8.0.0", - "primeicons": "^2.0.0", - "primeng": "^8.1.1", - "tslib": "^1.9.0" - }, - "publishConfig": { - "access": "public" - }, - "main": "bundles/abp-ng.theme.shared.umd.js", - "module": "fesm5/abp-ng.theme.shared.js", - "es2015": "fesm2015/abp-ng.theme.shared.js", - "esm5": "esm5/abp-ng.theme.shared.js", - "esm2015": "esm2015/abp-ng.theme.shared.js", - "fesm5": "fesm5/abp-ng.theme.shared.js", - "fesm2015": "fesm2015/abp-ng.theme.shared.js", - "typings": "abp-ng.theme.shared.d.ts", - "metadata": "abp-ng.theme.shared.metadata.json", - "sideEffects": false, - "gitHead": "42d9eb857fca97c046ebac4286b6831c8b8c1887" -} diff --git a/npm/ng-packs/dist/theme-shared/public-api.d.ts b/npm/ng-packs/dist/theme-shared/public-api.d.ts deleted file mode 100644 index f92cf767387..00000000000 --- a/npm/ng-packs/dist/theme-shared/public-api.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export * from './lib/theme-shared.module'; -export * from './lib/animations'; -export * from './lib/components'; -export * from './lib/directives'; -export * from './lib/models'; -export * from './lib/services'; -export * from './lib/utils';