@brggroup/share-lib 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/brggroup-share-lib.mjs +3379 -2363
- package/fesm2022/brggroup-share-lib.mjs.map +1 -1
- package/lib/components/dynamic-form/dynamic-form-test/dynamic-form-test.d.ts.map +1 -1
- package/lib/drive/components/drive-attachment-box/drive-attachment-box.d.ts +1 -1
- package/lib/drive/components/drive-attachment-box/drive-attachment-box.d.ts.map +1 -1
- package/lib/drive/components/drive-explorer/controllers/drive-explorer-dragdrop.base.d.ts +32 -0
- package/lib/drive/components/drive-explorer/controllers/drive-explorer-dragdrop.base.d.ts.map +1 -0
- package/lib/drive/components/drive-explorer/controllers/drive-explorer-drawers.base.d.ts +34 -0
- package/lib/drive/components/drive-explorer/controllers/drive-explorer-drawers.base.d.ts.map +1 -0
- package/lib/drive/components/drive-explorer/controllers/drive-explorer-navigation.base.d.ts +47 -0
- package/lib/drive/components/drive-explorer/controllers/drive-explorer-navigation.base.d.ts.map +1 -0
- package/lib/drive/components/drive-explorer/controllers/drive-explorer-state.base.d.ts +155 -0
- package/lib/drive/components/drive-explorer/controllers/drive-explorer-state.base.d.ts.map +1 -0
- package/lib/drive/components/drive-explorer/controllers/drive-explorer-templates.base.d.ts +25 -0
- package/lib/drive/components/drive-explorer/controllers/drive-explorer-templates.base.d.ts.map +1 -0
- package/lib/drive/components/drive-explorer/controllers/index.d.ts +6 -0
- package/lib/drive/components/drive-explorer/controllers/index.d.ts.map +1 -0
- package/lib/drive/components/drive-explorer/drive-explorer.d.ts +4 -229
- package/lib/drive/components/drive-explorer/drive-explorer.d.ts.map +1 -1
- package/lib/drive/components/drive-folder-embed/drive-folder-embed.d.ts +1 -1
- package/lib/drive/components/drive-folder-embed/drive-folder-embed.d.ts.map +1 -1
- package/lib/drive/components/drive-permission-matrix/drive-permission-matrix.base.d.ts +109 -0
- package/lib/drive/components/drive-permission-matrix/drive-permission-matrix.base.d.ts.map +1 -0
- package/lib/drive/components/drive-permission-matrix/drive-permission-matrix.d.ts +6 -184
- package/lib/drive/components/drive-permission-matrix/drive-permission-matrix.d.ts.map +1 -1
- package/lib/drive/components/drive-picker/drive-picker.d.ts +2 -2
- package/lib/drive/components/drive-picker/drive-picker.d.ts.map +1 -1
- package/lib/drive/components/drive-share-viewer/drive-share-viewer.d.ts.map +1 -1
- package/lib/drive/models/common.model.d.ts +14 -0
- package/lib/drive/models/common.model.d.ts.map +1 -0
- package/lib/drive/models/custom-space.model.d.ts +18 -0
- package/lib/drive/models/custom-space.model.d.ts.map +1 -0
- package/lib/drive/models/enums.model.d.ts +27 -0
- package/lib/drive/models/enums.model.d.ts.map +1 -0
- package/lib/drive/models/explorer.model.d.ts +67 -0
- package/lib/drive/models/explorer.model.d.ts.map +1 -0
- package/lib/drive/models/folder-template.model.d.ts +91 -0
- package/lib/drive/models/folder-template.model.d.ts.map +1 -0
- package/lib/drive/models/index.d.ts +13 -0
- package/lib/drive/models/index.d.ts.map +1 -0
- package/lib/drive/models/integration.model.d.ts +58 -0
- package/lib/drive/models/integration.model.d.ts.map +1 -0
- package/lib/drive/models/permission-matrix.model.d.ts +95 -0
- package/lib/drive/models/permission-matrix.model.d.ts.map +1 -0
- package/lib/drive/models/permission.model.d.ts +52 -0
- package/lib/drive/models/permission.model.d.ts.map +1 -0
- package/lib/drive/models/quota.model.d.ts +27 -0
- package/lib/drive/models/quota.model.d.ts.map +1 -0
- package/lib/drive/models/sharing.model.d.ts +51 -0
- package/lib/drive/models/sharing.model.d.ts.map +1 -0
- package/lib/drive/models/storage.model.d.ts +6 -0
- package/lib/drive/models/storage.model.d.ts.map +1 -0
- package/lib/drive/models/upload.model.d.ts +48 -0
- package/lib/drive/models/upload.model.d.ts.map +1 -0
- package/lib/drive/models.d.ts +1 -478
- package/lib/drive/models.d.ts.map +1 -1
- package/lib/drive/service.d.ts +2 -178
- package/lib/drive/service.d.ts.map +1 -1
- package/lib/drive/services/drive-explorer.base.d.ts +31 -0
- package/lib/drive/services/drive-explorer.base.d.ts.map +1 -0
- package/lib/drive/services/drive-sharing-quota.base.d.ts +27 -0
- package/lib/drive/services/drive-sharing-quota.base.d.ts.map +1 -0
- package/lib/drive/services/drive-state.base.d.ts +65 -0
- package/lib/drive/services/drive-state.base.d.ts.map +1 -0
- package/lib/drive/services/drive-template.base.d.ts +25 -0
- package/lib/drive/services/drive-template.base.d.ts.map +1 -0
- package/lib/drive/services/drive-upload.base.d.ts +30 -0
- package/lib/drive/services/drive-upload.base.d.ts.map +1 -0
- package/lib/drive/services/drive.service.d.ts +25 -0
- package/lib/drive/services/drive.service.d.ts.map +1 -0
- package/lib/drive/services/index.d.ts +7 -0
- package/lib/drive/services/index.d.ts.map +1 -0
- package/lib/drive/utils/drive-file-drop.util.d.ts +3 -0
- package/lib/drive/utils/drive-file-drop.util.d.ts.map +1 -0
- package/lib/drive/utils/drive-format.util.d.ts +31 -0
- package/lib/drive/utils/drive-format.util.d.ts.map +1 -0
- package/lib/drive/utils/drive-mapper.util.d.ts +15 -0
- package/lib/drive/utils/drive-mapper.util.d.ts.map +1 -0
- package/lib/drive/utils/drive-sort.util.d.ts +5 -0
- package/lib/drive/utils/drive-sort.util.d.ts.map +1 -0
- package/lib/drive/utils/drive-template-tree.util.d.ts +17 -0
- package/lib/drive/utils/drive-template-tree.util.d.ts.map +1 -0
- package/lib/drive/utils/index.d.ts +6 -0
- package/lib/drive/utils/index.d.ts.map +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
- package/public-api.d.ts.map +1 -1
- package/lib/components/dic-domain-select/dic-domain-select.d.ts +0 -2
- package/lib/components/dic-domain-select/dic-domain-select.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drive-explorer.d.ts","sourceRoot":"","sources":["../../../../../../projects/share/src/lib/drive/components/drive-explorer/drive-explorer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"drive-explorer.d.ts","sourceRoot":"","sources":["../../../../../../projects/share/src/lib/drive/components/drive-explorer/drive-explorer.ts"],"names":[],"mappings":"AAOA,OAAO,EAAa,SAAS,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AAgCrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;;AAEzD,qBAuCa,sBAAuB,SAAQ,wBAAyB,YAAW,MAAM,EAAE,SAAS;;IAyB/F,QAAQ,IAAI,IAAI;IA2BhB,WAAW,IAAI,IAAI;IAMnB,wBAAwB,IAAI,IAAI;IAMhC,OAAO,CAAC,mCAAmC;yCAhEhC,sBAAsB;2CAAtB,sBAAsB;CA6FlC"}
|
|
@@ -54,7 +54,7 @@ export declare class DriveFolderEmbedComponent extends BaseComponent implements
|
|
|
54
54
|
onAttachFromDrive(nodes: DriveNodeDto[]): Promise<void>;
|
|
55
55
|
deleteOrDetachItem(item: DriveNodeDto): Promise<void>;
|
|
56
56
|
previewFile(item: DriveNodeDto): Promise<void>;
|
|
57
|
-
downloadFile(item: DriveNodeDto): void;
|
|
57
|
+
downloadFile(item: DriveNodeDto, skipConfirm?: boolean): void;
|
|
58
58
|
openVersion(item: DriveNodeDto): void;
|
|
59
59
|
openShare(item: DriveNodeDto): void;
|
|
60
60
|
getFileIcon(item: DriveNodeDto): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drive-folder-embed.d.ts","sourceRoot":"","sources":["../../../../../../projects/share/src/lib/drive/components/drive-folder-embed/drive-folder-embed.ts"],"names":[],"mappings":"AAOA,OAAO,EAAa,MAAM,EAAE,SAAS,EAAyB,aAAa,EAAE,MAAM,eAAe,CAAC;AAanG,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAInE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,YAAY,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;;
|
|
1
|
+
{"version":3,"file":"drive-folder-embed.d.ts","sourceR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erRef } from 'ng-zorro-antd/drawer';
|
|
3
|
+
import { NzModalRef } from 'ng-zorro-antd/modal';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
5
|
+
import { BaseComponent } from '../../../components/base.component';
|
|
6
|
+
import { DriveAccessLevel, DriveGranteeType, DriveNodeType, GranteeSearchItemDto, MatrixGranteeColumnDto, MatrixInheritanceToggleItem, MatrixNodeRowDto, MatrixPresetBrush, PermissionMatrixCellChangeItem } from '../../models';
|
|
7
|
+
import { DriveService } from '../../service';
|
|
8
|
+
/**
|
|
9
|
+
* Lớp cơ sở thuần TypeScript (không gắn @Directive) bởi vì BaseComponent của dự án
|
|
10
|
+
* được khai báo với @Component. Nếu gắn @Directive() lên lớp trung gian kế thừa @Component
|
|
11
|
+
* thì Angular Ivy sẽ ném lỗi Runtime NG0903 (Directives cannot inherit Components).
|
|
12
|
+
*/
|
|
13
|
+
export declare abstract class DrivePermissionMatrixBase extends BaseComponent {
|
|
14
|
+
readonly drive: DriveService;
|
|
15
|
+
protected readonly drawerData: any;
|
|
16
|
+
protected readonly modalData: any;
|
|
17
|
+
protected readonly drawerRef: NzDrawerRef<any, any> | null;
|
|
18
|
+
protected readonly modalRef: NzModalRef<any, any> | null;
|
|
19
|
+
protected readonly searchGrantee$: Subject<{
|
|
20
|
+
keyword: string;
|
|
21
|
+
type: DriveGranteeType;
|
|
22
|
+
}>;
|
|
23
|
+
protected readonly batchSearchGrantee$: Subject<{
|
|
24
|
+
keyword: string;
|
|
25
|
+
type: DriveGranteeType;
|
|
26
|
+
}>;
|
|
27
|
+
/** Không gian mặc định khi mở Ma trận ('ORG_DRIVE' | 'MY_DRIVE' | 'CUSTOM:<id>') */
|
|
28
|
+
viewMode: string;
|
|
29
|
+
/** Alias cho viewMode ('ORG_DRIVE' | 'MY_DRIVE' | 'CUSTOM_SPACE') dùng trong drive-explorer.html */
|
|
30
|
+
scope: string | null;
|
|
31
|
+
/** ID của Custom Space khi scope === 'CUSTOM_SPACE' */
|
|
32
|
+
customSpaceId: string | null;
|
|
33
|
+
/** ID thư mục gốc nếu mở Ma trận từ 1 thư mục cụ thể */
|
|
34
|
+
rootFolderId: string | null;
|
|
35
|
+
/** Alias cho rootFolderId dùng trong drive-explorer.html ([rootNodeId]="matrixRootNodeId") */
|
|
36
|
+
rootNodeId: string | null;
|
|
37
|
+
readonly saved: EventEmitter<void>;
|
|
38
|
+
readonly closed: EventEmitter<void>;
|
|
39
|
+
readonly DriveGranteeType: typeof DriveGranteeType;
|
|
40
|
+
readonly DriveAccessLevel: typeof DriveAccessLevel;
|
|
41
|
+
readonly DriveNodeType: typeof DriveNodeType;
|
|
42
|
+
activeTabIndex: number;
|
|
43
|
+
keyword: string;
|
|
44
|
+
includeFiles: boolean;
|
|
45
|
+
applyToSubtreeWhenClickingFolder: boolean;
|
|
46
|
+
readonly loading: import("@angular/core").WritableSignal<boolean>;
|
|
47
|
+
readonly saving: import("@angular/core").WritableSignal<boolean>;
|
|
48
|
+
readonly rows: import("@angular/core").WritableSignal<MatrixNodeRowDto[]>;
|
|
49
|
+
readonly columns: import("@angular/core").WritableSignal<MatrixGranteeColumnDto[]>;
|
|
50
|
+
readonly availableFolders: import("@angular/core").WritableSignal<{
|
|
51
|
+
Id: string;
|
|
52
|
+
Name: string;
|
|
53
|
+
}[]>;
|
|
54
|
+
readonly collapsedFolderIds: import("@angular/core").WritableSignal<Set<string>>;
|
|
55
|
+
/** Trạng thái sắp xếp tên Folder & File theo từng cấp cây (true = A -> Z, false = Z -> A) */
|
|
56
|
+
readonly sortNameAsc: import("@angular/core").WritableSignal<boolean>;
|
|
57
|
+
readonly activeBrush: import("@angular/core").WritableSignal<MatrixPresetBrush>;
|
|
58
|
+
readonly pendingCellChanges: import("@angular/core").WritableSignal<Record<string, PermissionMatrixCellChangeItem>>;
|
|
59
|
+
readonly pendingInheritanceChanges: import("@angular/core").WritableSignal<Record<string, MatrixInheritanceToggleItem>>;
|
|
60
|
+
readonly totalPendingChanges: import("@angular/core").Signal<number>;
|
|
61
|
+
readonly matrixScrollWidth: import("@angular/core").Signal<string>;
|
|
62
|
+
readonly sortedTreeRows: import("@angular/core").Signal<MatrixNodeRowDto[]>;
|
|
63
|
+
readonly visibleTreeRows: import("@angular/core").Signal<MatrixNodeRowDto[]>;
|
|
64
|
+
searchGranteeType: DriveGranteeType;
|
|
65
|
+
selectedGranteeToAdd: GranteeSearchItemDto | null;
|
|
66
|
+
readonly granteeOptions: import("@angular/core").WritableSignal<GranteeSearchItemDto[]>;
|
|
67
|
+
protected pinnedGrantees: MatrixGranteeColumnDto[];
|
|
68
|
+
readonly batchSelectedNodeIds: import("@angular/core").WritableSignal<Set<string>>;
|
|
69
|
+
readonly batchSelectedGrantees: import("@angular/core").WritableSignal<MatrixGranteeColumnDto[]>;
|
|
70
|
+
readonly batchGranteeOptions: import("@angular/core").WritableSignal<GranteeSearchItemDto[]>;
|
|
71
|
+
batchSearchType: DriveGranteeType;
|
|
72
|
+
batchCandidateGrantee: GranteeSearchItemDto | null;
|
|
73
|
+
batchAction: 'UPSERT' | 'DENY' | 'REMOVE';
|
|
74
|
+
batchAccessLevel: DriveAccessLevel;
|
|
75
|
+
batchCanDownload: boolean;
|
|
76
|
+
batchCanShare: boolean;
|
|
77
|
+
batchExpiresAt: Date | null;
|
|
78
|
+
batchApplyToSubtree: boolean;
|
|
79
|
+
protected get apiUrl(): string;
|
|
80
|
+
protected syncExternalInputs(): void;
|
|
81
|
+
toggleSortNameOrder(): void;
|
|
82
|
+
onScopeOrFolderChange(): Promise<void>;
|
|
83
|
+
loadMatrix(): Promise<void>;
|
|
84
|
+
getColKey(col: MatrixGranteeColumnDto): string;
|
|
85
|
+
protected getPendingCellKey(nodeId: string, col: MatrixGranteeColumnDto): string;
|
|
86
|
+
onSearchGranteeTypeChange(): void;
|
|
87
|
+
onSearchGrantees(keyword: string): void;
|
|
88
|
+
onAddGranteeColumn(item: GranteeSearchItemDto | null): void;
|
|
89
|
+
removeColumnFromView(col: MatrixGranteeColumnDto): void;
|
|
90
|
+
hasChildRows(folderId: string): boolean;
|
|
91
|
+
toggleFolderExpand(folderId: string, expand: boolean): void;
|
|
92
|
+
expandAllFolders(): void;
|
|
93
|
+
collapseAllFolders(): void;
|
|
94
|
+
getEffectiveRowInheritance(row: MatrixNodeRowDto): boolean;
|
|
95
|
+
onToggleRowInheritance(row: MatrixNodeRowDto, inherit: boolean): void;
|
|
96
|
+
getCellViewModel(row: MatrixNodeRowDto, col: MatrixGranteeColumnDto): {
|
|
97
|
+
shortLabel: string;
|
|
98
|
+
badgeClass: string;
|
|
99
|
+
tooltip: string;
|
|
100
|
+
isDirty: boolean;
|
|
101
|
+
isInherited: boolean;
|
|
102
|
+
hasDirect: boolean;
|
|
103
|
+
isOwner: boolean;
|
|
104
|
+
};
|
|
105
|
+
getFileIcon(item: {
|
|
106
|
+
Extension?: string | null;
|
|
107
|
+
}): string;
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=drive-permission-matrix.base.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drive-permission-matrix.base.d.ts","sourceRoot":"","sources":["../../../../../../projects/share/src/lib/drive/components/drive-permission-matrix/drive-permission-matrix.base.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAA4B,MAAM,eAAe,CAAC;AACvE,OAAO,EAAkB,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAiB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,oBAAoB,EAEpB,sBAAsB,EACtB,2BAA2B,EAC3B,gBAAgB,EAChB,iBAAiB,EACjB,8BAA8B,EAE/B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7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B,CAAC,IAAI,EAAE,oBAAoB,GAAG,IAAI,GAAG,IAAI;IAmB3D,oBAAoB,CAAC,GAAG,EAAE,sBAAsB,GAAG,IAAI;IAOvD,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO;IAIvC,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI;IAS3D,gBAAgB,IAAI,IAAI;IAIxB,kBAAkB,IAAI,IAAI;IAQ1B,0BAA0B,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO;IAK1D,sBAAsB,CAAC,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI;IAYrE,gBAAgB,CACd,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,sBAAsB,GAC1B;QACD,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,OAAO,CAAC;QACjB,WAAW,EAAE,OAAO,CAAC;QACrB,SAAS,EAAE,OAAO,CAAC;QACnB,OAAO,EAAE,OAAO,CAAC;KAClB;IAgGD,WAAW,CAAC,IAAI,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,GAAG,MAAM;CAGzD"}
|
|
@@ -1,110 +1,9 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { DriveService } from '../../service';
|
|
2
|
+
import { GranteeSearchItemDto, MatrixGranteeColumnDto, MatrixNodeRowDto, MatrixPresetBrush } from '../../models';
|
|
3
|
+
import { DrivePermissionMatrixBase } from './drive-permission-matrix.base';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
GranteeType: DriveGranteeType;
|
|
9
|
-
GranteeId: string;
|
|
10
|
-
GranteeName: string;
|
|
11
|
-
Code?: string;
|
|
12
|
-
SubTitle?: string;
|
|
13
|
-
ColumnKey?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface MatrixCellPermissionDto {
|
|
16
|
-
DirectPermissionId?: string | null;
|
|
17
|
-
HasDirectRule: boolean;
|
|
18
|
-
DirectAccessLevel: DriveAccessLevel;
|
|
19
|
-
DirectIsDeny: boolean;
|
|
20
|
-
DirectCanDownload: boolean;
|
|
21
|
-
DirectCanShare: boolean;
|
|
22
|
-
ExpiresAt?: string | null;
|
|
23
|
-
HasInheritedRule: boolean;
|
|
24
|
-
InheritedAccessLevel: DriveAccessLevel;
|
|
25
|
-
InheritedIsDeny: boolean;
|
|
26
|
-
InheritedCanDownload: boolean;
|
|
27
|
-
InheritedCanShare: boolean;
|
|
28
|
-
InheritedFromNodeId?: string | null;
|
|
29
|
-
InheritedFromNodeName?: string | null;
|
|
30
|
-
EffectiveAccessLevel: DriveAccessLevel;
|
|
31
|
-
EffectiveIsDeny: boolean;
|
|
32
|
-
EffectiveCanDownload: boolean;
|
|
33
|
-
EffectiveCanShare: boolean;
|
|
34
|
-
IsInheritedEffective: boolean;
|
|
35
|
-
}
|
|
36
|
-
export interface MatrixNodeRowDto {
|
|
37
|
-
Id: string;
|
|
38
|
-
ParentId?: string | null;
|
|
39
|
-
Name: string;
|
|
40
|
-
NodeType: DriveNodeType;
|
|
41
|
-
Extension?: string | null;
|
|
42
|
-
TreePath: string;
|
|
43
|
-
TreeNodeLevel: number;
|
|
44
|
-
OwnerId: string;
|
|
45
|
-
OwnerName?: string;
|
|
46
|
-
IsOrgNode: boolean;
|
|
47
|
-
InheritPermissions: boolean;
|
|
48
|
-
IsShared: boolean;
|
|
49
|
-
CanManagePermissions: boolean;
|
|
50
|
-
Cells: Record<string, MatrixCellPermissionDto>;
|
|
51
|
-
}
|
|
52
|
-
export interface PermissionMatrixFilterRequest {
|
|
53
|
-
ViewMode: string;
|
|
54
|
-
RootFolderId?: string | null;
|
|
55
|
-
Keyword?: string;
|
|
56
|
-
IncludeFiles: boolean;
|
|
57
|
-
SortAscending?: boolean;
|
|
58
|
-
MaxNodes: number;
|
|
59
|
-
PinnedGrantees: MatrixGranteeColumnDto[];
|
|
60
|
-
}
|
|
61
|
-
export interface PermissionMatrixResponse {
|
|
62
|
-
Rows: MatrixNodeRowDto[];
|
|
63
|
-
Columns: MatrixGranteeColumnDto[];
|
|
64
|
-
TotalNodes: number;
|
|
65
|
-
}
|
|
66
|
-
export interface PermissionMatrixCellChangeItem {
|
|
67
|
-
NodeId: string;
|
|
68
|
-
GranteeType: DriveGranteeType;
|
|
69
|
-
GranteeId: string;
|
|
70
|
-
GranteeName: string;
|
|
71
|
-
Action: 'UPSERT' | 'REMOVE';
|
|
72
|
-
AccessLevel: DriveAccessLevel;
|
|
73
|
-
IsDeny: boolean;
|
|
74
|
-
CanDownload: boolean;
|
|
75
|
-
CanShare: boolean;
|
|
76
|
-
ExpiresAt?: Date | string | null;
|
|
77
|
-
ApplyToSubtree: boolean;
|
|
78
|
-
}
|
|
79
|
-
export interface MatrixInheritanceToggleItem {
|
|
80
|
-
NodeId: string;
|
|
81
|
-
InheritPermissions: boolean;
|
|
82
|
-
CopyParentPermissionsWhenBreaking: boolean;
|
|
83
|
-
}
|
|
84
|
-
export interface BulkSavePermissionMatrixRequest {
|
|
85
|
-
CellChanges: PermissionMatrixCellChangeItem[];
|
|
86
|
-
InheritanceChanges: MatrixInheritanceToggleItem[];
|
|
87
|
-
}
|
|
88
|
-
export interface BatchGrantPermissionRequest {
|
|
89
|
-
NodeIds: string[];
|
|
90
|
-
Grantees: MatrixGranteeColumnDto[];
|
|
91
|
-
Action: 'UPSERT' | 'REMOVE';
|
|
92
|
-
AccessLevel: DriveAccessLevel;
|
|
93
|
-
IsDeny: boolean;
|
|
94
|
-
CanDownload: boolean;
|
|
95
|
-
CanShare: boolean;
|
|
96
|
-
ExpiresAt?: Date | string | null;
|
|
97
|
-
ApplyToSubtree: boolean;
|
|
98
|
-
}
|
|
99
|
-
export declare class DrivePermissionMatrixComponent extends BaseComponent implements OnInit, OnChanges {
|
|
100
|
-
readonly drive: DriveService;
|
|
101
|
-
private readonly drawerData;
|
|
102
|
-
private readonly modalData;
|
|
103
|
-
private readonly drawerRef;
|
|
104
|
-
private readonly modalRef;
|
|
105
|
-
private readonly searchGrantee$;
|
|
106
|
-
private readonly batchSearchGrantee$;
|
|
107
|
-
private static readonly VI_NATURAL_COLLATOR;
|
|
5
|
+
export * from '../../models/permission-matrix.model';
|
|
6
|
+
export declare class DrivePermissionMatrixComponent extends DrivePermissionMatrixBase implements OnInit, OnChanges {
|
|
108
7
|
/** Không gian mặc định khi mở Ma trận ('ORG_DRIVE' | 'MY_DRIVE' | 'CUSTOM:<id>') */
|
|
109
8
|
viewMode: string;
|
|
110
9
|
/** Alias cho viewMode ('ORG_DRIVE' | 'MY_DRIVE' | 'CUSTOM_SPACE') dùng trong drive-explorer.html */
|
|
@@ -115,84 +14,10 @@ export declare class DrivePermissionMatrixComponent extends BaseComponent implem
|
|
|
115
14
|
rootFolderId: string | null;
|
|
116
15
|
/** Alias cho rootFolderId dùng trong drive-explorer.html ([rootNodeId]="matrixRootNodeId") */
|
|
117
16
|
rootNodeId: string | null;
|
|
118
|
-
saved: EventEmitter<void>;
|
|
119
|
-
closed: EventEmitter<void>;
|
|
120
|
-
readonly DriveGranteeType: typeof DriveGranteeType;
|
|
121
|
-
readonly DriveAccessLevel: typeof DriveAccessLevel;
|
|
122
|
-
readonly DriveNodeType: typeof DriveNodeType;
|
|
123
|
-
activeTabIndex: number;
|
|
124
|
-
keyword: string;
|
|
125
|
-
includeFiles: boolean;
|
|
126
|
-
applyToSubtreeWhenClickingFolder: boolean;
|
|
127
|
-
readonly loading: import("@angular/core").WritableSignal<boolean>;
|
|
128
|
-
readonly saving: import("@angular/core").WritableSignal<boolean>;
|
|
129
|
-
readonly rows: import("@angular/core").WritableSignal<MatrixNodeRowDto[]>;
|
|
130
|
-
readonly columns: import("@angular/core").WritableSignal<MatrixGranteeColumnDto[]>;
|
|
131
|
-
readonly availableFolders: import("@angular/core").WritableSignal<{
|
|
132
|
-
Id: string;
|
|
133
|
-
Name: string;
|
|
134
|
-
}[]>;
|
|
135
|
-
readonly collapsedFolderIds: import("@angular/core").WritableSignal<Set<string>>;
|
|
136
|
-
/** Trạng thái sắp xếp tên Folder & File theo từng cấp cây (true = A -> Z, false = Z -> A) */
|
|
137
|
-
readonly sortNameAsc: import("@angular/core").WritableSignal<boolean>;
|
|
138
|
-
readonly activeBrush: import("@angular/core").WritableSignal<MatrixPresetBrush>;
|
|
139
|
-
readonly pendingCellChanges: import("@angular/core").WritableSignal<Record<string, PermissionMatrixCellChangeItem>>;
|
|
140
|
-
readonly pendingInheritanceChanges: import("@angular/core").WritableSignal<Record<string, MatrixInheritanceToggleItem>>;
|
|
141
|
-
readonly totalPendingChanges: import("@angular/core").Signal<number>;
|
|
142
|
-
readonly matrixScrollWidth: import("@angular/core").Signal<string>;
|
|
143
|
-
/**
|
|
144
|
-
* Sắp xếp danh sách Node theo đúng cấu trúc cây phân cấp (Cha -> Con),
|
|
145
|
-
* trong đó tại mỗi cấp cùng cha:
|
|
146
|
-
* 1. Thư mục (Folder) luôn nằm trên Tập tin (File)
|
|
147
|
-
* 2. Sắp xếp theo tên (Natural Sort tiếng Việt: "1. Chủ trương" -> "2. Đấu thầu", "(1)" -> "(2)" -> "(3)")
|
|
148
|
-
*/
|
|
149
|
-
readonly sortedTreeRows: import("@angular/core").Signal<MatrixNodeRowDto[]>;
|
|
150
|
-
readonly visibleTreeRows: import("@angular/core").Signal<MatrixNodeRowDto[]>;
|
|
151
|
-
searchGranteeType: DriveGranteeType;
|
|
152
|
-
selectedGranteeToAdd: GranteeSearchItemDto | null;
|
|
153
|
-
readonly granteeOptions: import("@angular/core").WritableSignal<GranteeSearchItemDto[]>;
|
|
154
|
-
private pinnedGrantees;
|
|
155
|
-
readonly batchSelectedNodeIds: import("@angular/core").WritableSignal<Set<string>>;
|
|
156
|
-
readonly batchSelectedGrantees: import("@angular/core").WritableSignal<MatrixGranteeColumnDto[]>;
|
|
157
|
-
readonly batchGranteeOptions: import("@angular/core").WritableSignal<GranteeSearchItemDto[]>;
|
|
158
|
-
batchSearchType: DriveGranteeType;
|
|
159
|
-
batchCandidateGrantee: GranteeSearchItemDto | null;
|
|
160
|
-
batchAction: 'UPSERT' | 'DENY' | 'REMOVE';
|
|
161
|
-
batchAccessLevel: DriveAccessLevel;
|
|
162
|
-
batchCanDownload: boolean;
|
|
163
|
-
batchCanShare: boolean;
|
|
164
|
-
batchExpiresAt: Date | null;
|
|
165
|
-
batchApplyToSubtree: boolean;
|
|
166
|
-
private get apiUrl();
|
|
167
|
-
private syncExternalInputs;
|
|
17
|
+
readonly saved: EventEmitter<void>;
|
|
18
|
+
readonly closed: EventEmitter<void>;
|
|
168
19
|
ngOnInit(): void;
|
|
169
20
|
ngOnChanges(changes: SimpleChanges): void;
|
|
170
|
-
toggleSortNameOrder(): void;
|
|
171
|
-
private sortTreeRowsHierarchically;
|
|
172
|
-
onScopeOrFolderChange(): Promise<void>;
|
|
173
|
-
loadMatrix(): Promise<void>;
|
|
174
|
-
getColKey(col: MatrixGranteeColumnDto): string;
|
|
175
|
-
private getPendingCellKey;
|
|
176
|
-
onSearchGranteeTypeChange(): void;
|
|
177
|
-
onSearchGrantees(keyword: string): void;
|
|
178
|
-
onAddGranteeColumn(item: GranteeSearchItemDto | null): void;
|
|
179
|
-
removeColumnFromView(col: MatrixGranteeColumnDto): void;
|
|
180
|
-
hasChildRows(folderId: string): boolean;
|
|
181
|
-
toggleFolderExpand(folderId: string, expand: boolean): void;
|
|
182
|
-
expandAllFolders(): void;
|
|
183
|
-
collapseAllFolders(): void;
|
|
184
|
-
getEffectiveRowInheritance(row: MatrixNodeRowDto): boolean;
|
|
185
|
-
onToggleRowInheritance(row: MatrixNodeRowDto, inherit: boolean): void;
|
|
186
|
-
getCellViewModel(row: MatrixNodeRowDto, col: MatrixGranteeColumnDto): {
|
|
187
|
-
shortLabel: string;
|
|
188
|
-
badgeClass: string;
|
|
189
|
-
tooltip: string;
|
|
190
|
-
isDirty: boolean;
|
|
191
|
-
isInherited: boolean;
|
|
192
|
-
hasDirect: boolean;
|
|
193
|
-
isOwner: boolean;
|
|
194
|
-
};
|
|
195
|
-
private formatBadge;
|
|
196
21
|
onCellClick(row: MatrixNodeRowDto, col: MatrixGranteeColumnDto): void;
|
|
197
22
|
applyCellPreset(row: MatrixNodeRowDto, col: MatrixGranteeColumnDto, preset: Exclude<MatrixPresetBrush, 'NONE'>): void;
|
|
198
23
|
applyPresetToEntireRow(row: MatrixNodeRowDto, preset: Exclude<MatrixPresetBrush, 'NONE'>): void;
|
|
@@ -209,9 +34,6 @@ export declare class DrivePermissionMatrixComponent extends BaseComponent implem
|
|
|
209
34
|
removeBatchGrantee(col: MatrixGranteeColumnDto): void;
|
|
210
35
|
executeBatchGrant(): Promise<void>;
|
|
211
36
|
closeIfInOverlay(): void;
|
|
212
|
-
getFileIcon(item: {
|
|
213
|
-
Extension?: string | null;
|
|
214
|
-
}): string;
|
|
215
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<DrivePermissionMatrixComponent, never>;
|
|
216
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<DrivePermissionMatrixComponent, "lib-drive-permission-matrix", never, { "viewMode": { "alias": "viewMode"; "required": false; }; "scope": { "alias": "scope"; "required": false; }; "customSpaceId": { "alias": "customSpaceId"; "required": false; }; "rootFolderId": { "alias": "rootFolderId"; "required": false; }; "rootNodeId": { "alias": "rootNodeId"; "required": false; }; }, { "saved": "saved"; "closed": "closed"; }, never, never, true, never>;
|
|
217
39
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drive-permission-matrix.d.ts","sourceRoot":"","sources":["../../../../../../projects/share/src/lib/drive/components/drive-permission-matrix/drive-permission-matrix.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"drive-permission-matrix.d.ts","sourceRoot":"","sources":["../../../../../../projects/share/src/lib/drive/components/drive-permission-matrix/drive-permission-matrix.ts"],"names":[],"mappings":"AASA,OAAO,EAAa,YAAY,EAAS,SAAS,EAAE,MAAM,EAAU,aAAa,EAAE,MAAM,eAAe,CAAC;AAkBzG,OAAO,EAML,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,iBAAiB,EAElB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;;AAG3E,cAAc,sCAAsC,CAAC;AAErD,qBAyBa,8BAA+B,SAAQ,yBAA0B,YAAW,MAAM,EAAE,SAAS;IACxG,oFAAoF;IAClE,QAAQ,SAAe;IACzC,oGAAoG;IAClF,KAAK,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC9C,uDAAuD;IACrC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAQ;IACtD,wDAAwD;IACtC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAQ;IACrD,8FAA8F;IAC5E,UAAU,EAAE,MAAM,GAAG,IAAI,CAAQ;IACnD,SAA4B,KAAK,qBAA4B;IAC7D,SAA4B,MAAM,qBAA4B;IAC9D,QAAQ,IAAI,IAAI;IAgChB,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAmBzC,WAAW,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,sBAAsB,GAAG,IAAI;IAQrE,eAAe,CACb,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,sBAAsB,EAC3B,MAAM,EAAE,OAAO,CAAC,iBAAiB,EAAE,MAAM,CAAC,GACzC,IAAI;IA0BP,sBAAsB,CAAC,GAAG,EAAE,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,iBAAiB,EAAE,MAAM,CAAC,GAAG,IAAI;IAO/F,yBAAyB,CAAC,GAAG,EAAE,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,iBAAiB,EAAE,MAAM,CAAC,GAAG,IAAI;IAQxG,OAAO,CAAC,eAAe;IA2DvB,qBAAqB,IAAI,IAAI;IAKvB,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IA+BxC,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI;IASvD,mBAAmB,IAAI,IAAI;IAI3B,eAAe,IAAI,IAAI;IAIvB,uBAAuB,IAAI,IAAI;IAM/B,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAI5C,eAAe,CAAC,IAAI,EAAE,oBAAoB,GAAG,IAAI,GAAG,IAAI;IAiBxD,kBAAkB,CAAC,GAAG,EAAE,sBAAsB,GAAG,IAAI;IAK/C,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IAqCxC,gBAAgB,IAAI,IAAI;yCA1Sb,8BAA8B;2CAA9B,8BAA8B;CA+S1C"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { BaseComponent } from '../../../components/base.component';
|
|
3
|
-
import {
|
|
3
|
+
import { CustomSpaceDto, DriveBreadcrumbDto, DriveNodeDto, DrivePickerSelectMode } from '../../models';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class DrivePickerComponent extends BaseComponent implements OnInit {
|
|
6
6
|
private readonly driveService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drive-picker.d.ts","sourceRoot":"","sources":["../../../../../../projects/share/src/lib/drive/components/drive-picker/drive-picker.ts"],"names":[],"mappings":"AAQA,OAAO,EAAa,
|
|
1
|
+
{"version":3,"file":"drive-picker.d.ts","sourceRoot":"","sources":["../../../../../../projects/share/src/lib/drive/components/drive-picker/drive-picker.ts"],"names":[],"mappings":"AAQA,OAAO,EAAa,YAAY,EAAS,MAAM,EAAoC,MAAM,eAAe,CAAC;AAiBzG,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAA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EAAE,YAAY,GAAG,OAAO;IAazC,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAI/B,YAAY,CAAC,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI;IAaxD,UAAU,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI;IAQpC,gBAAgB,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI;IAW1C,cAAc,IAAI,IAAI;IAIhB,gBAAgB,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC;IAWnD,SAAS,IAAI,IAAI;IAOjB,QAAQ,IAAI,IAAI;IAMhB,WAAW,CAAC,IAAI,EAAE,YAAY,GAAG,MAAM;yCAvL5B,oBAAoB;2CAApB,oBAAoB;CA0LhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drive-share-viewer.d.ts","sourceRoot":"","sources":["../../../../../../projects/share/src/lib/drive/components/drive-share-viewer/drive-share-viewer.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,MAAM,EACN,SAAS,EAIT,YAAY,EAEZ,aAAa,EACd,MAAM,eAAe,CAAC;AAiBvB,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAInE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;;
|
|
1
|
+
{"version":3,"file":"drive-share-viewer.d.ts","sourceRoot":"","sources":["../../../../../../projects/share/src/lib/drive/components/drive-share-viewer/drive-share-viewer.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,MAAM,EACN,SAAS,EAIT,YAAY,EAEZ,aAAa,EACd,MAAM,eAAe,CAAC;AAiBvB,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAInE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;;AAIhG,qBA0Ba,yBAA0B,SAAQ,a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,IAAI,CAAC;IAOnC,wBAAwB,CAAC,QAAQ,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC;IA0C/D,kBAAkB,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC;IAsB3D,iBAAiB,IAAI,IAAI;IAOzB,WAAW,CAAC,IAAI,EAAE,YAAY,GAAG,MAAM;yCA9O5B,yBAAyB;2CAAzB,yBAAyB;CAwPrC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface DriveBreadcrumbDto {
|
|
2
|
+
Id: string;
|
|
3
|
+
Name: string;
|
|
4
|
+
}
|
|
5
|
+
export interface DriveActivityLogDto {
|
|
6
|
+
Id: number;
|
|
7
|
+
NodeId: string;
|
|
8
|
+
ActionType: string;
|
|
9
|
+
ActorUserId: string;
|
|
10
|
+
ActorUserName?: string;
|
|
11
|
+
DetailJson?: string;
|
|
12
|
+
CreatedDate?: string;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=common.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.model.d.ts","sourceRoot":"","sources":["../../../../../projects/share/src/lib/drive/models/common.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DriveAccessLevel } from './enums.model';
|
|
2
|
+
export interface CustomSpaceDto {
|
|
3
|
+
Id: string;
|
|
4
|
+
Name: string;
|
|
5
|
+
Icon: string;
|
|
6
|
+
IsVisibleToAllUsers: boolean;
|
|
7
|
+
DefaultAccessLevel: DriveAccessLevel;
|
|
8
|
+
OwnerId: string;
|
|
9
|
+
OwnerName?: string;
|
|
10
|
+
CanManage: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface UpsertCustomSpaceRequest {
|
|
13
|
+
Name: string;
|
|
14
|
+
Icon: string;
|
|
15
|
+
IsVisibleToAllUsers: boolean;
|
|
16
|
+
DefaultAccessLevel: DriveAccessLevel;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=custom-space.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-space.model.d.ts","sourceRoot":"","sources":["../../../../../projects/share/src/lib/drive/models/custom-space.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,mBAAmB,EAAE,OAAO,CAAC;IAC7B,kBAAkB,EAAE,gBAAgB,CAAC;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,mBAAmB,EAAE,OAAO,CAAC;IAC7B,kBAAkB,EAAE,gBAAgB,CAAC;CACtC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare enum DriveNodeType {
|
|
2
|
+
Folder = 1,
|
|
3
|
+
File = 2,
|
|
4
|
+
Shortcut = 3
|
|
5
|
+
}
|
|
6
|
+
export declare enum DriveGranteeType {
|
|
7
|
+
User = 1,// App_User
|
|
8
|
+
Role = 2,// App_Role
|
|
9
|
+
Org = 3
|
|
10
|
+
}
|
|
11
|
+
export declare enum DriveAccessLevel {
|
|
12
|
+
None = 0,
|
|
13
|
+
Viewer = 10,
|
|
14
|
+
Downloader = 20,
|
|
15
|
+
Commenter = 30,
|
|
16
|
+
Uploader = 35,// Xem & Tải lên (Cho phép xem, tải xuống, tải lên & tạo thư mục nhưng không được xóa/đổi tên/di chuyển)
|
|
17
|
+
Editor = 40,
|
|
18
|
+
Manager = 50
|
|
19
|
+
}
|
|
20
|
+
export declare enum DriveShareScope {
|
|
21
|
+
InternalAuthenticated = 1,
|
|
22
|
+
AnyoneWithLink = 2
|
|
23
|
+
}
|
|
24
|
+
export type DriveViewMode = 'MY_DRIVE' | 'ORG_DRIVE' | 'CUSTOM_SPACE' | 'SHARED_WITH_ME' | 'STARRED' | 'RECENT' | 'TRASH';
|
|
25
|
+
export type DriveSortColumn = 'Name' | 'OwnerName' | 'AccessLevel' | 'SizeBytes' | 'UpdatedDate';
|
|
26
|
+
export type DrivePickerSelectMode = 'file' | 'folder' | 'both';
|
|
27
|
+
//# sourceMappingURL=enums.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.model.d.ts","sourceRoot":"","sources":["../../../../../projects/share/src/lib/drive/models/enums.model.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,MAAM,IAAI;IACV,IAAI,IAAI;IACR,QAAQ,IAAI;CACb;AAED,oBAAY,gBAAgB;IAC1B,IAAI,IAAI,CAAE,WAAW;IACrB,IAAI,IAAI,CAAE,WAAW;IACrB,GAAG,IAAI;CACR;AAED,oBAAY,gBAAgB;IAC1B,IAAI,IAAI;IACR,MAAM,KAAK;IACX,UAAU,KAAK;IACf,SAAS,KAAK;IACd,QAAQ,KAAK,CAAE,wGAAwG;IACvH,MAAM,KAAK;IACX,OAAO,KAAK;CACb;AAED,oBAAY,eAAe;IACzB,qBAAqB,IAAI;IACzB,cAAc,IAAI;CACnB;AAED,MAAM,MAAM,aAAa,GACrB,UAAU,GACV,WAAW,GACX,cAAc,GACd,gBAAgB,GAChB,SAAS,GACT,QAAQ,GACR,OAAO,CAAC;AAEZ,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,WAAW,GAAG,aAAa,GAAG,WAAW,GAAG,aAAa,CAAC;AAEjG,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { DriveAccessLevel, DriveNodeType } from './enums.model';
|
|
2
|
+
import { DriveBreadcrumbDto } from './common.model';
|
|
3
|
+
import { CustomSpaceDto } from './custom-space.model';
|
|
4
|
+
export interface DriveNodeDto {
|
|
5
|
+
Id: string;
|
|
6
|
+
ParentId?: string | null;
|
|
7
|
+
ParentFolderName?: string | null;
|
|
8
|
+
App_Org_Id?: string | null;
|
|
9
|
+
Name: string;
|
|
10
|
+
treeLevel?: number;
|
|
11
|
+
treeExpanded?: boolean;
|
|
12
|
+
treeLoading?: boolean;
|
|
13
|
+
NodeType: DriveNodeType;
|
|
14
|
+
TreePath: string;
|
|
15
|
+
TreeNodeLevel: number;
|
|
16
|
+
SizeBytes: number;
|
|
17
|
+
MimeType?: string;
|
|
18
|
+
Extension?: string;
|
|
19
|
+
PhysicalRelativePath?: string | null;
|
|
20
|
+
ShortcutTargetId?: string | null;
|
|
21
|
+
ShortcutTargetType?: DriveNodeType | null;
|
|
22
|
+
ShortcutTargetName?: string | null;
|
|
23
|
+
IsBrokenShortcut?: boolean;
|
|
24
|
+
OwnerId: string;
|
|
25
|
+
OwnerName?: string;
|
|
26
|
+
IsOrgNode: boolean;
|
|
27
|
+
InheritPermissions: boolean;
|
|
28
|
+
IsShared: boolean;
|
|
29
|
+
IsStarred: boolean;
|
|
30
|
+
IsDeleted: boolean;
|
|
31
|
+
EffectiveAccess: DriveAccessLevel;
|
|
32
|
+
CanDownload: boolean;
|
|
33
|
+
CanShare: boolean;
|
|
34
|
+
CreatedDate?: string;
|
|
35
|
+
UpdatedDate?: string;
|
|
36
|
+
UpdatedUser?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface DriveExplorerResponse {
|
|
39
|
+
Items: DriveNodeDto[];
|
|
40
|
+
TotalCount: number;
|
|
41
|
+
Breadcrumbs: DriveBreadcrumbDto[];
|
|
42
|
+
CurrentFolderAccess: DriveAccessLevel;
|
|
43
|
+
UsedBytes: number;
|
|
44
|
+
QuotaLimitBytes: number;
|
|
45
|
+
UsePhysicalFolders?: boolean;
|
|
46
|
+
UseSharedPhysicalRoot?: boolean;
|
|
47
|
+
StorageRootPath?: string | null;
|
|
48
|
+
CurrentPhysicalPath?: string | null;
|
|
49
|
+
CurrentUserId?: string | null;
|
|
50
|
+
CurrentUserName?: string | null;
|
|
51
|
+
IsCurrentUserAdmin?: boolean;
|
|
52
|
+
DefaultUserQuotaBytes?: number;
|
|
53
|
+
CustomSpaces?: CustomSpaceDto[];
|
|
54
|
+
}
|
|
55
|
+
export interface CreateShortcutRequest {
|
|
56
|
+
TargetNodeId: string;
|
|
57
|
+
DestinationParentId?: string | null;
|
|
58
|
+
ShortcutName: string;
|
|
59
|
+
IsOrgNode: boolean;
|
|
60
|
+
}
|
|
61
|
+
export interface CopyNodesRequest {
|
|
62
|
+
NodeIds: string[];
|
|
63
|
+
TargetParentId?: string | null;
|
|
64
|
+
TargetIsOrgNode?: boolean | null;
|
|
65
|
+
CustomName?: string | null;
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=explorer.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"explorer.model.d.ts","sourceRoot":"","sources":["../../../../../projects/share/src/lib/drive/models/explorer.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;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