@anzusystems/common-admin 1.40.0-alpha2 → 1.40.0-alpha21

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.
@@ -7,6 +7,7 @@ import type { CancelTokenSource } from 'axios';
7
7
  import { ComponentCustomProps } from 'vue';
8
8
  import { ComponentOptionsMixin } from 'vue';
9
9
  import { ComputedRef } from 'vue';
10
+ import { default as Cropper_2 } from 'cropperjs';
10
11
  import dayjs from 'dayjs';
11
12
  import type { DeepReadonly } from 'vue';
12
13
  import { DefineComponent } from 'vue';
@@ -177,6 +178,8 @@ declare type __VLS_NonUndefinedable_71<T> = T extends undefined ? never : T;
177
178
 
178
179
  declare type __VLS_NonUndefinedable_72<T> = T extends undefined ? never : T;
179
180
 
181
+ declare type __VLS_NonUndefinedable_73<T> = T extends undefined ? never : T;
182
+
180
183
  declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
181
184
 
182
185
  declare type __VLS_NonUndefinedable_9<T> = T extends undefined ? never : T;
@@ -449,6 +452,10 @@ declare type __VLS_Prettify_7<T> = {
449
452
  [K in keyof T]: T[K];
450
453
  } & {};
451
454
 
455
+ declare type __VLS_Prettify_70<T> = {
456
+ [K in keyof T]: T[K];
457
+ } & {};
458
+
452
459
  declare type __VLS_Prettify_8<T> = {
453
460
  [K in keyof T]: T[K];
454
461
  } & {};
@@ -1087,6 +1094,15 @@ declare type __VLS_TypePropsToRuntimeProps_72<T> = {
1087
1094
  };
1088
1095
  };
1089
1096
 
1097
+ declare type __VLS_TypePropsToRuntimeProps_73<T> = {
1098
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
1099
+ type: PropType<__VLS_NonUndefinedable_73<T[K]>>;
1100
+ } : {
1101
+ type: PropType<T[K]>;
1102
+ required: true;
1103
+ };
1104
+ };
1105
+
1090
1106
  declare type __VLS_TypePropsToRuntimeProps_8<T> = {
1091
1107
  [K in keyof T]-?: {} extends Pick<T, K> ? {
1092
1108
  type: PropType<__VLS_NonUndefinedable_8<T[K]>>;
@@ -1507,6 +1523,12 @@ declare type __VLS_WithDefaults_7<P, D> = {
1507
1523
  }> : P[K];
1508
1524
  };
1509
1525
 
1526
+ declare type __VLS_WithDefaults_70<P, D> = {
1527
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_70<P[K] & {
1528
+ default: D[K];
1529
+ }> : P[K];
1530
+ };
1531
+
1510
1532
  declare type __VLS_WithDefaults_8<P, D> = {
1511
1533
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_8<P[K] & {
1512
1534
  default: D[K];
@@ -1644,8 +1666,8 @@ export declare const AActionCloseButton: DefineComponent<__VLS_WithDefaults_37<_
1644
1666
  dataCy: string;
1645
1667
  size: number;
1646
1668
  }>>>, {
1647
- size: number;
1648
1669
  dataCy: string;
1670
+ size: number;
1649
1671
  buttonClass: string;
1650
1672
  buttonT: string;
1651
1673
  routeName: string;
@@ -1680,8 +1702,8 @@ export declare const AActionCreateButton: DefineComponent<__VLS_WithDefaults_38<
1680
1702
  variant: string;
1681
1703
  }>>>, {
1682
1704
  variant: ButtonVariant;
1683
- size: number;
1684
1705
  dataCy: string;
1706
+ size: number;
1685
1707
  buttonClass: string;
1686
1708
  buttonT: string;
1687
1709
  }, {}>;
@@ -1758,8 +1780,8 @@ export declare const AActionDeleteButton: DefineComponent<__VLS_WithDefaults_39<
1758
1780
  color: string;
1759
1781
  variant: ButtonVariant;
1760
1782
  disabled: boolean;
1761
- size: number;
1762
1783
  dataCy: string;
1784
+ size: number;
1763
1785
  buttonClass: string;
1764
1786
  buttonT: string;
1765
1787
  dialogMessageT: string;
@@ -1815,9 +1837,9 @@ export declare const AActionEditButton: DefineComponent<__VLS_WithDefaults_40<__
1815
1837
  onEditRecord?: (() => any) | undefined;
1816
1838
  }, {
1817
1839
  variant: ButtonVariant;
1840
+ dataCy: string;
1818
1841
  size: number;
1819
1842
  loading: boolean;
1820
- dataCy: string;
1821
1843
  buttonClass: string;
1822
1844
  buttonT: string;
1823
1845
  routeParams: any | undefined;
@@ -1854,8 +1876,8 @@ export declare const AActionSaveAndCloseButton: DefineComponent<__VLS_WithDefaul
1854
1876
  onSaveRecordAndClose?: (() => any) | undefined;
1855
1877
  }, {
1856
1878
  disabled: boolean;
1857
- loading: boolean;
1858
1879
  dataCy: string;
1880
+ loading: boolean;
1859
1881
  buttonClass: string;
1860
1882
  buttonT: string;
1861
1883
  }, {}>;
@@ -1899,9 +1921,9 @@ export declare const AActionSaveButton: DefineComponent<__VLS_WithDefaults_42<__
1899
1921
  }, {
1900
1922
  variant: ButtonVariant;
1901
1923
  disabled: boolean;
1924
+ dataCy: string;
1902
1925
  size: number;
1903
1926
  loading: boolean;
1904
- dataCy: string;
1905
1927
  buttonClass: string;
1906
1928
  buttonT: string;
1907
1929
  }, {}>;
@@ -1972,45 +1994,47 @@ export declare const AAnzuUserAvatar: DefineComponent<__VLS_WithDefaults_53<__VL
1972
1994
  containerClass: string;
1973
1995
  }, {}>;
1974
1996
 
1975
- export declare const AAssetSelect: __VLS_WithTemplateSlots_16<DefineComponent<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_68<{
1997
+ export declare const AAssetSelect: __VLS_WithTemplateSlots_16<DefineComponent<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_69<{
1976
1998
  modelValue?: boolean | undefined;
1977
- assetType: "image" | "audio" | "video" | DamAssetType | "document";
1999
+ assetType: "image" | "audio" | "video" | "document" | DamAssetType;
1978
2000
  minCount: number;
1979
2001
  maxCount: number;
1980
- assetLicenceId?: number | undefined;
1981
- returnType?: "asset" | "assetId" | AssetSelectReturnType | "mainFileId" | undefined;
2002
+ selectConfig: ImageWidgetSelectConfig[];
2003
+ returnType?: "asset" | "mainFileId" | "assetId" | AssetSelectReturnType | undefined;
1982
2004
  configName?: string | undefined;
2005
+ skipCurrentUserCheck?: boolean | undefined;
1983
2006
  }>, {
1984
2007
  modelValue: undefined;
1985
- assetLicenceId: undefined;
1986
2008
  returnType: string;
1987
2009
  configName: string;
2010
+ skipCurrentUserCheck: boolean;
1988
2011
  }>, {
1989
2012
  open: () => void;
1990
2013
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1991
2014
  "update:modelValue": (data: boolean) => void;
1992
2015
  onConfirm: (data: AssetSelectReturnData) => void;
1993
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_68<{
2016
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_69<{
1994
2017
  modelValue?: boolean | undefined;
1995
- assetType: "image" | "audio" | "video" | DamAssetType | "document";
2018
+ assetType: "image" | "audio" | "video" | "document" | DamAssetType;
1996
2019
  minCount: number;
1997
2020
  maxCount: number;
1998
- assetLicenceId?: number | undefined;
1999
- returnType?: "asset" | "assetId" | AssetSelectReturnType | "mainFileId" | undefined;
2021
+ selectConfig: ImageWidgetSelectConfig[];
2022
+ returnType?: "asset" | "mainFileId" | "assetId" | AssetSelectReturnType | undefined;
2000
2023
  configName?: string | undefined;
2024
+ skipCurrentUserCheck?: boolean | undefined;
2001
2025
  }>, {
2002
2026
  modelValue: undefined;
2003
- assetLicenceId: undefined;
2004
2027
  returnType: string;
2005
2028
  configName: string;
2029
+ skipCurrentUserCheck: boolean;
2006
2030
  }>>> & {
2007
2031
  "onUpdate:modelValue"?: ((data: boolean) => any) | undefined;
2008
2032
  onOnConfirm?: ((data: AssetSelectReturnData) => any) | undefined;
2009
2033
  }, {
2010
2034
  modelValue: boolean;
2011
2035
  configName: string;
2012
- assetLicenceId: number;
2013
- returnType: "asset" | "assetId" | AssetSelectReturnType | "mainFileId";
2036
+ returnType: "asset" | "mainFileId" | "assetId" | AssetSelectReturnType;
2037
+ skipCurrentUserCheck: boolean;
2014
2038
  }, {}>, {
2015
2039
  activator?(_: {
2016
2040
  props: {
@@ -2136,9 +2160,9 @@ export declare const ABtnSplit: __VLS_WithTemplateSlots_10<DefineComponent<__VLS
2136
2160
  variant: ButtonVariantText;
2137
2161
  rounded: "pill";
2138
2162
  disabled: boolean;
2163
+ dataCy: string;
2139
2164
  size: "small" | "x-small";
2140
2165
  loading: boolean;
2141
- dataCy: string;
2142
2166
  buttonClass: string;
2143
2167
  buttonT: string;
2144
2168
  disableMore: boolean;
@@ -2261,8 +2285,8 @@ export declare const AChipNoLink: __VLS_WithTemplateSlots_3<DefineComponent<__VL
2261
2285
  dataCy: undefined;
2262
2286
  }>>>, {
2263
2287
  color: string;
2264
- size: string;
2265
2288
  dataCy: string;
2289
+ size: string;
2266
2290
  }, {}>, {
2267
2291
  default?(_: {}): any;
2268
2292
  }>;
@@ -2375,6 +2399,193 @@ export declare const ACreateDialog: __VLS_WithTemplateSlots_7<DefineComponent<__
2375
2399
  "button-confirm-title"?(_: {}): any;
2376
2400
  }>;
2377
2401
 
2402
+ export declare const ACropperjs: <T extends EventTarget = EventTarget>(__VLS_props: {
2403
+ modal?: boolean | undefined;
2404
+ center?: boolean | undefined;
2405
+ data?: Cropper_2.SetDataOptions | null | undefined;
2406
+ src?: string | undefined;
2407
+ alt?: string | undefined;
2408
+ background?: boolean | undefined;
2409
+ aspectRatio?: number | undefined;
2410
+ containerStyle?: {
2411
+ [key: string]: string;
2412
+ } | undefined;
2413
+ imgStyle?: {
2414
+ [key: string]: string;
2415
+ } | undefined;
2416
+ autoCrop?: boolean | undefined;
2417
+ autoCropArea?: number | undefined;
2418
+ checkCrossOrigin?: boolean | undefined;
2419
+ checkOrientation?: boolean | undefined;
2420
+ cropBoxMovable?: boolean | undefined;
2421
+ cropBoxResizable?: boolean | undefined;
2422
+ dragMode?: Cropper_2.DragMode | undefined;
2423
+ guides?: boolean | undefined;
2424
+ highlight?: boolean | undefined;
2425
+ initialAspectRatio?: number | undefined;
2426
+ movable?: boolean | undefined;
2427
+ preview?: string | HTMLElement | HTMLElement[] | NodeListOf<HTMLElement> | undefined;
2428
+ responsive?: boolean | undefined;
2429
+ restore?: boolean | undefined;
2430
+ rotatable?: boolean | undefined;
2431
+ scalable?: boolean | undefined;
2432
+ toggleDragModeOnDblclick?: boolean | undefined;
2433
+ viewMode?: Cropper_2.ViewMode | undefined;
2434
+ wheelZoomRatio?: number | undefined;
2435
+ zoomOnTouch?: boolean | undefined;
2436
+ zoomOnWheel?: boolean | undefined;
2437
+ zoomable?: boolean | undefined;
2438
+ minCanvasWidth?: number | undefined;
2439
+ minCanvasHeight?: number | undefined;
2440
+ minContainerWidth?: number | undefined;
2441
+ minContainerHeight?: number | undefined;
2442
+ minCropBoxWidth?: number | undefined;
2443
+ minCropBoxHeight?: number | undefined;
2444
+ ready?: ((event: Cropper_2.ReadyEvent<T>) => void) | null | undefined;
2445
+ crop?: ((event: Cropper_2.CropEvent<T>) => void) | null | undefined;
2446
+ cropend?: ((event: Cropper_2.CropEndEvent<T>) => void) | null | undefined;
2447
+ cropmove?: ((event: Cropper_2.CropMoveEvent<T>) => void) | null | undefined;
2448
+ cropstart?: ((event: Cropper_2.CropStartEvent<T>) => void) | null | undefined;
2449
+ zoom?: ((event: Cropper_2.ZoomEvent<T>) => void) | null | undefined;
2450
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, __VLS_ctx?: {
2451
+ attrs: any;
2452
+ slots: {};
2453
+ emit: any;
2454
+ } | undefined, __VLS_expose?: ((exposed: ShallowUnwrapRef<{
2455
+ enable: () => void;
2456
+ disable: () => void;
2457
+ destroy: () => void;
2458
+ getImageData: () => Cropper_2.ImageData | undefined;
2459
+ getData: () => Cropper_2.Data | undefined;
2460
+ setData: (data: Cropper_2.SetDataOptions) => Cropper_2 | undefined;
2461
+ }>) => void) | undefined, __VLS_setup?: Promise<{
2462
+ props: {
2463
+ modal?: boolean | undefined;
2464
+ center?: boolean | undefined;
2465
+ data?: Cropper_2.SetDataOptions | null | undefined;
2466
+ src?: string | undefined;
2467
+ alt?: string | undefined;
2468
+ background?: boolean | undefined;
2469
+ aspectRatio?: number | undefined;
2470
+ containerStyle?: {
2471
+ [key: string]: string;
2472
+ } | undefined;
2473
+ imgStyle?: {
2474
+ [key: string]: string;
2475
+ } | undefined;
2476
+ autoCrop?: boolean | undefined;
2477
+ autoCropArea?: number | undefined;
2478
+ checkCrossOrigin?: boolean | undefined;
2479
+ checkOrientation?: boolean | undefined;
2480
+ cropBoxMovable?: boolean | undefined;
2481
+ cropBoxResizable?: boolean | undefined;
2482
+ dragMode?: Cropper_2.DragMode | undefined;
2483
+ guides?: boolean | undefined;
2484
+ highlight?: boolean | undefined;
2485
+ initialAspectRatio?: number | undefined;
2486
+ movable?: boolean | undefined;
2487
+ preview?: string | HTMLElement | HTMLElement[] | NodeListOf<HTMLElement> | undefined;
2488
+ responsive?: boolean | undefined;
2489
+ restore?: boolean | undefined;
2490
+ rotatable?: boolean | undefined;
2491
+ scalable?: boolean | undefined;
2492
+ toggleDragModeOnDblclick?: boolean | undefined;
2493
+ viewMode?: Cropper_2.ViewMode | undefined;
2494
+ wheelZoomRatio?: number | undefined;
2495
+ zoomOnTouch?: boolean | undefined;
2496
+ zoomOnWheel?: boolean | undefined;
2497
+ zoomable?: boolean | undefined;
2498
+ minCanvasWidth?: number | undefined;
2499
+ minCanvasHeight?: number | undefined;
2500
+ minContainerWidth?: number | undefined;
2501
+ minContainerHeight?: number | undefined;
2502
+ minCropBoxWidth?: number | undefined;
2503
+ minCropBoxHeight?: number | undefined;
2504
+ ready?: ((event: Cropper_2.ReadyEvent<T>) => void) | null | undefined;
2505
+ crop?: ((event: Cropper_2.CropEvent<T>) => void) | null | undefined;
2506
+ cropend?: ((event: Cropper_2.CropEndEvent<T>) => void) | null | undefined;
2507
+ cropmove?: ((event: Cropper_2.CropMoveEvent<T>) => void) | null | undefined;
2508
+ cropstart?: ((event: Cropper_2.CropStartEvent<T>) => void) | null | undefined;
2509
+ zoom?: ((event: Cropper_2.ZoomEvent<T>) => void) | null | undefined;
2510
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
2511
+ expose(exposed: ShallowUnwrapRef<{
2512
+ enable: () => void;
2513
+ disable: () => void;
2514
+ destroy: () => void;
2515
+ getImageData: () => Cropper_2.ImageData | undefined;
2516
+ getData: () => Cropper_2.Data | undefined;
2517
+ setData: (data: Cropper_2.SetDataOptions) => Cropper_2 | undefined;
2518
+ }>): void;
2519
+ attrs: any;
2520
+ slots: {};
2521
+ emit: any;
2522
+ }>) => VNode<RendererNode, RendererElement, {
2523
+ [key: string]: any;
2524
+ }> & {
2525
+ __ctx?: {
2526
+ props: {
2527
+ modal?: boolean | undefined;
2528
+ center?: boolean | undefined;
2529
+ data?: Cropper_2.SetDataOptions | null | undefined;
2530
+ src?: string | undefined;
2531
+ alt?: string | undefined;
2532
+ background?: boolean | undefined;
2533
+ aspectRatio?: number | undefined;
2534
+ containerStyle?: {
2535
+ [key: string]: string;
2536
+ } | undefined;
2537
+ imgStyle?: {
2538
+ [key: string]: string;
2539
+ } | undefined;
2540
+ autoCrop?: boolean | undefined;
2541
+ autoCropArea?: number | undefined;
2542
+ checkCrossOrigin?: boolean | undefined;
2543
+ checkOrientation?: boolean | undefined;
2544
+ cropBoxMovable?: boolean | undefined;
2545
+ cropBoxResizable?: boolean | undefined;
2546
+ dragMode?: Cropper_2.DragMode | undefined;
2547
+ guides?: boolean | undefined;
2548
+ highlight?: boolean | undefined;
2549
+ initialAspectRatio?: number | undefined;
2550
+ movable?: boolean | undefined;
2551
+ preview?: string | HTMLElement | HTMLElement[] | NodeListOf<HTMLElement> | undefined;
2552
+ responsive?: boolean | undefined;
2553
+ restore?: boolean | undefined;
2554
+ rotatable?: boolean | undefined;
2555
+ scalable?: boolean | undefined;
2556
+ toggleDragModeOnDblclick?: boolean | undefined;
2557
+ viewMode?: Cropper_2.ViewMode | undefined;
2558
+ wheelZoomRatio?: number | undefined;
2559
+ zoomOnTouch?: boolean | undefined;
2560
+ zoomOnWheel?: boolean | undefined;
2561
+ zoomable?: boolean | undefined;
2562
+ minCanvasWidth?: number | undefined;
2563
+ minCanvasHeight?: number | undefined;
2564
+ minContainerWidth?: number | undefined;
2565
+ minContainerHeight?: number | undefined;
2566
+ minCropBoxWidth?: number | undefined;
2567
+ minCropBoxHeight?: number | undefined;
2568
+ ready?: ((event: Cropper_2.ReadyEvent<T>) => void) | null | undefined;
2569
+ crop?: ((event: Cropper_2.CropEvent<T>) => void) | null | undefined;
2570
+ cropend?: ((event: Cropper_2.CropEndEvent<T>) => void) | null | undefined;
2571
+ cropmove?: ((event: Cropper_2.CropMoveEvent<T>) => void) | null | undefined;
2572
+ cropstart?: ((event: Cropper_2.CropStartEvent<T>) => void) | null | undefined;
2573
+ zoom?: ((event: Cropper_2.ZoomEvent<T>) => void) | null | undefined;
2574
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
2575
+ expose(exposed: ShallowUnwrapRef<{
2576
+ enable: () => void;
2577
+ disable: () => void;
2578
+ destroy: () => void;
2579
+ getImageData: () => Cropper_2.ImageData | undefined;
2580
+ getData: () => Cropper_2.Data | undefined;
2581
+ setData: (data: Cropper_2.SetDataOptions) => Cropper_2 | undefined;
2582
+ }>): void;
2583
+ attrs: any;
2584
+ slots: {};
2585
+ emit: any;
2586
+ } | undefined;
2587
+ };
2588
+
2378
2589
  export declare const ACurrentUserDropdown: DefineComponent<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_58<{
2379
2590
  currentUser: AnzuUserMinimal | undefined | null;
2380
2591
  settingsRouteName: string;
@@ -2924,9 +3135,9 @@ export declare const AFormDatetimePicker: DefineComponent<__VLS_WithDefaults_10<
2924
3135
  onBlur?: ((data: string | number | null) => any) | undefined;
2925
3136
  "onClick:append"?: ((data: string | number | null) => any) | undefined;
2926
3137
  }, {
3138
+ dataCy: string;
2927
3139
  required: boolean;
2928
3140
  label: string;
2929
- dataCy: string;
2930
3141
  clearable: boolean;
2931
3142
  errorMessage: string;
2932
3143
  v: any;
@@ -2971,8 +3182,8 @@ export declare const AFormFlagDatetimePicker: DefineComponent<__VLS_WithDefaults
2971
3182
  onBlur?: ((data: string | number | null) => any) | undefined;
2972
3183
  "onClick:append"?: ((data: string | number | null) => any) | undefined;
2973
3184
  }, {
2974
- label: string;
2975
3185
  dataCy: string;
3186
+ label: string;
2976
3187
  clearable: boolean;
2977
3188
  errorMessage: string;
2978
3189
  v: any;
@@ -3278,9 +3489,9 @@ export declare const AFormTextarea: DefineComponent<__VLS_WithDefaults_9<__VLS_T
3278
3489
  }, {
3279
3490
  appendIcon: VuetifyIconValue;
3280
3491
  prependIcon: VuetifyIconValue;
3492
+ dataCy: string;
3281
3493
  required: boolean;
3282
3494
  label: string;
3283
- dataCy: string;
3284
3495
  hideLabel: boolean;
3285
3496
  errorMessage: string;
3286
3497
  v: any;
@@ -3349,9 +3560,9 @@ export declare const AFormTextField: DefineComponent<__VLS_WithDefaults_8<__VLS_
3349
3560
  appendIcon: VuetifyIconValue;
3350
3561
  prependIcon: VuetifyIconValue;
3351
3562
  type: string;
3563
+ dataCy: string;
3352
3564
  required: boolean;
3353
3565
  label: string;
3354
- dataCy: string;
3355
3566
  hideLabel: boolean;
3356
3567
  step: number;
3357
3568
  errorMessage: string;
@@ -3410,10 +3621,10 @@ export declare const AFormValueObjectOptionsSelect: DefineComponent<__VLS_WithDe
3410
3621
  "onUpdate:modelValue"?: ((data: any) => any) | undefined;
3411
3622
  onBlur?: ((data: any) => any) | undefined;
3412
3623
  }, {
3624
+ dataCy: string;
3413
3625
  multiple: boolean;
3414
3626
  required: boolean;
3415
3627
  label: string;
3416
- dataCy: string;
3417
3628
  hideLabel: boolean;
3418
3629
  clearable: boolean;
3419
3630
  hideDetails: boolean;
@@ -3448,16 +3659,18 @@ export declare const AIconGroup: DefineComponent<__VLS_WithDefaults_35<__VLS_Typ
3448
3659
  export declare const AImageWidget: DefineComponent<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_65<{
3449
3660
  modelValue: IntegerIdNullable;
3450
3661
  queueKey: UploadQueueKey;
3451
- licenceId: IntegerId;
3452
- extSystem: IntegerId;
3662
+ uploadConfig: ImageWidgetUploadConfig;
3663
+ selectConfig: ImageWidgetSelectConfig[];
3453
3664
  image?: ImageAware | undefined;
3454
3665
  configName?: string | undefined;
3455
3666
  label?: string | undefined;
3456
3667
  readonly?: boolean | undefined;
3457
3668
  dataCy?: string | undefined;
3458
3669
  expandOptions?: boolean | undefined;
3670
+ expandMetadata?: boolean | undefined;
3459
3671
  disableOnClickMenu?: boolean | undefined;
3460
3672
  width?: number | undefined;
3673
+ callDeleteApiOnRemove?: boolean | undefined;
3461
3674
  }>, {
3462
3675
  configName: string;
3463
3676
  label: undefined;
@@ -3467,23 +3680,30 @@ export declare const AImageWidget: DefineComponent<__VLS_WithDefaults_62<__VLS_T
3467
3680
  lockedById: undefined;
3468
3681
  dataCy: undefined;
3469
3682
  expandOptions: boolean;
3683
+ expandMetadata: boolean;
3470
3684
  disableOnClickMenu: boolean;
3471
3685
  width: undefined;
3472
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3686
+ callDeleteApiOnRemove: boolean;
3687
+ }>, {
3688
+ metadataConfirm: () => void;
3689
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3473
3690
  "update:modelValue": (data: IntegerIdNullable) => void;
3691
+ afterMetadataSaveSuccess: () => void;
3474
3692
  }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_65<{
3475
3693
  modelValue: IntegerIdNullable;
3476
3694
  queueKey: UploadQueueKey;
3477
- licenceId: IntegerId;
3478
- extSystem: IntegerId;
3695
+ uploadConfig: ImageWidgetUploadConfig;
3696
+ selectConfig: ImageWidgetSelectConfig[];
3479
3697
  image?: ImageAware | undefined;
3480
3698
  configName?: string | undefined;
3481
3699
  label?: string | undefined;
3482
3700
  readonly?: boolean | undefined;
3483
3701
  dataCy?: string | undefined;
3484
3702
  expandOptions?: boolean | undefined;
3703
+ expandMetadata?: boolean | undefined;
3485
3704
  disableOnClickMenu?: boolean | undefined;
3486
3705
  width?: number | undefined;
3706
+ callDeleteApiOnRemove?: boolean | undefined;
3487
3707
  }>, {
3488
3708
  configName: string;
3489
3709
  label: undefined;
@@ -3493,31 +3713,37 @@ export declare const AImageWidget: DefineComponent<__VLS_WithDefaults_62<__VLS_T
3493
3713
  lockedById: undefined;
3494
3714
  dataCy: undefined;
3495
3715
  expandOptions: boolean;
3716
+ expandMetadata: boolean;
3496
3717
  disableOnClickMenu: boolean;
3497
3718
  width: undefined;
3719
+ callDeleteApiOnRemove: boolean;
3498
3720
  }>>> & {
3499
3721
  "onUpdate:modelValue"?: ((data: IntegerIdNullable) => any) | undefined;
3722
+ onAfterMetadataSaveSuccess?: (() => any) | undefined;
3500
3723
  }, {
3501
3724
  width: number;
3725
+ dataCy: string;
3502
3726
  image: ImageAware;
3503
3727
  label: string;
3504
- dataCy: string;
3505
3728
  readonly: boolean;
3506
3729
  configName: string;
3507
3730
  expandOptions: boolean;
3731
+ expandMetadata: boolean;
3508
3732
  disableOnClickMenu: boolean;
3733
+ callDeleteApiOnRemove: boolean;
3509
3734
  }, {}>;
3510
3735
 
3511
3736
  export declare const AImageWidgetMultiple: DefineComponent<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_67<{
3512
3737
  modelValue: IntegerId[];
3513
3738
  queueKey: UploadQueueKey;
3514
- licenceId: IntegerId;
3515
- extSystem: IntegerId;
3739
+ uploadConfig: ImageWidgetUploadConfig;
3740
+ selectConfig: ImageWidgetSelectConfig[];
3516
3741
  configName?: string | undefined;
3517
3742
  label?: string | undefined;
3518
3743
  readonly?: boolean | undefined;
3519
3744
  dataCy?: string | undefined;
3520
3745
  width?: number | undefined;
3746
+ callDeleteApiOnRemove?: boolean | undefined;
3521
3747
  }>, {
3522
3748
  configName: string;
3523
3749
  label: undefined;
@@ -3528,20 +3754,22 @@ export declare const AImageWidgetMultiple: DefineComponent<__VLS_WithDefaults_64
3528
3754
  dataCy: undefined;
3529
3755
  expandOptions: boolean;
3530
3756
  width: undefined;
3757
+ callDeleteApiOnRemove: boolean;
3531
3758
  }>, {
3532
- saveImages: () => Promise<false | void>;
3759
+ saveImages: () => Promise<boolean>;
3533
3760
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3534
3761
  "update:modelValue": (data: number[]) => void;
3535
3762
  }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_67<{
3536
3763
  modelValue: IntegerId[];
3537
3764
  queueKey: UploadQueueKey;
3538
- licenceId: IntegerId;
3539
- extSystem: IntegerId;
3765
+ uploadConfig: ImageWidgetUploadConfig;
3766
+ selectConfig: ImageWidgetSelectConfig[];
3540
3767
  configName?: string | undefined;
3541
3768
  label?: string | undefined;
3542
3769
  readonly?: boolean | undefined;
3543
3770
  dataCy?: string | undefined;
3544
3771
  width?: number | undefined;
3772
+ callDeleteApiOnRemove?: boolean | undefined;
3545
3773
  }>, {
3546
3774
  configName: string;
3547
3775
  label: undefined;
@@ -3552,24 +3780,79 @@ export declare const AImageWidgetMultiple: DefineComponent<__VLS_WithDefaults_64
3552
3780
  dataCy: undefined;
3553
3781
  expandOptions: boolean;
3554
3782
  width: undefined;
3783
+ callDeleteApiOnRemove: boolean;
3555
3784
  }>>> & {
3556
3785
  "onUpdate:modelValue"?: ((data: number[]) => any) | undefined;
3557
3786
  }, {
3558
3787
  width: number;
3559
- label: string;
3560
3788
  dataCy: string;
3789
+ label: string;
3561
3790
  readonly: boolean;
3562
3791
  configName: string;
3792
+ callDeleteApiOnRemove: boolean;
3793
+ }, {}>;
3794
+
3795
+ export declare const AImageWidgetMultipleSimple: DefineComponent<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_68<{
3796
+ modelValue: IntegerId[];
3797
+ images?: ImageAware[] | undefined;
3798
+ configName?: string | undefined;
3799
+ label?: string | undefined;
3800
+ width?: number | undefined;
3801
+ disableAspectRatio?: boolean | undefined;
3802
+ aspectRatio?: string | number | undefined;
3803
+ showDescription?: boolean | undefined;
3804
+ showSource?: boolean | undefined;
3805
+ }>, {
3806
+ images: () => never[];
3807
+ configName: string;
3808
+ label: undefined;
3809
+ image: undefined;
3810
+ width: undefined;
3811
+ disableAspectRatio: boolean;
3812
+ aspectRatio: number;
3813
+ showDescription: boolean;
3814
+ showSource: boolean;
3815
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_68<{
3816
+ modelValue: IntegerId[];
3817
+ images?: ImageAware[] | undefined;
3818
+ configName?: string | undefined;
3819
+ label?: string | undefined;
3820
+ width?: number | undefined;
3821
+ disableAspectRatio?: boolean | undefined;
3822
+ aspectRatio?: string | number | undefined;
3823
+ showDescription?: boolean | undefined;
3824
+ showSource?: boolean | undefined;
3825
+ }>, {
3826
+ images: () => never[];
3827
+ configName: string;
3828
+ label: undefined;
3829
+ image: undefined;
3830
+ width: undefined;
3831
+ disableAspectRatio: boolean;
3832
+ aspectRatio: number;
3833
+ showDescription: boolean;
3834
+ showSource: boolean;
3835
+ }>>>, {
3836
+ width: number;
3837
+ label: string;
3838
+ configName: string;
3839
+ disableAspectRatio: boolean;
3840
+ aspectRatio: number | string;
3841
+ showDescription: boolean;
3842
+ showSource: boolean;
3843
+ images: ImageAware[];
3563
3844
  }, {}>;
3564
3845
 
3565
3846
  export declare const AImageWidgetSimple: __VLS_WithTemplateSlots_15<DefineComponent<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_66<{
3566
3847
  modelValue: IntegerIdNullable | undefined;
3567
- image?: ImageAware | ImageCreateUpdateAware | undefined;
3848
+ image?: ImageAware | ImageCreateUpdateAware | null | undefined;
3568
3849
  configName?: string | undefined;
3569
3850
  label?: string | undefined;
3570
3851
  width?: number | undefined;
3571
3852
  disableAspectRatio?: boolean | undefined;
3572
3853
  aspectRatio?: string | number | undefined;
3854
+ showDescription?: boolean | undefined;
3855
+ showSource?: boolean | undefined;
3573
3856
  }>, {
3574
3857
  configName: string;
3575
3858
  label: undefined;
@@ -3577,14 +3860,18 @@ export declare const AImageWidgetSimple: __VLS_WithTemplateSlots_15<DefineCompon
3577
3860
  width: undefined;
3578
3861
  disableAspectRatio: boolean;
3579
3862
  aspectRatio: number;
3863
+ showDescription: boolean;
3864
+ showSource: boolean;
3580
3865
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_66<{
3581
3866
  modelValue: IntegerIdNullable | undefined;
3582
- image?: ImageAware | ImageCreateUpdateAware | undefined;
3867
+ image?: ImageAware | ImageCreateUpdateAware | null | undefined;
3583
3868
  configName?: string | undefined;
3584
3869
  label?: string | undefined;
3585
3870
  width?: number | undefined;
3586
3871
  disableAspectRatio?: boolean | undefined;
3587
3872
  aspectRatio?: string | number | undefined;
3873
+ showDescription?: boolean | undefined;
3874
+ showSource?: boolean | undefined;
3588
3875
  }>, {
3589
3876
  configName: string;
3590
3877
  label: undefined;
@@ -3592,13 +3879,17 @@ export declare const AImageWidgetSimple: __VLS_WithTemplateSlots_15<DefineCompon
3592
3879
  width: undefined;
3593
3880
  disableAspectRatio: boolean;
3594
3881
  aspectRatio: number;
3882
+ showDescription: boolean;
3883
+ showSource: boolean;
3595
3884
  }>>>, {
3596
3885
  width: number;
3597
- image: ImageAware | ImageCreateUpdateAware;
3886
+ image: ImageAware | ImageCreateUpdateAware | null;
3598
3887
  label: string;
3599
3888
  configName: string;
3600
3889
  disableAspectRatio: boolean;
3601
3890
  aspectRatio: string | number;
3891
+ showDescription: boolean;
3892
+ showSource: boolean;
3602
3893
  }, {}>, {
3603
3894
  append?(_: {
3604
3895
  image: {
@@ -3609,6 +3900,7 @@ export declare const AImageWidgetSimple: __VLS_WithTemplateSlots_15<DefineCompon
3609
3900
  };
3610
3901
  dam: {
3611
3902
  damId: string;
3903
+ licenceId: number;
3612
3904
  regionPosition: number;
3613
3905
  };
3614
3906
  position: number;
@@ -3621,6 +3913,7 @@ export declare const AImageWidgetSimple: __VLS_WithTemplateSlots_15<DefineCompon
3621
3913
  position: number;
3622
3914
  dam: {
3623
3915
  damId: string;
3916
+ licenceId: number;
3624
3917
  regionPosition: number;
3625
3918
  };
3626
3919
  } | null;
@@ -3661,7 +3954,7 @@ export declare const ALogData: DefineComponent<__VLS_WithDefaults_29<__VLS_TypeP
3661
3954
  data: any;
3662
3955
  }>, {}>>>, {}, {}>;
3663
3956
 
3664
- export declare const ALoginView: DefineComponent<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_69<{
3957
+ export declare const ALoginView: DefineComponent<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_70<{
3665
3958
  title?: string | undefined;
3666
3959
  logoUrl?: string | undefined;
3667
3960
  loginUrl?: undefined | (() => string);
@@ -3671,7 +3964,7 @@ export declare const ALoginView: DefineComponent<__VLS_WithDefaults_66<__VLS_Typ
3671
3964
  logoUrl: undefined;
3672
3965
  loginUrl: undefined;
3673
3966
  dataCy: string;
3674
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_69<{
3967
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_70<{
3675
3968
  title?: string | undefined;
3676
3969
  logoUrl?: string | undefined;
3677
3970
  loginUrl?: undefined | (() => string);
@@ -3694,11 +3987,11 @@ export declare const ALogLevelChip: DefineComponent<__VLS_WithDefaults_52<__VLS_
3694
3987
  level: LogLevel;
3695
3988
  }>, {}>>>, {}, {}>;
3696
3989
 
3697
- export declare const ALogoutView: DefineComponent<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_70<{
3990
+ export declare const ALogoutView: DefineComponent<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_71<{
3698
3991
  logoutUrl?: undefined | (() => string);
3699
3992
  }>, {
3700
3993
  logoutUrl: undefined;
3701
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_70<{
3994
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_71<{
3702
3995
  logoutUrl?: undefined | (() => string);
3703
3996
  }>, {
3704
3997
  logoutUrl: undefined;
@@ -3706,9 +3999,9 @@ export declare const ALogoutView: DefineComponent<__VLS_WithDefaults_67<__VLS_Ty
3706
3999
  logoutUrl: () => string;
3707
4000
  }, {}>;
3708
4001
 
3709
- export declare const ANotFoundView: DefineComponent<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_72<{
4002
+ export declare const ANotFoundView: DefineComponent<__VLS_WithDefaults_70<__VLS_TypePropsToRuntimeProps_73<{
3710
4003
  returnRouteName: string;
3711
- }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_72<{
4004
+ }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_70<__VLS_TypePropsToRuntimeProps_73<{
3712
4005
  returnRouteName: string;
3713
4006
  }>, {}>>>, {}, {}>;
3714
4007
 
@@ -4107,7 +4400,7 @@ declare type AssetExternalProviderMetadata = Record<string, string | number | nu
4107
4400
 
4108
4401
  export declare type AssetFile = AssetFileImage | AssetFileAudio | AssetFileVideo | AssetFileDocument;
4109
4402
 
4110
- export declare interface AssetFileAudio extends AnzuUserAndTimeTrackingAware {
4403
+ export declare interface AssetFileAudio extends AnzuUserAndTimeTrackingAware, AssetFileMainRouteAware {
4111
4404
  id: DocId;
4112
4405
  asset: DocId;
4113
4406
  fileAttributes: FileAttributes;
@@ -4117,7 +4410,7 @@ export declare interface AssetFileAudio extends AnzuUserAndTimeTrackingAware {
4117
4410
  _resourceName: 'audioFile';
4118
4411
  }
4119
4412
 
4120
- export declare interface AssetFileDocument extends AnzuUserAndTimeTrackingAware {
4413
+ export declare interface AssetFileDocument extends AnzuUserAndTimeTrackingAware, AssetFileMainRouteAware {
4121
4414
  id: DocId;
4122
4415
  asset: DocId;
4123
4416
  fileAttributes: FileAttributes;
@@ -4144,7 +4437,7 @@ export declare enum AssetFileFailReason {
4144
4437
  Default = "none"
4145
4438
  }
4146
4439
 
4147
- export declare interface AssetFileImage extends AnzuUserAndTimeTrackingAware {
4440
+ export declare interface AssetFileImage extends AnzuUserAndTimeTrackingAware, AssetFileMainRouteAware {
4148
4441
  id: DocId;
4149
4442
  asset: DocId;
4150
4443
  fileAttributes: FileAttributes;
@@ -4188,6 +4481,10 @@ export declare enum AssetFileLinkType {
4188
4481
  Default = "image"
4189
4482
  }
4190
4483
 
4484
+ export declare interface AssetFileMainRouteAware {
4485
+ mainRoute?: AssetFileRoute;
4486
+ }
4487
+
4191
4488
  export declare type AssetFileNullable = AssetFileImage | AssetFileAudio | AssetFileVideo | AssetFileDocument | null;
4192
4489
 
4193
4490
  export declare enum AssetFileProcessStatus {
@@ -4207,6 +4504,20 @@ export declare interface AssetFileProperties {
4207
4504
  height: number;
4208
4505
  }
4209
4506
 
4507
+ export declare interface AssetFileRoute {
4508
+ id: DocId;
4509
+ status: AssetFileRouteStatus;
4510
+ main: boolean;
4511
+ publicUrl: string;
4512
+ _resourceName: 'assetFileRoute';
4513
+ }
4514
+
4515
+ export declare enum AssetFileRouteStatus {
4516
+ Disabled = "disabled",
4517
+ Active = "active",
4518
+ Default = "disabled"
4519
+ }
4520
+
4210
4521
  export declare interface AssetFileVideo extends AnzuUserAndTimeTrackingAware {
4211
4522
  id: DocId;
4212
4523
  asset: DocId;
@@ -4264,9 +4575,9 @@ declare enum AssetSelectReturnType {
4264
4575
  }
4265
4576
 
4266
4577
  export declare const ASubjectSelect: <TItem>(__VLS_props: {
4578
+ pagination: Pagination;
4267
4579
  submitFilter: Fn;
4268
4580
  resetFilter: Fn;
4269
- pagination: Pagination;
4270
4581
  loading?: boolean | undefined;
4271
4582
  modelValue?: boolean | undefined;
4272
4583
  "onUpdate:modelValue"?: ((data: boolean) => any) | undefined;
@@ -4308,9 +4619,9 @@ export declare const ASubjectSelect: <TItem>(__VLS_props: {
4308
4619
  open: () => void;
4309
4620
  }>) => void) | undefined, __VLS_setup?: Promise<{
4310
4621
  props: {
4622
+ pagination: Pagination;
4311
4623
  submitFilter: Fn;
4312
4624
  resetFilter: Fn;
4313
- pagination: Pagination;
4314
4625
  loading?: boolean | undefined;
4315
4626
  modelValue?: boolean | undefined;
4316
4627
  "onUpdate:modelValue"?: ((data: boolean) => any) | undefined;
@@ -4356,9 +4667,9 @@ export declare const ASubjectSelect: <TItem>(__VLS_props: {
4356
4667
  }> & {
4357
4668
  __ctx?: {
4358
4669
  props: {
4670
+ pagination: Pagination;
4359
4671
  submitFilter: Fn;
4360
4672
  resetFilter: Fn;
4361
- pagination: Pagination;
4362
4673
  loading?: boolean | undefined;
4363
4674
  modelValue?: boolean | undefined;
4364
4675
  "onUpdate:modelValue"?: ((data: boolean) => any) | undefined;
@@ -4462,8 +4773,8 @@ export declare const ATableCopyIdButton: DefineComponent<__VLS_WithDefaults_47<_
4462
4773
  dataCy: string;
4463
4774
  size: string;
4464
4775
  }>>>, {
4465
- size: 'small' | 'x-small';
4466
4776
  dataCy: string;
4777
+ size: 'small' | 'x-small';
4467
4778
  buttonClass: string;
4468
4779
  buttonT: string;
4469
4780
  notifyT: string;
@@ -4570,9 +4881,9 @@ declare interface AudioAttributes {
4570
4881
  bitrate: number;
4571
4882
  }
4572
4883
 
4573
- export declare const AUnauthorizedView: DefineComponent<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_71<{
4884
+ export declare const AUnauthorizedView: DefineComponent<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_72<{
4574
4885
  returnRouteName: string;
4575
- }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_71<{
4886
+ }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_72<{
4576
4887
  returnRouteName: string;
4577
4888
  }>, {}>>>, {}, {}>;
4578
4889
 
@@ -4651,7 +4962,6 @@ export declare const COMMON_CONFIG: Immutable<typeof commonConfig>;
4651
4962
 
4652
4963
  declare interface CommonAdminCoreDamConfig {
4653
4964
  damClient: () => AxiosInstance;
4654
- defaultLicenceId?: IntegerId;
4655
4965
  }
4656
4966
 
4657
4967
  declare type CommonAdminCoreDamOptions = undefined | {
@@ -4708,6 +5018,8 @@ export declare interface CreatedByAware {
4708
5018
  createdBy: IntegerIdNullable;
4709
5019
  }
4710
5020
 
5021
+ export declare const cropToRegion: (cropper: Cropper_2, regionOfInterest: RegionOfInterest, originalImageWidth: number, originalImageHeight: number) => RegionOfInterest;
5022
+
4711
5023
  export declare type CurrentUserType = DeepReadonly<Ref<UnwrapRef<AnzuUser | undefined>>>;
4712
5024
 
4713
5025
  export declare type CustomAclResolver<T extends AclValue = AclValue> = undefined | {
@@ -4751,6 +5063,16 @@ export declare const CustomDataFormElementTypeDefault: "string";
4751
5063
 
4752
5064
  export declare type CustomDataFormElementTypeType = (typeof CustomDataFormElementType)[keyof typeof CustomDataFormElementType];
4753
5065
 
5066
+ export declare interface DamAssetLicence extends DamAssetLicenceMinimal, AnzuUserAndTimeTrackingAware, ResourceNameSystemAware {
5067
+ extSystem: IntegerIdNullable;
5068
+ extId: string;
5069
+ }
5070
+
5071
+ export declare interface DamAssetLicenceMinimal {
5072
+ id: IntegerId;
5073
+ name: string;
5074
+ }
5075
+
4754
5076
  export declare enum DamAssetStatus {
4755
5077
  Draft = "draft",
4756
5078
  WithFile = "with_file",
@@ -4766,6 +5088,102 @@ export declare enum DamAssetType {
4766
5088
  Default = "image"
4767
5089
  }
4768
5090
 
5091
+ export declare interface DamAuthor extends DamAuthorMinimal, AnzuUserAndTimeTrackingAware, ResourceNameSystemAware {
5092
+ extSystem: IntegerId;
5093
+ flags: Flags_3;
5094
+ type: DamAuthorType;
5095
+ }
5096
+
5097
+ export declare interface DamAuthorMinimal {
5098
+ id: DocId;
5099
+ name: string;
5100
+ identifier: string;
5101
+ }
5102
+
5103
+ export declare enum DamAuthorType {
5104
+ None = "none",
5105
+ Internal = "internal",
5106
+ External = "external",
5107
+ Agency = "agency",
5108
+ Default = "none"
5109
+ }
5110
+
5111
+ export declare const damCurrentUser: Ref<{
5112
+ selectedLicence: {
5113
+ id: number;
5114
+ name: string;
5115
+ extSystem: number;
5116
+ } | null;
5117
+ adminToExtSystems: {
5118
+ id: number;
5119
+ name: string;
5120
+ }[];
5121
+ userToExtSystems: {
5122
+ id: number;
5123
+ name: string;
5124
+ }[];
5125
+ assetLicences: {
5126
+ id: number;
5127
+ name: string;
5128
+ extSystem: number;
5129
+ }[];
5130
+ person: {
5131
+ firstName: string;
5132
+ lastName: string;
5133
+ fullName: string;
5134
+ };
5135
+ avatar: {
5136
+ color: string;
5137
+ text: string;
5138
+ };
5139
+ allowedAssetExternalProviders: string[];
5140
+ allowedDistributionServices: string[];
5141
+ enabled: boolean;
5142
+ roles: string[];
5143
+ permissionGroups: number[];
5144
+ permissions: Permissions_2;
5145
+ resolvedPermissions: Permissions_2;
5146
+ _resourceName: string;
5147
+ _system: string;
5148
+ createdAt: string;
5149
+ modifiedAt: string;
5150
+ modifiedBy: IntegerIdNullable;
5151
+ createdBy: IntegerIdNullable;
5152
+ id: number;
5153
+ email: string;
5154
+ } | undefined>;
5155
+
5156
+ declare interface DamCurrentUserAssetLicence {
5157
+ id: IntegerId;
5158
+ name: string;
5159
+ extSystem: IntegerId;
5160
+ }
5161
+
5162
+ export declare interface DamCurrentUserDto extends AnzuUser {
5163
+ selectedLicence: DamCurrentUserAssetLicence | null;
5164
+ adminToExtSystems: DamCurrentUserExtSystem[];
5165
+ userToExtSystems: DamCurrentUserExtSystem[];
5166
+ assetLicences: DamCurrentUserAssetLicence[];
5167
+ person: {
5168
+ firstName: string;
5169
+ lastName: string;
5170
+ fullName: string;
5171
+ };
5172
+ avatar: {
5173
+ color: string;
5174
+ text: string;
5175
+ };
5176
+ allowedAssetExternalProviders: string[];
5177
+ allowedDistributionServices: string[];
5178
+ }
5179
+
5180
+ declare interface DamCurrentUserExtSystem {
5181
+ id: IntegerId;
5182
+ name: string;
5183
+ }
5184
+
5185
+ export declare const damCurrentUserIsSuperAdmin: Ref<boolean>;
5186
+
4769
5187
  export declare interface DamDistributionConfig {
4770
5188
  distributionServices: Array<DamDistributionServiceName>;
4771
5189
  distributionRequirements: Record<DamDistributionServiceName, DamDistributionRequirementsConfig>;
@@ -4816,6 +5234,13 @@ export declare type DamExternalProviderAssetConfig = Record<DamExternalProviderA
4816
5234
 
4817
5235
  export declare type DamExternalProviderAssetName = string;
4818
5236
 
5237
+ export declare interface DamExtSystem extends AnzuUserAndTimeTrackingAware, ResourceNameSystemAware {
5238
+ id: IntegerId;
5239
+ name: string;
5240
+ slug: string;
5241
+ adminUsers: IntegerId[];
5242
+ }
5243
+
4819
5244
  export declare interface DamExtSystemAssetTypeExifMetadata {
4820
5245
  enabled: boolean;
4821
5246
  required: boolean;
@@ -4841,8 +5266,23 @@ export declare interface DamExtSystemConfigItem {
4841
5266
  slots: string[];
4842
5267
  }
4843
5268
 
5269
+ export declare interface DamExtSystemMinimal extends Pick<DamExtSystem, 'id' | 'name'> {
5270
+ }
5271
+
4844
5272
  export declare const damFileTypeFix: (file: File | null | undefined) => string;
4845
5273
 
5274
+ export declare interface DamKeyword extends AnzuUserAndTimeTrackingAware, ResourceNameSystemAware {
5275
+ id: DocId;
5276
+ name: string;
5277
+ extSystem: IntegerId;
5278
+ flags: Flags_2;
5279
+ }
5280
+
5281
+ export declare interface DamKeywordMinimal {
5282
+ id: DocId;
5283
+ name: string;
5284
+ }
5285
+
4846
5286
  declare type DamNotification = DamNotificationAssetFileProcessed | DamNotificationAssetFileFailed | DamNotificationAssetFileDuplicate | DamNotificationAssetFileUploaded | DamNotificationAssetFileDeleted | DamNotificationAssetMetadataProcessed | DamNotificationAssetDeleted | DamNotificationDistributionDistributing | DamNotificationDistributionRemoteProcessing | DamNotificationDistributionDistributed | DamNotificationDistributionFailed | DamNotificationDistributionAuthorized | DamNotificationUserUpdated;
4847
5287
 
4848
5288
  declare interface DamNotificationAssetData {
@@ -5058,6 +5498,8 @@ export declare type EnableDisable = 'enable' | 'disable';
5058
5498
 
5059
5499
  export declare const eventClickBlur: (event?: Event) => void;
5060
5500
 
5501
+ export declare const fetchDamCurrentUser: (client: () => AxiosInstance) => Promise<DamCurrentUserDto>;
5502
+
5061
5503
  declare type fetchItemsByIdsType = ((ids: IntegerId[]) => Promise<ValueObjectOption<IntegerId>[]>) | ((ids: DocId[]) => Promise<ValueObjectOption<DocId>[]>);
5062
5504
 
5063
5505
  declare type fetchItemsByIdsType_2 = ((ids: IntegerId[]) => Promise<ValueObjectOption<IntegerId>[]>) | ((ids: DocId[]) => Promise<ValueObjectOption<DocId>[]>);
@@ -5096,6 +5538,14 @@ declare interface Flags {
5096
5538
  visible: boolean;
5097
5539
  }
5098
5540
 
5541
+ declare interface Flags_2 {
5542
+ reviewed: boolean;
5543
+ }
5544
+
5545
+ declare interface Flags_3 {
5546
+ reviewed: boolean;
5547
+ }
5548
+
5099
5549
  export declare const generateDatatableMinMaxSelectStrategy: (min: number, max: number) => DataTableSelectStrategy;
5100
5550
 
5101
5551
  export declare const generateUUIDv1: () => any;
@@ -5429,11 +5879,15 @@ export declare const i18n: I18n<{
5429
5879
  };
5430
5880
  };
5431
5881
  filter: {
5882
+ licence: string;
5432
5883
  text: string;
5433
5884
  described: string;
5434
5885
  visible: string;
5435
5886
  generatedBySystem: string;
5436
5887
  };
5888
+ error: {
5889
+ unallowedLicence: string;
5890
+ };
5437
5891
  };
5438
5892
  subjectSelect: {
5439
5893
  filter: {
@@ -5471,40 +5925,202 @@ export declare const i18n: I18n<{
5471
5925
  unableToAdd: string;
5472
5926
  };
5473
5927
  };
5474
- };
5475
- $vuetify: {
5476
- badge: string;
5477
- open: string;
5478
- close: string;
5479
- dataIterator: {
5480
- noResultsText: string;
5481
- loadingText: string;
5482
- };
5483
- dataTable: {
5484
- itemsPerPageText: string;
5485
- ariaLabel: {
5486
- sortDescending: string;
5487
- sortAscending: string;
5488
- sortNone: string;
5489
- activateNone: string;
5490
- activateDescending: string;
5491
- activateAscending: string;
5928
+ damImage: {
5929
+ image: {
5930
+ model: {
5931
+ texts: {
5932
+ description: string;
5933
+ source: string;
5934
+ };
5935
+ };
5936
+ meta: {
5937
+ edit: string;
5938
+ };
5939
+ button: {
5940
+ options: string;
5941
+ editAsset: string;
5942
+ upload: string;
5943
+ addFromDam: string;
5944
+ replaceFromDam: string;
5945
+ removeImage: string;
5946
+ };
5492
5947
  };
5493
- sortBy: string;
5494
- };
5495
- dataFooter: {
5496
- itemsPerPageText: string;
5497
- itemsPerPageAll: string;
5498
- nextPage: string;
5499
- prevPage: string;
5500
- firstPage: string;
5501
- lastPage: string;
5502
- pageText: string;
5503
- };
5504
- datePicker: {
5505
- itemsSelected: string;
5506
- nextMonthAriaLabel: string;
5507
- nextYearAriaLabel: string;
5948
+ queueItem: {
5949
+ edit: string;
5950
+ displayTitle: string;
5951
+ error: string;
5952
+ copyAssetId: string;
5953
+ };
5954
+ asset: {
5955
+ model: {
5956
+ authors: string;
5957
+ keywords: string;
5958
+ };
5959
+ assetType: {
5960
+ image: string;
5961
+ audio: string;
5962
+ video: string;
5963
+ document: string;
5964
+ };
5965
+ detail: {
5966
+ toggleInfo: string;
5967
+ metadataToggle: {
5968
+ show: string;
5969
+ hide: string;
5970
+ };
5971
+ tabs: {
5972
+ info: string;
5973
+ roi: string;
5974
+ };
5975
+ info: {
5976
+ status: {
5977
+ duplicate: string;
5978
+ draft: string;
5979
+ deleting: string;
5980
+ failed: string;
5981
+ };
5982
+ metadata: string;
5983
+ file: string;
5984
+ field: {
5985
+ id: string;
5986
+ mainFileId: string;
5987
+ type: string;
5988
+ mimeType: string;
5989
+ size: string;
5990
+ dominantColor: string;
5991
+ width: string;
5992
+ height: string;
5993
+ ratio: string;
5994
+ animated: string;
5995
+ };
5996
+ };
5997
+ roi: {
5998
+ title: string;
5999
+ description: string;
6000
+ refresh: string;
6001
+ rotate: {
6002
+ rotateMainFileImage: string;
6003
+ rotateClockwise: string;
6004
+ rotateCounterclockwise: string;
6005
+ };
6006
+ };
6007
+ };
6008
+ massOperations: {
6009
+ title: string;
6010
+ description: string;
6011
+ fillOneEmpty: string;
6012
+ fillAllEmpty: string;
6013
+ replaceOne: string;
6014
+ replaceAll: string;
6015
+ clearForm: string;
6016
+ general: string;
6017
+ };
6018
+ metaIcons: {
6019
+ low: string;
6020
+ slots: string;
6021
+ rss: string;
6022
+ fullHd: string;
6023
+ "2k": string;
6024
+ qhd: string;
6025
+ "4k": string;
6026
+ "8k": string;
6027
+ };
6028
+ assetFileFailReason: {
6029
+ none: string;
6030
+ unknown: string;
6031
+ invalidChecksum: string;
6032
+ invalidMimeType: string;
6033
+ downloadFailed: string;
6034
+ invalidSize: string;
6035
+ };
6036
+ };
6037
+ upload: {
6038
+ waiting: string;
6039
+ processing: string;
6040
+ uploading: string;
6041
+ done: string;
6042
+ stop: string;
6043
+ add: string;
6044
+ save: string;
6045
+ saveAndApply: string;
6046
+ title: string;
6047
+ titleDone: string;
6048
+ stopConfirmQuestion: string;
6049
+ };
6050
+ keyword: {
6051
+ model: {
6052
+ name: string;
6053
+ };
6054
+ button: {
6055
+ add: string;
6056
+ };
6057
+ meta: {
6058
+ create: string;
6059
+ };
6060
+ };
6061
+ author: {
6062
+ model: {
6063
+ name: string;
6064
+ identifier: string;
6065
+ type: string;
6066
+ };
6067
+ authorType: {
6068
+ none: string;
6069
+ internal: string;
6070
+ external: string;
6071
+ agency: string;
6072
+ };
6073
+ button: {
6074
+ add: string;
6075
+ };
6076
+ meta: {
6077
+ create: string;
6078
+ };
6079
+ conflicts: string;
6080
+ };
6081
+ uploadErrors: {
6082
+ unknownError: string;
6083
+ systemError: string;
6084
+ size: string;
6085
+ offset: string;
6086
+ mimeType: string;
6087
+ };
6088
+ notificationsNotConnected: string;
6089
+ };
6090
+ };
6091
+ $vuetify: {
6092
+ badge: string;
6093
+ open: string;
6094
+ close: string;
6095
+ dataIterator: {
6096
+ noResultsText: string;
6097
+ loadingText: string;
6098
+ };
6099
+ dataTable: {
6100
+ itemsPerPageText: string;
6101
+ ariaLabel: {
6102
+ sortDescending: string;
6103
+ sortAscending: string;
6104
+ sortNone: string;
6105
+ activateNone: string;
6106
+ activateDescending: string;
6107
+ activateAscending: string;
6108
+ };
6109
+ sortBy: string;
6110
+ };
6111
+ dataFooter: {
6112
+ itemsPerPageText: string;
6113
+ itemsPerPageAll: string;
6114
+ nextPage: string;
6115
+ prevPage: string;
6116
+ firstPage: string;
6117
+ lastPage: string;
6118
+ pageText: string;
6119
+ };
6120
+ datePicker: {
6121
+ itemsSelected: string;
6122
+ nextMonthAriaLabel: string;
6123
+ nextYearAriaLabel: string;
5508
6124
  prevMonthAriaLabel: string;
5509
6125
  prevYearAriaLabel: string;
5510
6126
  };
@@ -5599,7 +6215,7 @@ declare interface ImageAttributes {
5599
6215
  animated: boolean;
5600
6216
  }
5601
6217
 
5602
- declare interface ImageAware {
6218
+ export declare interface ImageAware {
5603
6219
  id: IntegerId;
5604
6220
  texts: {
5605
6221
  description: string;
@@ -5607,15 +6223,31 @@ declare interface ImageAware {
5607
6223
  };
5608
6224
  dam: {
5609
6225
  damId: DocId;
6226
+ licenceId: IntegerId;
5610
6227
  regionPosition: number;
5611
6228
  };
5612
6229
  position: number;
5613
6230
  }
5614
6231
 
5615
- declare interface ImageCreateUpdateAware extends Omit<ImageAware, 'id'> {
6232
+ export declare interface ImageCreateUpdateAware extends Omit<ImageAware, 'id'> {
5616
6233
  id?: IntegerId;
5617
6234
  }
5618
6235
 
6236
+ export declare interface ImageCreateUpdateAwareKeyed extends ImageCreateUpdateAware {
6237
+ key: string;
6238
+ }
6239
+
6240
+ export declare interface ImageWidgetSelectConfig {
6241
+ title: string;
6242
+ licence: IntegerId;
6243
+ extSystem: IntegerId;
6244
+ }
6245
+
6246
+ export declare interface ImageWidgetUploadConfig {
6247
+ licence: IntegerId;
6248
+ extSystem: IntegerId;
6249
+ }
6250
+
5619
6251
  export declare type Immutable<T> = {
5620
6252
  readonly [K in keyof T]: Immutable<T[K]>;
5621
6253
  };
@@ -6066,11 +6698,15 @@ export declare const messagesCs: {
6066
6698
  };
6067
6699
  };
6068
6700
  filter: {
6701
+ licence: string;
6069
6702
  text: string;
6070
6703
  described: string;
6071
6704
  visible: string;
6072
6705
  generatedBySystem: string;
6073
6706
  };
6707
+ error: {
6708
+ unallowedLicence: string;
6709
+ };
6074
6710
  };
6075
6711
  subjectSelect: {
6076
6712
  filter: {
@@ -6108,6 +6744,168 @@ export declare const messagesCs: {
6108
6744
  unableToAdd: string;
6109
6745
  };
6110
6746
  };
6747
+ damImage: {
6748
+ image: {
6749
+ model: {
6750
+ texts: {
6751
+ description: string;
6752
+ source: string;
6753
+ };
6754
+ };
6755
+ meta: {
6756
+ edit: string;
6757
+ };
6758
+ button: {
6759
+ options: string;
6760
+ editAsset: string;
6761
+ upload: string;
6762
+ addFromDam: string;
6763
+ replaceFromDam: string;
6764
+ removeImage: string;
6765
+ };
6766
+ };
6767
+ queueItem: {
6768
+ edit: string;
6769
+ displayTitle: string;
6770
+ error: string;
6771
+ copyAssetId: string;
6772
+ };
6773
+ asset: {
6774
+ model: {
6775
+ authors: string;
6776
+ keywords: string;
6777
+ };
6778
+ assetType: {
6779
+ image: string;
6780
+ audio: string;
6781
+ video: string;
6782
+ document: string;
6783
+ };
6784
+ detail: {
6785
+ toggleInfo: string;
6786
+ metadataToggle: {
6787
+ show: string;
6788
+ hide: string;
6789
+ };
6790
+ tabs: {
6791
+ info: string;
6792
+ roi: string;
6793
+ };
6794
+ info: {
6795
+ status: {
6796
+ duplicate: string;
6797
+ draft: string;
6798
+ deleting: string;
6799
+ failed: string;
6800
+ };
6801
+ metadata: string;
6802
+ file: string;
6803
+ field: {
6804
+ id: string;
6805
+ mainFileId: string;
6806
+ type: string;
6807
+ mimeType: string;
6808
+ size: string;
6809
+ dominantColor: string;
6810
+ width: string;
6811
+ height: string;
6812
+ ratio: string;
6813
+ animated: string;
6814
+ };
6815
+ };
6816
+ roi: {
6817
+ title: string;
6818
+ description: string;
6819
+ refresh: string;
6820
+ rotate: {
6821
+ rotateMainFileImage: string;
6822
+ rotateClockwise: string;
6823
+ rotateCounterclockwise: string;
6824
+ };
6825
+ };
6826
+ };
6827
+ massOperations: {
6828
+ title: string;
6829
+ description: string;
6830
+ fillOneEmpty: string;
6831
+ fillAllEmpty: string;
6832
+ replaceOne: string;
6833
+ replaceAll: string;
6834
+ clearForm: string;
6835
+ general: string;
6836
+ };
6837
+ metaIcons: {
6838
+ low: string;
6839
+ slots: string;
6840
+ rss: string;
6841
+ fullHd: string;
6842
+ "2k": string;
6843
+ qhd: string;
6844
+ "4k": string;
6845
+ "8k": string;
6846
+ };
6847
+ assetFileFailReason: {
6848
+ none: string;
6849
+ unknown: string;
6850
+ invalidChecksum: string;
6851
+ invalidMimeType: string;
6852
+ downloadFailed: string;
6853
+ invalidSize: string;
6854
+ };
6855
+ };
6856
+ upload: {
6857
+ waiting: string;
6858
+ processing: string;
6859
+ uploading: string;
6860
+ done: string;
6861
+ stop: string;
6862
+ add: string;
6863
+ save: string;
6864
+ saveAndApply: string;
6865
+ title: string;
6866
+ titleDone: string;
6867
+ stopConfirmQuestion: string;
6868
+ };
6869
+ keyword: {
6870
+ model: {
6871
+ name: string;
6872
+ };
6873
+ button: {
6874
+ add: string;
6875
+ };
6876
+ meta: {
6877
+ create: string;
6878
+ };
6879
+ };
6880
+ author: {
6881
+ model: {
6882
+ name: string;
6883
+ identifier: string;
6884
+ type: string;
6885
+ };
6886
+ authorType: {
6887
+ none: string;
6888
+ internal: string;
6889
+ external: string;
6890
+ agency: string;
6891
+ };
6892
+ button: {
6893
+ add: string;
6894
+ };
6895
+ meta: {
6896
+ create: string;
6897
+ };
6898
+ conflicts: string;
6899
+ };
6900
+ uploadErrors: {
6901
+ unknownError: string;
6902
+ systemError: string;
6903
+ size: string;
6904
+ offset: string;
6905
+ mimeType: string;
6906
+ };
6907
+ notificationsNotConnected: string;
6908
+ };
6111
6909
  };
6112
6910
  $vuetify: {
6113
6911
  badge: string;
@@ -6516,11 +7314,15 @@ export declare const messagesEn: {
6516
7314
  };
6517
7315
  };
6518
7316
  filter: {
7317
+ licence: string;
6519
7318
  text: string;
6520
7319
  described: string;
6521
7320
  visible: string;
6522
7321
  generatedBySystem: string;
6523
7322
  };
7323
+ error: {
7324
+ unallowedLicence: string;
7325
+ };
6524
7326
  };
6525
7327
  subjectSelect: {
6526
7328
  filter: {
@@ -6558,6 +7360,168 @@ export declare const messagesEn: {
6558
7360
  unableToAdd: string;
6559
7361
  };
6560
7362
  };
7363
+ damImage: {
7364
+ image: {
7365
+ model: {
7366
+ texts: {
7367
+ description: string;
7368
+ source: string;
7369
+ };
7370
+ };
7371
+ meta: {
7372
+ edit: string;
7373
+ };
7374
+ button: {
7375
+ options: string;
7376
+ editAsset: string;
7377
+ upload: string;
7378
+ addFromDam: string;
7379
+ replaceFromDam: string;
7380
+ removeImage: string;
7381
+ };
7382
+ };
7383
+ queueItem: {
7384
+ edit: string;
7385
+ displayTitle: string;
7386
+ error: string;
7387
+ copyAssetId: string;
7388
+ };
7389
+ asset: {
7390
+ model: {
7391
+ authors: string;
7392
+ keywords: string;
7393
+ };
7394
+ assetType: {
7395
+ image: string;
7396
+ audio: string;
7397
+ video: string;
7398
+ document: string;
7399
+ };
7400
+ detail: {
7401
+ toggleInfo: string;
7402
+ metadataToggle: {
7403
+ show: string;
7404
+ hide: string;
7405
+ };
7406
+ tabs: {
7407
+ info: string;
7408
+ roi: string;
7409
+ };
7410
+ info: {
7411
+ status: {
7412
+ duplicate: string;
7413
+ draft: string;
7414
+ deleting: string;
7415
+ failed: string;
7416
+ };
7417
+ metadata: string;
7418
+ file: string;
7419
+ field: {
7420
+ id: string;
7421
+ mainFileId: string;
7422
+ type: string;
7423
+ mimeType: string;
7424
+ size: string;
7425
+ dominantColor: string;
7426
+ width: string;
7427
+ height: string;
7428
+ ratio: string;
7429
+ animated: string;
7430
+ };
7431
+ };
7432
+ roi: {
7433
+ title: string;
7434
+ description: string;
7435
+ refresh: string;
7436
+ rotate: {
7437
+ rotateMainFileImage: string;
7438
+ rotateClockwise: string;
7439
+ rotateCounterclockwise: string;
7440
+ };
7441
+ };
7442
+ };
7443
+ massOperations: {
7444
+ title: string;
7445
+ description: string;
7446
+ fillOneEmpty: string;
7447
+ fillAllEmpty: string;
7448
+ replaceOne: string;
7449
+ replaceAll: string;
7450
+ clearForm: string;
7451
+ general: string;
7452
+ };
7453
+ metaIcons: {
7454
+ low: string;
7455
+ slots: string;
7456
+ rss: string;
7457
+ fullHd: string;
7458
+ "2k": string;
7459
+ qhd: string;
7460
+ "4k": string;
7461
+ "8k": string;
7462
+ };
7463
+ assetFileFailReason: {
7464
+ none: string;
7465
+ unknown: string;
7466
+ invalidChecksum: string;
7467
+ invalidMimeType: string;
7468
+ downloadFailed: string;
7469
+ invalidSize: string;
7470
+ };
7471
+ };
7472
+ upload: {
7473
+ waiting: string;
7474
+ processing: string;
7475
+ uploading: string;
7476
+ done: string;
7477
+ stop: string;
7478
+ add: string;
7479
+ save: string;
7480
+ saveAndApply: string;
7481
+ title: string;
7482
+ titleDone: string;
7483
+ stopConfirmQuestion: string;
7484
+ };
7485
+ keyword: {
7486
+ model: {
7487
+ name: string;
7488
+ };
7489
+ button: {
7490
+ add: string;
7491
+ };
7492
+ meta: {
7493
+ create: string;
7494
+ };
7495
+ };
7496
+ author: {
7497
+ model: {
7498
+ name: string;
7499
+ identifier: string;
7500
+ type: string;
7501
+ };
7502
+ authorType: {
7503
+ none: string;
7504
+ internal: string;
7505
+ external: string;
7506
+ agency: string;
7507
+ };
7508
+ button: {
7509
+ add: string;
7510
+ };
7511
+ meta: {
7512
+ create: string;
7513
+ };
7514
+ conflicts: string;
7515
+ };
7516
+ uploadErrors: {
7517
+ unknownError: string;
7518
+ systemError: string;
7519
+ size: string;
7520
+ offset: string;
7521
+ mimeType: string;
7522
+ };
7523
+ notificationsNotConnected: string;
7524
+ };
6561
7525
  };
6562
7526
  $vuetify: {
6563
7527
  badge: string;
@@ -6970,11 +7934,15 @@ export declare const messagesSk: {
6970
7934
  };
6971
7935
  };
6972
7936
  filter: {
7937
+ licence: string;
6973
7938
  text: string;
6974
7939
  described: string;
6975
7940
  visible: string;
6976
7941
  generatedBySystem: string;
6977
7942
  };
7943
+ error: {
7944
+ unallowedLicence: string;
7945
+ };
6978
7946
  };
6979
7947
  subjectSelect: {
6980
7948
  filter: {
@@ -7419,6 +8387,30 @@ declare type Prev = [never, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ...0[]];
7419
8387
 
7420
8388
  export declare type RecordWasType = 'created' | 'deleted' | 'updated' | 'published' | 'unpublished' | 'enabled' | 'disabled';
7421
8389
 
8390
+ declare interface RegionOfInterest extends AnzuUserAndTimeTrackingAware, ResourceNameSystemAware {
8391
+ id: DocId;
8392
+ title: string;
8393
+ position: number;
8394
+ image: DocId;
8395
+ pointX: number;
8396
+ pointY: number;
8397
+ percentageWidth: number;
8398
+ percentageHeight: number;
8399
+ links: {
8400
+ image_roi_example: AssetFileLink[];
8401
+ };
8402
+ }
8403
+
8404
+ export declare const regionToCrop: (cropper: Cropper_2, regionOfInterest: RegionOfInterest, originalImageWidth: number, originalImageHeight: number) => {
8405
+ x: number;
8406
+ y: number;
8407
+ width: number;
8408
+ height: number;
8409
+ rotate: number;
8410
+ scaleX: number;
8411
+ scaleY: number;
8412
+ };
8413
+
7422
8414
  export declare interface ResourceNameSystemAware {
7423
8415
  _resourceName: string;
7424
8416
  _system: string;
@@ -7528,6 +8520,8 @@ export declare const timePretty: (isoDate: DatetimeUTC | DatetimeUTCNullable | s
7528
8520
 
7529
8521
  export declare const timestampCurrent: () => number;
7530
8522
 
8523
+ export declare function updateDamCurrentUser(client: () => AxiosInstance): Promise<unknown>;
8524
+
7531
8525
  export declare interface UploadQueue {
7532
8526
  items: UploadQueueItem[];
7533
8527
  totalCount: number;
@@ -7801,33 +8795,106 @@ export declare function useDamAcceptTypeAndSizeHelper(assetType: DamAssetType |
7801
8795
  uploadAccept: ComputedRef<string>;
7802
8796
  };
7803
8797
 
8798
+ export declare function useDamAuthorFactory(): {
8799
+ createDefault: (extSystemId: number, reviewed?: boolean) => DamAuthor;
8800
+ };
8801
+
8802
+ export declare function useDamAuthorType(): {
8803
+ authorTypeOptions: Ref<{
8804
+ value: DamAuthorType;
8805
+ title: string;
8806
+ color?: string | undefined;
8807
+ active?: false | undefined;
8808
+ }[]>;
8809
+ getAuthorTypeOption: (value: DamAuthorType) => {
8810
+ value: DamAuthorType;
8811
+ title: string;
8812
+ color?: string | undefined;
8813
+ active?: false | undefined;
8814
+ } | undefined;
8815
+ };
8816
+
7804
8817
  export declare function useDamConfigState(client?: undefined | (() => AxiosInstance)): {
7805
8818
  initialized: {
7806
8819
  damPubConfig: boolean;
7807
8820
  damPrvConfig: boolean;
7808
- damConfigExtSystem: number | null;
7809
- damConfigAssetCustomFormElements: number | null;
7810
8821
  };
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<{
8822
+ damPubConfig: ShallowRef<DamPubConfig>;
8823
+ damPrvConfig: ShallowRef<DamPrvConfig>;
8824
+ damConfigExtSystem: ShallowRef<Map<number, DamExtSystemConfig>>;
8825
+ damConfigAssetCustomFormElements: ShallowRef<Map<number, {
7820
8826
  image: CustomDataFormElement[];
7821
8827
  audio: CustomDataFormElement[];
7822
8828
  video: CustomDataFormElement[];
7823
8829
  document: CustomDataFormElement[];
7824
- }>;
7825
- damConfigDistributionCustomFormElements: Ref<Record<string, CustomDataFormElement[]>> | ShallowRef<Record<string, CustomDataFormElement[]>>;
8830
+ }>>;
8831
+ damConfigDistributionCustomFormElements: ShallowRef<Map<string, CustomDataFormElement[]>>;
7826
8832
  loadDamPrvConfig: () => Promise<unknown>;
7827
8833
  loadDamPubConfig: () => Promise<unknown>;
7828
8834
  loadDamConfigExtSystem: (extSystemId: IntegerId) => Promise<unknown>;
7829
8835
  loadDamConfigAssetCustomFormElements: (extSystemId: IntegerId) => Promise<unknown>;
7830
8836
  loadDamConfigDistributionCustomFormElements: (distributionServiceName: DamDistributionServiceName) => Promise<unknown>;
8837
+ isDamPubConfigLoaded: () => boolean;
8838
+ isDamPrvConfigLoaded: () => boolean;
8839
+ getDamConfigExtSystem: (extSystemId: IntegerId) => DamExtSystemConfig | undefined;
8840
+ getDamConfigAssetCustomFormElements: (extSystemId: IntegerId) => {
8841
+ image: CustomDataFormElement[];
8842
+ audio: CustomDataFormElement[];
8843
+ video: CustomDataFormElement[];
8844
+ document: CustomDataFormElement[];
8845
+ } | undefined;
8846
+ };
8847
+
8848
+ export declare function useDamCurrentUser(): {
8849
+ damCurrentUser: Ref<{
8850
+ selectedLicence: {
8851
+ id: number;
8852
+ name: string;
8853
+ extSystem: number;
8854
+ } | null;
8855
+ adminToExtSystems: {
8856
+ id: number;
8857
+ name: string;
8858
+ }[];
8859
+ userToExtSystems: {
8860
+ id: number;
8861
+ name: string;
8862
+ }[];
8863
+ assetLicences: {
8864
+ id: number;
8865
+ name: string;
8866
+ extSystem: number;
8867
+ }[];
8868
+ person: {
8869
+ firstName: string;
8870
+ lastName: string;
8871
+ fullName: string;
8872
+ };
8873
+ avatar: {
8874
+ color: string;
8875
+ text: string;
8876
+ };
8877
+ allowedAssetExternalProviders: string[];
8878
+ allowedDistributionServices: string[];
8879
+ enabled: boolean;
8880
+ roles: string[];
8881
+ permissionGroups: number[];
8882
+ permissions: Permissions_2;
8883
+ resolvedPermissions: Permissions_2;
8884
+ _resourceName: string;
8885
+ _system: string;
8886
+ createdAt: string;
8887
+ modifiedAt: string;
8888
+ modifiedBy: IntegerIdNullable;
8889
+ createdBy: IntegerIdNullable;
8890
+ id: number;
8891
+ email: string;
8892
+ } | undefined>;
8893
+ damCurrentUserIsSuperAdmin: Ref<boolean>;
8894
+ };
8895
+
8896
+ export declare function useDamKeywordFactory(): {
8897
+ createDefault: (extSystemId: number, reviewed?: boolean) => DamKeyword;
7831
8898
  };
7832
8899
 
7833
8900
  export declare function useDamNotifications(): {
@@ -7839,6 +8906,12 @@ export declare function useDamUploadChunkSize(apiTimeout?: number): {
7839
8906
  updateChunkSize: (speed: number | null) => boolean;
7840
8907
  };
7841
8908
 
8909
+ export declare function useDropzoneGlobalDragState(): {
8910
+ isDraggingFile: Ref<boolean>;
8911
+ initGlobalDragState: () => void;
8912
+ destroyGlobalDragState: () => void;
8913
+ };
8914
+
7842
8915
  export declare function useErrors(): {
7843
8916
  isAnzuFatalError: (error: any) => error is AnzuFatalError;
7844
8917
  isAnzuApiForbiddenError: (error: any) => error is AnzuApiForbiddenError;