@acorex/components 21.0.3-next.10 → 21.0.3-next.11
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.
|
@@ -10,7 +10,7 @@ import * as i3 from '@acorex/core/translation';
|
|
|
10
10
|
import { AXTranslationService, AXTranslationModule, translateSync } from '@acorex/core/translation';
|
|
11
11
|
import { Subject, BehaviorSubject, Observable, filter, firstValueFrom, takeUntil, catchError, EMPTY } from 'rxjs';
|
|
12
12
|
import { AXUploaderBrowseDirective, AXUploaderZoneDirective, AXUploaderService } from '@acorex/cdk/uploader';
|
|
13
|
-
import { AXFileTypeInfoProvider, formatFileSizeBytes, AXFileService, AXFileTypeRegistryService, provideFileValidationRules, provideFileTypeInfoProvider, resolveFileCopyText } from '@acorex/core/file';
|
|
13
|
+
import { createFileTypeMetadata, AXFileTypeInfoProvider, formatFileSizeBytes, AXFileService, AXFileTypeRegistryService, provideFileValidationRules, provideFileTypeInfoProvider, resolveFileCopyText } from '@acorex/core/file';
|
|
14
14
|
import * as i1$2 from '@acorex/components/progress-bar';
|
|
15
15
|
import { AXProgressBarModule } from '@acorex/components/progress-bar';
|
|
16
16
|
import { AXToastService } from '@acorex/components/toast';
|
|
@@ -1679,6 +1679,7 @@ function createConversationAudioFileType() {
|
|
|
1679
1679
|
const presentation = CONVERSATION_AUDIO_PRESENTATION;
|
|
1680
1680
|
return {
|
|
1681
1681
|
name: CONVERSATION_AUDIO_CATALOG,
|
|
1682
|
+
metadata: createFileTypeMetadata('conversation'),
|
|
1682
1683
|
title: presentation.title,
|
|
1683
1684
|
icon: presentation.icon,
|
|
1684
1685
|
validations: {
|
|
@@ -1807,6 +1808,7 @@ function createConversationImageFileType() {
|
|
|
1807
1808
|
const presentation = CONVERSATION_IMAGE_PRESENTATION;
|
|
1808
1809
|
return {
|
|
1809
1810
|
name: CONVERSATION_IMAGE_CATALOG,
|
|
1811
|
+
metadata: createFileTypeMetadata('conversation'),
|
|
1810
1812
|
title: presentation.title,
|
|
1811
1813
|
icon: presentation.icon,
|
|
1812
1814
|
validations: {
|
|
@@ -1904,6 +1906,7 @@ function createConversationVideoFileType() {
|
|
|
1904
1906
|
const presentation = CONVERSATION_VIDEO_PRESENTATION;
|
|
1905
1907
|
return {
|
|
1906
1908
|
name: CONVERSATION_VIDEO_CATALOG,
|
|
1909
|
+
metadata: createFileTypeMetadata('conversation'),
|
|
1907
1910
|
title: presentation.title,
|
|
1908
1911
|
icon: presentation.icon,
|
|
1909
1912
|
validations: {
|
|
@@ -2001,6 +2004,7 @@ function createConversationFileFileType() {
|
|
|
2001
2004
|
const presentation = CONVERSATION_FILE_PRESENTATION;
|
|
2002
2005
|
return {
|
|
2003
2006
|
name: CONVERSATION_FILE_CATALOG,
|
|
2007
|
+
metadata: createFileTypeMetadata('conversation'),
|
|
2004
2008
|
title: presentation.title,
|
|
2005
2009
|
icon: presentation.icon,
|
|
2006
2010
|
validations: {
|
|
@@ -2213,6 +2217,7 @@ function createConversationVoiceFileType() {
|
|
|
2213
2217
|
const presentation = CONVERSATION_VOICE_PRESENTATION;
|
|
2214
2218
|
return {
|
|
2215
2219
|
name: CONVERSATION_VOICE_CATALOG,
|
|
2220
|
+
metadata: createFileTypeMetadata('conversation'),
|
|
2216
2221
|
title: presentation.title,
|
|
2217
2222
|
icon: presentation.icon,
|
|
2218
2223
|
validations: {
|