@acorex-platform/module-document-management-client 0.0.21
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/acorex-platform-module-document-management-client-acorex-platform-module-document-management-client-LQjccofO.mjs +7849 -0
- package/fesm2022/acorex-platform-module-document-management-client-acorex-platform-module-document-management-client-LQjccofO.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-attachment-view-skeleton.component-CEC9HdMa.mjs +27 -0
- package/fesm2022/acorex-platform-module-document-management-client-attachment-view-skeleton.component-CEC9HdMa.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-attachment-widget.component-CBpWl_FH.mjs +36 -0
- package/fesm2022/acorex-platform-module-document-management-client-attachment-widget.component-CBpWl_FH.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-contracts.mjs +313 -0
- package/fesm2022/acorex-platform-module-document-management-client-contracts.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-drive-choose.component-Deduhl99.mjs +250 -0
- package/fesm2022/acorex-platform-module-document-management-client-drive-choose.component-Deduhl99.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-large-icons-view-skeleton.component-wZG913_E.mjs +27 -0
- package/fesm2022/acorex-platform-module-document-management-client-large-icons-view-skeleton.component-wZG913_E.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-large-icons-view.component-Bv5JFRtL.mjs +30 -0
- package/fesm2022/acorex-platform-module-document-management-client-large-icons-view.component-Bv5JFRtL.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-large-tiles-view.component-DTEIhPcT.mjs +35 -0
- package/fesm2022/acorex-platform-module-document-management-client-large-tiles-view.component-DTEIhPcT.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-link-dialog.component-DXwE55QU.mjs +68 -0
- package/fesm2022/acorex-platform-module-document-management-client-link-dialog.component-DXwE55QU.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-list-view-skeleton.component-C3-7rgTu.mjs +27 -0
- package/fesm2022/acorex-platform-module-document-management-client-list-view-skeleton.component-C3-7rgTu.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-list-view.component-_r7VP4i8.mjs +30 -0
- package/fesm2022/acorex-platform-module-document-management-client-list-view.component-_r7VP4i8.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-open-document.command-BbMZf6zo.mjs +96 -0
- package/fesm2022/acorex-platform-module-document-management-client-open-document.command-BbMZf6zo.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-share-dialog.component-D0D75M7u.mjs +143 -0
- package/fesm2022/acorex-platform-module-document-management-client-share-dialog.component-D0D75M7u.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-share-email-dialog.component-CTP-r-4w.mjs +54 -0
- package/fesm2022/acorex-platform-module-document-management-client-share-email-dialog.component-CTP-r-4w.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-small-icons-view-skeleton.component-Dskk_B96.mjs +27 -0
- package/fesm2022/acorex-platform-module-document-management-client-small-icons-view-skeleton.component-Dskk_B96.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-small-icons-view.component-RMDX74O9.mjs +30 -0
- package/fesm2022/acorex-platform-module-document-management-client-small-icons-view.component-RMDX74O9.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-small-tiles-view-skeleton.component-DQW2VZJH.mjs +27 -0
- package/fesm2022/acorex-platform-module-document-management-client-small-tiles-view-skeleton.component-DQW2VZJH.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-small-tiles-view.component-BT6fRWVH.mjs +35 -0
- package/fesm2022/acorex-platform-module-document-management-client-small-tiles-view.component-BT6fRWVH.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client-upload-document.command-CFFOw4gM.mjs +88 -0
- package/fesm2022/acorex-platform-module-document-management-client-upload-document.command-CFFOw4gM.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-document-management-client.mjs +3 -0
- package/fesm2022/acorex-platform-module-document-management-client.mjs.map +1 -0
- package/package.json +28 -0
- package/types/acorex-platform-module-document-management-client-contracts.d.ts +375 -0
- package/types/acorex-platform-module-document-management-client.d.ts +2401 -0
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { AXBadgeModule } from '@acorex/components/badge';
|
|
2
|
+
import { AXBreadcrumbsModule } from '@acorex/components/breadcrumbs';
|
|
3
|
+
import * as i1 from '@acorex/components/button';
|
|
4
|
+
import { AXButtonModule } from '@acorex/components/button';
|
|
5
|
+
import { AXButtonGroupModule } from '@acorex/components/button-group';
|
|
6
|
+
import * as i3$1 from '@acorex/components/decorators';
|
|
7
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
8
|
+
import { AXDropdownModule } from '@acorex/components/dropdown';
|
|
9
|
+
import { AXDropdownButtonModule } from '@acorex/components/dropdown-button';
|
|
10
|
+
import * as i4 from '@acorex/components/loading';
|
|
11
|
+
import { AXLoadingModule } from '@acorex/components/loading';
|
|
12
|
+
import { AXMenuModule } from '@acorex/components/menu';
|
|
13
|
+
import { AXBasePageComponent } from '@acorex/components/page';
|
|
14
|
+
import * as i6 from '@acorex/components/search-box';
|
|
15
|
+
import { AXSearchBoxModule } from '@acorex/components/search-box';
|
|
16
|
+
import { AXDateTimeModule } from '@acorex/core/date-time';
|
|
17
|
+
import { AXFileModule } from '@acorex/core/file';
|
|
18
|
+
import { AXFormatModule } from '@acorex/core/format';
|
|
19
|
+
import * as i3 from '@acorex/core/translation';
|
|
20
|
+
import { AXTranslationModule } from '@acorex/core/translation';
|
|
21
|
+
import { AXPSessionService } from '@acorex-platform/framework-client/auth';
|
|
22
|
+
import { AXPFileTypeProviderService } from '@acorex-platform/framework-client/common';
|
|
23
|
+
import { AXPLayoutThemeService } from '@acorex-platform/framework-client/themes/shared';
|
|
24
|
+
import * as i1$1 from '@angular/common';
|
|
25
|
+
import { CommonModule } from '@angular/common';
|
|
26
|
+
import * as i0 from '@angular/core';
|
|
27
|
+
import { inject, signal, viewChild, computed, effect, untracked, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
28
|
+
import { RouterModule } from '@angular/router';
|
|
29
|
+
import { RootConfig } from '@acorex-platform/module-document-management-client/contracts';
|
|
30
|
+
import { c as AXMDocumentManagerService, A as AXPDocumentExplorerViewModel, f as AXMDocumentExplorerComponent, g as AXMFolderPathBreadcrumbsComponent } from './acorex-platform-module-document-management-client-acorex-platform-module-document-management-client-LQjccofO.mjs';
|
|
31
|
+
|
|
32
|
+
class AXMDocumentDriveChooseComponent extends AXBasePageComponent {
|
|
33
|
+
constructor() {
|
|
34
|
+
super(...arguments);
|
|
35
|
+
/** Assigned by popup `data` before `ngOnInit`. */
|
|
36
|
+
this.browseMode = 'file';
|
|
37
|
+
/** Assigned by popup `data` before `ngOnInit`. */
|
|
38
|
+
this.selectionMode = 'single';
|
|
39
|
+
/** When true, hides the in-dialog title row (popup chrome provides the title). */
|
|
40
|
+
this.hideHeader = false;
|
|
41
|
+
this.layout = inject(AXPLayoutThemeService);
|
|
42
|
+
this.rootConfig = RootConfig;
|
|
43
|
+
this.fileTypeService = inject(AXPFileTypeProviderService);
|
|
44
|
+
this.driveService = inject(AXMDocumentManagerService);
|
|
45
|
+
this.vm = inject(AXPDocumentExplorerViewModel);
|
|
46
|
+
this.sessionService = inject(AXPSessionService);
|
|
47
|
+
this.filterItems = signal([], /* @ts-ignore */
|
|
48
|
+
...(ngDevMode ? [{ debugName: "filterItems" }] : /* istanbul ignore next */ []));
|
|
49
|
+
this.selectedFilter = signal('all', /* @ts-ignore */
|
|
50
|
+
...(ngDevMode ? [{ debugName: "selectedFilter" }] : /* istanbul ignore next */ []));
|
|
51
|
+
this.browseModeState = signal('file', /* @ts-ignore */
|
|
52
|
+
...(ngDevMode ? [{ debugName: "browseModeState" }] : /* istanbul ignore next */ []));
|
|
53
|
+
this.selectionModeState = signal('single', /* @ts-ignore */
|
|
54
|
+
...(ngDevMode ? [{ debugName: "selectionModeState" }] : /* istanbul ignore next */ []));
|
|
55
|
+
this.sortItems = signal([
|
|
56
|
+
{ key: 'name', textKey: 'actions.sort-by-name', icon: 'fa-light fa-font' },
|
|
57
|
+
{ key: 'modified', textKey: 'actions.sort-by-date', icon: 'fa-light fa-calendar' },
|
|
58
|
+
{ key: 'size', textKey: 'actions.sort-by-size', icon: 'fa-light fa-weight-hanging' },
|
|
59
|
+
], /* @ts-ignore */
|
|
60
|
+
...(ngDevMode ? [{ debugName: "sortItems" }] : /* istanbul ignore next */ []));
|
|
61
|
+
this.documentExplorer = viewChild(AXMDocumentExplorerComponent, /* @ts-ignore */
|
|
62
|
+
...(ngDevMode ? [{ debugName: "documentExplorer" }] : /* istanbul ignore next */ []));
|
|
63
|
+
this.selectedSort = computed(() => {
|
|
64
|
+
const items = this.sortItems();
|
|
65
|
+
return items.find((item) => item.key === this.vm.sortField()) || items[0];
|
|
66
|
+
}, /* @ts-ignore */
|
|
67
|
+
...(ngDevMode ? [{ debugName: "selectedSort" }] : /* istanbul ignore next */ []));
|
|
68
|
+
this.selectText = computed(() => {
|
|
69
|
+
if (this.vm.browseMode() !== 'file') {
|
|
70
|
+
return 'actions.select-folder';
|
|
71
|
+
}
|
|
72
|
+
return this.selectionModeState() === 'multiple' ? 'actions.select-files' : 'actions.select-file';
|
|
73
|
+
}, /* @ts-ignore */
|
|
74
|
+
...(ngDevMode ? [{ debugName: "selectText" }] : /* istanbul ignore next */ []));
|
|
75
|
+
this.selectedFileCount = computed(() => this.vm.selectedNodes().filter((node) => node.type === 'file').length, /* @ts-ignore */
|
|
76
|
+
...(ngDevMode ? [{ debugName: "selectedFileCount" }] : /* istanbul ignore next */ []));
|
|
77
|
+
this.canSubmit = computed(() => {
|
|
78
|
+
if (this.browseModeState() === 'folder') {
|
|
79
|
+
return Boolean(this.vm.currentFolder()?.id);
|
|
80
|
+
}
|
|
81
|
+
const selectedFiles = this.vm.selectedNodes().filter((node) => node.type === 'file');
|
|
82
|
+
if (this.selectionModeState() === 'multiple') {
|
|
83
|
+
return selectedFiles.length > 0;
|
|
84
|
+
}
|
|
85
|
+
return selectedFiles.length === 1;
|
|
86
|
+
}, /* @ts-ignore */
|
|
87
|
+
...(ngDevMode ? [{ debugName: "canSubmit" }] : /* istanbul ignore next */ []));
|
|
88
|
+
this.subtitleKey = computed(() => this.browseModeState() === 'folder' ? 'drive-choose.subtitle-folder' : 'drive-choose.subtitle', /* @ts-ignore */
|
|
89
|
+
...(ngDevMode ? [{ debugName: "subtitleKey" }] : /* istanbul ignore next */ []));
|
|
90
|
+
this.searchQuery = '';
|
|
91
|
+
this.#navigateEffect = effect(() => {
|
|
92
|
+
const navigatingFolderId = this.vm.navigatingFolderId();
|
|
93
|
+
if (navigatingFolderId) {
|
|
94
|
+
this.loadDrive(navigatingFolderId);
|
|
95
|
+
// Clear search when navigating to a folder
|
|
96
|
+
setTimeout(() => {
|
|
97
|
+
this.searchQuery = null;
|
|
98
|
+
}, 200);
|
|
99
|
+
}
|
|
100
|
+
}, /* @ts-ignore */
|
|
101
|
+
...(ngDevMode ? [{ debugName: "#navigateEffect" }] : /* istanbul ignore next */ []));
|
|
102
|
+
this.#loadingEffect = effect(() => {
|
|
103
|
+
const isLoading = this.vm.isLoading();
|
|
104
|
+
untracked(() => {
|
|
105
|
+
this.layout.setNavigationLoading(isLoading);
|
|
106
|
+
});
|
|
107
|
+
}, /* @ts-ignore */
|
|
108
|
+
...(ngDevMode ? [{ debugName: "#loadingEffect" }] : /* istanbul ignore next */ []));
|
|
109
|
+
this.#selectionSyncEffect = effect(() => {
|
|
110
|
+
if (this.documentExplorer()) {
|
|
111
|
+
this.vm.setSelectionMode(this.selectionModeState());
|
|
112
|
+
}
|
|
113
|
+
}, /* @ts-ignore */
|
|
114
|
+
...(ngDevMode ? [{ debugName: "#selectionSyncEffect" }] : /* istanbul ignore next */ []));
|
|
115
|
+
}
|
|
116
|
+
#navigateEffect;
|
|
117
|
+
#loadingEffect;
|
|
118
|
+
#selectionSyncEffect;
|
|
119
|
+
async handleSearchChange(event) {
|
|
120
|
+
if (event.value == null) {
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
if (event.value?.length > 0) {
|
|
124
|
+
this.vm.setLoading(true);
|
|
125
|
+
try {
|
|
126
|
+
const searchRootId = this.vm.currentNode()?.id === 'virtual'
|
|
127
|
+
? this.vm.currentNode()?.parentId ?? undefined
|
|
128
|
+
: this.vm.currentNode()?.id;
|
|
129
|
+
const result = await this.driveService.searchNodes(event.value, this.scope, {
|
|
130
|
+
folderId: searchRootId !== 'virtual' ? searchRootId : undefined,
|
|
131
|
+
});
|
|
132
|
+
await this.vm.virtualFolder(result, {
|
|
133
|
+
name: 'Search Result',
|
|
134
|
+
parentId: searchRootId,
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
finally {
|
|
138
|
+
this.vm.setLoading(false);
|
|
139
|
+
}
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
// Clearing search restores the folder that was searched — do not navigate to parent.
|
|
143
|
+
const restoreFolderId = this.vm.currentNode()?.id === 'virtual'
|
|
144
|
+
? this.vm.currentNode()?.parentId ?? undefined
|
|
145
|
+
: this.vm.currentNode()?.id;
|
|
146
|
+
await this.loadDrive(restoreFolderId || undefined);
|
|
147
|
+
}
|
|
148
|
+
async ngOnInit() {
|
|
149
|
+
super.ngOnInit();
|
|
150
|
+
this.applyPopupOptions();
|
|
151
|
+
await this.loadFilterItems();
|
|
152
|
+
await this.vm.initialize({
|
|
153
|
+
browseMode: this.browseModeState(),
|
|
154
|
+
scope: this.scope,
|
|
155
|
+
});
|
|
156
|
+
this.vm.setSelectionMode(this.selectionModeState());
|
|
157
|
+
this.loadDrive();
|
|
158
|
+
}
|
|
159
|
+
applyPopupOptions() {
|
|
160
|
+
this.browseModeState.set(this.browseMode);
|
|
161
|
+
this.selectionModeState.set(this.selectionMode);
|
|
162
|
+
}
|
|
163
|
+
async loadDrive(folderId) {
|
|
164
|
+
if (folderId) {
|
|
165
|
+
await this.vm.loadFolderContents(folderId);
|
|
166
|
+
}
|
|
167
|
+
else {
|
|
168
|
+
// getRoot already returns the hydrated root (children + shortcuts + path):
|
|
169
|
+
// apply it directly instead of fetching the same folder a second time.
|
|
170
|
+
const root = await this.driveService.getRoot(this.scope);
|
|
171
|
+
if (root.result) {
|
|
172
|
+
await this.vm.applyLoadedFolder(root);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
async loadFilterItems() {
|
|
177
|
+
const types = await this.fileTypeService.items();
|
|
178
|
+
const items = [
|
|
179
|
+
{ key: 'all', textKey: 'file-types.all', icon: 'fa-light fa-folder-closed' },
|
|
180
|
+
...types.map((type) => ({
|
|
181
|
+
key: type.name,
|
|
182
|
+
textKey: `file-types.${type.name}`,
|
|
183
|
+
icon: type.icon || 'fa-light fa-file',
|
|
184
|
+
})),
|
|
185
|
+
];
|
|
186
|
+
this.filterItems.set(items);
|
|
187
|
+
}
|
|
188
|
+
setFilter(key) {
|
|
189
|
+
this.selectedFilter.set(key);
|
|
190
|
+
}
|
|
191
|
+
getFilterIcon() {
|
|
192
|
+
if (this.selectedFilter() === 'all') {
|
|
193
|
+
return 'fa-light fa-folder-closed';
|
|
194
|
+
}
|
|
195
|
+
const item = this.filterItems().find((item) => item.key === this.selectedFilter());
|
|
196
|
+
return item?.icon || 'fa-light fa-file';
|
|
197
|
+
}
|
|
198
|
+
getFilterText() {
|
|
199
|
+
if (this.selectedFilter() === 'all') {
|
|
200
|
+
return 'file-types.all';
|
|
201
|
+
}
|
|
202
|
+
const item = this.filterItems().find((item) => item.key === this.selectedFilter());
|
|
203
|
+
return item?.textKey || 'file-types.all';
|
|
204
|
+
}
|
|
205
|
+
handleNavigateToFolder(folderId) {
|
|
206
|
+
this.vm.navigateToFolder(folderId);
|
|
207
|
+
}
|
|
208
|
+
async handleSubmitButton() {
|
|
209
|
+
const items = this.vm.browseMode() === 'file'
|
|
210
|
+
? this.vm.selectedNodes().filter((node) => node.type === 'file')
|
|
211
|
+
: [this.vm.currentFolder()].filter(Boolean);
|
|
212
|
+
this.close({
|
|
213
|
+
result: true,
|
|
214
|
+
items,
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
handleCancelClick() {
|
|
218
|
+
this.close({
|
|
219
|
+
result: false,
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMDocumentDriveChooseComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
223
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXMDocumentDriveChooseComponent, isStandalone: true, selector: "ax-document-drive-choose", providers: [AXPDocumentExplorerViewModel], viewQueries: [{ propertyName: "documentExplorer", first: true, predicate: AXMDocumentExplorerComponent, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"axm-drive-choose\" [class.__compact-header]=\"hideHeader\" *translate=\"let t\">\n <header class=\"__header\">\n @if (!hideHeader) {\n <div class=\"__header-main\">\n <span class=\"__header-icon primary-surface\">\n <ax-icon icon=\"fa-light fa-hard-drive\"></ax-icon>\n </span>\n <div class=\"__header-text\">\n <h2 class=\"__header-title\">\n {{\n '@document-management:actions.choose-from-drive' | translate | async\n }}\n </h2>\n <p class=\"__header-subtitle\">\n {{\n t(subtitleKey(), { scope: rootConfig.config.i18n })\n | async\n }}\n </p>\n </div>\n </div>\n }\n\n <div class=\"__toolbar\">\n <axm-folder-path-breadcrumbs\n class=\"__breadcrumbs\"\n ></axm-folder-path-breadcrumbs>\n <ax-search-box\n [(value)]=\"searchQuery\"\n (onValueChanged)=\"handleSearchChange($event)\"\n class=\"__search\"\n [placeholder]=\"\n t('actions.search', { scope: rootConfig.config.i18n }) | async\n \"\n >\n <ax-clear-button></ax-clear-button>\n </ax-search-box>\n </div>\n </header>\n\n <main class=\"__body\">\n @if (vm.isLoading()) {\n <div class=\"__loading\">\n <ax-loading></ax-loading>\n <span>{{\n t('drive-choose.loading', { scope: rootConfig.config.i18n }) | async\n }}</span>\n </div>\n } @else {\n <axm-document-explorer\n [browseMode]=\"browseModeState()\"\n [selectionMode]=\"selectionModeState()\"\n [viewMode]=\"'list'\"\n [showContextMenu]=\"false\"\n >\n </axm-document-explorer>\n }\n </main>\n\n <ax-footer class=\"__footer light-surface\">\n <ax-prefix>\n @if (selectionModeState() === 'multiple' && selectedFileCount() > 0) {\n <span class=\"__selection-badge primary-surface\">\n <ax-icon icon=\"fa-light fa-check\"></ax-icon>\n {{\n t('drive-choose.selected-count', {\n scope: rootConfig.config.i18n,\n params: { count: selectedFileCount() },\n }) | async\n }}\n </span>\n }\n </ax-prefix>\n <ax-suffix>\n <ax-button\n (onClick)=\"handleCancelClick()\"\n [text]=\"'@general:actions.cancel.title' | translate | async\"\n ></ax-button>\n <ax-button\n look=\"solid\"\n color=\"primary\"\n [disabled]=\"!canSubmit()\"\n (onClick)=\"handleSubmitButton()\"\n [text]=\"t(selectText(), { scope: rootConfig.config.i18n }) | async\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-light fa-check\"></ax-icon>\n </ax-prefix>\n </ax-button>\n </ax-suffix>\n </ax-footer>\n</div>\n", styles: ["@layer properties;ax-document-drive-choose{display:block;width:100%;min-height:50vh}.axm-drive-choose{display:flex;width:100%;flex-direction:column;min-height:50vh;background:rgb(var(--ax-sys-color-lightest-surface))}.axm-drive-choose.__compact-header .__header{padding-top:calc(var(--spacing, .25rem) * 3)}.axm-drive-choose.__compact-header .__body{min-height:18rem}.axm-drive-choose .__header{display:flex;flex-direction:column;gap:var(--spacing, .25rem);padding-inline:calc(var(--spacing, .25rem) * 3);padding-block:calc(var(--spacing, .25rem) * 2);border-bottom:1px solid rgb(var(--ax-sys-color-border-lighter-surface))}.axm-drive-choose .__header-main{display:flex;align-items:center;gap:calc(var(--spacing, .25rem) * 3.5)}.axm-drive-choose .__header-icon{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:.75rem;font-size:1.125rem;color:rgb(var(--ax-sys-color-on-primary-surface))}.axm-drive-choose .__header-text{display:flex;min-width:0px;flex-direction:column;gap:.125rem}.axm-drive-choose .__header-title{margin:0;--tw-font-weight: var(--font-weight-semibold, 600);font-weight:var(--font-weight-semibold, 600);font-size:1.0625rem;color:rgb(var(--ax-sys-color-on-surface))}.axm-drive-choose .__header-subtitle{margin:0;font-size:.8125rem;line-height:1.4;color:rgb(var(--ax-sys-color-on-light-surface))}.axm-drive-choose .__toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:calc(var(--spacing, .25rem) * 3)}.axm-drive-choose .__breadcrumbs{min-width:0px;flex:1}.axm-drive-choose .__search{max-width:100%;width:16rem}.axm-drive-choose .__body{min-height:0px;flex:1;overflow:auto;padding:.75rem 1rem 1rem}.axm-drive-choose .__loading{display:flex;min-height:calc(var(--spacing, .25rem) * 64);flex-direction:column;align-items:center;justify-content:center;gap:calc(var(--spacing, .25rem) * 3);border-radius:var(--radius-xl, .75rem);font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));color:rgb(var(--ax-sys-color-on-light-surface))}.axm-drive-choose .__footer{display:flex;align-items:center;justify-content:space-between;gap:calc(var(--spacing, .25rem) * 4);padding:.875rem 1.5rem;border-top:1px solid rgb(var(--ax-sys-color-border-lighter-surface))}.axm-drive-choose .__selection-badge{display:inline-flex;align-items:center;gap:calc(var(--spacing, .25rem) * 2);border-radius:calc(infinity * 1px);--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500);padding:.375rem .75rem;font-size:.8125rem;color:rgb(var(--ax-sys-color-on-primary-surface))}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight: initial}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: RouterModule }, { kind: "ngmodule", type: AXMenuModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXButtonGroupModule }, { kind: "ngmodule", type: AXDropdownButtonModule }, { kind: "ngmodule", type: AXDropdownModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i3.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3$1.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i3$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "ngmodule", type: AXSearchBoxModule }, { kind: "component", type: i6.AXSearchBoxComponent, selector: "ax-search-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "class", "delayTime", "type", "autoSearch"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXFileModule }, { kind: "ngmodule", type: AXBreadcrumbsModule }, { kind: "ngmodule", type: AXDateTimeModule }, { kind: "component", type: AXMDocumentExplorerComponent, selector: "axm-document-explorer", inputs: ["browseMode", "viewMode", "selectionMode", "showContextMenu"] }, { kind: "component", type: AXMFolderPathBreadcrumbsComponent, selector: "axm-folder-path-breadcrumbs" }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
224
|
+
}
|
|
225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMDocumentDriveChooseComponent, decorators: [{
|
|
226
|
+
type: Component,
|
|
227
|
+
args: [{ selector: 'ax-document-drive-choose', standalone: true, imports: [
|
|
228
|
+
CommonModule,
|
|
229
|
+
RouterModule,
|
|
230
|
+
AXMenuModule,
|
|
231
|
+
AXButtonModule,
|
|
232
|
+
AXButtonGroupModule,
|
|
233
|
+
AXDropdownButtonModule,
|
|
234
|
+
AXDropdownModule,
|
|
235
|
+
AXTranslationModule,
|
|
236
|
+
AXDecoratorModule,
|
|
237
|
+
AXLoadingModule,
|
|
238
|
+
AXBadgeModule,
|
|
239
|
+
AXSearchBoxModule,
|
|
240
|
+
AXFormatModule,
|
|
241
|
+
AXFileModule,
|
|
242
|
+
AXBreadcrumbsModule,
|
|
243
|
+
AXDateTimeModule,
|
|
244
|
+
AXMDocumentExplorerComponent,
|
|
245
|
+
AXMFolderPathBreadcrumbsComponent,
|
|
246
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [AXPDocumentExplorerViewModel], template: "<div class=\"axm-drive-choose\" [class.__compact-header]=\"hideHeader\" *translate=\"let t\">\n <header class=\"__header\">\n @if (!hideHeader) {\n <div class=\"__header-main\">\n <span class=\"__header-icon primary-surface\">\n <ax-icon icon=\"fa-light fa-hard-drive\"></ax-icon>\n </span>\n <div class=\"__header-text\">\n <h2 class=\"__header-title\">\n {{\n '@document-management:actions.choose-from-drive' | translate | async\n }}\n </h2>\n <p class=\"__header-subtitle\">\n {{\n t(subtitleKey(), { scope: rootConfig.config.i18n })\n | async\n }}\n </p>\n </div>\n </div>\n }\n\n <div class=\"__toolbar\">\n <axm-folder-path-breadcrumbs\n class=\"__breadcrumbs\"\n ></axm-folder-path-breadcrumbs>\n <ax-search-box\n [(value)]=\"searchQuery\"\n (onValueChanged)=\"handleSearchChange($event)\"\n class=\"__search\"\n [placeholder]=\"\n t('actions.search', { scope: rootConfig.config.i18n }) | async\n \"\n >\n <ax-clear-button></ax-clear-button>\n </ax-search-box>\n </div>\n </header>\n\n <main class=\"__body\">\n @if (vm.isLoading()) {\n <div class=\"__loading\">\n <ax-loading></ax-loading>\n <span>{{\n t('drive-choose.loading', { scope: rootConfig.config.i18n }) | async\n }}</span>\n </div>\n } @else {\n <axm-document-explorer\n [browseMode]=\"browseModeState()\"\n [selectionMode]=\"selectionModeState()\"\n [viewMode]=\"'list'\"\n [showContextMenu]=\"false\"\n >\n </axm-document-explorer>\n }\n </main>\n\n <ax-footer class=\"__footer light-surface\">\n <ax-prefix>\n @if (selectionModeState() === 'multiple' && selectedFileCount() > 0) {\n <span class=\"__selection-badge primary-surface\">\n <ax-icon icon=\"fa-light fa-check\"></ax-icon>\n {{\n t('drive-choose.selected-count', {\n scope: rootConfig.config.i18n,\n params: { count: selectedFileCount() },\n }) | async\n }}\n </span>\n }\n </ax-prefix>\n <ax-suffix>\n <ax-button\n (onClick)=\"handleCancelClick()\"\n [text]=\"'@general:actions.cancel.title' | translate | async\"\n ></ax-button>\n <ax-button\n look=\"solid\"\n color=\"primary\"\n [disabled]=\"!canSubmit()\"\n (onClick)=\"handleSubmitButton()\"\n [text]=\"t(selectText(), { scope: rootConfig.config.i18n }) | async\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-light fa-check\"></ax-icon>\n </ax-prefix>\n </ax-button>\n </ax-suffix>\n </ax-footer>\n</div>\n", styles: ["@layer properties;ax-document-drive-choose{display:block;width:100%;min-height:50vh}.axm-drive-choose{display:flex;width:100%;flex-direction:column;min-height:50vh;background:rgb(var(--ax-sys-color-lightest-surface))}.axm-drive-choose.__compact-header .__header{padding-top:calc(var(--spacing, .25rem) * 3)}.axm-drive-choose.__compact-header .__body{min-height:18rem}.axm-drive-choose .__header{display:flex;flex-direction:column;gap:var(--spacing, .25rem);padding-inline:calc(var(--spacing, .25rem) * 3);padding-block:calc(var(--spacing, .25rem) * 2);border-bottom:1px solid rgb(var(--ax-sys-color-border-lighter-surface))}.axm-drive-choose .__header-main{display:flex;align-items:center;gap:calc(var(--spacing, .25rem) * 3.5)}.axm-drive-choose .__header-icon{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:.75rem;font-size:1.125rem;color:rgb(var(--ax-sys-color-on-primary-surface))}.axm-drive-choose .__header-text{display:flex;min-width:0px;flex-direction:column;gap:.125rem}.axm-drive-choose .__header-title{margin:0;--tw-font-weight: var(--font-weight-semibold, 600);font-weight:var(--font-weight-semibold, 600);font-size:1.0625rem;color:rgb(var(--ax-sys-color-on-surface))}.axm-drive-choose .__header-subtitle{margin:0;font-size:.8125rem;line-height:1.4;color:rgb(var(--ax-sys-color-on-light-surface))}.axm-drive-choose .__toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:calc(var(--spacing, .25rem) * 3)}.axm-drive-choose .__breadcrumbs{min-width:0px;flex:1}.axm-drive-choose .__search{max-width:100%;width:16rem}.axm-drive-choose .__body{min-height:0px;flex:1;overflow:auto;padding:.75rem 1rem 1rem}.axm-drive-choose .__loading{display:flex;min-height:calc(var(--spacing, .25rem) * 64);flex-direction:column;align-items:center;justify-content:center;gap:calc(var(--spacing, .25rem) * 3);border-radius:var(--radius-xl, .75rem);font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));color:rgb(var(--ax-sys-color-on-light-surface))}.axm-drive-choose .__footer{display:flex;align-items:center;justify-content:space-between;gap:calc(var(--spacing, .25rem) * 4);padding:.875rem 1.5rem;border-top:1px solid rgb(var(--ax-sys-color-border-lighter-surface))}.axm-drive-choose .__selection-badge{display:inline-flex;align-items:center;gap:calc(var(--spacing, .25rem) * 2);border-radius:calc(infinity * 1px);--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500);padding:.375rem .75rem;font-size:.8125rem;color:rgb(var(--ax-sys-color-on-primary-surface))}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight: initial}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
|
|
247
|
+
}], propDecorators: { documentExplorer: [{ type: i0.ViewChild, args: [i0.forwardRef(() => AXMDocumentExplorerComponent), { isSignal: true }] }] } });
|
|
248
|
+
|
|
249
|
+
export { AXMDocumentDriveChooseComponent };
|
|
250
|
+
//# sourceMappingURL=acorex-platform-module-document-management-client-drive-choose.component-Deduhl99.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-document-management-client-drive-choose.component-Deduhl99.mjs","sources":["../../../../libs/modules/document-management/client/src/lib/features/drive-choose/drive-choose.component.ts","../../../../libs/modules/document-management/client/src/lib/features/drive-choose/drive-choose.component.html"],"sourcesContent":["import { AXBadgeModule } from '@acorex/components/badge';\nimport { AXBreadcrumbsModule } from '@acorex/components/breadcrumbs';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXButtonGroupModule } from '@acorex/components/button-group';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDropdownModule } from '@acorex/components/dropdown';\nimport { AXDropdownButtonModule } from '@acorex/components/dropdown-button';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXMenuModule } from '@acorex/components/menu';\nimport { AXBasePageComponent } from '@acorex/components/page';\nimport { AXSearchBoxModule } from '@acorex/components/search-box';\nimport { AXDateTimeModule } from '@acorex/core/date-time';\nimport { AXFileModule } from '@acorex/core/file';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport { AXPFileTypeProviderService } from '@acorex-platform/framework-client/common';\nimport { AXPPlatformScope } from '@acorex-platform/framework-shared/core';\nimport { AXPLayoutThemeService } from '@acorex-platform/framework-client/themes/shared';\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n inject,\n OnInit,\n signal,\n untracked,\n viewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { RootConfig } from '@acorex-platform/module-document-management-client/contracts';\nimport { AXMDocumentExplorerComponent, AXPDocumentExplorerViewModel } from '../document-explorer';\nimport { AXMDocumentManagerService, AXMFolderPathBreadcrumbsComponent } from '../shared';\nimport { AXMDocumentExplorerBrowseMode, AXMDocumentSelectionMode } from '../shared/document-manager.types';\nimport { AXValueChangedEvent } from '@acorex/cdk/common';\n@Component({\n selector: 'ax-document-drive-choose',\n templateUrl: './drive-choose.component.html',\n styleUrls: ['./drive-choose.component.css'],\n standalone: true,\n imports: [\n CommonModule,\n RouterModule,\n AXMenuModule,\n AXButtonModule,\n AXButtonGroupModule,\n AXDropdownButtonModule,\n AXDropdownModule,\n AXTranslationModule,\n AXDecoratorModule,\n AXLoadingModule,\n AXBadgeModule,\n AXSearchBoxModule,\n AXFormatModule,\n AXFileModule,\n AXBreadcrumbsModule,\n AXDateTimeModule,\n AXMDocumentExplorerComponent,\n AXMFolderPathBreadcrumbsComponent,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [AXPDocumentExplorerViewModel],\n})\nexport class AXMDocumentDriveChooseComponent extends AXBasePageComponent implements OnInit {\n /** Assigned by popup `data` before `ngOnInit`. */\n public scope!: AXPPlatformScope;\n /** Assigned by popup `data` before `ngOnInit`. */\n public browseMode: AXMDocumentExplorerBrowseMode = 'file';\n /** Assigned by popup `data` before `ngOnInit`. */\n public selectionMode: AXMDocumentSelectionMode = 'single';\n /** When true, hides the in-dialog title row (popup chrome provides the title). */\n public hideHeader = false;\n\n protected readonly layout = inject(AXPLayoutThemeService);\n protected readonly rootConfig = RootConfig;\n private readonly fileTypeService = inject(AXPFileTypeProviderService);\n private readonly driveService = inject(AXMDocumentManagerService);\n protected readonly vm = inject(AXPDocumentExplorerViewModel);\n protected readonly sessionService = inject(AXPSessionService);\n\n protected readonly filterItems = signal<Array<{ key: string; textKey: string; icon: string }>>([]);\n public selectedFilter = signal<string>('all');\n\n protected readonly browseModeState = signal<AXMDocumentExplorerBrowseMode>('file');\n protected readonly selectionModeState = signal<AXMDocumentSelectionMode>('single');\n\n protected readonly sortItems = signal([\n { key: 'name', textKey: 'actions.sort-by-name', icon: 'fa-light fa-font' },\n { key: 'modified', textKey: 'actions.sort-by-date', icon: 'fa-light fa-calendar' },\n { key: 'size', textKey: 'actions.sort-by-size', icon: 'fa-light fa-weight-hanging' },\n ]);\n\n protected documentExplorer = viewChild(AXMDocumentExplorerComponent);\n\n protected readonly selectedSort = computed(() => {\n const items = this.sortItems();\n return items.find((item) => item.key === this.vm.sortField()) || items[0];\n });\n\n protected readonly selectText = computed(() => {\n if (this.vm.browseMode() !== 'file') {\n return 'actions.select-folder';\n }\n return this.selectionModeState() === 'multiple' ? 'actions.select-files' : 'actions.select-file';\n });\n\n protected readonly selectedFileCount = computed(() =>\n this.vm.selectedNodes().filter((node) => node.type === 'file').length,\n );\n\n protected readonly canSubmit = computed(() => {\n if (this.browseModeState() === 'folder') {\n return Boolean(this.vm.currentFolder()?.id);\n }\n\n const selectedFiles = this.vm.selectedNodes().filter((node) => node.type === 'file');\n if (this.selectionModeState() === 'multiple') {\n return selectedFiles.length > 0;\n }\n return selectedFiles.length === 1;\n });\n\n protected readonly subtitleKey = computed(() =>\n this.browseModeState() === 'folder' ? 'drive-choose.subtitle-folder' : 'drive-choose.subtitle',\n );\n\n protected searchQuery: string | null = '';\n\n #navigateEffect = effect(() => {\n const navigatingFolderId = this.vm.navigatingFolderId();\n if (navigatingFolderId) {\n this.loadDrive(navigatingFolderId);\n \n // Clear search when navigating to a folder\n setTimeout(() => {\n this.searchQuery = null;\n }, 200);\n }\n });\n\n #loadingEffect = effect(() => {\n const isLoading = this.vm.isLoading();\n untracked(() => {\n this.layout.setNavigationLoading(isLoading);\n });\n });\n\n #selectionSyncEffect = effect(() => {\n if (this.documentExplorer()) {\n this.vm.setSelectionMode(this.selectionModeState());\n }\n });\n\n async handleSearchChange(event: AXValueChangedEvent) {\n if (event.value == null) {\n return;\n }\n\n if (event.value?.length > 0) {\n this.vm.setLoading(true);\n try {\n const searchRootId =\n this.vm.currentNode()?.id === 'virtual'\n ? this.vm.currentNode()?.parentId ?? undefined\n : this.vm.currentNode()?.id;\n const result = await this.driveService.searchNodes(event.value, this.scope, {\n folderId: searchRootId !== 'virtual' ? searchRootId : undefined,\n });\n await this.vm.virtualFolder(result, {\n name: 'Search Result',\n parentId: searchRootId,\n });\n } finally {\n this.vm.setLoading(false);\n }\n return;\n }\n\n // Clearing search restores the folder that was searched — do not navigate to parent.\n const restoreFolderId =\n this.vm.currentNode()?.id === 'virtual'\n ? this.vm.currentNode()?.parentId ?? undefined\n : this.vm.currentNode()?.id;\n await this.loadDrive(restoreFolderId || undefined);\n }\n\n override async ngOnInit() {\n super.ngOnInit();\n this.applyPopupOptions();\n await this.loadFilterItems();\n\n await this.vm.initialize({\n browseMode: this.browseModeState(),\n scope: this.scope,\n });\n this.vm.setSelectionMode(this.selectionModeState());\n this.loadDrive();\n }\n\n private applyPopupOptions(): void {\n this.browseModeState.set(this.browseMode);\n this.selectionModeState.set(this.selectionMode);\n }\n\n private async loadDrive(folderId?: string) {\n if (folderId) {\n await this.vm.loadFolderContents(folderId);\n } else {\n // getRoot already returns the hydrated root (children + shortcuts + path):\n // apply it directly instead of fetching the same folder a second time.\n const root = await this.driveService.getRoot(this.scope);\n if (root.result) {\n await this.vm.applyLoadedFolder(root);\n }\n }\n }\n\n async loadFilterItems() {\n const types = await this.fileTypeService.items();\n const items = [\n { key: 'all', textKey: 'file-types.all', icon: 'fa-light fa-folder-closed' },\n ...types.map((type) => ({\n key: type.name,\n textKey: `file-types.${type.name}`,\n icon: type.icon || 'fa-light fa-file',\n })),\n ];\n this.filterItems.set(items);\n }\n\n protected setFilter(key: string): void {\n this.selectedFilter.set(key);\n }\n\n protected getFilterIcon(): string {\n if (this.selectedFilter() === 'all') {\n return 'fa-light fa-folder-closed';\n }\n const item = this.filterItems().find((item) => item.key === this.selectedFilter());\n return item?.icon || 'fa-light fa-file';\n }\n\n protected getFilterText(): string {\n if (this.selectedFilter() === 'all') {\n return 'file-types.all';\n }\n const item = this.filterItems().find((item) => item.key === this.selectedFilter());\n return item?.textKey || 'file-types.all';\n }\n\n protected handleNavigateToFolder(folderId: string) {\n this.vm.navigateToFolder(folderId);\n }\n\n protected async handleSubmitButton() {\n const items =\n this.vm.browseMode() === 'file'\n ? this.vm.selectedNodes().filter((node) => node.type === 'file')\n : [this.vm.currentFolder()].filter(Boolean);\n\n this.close({\n result: true,\n items,\n });\n }\n\n protected handleCancelClick() {\n this.close({\n result: false,\n });\n }\n}\n","<div class=\"axm-drive-choose\" [class.__compact-header]=\"hideHeader\" *translate=\"let t\">\n <header class=\"__header\">\n @if (!hideHeader) {\n <div class=\"__header-main\">\n <span class=\"__header-icon primary-surface\">\n <ax-icon icon=\"fa-light fa-hard-drive\"></ax-icon>\n </span>\n <div class=\"__header-text\">\n <h2 class=\"__header-title\">\n {{\n '@document-management:actions.choose-from-drive' | translate | async\n }}\n </h2>\n <p class=\"__header-subtitle\">\n {{\n t(subtitleKey(), { scope: rootConfig.config.i18n })\n | async\n }}\n </p>\n </div>\n </div>\n }\n\n <div class=\"__toolbar\">\n <axm-folder-path-breadcrumbs\n class=\"__breadcrumbs\"\n ></axm-folder-path-breadcrumbs>\n <ax-search-box\n [(value)]=\"searchQuery\"\n (onValueChanged)=\"handleSearchChange($event)\"\n class=\"__search\"\n [placeholder]=\"\n t('actions.search', { scope: rootConfig.config.i18n }) | async\n \"\n >\n <ax-clear-button></ax-clear-button>\n </ax-search-box>\n </div>\n </header>\n\n <main class=\"__body\">\n @if (vm.isLoading()) {\n <div class=\"__loading\">\n <ax-loading></ax-loading>\n <span>{{\n t('drive-choose.loading', { scope: rootConfig.config.i18n }) | async\n }}</span>\n </div>\n } @else {\n <axm-document-explorer\n [browseMode]=\"browseModeState()\"\n [selectionMode]=\"selectionModeState()\"\n [viewMode]=\"'list'\"\n [showContextMenu]=\"false\"\n >\n </axm-document-explorer>\n }\n </main>\n\n <ax-footer class=\"__footer light-surface\">\n <ax-prefix>\n @if (selectionModeState() === 'multiple' && selectedFileCount() > 0) {\n <span class=\"__selection-badge primary-surface\">\n <ax-icon icon=\"fa-light fa-check\"></ax-icon>\n {{\n t('drive-choose.selected-count', {\n scope: rootConfig.config.i18n,\n params: { count: selectedFileCount() },\n }) | async\n }}\n </span>\n }\n </ax-prefix>\n <ax-suffix>\n <ax-button\n (onClick)=\"handleCancelClick()\"\n [text]=\"'@general:actions.cancel.title' | translate | async\"\n ></ax-button>\n <ax-button\n look=\"solid\"\n color=\"primary\"\n [disabled]=\"!canSubmit()\"\n (onClick)=\"handleSubmitButton()\"\n [text]=\"t(selectText(), { scope: rootConfig.config.i18n }) | async\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-light fa-check\"></ax-icon>\n </ax-prefix>\n </ax-button>\n </ax-suffix>\n </ax-footer>\n</div>\n"],"names":["i3","i5","i6","i2"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmEM,MAAO,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
|
|
2
|
+
import { AXSkeletonModule } from '@acorex/components/skeleton';
|
|
3
|
+
import * as i3 from '@acorex/core/translation';
|
|
4
|
+
import { AXTranslationModule } from '@acorex/core/translation';
|
|
5
|
+
import * as i1$1 from '@angular/common';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
import * as i0 from '@angular/core';
|
|
8
|
+
import { inject, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
9
|
+
import { A as AXPDocumentExplorerViewModel } from './acorex-platform-module-document-management-client-acorex-platform-module-document-management-client-LQjccofO.mjs';
|
|
10
|
+
|
|
11
|
+
class AXMDocumentExplorerLargeIconsViewSkeletonComponent {
|
|
12
|
+
constructor() {
|
|
13
|
+
this.vm = inject(AXPDocumentExplorerViewModel);
|
|
14
|
+
this.folderPlaceholders = [0, 1, 2];
|
|
15
|
+
this.filePlaceholders = [0, 1];
|
|
16
|
+
this.flatPlaceholders = [0, 1, 2, 3, 4];
|
|
17
|
+
}
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMDocumentExplorerLargeIconsViewSkeletonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
19
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXMDocumentExplorerLargeIconsViewSkeletonComponent, isStandalone: true, selector: "axm-document-explorer-large-icons-view-skeleton", ngImport: i0, template: "@if (vm.groupByType()) {\n <div class=\"__section\">\n <div class=\"__header\">\n <h3 class=\"__title\">{{ '@document-management:terms.common.folders' | translate | async }}</h3>\n </div>\n <div class=\"__content\">\n @for (item of folderPlaceholders; track item) {\n <div class=\"__item\">\n <ax-skeleton [animated]=\"true\" class=\"__icon\"></ax-skeleton>\n <ax-skeleton [animated]=\"true\" class=\"__name\"></ax-skeleton>\n </div>\n }\n </div>\n </div>\n <div class=\"__section\">\n <div class=\"__header\">\n <h3 class=\"__title\">{{ '@document-management:terms.common.files' | translate | async }}</h3>\n </div>\n <div class=\"__content\">\n @for (item of filePlaceholders; track item) {\n <div class=\"__item\">\n <ax-skeleton [animated]=\"true\" class=\"__icon\"></ax-skeleton>\n <ax-skeleton [animated]=\"true\" class=\"__name\"></ax-skeleton>\n </div>\n }\n </div>\n </div>\n} @else {\n <div class=\"__content\">\n @for (item of flatPlaceholders; track item) {\n <div class=\"__item\">\n <ax-skeleton [animated]=\"true\" class=\"__icon\"></ax-skeleton>\n <ax-skeleton [animated]=\"true\" class=\"__name\"></ax-skeleton>\n </div>\n }\n </div>\n}\n", styles: ["@layer properties;:host{display:block;width:100%}:host .__section{margin-bottom:calc(var(--spacing, .25rem) * 8);width:100%}:host .__section:last-child{margin-bottom:0}:host .__section .__header .__title{margin-bottom:calc(var(--spacing, .25rem) * 4);font-size:var(--text-lg, 1.125rem);line-height:var(--tw-leading, var(--text-lg--line-height, calc(1.75 / 1.125)));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500)}:host .__content{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:calc(var(--spacing, .25rem) * 4)}:host .__item{display:flex;flex-direction:column;align-items:center;gap:calc(var(--spacing, .25rem) * 2);padding:calc(var(--spacing, .25rem) * 4)}:host .__icon{height:calc(var(--spacing, .25rem) * 12);width:calc(var(--spacing, .25rem) * 12);border-radius:.25rem}:host .__name{height:calc(var(--spacing, .25rem) * 4);width:100%;border-radius:.25rem}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight: initial}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXSkeletonModule }, { kind: "component", type: i1.AXSkeletonComponent, selector: "ax-skeleton", inputs: ["animated"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
20
|
+
}
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMDocumentExplorerLargeIconsViewSkeletonComponent, decorators: [{
|
|
22
|
+
type: Component,
|
|
23
|
+
args: [{ selector: 'axm-document-explorer-large-icons-view-skeleton', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, AXSkeletonModule, AXTranslationModule], template: "@if (vm.groupByType()) {\n <div class=\"__section\">\n <div class=\"__header\">\n <h3 class=\"__title\">{{ '@document-management:terms.common.folders' | translate | async }}</h3>\n </div>\n <div class=\"__content\">\n @for (item of folderPlaceholders; track item) {\n <div class=\"__item\">\n <ax-skeleton [animated]=\"true\" class=\"__icon\"></ax-skeleton>\n <ax-skeleton [animated]=\"true\" class=\"__name\"></ax-skeleton>\n </div>\n }\n </div>\n </div>\n <div class=\"__section\">\n <div class=\"__header\">\n <h3 class=\"__title\">{{ '@document-management:terms.common.files' | translate | async }}</h3>\n </div>\n <div class=\"__content\">\n @for (item of filePlaceholders; track item) {\n <div class=\"__item\">\n <ax-skeleton [animated]=\"true\" class=\"__icon\"></ax-skeleton>\n <ax-skeleton [animated]=\"true\" class=\"__name\"></ax-skeleton>\n </div>\n }\n </div>\n </div>\n} @else {\n <div class=\"__content\">\n @for (item of flatPlaceholders; track item) {\n <div class=\"__item\">\n <ax-skeleton [animated]=\"true\" class=\"__icon\"></ax-skeleton>\n <ax-skeleton [animated]=\"true\" class=\"__name\"></ax-skeleton>\n </div>\n }\n </div>\n}\n", styles: ["@layer properties;:host{display:block;width:100%}:host .__section{margin-bottom:calc(var(--spacing, .25rem) * 8);width:100%}:host .__section:last-child{margin-bottom:0}:host .__section .__header .__title{margin-bottom:calc(var(--spacing, .25rem) * 4);font-size:var(--text-lg, 1.125rem);line-height:var(--tw-leading, var(--text-lg--line-height, calc(1.75 / 1.125)));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500)}:host .__content{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:calc(var(--spacing, .25rem) * 4)}:host .__item{display:flex;flex-direction:column;align-items:center;gap:calc(var(--spacing, .25rem) * 2);padding:calc(var(--spacing, .25rem) * 4)}:host .__icon{height:calc(var(--spacing, .25rem) * 12);width:calc(var(--spacing, .25rem) * 12);border-radius:.25rem}:host .__name{height:calc(var(--spacing, .25rem) * 4);width:100%;border-radius:.25rem}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight: initial}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
|
|
24
|
+
}] });
|
|
25
|
+
|
|
26
|
+
export { AXMDocumentExplorerLargeIconsViewSkeletonComponent };
|
|
27
|
+
//# sourceMappingURL=acorex-platform-module-document-management-client-large-icons-view-skeleton.component-wZG913_E.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-document-management-client-large-icons-view-skeleton.component-wZG913_E.mjs","sources":["../../../../libs/modules/document-management/client/src/lib/features/document-explorer/views/large-icons/large-icons-view-skeleton.component.ts","../../../../libs/modules/document-management/client/src/lib/features/document-explorer/views/large-icons/large-icons-view-skeleton.component.html"],"sourcesContent":["import { AXSkeletonModule } from '@acorex/components/skeleton';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject } from '@angular/core';\nimport { AXPDocumentExplorerViewModel } from '../../document-explorer.viewmodel';\n\n@Component({\n selector: 'axm-document-explorer-large-icons-view-skeleton',\n templateUrl: './large-icons-view-skeleton.component.html',\n styleUrl: './large-icons-view-skeleton.component.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXSkeletonModule, AXTranslationModule],\n})\nexport class AXMDocumentExplorerLargeIconsViewSkeletonComponent {\n protected readonly vm = inject(AXPDocumentExplorerViewModel);\n\n protected readonly folderPlaceholders = [0, 1, 2];\n protected readonly filePlaceholders = [0, 1];\n protected readonly flatPlaceholders = [0, 1, 2, 3, 4];\n}\n","@if (vm.groupByType()) {\n <div class=\"__section\">\n <div class=\"__header\">\n <h3 class=\"__title\">{{ '@document-management:terms.common.folders' | translate | async }}</h3>\n </div>\n <div class=\"__content\">\n @for (item of folderPlaceholders; track item) {\n <div class=\"__item\">\n <ax-skeleton [animated]=\"true\" class=\"__icon\"></ax-skeleton>\n <ax-skeleton [animated]=\"true\" class=\"__name\"></ax-skeleton>\n </div>\n }\n </div>\n </div>\n <div class=\"__section\">\n <div class=\"__header\">\n <h3 class=\"__title\">{{ '@document-management:terms.common.files' | translate | async }}</h3>\n </div>\n <div class=\"__content\">\n @for (item of filePlaceholders; track item) {\n <div class=\"__item\">\n <ax-skeleton [animated]=\"true\" class=\"__icon\"></ax-skeleton>\n <ax-skeleton [animated]=\"true\" class=\"__name\"></ax-skeleton>\n </div>\n }\n </div>\n </div>\n} @else {\n <div class=\"__content\">\n @for (item of flatPlaceholders; track item) {\n <div class=\"__item\">\n <ax-skeleton [animated]=\"true\" class=\"__icon\"></ax-skeleton>\n <ax-skeleton [animated]=\"true\" class=\"__name\"></ax-skeleton>\n </div>\n }\n </div>\n}\n"],"names":["i2"],"mappings":";;;;;;;;;;MAaa,kDAAkD,CAAA;AAP/D,IAAA,WAAA,GAAA;AAQqB,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,CAAC,4BAA4B,CAAC;QAEzC,IAAA,CAAA,kBAAkB,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;AAC9B,QAAA,IAAA,CAAA,gBAAgB,GAAG,CAAC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
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import { AXPElementDataDirective, AXPDblClickDirective } from '@acorex-platform/framework-client/core';
|
|
6
|
+
import { A as AXPDocumentExplorerViewModel, a as AXMDocumentExpirationBadgeComponent, b as AXMFolderExpirationBadgesComponent } from './acorex-platform-module-document-management-client-acorex-platform-module-document-management-client-LQjccofO.mjs';
|
|
7
|
+
import * as i3 from '@acorex/core/translation';
|
|
8
|
+
import { AXTranslationModule } from '@acorex/core/translation';
|
|
9
|
+
|
|
10
|
+
class AXMDocumentExplorerLargeIconsViewComponent {
|
|
11
|
+
constructor() {
|
|
12
|
+
this.vm = inject(AXPDocumentExplorerViewModel);
|
|
13
|
+
}
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMDocumentExplorerLargeIconsViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXMDocumentExplorerLargeIconsViewComponent, isStandalone: true, selector: "axm-document-explorer-large-icons-view", ngImport: i0, template: "@if (vm.groupByType()) {\n @if (vm.filteredFolders().length > 0) {\n <div class=\"__section\">\n <div class=\"__header\">\n <h3 class=\"__title\">{{ '@document-management:terms.common.folders' | translate | async }}</h3>\n </div>\n <div class=\"__content fa-4x\">\n @for (folder of vm.filteredFolders(); track folder.id) {\n @let folderDisplay = vm.getNodeDisplayInfo(folder);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n [axp-data]=\"folder\"\n (click)=\"vm.toggleSelect(folder)\"\n (onDblClick)=\"vm.navigateToFolder(folder.id)\"\n >\n <div class=\"__icon\" [style.color]=\"vm.getFolderColor(folder)\" [class.__shortcut]=\"folderDisplay.isShortcut\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n @if (folderDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <div class=\"inline-flex max-w-full items-center justify-center gap-1\">\n <div class=\"__name\">{{ folder.name }}</div>\n <!-- ----- Expiration counts after folder name ----- -->\n <axm-folder-expiration-badges [node]=\"folder\" />\n </div>\n </div>\n }\n </div>\n </div>\n }\n\n @if (vm.filteredFiles().length > 0) {\n <div class=\"__section\">\n <div class=\"__header\">\n <h3 class=\"__title\">{{ '@document-management:terms.common.files' | translate | async }}</h3>\n </div>\n <div class=\"__content fa-4x\">\n @for (file of vm.filteredFiles(); track file.id) {\n @let fileDisplay = vm.getNodeDisplayInfo(file);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n [axp-data]=\"file\"\n (click)=\"vm.toggleSelect(file)\"\n (onDblClick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon\" [class.__shortcut]=\"fileDisplay.isShortcut\">\n <i class=\"fa-fw {{ fileDisplay.icon }}\"></i>\n @if (fileDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n <axm-document-expiration-badge class=\"__expiration-badge\" [node]=\"file\" />\n </div>\n <div class=\"__name\">{{ file.name }}</div>\n </div>\n }\n </div>\n </div>\n }\n} @else {\n <div class=\"__content fa-4x\">\n @for (folder of vm.filteredFolders(); track folder.id) {\n @let folderDisplay = vm.getNodeDisplayInfo(folder);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n [axp-data]=\"folder\"\n (click)=\"vm.toggleSelect(folder)\"\n (onDblClick)=\"vm.navigateToFolder(folder.id)\"\n >\n <div class=\"__icon\" [style.color]=\"vm.getFolderColor(folder)\" [class.__shortcut]=\"folderDisplay.isShortcut\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n @if (folderDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <div class=\"inline-flex max-w-full items-center justify-center gap-1\">\n <div class=\"__name\">{{ folder.name }}</div>\n <!-- ----- Expiration counts after folder name ----- -->\n <axm-folder-expiration-badges [node]=\"folder\" />\n </div>\n </div>\n }\n @for (file of vm.filteredFiles(); track file.id) {\n @let fileDisplay = vm.getNodeDisplayInfo(file);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n [axp-data]=\"file\"\n (click)=\"vm.toggleSelect(file)\"\n (onDblClick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon\" [class.__shortcut]=\"fileDisplay.isShortcut\">\n <i class=\"fa-fw {{ fileDisplay.icon }}\"></i>\n @if (fileDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n <axm-document-expiration-badge class=\"__expiration-badge\" [node]=\"file\" />\n </div>\n <div class=\"__name\">{{ file.name }}</div>\n </div>\n }\n </div>\n}\n", styles: ["@layer properties;:host{width:100%}:host .__section{margin-bottom:calc(var(--spacing, .25rem) * 8);width:100%}:host .__section:last-child{margin-bottom:0}:host .__section .__header .__title{margin-bottom:calc(var(--spacing, .25rem) * 4);font-size:var(--text-lg, 1.125rem);line-height:var(--tw-leading, var(--text-lg--line-height, calc(1.75 / 1.125)));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500)}:host .__content{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:calc(var(--spacing, .25rem) * 4)}:host .__content .__explorer-item{display:flex;cursor:pointer;flex-direction:column;align-items:center;gap:calc(var(--spacing, .25rem) * 2);border-radius:var(--radius-md, .375rem);padding:calc(var(--spacing, .25rem) * 4);text-align:center}:host .__content .__explorer-item:hover{background-color:var(--color-light);color:var(--color-on-light);border-color:var(--color-border-light)}:host .__content .__explorer-item .__icon.__shortcut .__shortcut-arrow{position:absolute;bottom:0;right:0;font-size:.5em;opacity:.9}:host .__content .__explorer-item .__icon{position:relative;display:inline-flex;flex-shrink:0}:host .__content .__explorer-item .__icon .__expiration-badge{position:absolute;top:-.35rem;right:-.75rem;font-size:.75rem;z-index:1}:host .__content .__explorer-item .__name{width:100%;text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:3.6em}:host .__content .__explorer-item.--selected{background-color:var(--color-darker);color:var(--color-on-darker);border-color:var(--color-border-darker)}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight: initial}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: AXPElementDataDirective, selector: "[axp-data]", inputs: ["axp-data", "axp-data-path"] }, { kind: "directive", type: AXPDblClickDirective, selector: "[onDblClick]", outputs: ["onDblClick"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "component", type: AXMDocumentExpirationBadgeComponent, selector: "axm-document-expiration-badge", inputs: ["node"] }, { kind: "component", type: AXMFolderExpirationBadgesComponent, selector: "axm-folder-expiration-badges", inputs: ["node"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
16
|
+
}
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMDocumentExplorerLargeIconsViewComponent, decorators: [{
|
|
18
|
+
type: Component,
|
|
19
|
+
args: [{ selector: 'axm-document-explorer-large-icons-view', standalone: true, changeDetection: ChangeDetectionStrategy.Eager, imports: [
|
|
20
|
+
CommonModule,
|
|
21
|
+
AXPElementDataDirective,
|
|
22
|
+
AXPDblClickDirective,
|
|
23
|
+
AXTranslationModule,
|
|
24
|
+
AXMDocumentExpirationBadgeComponent,
|
|
25
|
+
AXMFolderExpirationBadgesComponent,
|
|
26
|
+
], template: "@if (vm.groupByType()) {\n @if (vm.filteredFolders().length > 0) {\n <div class=\"__section\">\n <div class=\"__header\">\n <h3 class=\"__title\">{{ '@document-management:terms.common.folders' | translate | async }}</h3>\n </div>\n <div class=\"__content fa-4x\">\n @for (folder of vm.filteredFolders(); track folder.id) {\n @let folderDisplay = vm.getNodeDisplayInfo(folder);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n [axp-data]=\"folder\"\n (click)=\"vm.toggleSelect(folder)\"\n (onDblClick)=\"vm.navigateToFolder(folder.id)\"\n >\n <div class=\"__icon\" [style.color]=\"vm.getFolderColor(folder)\" [class.__shortcut]=\"folderDisplay.isShortcut\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n @if (folderDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <div class=\"inline-flex max-w-full items-center justify-center gap-1\">\n <div class=\"__name\">{{ folder.name }}</div>\n <!-- ----- Expiration counts after folder name ----- -->\n <axm-folder-expiration-badges [node]=\"folder\" />\n </div>\n </div>\n }\n </div>\n </div>\n }\n\n @if (vm.filteredFiles().length > 0) {\n <div class=\"__section\">\n <div class=\"__header\">\n <h3 class=\"__title\">{{ '@document-management:terms.common.files' | translate | async }}</h3>\n </div>\n <div class=\"__content fa-4x\">\n @for (file of vm.filteredFiles(); track file.id) {\n @let fileDisplay = vm.getNodeDisplayInfo(file);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n [axp-data]=\"file\"\n (click)=\"vm.toggleSelect(file)\"\n (onDblClick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon\" [class.__shortcut]=\"fileDisplay.isShortcut\">\n <i class=\"fa-fw {{ fileDisplay.icon }}\"></i>\n @if (fileDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n <axm-document-expiration-badge class=\"__expiration-badge\" [node]=\"file\" />\n </div>\n <div class=\"__name\">{{ file.name }}</div>\n </div>\n }\n </div>\n </div>\n }\n} @else {\n <div class=\"__content fa-4x\">\n @for (folder of vm.filteredFolders(); track folder.id) {\n @let folderDisplay = vm.getNodeDisplayInfo(folder);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n [axp-data]=\"folder\"\n (click)=\"vm.toggleSelect(folder)\"\n (onDblClick)=\"vm.navigateToFolder(folder.id)\"\n >\n <div class=\"__icon\" [style.color]=\"vm.getFolderColor(folder)\" [class.__shortcut]=\"folderDisplay.isShortcut\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n @if (folderDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <div class=\"inline-flex max-w-full items-center justify-center gap-1\">\n <div class=\"__name\">{{ folder.name }}</div>\n <!-- ----- Expiration counts after folder name ----- -->\n <axm-folder-expiration-badges [node]=\"folder\" />\n </div>\n </div>\n }\n @for (file of vm.filteredFiles(); track file.id) {\n @let fileDisplay = vm.getNodeDisplayInfo(file);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n [axp-data]=\"file\"\n (click)=\"vm.toggleSelect(file)\"\n (onDblClick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon\" [class.__shortcut]=\"fileDisplay.isShortcut\">\n <i class=\"fa-fw {{ fileDisplay.icon }}\"></i>\n @if (fileDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n <axm-document-expiration-badge class=\"__expiration-badge\" [node]=\"file\" />\n </div>\n <div class=\"__name\">{{ file.name }}</div>\n </div>\n }\n </div>\n}\n", styles: ["@layer properties;:host{width:100%}:host .__section{margin-bottom:calc(var(--spacing, .25rem) * 8);width:100%}:host .__section:last-child{margin-bottom:0}:host .__section .__header .__title{margin-bottom:calc(var(--spacing, .25rem) * 4);font-size:var(--text-lg, 1.125rem);line-height:var(--tw-leading, var(--text-lg--line-height, calc(1.75 / 1.125)));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500)}:host .__content{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:calc(var(--spacing, .25rem) * 4)}:host .__content .__explorer-item{display:flex;cursor:pointer;flex-direction:column;align-items:center;gap:calc(var(--spacing, .25rem) * 2);border-radius:var(--radius-md, .375rem);padding:calc(var(--spacing, .25rem) * 4);text-align:center}:host .__content .__explorer-item:hover{background-color:var(--color-light);color:var(--color-on-light);border-color:var(--color-border-light)}:host .__content .__explorer-item .__icon.__shortcut .__shortcut-arrow{position:absolute;bottom:0;right:0;font-size:.5em;opacity:.9}:host .__content .__explorer-item .__icon{position:relative;display:inline-flex;flex-shrink:0}:host .__content .__explorer-item .__icon .__expiration-badge{position:absolute;top:-.35rem;right:-.75rem;font-size:.75rem;z-index:1}:host .__content .__explorer-item .__name{width:100%;text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:3.6em}:host .__content .__explorer-item.--selected{background-color:var(--color-darker);color:var(--color-on-darker);border-color:var(--color-border-darker)}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight: initial}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
|
|
27
|
+
}] });
|
|
28
|
+
|
|
29
|
+
export { AXMDocumentExplorerLargeIconsViewComponent };
|
|
30
|
+
//# sourceMappingURL=acorex-platform-module-document-management-client-large-icons-view.component-Bv5JFRtL.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-document-management-client-large-icons-view.component-Bv5JFRtL.mjs","sources":["../../../../libs/modules/document-management/client/src/lib/features/document-explorer/views/large-icons/large-icons-view.component.ts","../../../../libs/modules/document-management/client/src/lib/features/document-explorer/views/large-icons/large-icons-view.component.html"],"sourcesContent":["import { Component, inject, ChangeDetectionStrategy } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { AXPDblClickDirective, AXPElementDataDirective } from '@acorex-platform/framework-client/core';\nimport { AXPDocumentExplorerViewModel } from '../../document-explorer.viewmodel';\n\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXMDocumentExpirationBadgeComponent } from '../../../shared/components/document-expiration-badge/document-expiration-badge.component';\nimport { AXMFolderExpirationBadgesComponent } from '../../../shared/components/folder-expiration-badges/folder-expiration-badges.component';\n\n@Component({\n selector: 'axm-document-explorer-large-icons-view',\n templateUrl: './large-icons-view.component.html',\n styleUrls: ['./large-icons-view.component.css'],\n standalone: true,\n changeDetection: ChangeDetectionStrategy.Eager,\n imports: [\n CommonModule,\n AXPElementDataDirective,\n AXPDblClickDirective,\n AXTranslationModule,\n AXMDocumentExpirationBadgeComponent,\n AXMFolderExpirationBadgesComponent,\n ],\n})\nexport class AXMDocumentExplorerLargeIconsViewComponent {\n protected vm = inject(AXPDocumentExplorerViewModel);\n} ","@if (vm.groupByType()) {\n @if (vm.filteredFolders().length > 0) {\n <div class=\"__section\">\n <div class=\"__header\">\n <h3 class=\"__title\">{{ '@document-management:terms.common.folders' | translate | async }}</h3>\n </div>\n <div class=\"__content fa-4x\">\n @for (folder of vm.filteredFolders(); track folder.id) {\n @let folderDisplay = vm.getNodeDisplayInfo(folder);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n [axp-data]=\"folder\"\n (click)=\"vm.toggleSelect(folder)\"\n (onDblClick)=\"vm.navigateToFolder(folder.id)\"\n >\n <div class=\"__icon\" [style.color]=\"vm.getFolderColor(folder)\" [class.__shortcut]=\"folderDisplay.isShortcut\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n @if (folderDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <div class=\"inline-flex max-w-full items-center justify-center gap-1\">\n <div class=\"__name\">{{ folder.name }}</div>\n <!-- ----- Expiration counts after folder name ----- -->\n <axm-folder-expiration-badges [node]=\"folder\" />\n </div>\n </div>\n }\n </div>\n </div>\n }\n\n @if (vm.filteredFiles().length > 0) {\n <div class=\"__section\">\n <div class=\"__header\">\n <h3 class=\"__title\">{{ '@document-management:terms.common.files' | translate | async }}</h3>\n </div>\n <div class=\"__content fa-4x\">\n @for (file of vm.filteredFiles(); track file.id) {\n @let fileDisplay = vm.getNodeDisplayInfo(file);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n [axp-data]=\"file\"\n (click)=\"vm.toggleSelect(file)\"\n (onDblClick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon\" [class.__shortcut]=\"fileDisplay.isShortcut\">\n <i class=\"fa-fw {{ fileDisplay.icon }}\"></i>\n @if (fileDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n <axm-document-expiration-badge class=\"__expiration-badge\" [node]=\"file\" />\n </div>\n <div class=\"__name\">{{ file.name }}</div>\n </div>\n }\n </div>\n </div>\n }\n} @else {\n <div class=\"__content fa-4x\">\n @for (folder of vm.filteredFolders(); track folder.id) {\n @let folderDisplay = vm.getNodeDisplayInfo(folder);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n [axp-data]=\"folder\"\n (click)=\"vm.toggleSelect(folder)\"\n (onDblClick)=\"vm.navigateToFolder(folder.id)\"\n >\n <div class=\"__icon\" [style.color]=\"vm.getFolderColor(folder)\" [class.__shortcut]=\"folderDisplay.isShortcut\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n @if (folderDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <div class=\"inline-flex max-w-full items-center justify-center gap-1\">\n <div class=\"__name\">{{ folder.name }}</div>\n <!-- ----- Expiration counts after folder name ----- -->\n <axm-folder-expiration-badges [node]=\"folder\" />\n </div>\n </div>\n }\n @for (file of vm.filteredFiles(); track file.id) {\n @let fileDisplay = vm.getNodeDisplayInfo(file);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n [axp-data]=\"file\"\n (click)=\"vm.toggleSelect(file)\"\n (onDblClick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon\" [class.__shortcut]=\"fileDisplay.isShortcut\">\n <i class=\"fa-fw {{ fileDisplay.icon }}\"></i>\n @if (fileDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n <axm-document-expiration-badge class=\"__expiration-badge\" [node]=\"file\" />\n </div>\n <div class=\"__name\">{{ file.name }}</div>\n </div>\n }\n </div>\n}\n"],"names":["i2"],"mappings":";;;;;;;;;MAyBa,0CAA0C,CAAA;AAfvD,IAAA,WAAA,GAAA;AAgBc,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,CAAC,4BAA4B,CAAC;AACtD,IAAA;8GAFY,0CAA0C,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA1C,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,0CAA0C,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECzBvD,2tJAkHA,EAAA,MAAA,EAAA,CAAA,spEAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDjGM,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACZ,uBAAuB,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACvB,oBAAoB,EAAA,QAAA,EAAA,cAAA,EAAA,OAAA,EAAA,CAAA,YAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EACpB,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACnB,mCAAmC,4FACnC,kCAAkC,EAAA,QAAA,EAAA,8BAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,OAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,gBAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,KAAA,EAAA,CAAA,CAAA;;2FAG3B,0CAA0C,EAAA,UAAA,EAAA,CAAA;kBAftD,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,wCAAwC,cAGtC,IAAI,EAAA,eAAA,EACC,uBAAuB,CAAC,KAAK,EAAA,OAAA,EACrC;wBACP,YAAY;wBACZ,uBAAuB;wBACvB,oBAAoB;wBACpB,mBAAmB;wBACnB,mCAAmC;wBACnC,kCAAkC;AACnC,qBAAA,EAAA,QAAA,EAAA,2tJAAA,EAAA,MAAA,EAAA,CAAA,spEAAA,CAAA,EAAA;;;;;"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import { AXPElementDataDirective, AXPDblClickDirective } from '@acorex-platform/framework-client/core';
|
|
6
|
+
import { A as AXPDocumentExplorerViewModel, a as AXMDocumentExpirationBadgeComponent, b as AXMFolderExpirationBadgesComponent } from './acorex-platform-module-document-management-client-acorex-platform-module-document-management-client-LQjccofO.mjs';
|
|
7
|
+
import * as i2 from '@acorex/core/format';
|
|
8
|
+
import { AXFormatModule } from '@acorex/core/format';
|
|
9
|
+
import { AXDateTimeModule } from '@acorex/core/date-time';
|
|
10
|
+
import * as i3 from '@acorex/core/translation';
|
|
11
|
+
import { AXTranslationModule } from '@acorex/core/translation';
|
|
12
|
+
|
|
13
|
+
class AXMDocumentExplorerLargeTilesViewComponent {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.vm = inject(AXPDocumentExplorerViewModel);
|
|
16
|
+
}
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMDocumentExplorerLargeTilesViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXMDocumentExplorerLargeTilesViewComponent, isStandalone: true, selector: "axm-document-explorer-large-tiles-view", ngImport: i0, template: "@if (vm.groupByType()) {\n @if (vm.filteredFolders().length > 0) {\n <div class=\"__section fa-3x\">\n <div class=\"__header\">\n <h3 class=\"__title\">{{ '@document-management:terms.common.folders' | translate | async }}</h3>\n </div>\n <div class=\"__content\">\n @for (folder of vm.filteredFolders(); track folder.id) {\n @let folderDisplay = vm.getNodeDisplayInfo(folder);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n [axp-data]=\"folder\"\n (click)=\"vm.toggleSelect(folder)\"\n (onDblClick)=\"vm.navigateToFolder(folder.id)\"\n >\n <div class=\"__icon\" [style.color]=\"vm.getFolderColor(folder)\" [class.__shortcut]=\"folderDisplay.isShortcut\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n @if (folderDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <span class=\"__name\">{{ folder.name }}</span>\n <div class=\"__info\">\n <div class=\"inline-flex items-center gap-1\">\n <span>{{ (folder.childrenCount ?? 0) + (folder.itemsCount ?? 0) }} items</span>\n <!-- ----- Expiration counts after item count ----- -->\n <axm-folder-expiration-badges [node]=\"folder\" />\n </div>\n <span>{{ folder.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n }\n </div>\n </div>\n }\n\n @if (vm.filteredFiles().length > 0) {\n <div class=\"__section fa-3x\">\n <div class=\"__header\">\n <h3 class=\"__title\">{{ '@document-management:terms.common.files' | translate | async }}</h3>\n </div>\n <div class=\"__content\">\n @for (file of vm.filteredFiles(); track file.id) {\n @let fileDisplay = vm.getNodeDisplayInfo(file);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n [axp-data]=\"file\"\n (click)=\"vm.toggleSelect(file)\"\n (dblclick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon\" [class.__shortcut]=\"fileDisplay.isShortcut\">\n <i class=\"fa-fw {{ fileDisplay.icon }}\"></i>\n @if (fileDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <div class=\"flex min-w-0 items-center gap-1.5\">\n <span class=\"__name\">{{ file.name }}</span>\n <axm-document-expiration-badge [node]=\"file\" />\n </div>\n <div class=\"__info\">\n <span>{{ file.size | format : 'filesize' | async }}</span>\n <span>{{ file.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n }\n </div>\n </div>\n }\n} @else {\n <div class=\"__section fa-3x\">\n <div class=\"__content\">\n @for (folder of vm.filteredFolders(); track folder.id) {\n @let folderDisplay = vm.getNodeDisplayInfo(folder);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n [axp-data]=\"folder\"\n (click)=\"vm.toggleSelect(folder)\"\n (onDblClick)=\"vm.navigateToFolder(folder.id)\"\n >\n <div class=\"__icon\" [style.color]=\"vm.getFolderColor(folder)\" [class.__shortcut]=\"folderDisplay.isShortcut\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n @if (folderDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <span class=\"__name\">{{ folder.name }}</span>\n <div class=\"__info\">\n <div class=\"inline-flex items-center gap-1\">\n <span>{{ (folder.childrenCount ?? 0) + (folder.itemsCount ?? 0) }} items</span>\n <!-- ----- Expiration counts after item count ----- -->\n <axm-folder-expiration-badges [node]=\"folder\" />\n </div>\n <span>{{ folder.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n }\n @for (file of vm.filteredFiles(); track file.id) {\n @let fileDisplay = vm.getNodeDisplayInfo(file);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n [axp-data]=\"file\"\n (click)=\"vm.toggleSelect(file)\"\n (dblclick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon\" [class.__shortcut]=\"fileDisplay.isShortcut\">\n <i class=\"fa-fw {{ fileDisplay.icon }}\"></i>\n @if (fileDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <div class=\"flex min-w-0 items-center gap-1.5\">\n <span class=\"__name\">{{ file.name }}</span>\n <axm-document-expiration-badge [node]=\"file\" />\n </div>\n <div class=\"__info\">\n <span>{{ file.size | format : 'filesize' | async }}</span>\n <span>{{ file.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n }\n </div>\n </div>\n}\n", styles: ["@layer properties;:host .__section{margin-bottom:calc(var(--spacing, .25rem) * 8)}:host .__section:last-child{margin-bottom:0}:host .__section .__header .__title{margin-bottom:calc(var(--spacing, .25rem) * 4);font-size:var(--text-lg, 1.125rem);line-height:var(--tw-leading, var(--text-lg--line-height, calc(1.75 / 1.125)));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500)}:host .__section .__content{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:calc(var(--spacing, .25rem) * 4)}:host .__section .__content .__explorer-item{display:flex;cursor:pointer;flex-direction:column;gap:var(--spacing, .25rem);border-radius:var(--radius-lg, .5rem);border-style:var(--tw-border-style);border-width:1px;background-color:var(--color-lighter);color:var(--color-on-lighter);border-color:var(--color-border-lighter);padding:calc(var(--spacing, .25rem) * 4)}:host .__section .__content .__explorer-item:hover{background-color:var(--color-light);color:var(--color-on-light);border-color:var(--color-border-light)}:host .__section .__content .__explorer-item .__icon.__shortcut .__shortcut-arrow{position:absolute;bottom:0;right:0;font-size:.5em;opacity:.9}:host .__section .__content .__explorer-item .__icon{position:relative;margin-bottom:calc(var(--spacing, .25rem) * 2);display:inline-flex}:host .__section .__content .__explorer-item .__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start;font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));--tw-font-weight: var(--font-weight-semibold, 600);font-weight:var(--font-weight-semibold, 600)}:host .__section .__content .__explorer-item .__info{display:flex;width:100%;justify-content:space-between;--tw-font-weight: var(--font-weight-semibold, 600);font-weight:var(--font-weight-semibold, 600);opacity:65%}:host .__section .__content .__explorer-item .__info span{font-size:var(--text-xs, .75rem);line-height:var(--tw-leading, var(--text-xs--line-height, calc(1 / .75)))}:host .__section .__content .__explorer-item.--selected{background-color:var(--color-darker);color:var(--color-on-darker);border-color:var(--color-border-darker)}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight: initial;--tw-border-style: solid}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: AXPElementDataDirective, selector: "[axp-data]", inputs: ["axp-data", "axp-data-path"] }, { kind: "directive", type: AXPDblClickDirective, selector: "[onDblClick]", outputs: ["onDblClick"] }, { kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXDateTimeModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "component", type: AXMDocumentExpirationBadgeComponent, selector: "axm-document-expiration-badge", inputs: ["node"] }, { kind: "component", type: AXMFolderExpirationBadgesComponent, selector: "axm-folder-expiration-badges", inputs: ["node"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.AXFormatPipe, name: "format" }, { kind: "pipe", type: i3.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
19
|
+
}
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMDocumentExplorerLargeTilesViewComponent, decorators: [{
|
|
21
|
+
type: Component,
|
|
22
|
+
args: [{ selector: 'axm-document-explorer-large-tiles-view', standalone: true, changeDetection: ChangeDetectionStrategy.Eager, imports: [
|
|
23
|
+
CommonModule,
|
|
24
|
+
AXPElementDataDirective,
|
|
25
|
+
AXPDblClickDirective,
|
|
26
|
+
AXFormatModule,
|
|
27
|
+
AXDateTimeModule,
|
|
28
|
+
AXTranslationModule,
|
|
29
|
+
AXMDocumentExpirationBadgeComponent,
|
|
30
|
+
AXMFolderExpirationBadgesComponent,
|
|
31
|
+
], template: "@if (vm.groupByType()) {\n @if (vm.filteredFolders().length > 0) {\n <div class=\"__section fa-3x\">\n <div class=\"__header\">\n <h3 class=\"__title\">{{ '@document-management:terms.common.folders' | translate | async }}</h3>\n </div>\n <div class=\"__content\">\n @for (folder of vm.filteredFolders(); track folder.id) {\n @let folderDisplay = vm.getNodeDisplayInfo(folder);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n [axp-data]=\"folder\"\n (click)=\"vm.toggleSelect(folder)\"\n (onDblClick)=\"vm.navigateToFolder(folder.id)\"\n >\n <div class=\"__icon\" [style.color]=\"vm.getFolderColor(folder)\" [class.__shortcut]=\"folderDisplay.isShortcut\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n @if (folderDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <span class=\"__name\">{{ folder.name }}</span>\n <div class=\"__info\">\n <div class=\"inline-flex items-center gap-1\">\n <span>{{ (folder.childrenCount ?? 0) + (folder.itemsCount ?? 0) }} items</span>\n <!-- ----- Expiration counts after item count ----- -->\n <axm-folder-expiration-badges [node]=\"folder\" />\n </div>\n <span>{{ folder.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n }\n </div>\n </div>\n }\n\n @if (vm.filteredFiles().length > 0) {\n <div class=\"__section fa-3x\">\n <div class=\"__header\">\n <h3 class=\"__title\">{{ '@document-management:terms.common.files' | translate | async }}</h3>\n </div>\n <div class=\"__content\">\n @for (file of vm.filteredFiles(); track file.id) {\n @let fileDisplay = vm.getNodeDisplayInfo(file);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n [axp-data]=\"file\"\n (click)=\"vm.toggleSelect(file)\"\n (dblclick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon\" [class.__shortcut]=\"fileDisplay.isShortcut\">\n <i class=\"fa-fw {{ fileDisplay.icon }}\"></i>\n @if (fileDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <div class=\"flex min-w-0 items-center gap-1.5\">\n <span class=\"__name\">{{ file.name }}</span>\n <axm-document-expiration-badge [node]=\"file\" />\n </div>\n <div class=\"__info\">\n <span>{{ file.size | format : 'filesize' | async }}</span>\n <span>{{ file.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n }\n </div>\n </div>\n }\n} @else {\n <div class=\"__section fa-3x\">\n <div class=\"__content\">\n @for (folder of vm.filteredFolders(); track folder.id) {\n @let folderDisplay = vm.getNodeDisplayInfo(folder);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n [axp-data]=\"folder\"\n (click)=\"vm.toggleSelect(folder)\"\n (onDblClick)=\"vm.navigateToFolder(folder.id)\"\n >\n <div class=\"__icon\" [style.color]=\"vm.getFolderColor(folder)\" [class.__shortcut]=\"folderDisplay.isShortcut\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n @if (folderDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <span class=\"__name\">{{ folder.name }}</span>\n <div class=\"__info\">\n <div class=\"inline-flex items-center gap-1\">\n <span>{{ (folder.childrenCount ?? 0) + (folder.itemsCount ?? 0) }} items</span>\n <!-- ----- Expiration counts after item count ----- -->\n <axm-folder-expiration-badges [node]=\"folder\" />\n </div>\n <span>{{ folder.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n }\n @for (file of vm.filteredFiles(); track file.id) {\n @let fileDisplay = vm.getNodeDisplayInfo(file);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n [axp-data]=\"file\"\n (click)=\"vm.toggleSelect(file)\"\n (dblclick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon\" [class.__shortcut]=\"fileDisplay.isShortcut\">\n <i class=\"fa-fw {{ fileDisplay.icon }}\"></i>\n @if (fileDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <div class=\"flex min-w-0 items-center gap-1.5\">\n <span class=\"__name\">{{ file.name }}</span>\n <axm-document-expiration-badge [node]=\"file\" />\n </div>\n <div class=\"__info\">\n <span>{{ file.size | format : 'filesize' | async }}</span>\n <span>{{ file.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n }\n </div>\n </div>\n}\n", styles: ["@layer properties;:host .__section{margin-bottom:calc(var(--spacing, .25rem) * 8)}:host .__section:last-child{margin-bottom:0}:host .__section .__header .__title{margin-bottom:calc(var(--spacing, .25rem) * 4);font-size:var(--text-lg, 1.125rem);line-height:var(--tw-leading, var(--text-lg--line-height, calc(1.75 / 1.125)));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500)}:host .__section .__content{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:calc(var(--spacing, .25rem) * 4)}:host .__section .__content .__explorer-item{display:flex;cursor:pointer;flex-direction:column;gap:var(--spacing, .25rem);border-radius:var(--radius-lg, .5rem);border-style:var(--tw-border-style);border-width:1px;background-color:var(--color-lighter);color:var(--color-on-lighter);border-color:var(--color-border-lighter);padding:calc(var(--spacing, .25rem) * 4)}:host .__section .__content .__explorer-item:hover{background-color:var(--color-light);color:var(--color-on-light);border-color:var(--color-border-light)}:host .__section .__content .__explorer-item .__icon.__shortcut .__shortcut-arrow{position:absolute;bottom:0;right:0;font-size:.5em;opacity:.9}:host .__section .__content .__explorer-item .__icon{position:relative;margin-bottom:calc(var(--spacing, .25rem) * 2);display:inline-flex}:host .__section .__content .__explorer-item .__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start;font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));--tw-font-weight: var(--font-weight-semibold, 600);font-weight:var(--font-weight-semibold, 600)}:host .__section .__content .__explorer-item .__info{display:flex;width:100%;justify-content:space-between;--tw-font-weight: var(--font-weight-semibold, 600);font-weight:var(--font-weight-semibold, 600);opacity:65%}:host .__section .__content .__explorer-item .__info span{font-size:var(--text-xs, .75rem);line-height:var(--tw-leading, var(--text-xs--line-height, calc(1 / .75)))}:host .__section .__content .__explorer-item.--selected{background-color:var(--color-darker);color:var(--color-on-darker);border-color:var(--color-border-darker)}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight: initial;--tw-border-style: solid}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
|
|
32
|
+
}] });
|
|
33
|
+
|
|
34
|
+
export { AXMDocumentExplorerLargeTilesViewComponent };
|
|
35
|
+
//# sourceMappingURL=acorex-platform-module-document-management-client-large-tiles-view.component-DTEIhPcT.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-document-management-client-large-tiles-view.component-DTEIhPcT.mjs","sources":["../../../../libs/modules/document-management/client/src/lib/features/document-explorer/views/large-tiles/large-tiles-view.component.ts","../../../../libs/modules/document-management/client/src/lib/features/document-explorer/views/large-tiles/large-tiles-view.component.html"],"sourcesContent":["import { Component, inject, ChangeDetectionStrategy } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AXPDblClickDirective, AXPElementDataDirective } from '@acorex-platform/framework-client/core';\nimport { AXPDocumentExplorerViewModel } from '../../document-explorer.viewmodel';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { AXDateTimeModule } from '@acorex/core/date-time';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXMDocumentExpirationBadgeComponent } from '../../../shared/components/document-expiration-badge/document-expiration-badge.component';\nimport { AXMFolderExpirationBadgesComponent } from '../../../shared/components/folder-expiration-badges/folder-expiration-badges.component';\n\n@Component({\n selector: 'axm-document-explorer-large-tiles-view',\n templateUrl: './large-tiles-view.component.html',\n styleUrls: ['./large-tiles-view.component.css'],\n standalone: true,\n changeDetection: ChangeDetectionStrategy.Eager,\n imports: [\n CommonModule,\n AXPElementDataDirective,\n AXPDblClickDirective,\n AXFormatModule,\n AXDateTimeModule,\n AXTranslationModule,\n AXMDocumentExpirationBadgeComponent,\n AXMFolderExpirationBadgesComponent,\n ],\n})\nexport class AXMDocumentExplorerLargeTilesViewComponent {\n protected vm = inject(AXPDocumentExplorerViewModel);\n} ","@if (vm.groupByType()) {\n @if (vm.filteredFolders().length > 0) {\n <div class=\"__section fa-3x\">\n <div class=\"__header\">\n <h3 class=\"__title\">{{ '@document-management:terms.common.folders' | translate | async }}</h3>\n </div>\n <div class=\"__content\">\n @for (folder of vm.filteredFolders(); track folder.id) {\n @let folderDisplay = vm.getNodeDisplayInfo(folder);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n [axp-data]=\"folder\"\n (click)=\"vm.toggleSelect(folder)\"\n (onDblClick)=\"vm.navigateToFolder(folder.id)\"\n >\n <div class=\"__icon\" [style.color]=\"vm.getFolderColor(folder)\" [class.__shortcut]=\"folderDisplay.isShortcut\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n @if (folderDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <span class=\"__name\">{{ folder.name }}</span>\n <div class=\"__info\">\n <div class=\"inline-flex items-center gap-1\">\n <span>{{ (folder.childrenCount ?? 0) + (folder.itemsCount ?? 0) }} items</span>\n <!-- ----- Expiration counts after item count ----- -->\n <axm-folder-expiration-badges [node]=\"folder\" />\n </div>\n <span>{{ folder.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n }\n </div>\n </div>\n }\n\n @if (vm.filteredFiles().length > 0) {\n <div class=\"__section fa-3x\">\n <div class=\"__header\">\n <h3 class=\"__title\">{{ '@document-management:terms.common.files' | translate | async }}</h3>\n </div>\n <div class=\"__content\">\n @for (file of vm.filteredFiles(); track file.id) {\n @let fileDisplay = vm.getNodeDisplayInfo(file);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n [axp-data]=\"file\"\n (click)=\"vm.toggleSelect(file)\"\n (dblclick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon\" [class.__shortcut]=\"fileDisplay.isShortcut\">\n <i class=\"fa-fw {{ fileDisplay.icon }}\"></i>\n @if (fileDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <div class=\"flex min-w-0 items-center gap-1.5\">\n <span class=\"__name\">{{ file.name }}</span>\n <axm-document-expiration-badge [node]=\"file\" />\n </div>\n <div class=\"__info\">\n <span>{{ file.size | format : 'filesize' | async }}</span>\n <span>{{ file.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n }\n </div>\n </div>\n }\n} @else {\n <div class=\"__section fa-3x\">\n <div class=\"__content\">\n @for (folder of vm.filteredFolders(); track folder.id) {\n @let folderDisplay = vm.getNodeDisplayInfo(folder);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n [axp-data]=\"folder\"\n (click)=\"vm.toggleSelect(folder)\"\n (onDblClick)=\"vm.navigateToFolder(folder.id)\"\n >\n <div class=\"__icon\" [style.color]=\"vm.getFolderColor(folder)\" [class.__shortcut]=\"folderDisplay.isShortcut\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n @if (folderDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <span class=\"__name\">{{ folder.name }}</span>\n <div class=\"__info\">\n <div class=\"inline-flex items-center gap-1\">\n <span>{{ (folder.childrenCount ?? 0) + (folder.itemsCount ?? 0) }} items</span>\n <!-- ----- Expiration counts after item count ----- -->\n <axm-folder-expiration-badges [node]=\"folder\" />\n </div>\n <span>{{ folder.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n }\n @for (file of vm.filteredFiles(); track file.id) {\n @let fileDisplay = vm.getNodeDisplayInfo(file);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n [axp-data]=\"file\"\n (click)=\"vm.toggleSelect(file)\"\n (dblclick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon\" [class.__shortcut]=\"fileDisplay.isShortcut\">\n <i class=\"fa-fw {{ fileDisplay.icon }}\"></i>\n @if (fileDisplay.isShortcut) {\n <i class=\"__shortcut-arrow fa-light fa-up-right-from-square\" aria-hidden=\"true\"></i>\n }\n </div>\n <div class=\"flex min-w-0 items-center gap-1.5\">\n <span class=\"__name\">{{ file.name }}</span>\n <axm-document-expiration-badge [node]=\"file\" />\n </div>\n <div class=\"__info\">\n <span>{{ file.size | format : 'filesize' | async }}</span>\n <span>{{ file.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n }\n </div>\n </div>\n}\n"],"names":[],"mappings":";;;;;;;;;;;;MA2Ba,0CAA0C,CAAA;AAjBvD,IAAA,WAAA,GAAA;AAkBc,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,CAAC,4BAA4B,CAAC;AACtD,IAAA;8GAFY,0CAA0C,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA1C,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,0CAA0C,kGC3BvD,o3LAwIA,EAAA,MAAA,EAAA,CAAA,+mFAAA,CAAA,EAAA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