@anzusystems/common-admin 1.51.0 → 1.52.0-single-use-87269.2
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.
- package/dist/{AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-a4kDTgdp.mjs → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-Ct6Pqh7D.mjs} +37 -37
- package/dist/{AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-a4kDTgdp.mjs.map → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-Ct6Pqh7D.mjs.map} +1 -1
- package/dist/common-admin.css +1 -1
- package/dist/common-admin.d.ts +248 -11
- package/dist/common-admin.js +8992 -8784
- package/dist/common-admin.js.map +1 -1
- package/dist/labs.js +2 -2
- package/dist/{webfontloader-BKGad3EE.mjs → webfontloader-MIokyun2.mjs} +2 -2
- package/dist/{webfontloader-BKGad3EE.mjs.map → webfontloader-MIokyun2.mjs.map} +1 -1
- package/package.json +1 -1
package/dist/common-admin.d.ts
CHANGED
|
@@ -380,6 +380,8 @@ declare const __VLS_base_24: DefineComponent<__VLS_Props_72, {
|
|
|
380
380
|
dataCy: string;
|
|
381
381
|
maxWidth: number;
|
|
382
382
|
readonly: boolean;
|
|
383
|
+
singleUseAllowed: boolean;
|
|
384
|
+
usageHolder: AssetSelectUsageHolder | null;
|
|
383
385
|
configName: string;
|
|
384
386
|
listViews: IntegerId[];
|
|
385
387
|
damWidth: number;
|
|
@@ -389,6 +391,7 @@ declare const __VLS_base_24: DefineComponent<__VLS_Props_72, {
|
|
|
389
391
|
expandMetadata: boolean;
|
|
390
392
|
disableOnClickMenu: boolean;
|
|
391
393
|
callDeleteApiOnRemove: boolean;
|
|
394
|
+
owner: ImageOwner | null;
|
|
392
395
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
393
396
|
|
|
394
397
|
declare const __VLS_base_25: DefineComponent<__VLS_PublicProps_5, {
|
|
@@ -414,6 +417,8 @@ declare const __VLS_base_25: DefineComponent<__VLS_PublicProps_5, {
|
|
|
414
417
|
dataCy: string;
|
|
415
418
|
maxWidth: number;
|
|
416
419
|
readonly: boolean;
|
|
420
|
+
singleUseAllowed: boolean;
|
|
421
|
+
usageHolder: AssetSelectUsageHolder | null;
|
|
417
422
|
configName: string;
|
|
418
423
|
listViews: IntegerId[];
|
|
419
424
|
skipCurrentUserCheck: boolean;
|
|
@@ -424,6 +429,7 @@ declare const __VLS_base_25: DefineComponent<__VLS_PublicProps_5, {
|
|
|
424
429
|
expandMetadata: boolean;
|
|
425
430
|
disableOnClickMenu: boolean;
|
|
426
431
|
callDeleteApiOnRemove: boolean;
|
|
432
|
+
owner: ImageOwner | null;
|
|
427
433
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
428
434
|
|
|
429
435
|
declare const __VLS_base_26: DefineComponent<__VLS_PublicProps_6, {
|
|
@@ -450,6 +456,8 @@ declare const __VLS_base_26: DefineComponent<__VLS_PublicProps_6, {
|
|
|
450
456
|
dataCy: string;
|
|
451
457
|
maxWidth: number;
|
|
452
458
|
readonly: boolean;
|
|
459
|
+
singleUseAllowed: boolean;
|
|
460
|
+
usageHolder: AssetSelectUsageHolder | null;
|
|
453
461
|
configName: string;
|
|
454
462
|
listViews: IntegerId[];
|
|
455
463
|
damWidth: number;
|
|
@@ -459,6 +467,7 @@ declare const __VLS_base_26: DefineComponent<__VLS_PublicProps_6, {
|
|
|
459
467
|
expandMetadata: boolean;
|
|
460
468
|
disableOnClickMenu: boolean;
|
|
461
469
|
callDeleteApiOnRemove: boolean;
|
|
470
|
+
owner: ImageOwner | null;
|
|
462
471
|
initialImage: ImageAware;
|
|
463
472
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
464
473
|
|
|
@@ -506,12 +515,15 @@ declare const __VLS_base_29: DefineComponent<__VLS_Props_78, {
|
|
|
506
515
|
width: number;
|
|
507
516
|
dataCy: string;
|
|
508
517
|
readonly: boolean;
|
|
518
|
+
singleUseAllowed: boolean;
|
|
519
|
+
usageHolder: AssetSelectUsageHolder | null;
|
|
509
520
|
configName: string;
|
|
510
521
|
disableDraggable: boolean;
|
|
511
522
|
widgetIdentifierId: string;
|
|
512
523
|
listViews: IntegerId[];
|
|
513
524
|
skipCurrentUserCheck: boolean;
|
|
514
525
|
callDeleteApiOnRemove: boolean;
|
|
526
|
+
owner: ImageOwner | null;
|
|
515
527
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
516
528
|
|
|
517
529
|
declare const __VLS_base_3: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {
|
|
@@ -560,9 +572,11 @@ declare const __VLS_base_32: DefineComponent<__VLS_PublicProps_8, {
|
|
|
560
572
|
"onUpdate:ready"?: ((value: boolean) => any) | undefined;
|
|
561
573
|
}>, {
|
|
562
574
|
inPodcast: boolean | null;
|
|
575
|
+
singleUseAllowed: boolean;
|
|
576
|
+
uploadLicence: number;
|
|
577
|
+
usageHolder: AssetSelectUsageHolder | null;
|
|
563
578
|
configName: string;
|
|
564
579
|
listViews: IntegerId[];
|
|
565
|
-
uploadLicence: number;
|
|
566
580
|
returnType: AssetSelectReturnTypeType;
|
|
567
581
|
skipCurrentUserCheck: boolean;
|
|
568
582
|
onDetailLoadedCallback: (asset: AssetDetailItemDto) => void;
|
|
@@ -574,8 +588,8 @@ declare const __VLS_base_33: DefineComponent<__VLS_PublicProps_9, {}, {}, {}, {}
|
|
|
574
588
|
"onUpdate:sort"?: ((value: number) => any) | undefined;
|
|
575
589
|
}>, {
|
|
576
590
|
inPodcast: boolean | null;
|
|
577
|
-
configName: string;
|
|
578
591
|
uploadLicence: number;
|
|
592
|
+
configName: string;
|
|
579
593
|
skipCurrentUserCheck: boolean;
|
|
580
594
|
onDetailLoadedCallback: (asset: AssetDetailItemDto) => void;
|
|
581
595
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -1480,9 +1494,12 @@ declare const __VLS_export_83: DefineComponent<__VLS_Props_77, {
|
|
|
1480
1494
|
width: number;
|
|
1481
1495
|
dataCy: string;
|
|
1482
1496
|
readonly: boolean;
|
|
1497
|
+
singleUseAllowed: boolean;
|
|
1498
|
+
usageHolder: AssetSelectUsageHolder | null;
|
|
1483
1499
|
configName: string;
|
|
1484
1500
|
listViews: IntegerId[];
|
|
1485
1501
|
callDeleteApiOnRemove: boolean;
|
|
1502
|
+
owner: ImageOwner | null;
|
|
1486
1503
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1487
1504
|
|
|
1488
1505
|
declare const __VLS_export_84: __VLS_WithSlots_29<typeof __VLS_base_29, __VLS_Slots_29>;
|
|
@@ -1513,6 +1530,7 @@ declare const __VLS_export_87: DefineComponent<__VLS_PublicProps_7, {
|
|
|
1513
1530
|
image: ImageAware;
|
|
1514
1531
|
dataCy: string;
|
|
1515
1532
|
configName: string;
|
|
1533
|
+
owner: ImageOwner | null;
|
|
1516
1534
|
labelT: string;
|
|
1517
1535
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1518
1536
|
|
|
@@ -2459,6 +2477,9 @@ declare type __VLS_Props_72 = {
|
|
|
2459
2477
|
callDeleteApiOnRemove?: boolean;
|
|
2460
2478
|
damWidth?: undefined | number;
|
|
2461
2479
|
damHeight?: undefined | number;
|
|
2480
|
+
owner?: ImageOwner | null;
|
|
2481
|
+
singleUseAllowed?: boolean;
|
|
2482
|
+
usageHolder?: AssetSelectUsageHolder | null;
|
|
2462
2483
|
};
|
|
2463
2484
|
|
|
2464
2485
|
declare type __VLS_Props_73 = {
|
|
@@ -2484,6 +2505,9 @@ declare type __VLS_Props_73 = {
|
|
|
2484
2505
|
damWidth?: undefined | number;
|
|
2485
2506
|
damHeight?: undefined | number;
|
|
2486
2507
|
skipCurrentUserCheck?: boolean;
|
|
2508
|
+
owner?: ImageOwner | null;
|
|
2509
|
+
singleUseAllowed?: boolean;
|
|
2510
|
+
usageHolder?: AssetSelectUsageHolder | null;
|
|
2487
2511
|
};
|
|
2488
2512
|
|
|
2489
2513
|
declare type __VLS_Props_74 = {
|
|
@@ -2508,6 +2532,9 @@ declare type __VLS_Props_74 = {
|
|
|
2508
2532
|
callDeleteApiOnRemove?: boolean;
|
|
2509
2533
|
damWidth?: undefined | number;
|
|
2510
2534
|
damHeight?: undefined | number;
|
|
2535
|
+
owner?: ImageOwner | null;
|
|
2536
|
+
singleUseAllowed?: boolean;
|
|
2537
|
+
usageHolder?: AssetSelectUsageHolder | null;
|
|
2511
2538
|
};
|
|
2512
2539
|
|
|
2513
2540
|
declare type __VLS_Props_75 = {
|
|
@@ -2556,6 +2583,9 @@ declare type __VLS_Props_77 = {
|
|
|
2556
2583
|
dataCy?: string | undefined;
|
|
2557
2584
|
width?: number | undefined;
|
|
2558
2585
|
callDeleteApiOnRemove?: boolean;
|
|
2586
|
+
owner?: ImageOwner | null;
|
|
2587
|
+
singleUseAllowed?: boolean;
|
|
2588
|
+
usageHolder?: AssetSelectUsageHolder | null;
|
|
2559
2589
|
};
|
|
2560
2590
|
|
|
2561
2591
|
declare type __VLS_Props_78 = {
|
|
@@ -2573,6 +2603,9 @@ declare type __VLS_Props_78 = {
|
|
|
2573
2603
|
widgetIdentifierId?: string | undefined;
|
|
2574
2604
|
callDeleteApiOnRemove?: boolean;
|
|
2575
2605
|
skipCurrentUserCheck?: boolean;
|
|
2606
|
+
owner?: ImageOwner | null;
|
|
2607
|
+
singleUseAllowed?: boolean;
|
|
2608
|
+
usageHolder?: AssetSelectUsageHolder | null;
|
|
2576
2609
|
};
|
|
2577
2610
|
|
|
2578
2611
|
declare type __VLS_Props_79 = {
|
|
@@ -2595,6 +2628,7 @@ declare type __VLS_Props_8 = {
|
|
|
2595
2628
|
declare type __VLS_Props_80 = {
|
|
2596
2629
|
selectLicences: IntegerId[];
|
|
2597
2630
|
image?: ImageAware | undefined;
|
|
2631
|
+
owner?: ImageOwner | null;
|
|
2598
2632
|
configName?: string;
|
|
2599
2633
|
labelT?: string | undefined;
|
|
2600
2634
|
dataCy?: string | undefined;
|
|
@@ -2655,6 +2689,8 @@ declare type __VLS_Props_87 = {
|
|
|
2655
2689
|
maxCount: number;
|
|
2656
2690
|
selectLicences: IntegerId[];
|
|
2657
2691
|
uploadLicence?: IntegerId | undefined;
|
|
2692
|
+
singleUseAllowed?: boolean;
|
|
2693
|
+
usageHolder?: AssetSelectUsageHolder | null;
|
|
2658
2694
|
returnType?: AssetSelectReturnTypeType;
|
|
2659
2695
|
configName?: string;
|
|
2660
2696
|
skipCurrentUserCheck?: boolean;
|
|
@@ -2955,9 +2991,9 @@ declare type __VLS_Slots_32 = {} & {
|
|
|
2955
2991
|
} & {
|
|
2956
2992
|
'button-confirm-title'?: (props: typeof __VLS_60) => any;
|
|
2957
2993
|
} & {
|
|
2958
|
-
'sidebar-prepend'?: (props: typeof
|
|
2994
|
+
'sidebar-prepend'?: (props: typeof __VLS_73) => any;
|
|
2959
2995
|
} & {
|
|
2960
|
-
'button-confirm-title'?: (props: typeof
|
|
2996
|
+
'button-confirm-title'?: (props: typeof __VLS_98) => any;
|
|
2961
2997
|
};
|
|
2962
2998
|
|
|
2963
2999
|
declare type __VLS_Slots_33 = {} & {
|
|
@@ -3543,6 +3579,8 @@ export declare interface ApiResponseList<T> {
|
|
|
3543
3579
|
*/
|
|
3544
3580
|
export declare const apiUpdateOne: <T, R = T>(client: () => AxiosInstance, object: (T | Record<string, never>) | undefined, urlTemplate: string, urlParams: UrlParams | undefined, system: string, entity: string, options?: AxiosRequestConfig) => Promise<R>;
|
|
3545
3581
|
|
|
3582
|
+
export declare function applyImageOwner<T extends Pick<ImageCreateUpdateAware, 'ownerResourceName' | 'ownerResourceId'>>(target: T, owner: ImageOwner | null | undefined): T;
|
|
3583
|
+
|
|
3546
3584
|
export declare const AProgress: typeof __VLS_export_3;
|
|
3547
3585
|
|
|
3548
3586
|
export declare const ARow: typeof __VLS_export_4;
|
|
@@ -3774,6 +3812,7 @@ export declare interface AssetSearchListItemDto extends AnzuUserAndTimeTrackingA
|
|
|
3774
3812
|
mainFileInternal: Readonly<boolean | null>;
|
|
3775
3813
|
mainFileOverrideInternal: Readonly<boolean | null>;
|
|
3776
3814
|
autoDeleteAt: Readonly<DatetimeUTCNullable>;
|
|
3815
|
+
singleUseUsage?: Readonly<AssetSingleUseUsage | null>;
|
|
3777
3816
|
}
|
|
3778
3817
|
|
|
3779
3818
|
export declare type AssetSelectMetadataToImageMapFn = (assetRes: AssetDetailItemDto) => {
|
|
@@ -3783,13 +3822,13 @@ export declare type AssetSelectMetadataToImageMapFn = (assetRes: AssetDetailItem
|
|
|
3783
3822
|
|
|
3784
3823
|
declare interface AssetSelectReturnAsset {
|
|
3785
3824
|
type: typeof AssetSelectReturnType.Asset;
|
|
3786
|
-
|
|
3825
|
+
forceTakeOver: boolean;
|
|
3787
3826
|
value: Array<AssetSearchListItemDto>;
|
|
3788
3827
|
}
|
|
3789
3828
|
|
|
3790
3829
|
declare interface AssetSelectReturnAssetId {
|
|
3791
3830
|
type: typeof AssetSelectReturnType.AssetId;
|
|
3792
|
-
|
|
3831
|
+
forceTakeOver: boolean;
|
|
3793
3832
|
value: Array<DocId>;
|
|
3794
3833
|
}
|
|
3795
3834
|
|
|
@@ -3797,7 +3836,7 @@ export declare type AssetSelectReturnData = AssetSelectReturnMainFileId | AssetS
|
|
|
3797
3836
|
|
|
3798
3837
|
declare interface AssetSelectReturnMainFileId {
|
|
3799
3838
|
type: typeof AssetSelectReturnType.MainFileId;
|
|
3800
|
-
|
|
3839
|
+
forceTakeOver: boolean;
|
|
3801
3840
|
value: Array<DocId>;
|
|
3802
3841
|
}
|
|
3803
3842
|
|
|
@@ -3809,6 +3848,24 @@ declare const AssetSelectReturnType: {
|
|
|
3809
3848
|
|
|
3810
3849
|
declare type AssetSelectReturnTypeType = (typeof AssetSelectReturnType)[keyof typeof AssetSelectReturnType];
|
|
3811
3850
|
|
|
3851
|
+
export declare interface AssetSelectUsageHolder {
|
|
3852
|
+
name: string;
|
|
3853
|
+
id: string | number;
|
|
3854
|
+
}
|
|
3855
|
+
|
|
3856
|
+
export declare interface AssetSingleUseUsage {
|
|
3857
|
+
totalCount: number;
|
|
3858
|
+
otherHolderCount: number;
|
|
3859
|
+
blocked: boolean;
|
|
3860
|
+
places: AssetSingleUseUsagePlace[];
|
|
3861
|
+
}
|
|
3862
|
+
|
|
3863
|
+
export declare interface AssetSingleUseUsagePlace {
|
|
3864
|
+
resourceName: string;
|
|
3865
|
+
resourceId: string | number;
|
|
3866
|
+
imageId: IntegerId;
|
|
3867
|
+
}
|
|
3868
|
+
|
|
3812
3869
|
export declare const ASubjectSelect: typeof __VLS_export_75;
|
|
3813
3870
|
|
|
3814
3871
|
export declare const ASystemBar: typeof __VLS_export_64;
|
|
@@ -4228,6 +4285,7 @@ declare interface CommonAdminCoreDamConfig {
|
|
|
4228
4285
|
customAssetSelectMetadataToImageMap?: AssetSelectMetadataToImageMapFn;
|
|
4229
4286
|
assetListEnabledFilters?: string[];
|
|
4230
4287
|
simpleAssetSidebar?: boolean;
|
|
4288
|
+
singleUseUsageUrl?: (groupId: DocId) => string;
|
|
4231
4289
|
}
|
|
4232
4290
|
|
|
4233
4291
|
declare type CommonAdminCoreDamOptions = undefined | {
|
|
@@ -4386,6 +4444,11 @@ export declare interface DamAssetLicence extends DamAssetLicenceMinimal, AnzuUse
|
|
|
4386
4444
|
extSystem: IntegerIdNullable;
|
|
4387
4445
|
extId: string;
|
|
4388
4446
|
badge: string;
|
|
4447
|
+
flags: DamAssetLicenceFlags;
|
|
4448
|
+
}
|
|
4449
|
+
|
|
4450
|
+
declare interface DamAssetLicenceFlags {
|
|
4451
|
+
directUseAllowed: boolean;
|
|
4389
4452
|
}
|
|
4390
4453
|
|
|
4391
4454
|
export declare interface DamAssetLicenceGroup extends AnzuUserAndTimeTrackingAware, ResourceNameSystemAware {
|
|
@@ -5046,6 +5109,7 @@ declare interface FileAttributes {
|
|
|
5046
5109
|
originFileName: string;
|
|
5047
5110
|
originUrl: string;
|
|
5048
5111
|
failReason: AssetFileFailReasonType;
|
|
5112
|
+
takenOverFromId: DocId;
|
|
5049
5113
|
}
|
|
5050
5114
|
|
|
5051
5115
|
declare interface FilerRenderOptions {
|
|
@@ -5507,6 +5571,7 @@ export declare const i18n: I18n<{
|
|
|
5507
5571
|
pickExactCount: string;
|
|
5508
5572
|
pickRangeCount: string;
|
|
5509
5573
|
copyToLicence: string;
|
|
5574
|
+
copyToLicenceLocked: string;
|
|
5510
5575
|
};
|
|
5511
5576
|
};
|
|
5512
5577
|
filter: {
|
|
@@ -5538,6 +5603,31 @@ export declare const i18n: I18n<{
|
|
|
5538
5603
|
groupListViews: string;
|
|
5539
5604
|
groupLicences: string;
|
|
5540
5605
|
};
|
|
5606
|
+
usage: {
|
|
5607
|
+
used: string;
|
|
5608
|
+
places: string;
|
|
5609
|
+
openList: string;
|
|
5610
|
+
};
|
|
5611
|
+
holder: {
|
|
5612
|
+
articleKindStandard: string;
|
|
5613
|
+
gallery: string;
|
|
5614
|
+
person: string;
|
|
5615
|
+
organization: string;
|
|
5616
|
+
minutePost: string;
|
|
5617
|
+
liveBlogPost: string;
|
|
5618
|
+
postSuggestion: string;
|
|
5619
|
+
liveBlogFeed: string;
|
|
5620
|
+
boxItem: string;
|
|
5621
|
+
boxItemHistory: string;
|
|
5622
|
+
notification: string;
|
|
5623
|
+
externalBoxItemArticle: string;
|
|
5624
|
+
};
|
|
5625
|
+
disabledReason: {
|
|
5626
|
+
singleUseNotAllowed: string;
|
|
5627
|
+
singleUseBlocked: string;
|
|
5628
|
+
directUseDisabledNotImage: string;
|
|
5629
|
+
directUseDisabledNoUploadLicence: string;
|
|
5630
|
+
};
|
|
5541
5631
|
};
|
|
5542
5632
|
subjectSelect: {
|
|
5543
5633
|
filter: {
|
|
@@ -5659,6 +5749,19 @@ export declare const i18n: I18n<{
|
|
|
5659
5749
|
description: string;
|
|
5660
5750
|
};
|
|
5661
5751
|
};
|
|
5752
|
+
error: {
|
|
5753
|
+
takeOverRejected: string;
|
|
5754
|
+
takeOverUnavailable: string;
|
|
5755
|
+
singleUseViolation: string;
|
|
5756
|
+
singleUseViolationUnknownHolder: string;
|
|
5757
|
+
singleUseViolationUnknownImage: string;
|
|
5758
|
+
singleUseViolationUnidentified: string;
|
|
5759
|
+
singleUseCopy: string;
|
|
5760
|
+
sharedGallery: string;
|
|
5761
|
+
invalidOwner: string;
|
|
5762
|
+
galleryCopy: string;
|
|
5763
|
+
restoreConflict: string;
|
|
5764
|
+
};
|
|
5662
5765
|
};
|
|
5663
5766
|
media: {
|
|
5664
5767
|
model: {
|
|
@@ -5687,7 +5790,6 @@ export declare const i18n: I18n<{
|
|
|
5687
5790
|
copyAssetId: string;
|
|
5688
5791
|
stillUploadingOrProcessing: string;
|
|
5689
5792
|
removeFromQueue: string;
|
|
5690
|
-
errorUnableToCopyToLicence: string;
|
|
5691
5793
|
};
|
|
5692
5794
|
asset: {
|
|
5693
5795
|
model: {
|
|
@@ -6088,6 +6190,8 @@ export declare interface ImageAware {
|
|
|
6088
6190
|
licenceId: IntegerId;
|
|
6089
6191
|
regionPosition: number;
|
|
6090
6192
|
internal: boolean;
|
|
6193
|
+
uploadLicenceId?: IntegerId;
|
|
6194
|
+
forceTakeOver?: boolean;
|
|
6091
6195
|
};
|
|
6092
6196
|
flags: {
|
|
6093
6197
|
showSource: boolean;
|
|
@@ -6099,6 +6203,8 @@ export declare interface ImageAware {
|
|
|
6099
6203
|
|
|
6100
6204
|
export declare interface ImageCreateUpdateAware extends Omit<ImageAware, 'id'> {
|
|
6101
6205
|
id?: IntegerId;
|
|
6206
|
+
ownerResourceName?: string;
|
|
6207
|
+
ownerResourceId?: IntegerId;
|
|
6102
6208
|
}
|
|
6103
6209
|
|
|
6104
6210
|
export declare interface ImageCreateUpdateAwareKeyed extends ImageCreateUpdateAware {
|
|
@@ -6113,6 +6219,11 @@ declare interface ImageFieldValidationConfig {
|
|
|
6113
6219
|
|
|
6114
6220
|
export declare const ImageMassOperations: typeof __VLS_export_86;
|
|
6115
6221
|
|
|
6222
|
+
export declare interface ImageOwner {
|
|
6223
|
+
resourceName: string;
|
|
6224
|
+
resourceId: IntegerId;
|
|
6225
|
+
}
|
|
6226
|
+
|
|
6116
6227
|
declare interface ImageStoreItem extends ImageCreateUpdateAwareKeyed {
|
|
6117
6228
|
damAuthors: DocId[];
|
|
6118
6229
|
showDamAuthors: boolean;
|
|
@@ -6672,6 +6783,7 @@ export declare const messagesCs: {
|
|
|
6672
6783
|
pickExactCount: string;
|
|
6673
6784
|
pickRangeCount: string;
|
|
6674
6785
|
copyToLicence: string;
|
|
6786
|
+
copyToLicenceLocked: string;
|
|
6675
6787
|
};
|
|
6676
6788
|
};
|
|
6677
6789
|
filter: {
|
|
@@ -6703,6 +6815,31 @@ export declare const messagesCs: {
|
|
|
6703
6815
|
groupListViews: string;
|
|
6704
6816
|
groupLicences: string;
|
|
6705
6817
|
};
|
|
6818
|
+
usage: {
|
|
6819
|
+
used: string;
|
|
6820
|
+
places: string;
|
|
6821
|
+
openList: string;
|
|
6822
|
+
};
|
|
6823
|
+
holder: {
|
|
6824
|
+
articleKindStandard: string;
|
|
6825
|
+
gallery: string;
|
|
6826
|
+
person: string;
|
|
6827
|
+
organization: string;
|
|
6828
|
+
minutePost: string;
|
|
6829
|
+
liveBlogPost: string;
|
|
6830
|
+
postSuggestion: string;
|
|
6831
|
+
liveBlogFeed: string;
|
|
6832
|
+
boxItem: string;
|
|
6833
|
+
boxItemHistory: string;
|
|
6834
|
+
notification: string;
|
|
6835
|
+
externalBoxItemArticle: string;
|
|
6836
|
+
};
|
|
6837
|
+
disabledReason: {
|
|
6838
|
+
singleUseNotAllowed: string;
|
|
6839
|
+
singleUseBlocked: string;
|
|
6840
|
+
directUseDisabledNotImage: string;
|
|
6841
|
+
directUseDisabledNoUploadLicence: string;
|
|
6842
|
+
};
|
|
6706
6843
|
};
|
|
6707
6844
|
subjectSelect: {
|
|
6708
6845
|
filter: {
|
|
@@ -6824,6 +6961,19 @@ export declare const messagesCs: {
|
|
|
6824
6961
|
description: string;
|
|
6825
6962
|
};
|
|
6826
6963
|
};
|
|
6964
|
+
error: {
|
|
6965
|
+
takeOverRejected: string;
|
|
6966
|
+
takeOverUnavailable: string;
|
|
6967
|
+
singleUseViolation: string;
|
|
6968
|
+
singleUseViolationUnknownHolder: string;
|
|
6969
|
+
singleUseViolationUnknownImage: string;
|
|
6970
|
+
singleUseViolationUnidentified: string;
|
|
6971
|
+
singleUseCopy: string;
|
|
6972
|
+
sharedGallery: string;
|
|
6973
|
+
invalidOwner: string;
|
|
6974
|
+
galleryCopy: string;
|
|
6975
|
+
restoreConflict: string;
|
|
6976
|
+
};
|
|
6827
6977
|
};
|
|
6828
6978
|
media: {
|
|
6829
6979
|
model: {
|
|
@@ -6854,7 +7004,6 @@ export declare const messagesCs: {
|
|
|
6854
7004
|
copyAssetId: string;
|
|
6855
7005
|
stillUploadingOrProcessing: string;
|
|
6856
7006
|
removeFromQueue: string;
|
|
6857
|
-
errorUnableToCopyToLicence: string;
|
|
6858
7007
|
};
|
|
6859
7008
|
asset: {
|
|
6860
7009
|
model: {
|
|
@@ -7546,6 +7695,7 @@ export declare const messagesEn: {
|
|
|
7546
7695
|
pickExactCount: string;
|
|
7547
7696
|
pickRangeCount: string;
|
|
7548
7697
|
copyToLicence: string;
|
|
7698
|
+
copyToLicenceLocked: string;
|
|
7549
7699
|
};
|
|
7550
7700
|
};
|
|
7551
7701
|
filter: {
|
|
@@ -7577,6 +7727,31 @@ export declare const messagesEn: {
|
|
|
7577
7727
|
groupListViews: string;
|
|
7578
7728
|
groupLicences: string;
|
|
7579
7729
|
};
|
|
7730
|
+
usage: {
|
|
7731
|
+
used: string;
|
|
7732
|
+
places: string;
|
|
7733
|
+
openList: string;
|
|
7734
|
+
};
|
|
7735
|
+
holder: {
|
|
7736
|
+
articleKindStandard: string;
|
|
7737
|
+
gallery: string;
|
|
7738
|
+
person: string;
|
|
7739
|
+
organization: string;
|
|
7740
|
+
minutePost: string;
|
|
7741
|
+
liveBlogPost: string;
|
|
7742
|
+
postSuggestion: string;
|
|
7743
|
+
liveBlogFeed: string;
|
|
7744
|
+
boxItem: string;
|
|
7745
|
+
boxItemHistory: string;
|
|
7746
|
+
notification: string;
|
|
7747
|
+
externalBoxItemArticle: string;
|
|
7748
|
+
};
|
|
7749
|
+
disabledReason: {
|
|
7750
|
+
singleUseNotAllowed: string;
|
|
7751
|
+
singleUseBlocked: string;
|
|
7752
|
+
directUseDisabledNotImage: string;
|
|
7753
|
+
directUseDisabledNoUploadLicence: string;
|
|
7754
|
+
};
|
|
7580
7755
|
};
|
|
7581
7756
|
subjectSelect: {
|
|
7582
7757
|
filter: {
|
|
@@ -7698,6 +7873,19 @@ export declare const messagesEn: {
|
|
|
7698
7873
|
description: string;
|
|
7699
7874
|
};
|
|
7700
7875
|
};
|
|
7876
|
+
error: {
|
|
7877
|
+
takeOverRejected: string;
|
|
7878
|
+
takeOverUnavailable: string;
|
|
7879
|
+
singleUseViolation: string;
|
|
7880
|
+
singleUseViolationUnknownHolder: string;
|
|
7881
|
+
singleUseViolationUnknownImage: string;
|
|
7882
|
+
singleUseViolationUnidentified: string;
|
|
7883
|
+
singleUseCopy: string;
|
|
7884
|
+
sharedGallery: string;
|
|
7885
|
+
invalidOwner: string;
|
|
7886
|
+
galleryCopy: string;
|
|
7887
|
+
restoreConflict: string;
|
|
7888
|
+
};
|
|
7701
7889
|
};
|
|
7702
7890
|
media: {
|
|
7703
7891
|
model: {
|
|
@@ -7726,7 +7914,6 @@ export declare const messagesEn: {
|
|
|
7726
7914
|
copyAssetId: string;
|
|
7727
7915
|
stillUploadingOrProcessing: string;
|
|
7728
7916
|
removeFromQueue: string;
|
|
7729
|
-
errorUnableToCopyToLicence: string;
|
|
7730
7917
|
};
|
|
7731
7918
|
asset: {
|
|
7732
7919
|
model: {
|
|
@@ -8427,6 +8614,7 @@ export declare const messagesSk: {
|
|
|
8427
8614
|
pickExactCount: string;
|
|
8428
8615
|
pickRangeCount: string;
|
|
8429
8616
|
copyToLicence: string;
|
|
8617
|
+
copyToLicenceLocked: string;
|
|
8430
8618
|
};
|
|
8431
8619
|
};
|
|
8432
8620
|
filter: {
|
|
@@ -8458,6 +8646,31 @@ export declare const messagesSk: {
|
|
|
8458
8646
|
groupListViews: string;
|
|
8459
8647
|
groupLicences: string;
|
|
8460
8648
|
};
|
|
8649
|
+
usage: {
|
|
8650
|
+
used: string;
|
|
8651
|
+
places: string;
|
|
8652
|
+
openList: string;
|
|
8653
|
+
};
|
|
8654
|
+
holder: {
|
|
8655
|
+
articleKindStandard: string;
|
|
8656
|
+
gallery: string;
|
|
8657
|
+
person: string;
|
|
8658
|
+
organization: string;
|
|
8659
|
+
minutePost: string;
|
|
8660
|
+
liveBlogPost: string;
|
|
8661
|
+
postSuggestion: string;
|
|
8662
|
+
liveBlogFeed: string;
|
|
8663
|
+
boxItem: string;
|
|
8664
|
+
boxItemHistory: string;
|
|
8665
|
+
notification: string;
|
|
8666
|
+
externalBoxItemArticle: string;
|
|
8667
|
+
};
|
|
8668
|
+
disabledReason: {
|
|
8669
|
+
singleUseNotAllowed: string;
|
|
8670
|
+
singleUseBlocked: string;
|
|
8671
|
+
directUseDisabledNotImage: string;
|
|
8672
|
+
directUseDisabledNoUploadLicence: string;
|
|
8673
|
+
};
|
|
8461
8674
|
};
|
|
8462
8675
|
subjectSelect: {
|
|
8463
8676
|
filter: {
|
|
@@ -8579,6 +8792,19 @@ export declare const messagesSk: {
|
|
|
8579
8792
|
description: string;
|
|
8580
8793
|
};
|
|
8581
8794
|
};
|
|
8795
|
+
error: {
|
|
8796
|
+
takeOverRejected: string;
|
|
8797
|
+
takeOverUnavailable: string;
|
|
8798
|
+
singleUseViolation: string;
|
|
8799
|
+
singleUseViolationUnknownHolder: string;
|
|
8800
|
+
singleUseViolationUnknownImage: string;
|
|
8801
|
+
singleUseViolationUnidentified: string;
|
|
8802
|
+
singleUseCopy: string;
|
|
8803
|
+
sharedGallery: string;
|
|
8804
|
+
invalidOwner: string;
|
|
8805
|
+
galleryCopy: string;
|
|
8806
|
+
restoreConflict: string;
|
|
8807
|
+
};
|
|
8582
8808
|
};
|
|
8583
8809
|
media: {
|
|
8584
8810
|
model: {
|
|
@@ -8607,7 +8833,6 @@ export declare const messagesSk: {
|
|
|
8607
8833
|
copyAssetId: string;
|
|
8608
8834
|
stillUploadingOrProcessing: string;
|
|
8609
8835
|
removeFromQueue: string;
|
|
8610
|
-
errorUnableToCopyToLicence: string;
|
|
8611
8836
|
};
|
|
8612
8837
|
asset: {
|
|
8613
8838
|
model: {
|
|
@@ -10173,6 +10398,10 @@ export declare function useImageActions(config: ReturnType<typeof useCommonAdmin
|
|
|
10173
10398
|
damImageIdToDamImageOriginalUrl: (imageId: DocId) => string;
|
|
10174
10399
|
};
|
|
10175
10400
|
|
|
10401
|
+
export declare function useImageSaveErrorMessage(): {
|
|
10402
|
+
showImageSaveError: (e: unknown) => void;
|
|
10403
|
+
};
|
|
10404
|
+
|
|
10176
10405
|
export declare const useImageStore: SetupStoreDefinition<"commonImageStore", {
|
|
10177
10406
|
images: Ref<{
|
|
10178
10407
|
damAuthors: DocId[];
|
|
@@ -10182,6 +10411,8 @@ export declare const useImageStore: SetupStoreDefinition<"commonImageStore", {
|
|
|
10182
10411
|
assetId: undefined | DocId;
|
|
10183
10412
|
key: string;
|
|
10184
10413
|
id?: IntegerId | undefined;
|
|
10414
|
+
ownerResourceName?: string | undefined;
|
|
10415
|
+
ownerResourceId?: IntegerId | undefined;
|
|
10185
10416
|
texts: {
|
|
10186
10417
|
description: string;
|
|
10187
10418
|
source: string;
|
|
@@ -10197,6 +10428,8 @@ export declare const useImageStore: SetupStoreDefinition<"commonImageStore", {
|
|
|
10197
10428
|
licenceId: IntegerId;
|
|
10198
10429
|
regionPosition: number;
|
|
10199
10430
|
internal: boolean;
|
|
10431
|
+
uploadLicenceId?: IntegerId | undefined;
|
|
10432
|
+
forceTakeOver?: boolean | undefined;
|
|
10200
10433
|
};
|
|
10201
10434
|
}[], ImageStoreItem[] | {
|
|
10202
10435
|
damAuthors: DocId[];
|
|
@@ -10206,6 +10439,8 @@ export declare const useImageStore: SetupStoreDefinition<"commonImageStore", {
|
|
|
10206
10439
|
assetId: undefined | DocId;
|
|
10207
10440
|
key: string;
|
|
10208
10441
|
id?: IntegerId | undefined;
|
|
10442
|
+
ownerResourceName?: string | undefined;
|
|
10443
|
+
ownerResourceId?: IntegerId | undefined;
|
|
10209
10444
|
texts: {
|
|
10210
10445
|
description: string;
|
|
10211
10446
|
source: string;
|
|
@@ -10221,6 +10456,8 @@ export declare const useImageStore: SetupStoreDefinition<"commonImageStore", {
|
|
|
10221
10456
|
licenceId: IntegerId;
|
|
10222
10457
|
regionPosition: number;
|
|
10223
10458
|
internal: boolean;
|
|
10459
|
+
uploadLicenceId?: IntegerId | undefined;
|
|
10460
|
+
forceTakeOver?: boolean | undefined;
|
|
10224
10461
|
};
|
|
10225
10462
|
}[]>;
|
|
10226
10463
|
maxPosition: Ref<number, number>;
|