@anzusystems/common-admin 1.39.0 → 1.40.0-alpha2

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.
@@ -12,6 +12,7 @@ import type { DeepReadonly } from 'vue';
12
12
  import { DefineComponent } from 'vue';
13
13
  import { ExtractPropTypes } from 'vue';
14
14
  import type { Fn } from '@vueuse/core';
15
+ import { Fn as Fn_2 } from '@vueuse/shared';
15
16
  import { I18n } from './vue-i18n/dist/vue-i18n.esm-bundler.js';
16
17
  import type { InjectionKey } from 'vue';
17
18
  import { IntlDateTimeFormat } from './vue-i18n/dist/vue-i18n.esm-bundler.js';
@@ -27,6 +28,7 @@ import { RendererNode } from 'vue';
27
28
  import type { RouteLocationNormalized } from 'vue-router';
28
29
  import type { RouteLocationRaw } from 'vue-router';
29
30
  import type { Router } from 'vue-router';
31
+ import { ShallowRef } from 'vue';
30
32
  import { ShallowUnwrapRef } from 'vue';
31
33
  import { UnwrapRef } from 'vue';
32
34
  import { useI18n } from './vue-i18n/dist/vue-i18n.esm-bundler.js';
@@ -169,6 +171,12 @@ declare type __VLS_NonUndefinedable_69<T> = T extends undefined ? never : T;
169
171
 
170
172
  declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
171
173
 
174
+ declare type __VLS_NonUndefinedable_70<T> = T extends undefined ? never : T;
175
+
176
+ declare type __VLS_NonUndefinedable_71<T> = T extends undefined ? never : T;
177
+
178
+ declare type __VLS_NonUndefinedable_72<T> = T extends undefined ? never : T;
179
+
172
180
  declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
173
181
 
174
182
  declare type __VLS_NonUndefinedable_9<T> = T extends undefined ? never : T;
@@ -425,6 +433,18 @@ declare type __VLS_Prettify_66<T> = {
425
433
  [K in keyof T]: T[K];
426
434
  } & {};
427
435
 
436
+ declare type __VLS_Prettify_67<T> = {
437
+ [K in keyof T]: T[K];
438
+ } & {};
439
+
440
+ declare type __VLS_Prettify_68<T> = {
441
+ [K in keyof T]: T[K];
442
+ } & {};
443
+
444
+ declare type __VLS_Prettify_69<T> = {
445
+ [K in keyof T]: T[K];
446
+ } & {};
447
+
428
448
  declare type __VLS_Prettify_7<T> = {
429
449
  [K in keyof T]: T[K];
430
450
  } & {};
@@ -1040,6 +1060,33 @@ declare type __VLS_TypePropsToRuntimeProps_7<T> = {
1040
1060
  };
1041
1061
  };
1042
1062
 
1063
+ declare type __VLS_TypePropsToRuntimeProps_70<T> = {
1064
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
1065
+ type: PropType<__VLS_NonUndefinedable_70<T[K]>>;
1066
+ } : {
1067
+ type: PropType<T[K]>;
1068
+ required: true;
1069
+ };
1070
+ };
1071
+
1072
+ declare type __VLS_TypePropsToRuntimeProps_71<T> = {
1073
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
1074
+ type: PropType<__VLS_NonUndefinedable_71<T[K]>>;
1075
+ } : {
1076
+ type: PropType<T[K]>;
1077
+ required: true;
1078
+ };
1079
+ };
1080
+
1081
+ declare type __VLS_TypePropsToRuntimeProps_72<T> = {
1082
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
1083
+ type: PropType<__VLS_NonUndefinedable_72<T[K]>>;
1084
+ } : {
1085
+ type: PropType<T[K]>;
1086
+ required: true;
1087
+ };
1088
+ };
1089
+
1043
1090
  declare type __VLS_TypePropsToRuntimeProps_8<T> = {
1044
1091
  [K in keyof T]-?: {} extends Pick<T, K> ? {
1045
1092
  type: PropType<__VLS_NonUndefinedable_8<T[K]>>;
@@ -1436,6 +1483,24 @@ declare type __VLS_WithDefaults_66<P, D> = {
1436
1483
  }> : P[K];
1437
1484
  };
1438
1485
 
1486
+ declare type __VLS_WithDefaults_67<P, D> = {
1487
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_67<P[K] & {
1488
+ default: D[K];
1489
+ }> : P[K];
1490
+ };
1491
+
1492
+ declare type __VLS_WithDefaults_68<P, D> = {
1493
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_68<P[K] & {
1494
+ default: D[K];
1495
+ }> : P[K];
1496
+ };
1497
+
1498
+ declare type __VLS_WithDefaults_69<P, D> = {
1499
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_69<P[K] & {
1500
+ default: D[K];
1501
+ }> : P[K];
1502
+ };
1503
+
1439
1504
  declare type __VLS_WithDefaults_7<P, D> = {
1440
1505
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_7<P[K] & {
1441
1506
  default: D[K];
@@ -1496,6 +1561,12 @@ declare type __VLS_WithTemplateSlots_15<T, S> = T & {
1496
1561
  };
1497
1562
  };
1498
1563
 
1564
+ declare type __VLS_WithTemplateSlots_16<T, S> = T & {
1565
+ new (): {
1566
+ $slots: S;
1567
+ };
1568
+ };
1569
+
1499
1570
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
1500
1571
  new (): {
1501
1572
  $slots: S;
@@ -1901,44 +1972,49 @@ export declare const AAnzuUserAvatar: DefineComponent<__VLS_WithDefaults_53<__VL
1901
1972
  containerClass: string;
1902
1973
  }, {}>;
1903
1974
 
1904
- export declare const AAssetSelect: __VLS_WithTemplateSlots_15<DefineComponent<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_65<{
1975
+ export declare const AAssetSelect: __VLS_WithTemplateSlots_16<DefineComponent<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_68<{
1905
1976
  modelValue?: boolean | undefined;
1906
1977
  assetType: "image" | "audio" | "video" | DamAssetType | "document";
1907
1978
  minCount: number;
1908
1979
  maxCount: number;
1909
1980
  assetLicenceId?: number | undefined;
1910
- returnType?: AssetSelectReturnType | "mainFileId" | "assetId" | "asset" | undefined;
1981
+ returnType?: "asset" | "assetId" | AssetSelectReturnType | "mainFileId" | undefined;
1982
+ configName?: string | undefined;
1911
1983
  }>, {
1912
1984
  modelValue: undefined;
1913
1985
  assetLicenceId: undefined;
1914
1986
  returnType: string;
1987
+ configName: string;
1915
1988
  }>, {
1916
1989
  open: () => void;
1917
1990
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1918
1991
  "update:modelValue": (data: boolean) => void;
1919
1992
  onConfirm: (data: AssetSelectReturnData) => void;
1920
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_65<{
1993
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_68<{
1921
1994
  modelValue?: boolean | undefined;
1922
1995
  assetType: "image" | "audio" | "video" | DamAssetType | "document";
1923
1996
  minCount: number;
1924
1997
  maxCount: number;
1925
1998
  assetLicenceId?: number | undefined;
1926
- returnType?: AssetSelectReturnType | "mainFileId" | "assetId" | "asset" | undefined;
1999
+ returnType?: "asset" | "assetId" | AssetSelectReturnType | "mainFileId" | undefined;
2000
+ configName?: string | undefined;
1927
2001
  }>, {
1928
2002
  modelValue: undefined;
1929
2003
  assetLicenceId: undefined;
1930
2004
  returnType: string;
2005
+ configName: string;
1931
2006
  }>>> & {
1932
2007
  "onUpdate:modelValue"?: ((data: boolean) => any) | undefined;
1933
2008
  onOnConfirm?: ((data: AssetSelectReturnData) => any) | undefined;
1934
2009
  }, {
1935
2010
  modelValue: boolean;
2011
+ configName: string;
1936
2012
  assetLicenceId: number;
1937
- returnType: AssetSelectReturnType | "mainFileId" | "assetId" | "asset";
2013
+ returnType: "asset" | "assetId" | AssetSelectReturnType | "mainFileId";
1938
2014
  }, {}>, {
1939
2015
  activator?(_: {
1940
2016
  props: {
1941
- onClick: (event: Event, ...args: unknown[]) => any;
2017
+ onClick: () => void;
1942
2018
  };
1943
2019
  }): any;
1944
2020
  title?(_: {}): any;
@@ -3369,6 +3445,188 @@ export declare const AIconGroup: DefineComponent<__VLS_WithDefaults_35<__VLS_Typ
3369
3445
  secondaryText: null | string;
3370
3446
  }, {}>;
3371
3447
 
3448
+ export declare const AImageWidget: DefineComponent<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_65<{
3449
+ modelValue: IntegerIdNullable;
3450
+ queueKey: UploadQueueKey;
3451
+ licenceId: IntegerId;
3452
+ extSystem: IntegerId;
3453
+ image?: ImageAware | undefined;
3454
+ configName?: string | undefined;
3455
+ label?: string | undefined;
3456
+ readonly?: boolean | undefined;
3457
+ dataCy?: string | undefined;
3458
+ expandOptions?: boolean | undefined;
3459
+ disableOnClickMenu?: boolean | undefined;
3460
+ width?: number | undefined;
3461
+ }>, {
3462
+ configName: string;
3463
+ label: undefined;
3464
+ image: undefined;
3465
+ readonly: boolean;
3466
+ lockable: boolean;
3467
+ lockedById: undefined;
3468
+ dataCy: undefined;
3469
+ expandOptions: boolean;
3470
+ disableOnClickMenu: boolean;
3471
+ width: undefined;
3472
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3473
+ "update:modelValue": (data: IntegerIdNullable) => void;
3474
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_65<{
3475
+ modelValue: IntegerIdNullable;
3476
+ queueKey: UploadQueueKey;
3477
+ licenceId: IntegerId;
3478
+ extSystem: IntegerId;
3479
+ image?: ImageAware | undefined;
3480
+ configName?: string | undefined;
3481
+ label?: string | undefined;
3482
+ readonly?: boolean | undefined;
3483
+ dataCy?: string | undefined;
3484
+ expandOptions?: boolean | undefined;
3485
+ disableOnClickMenu?: boolean | undefined;
3486
+ width?: number | undefined;
3487
+ }>, {
3488
+ configName: string;
3489
+ label: undefined;
3490
+ image: undefined;
3491
+ readonly: boolean;
3492
+ lockable: boolean;
3493
+ lockedById: undefined;
3494
+ dataCy: undefined;
3495
+ expandOptions: boolean;
3496
+ disableOnClickMenu: boolean;
3497
+ width: undefined;
3498
+ }>>> & {
3499
+ "onUpdate:modelValue"?: ((data: IntegerIdNullable) => any) | undefined;
3500
+ }, {
3501
+ width: number;
3502
+ image: ImageAware;
3503
+ label: string;
3504
+ dataCy: string;
3505
+ readonly: boolean;
3506
+ configName: string;
3507
+ expandOptions: boolean;
3508
+ disableOnClickMenu: boolean;
3509
+ }, {}>;
3510
+
3511
+ export declare const AImageWidgetMultiple: DefineComponent<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_67<{
3512
+ modelValue: IntegerId[];
3513
+ queueKey: UploadQueueKey;
3514
+ licenceId: IntegerId;
3515
+ extSystem: IntegerId;
3516
+ configName?: string | undefined;
3517
+ label?: string | undefined;
3518
+ readonly?: boolean | undefined;
3519
+ dataCy?: string | undefined;
3520
+ width?: number | undefined;
3521
+ }>, {
3522
+ configName: string;
3523
+ label: undefined;
3524
+ image: undefined;
3525
+ readonly: boolean;
3526
+ lockable: boolean;
3527
+ lockedById: undefined;
3528
+ dataCy: undefined;
3529
+ expandOptions: boolean;
3530
+ width: undefined;
3531
+ }>, {
3532
+ saveImages: () => Promise<false | void>;
3533
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3534
+ "update:modelValue": (data: number[]) => void;
3535
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_67<{
3536
+ modelValue: IntegerId[];
3537
+ queueKey: UploadQueueKey;
3538
+ licenceId: IntegerId;
3539
+ extSystem: IntegerId;
3540
+ configName?: string | undefined;
3541
+ label?: string | undefined;
3542
+ readonly?: boolean | undefined;
3543
+ dataCy?: string | undefined;
3544
+ width?: number | undefined;
3545
+ }>, {
3546
+ configName: string;
3547
+ label: undefined;
3548
+ image: undefined;
3549
+ readonly: boolean;
3550
+ lockable: boolean;
3551
+ lockedById: undefined;
3552
+ dataCy: undefined;
3553
+ expandOptions: boolean;
3554
+ width: undefined;
3555
+ }>>> & {
3556
+ "onUpdate:modelValue"?: ((data: number[]) => any) | undefined;
3557
+ }, {
3558
+ width: number;
3559
+ label: string;
3560
+ dataCy: string;
3561
+ readonly: boolean;
3562
+ configName: string;
3563
+ }, {}>;
3564
+
3565
+ export declare const AImageWidgetSimple: __VLS_WithTemplateSlots_15<DefineComponent<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_66<{
3566
+ modelValue: IntegerIdNullable | undefined;
3567
+ image?: ImageAware | ImageCreateUpdateAware | undefined;
3568
+ configName?: string | undefined;
3569
+ label?: string | undefined;
3570
+ width?: number | undefined;
3571
+ disableAspectRatio?: boolean | undefined;
3572
+ aspectRatio?: string | number | undefined;
3573
+ }>, {
3574
+ configName: string;
3575
+ label: undefined;
3576
+ image: undefined;
3577
+ width: undefined;
3578
+ disableAspectRatio: boolean;
3579
+ aspectRatio: number;
3580
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_66<{
3581
+ modelValue: IntegerIdNullable | undefined;
3582
+ image?: ImageAware | ImageCreateUpdateAware | undefined;
3583
+ configName?: string | undefined;
3584
+ label?: string | undefined;
3585
+ width?: number | undefined;
3586
+ disableAspectRatio?: boolean | undefined;
3587
+ aspectRatio?: string | number | undefined;
3588
+ }>, {
3589
+ configName: string;
3590
+ label: undefined;
3591
+ image: undefined;
3592
+ width: undefined;
3593
+ disableAspectRatio: boolean;
3594
+ aspectRatio: number;
3595
+ }>>>, {
3596
+ width: number;
3597
+ image: ImageAware | ImageCreateUpdateAware;
3598
+ label: string;
3599
+ configName: string;
3600
+ disableAspectRatio: boolean;
3601
+ aspectRatio: string | number;
3602
+ }, {}>, {
3603
+ append?(_: {
3604
+ image: {
3605
+ id: number;
3606
+ texts: {
3607
+ description: string;
3608
+ source: string;
3609
+ };
3610
+ dam: {
3611
+ damId: string;
3612
+ regionPosition: number;
3613
+ };
3614
+ position: number;
3615
+ } | {
3616
+ id?: number | undefined;
3617
+ texts: {
3618
+ description: string;
3619
+ source: string;
3620
+ };
3621
+ position: number;
3622
+ dam: {
3623
+ damId: string;
3624
+ regionPosition: number;
3625
+ };
3626
+ } | null;
3627
+ }): any;
3628
+ }>;
3629
+
3372
3630
  export declare const AJobDetailCommon: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_60<{
3373
3631
  job: JobBase<`job${string}`>;
3374
3632
  loading?: boolean | undefined;
@@ -3403,7 +3661,7 @@ export declare const ALogData: DefineComponent<__VLS_WithDefaults_29<__VLS_TypeP
3403
3661
  data: any;
3404
3662
  }>, {}>>>, {}, {}>;
3405
3663
 
3406
- export declare const ALoginView: DefineComponent<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_66<{
3664
+ export declare const ALoginView: DefineComponent<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_69<{
3407
3665
  title?: string | undefined;
3408
3666
  logoUrl?: string | undefined;
3409
3667
  loginUrl?: undefined | (() => string);
@@ -3413,7 +3671,7 @@ export declare const ALoginView: DefineComponent<__VLS_WithDefaults_63<__VLS_Typ
3413
3671
  logoUrl: undefined;
3414
3672
  loginUrl: undefined;
3415
3673
  dataCy: string;
3416
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_66<{
3674
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_69<{
3417
3675
  title?: string | undefined;
3418
3676
  logoUrl?: string | undefined;
3419
3677
  loginUrl?: undefined | (() => string);
@@ -3436,11 +3694,11 @@ export declare const ALogLevelChip: DefineComponent<__VLS_WithDefaults_52<__VLS_
3436
3694
  level: LogLevel;
3437
3695
  }>, {}>>>, {}, {}>;
3438
3696
 
3439
- export declare const ALogoutView: DefineComponent<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_67<{
3697
+ export declare const ALogoutView: DefineComponent<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_70<{
3440
3698
  logoutUrl?: undefined | (() => string);
3441
3699
  }>, {
3442
3700
  logoutUrl: undefined;
3443
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_67<{
3701
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_70<{
3444
3702
  logoutUrl?: undefined | (() => string);
3445
3703
  }>, {
3446
3704
  logoutUrl: undefined;
@@ -3448,9 +3706,9 @@ export declare const ALogoutView: DefineComponent<__VLS_WithDefaults_64<__VLS_Ty
3448
3706
  logoutUrl: () => string;
3449
3707
  }, {}>;
3450
3708
 
3451
- export declare const ANotFoundView: DefineComponent<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_69<{
3709
+ export declare const ANotFoundView: DefineComponent<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_72<{
3452
3710
  returnRouteName: string;
3453
- }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_69<{
3711
+ }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_72<{
3454
3712
  returnRouteName: string;
3455
3713
  }>, {}>>>, {}, {}>;
3456
3714
 
@@ -3734,7 +3992,7 @@ export declare const ASortable: __VLS_WithTemplateSlots_12<DefineComponent<__VLS
3734
3992
  }): any;
3735
3993
  "add-last-activator"?(_: {
3736
3994
  props: {
3737
- onClick: (event: Event, ...args: unknown[]) => any;
3995
+ onClick: () => void;
3738
3996
  };
3739
3997
  }): any;
3740
3998
  }>;
@@ -3942,7 +4200,7 @@ export declare enum AssetFileProcessStatus {
3942
4200
  }
3943
4201
 
3944
4202
  export declare interface AssetFileProperties {
3945
- distributesInServices: DistributionServiceName[];
4203
+ distributesInServices: DamDistributionServiceName[];
3946
4204
  slotNames: string[];
3947
4205
  fromRss: boolean;
3948
4206
  width: number;
@@ -4010,8 +4268,8 @@ export declare const ASubjectSelect: <TItem>(__VLS_props: {
4010
4268
  resetFilter: Fn;
4011
4269
  pagination: Pagination;
4012
4270
  loading?: boolean | undefined;
4013
- "onUpdate:modelValue"?: ((data: boolean) => any) | undefined;
4014
4271
  modelValue?: boolean | undefined;
4272
+ "onUpdate:modelValue"?: ((data: boolean) => any) | undefined;
4015
4273
  onOnOpen?: (() => any) | undefined;
4016
4274
  onOnConfirm?: ((data: TItem[]) => any) | undefined;
4017
4275
  "onUpdate:pagination"?: ((data: Pagination) => any) | undefined;
@@ -4027,7 +4285,7 @@ export declare const ASubjectSelect: <TItem>(__VLS_props: {
4027
4285
  slots: {
4028
4286
  activator?(_: {
4029
4287
  props: {
4030
- onClick: (event: Event, ...args: unknown[]) => any;
4288
+ onClick: () => void;
4031
4289
  };
4032
4290
  }): any;
4033
4291
  title?(_: {}): any;
@@ -4054,8 +4312,8 @@ export declare const ASubjectSelect: <TItem>(__VLS_props: {
4054
4312
  resetFilter: Fn;
4055
4313
  pagination: Pagination;
4056
4314
  loading?: boolean | undefined;
4057
- "onUpdate:modelValue"?: ((data: boolean) => any) | undefined;
4058
4315
  modelValue?: boolean | undefined;
4316
+ "onUpdate:modelValue"?: ((data: boolean) => any) | undefined;
4059
4317
  onOnOpen?: (() => any) | undefined;
4060
4318
  onOnConfirm?: ((data: TItem[]) => any) | undefined;
4061
4319
  "onUpdate:pagination"?: ((data: Pagination) => any) | undefined;
@@ -4074,7 +4332,7 @@ export declare const ASubjectSelect: <TItem>(__VLS_props: {
4074
4332
  slots: {
4075
4333
  activator?(_: {
4076
4334
  props: {
4077
- onClick: (event: Event, ...args: unknown[]) => any;
4335
+ onClick: () => void;
4078
4336
  };
4079
4337
  }): any;
4080
4338
  title?(_: {}): any;
@@ -4102,8 +4360,8 @@ export declare const ASubjectSelect: <TItem>(__VLS_props: {
4102
4360
  resetFilter: Fn;
4103
4361
  pagination: Pagination;
4104
4362
  loading?: boolean | undefined;
4105
- "onUpdate:modelValue"?: ((data: boolean) => any) | undefined;
4106
4363
  modelValue?: boolean | undefined;
4364
+ "onUpdate:modelValue"?: ((data: boolean) => any) | undefined;
4107
4365
  onOnOpen?: (() => any) | undefined;
4108
4366
  onOnConfirm?: ((data: TItem[]) => any) | undefined;
4109
4367
  "onUpdate:pagination"?: ((data: Pagination) => any) | undefined;
@@ -4122,7 +4380,7 @@ export declare const ASubjectSelect: <TItem>(__VLS_props: {
4122
4380
  slots: {
4123
4381
  activator?(_: {
4124
4382
  props: {
4125
- onClick: (event: Event, ...args: unknown[]) => any;
4383
+ onClick: () => void;
4126
4384
  };
4127
4385
  }): any;
4128
4386
  title?(_: {}): any;
@@ -4312,9 +4570,9 @@ declare interface AudioAttributes {
4312
4570
  bitrate: number;
4313
4571
  }
4314
4572
 
4315
- export declare const AUnauthorizedView: DefineComponent<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_68<{
4573
+ export declare const AUnauthorizedView: DefineComponent<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_71<{
4316
4574
  returnRouteName: string;
4317
- }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_68<{
4575
+ }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_71<{
4318
4576
  returnRouteName: string;
4319
4577
  }>, {}>>>, {}, {}>;
4320
4578
 
@@ -4391,9 +4649,26 @@ declare type ColumnInternalValues = {
4391
4649
 
4392
4650
  export declare const COMMON_CONFIG: Immutable<typeof commonConfig>;
4393
4651
 
4652
+ declare interface CommonAdminCoreDamConfig {
4653
+ damClient: () => AxiosInstance;
4654
+ defaultLicenceId?: IntegerId;
4655
+ }
4656
+
4657
+ declare type CommonAdminCoreDamOptions = undefined | {
4658
+ configs: {
4659
+ [key: string]: CommonAdminCoreDamConfig;
4660
+ };
4661
+ apiTimeout: number;
4662
+ uploadStatusFallback: boolean;
4663
+ notification: {
4664
+ enabled: boolean;
4665
+ webSocketUrl: string;
4666
+ };
4667
+ };
4668
+
4394
4669
  declare interface CommonAdminImageConfig {
4395
- getImage: (id: IntegerId) => Promise<ImageWidgetImage>;
4396
- imageUrl: string;
4670
+ imageClient: () => AxiosInstance;
4671
+ previewDomain: string;
4397
4672
  width: number;
4398
4673
  height: number;
4399
4674
  }
@@ -4491,6 +4766,203 @@ export declare enum DamAssetType {
4491
4766
  Default = "image"
4492
4767
  }
4493
4768
 
4769
+ export declare interface DamDistributionConfig {
4770
+ distributionServices: Array<DamDistributionServiceName>;
4771
+ distributionRequirements: Record<DamDistributionServiceName, DamDistributionRequirementsConfig>;
4772
+ }
4773
+
4774
+ export declare interface DamDistributionRequirementsCategorySelectConfig {
4775
+ enabled: boolean;
4776
+ required: boolean;
4777
+ }
4778
+
4779
+ export declare interface DamDistributionRequirementsConfig {
4780
+ title: string;
4781
+ requiredAuth: boolean;
4782
+ blockedBy: Array<DamDistributionServiceName>;
4783
+ categorySelect: DamDistributionRequirementsCategorySelectConfig;
4784
+ strategy: DamDistributionRequirementStrategy;
4785
+ }
4786
+
4787
+ export declare enum DamDistributionRequirementStrategy {
4788
+ None = "none",
4789
+ AtLeastOne = "at_least_one",
4790
+ OneFromType = "one_from_type",
4791
+ WaitForAll = "wait_for_all",
4792
+ Default = "none"
4793
+ }
4794
+
4795
+ export declare type DamDistributionServiceName = string;
4796
+
4797
+ export declare enum DamDistributionServiceType {
4798
+ Youtube = "youtubeDistribution",
4799
+ Jw = "jwDistribution",
4800
+ Custom = "customDistribution"
4801
+ }
4802
+
4803
+ export declare enum DamDistributionStatus {
4804
+ Waiting = "waiting",
4805
+ Distributing = "distributing",
4806
+ RemoteProcessing = "remote_processing",
4807
+ Distributed = "distributed",
4808
+ Failed = "failed",
4809
+ Default = "waiting"
4810
+ }
4811
+
4812
+ export declare type DamExternalProviderAssetConfig = Record<DamExternalProviderAssetName, {
4813
+ listingLimit: number;
4814
+ title: string;
4815
+ }>;
4816
+
4817
+ export declare type DamExternalProviderAssetName = string;
4818
+
4819
+ export declare interface DamExtSystemAssetTypeExifMetadata {
4820
+ enabled: boolean;
4821
+ required: boolean;
4822
+ }
4823
+
4824
+ export declare interface DamExtSystemConfig extends Record<DamAssetType, DamExtSystemConfigItem> {
4825
+ assetExternalProviders: DamExternalProviderAssetConfig;
4826
+ audio: DamExtSystemConfigItem;
4827
+ video: DamExtSystemConfigItem;
4828
+ image: DamExtSystemConfigItem;
4829
+ document: DamExtSystemConfigItem;
4830
+ }
4831
+
4832
+ export declare interface DamExtSystemConfigItem {
4833
+ sizeLimit: number;
4834
+ defaultFileVersion: string;
4835
+ versions: Array<string>;
4836
+ mimeTypes: Array<string>;
4837
+ distribution: DamDistributionConfig;
4838
+ authors: DamExtSystemAssetTypeExifMetadata;
4839
+ keywords: DamExtSystemAssetTypeExifMetadata;
4840
+ customMetadataPinnedAmount: number;
4841
+ slots: string[];
4842
+ }
4843
+
4844
+ export declare const damFileTypeFix: (file: File | null | undefined) => string;
4845
+
4846
+ declare type DamNotification = DamNotificationAssetFileProcessed | DamNotificationAssetFileFailed | DamNotificationAssetFileDuplicate | DamNotificationAssetFileUploaded | DamNotificationAssetFileDeleted | DamNotificationAssetMetadataProcessed | DamNotificationAssetDeleted | DamNotificationDistributionDistributing | DamNotificationDistributionRemoteProcessing | DamNotificationDistributionDistributed | DamNotificationDistributionFailed | DamNotificationDistributionAuthorized | DamNotificationUserUpdated;
4847
+
4848
+ declare interface DamNotificationAssetData {
4849
+ asset: DocId;
4850
+ }
4851
+
4852
+ declare type DamNotificationAssetDeleted = DamNotificationEvent<typeof DamNotificationName.AssetDeleted, DamNotificationAssetData>;
4853
+
4854
+ declare interface DamNotificationAssetFileData {
4855
+ id: DocId;
4856
+ asset: DocId;
4857
+ }
4858
+
4859
+ declare type DamNotificationAssetFileDeleted = DamNotificationEvent<typeof DamNotificationName.AssetFileDeleted, DamNotificationAssetFileData>;
4860
+
4861
+ declare type DamNotificationAssetFileDuplicate = DamNotificationEvent<typeof DamNotificationName.AssetFileDuplicate, DamNotificationAssetFileStatusData>;
4862
+
4863
+ declare type DamNotificationAssetFileFailed = DamNotificationEvent<typeof DamNotificationName.AssetFileFailed, DamNotificationAssetFileStatusData>;
4864
+
4865
+ declare type DamNotificationAssetFileProcessed = DamNotificationEvent<typeof DamNotificationName.AssetFileProcessed, DamNotificationAssetFileStatusData>;
4866
+
4867
+ declare interface DamNotificationAssetFileStatusData {
4868
+ id: DocId;
4869
+ asset: DocId;
4870
+ status: AssetFileProcessStatus;
4871
+ failReason: AssetFileFailReason;
4872
+ assetType: DamAssetType;
4873
+ originAssetFile: DocId;
4874
+ }
4875
+
4876
+ declare type DamNotificationAssetFileUploaded = DamNotificationEvent<typeof DamNotificationName.AssetFileUploaded, DamNotificationAssetFileStatusData>;
4877
+
4878
+ declare type DamNotificationAssetMetadataProcessed = DamNotificationEvent<typeof DamNotificationName.AssetMetadataProcessed, DamNotificationAssetFileStatusData>;
4879
+
4880
+ declare type DamNotificationDistributionAuthorized = DamNotificationEvent<typeof DamNotificationName.DistributionAuthorized, {
4881
+ distributionService: DamDistributionServiceName;
4882
+ success: boolean;
4883
+ }>;
4884
+
4885
+ declare interface DamNotificationDistributionData {
4886
+ id: DocId;
4887
+ asset: DocId;
4888
+ assetFile: DocId;
4889
+ status: DamDistributionStatus;
4890
+ }
4891
+
4892
+ declare type DamNotificationDistributionDistributed = DamNotificationEvent<typeof DamNotificationName.DistributionDistributed, DamNotificationDistributionData>;
4893
+
4894
+ declare type DamNotificationDistributionDistributing = DamNotificationEvent<typeof DamNotificationName.DistributionDistributing, DamNotificationDistributionData>;
4895
+
4896
+ declare type DamNotificationDistributionFailed = DamNotificationEvent<typeof DamNotificationName.DistributionFailed, DamNotificationDistributionData>;
4897
+
4898
+ declare type DamNotificationDistributionRemoteProcessing = DamNotificationEvent<typeof DamNotificationName.DistributionRemoteProcessing, DamNotificationDistributionData>;
4899
+
4900
+ declare type DamNotificationEvent<T extends DamNotificationNameType, P> = {
4901
+ name: T;
4902
+ data: P;
4903
+ };
4904
+
4905
+ export declare const DamNotificationName: {
4906
+ readonly AssetFileProcessed: "asset_file_processed";
4907
+ readonly AssetFileFailed: "asset_file_failed";
4908
+ readonly AssetFileDuplicate: "asset_file_duplicate";
4909
+ readonly AssetFileUploaded: "asset_file_uploaded";
4910
+ readonly AssetFileDeleted: "asset_file_deleted";
4911
+ readonly AssetMetadataProcessed: "asset_metadata_processed";
4912
+ readonly AssetDeleted: "asset_deleted";
4913
+ readonly DistributionDistributing: "distribution_distributing";
4914
+ readonly DistributionRemoteProcessing: "distribution_remote_processing";
4915
+ readonly DistributionDistributed: "distribution_distributed";
4916
+ readonly DistributionFailed: "distribution_failed";
4917
+ readonly DistributionAuthorized: "distribution_authorized";
4918
+ readonly UserUpdated: "user_updated";
4919
+ };
4920
+
4921
+ export declare type DamNotificationNameType = (typeof DamNotificationName)[keyof typeof DamNotificationName];
4922
+
4923
+ declare type DamNotificationUserUpdated = DamNotificationEvent<typeof DamNotificationName.UserUpdated, undefined>;
4924
+
4925
+ export declare interface DamPrvConfig {
4926
+ assetExternalProviders: {
4927
+ [key: string]: {
4928
+ title: string;
4929
+ };
4930
+ };
4931
+ distributionServices: {
4932
+ [key: string]: {
4933
+ title: string;
4934
+ iconPath: string;
4935
+ type: DamDistributionServiceType;
4936
+ allowedRedistributeStatuses: Array<DamDistributionStatus>;
4937
+ };
4938
+ };
4939
+ colorSet: {
4940
+ [key: string]: string;
4941
+ };
4942
+ settings: {
4943
+ aclCheckEnabled: boolean;
4944
+ adminAllowListName: string;
4945
+ allowSelectExtSystem: boolean;
4946
+ allowSelectLicenceId: boolean;
4947
+ defaultAssetLicenceId: number;
4948
+ defaultExtSystemId: number;
4949
+ imageChunkConfig: {
4950
+ minSize: number;
4951
+ maxSize: number;
4952
+ };
4953
+ maxBulkItemCount: number;
4954
+ };
4955
+ }
4956
+
4957
+ export declare interface DamPubConfig {
4958
+ userAuthType: UserAuthType;
4959
+ }
4960
+
4961
+ export declare interface DamUploadStartResponse {
4962
+ id: DocId;
4963
+ asset: DocId;
4964
+ }
4965
+
4494
4966
  export declare type DatatableOrderingOption = {
4495
4967
  id: number;
4496
4968
  titleT: string;
@@ -4574,8 +5046,6 @@ export declare function defineCached<I extends DocId | IntegerId, T extends Reco
4574
5046
  isLoaded: (id: I | null | undefined) => boolean;
4575
5047
  };
4576
5048
 
4577
- declare type DistributionServiceName = string;
4578
-
4579
5049
  export declare type DocId = string;
4580
5050
 
4581
5051
  export declare type DocIdNullable = string | null;
@@ -4632,6 +5102,8 @@ export declare const generateUUIDv1: () => any;
4632
5102
 
4633
5103
  export declare const generateUUIDv4: () => any;
4634
5104
 
5105
+ export declare const getAssetTypeByMimeType: (mimeType: string, damConfigExtSystem: DamExtSystemConfig) => DamAssetType | null;
5106
+
4635
5107
  export declare enum Grant {
4636
5108
  Deny = 0,
4637
5109
  AllowOwner = 1,
@@ -5127,42 +5599,32 @@ declare interface ImageAttributes {
5127
5599
  animated: boolean;
5128
5600
  }
5129
5601
 
5130
- declare interface ImageWidgetImage {
5602
+ declare interface ImageAware {
5131
5603
  id: IntegerId;
5132
5604
  texts: {
5133
- title?: string;
5134
5605
  description: string;
5135
- author?: string;
5606
+ source: string;
5136
5607
  };
5137
5608
  dam: {
5138
5609
  damId: DocId;
5139
5610
  regionPosition: number;
5140
5611
  };
5141
- settings: {
5142
- reviewed: false;
5143
- };
5144
- position: number;
5145
- imageAuthors: ImageWidgetImageAuthor[];
5146
- licences: ImageWidgetImageLicence[];
5147
- }
5148
-
5149
- declare interface ImageWidgetImageAuthor {
5150
- id: IntegerId;
5151
5612
  position: number;
5152
- customAuthor: string;
5153
- image: IntegerId;
5154
- author: IntegerIdNullable;
5155
5613
  }
5156
5614
 
5157
- declare interface ImageWidgetImageLicence {
5158
- name: string;
5159
- value: IntegerIdNullable;
5615
+ declare interface ImageCreateUpdateAware extends Omit<ImageAware, 'id'> {
5616
+ id?: IntegerId;
5160
5617
  }
5161
5618
 
5162
5619
  export declare type Immutable<T> = {
5163
5620
  readonly [K in keyof T]: Immutable<T[K]>;
5164
5621
  };
5165
5622
 
5623
+ export declare function initDamNotifications(): {
5624
+ openConnection: () => void;
5625
+ damNotificationsInitialized: Ref<boolean>;
5626
+ };
5627
+
5166
5628
  export declare type IntegerId = number;
5167
5629
 
5168
5630
  export declare type IntegerIdNullable = number | null;
@@ -6329,6 +6791,10 @@ export declare const messagesSk: {
6329
6791
  text: string;
6330
6792
  backButton: string;
6331
6793
  };
6794
+ dropzone: {
6795
+ dropPossibility: string;
6796
+ dropHere: string;
6797
+ };
6332
6798
  };
6333
6799
  anzuUser: {
6334
6800
  meta: {
@@ -6546,6 +7012,168 @@ export declare const messagesSk: {
6546
7012
  unableToAdd: string;
6547
7013
  };
6548
7014
  };
7015
+ damImage: {
7016
+ image: {
7017
+ model: {
7018
+ texts: {
7019
+ description: string;
7020
+ source: string;
7021
+ };
7022
+ };
7023
+ meta: {
7024
+ edit: string;
7025
+ };
7026
+ button: {
7027
+ options: string;
7028
+ editAsset: string;
7029
+ upload: string;
7030
+ addFromDam: string;
7031
+ replaceFromDam: string;
7032
+ removeImage: string;
7033
+ };
7034
+ };
7035
+ queueItem: {
7036
+ edit: string;
7037
+ displayTitle: string;
7038
+ error: string;
7039
+ copyAssetId: string;
7040
+ };
7041
+ asset: {
7042
+ model: {
7043
+ authors: string;
7044
+ keywords: string;
7045
+ };
7046
+ assetType: {
7047
+ image: string;
7048
+ audio: string;
7049
+ video: string;
7050
+ document: string;
7051
+ };
7052
+ detail: {
7053
+ toggleInfo: string;
7054
+ metadataToggle: {
7055
+ show: string;
7056
+ hide: string;
7057
+ };
7058
+ tabs: {
7059
+ info: string;
7060
+ roi: string;
7061
+ };
7062
+ info: {
7063
+ status: {
7064
+ duplicate: string;
7065
+ draft: string;
7066
+ deleting: string;
7067
+ failed: string;
7068
+ };
7069
+ metadata: string;
7070
+ file: string;
7071
+ field: {
7072
+ id: string;
7073
+ mainFileId: string;
7074
+ type: string;
7075
+ mimeType: string;
7076
+ size: string;
7077
+ dominantColor: string;
7078
+ width: string;
7079
+ height: string;
7080
+ ratio: string;
7081
+ animated: string;
7082
+ };
7083
+ };
7084
+ roi: {
7085
+ title: string;
7086
+ description: string;
7087
+ refresh: string;
7088
+ rotate: {
7089
+ rotateMainFileImage: string;
7090
+ rotateClockwise: string;
7091
+ rotateCounterclockwise: string;
7092
+ };
7093
+ };
7094
+ };
7095
+ massOperations: {
7096
+ title: string;
7097
+ description: string;
7098
+ fillOneEmpty: string;
7099
+ fillAllEmpty: string;
7100
+ replaceOne: string;
7101
+ replaceAll: string;
7102
+ clearForm: string;
7103
+ general: string;
7104
+ };
7105
+ metaIcons: {
7106
+ low: string;
7107
+ slots: string;
7108
+ rss: string;
7109
+ fullHd: string;
7110
+ "2k": string;
7111
+ qhd: string;
7112
+ "4k": string;
7113
+ "8k": string;
7114
+ };
7115
+ assetFileFailReason: {
7116
+ none: string;
7117
+ unknown: string;
7118
+ invalidChecksum: string;
7119
+ invalidMimeType: string;
7120
+ downloadFailed: string;
7121
+ invalidSize: string;
7122
+ };
7123
+ };
7124
+ upload: {
7125
+ waiting: string;
7126
+ processing: string;
7127
+ uploading: string;
7128
+ done: string;
7129
+ stop: string;
7130
+ add: string;
7131
+ save: string;
7132
+ saveAndApply: string;
7133
+ title: string;
7134
+ titleDone: string;
7135
+ stopConfirmQuestion: string;
7136
+ };
7137
+ keyword: {
7138
+ model: {
7139
+ name: string;
7140
+ };
7141
+ button: {
7142
+ add: string;
7143
+ };
7144
+ meta: {
7145
+ create: string;
7146
+ };
7147
+ };
7148
+ author: {
7149
+ model: {
7150
+ name: string;
7151
+ identifier: string;
7152
+ type: string;
7153
+ };
7154
+ authorType: {
7155
+ none: string;
7156
+ internal: string;
7157
+ external: string;
7158
+ agency: string;
7159
+ };
7160
+ button: {
7161
+ add: string;
7162
+ };
7163
+ meta: {
7164
+ create: string;
7165
+ };
7166
+ conflicts: string;
7167
+ };
7168
+ uploadErrors: {
7169
+ unknownError: string;
7170
+ systemError: string;
7171
+ size: string;
7172
+ offset: string;
7173
+ mimeType: string;
7174
+ };
7175
+ notificationsNotConnected: string;
7176
+ };
6549
7177
  };
6550
7178
  $vuetify: {
6551
7179
  badge: string;
@@ -6777,10 +7405,7 @@ export declare type PluginOptions<T extends AclValue = AclValue> = {
6777
7405
  default: LanguageCode;
6778
7406
  };
6779
7407
  customAclResolver?: CustomAclResolver<T>;
6780
- coreDam?: {
6781
- client: () => AxiosInstance;
6782
- defaultLicenceId?: IntegerId;
6783
- };
7408
+ coreDam?: CommonAdminCoreDamOptions;
6784
7409
  image?: CommonAdminImageOptions;
6785
7410
  };
6786
7411
 
@@ -6903,6 +7528,17 @@ export declare const timePretty: (isoDate: DatetimeUTC | DatetimeUTCNullable | s
6903
7528
 
6904
7529
  export declare const timestampCurrent: () => number;
6905
7530
 
7531
+ export declare interface UploadQueue {
7532
+ items: UploadQueueItem[];
7533
+ totalCount: number;
7534
+ processedCount: number;
7535
+ fileInputKey: number;
7536
+ suggestions: {
7537
+ newKeywordNames: Set<string>;
7538
+ newAuthorNames: Set<string>;
7539
+ };
7540
+ }
7541
+
6906
7542
  export declare interface UploadQueueItem {
6907
7543
  key: string;
6908
7544
  file: File | null;
@@ -6918,7 +7554,7 @@ export declare interface UploadQueueItem {
6918
7554
  externalProviderAssetId: AssetExternalProviderIdNullable;
6919
7555
  externalProviderName: string | null;
6920
7556
  externalProviderMetadata: AssetExternalProviderMetadata;
6921
- chunks: UploadQueueItemChunk[];
7557
+ latestChunkCancelToken: CancelTokenSource | null;
6922
7558
  chunkSize: number;
6923
7559
  currentChunkIndex: number;
6924
7560
  chunkTotalCount: number;
@@ -6942,10 +7578,7 @@ export declare interface UploadQueueItem {
6942
7578
  notificationFallbackTimer: ReturnType<typeof setTimeout> | undefined;
6943
7579
  notificationFallbackTry: number;
6944
7580
  slotName: string | null;
6945
- }
6946
-
6947
- declare interface UploadQueueItemChunk {
6948
- cancelTokenSource: CancelTokenSource;
7581
+ image: undefined | ImageAware;
6949
7582
  }
6950
7583
 
6951
7584
  export declare enum UploadQueueItemStatus {
@@ -6965,6 +7598,8 @@ export declare enum UploadQueueItemType {
6965
7598
  SlotFile = "slotFile"
6966
7599
  }
6967
7600
 
7601
+ declare type UploadQueueKey = string;
7602
+
6968
7603
  export declare type UrlParams = {
6969
7604
  [key: string]: number | string;
6970
7605
  };
@@ -7010,6 +7645,11 @@ export declare function useApiQueryBuilder(): {
7010
7645
  queryBuild: () => string;
7011
7646
  };
7012
7647
 
7648
+ export declare function useAssetSuggestions(): {
7649
+ updateNewNames: (suggestions: AssetMetadataSuggestions, newNames: Set<string>) => void;
7650
+ getAuthorConflicts: (suggestions: AssetMetadataSuggestions) => string[];
7651
+ };
7652
+
7013
7653
  declare type UseCachedType = () => {
7014
7654
  fetch: any;
7015
7655
  add: any;
@@ -7154,6 +7794,51 @@ export declare function useCustomDataFormElementType(): {
7154
7794
  } | undefined;
7155
7795
  };
7156
7796
 
7797
+ export declare function useDamAcceptTypeAndSizeHelper(assetType: DamAssetType | undefined, damConfigExtSystem: DamExtSystemConfig): {
7798
+ uploadSizes: ComputedRef<{
7799
+ [x: string]: number;
7800
+ }>;
7801
+ uploadAccept: ComputedRef<string>;
7802
+ };
7803
+
7804
+ export declare function useDamConfigState(client?: undefined | (() => AxiosInstance)): {
7805
+ initialized: {
7806
+ damPubConfig: boolean;
7807
+ damPrvConfig: boolean;
7808
+ damConfigExtSystem: number | null;
7809
+ damConfigAssetCustomFormElements: number | null;
7810
+ };
7811
+ damPubConfig: Ref<DamPubConfig> | ShallowRef<DamPubConfig>;
7812
+ damPrvConfig: Ref<DamPrvConfig> | ShallowRef<DamPrvConfig>;
7813
+ damConfigExtSystem: Ref<DamExtSystemConfig> | ShallowRef<DamExtSystemConfig>;
7814
+ damConfigAssetCustomFormElements: Ref<{
7815
+ image: CustomDataFormElement[];
7816
+ audio: CustomDataFormElement[];
7817
+ video: CustomDataFormElement[];
7818
+ document: CustomDataFormElement[];
7819
+ }> | ShallowRef<{
7820
+ image: CustomDataFormElement[];
7821
+ audio: CustomDataFormElement[];
7822
+ video: CustomDataFormElement[];
7823
+ document: CustomDataFormElement[];
7824
+ }>;
7825
+ damConfigDistributionCustomFormElements: Ref<Record<string, CustomDataFormElement[]>> | ShallowRef<Record<string, CustomDataFormElement[]>>;
7826
+ loadDamPrvConfig: () => Promise<unknown>;
7827
+ loadDamPubConfig: () => Promise<unknown>;
7828
+ loadDamConfigExtSystem: (extSystemId: IntegerId) => Promise<unknown>;
7829
+ loadDamConfigAssetCustomFormElements: (extSystemId: IntegerId) => Promise<unknown>;
7830
+ loadDamConfigDistributionCustomFormElements: (distributionServiceName: DamDistributionServiceName) => Promise<unknown>;
7831
+ };
7832
+
7833
+ export declare function useDamNotifications(): {
7834
+ addDamNotificationListener: (callback: (event: DamNotification) => void) => Fn_2;
7835
+ };
7836
+
7837
+ export declare function useDamUploadChunkSize(apiTimeout?: number): {
7838
+ lastChunkSize: Ref<number>;
7839
+ updateChunkSize: (speed: number | null) => boolean;
7840
+ };
7841
+
7157
7842
  export declare function useErrors(): {
7158
7843
  isAnzuFatalError: (error: any) => error is AnzuFatalError;
7159
7844
  isAnzuApiForbiddenError: (error: any) => error is AnzuApiForbiddenError;
@@ -7269,6 +7954,12 @@ export declare function usePermissionGroupFactory(): {
7269
7954
  createPermissionGroup: () => PermissionGroup;
7270
7955
  };
7271
7956
 
7957
+ export declare enum UserAuthType {
7958
+ JsonCredentials = "json_credentials",
7959
+ OAuth2 = "oauth2",
7960
+ Default = "json_credentials"
7961
+ }
7962
+
7272
7963
  export declare function useRemainingTime(): {
7273
7964
  remainingTimeShort: (seconds: number) => string;
7274
7965
  remainingTimeLong: (seconds: number) => string;
@@ -7307,6 +7998,10 @@ export declare function useTheme(): {
7307
7998
  setThemeLight: () => void;
7308
7999
  };
7309
8000
 
8001
+ export declare function useUploadQueueItemFactory(): {
8002
+ createDefault: (key: string, type: UploadQueueItemType, status: UploadQueueItemStatus, assetType: DamAssetType, chunkSize: number, licenceId: IntegerId) => UploadQueueItem;
8003
+ };
8004
+
7310
8005
  export declare function useValidate(): {
7311
8006
  required: ValidationRuleWithoutParams<any>;
7312
8007
  requiredIf: (prop: string | boolean | Ref<boolean> | (() => boolean | Promise<boolean>)) => ValidationRuleWithoutParams<any>;