@acorex/components 20.8.16 → 20.8.20

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';
@@ -1681,6 +1681,7 @@ function createConversationAudioFileType() {
1681
1681
  const presentation = CONVERSATION_AUDIO_PRESENTATION;
1682
1682
  return {
1683
1683
  name: CONVERSATION_AUDIO_CATALOG,
1684
+ metadata: createFileTypeMetadata('conversation'),
1684
1685
  title: presentation.title,
1685
1686
  icon: presentation.icon,
1686
1687
  validations: {
@@ -1809,6 +1810,7 @@ function createConversationImageFileType() {
1809
1810
  const presentation = CONVERSATION_IMAGE_PRESENTATION;
1810
1811
  return {
1811
1812
  name: CONVERSATION_IMAGE_CATALOG,
1813
+ metadata: createFileTypeMetadata('conversation'),
1812
1814
  title: presentation.title,
1813
1815
  icon: presentation.icon,
1814
1816
  validations: {
@@ -1906,6 +1908,7 @@ function createConversationVideoFileType() {
1906
1908
  const presentation = CONVERSATION_VIDEO_PRESENTATION;
1907
1909
  return {
1908
1910
  name: CONVERSATION_VIDEO_CATALOG,
1911
+ metadata: createFileTypeMetadata('conversation'),
1909
1912
  title: presentation.title,
1910
1913
  icon: presentation.icon,
1911
1914
  validations: {
@@ -2003,6 +2006,7 @@ function createConversationFileFileType() {
2003
2006
  const presentation = CONVERSATION_FILE_PRESENTATION;
2004
2007
  return {
2005
2008
  name: CONVERSATION_FILE_CATALOG,
2009
+ metadata: createFileTypeMetadata('conversation'),
2006
2010
  title: presentation.title,
2007
2011
  icon: presentation.icon,
2008
2012
  validations: {
@@ -2215,6 +2219,7 @@ function createConversationVoiceFileType() {
2215
2219
  const presentation = CONVERSATION_VOICE_PRESENTATION;
2216
2220
  return {
2217
2221
  name: CONVERSATION_VOICE_CATALOG,
2222
+ metadata: createFileTypeMetadata('conversation'),
2218
2223
  title: presentation.title,
2219
2224
  icon: presentation.icon,
2220
2225
  validations: {