[SG-998] Move vault folder into app folder for web (#4824)
* Move vault folder into app folder for web * Remove extra line is oss module
This commit is contained in:
parent
6f58d44833
commit
c594f23121
|
@ -24,7 +24,7 @@ import { StateFactory } from "@bitwarden/common/factories/stateFactory";
|
||||||
import { MemoryStorageService } from "@bitwarden/common/services/memoryStorage.service";
|
import { MemoryStorageService } from "@bitwarden/common/services/memoryStorage.service";
|
||||||
import { PasswordRepromptService as PasswordRepromptServiceAbstraction } from "@bitwarden/common/vault/abstractions/password-reprompt.service";
|
import { PasswordRepromptService as PasswordRepromptServiceAbstraction } from "@bitwarden/common/vault/abstractions/password-reprompt.service";
|
||||||
|
|
||||||
import { PasswordRepromptService } from "../../vault/core/password-reprompt.service";
|
import { PasswordRepromptService } from "../vault/core/password-reprompt.service";
|
||||||
|
|
||||||
import { BroadcasterMessagingService } from "./broadcaster-messaging.service";
|
import { BroadcasterMessagingService } from "./broadcaster-messaging.service";
|
||||||
import { EventService } from "./event.service";
|
import { EventService } from "./event.service";
|
||||||
|
|
|
@ -12,7 +12,7 @@ import {
|
||||||
} from "@bitwarden/common/abstractions/organization/organization.service.abstraction";
|
} from "@bitwarden/common/abstractions/organization/organization.service.abstraction";
|
||||||
import { Organization } from "@bitwarden/common/models/domain/organization";
|
import { Organization } from "@bitwarden/common/models/domain/organization";
|
||||||
|
|
||||||
import { VaultModule } from "../../vault/org-vault/vault.module";
|
import { VaultModule } from "../vault/org-vault/vault.module";
|
||||||
|
|
||||||
import { OrganizationPermissionsGuard } from "./guards/org-permissions.guard";
|
import { OrganizationPermissionsGuard } from "./guards/org-permissions.guard";
|
||||||
import { OrganizationRedirectGuard } from "./guards/org-redirect.guard";
|
import { OrganizationRedirectGuard } from "./guards/org-redirect.guard";
|
||||||
|
|
|
@ -11,11 +11,11 @@ import { CipherData } from "@bitwarden/common/vault/models/data/cipher.data";
|
||||||
import { Cipher } from "@bitwarden/common/vault/models/domain/cipher";
|
import { Cipher } from "@bitwarden/common/vault/models/domain/cipher";
|
||||||
import { CipherCollectionsRequest } from "@bitwarden/common/vault/models/request/cipher-collections.request";
|
import { CipherCollectionsRequest } from "@bitwarden/common/vault/models/request/cipher-collections.request";
|
||||||
|
|
||||||
import { CollectionsComponent as BaseCollectionsComponent } from "../../../vault/individual-vault/collections.component";
|
import { CollectionsComponent as BaseCollectionsComponent } from "../../vault/individual-vault/collections.component";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: "app-org-vault-collections",
|
selector: "app-org-vault-collections",
|
||||||
templateUrl: "../../../vault/individual-vault/collections.component.html",
|
templateUrl: "../../vault/individual-vault/collections.component.html",
|
||||||
})
|
})
|
||||||
export class CollectionsComponent extends BaseCollectionsComponent {
|
export class CollectionsComponent extends BaseCollectionsComponent {
|
||||||
organization: Organization;
|
organization: Organization;
|
||||||
|
|
|
@ -24,7 +24,6 @@ import { UpdateTempPasswordComponent } from "../auth/update-temp-password.compon
|
||||||
import { VerifyEmailTokenComponent } from "../auth/verify-email-token.component";
|
import { VerifyEmailTokenComponent } from "../auth/verify-email-token.component";
|
||||||
import { VerifyRecoverDeleteComponent } from "../auth/verify-recover-delete.component";
|
import { VerifyRecoverDeleteComponent } from "../auth/verify-recover-delete.component";
|
||||||
import { flagEnabled, Flags } from "../utils/flags";
|
import { flagEnabled, Flags } from "../utils/flags";
|
||||||
import { VaultModule } from "../vault/individual-vault/vault.module";
|
|
||||||
|
|
||||||
import { TrialInitiationComponent } from "./accounts/trial-initiation/trial-initiation.component";
|
import { TrialInitiationComponent } from "./accounts/trial-initiation/trial-initiation.component";
|
||||||
import { HomeGuard } from "./guards/home.guard";
|
import { HomeGuard } from "./guards/home.guard";
|
||||||
|
@ -46,6 +45,7 @@ import { SponsoredFamiliesComponent } from "./settings/sponsored-families.compon
|
||||||
import { SubscriptionRoutingModule } from "./settings/subscription-routing.module";
|
import { SubscriptionRoutingModule } from "./settings/subscription-routing.module";
|
||||||
import { GeneratorComponent } from "./tools/generator.component";
|
import { GeneratorComponent } from "./tools/generator.component";
|
||||||
import { ToolsComponent } from "./tools/tools.component";
|
import { ToolsComponent } from "./tools/tools.component";
|
||||||
|
import { VaultModule } from "./vault/individual-vault/vault.module";
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
import { NgModule } from "@angular/core";
|
import { NgModule } from "@angular/core";
|
||||||
|
|
||||||
import { LoginModule } from "../auth/login/login.module";
|
import { LoginModule } from "../auth/login/login.module";
|
||||||
import { OrganizationBadgeModule } from "../vault/individual-vault/organization-badge/organization-badge.module";
|
|
||||||
import { VaultFilterModule } from "../vault/individual-vault/vault-filter/vault-filter.module";
|
|
||||||
|
|
||||||
import { TrialInitiationModule } from "./accounts/trial-initiation/trial-initiation.module";
|
import { TrialInitiationModule } from "./accounts/trial-initiation/trial-initiation.module";
|
||||||
import { OrganizationCreateModule } from "./organizations/create/organization-create.module";
|
import { OrganizationCreateModule } from "./organizations/create/organization-create.module";
|
||||||
import { OrganizationManageModule } from "./organizations/manage/organization-manage.module";
|
import { OrganizationManageModule } from "./organizations/manage/organization-manage.module";
|
||||||
import { OrganizationUserModule } from "./organizations/users/organization-user.module";
|
import { OrganizationUserModule } from "./organizations/users/organization-user.module";
|
||||||
import { LooseComponentsModule, SharedModule } from "./shared";
|
import { LooseComponentsModule, SharedModule } from "./shared";
|
||||||
|
import { OrganizationBadgeModule } from "./vault/individual-vault/organization-badge/organization-badge.module";
|
||||||
|
import { VaultFilterModule } from "./vault/individual-vault/vault-filter/vault-filter.module";
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
|
|
|
@ -7,8 +7,8 @@ import { PasswordRepromptService } from "@bitwarden/common/vault/abstractions/pa
|
||||||
import { CipherRepromptType } from "@bitwarden/common/vault/enums/cipher-reprompt-type";
|
import { CipherRepromptType } from "@bitwarden/common/vault/enums/cipher-reprompt-type";
|
||||||
import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view";
|
import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view";
|
||||||
|
|
||||||
import { AddEditComponent } from "../../../vault/individual-vault/add-edit.component";
|
import { AddEditComponent } from "../../vault/individual-vault/add-edit.component";
|
||||||
import { AddEditComponent as OrgAddEditComponent } from "../../../vault/org-vault/add-edit.component";
|
import { AddEditComponent as OrgAddEditComponent } from "../../vault/org-vault/add-edit.component";
|
||||||
|
|
||||||
@Directive()
|
@Directive()
|
||||||
export class CipherReportComponent {
|
export class CipherReportComponent {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import { Meta, Story, moduleMetadata } from "@storybook/angular";
|
||||||
import { JslibModule } from "@bitwarden/angular/jslib.module";
|
import { JslibModule } from "@bitwarden/angular/jslib.module";
|
||||||
import { BadgeModule, IconModule } from "@bitwarden/components";
|
import { BadgeModule, IconModule } from "@bitwarden/components";
|
||||||
|
|
||||||
import { PremiumBadgeComponent } from "../../../../vault/components/premium-badge.component";
|
|
||||||
import { PreloadedEnglishI18nModule } from "../../../tests/preloaded-english-i18n.module";
|
import { PreloadedEnglishI18nModule } from "../../../tests/preloaded-english-i18n.module";
|
||||||
|
import { PremiumBadgeComponent } from "../../../vault/components/premium-badge.component";
|
||||||
import { ReportVariant } from "../models/report-variant";
|
import { ReportVariant } from "../models/report-variant";
|
||||||
|
|
||||||
import { ReportCardComponent } from "./report-card.component";
|
import { ReportCardComponent } from "./report-card.component";
|
||||||
|
|
|
@ -4,8 +4,8 @@ import { Meta, Story, moduleMetadata } from "@storybook/angular";
|
||||||
import { JslibModule } from "@bitwarden/angular/jslib.module";
|
import { JslibModule } from "@bitwarden/angular/jslib.module";
|
||||||
import { BadgeModule, IconModule } from "@bitwarden/components";
|
import { BadgeModule, IconModule } from "@bitwarden/components";
|
||||||
|
|
||||||
import { PremiumBadgeComponent } from "../../../../vault/components/premium-badge.component";
|
|
||||||
import { PreloadedEnglishI18nModule } from "../../../tests/preloaded-english-i18n.module";
|
import { PreloadedEnglishI18nModule } from "../../../tests/preloaded-english-i18n.module";
|
||||||
|
import { PremiumBadgeComponent } from "../../../vault/components/premium-badge.component";
|
||||||
import { reports } from "../../reports";
|
import { reports } from "../../reports";
|
||||||
import { ReportVariant } from "../models/report-variant";
|
import { ReportVariant } from "../models/report-variant";
|
||||||
import { ReportCardComponent } from "../report-card/report-card.component";
|
import { ReportCardComponent } from "../report-card/report-card.component";
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import { NgModule } from "@angular/core";
|
import { NgModule } from "@angular/core";
|
||||||
|
|
||||||
import { PasswordRepromptComponent } from "../../../src/vault/components/password-reprompt.component";
|
|
||||||
import { AcceptEmergencyComponent } from "../../auth/accept-emergency.component";
|
import { AcceptEmergencyComponent } from "../../auth/accept-emergency.component";
|
||||||
import { AcceptOrganizationComponent } from "../../auth/accept-organization.component";
|
import { AcceptOrganizationComponent } from "../../auth/accept-organization.component";
|
||||||
import { HintComponent } from "../../auth/hint.component";
|
import { HintComponent } from "../../auth/hint.component";
|
||||||
|
@ -34,15 +33,6 @@ import { UpdatePasswordComponent } from "../../auth/update-password.component";
|
||||||
import { UpdateTempPasswordComponent } from "../../auth/update-temp-password.component";
|
import { UpdateTempPasswordComponent } from "../../auth/update-temp-password.component";
|
||||||
import { VerifyEmailTokenComponent } from "../../auth/verify-email-token.component";
|
import { VerifyEmailTokenComponent } from "../../auth/verify-email-token.component";
|
||||||
import { VerifyRecoverDeleteComponent } from "../../auth/verify-recover-delete.component";
|
import { VerifyRecoverDeleteComponent } from "../../auth/verify-recover-delete.component";
|
||||||
import { PremiumBadgeComponent } from "../../vault/components/premium-badge.component";
|
|
||||||
import { AddEditCustomFieldsComponent } from "../../vault/individual-vault/add-edit-custom-fields.component";
|
|
||||||
import { AddEditComponent } from "../../vault/individual-vault/add-edit.component";
|
|
||||||
import { AttachmentsComponent } from "../../vault/individual-vault/attachments.component";
|
|
||||||
import { CollectionsComponent } from "../../vault/individual-vault/collections.component";
|
|
||||||
import { FolderAddEditComponent } from "../../vault/individual-vault/folder-add-edit.component";
|
|
||||||
import { ShareComponent } from "../../vault/individual-vault/share.component";
|
|
||||||
import { AddEditComponent as OrgAddEditComponent } from "../../vault/org-vault/add-edit.component";
|
|
||||||
import { AttachmentsComponent as OrgAttachmentsComponent } from "../../vault/org-vault/attachments.component";
|
|
||||||
import { DynamicAvatarComponent } from "../components/dynamic-avatar.component";
|
import { DynamicAvatarComponent } from "../components/dynamic-avatar.component";
|
||||||
import { OrganizationSwitcherComponent } from "../components/organization-switcher.component";
|
import { OrganizationSwitcherComponent } from "../components/organization-switcher.component";
|
||||||
import { SelectableAvatarComponent } from "../components/selectable-avatar.component";
|
import { SelectableAvatarComponent } from "../components/selectable-avatar.component";
|
||||||
|
@ -111,6 +101,16 @@ import { VaultTimeoutInputComponent } from "../settings/vault-timeout-input.comp
|
||||||
import { GeneratorComponent } from "../tools/generator.component";
|
import { GeneratorComponent } from "../tools/generator.component";
|
||||||
import { PasswordGeneratorHistoryComponent } from "../tools/password-generator-history.component";
|
import { PasswordGeneratorHistoryComponent } from "../tools/password-generator-history.component";
|
||||||
import { ToolsComponent } from "../tools/tools.component";
|
import { ToolsComponent } from "../tools/tools.component";
|
||||||
|
import { PasswordRepromptComponent } from "../vault/components/password-reprompt.component";
|
||||||
|
import { PremiumBadgeComponent } from "../vault/components/premium-badge.component";
|
||||||
|
import { AddEditCustomFieldsComponent } from "../vault/individual-vault/add-edit-custom-fields.component";
|
||||||
|
import { AddEditComponent } from "../vault/individual-vault/add-edit.component";
|
||||||
|
import { AttachmentsComponent } from "../vault/individual-vault/attachments.component";
|
||||||
|
import { CollectionsComponent } from "../vault/individual-vault/collections.component";
|
||||||
|
import { FolderAddEditComponent } from "../vault/individual-vault/folder-add-edit.component";
|
||||||
|
import { ShareComponent } from "../vault/individual-vault/share.component";
|
||||||
|
import { AddEditComponent as OrgAddEditComponent } from "../vault/org-vault/add-edit.component";
|
||||||
|
import { AttachmentsComponent as OrgAttachmentsComponent } from "../vault/org-vault/attachments.component";
|
||||||
|
|
||||||
import { SharedModule } from "./shared.module";
|
import { SharedModule } from "./shared.module";
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { NgModule } from "@angular/core";
|
import { NgModule } from "@angular/core";
|
||||||
|
|
||||||
import { SharedModule } from "../../../app/shared";
|
import { SharedModule } from "../../../shared";
|
||||||
|
|
||||||
import { BulkDeleteDialogComponent } from "./bulk-delete-dialog/bulk-delete-dialog.component";
|
import { BulkDeleteDialogComponent } from "./bulk-delete-dialog/bulk-delete-dialog.component";
|
||||||
import { BulkMoveDialogComponent } from "./bulk-move-dialog/bulk-move-dialog.component";
|
import { BulkMoveDialogComponent } from "./bulk-move-dialog/bulk-move-dialog.component";
|
|
@ -1,6 +1,6 @@
|
||||||
import { NgModule } from "@angular/core";
|
import { NgModule } from "@angular/core";
|
||||||
|
|
||||||
import { SharedModule } from "../../../app/shared";
|
import { SharedModule } from "../../../shared";
|
||||||
|
|
||||||
import { OrganizationNameBadgeComponent } from "./organization-name-badge.component";
|
import { OrganizationNameBadgeComponent } from "./organization-name-badge.component";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { Pipe, PipeTransform } from "@angular/core";
|
import { Pipe, PipeTransform } from "@angular/core";
|
||||||
|
|
||||||
import { GroupView } from "../../../app/organizations/core";
|
import { GroupView } from "../../../organizations/core";
|
||||||
|
|
||||||
@Pipe({
|
@Pipe({
|
||||||
name: "groupNameFromId",
|
name: "groupNameFromId",
|
|
@ -15,7 +15,7 @@ import { Organization } from "@bitwarden/common/models/domain/organization";
|
||||||
import { Policy } from "@bitwarden/common/models/domain/policy";
|
import { Policy } from "@bitwarden/common/models/domain/policy";
|
||||||
import { SyncService } from "@bitwarden/common/vault/abstractions/sync/sync.service.abstraction";
|
import { SyncService } from "@bitwarden/common/vault/abstractions/sync/sync.service.abstraction";
|
||||||
|
|
||||||
import { EnrollMasterPasswordReset } from "../../../../app/organizations/users/enroll-master-password-reset.component";
|
import { EnrollMasterPasswordReset } from "../../../../organizations/users/enroll-master-password-reset.component";
|
||||||
import { OptionsInput } from "../shared/components/vault-filter-section.component";
|
import { OptionsInput } from "../shared/components/vault-filter-section.component";
|
||||||
import { OrganizationFilter } from "../shared/models/vault-filter.type";
|
import { OrganizationFilter } from "../shared/models/vault-filter.type";
|
||||||
|
|
|
@ -24,7 +24,7 @@ import { CipherService } from "@bitwarden/common/vault/abstractions/cipher.servi
|
||||||
import { FolderService } from "@bitwarden/common/vault/abstractions/folder/folder.service.abstraction";
|
import { FolderService } from "@bitwarden/common/vault/abstractions/folder/folder.service.abstraction";
|
||||||
import { FolderView } from "@bitwarden/common/vault/models/view/folder.view";
|
import { FolderView } from "@bitwarden/common/vault/models/view/folder.view";
|
||||||
|
|
||||||
import { CollectionAdminView } from "../../../../app/organizations/core";
|
import { CollectionAdminView } from "../../../../organizations/core";
|
||||||
import {
|
import {
|
||||||
CipherTypeFilter,
|
CipherTypeFilter,
|
||||||
CollectionFilter,
|
CollectionFilter,
|
|
@ -3,7 +3,7 @@ import { ITreeNodeObject } from "@bitwarden/common/src/models/domain/tree-node";
|
||||||
import { FolderView } from "@bitwarden/common/src/vault/models/view/folder.view";
|
import { FolderView } from "@bitwarden/common/src/vault/models/view/folder.view";
|
||||||
import { CipherType } from "@bitwarden/common/vault/enums/cipher-type";
|
import { CipherType } from "@bitwarden/common/vault/enums/cipher-type";
|
||||||
|
|
||||||
import { CollectionAdminView } from "../../../../../app/organizations/core";
|
import { CollectionAdminView } from "../../../../../organizations/core";
|
||||||
|
|
||||||
export type CipherStatus = "all" | "favorites" | "trash" | CipherType;
|
export type CipherStatus = "all" | "favorites" | "trash" | CipherType;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { NgModule } from "@angular/core";
|
import { NgModule } from "@angular/core";
|
||||||
|
|
||||||
import { SharedModule } from "../../../../app/shared";
|
import { SharedModule } from "../../../../shared";
|
||||||
|
|
||||||
import { VaultFilterSectionComponent } from "./components/vault-filter-section.component";
|
import { VaultFilterSectionComponent } from "./components/vault-filter-section.component";
|
||||||
|
|
|
@ -23,7 +23,7 @@ import { CipherType } from "@bitwarden/common/vault/enums/cipher-type";
|
||||||
import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view";
|
import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view";
|
||||||
import { DialogService, Icons } from "@bitwarden/components";
|
import { DialogService, Icons } from "@bitwarden/components";
|
||||||
|
|
||||||
import { CollectionAdminView, GroupView } from "../../app/organizations/core";
|
import { CollectionAdminView, GroupView } from "../../organizations/core";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
BulkDeleteDialogResult,
|
BulkDeleteDialogResult,
|
|
@ -28,7 +28,7 @@ import { PasswordRepromptService } from "@bitwarden/common/vault/abstractions/pa
|
||||||
import { SyncService } from "@bitwarden/common/vault/abstractions/sync/sync.service.abstraction";
|
import { SyncService } from "@bitwarden/common/vault/abstractions/sync/sync.service.abstraction";
|
||||||
import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view";
|
import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view";
|
||||||
|
|
||||||
import { UpdateKeyComponent } from "../../app/settings/update-key.component";
|
import { UpdateKeyComponent } from "../../settings/update-key.component";
|
||||||
|
|
||||||
import { AddEditComponent } from "./add-edit.component";
|
import { AddEditComponent } from "./add-edit.component";
|
||||||
import { AttachmentsComponent } from "./attachments.component";
|
import { AttachmentsComponent } from "./attachments.component";
|
|
@ -2,7 +2,7 @@ import { NgModule } from "@angular/core";
|
||||||
|
|
||||||
import { BreadcrumbsModule } from "@bitwarden/components";
|
import { BreadcrumbsModule } from "@bitwarden/components";
|
||||||
|
|
||||||
import { LooseComponentsModule, SharedModule } from "../../app/shared";
|
import { LooseComponentsModule, SharedModule } from "../../shared";
|
||||||
import { CollectionBadgeModule } from "../org-vault/collection-badge/collection-badge.module";
|
import { CollectionBadgeModule } from "../org-vault/collection-badge/collection-badge.module";
|
||||||
import { GroupBadgeModule } from "../org-vault/group-badge/group-badge.module";
|
import { GroupBadgeModule } from "../org-vault/group-badge/group-badge.module";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { NgModule } from "@angular/core";
|
import { NgModule } from "@angular/core";
|
||||||
|
|
||||||
import { SharedModule } from "../../../app/shared";
|
import { SharedModule } from "../../../shared";
|
||||||
import { PipesModule } from "../../individual-vault/pipes/pipes.module";
|
import { PipesModule } from "../../individual-vault/pipes/pipes.module";
|
||||||
|
|
||||||
import { CollectionNameBadgeComponent } from "./collection-name.badge.component";
|
import { CollectionNameBadgeComponent } from "./collection-name.badge.component";
|
|
@ -1,6 +1,6 @@
|
||||||
import { NgModule } from "@angular/core";
|
import { NgModule } from "@angular/core";
|
||||||
|
|
||||||
import { SharedModule } from "../../../app/shared";
|
import { SharedModule } from "../../../shared";
|
||||||
import { PipesModule } from "../../individual-vault/pipes/pipes.module";
|
import { PipesModule } from "../../individual-vault/pipes/pipes.module";
|
||||||
|
|
||||||
import { GroupNameBadgeComponent } from "./group-name-badge.component";
|
import { GroupNameBadgeComponent } from "./group-name-badge.component";
|
|
@ -3,7 +3,7 @@ import { Component, Input, OnChanges } from "@angular/core";
|
||||||
import { I18nService } from "@bitwarden/common/abstractions/i18n.service";
|
import { I18nService } from "@bitwarden/common/abstractions/i18n.service";
|
||||||
import { SelectionReadOnlyRequest } from "@bitwarden/common/models/request/selection-read-only.request";
|
import { SelectionReadOnlyRequest } from "@bitwarden/common/models/request/selection-read-only.request";
|
||||||
|
|
||||||
import { GroupView } from "../../../app/organizations/core";
|
import { GroupView } from "../../../organizations/core";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: "app-group-badge",
|
selector: "app-group-badge",
|
|
@ -14,8 +14,8 @@ import { TreeNode } from "@bitwarden/common/models/domain/tree-node";
|
||||||
import { CipherService } from "@bitwarden/common/vault/abstractions/cipher.service";
|
import { CipherService } from "@bitwarden/common/vault/abstractions/cipher.service";
|
||||||
import { FolderService } from "@bitwarden/common/vault/abstractions/folder/folder.service.abstraction";
|
import { FolderService } from "@bitwarden/common/vault/abstractions/folder/folder.service.abstraction";
|
||||||
|
|
||||||
import { CollectionAdminView } from "../../../app/organizations/core";
|
import { CollectionAdminView } from "../../../organizations/core";
|
||||||
import { CollectionAdminService } from "../../../app/organizations/core/services/collection-admin.service";
|
import { CollectionAdminService } from "../../../organizations/core/services/collection-admin.service";
|
||||||
import { VaultFilterService as BaseVaultFilterService } from "../../individual-vault/vault-filter/services/vault-filter.service";
|
import { VaultFilterService as BaseVaultFilterService } from "../../individual-vault/vault-filter/services/vault-filter.service";
|
||||||
import { CollectionFilter } from "../../individual-vault/vault-filter/shared/models/vault-filter.type";
|
import { CollectionFilter } from "../../individual-vault/vault-filter/shared/models/vault-filter.type";
|
||||||
|
|
|
@ -18,12 +18,12 @@ import {
|
||||||
SimpleDialogType,
|
SimpleDialogType,
|
||||||
} from "@bitwarden/components";
|
} from "@bitwarden/components";
|
||||||
|
|
||||||
import { CollectionAdminService, CollectionAdminView } from "../../../app/organizations/core";
|
import { CollectionAdminService, CollectionAdminView } from "../../../organizations/core";
|
||||||
import {
|
import {
|
||||||
CollectionDialogResult,
|
CollectionDialogResult,
|
||||||
CollectionDialogTabType,
|
CollectionDialogTabType,
|
||||||
openCollectionDialog,
|
openCollectionDialog,
|
||||||
} from "../../../app/organizations/shared";
|
} from "../../../organizations/shared";
|
||||||
import { VaultFilterService } from "../../individual-vault/vault-filter/services/abstractions/vault-filter.service";
|
import { VaultFilterService } from "../../individual-vault/vault-filter/services/abstractions/vault-filter.service";
|
||||||
import { VaultFilter } from "../../individual-vault/vault-filter/shared/models/vault-filter.model";
|
import { VaultFilter } from "../../individual-vault/vault-filter/shared/models/vault-filter.model";
|
||||||
import { CollectionFilter } from "../../individual-vault/vault-filter/shared/models/vault-filter.type";
|
import { CollectionFilter } from "../../individual-vault/vault-filter/shared/models/vault-filter.type";
|
|
@ -20,13 +20,13 @@ import { PasswordRepromptService } from "@bitwarden/common/vault/abstractions/pa
|
||||||
import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view";
|
import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view";
|
||||||
import { DialogService } from "@bitwarden/components";
|
import { DialogService } from "@bitwarden/components";
|
||||||
|
|
||||||
import { CollectionAdminView } from "../../app/organizations/core";
|
import { CollectionAdminView } from "../../organizations/core";
|
||||||
import { GroupService } from "../../app/organizations/core/services/group/group.service";
|
import { GroupService } from "../../organizations/core/services/group/group.service";
|
||||||
import {
|
import {
|
||||||
CollectionDialogResult,
|
CollectionDialogResult,
|
||||||
CollectionDialogTabType,
|
CollectionDialogTabType,
|
||||||
openCollectionDialog,
|
openCollectionDialog,
|
||||||
} from "../../app/organizations/shared/components/collection-dialog/collection-dialog.component";
|
} from "../../organizations/shared/components/collection-dialog/collection-dialog.component";
|
||||||
import {
|
import {
|
||||||
BulkDeleteDialogResult,
|
BulkDeleteDialogResult,
|
||||||
openBulkDeleteDialog,
|
openBulkDeleteDialog,
|
|
@ -3,7 +3,7 @@ import { RouterModule, Routes } from "@angular/router";
|
||||||
|
|
||||||
import { canAccessVaultTab } from "@bitwarden/common/abstractions/organization/organization.service.abstraction";
|
import { canAccessVaultTab } from "@bitwarden/common/abstractions/organization/organization.service.abstraction";
|
||||||
|
|
||||||
import { OrganizationPermissionsGuard } from "../../app/organizations/guards/org-permissions.guard";
|
import { OrganizationPermissionsGuard } from "../../organizations/guards/org-permissions.guard";
|
||||||
|
|
||||||
import { VaultComponent } from "./vault.component";
|
import { VaultComponent } from "./vault.component";
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
|
@ -24,8 +24,8 @@ import { SyncService } from "@bitwarden/common/vault/abstractions/sync/sync.serv
|
||||||
import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view";
|
import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view";
|
||||||
import { DialogService } from "@bitwarden/components";
|
import { DialogService } from "@bitwarden/components";
|
||||||
|
|
||||||
import { EntityEventsComponent } from "../../app/organizations/manage/entity-events.component";
|
import { EntityEventsComponent } from "../../organizations/manage/entity-events.component";
|
||||||
import { CollectionsComponent } from "../../app/organizations/vault/collections.component";
|
import { CollectionsComponent } from "../../organizations/vault/collections.component";
|
||||||
import { VaultFilterService } from "../../vault/individual-vault/vault-filter/services/abstractions/vault-filter.service";
|
import { VaultFilterService } from "../../vault/individual-vault/vault-filter/services/abstractions/vault-filter.service";
|
||||||
import { VaultFilter } from "../../vault/individual-vault/vault-filter/shared/models/vault-filter.model";
|
import { VaultFilter } from "../../vault/individual-vault/vault-filter/shared/models/vault-filter.model";
|
||||||
|
|
|
@ -2,11 +2,8 @@ import { NgModule } from "@angular/core";
|
||||||
|
|
||||||
import { BreadcrumbsModule } from "@bitwarden/components";
|
import { BreadcrumbsModule } from "@bitwarden/components";
|
||||||
|
|
||||||
// TODO refine elsint rule for **/app/shared/* for both of these imports
|
import { LooseComponentsModule } from "../../shared/loose-components.module";
|
||||||
// eslint-disable-next-line no-restricted-imports
|
import { SharedModule } from "../../shared/shared.module";
|
||||||
import { LooseComponentsModule } from "../../app/shared/loose-components.module";
|
|
||||||
// eslint-disable-next-line no-restricted-imports
|
|
||||||
import { SharedModule } from "../../app/shared/shared.module";
|
|
||||||
import { OrganizationBadgeModule } from "../../vault/individual-vault/organization-badge/organization-badge.module";
|
import { OrganizationBadgeModule } from "../../vault/individual-vault/organization-badge/organization-badge.module";
|
||||||
import { PipesModule } from "../../vault/individual-vault/pipes/pipes.module";
|
import { PipesModule } from "../../vault/individual-vault/pipes/pipes.module";
|
||||||
|
|
|
@ -13,7 +13,7 @@ import { AttachmentView } from "@bitwarden/common/vault/models/view/attachment.v
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: "emergency-access-attachments",
|
selector: "emergency-access-attachments",
|
||||||
templateUrl: "../../../vault/individual-vault/attachments.component.html",
|
templateUrl: "../../../app/vault/individual-vault/attachments.component.html",
|
||||||
})
|
})
|
||||||
export class EmergencyAccessAttachmentsComponent extends BaseAttachmentsComponent {
|
export class EmergencyAccessAttachmentsComponent extends BaseAttachmentsComponent {
|
||||||
viewOnly = true;
|
viewOnly = true;
|
||||||
|
|
|
@ -17,11 +17,11 @@ import { FolderService } from "@bitwarden/common/vault/abstractions/folder/folde
|
||||||
import { PasswordRepromptService } from "@bitwarden/common/vault/abstractions/password-reprompt.service";
|
import { PasswordRepromptService } from "@bitwarden/common/vault/abstractions/password-reprompt.service";
|
||||||
import { Cipher } from "@bitwarden/common/vault/models/domain/cipher";
|
import { Cipher } from "@bitwarden/common/vault/models/domain/cipher";
|
||||||
|
|
||||||
import { AddEditComponent as BaseAddEditComponent } from "../../../vault/individual-vault/add-edit.component";
|
import { AddEditComponent as BaseAddEditComponent } from "../../../app/vault/individual-vault/add-edit.component";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: "app-org-vault-add-edit",
|
selector: "app-org-vault-add-edit",
|
||||||
templateUrl: "../../../vault/individual-vault/add-edit.component.html",
|
templateUrl: "../../../app/vault/individual-vault/add-edit.component.html",
|
||||||
})
|
})
|
||||||
export class EmergencyAddEditComponent extends BaseAddEditComponent {
|
export class EmergencyAddEditComponent extends BaseAddEditComponent {
|
||||||
originalCipher: Cipher = null;
|
originalCipher: Cipher = null;
|
||||||
|
|
Loading…
Reference in New Issue