@anzusystems/common-admin 1.37.0 → 1.39.0

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.
@@ -3,6 +3,7 @@ import type { App } from 'vue';
3
3
  import { AxiosError } from 'axios';
4
4
  import type { AxiosInstance } from 'axios';
5
5
  import type { AxiosRequestConfig } from 'axios';
6
+ import type { CancelTokenSource } from 'axios';
6
7
  import { ComponentCustomProps } from 'vue';
7
8
  import { ComponentOptionsMixin } from 'vue';
8
9
  import { ComputedRef } from 'vue';
@@ -162,6 +163,10 @@ declare type __VLS_NonUndefinedable_66<T> = T extends undefined ? never : T;
162
163
 
163
164
  declare type __VLS_NonUndefinedable_67<T> = T extends undefined ? never : T;
164
165
 
166
+ declare type __VLS_NonUndefinedable_68<T> = T extends undefined ? never : T;
167
+
168
+ declare type __VLS_NonUndefinedable_69<T> = T extends undefined ? never : T;
169
+
165
170
  declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
166
171
 
167
172
  declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
@@ -412,6 +417,14 @@ declare type __VLS_Prettify_64<T> = {
412
417
  [K in keyof T]: T[K];
413
418
  } & {};
414
419
 
420
+ declare type __VLS_Prettify_65<T> = {
421
+ [K in keyof T]: T[K];
422
+ } & {};
423
+
424
+ declare type __VLS_Prettify_66<T> = {
425
+ [K in keyof T]: T[K];
426
+ } & {};
427
+
415
428
  declare type __VLS_Prettify_7<T> = {
416
429
  [K in keyof T]: T[K];
417
430
  } & {};
@@ -1000,6 +1013,24 @@ declare type __VLS_TypePropsToRuntimeProps_67<T> = {
1000
1013
  };
1001
1014
  };
1002
1015
 
1016
+ declare type __VLS_TypePropsToRuntimeProps_68<T> = {
1017
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
1018
+ type: PropType<__VLS_NonUndefinedable_68<T[K]>>;
1019
+ } : {
1020
+ type: PropType<T[K]>;
1021
+ required: true;
1022
+ };
1023
+ };
1024
+
1025
+ declare type __VLS_TypePropsToRuntimeProps_69<T> = {
1026
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
1027
+ type: PropType<__VLS_NonUndefinedable_69<T[K]>>;
1028
+ } : {
1029
+ type: PropType<T[K]>;
1030
+ required: true;
1031
+ };
1032
+ };
1033
+
1003
1034
  declare type __VLS_TypePropsToRuntimeProps_7<T> = {
1004
1035
  [K in keyof T]-?: {} extends Pick<T, K> ? {
1005
1036
  type: PropType<__VLS_NonUndefinedable_7<T[K]>>;
@@ -1393,6 +1424,18 @@ declare type __VLS_WithDefaults_64<P, D> = {
1393
1424
  }> : P[K];
1394
1425
  };
1395
1426
 
1427
+ declare type __VLS_WithDefaults_65<P, D> = {
1428
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_65<P[K] & {
1429
+ default: D[K];
1430
+ }> : P[K];
1431
+ };
1432
+
1433
+ declare type __VLS_WithDefaults_66<P, D> = {
1434
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_66<P[K] & {
1435
+ default: D[K];
1436
+ }> : P[K];
1437
+ };
1438
+
1396
1439
  declare type __VLS_WithDefaults_7<P, D> = {
1397
1440
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_7<P[K] & {
1398
1441
  default: D[K];
@@ -1447,6 +1490,12 @@ declare type __VLS_WithTemplateSlots_14<T, S> = T & {
1447
1490
  };
1448
1491
  };
1449
1492
 
1493
+ declare type __VLS_WithTemplateSlots_15<T, S> = T & {
1494
+ new (): {
1495
+ $slots: S;
1496
+ };
1497
+ };
1498
+
1450
1499
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
1451
1500
  new (): {
1452
1501
  $slots: S;
@@ -1852,7 +1901,7 @@ export declare const AAnzuUserAvatar: DefineComponent<__VLS_WithDefaults_53<__VL
1852
1901
  containerClass: string;
1853
1902
  }, {}>;
1854
1903
 
1855
- export declare const AAssetSelect: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_WithDefaults_60<__VLS_TypePropsToRuntimeProps_63<{
1904
+ export declare const AAssetSelect: __VLS_WithTemplateSlots_15<DefineComponent<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_65<{
1856
1905
  modelValue?: boolean | undefined;
1857
1906
  assetType: "image" | "audio" | "video" | DamAssetType | "document";
1858
1907
  minCount: number;
@@ -1868,7 +1917,7 @@ export declare const AAssetSelect: __VLS_WithTemplateSlots_14<DefineComponent<__
1868
1917
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1869
1918
  "update:modelValue": (data: boolean) => void;
1870
1919
  onConfirm: (data: AssetSelectReturnData) => void;
1871
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_60<__VLS_TypePropsToRuntimeProps_63<{
1920
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_65<{
1872
1921
  modelValue?: boolean | undefined;
1873
1922
  assetType: "image" | "audio" | "video" | DamAssetType | "document";
1874
1923
  minCount: number;
@@ -2268,6 +2317,75 @@ export declare const ACurrentUserDropdown: DefineComponent<__VLS_WithDefaults_55
2268
2317
  dataCy: string;
2269
2318
  }, {}>;
2270
2319
 
2320
+ export declare const ACustomDataForm: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_WithDefaults_60<__VLS_TypePropsToRuntimeProps_63<{
2321
+ modelValue: {
2322
+ [key: string]: any;
2323
+ };
2324
+ elements: CustomDataFormElement[];
2325
+ validationScope?: ValidationScope;
2326
+ pinnedCount?: number | undefined;
2327
+ readonly?: boolean | undefined;
2328
+ }>, {
2329
+ validationScope: undefined;
2330
+ pinnedCount: number;
2331
+ readonly: boolean;
2332
+ }>, {
2333
+ validate: () => Promise<boolean>;
2334
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2335
+ "update:modelValue": (data: any) => void;
2336
+ anyChange: () => void;
2337
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_60<__VLS_TypePropsToRuntimeProps_63<{
2338
+ modelValue: {
2339
+ [key: string]: any;
2340
+ };
2341
+ elements: CustomDataFormElement[];
2342
+ validationScope?: ValidationScope;
2343
+ pinnedCount?: number | undefined;
2344
+ readonly?: boolean | undefined;
2345
+ }>, {
2346
+ validationScope: undefined;
2347
+ pinnedCount: number;
2348
+ readonly: boolean;
2349
+ }>>> & {
2350
+ "onUpdate:modelValue"?: ((data: any) => any) | undefined;
2351
+ onAnyChange?: (() => any) | undefined;
2352
+ }, {
2353
+ readonly: boolean;
2354
+ validationScope: string | number | boolean | symbol;
2355
+ pinnedCount: number;
2356
+ }, {}>, {
2357
+ "before-pinned"?(_: {}): any;
2358
+ "after-pinned"?(_: {}): any;
2359
+ }>;
2360
+
2361
+ export declare const ACustomDataFormElement: DefineComponent<__VLS_WithDefaults_61<__VLS_TypePropsToRuntimeProps_64<{
2362
+ modelValue: any;
2363
+ config: CustomDataFormElement;
2364
+ validationScope?: ValidationScope;
2365
+ }>, {
2366
+ validationScope: undefined;
2367
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2368
+ "update:modelValue": (data: {
2369
+ property: string;
2370
+ value: any;
2371
+ }) => void;
2372
+ blur: (data: any) => void;
2373
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_61<__VLS_TypePropsToRuntimeProps_64<{
2374
+ modelValue: any;
2375
+ config: CustomDataFormElement;
2376
+ validationScope?: ValidationScope;
2377
+ }>, {
2378
+ validationScope: undefined;
2379
+ }>>> & {
2380
+ "onUpdate:modelValue"?: ((data: {
2381
+ property: string;
2382
+ value: any;
2383
+ }) => any) | undefined;
2384
+ onBlur?: ((data: any) => any) | undefined;
2385
+ }, {
2386
+ validationScope: string | number | boolean | symbol;
2387
+ }, {}>;
2388
+
2271
2389
  export declare const ADatatableConfigButton: DefineComponent<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_28<{
2272
2390
  columnsAll: ColumnInternalValues[];
2273
2391
  columnsHidden: Array<string>;
@@ -3285,7 +3403,7 @@ export declare const ALogData: DefineComponent<__VLS_WithDefaults_29<__VLS_TypeP
3285
3403
  data: any;
3286
3404
  }>, {}>>>, {}, {}>;
3287
3405
 
3288
- export declare const ALoginView: DefineComponent<__VLS_WithDefaults_61<__VLS_TypePropsToRuntimeProps_64<{
3406
+ export declare const ALoginView: DefineComponent<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_66<{
3289
3407
  title?: string | undefined;
3290
3408
  logoUrl?: string | undefined;
3291
3409
  loginUrl?: undefined | (() => string);
@@ -3295,7 +3413,7 @@ export declare const ALoginView: DefineComponent<__VLS_WithDefaults_61<__VLS_Typ
3295
3413
  logoUrl: undefined;
3296
3414
  loginUrl: undefined;
3297
3415
  dataCy: string;
3298
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_61<__VLS_TypePropsToRuntimeProps_64<{
3416
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_66<{
3299
3417
  title?: string | undefined;
3300
3418
  logoUrl?: string | undefined;
3301
3419
  loginUrl?: undefined | (() => string);
@@ -3318,11 +3436,11 @@ export declare const ALogLevelChip: DefineComponent<__VLS_WithDefaults_52<__VLS_
3318
3436
  level: LogLevel;
3319
3437
  }>, {}>>>, {}, {}>;
3320
3438
 
3321
- export declare const ALogoutView: DefineComponent<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_65<{
3439
+ export declare const ALogoutView: DefineComponent<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_67<{
3322
3440
  logoutUrl?: undefined | (() => string);
3323
3441
  }>, {
3324
3442
  logoutUrl: undefined;
3325
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_65<{
3443
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_67<{
3326
3444
  logoutUrl?: undefined | (() => string);
3327
3445
  }>, {
3328
3446
  logoutUrl: undefined;
@@ -3330,9 +3448,9 @@ export declare const ALogoutView: DefineComponent<__VLS_WithDefaults_62<__VLS_Ty
3330
3448
  logoutUrl: () => string;
3331
3449
  }, {}>;
3332
3450
 
3333
- export declare const ANotFoundView: DefineComponent<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_67<{
3451
+ export declare const ANotFoundView: DefineComponent<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_69<{
3334
3452
  returnRouteName: string;
3335
- }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_67<{
3453
+ }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_69<{
3336
3454
  returnRouteName: string;
3337
3455
  }>, {}>>>, {}, {}>;
3338
3456
 
@@ -3706,9 +3824,59 @@ export declare const ASortableNested: __VLS_WithTemplateSlots_13<DefineComponent
3706
3824
  }): any;
3707
3825
  }>;
3708
3826
 
3709
- declare type AssetFile = ImageFile | AudioFile | VideoFile | DocumentFile;
3827
+ export declare type AssetCustomData = Record<string, any>;
3828
+
3829
+ export declare interface AssetDetailItemDto extends AnzuUserAndTimeTrackingAware, ResourceNameSystemAware {
3830
+ id: DocId;
3831
+ texts: Texts;
3832
+ attributes: Attributes;
3833
+ flags: Flags;
3834
+ licence: IntegerId;
3835
+ mainFile: null | AssetFile;
3836
+ keywords: DocId[];
3837
+ authors: DocId[];
3838
+ podcasts: DocId[];
3839
+ metadata: Metadata_2;
3840
+ distributionCategory: DocIdNullable;
3841
+ assetFileProperties: AssetFileProperties;
3842
+ }
3843
+
3844
+ declare type AssetExternalProviderId = string | number;
3710
3845
 
3711
- declare enum AssetFileFailReason {
3846
+ declare type AssetExternalProviderIdNullable = AssetExternalProviderId | null;
3847
+
3848
+ declare type AssetExternalProviderMetadata = Record<string, string | number | number[] | string[] | boolean>;
3849
+
3850
+ export declare type AssetFile = AssetFileImage | AssetFileAudio | AssetFileVideo | AssetFileDocument;
3851
+
3852
+ export declare interface AssetFileAudio extends AnzuUserAndTimeTrackingAware {
3853
+ id: DocId;
3854
+ asset: DocId;
3855
+ fileAttributes: FileAttributes;
3856
+ audioAttributes: AudioAttributes;
3857
+ originAssetFile: DocIdNullable;
3858
+ links?: AssetFileLinks;
3859
+ _resourceName: 'audioFile';
3860
+ }
3861
+
3862
+ export declare interface AssetFileDocument extends AnzuUserAndTimeTrackingAware {
3863
+ id: DocId;
3864
+ asset: DocId;
3865
+ fileAttributes: FileAttributes;
3866
+ documentAttributes: DocumentAttributes;
3867
+ originAssetFile: DocIdNullable;
3868
+ links?: AssetFileLinks;
3869
+ _resourceName: 'documentFile';
3870
+ }
3871
+
3872
+ export declare interface AssetFileDownloadLink extends AnzuUserAndTimeTrackingAware {
3873
+ id: DocId;
3874
+ link: string;
3875
+ _system: string;
3876
+ _resourceName: 'imageFile';
3877
+ }
3878
+
3879
+ export declare enum AssetFileFailReason {
3712
3880
  None = "none",
3713
3881
  Unknown = "unknown",
3714
3882
  InvalidChecksum = "invalid_checksum",
@@ -3718,7 +3886,53 @@ declare enum AssetFileFailReason {
3718
3886
  Default = "none"
3719
3887
  }
3720
3888
 
3721
- declare enum AssetFileProcessStatus {
3889
+ export declare interface AssetFileImage extends AnzuUserAndTimeTrackingAware {
3890
+ id: DocId;
3891
+ asset: DocId;
3892
+ fileAttributes: FileAttributes;
3893
+ imageAttributes: ImageAttributes;
3894
+ originAssetFile: DocIdNullable;
3895
+ links?: AssetFileLinks;
3896
+ metadata: Metadata;
3897
+ _resourceName: 'imageFile';
3898
+ }
3899
+
3900
+ declare interface AssetFileImagePreview {
3901
+ imageFile: DocId;
3902
+ position: number;
3903
+ }
3904
+
3905
+ export declare type AssetFileImagePreviewNullable = AssetFileImagePreview | null;
3906
+
3907
+ export declare const assetFileIsAudioFile: (value: any) => value is AssetFileAudio;
3908
+
3909
+ export declare const assetFileIsDocumentFile: (value: any) => value is AssetFileDocument;
3910
+
3911
+ export declare const assetFileIsImageFile: (value: any) => value is AssetFileImage;
3912
+
3913
+ export declare const assetFileIsVideoFile: (value: any) => value is AssetFileVideo;
3914
+
3915
+ export declare interface AssetFileLink {
3916
+ width: number;
3917
+ height: number;
3918
+ requestedWidth: number;
3919
+ requestedHeight: number;
3920
+ url: string;
3921
+ title: string;
3922
+ type: AssetFileLinkType;
3923
+ }
3924
+
3925
+ export declare type AssetFileLinks = Record<'image_list' | 'image_table' | 'image_detail' | 'audio', AssetFileLink> | Record<string, never>;
3926
+
3927
+ export declare enum AssetFileLinkType {
3928
+ Image = "image",
3929
+ Audio = "audio",
3930
+ Default = "image"
3931
+ }
3932
+
3933
+ export declare type AssetFileNullable = AssetFileImage | AssetFileAudio | AssetFileVideo | AssetFileDocument | null;
3934
+
3935
+ export declare enum AssetFileProcessStatus {
3722
3936
  Uploading = "uploading",
3723
3937
  Uploaded = "uploaded",
3724
3938
  Stored = "stored",
@@ -3727,7 +3941,7 @@ declare enum AssetFileProcessStatus {
3727
3941
  Failed = "failed"
3728
3942
  }
3729
3943
 
3730
- declare interface AssetFileProperties {
3944
+ export declare interface AssetFileProperties {
3731
3945
  distributesInServices: DistributionServiceName[];
3732
3946
  slotNames: string[];
3733
3947
  fromRss: boolean;
@@ -3735,15 +3949,36 @@ declare interface AssetFileProperties {
3735
3949
  height: number;
3736
3950
  }
3737
3951
 
3738
- declare interface AssetSearchListItemDto extends AnzuUserAndTimeTrackingAware, ResourceNameSystemAware {
3952
+ export declare interface AssetFileVideo extends AnzuUserAndTimeTrackingAware {
3953
+ id: DocId;
3954
+ asset: DocId;
3955
+ fileAttributes: FileAttributes;
3956
+ videoAttributes: VideoAttributes;
3957
+ originAssetFile: DocIdNullable;
3958
+ links?: AssetFileLinks;
3959
+ imagePreview: AssetFileImagePreviewNullable;
3960
+ _resourceName: 'videoFile';
3961
+ }
3962
+
3963
+ export declare interface AssetMetadataDto extends AnzuUserAndTimeTrackingAware, ResourceNameSystemAware, Metadata_2 {
3964
+ id: DocId;
3965
+ customData: AssetCustomData;
3966
+ }
3967
+
3968
+ export declare interface AssetMetadataSuggestions extends Record<string, Array<string>> {
3969
+ }
3970
+
3971
+ export declare interface AssetSearchListItemDto extends AnzuUserAndTimeTrackingAware, ResourceNameSystemAware {
3739
3972
  id: DocId;
3740
3973
  texts: Texts;
3741
3974
  attributes: Attributes;
3975
+ flags: Flags;
3742
3976
  licence: IntegerId;
3743
3977
  mainFile: null | AssetFile;
3744
3978
  keywords: DocId[];
3745
3979
  authors: DocId[];
3746
3980
  podcasts: DocId[];
3981
+ metadata: Metadata_2;
3747
3982
  assetFileProperties: AssetFileProperties;
3748
3983
  }
3749
3984
 
@@ -4071,18 +4306,15 @@ declare interface Attributes {
4071
4306
  assetStatus: DamAssetStatus;
4072
4307
  }
4073
4308
 
4074
- declare interface AudioFile extends AnzuUserAndTimeTrackingAware {
4075
- id: DocId;
4076
- asset: DocId;
4077
- fileAttributes: FileAttributes;
4078
- originAssetFile: DocIdNullable;
4079
- links?: Links;
4080
- _resourceName: 'audioFile';
4309
+ declare interface AudioAttributes {
4310
+ duration: number;
4311
+ codecName: string;
4312
+ bitrate: number;
4081
4313
  }
4082
4314
 
4083
- export declare const AUnauthorizedView: DefineComponent<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_66<{
4315
+ export declare const AUnauthorizedView: DefineComponent<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_68<{
4084
4316
  returnRouteName: string;
4085
- }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_66<{
4317
+ }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_68<{
4086
4318
  returnRouteName: string;
4087
4319
  }>, {}>>>, {}, {}>;
4088
4320
 
@@ -4208,6 +4440,42 @@ export declare type CustomAclResolver<T extends AclValue = AclValue> = undefined
4208
4440
  canOwner?: (subject: object) => boolean;
4209
4441
  };
4210
4442
 
4443
+ export declare interface CustomDataAware {
4444
+ customData: {
4445
+ [key: string]: any;
4446
+ };
4447
+ }
4448
+
4449
+ export declare interface CustomDataFormElement extends AnzuUserAndTimeTrackingAware, ResourceNameSystemAware {
4450
+ id: DocId;
4451
+ property: string;
4452
+ name: string;
4453
+ position: number;
4454
+ attributes: CustomDataFormElementAttributes;
4455
+ }
4456
+
4457
+ export declare interface CustomDataFormElementAttributes {
4458
+ type: CustomDataFormElementTypeType;
4459
+ minValue: number | null;
4460
+ maxValue: number | null;
4461
+ minCount: number | null;
4462
+ maxCount: number | null;
4463
+ required: boolean;
4464
+ searchable: boolean;
4465
+ readonly: boolean;
4466
+ }
4467
+
4468
+ export declare const CustomDataFormElementType: {
4469
+ readonly String: "string";
4470
+ readonly Integer: "integer";
4471
+ readonly StringArray: "string_array";
4472
+ readonly Boolean: "boolean";
4473
+ };
4474
+
4475
+ export declare const CustomDataFormElementTypeDefault: "string";
4476
+
4477
+ export declare type CustomDataFormElementTypeType = (typeof CustomDataFormElementType)[keyof typeof CustomDataFormElementType];
4478
+
4211
4479
  export declare enum DamAssetStatus {
4212
4480
  Draft = "draft",
4213
4481
  WithFile = "with_file",
@@ -4312,13 +4580,8 @@ export declare type DocId = string;
4312
4580
 
4313
4581
  export declare type DocIdNullable = string | null;
4314
4582
 
4315
- declare interface DocumentFile extends AnzuUserAndTimeTrackingAware {
4316
- id: DocId;
4317
- asset: DocId;
4318
- fileAttributes: FileAttributes;
4319
- originAssetFile: DocIdNullable;
4320
- links?: Links;
4321
- _resourceName: 'documentFile';
4583
+ declare interface DocumentAttributes {
4584
+ pageCount: number;
4322
4585
  }
4323
4586
 
4324
4587
  export declare type EnableDisable = 'enable' | 'disable';
@@ -4358,6 +4621,11 @@ export declare interface FilterBag {
4358
4621
 
4359
4622
  export declare type FilterVariant = 'search' | 'lt' | 'in' | 'notIn' | 'endsWith' | 'startsWith' | 'memberOf' | 'contains' | 'neq' | 'gte' | 'gt' | 'eq' | 'lte' | 'custom';
4360
4623
 
4624
+ declare interface Flags {
4625
+ described: boolean;
4626
+ visible: boolean;
4627
+ }
4628
+
4361
4629
  export declare const generateDatatableMinMaxSelectStrategy: (min: number, max: number) => DataTableSelectStrategy;
4362
4630
 
4363
4631
  export declare const generateUUIDv1: () => any;
@@ -4849,13 +5117,14 @@ export declare const i18n: I18n<{
4849
5117
  "en-US": IntlNumberFormat;
4850
5118
  }, string, true>;
4851
5119
 
4852
- declare interface ImageFile extends AnzuUserAndTimeTrackingAware {
4853
- id: DocId;
4854
- asset: DocId;
4855
- fileAttributes: FileAttributes;
4856
- originAssetFile: DocIdNullable;
4857
- links?: Links;
4858
- _resourceName: 'imageFile';
5120
+ declare interface ImageAttributes {
5121
+ ratioWidth: number;
5122
+ ratioHeight: number;
5123
+ width: number;
5124
+ height: number;
5125
+ rotation: number;
5126
+ mostDominantColor: string;
5127
+ animated: boolean;
4859
5128
  }
4860
5129
 
4861
5130
  declare interface ImageWidgetImage {
@@ -4989,24 +5258,6 @@ declare interface Language {
4989
5258
 
4990
5259
  export declare type LanguageCode = 'en' | 'sk' | 'cs' | 'xx';
4991
5260
 
4992
- declare interface Link {
4993
- width: number;
4994
- height: number;
4995
- requestedWidth: number;
4996
- requestedHeight: number;
4997
- url: string;
4998
- title: string;
4999
- type: LinkType;
5000
- }
5001
-
5002
- declare type Links = Record<'image_list' | 'image_table' | 'image_detail' | 'audio', Link> | Record<string, never>;
5003
-
5004
- declare enum LinkType {
5005
- Image = "image",
5006
- Audio = "audio",
5007
- Default = "image"
5008
- }
5009
-
5010
5261
  export declare function loadCommonFonts(): Promise<void>;
5011
5262
 
5012
5263
  export declare interface Log {
@@ -6408,6 +6659,21 @@ export declare const messagesSk: {
6408
6659
  };
6409
6660
  };
6410
6661
 
6662
+ declare interface Metadata {
6663
+ exifData: [];
6664
+ id: string;
6665
+ createdAt: string;
6666
+ modifiedAt: string;
6667
+ createdBy: number;
6668
+ modifiedBy: number;
6669
+ }
6670
+
6671
+ declare interface Metadata_2 {
6672
+ authorSuggestions: AssetMetadataSuggestions;
6673
+ keywordSuggestions: AssetMetadataSuggestions;
6674
+ customData: any;
6675
+ }
6676
+
6411
6677
  export declare function modifyLanguageSettings(configAvailableLanguages: LanguageCode[], configDefaultLanguage: LanguageCode): {
6412
6678
  addMessages: (language: LanguageCode, messages: any) => void;
6413
6679
  initializeLanguage: () => void;
@@ -6637,6 +6903,68 @@ export declare const timePretty: (isoDate: DatetimeUTC | DatetimeUTCNullable | s
6637
6903
 
6638
6904
  export declare const timestampCurrent: () => number;
6639
6905
 
6906
+ export declare interface UploadQueueItem {
6907
+ key: string;
6908
+ file: File | null;
6909
+ status: UploadQueueItemStatus;
6910
+ assetStatus: DamAssetStatus;
6911
+ isDuplicate: boolean;
6912
+ type: UploadQueueItemType;
6913
+ assetType: DamAssetType;
6914
+ displayTitle: string;
6915
+ assetId: DocIdNullable;
6916
+ duplicateAssetId: DocIdNullable;
6917
+ fileId: DocIdNullable;
6918
+ externalProviderAssetId: AssetExternalProviderIdNullable;
6919
+ externalProviderName: string | null;
6920
+ externalProviderMetadata: AssetExternalProviderMetadata;
6921
+ chunks: UploadQueueItemChunk[];
6922
+ chunkSize: number;
6923
+ currentChunkIndex: number;
6924
+ chunkTotalCount: number;
6925
+ licenceId: IntegerId;
6926
+ imagePreview?: AssetFileLink;
6927
+ canEditMetadata: boolean;
6928
+ keywords: DocId[];
6929
+ authors: DocId[];
6930
+ customData: any;
6931
+ authorConflicts: DocId[];
6932
+ progress: {
6933
+ remainingTime: null | number;
6934
+ progressPercent: null | number;
6935
+ speed: null | number;
6936
+ };
6937
+ error: {
6938
+ hasError: boolean;
6939
+ message: string;
6940
+ assetFileFailReason: AssetFileFailReason;
6941
+ };
6942
+ notificationFallbackTimer: ReturnType<typeof setTimeout> | undefined;
6943
+ notificationFallbackTry: number;
6944
+ slotName: string | null;
6945
+ }
6946
+
6947
+ declare interface UploadQueueItemChunk {
6948
+ cancelTokenSource: CancelTokenSource;
6949
+ }
6950
+
6951
+ export declare enum UploadQueueItemStatus {
6952
+ Loading = "loading",
6953
+ Waiting = "waiting",
6954
+ Uploading = "uploading",
6955
+ Processing = "processing",
6956
+ Failed = "failed",
6957
+ Uploaded = "uploaded",
6958
+ Stop = "stop"
6959
+ }
6960
+
6961
+ export declare enum UploadQueueItemType {
6962
+ File = "file",
6963
+ Asset = "asset",
6964
+ ExternalProviderAsset = "externalProviderAsset",
6965
+ SlotFile = "slotFile"
6966
+ }
6967
+
6640
6968
  export declare type UrlParams = {
6641
6969
  [key: string]: number | string;
6642
6970
  };
@@ -6806,6 +7134,26 @@ export declare const useCommonVuetifyConfig: () => {
6806
7134
  };
6807
7135
  };
6808
7136
 
7137
+ export declare function useCustomDataForm(): {
7138
+ showAll: Ref<boolean>;
7139
+ toggleForm: () => void;
7140
+ };
7141
+
7142
+ export declare function useCustomDataFormElementType(): {
7143
+ customDataFormElementTypeOptions: Ref<{
7144
+ value: CustomDataFormElementTypeType;
7145
+ title: string;
7146
+ color?: string | undefined;
7147
+ active?: false | undefined;
7148
+ }[]>;
7149
+ getCustomDataFormElementTypeOption: (value: CustomDataFormElementTypeType) => {
7150
+ value: CustomDataFormElementTypeType;
7151
+ title: string;
7152
+ color?: string | undefined;
7153
+ active?: false | undefined;
7154
+ } | undefined;
7155
+ };
7156
+
6809
7157
  export declare function useErrors(): {
6810
7158
  isAnzuFatalError: (error: any) => error is AnzuFatalError;
6811
7159
  isAnzuApiForbiddenError: (error: any) => error is AnzuApiForbiddenError;
@@ -7015,13 +7363,15 @@ declare interface VDatatableSelectableItem {
7015
7363
  selectable: boolean;
7016
7364
  }
7017
7365
 
7018
- declare interface VideoFile extends AnzuUserAndTimeTrackingAware {
7019
- id: DocId;
7020
- asset: DocId;
7021
- fileAttributes: FileAttributes;
7022
- originAssetFile: DocIdNullable;
7023
- links?: Links;
7024
- _resourceName: 'videoFile';
7366
+ declare interface VideoAttributes {
7367
+ bitrate: number;
7368
+ codecName: string;
7369
+ duration: number;
7370
+ height: number;
7371
+ ratioHeight: number;
7372
+ ratioWidth: number;
7373
+ rotation: number;
7374
+ width: number;
7025
7375
  }
7026
7376
 
7027
7377
  export declare type VuetifyIconValue = string;