@anzusystems/common-admin 1.47.0-alpha46 → 1.47.0-alpha48

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.
@@ -5025,7 +5025,7 @@ export declare const arrayFlatten: <T>(input: NestedArray<T>, acc?: T[]) => T[];
5025
5025
 
5026
5026
  export declare const arrayFromArgs: <T>(args_0: T[]) => T[];
5027
5027
 
5028
- export declare const arrayItemToggle: <T>(array: T[], value: T) => void;
5028
+ export declare const arrayItemToggle: <T>(array: Array<T>, value: T) => void;
5029
5029
 
5030
5030
  export declare const arraysHaveSameElements: <T>(array1: T[], array2: T[]) => boolean;
5031
5031
 
@@ -5450,7 +5450,7 @@ export declare const ASubjectSelect: <TItem>(__VLS_props: {
5450
5450
  "onUpdate:pagination"?: ((data: Pagination) => any) | undefined;
5451
5451
  onOnPageChange?: (() => any) | undefined;
5452
5452
  onOnFetchNextPage?: (() => any) | undefined;
5453
- selectedItems: TItem[];
5453
+ selectedItems: Array<TItem>;
5454
5454
  minCount?: number | undefined;
5455
5455
  maxCount?: number | undefined;
5456
5456
  dialogTitleT?: string | undefined;
@@ -5476,7 +5476,7 @@ export declare const ASubjectSelect: <TItem>(__VLS_props: {
5476
5476
  (e: 'update:pagination', data: Pagination): void;
5477
5477
  (e: 'onOpen'): void;
5478
5478
  (e: 'onPageChange'): void;
5479
- (e: 'onConfirm', data: TItem[]): void;
5479
+ (e: 'onConfirm', data: Array<TItem>): void;
5480
5480
  (e: 'onFetchNextPage'): void;
5481
5481
  };
5482
5482
  } | undefined, __VLS_expose?: ((exposed: ShallowUnwrapRef< {
@@ -5494,7 +5494,7 @@ open: () => void;
5494
5494
  "onUpdate:pagination"?: ((data: Pagination) => any) | undefined;
5495
5495
  onOnPageChange?: (() => any) | undefined;
5496
5496
  onOnFetchNextPage?: (() => any) | undefined;
5497
- selectedItems: TItem[];
5497
+ selectedItems: Array<TItem>;
5498
5498
  minCount?: number | undefined;
5499
5499
  maxCount?: number | undefined;
5500
5500
  dialogTitleT?: string | undefined;
@@ -5523,7 +5523,7 @@ open: () => void;
5523
5523
  (e: 'update:pagination', data: Pagination): void;
5524
5524
  (e: 'onOpen'): void;
5525
5525
  (e: 'onPageChange'): void;
5526
- (e: 'onConfirm', data: TItem[]): void;
5526
+ (e: 'onConfirm', data: Array<TItem>): void;
5527
5527
  (e: 'onFetchNextPage'): void;
5528
5528
  };
5529
5529
  }>) => VNode<RendererNode, RendererElement, {
@@ -5542,7 +5542,7 @@ open: () => void;
5542
5542
  "onUpdate:pagination"?: ((data: Pagination) => any) | undefined;
5543
5543
  onOnPageChange?: (() => any) | undefined;
5544
5544
  onOnFetchNextPage?: (() => any) | undefined;
5545
- selectedItems: TItem[];
5545
+ selectedItems: Array<TItem>;
5546
5546
  minCount?: number | undefined;
5547
5547
  maxCount?: number | undefined;
5548
5548
  dialogTitleT?: string | undefined;
@@ -5571,7 +5571,7 @@ open: () => void;
5571
5571
  (e: 'update:pagination', data: Pagination): void;
5572
5572
  (e: 'onOpen'): void;
5573
5573
  (e: 'onPageChange'): void;
5574
- (e: 'onConfirm', data: TItem[]): void;
5574
+ (e: 'onConfirm', data: Array<TItem>): void;
5575
5575
  (e: 'onFetchNextPage'): void;
5576
5576
  };
5577
5577
  } | undefined;
@@ -6215,6 +6215,103 @@ export declare interface DamAssetLicence extends DamAssetLicenceMinimal, AnzuUse
6215
6215
  extId: string;
6216
6216
  }
6217
6217
 
6218
+ export declare interface DamAssetLicenceGroup extends AnzuUserAndTimeTrackingAware, ResourceNameSystemAware {
6219
+ id: IntegerId;
6220
+ name: string;
6221
+ extSystem: IntegerIdNullable;
6222
+ licences: IntegerId[];
6223
+ }
6224
+
6225
+ export declare const DamAssetLicenceGroupRemoteAutocomplete: DefineComponent< {
6226
+ selected: PropType<ValueObjectOption<number>[]>;
6227
+ dataCy: {
6228
+ type: PropType<string>;
6229
+ default: string;
6230
+ };
6231
+ multiple: {
6232
+ type: PropType<boolean>;
6233
+ default: boolean;
6234
+ };
6235
+ required: {
6236
+ type: PropType<boolean>;
6237
+ default: undefined;
6238
+ };
6239
+ modelValue: {
6240
+ type: PropType<any>;
6241
+ required: true;
6242
+ };
6243
+ label: {
6244
+ type: PropType<string>;
6245
+ default: undefined;
6246
+ };
6247
+ clearable: {
6248
+ type: PropType<boolean>;
6249
+ default: boolean;
6250
+ };
6251
+ hideDetails: {
6252
+ type: PropType<boolean>;
6253
+ default: undefined;
6254
+ };
6255
+ disableInitFetch: {
6256
+ type: PropType<boolean>;
6257
+ default: boolean;
6258
+ };
6259
+ client: {
6260
+ type: PropType<() => AxiosInstance>;
6261
+ required: true;
6262
+ };
6263
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6264
+ "update:modelValue": (data: any) => void;
6265
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
6266
+ selected: PropType<ValueObjectOption<number>[]>;
6267
+ dataCy: {
6268
+ type: PropType<string>;
6269
+ default: string;
6270
+ };
6271
+ multiple: {
6272
+ type: PropType<boolean>;
6273
+ default: boolean;
6274
+ };
6275
+ required: {
6276
+ type: PropType<boolean>;
6277
+ default: undefined;
6278
+ };
6279
+ modelValue: {
6280
+ type: PropType<any>;
6281
+ required: true;
6282
+ };
6283
+ label: {
6284
+ type: PropType<string>;
6285
+ default: undefined;
6286
+ };
6287
+ clearable: {
6288
+ type: PropType<boolean>;
6289
+ default: boolean;
6290
+ };
6291
+ hideDetails: {
6292
+ type: PropType<boolean>;
6293
+ default: undefined;
6294
+ };
6295
+ disableInitFetch: {
6296
+ type: PropType<boolean>;
6297
+ default: boolean;
6298
+ };
6299
+ client: {
6300
+ type: PropType<() => AxiosInstance>;
6301
+ required: true;
6302
+ };
6303
+ }>> & {
6304
+ "onUpdate:modelValue"?: ((data: any) => any) | undefined;
6305
+ }, {
6306
+ dataCy: string;
6307
+ multiple: boolean;
6308
+ required: boolean;
6309
+ label: string;
6310
+ clearable: boolean;
6311
+ hideDetails: boolean;
6312
+ disableInitFetch: boolean;
6313
+ }, {}>;
6314
+
6218
6315
  export declare interface DamAssetLicenceMinimal {
6219
6316
  id: IntegerId;
6220
6317
  name: string;
@@ -6784,6 +6881,7 @@ export declare interface DamUserUpdateDto {
6784
6881
  allowedAssetExternalProviders: string[];
6785
6882
  allowedDistributionServices: string[];
6786
6883
  adminToExtSystems: IntegerId[];
6884
+ licenceGroups: IntegerId[];
6787
6885
  readonly userToExtSystems: IntegerId[];
6788
6886
  plainPassword?: string;
6789
6887
  }
@@ -6900,6 +6998,10 @@ export declare type EnableDisable = 'enable' | 'disable';
6900
6998
 
6901
6999
  export declare const eventClickBlur: (event?: Event) => void;
6902
7000
 
7001
+ export declare const fetchDamAssetLicenceGroupList: (client: () => AxiosInstance, pagination: Pagination, filterBag: FilterBag) => Promise<DamAssetLicenceGroup[]>;
7002
+
7003
+ export declare const fetchDamAssetLicenceGroupListByIds: (client: () => AxiosInstance, ids: IntegerId[]) => Promise<DamAssetLicenceGroup[]>;
7004
+
6903
7005
  export declare const fetchDamAssetLicenceList: (client: () => AxiosInstance, pagination: Pagination, filterBag: FilterBag) => Promise<DamAssetLicence[]>;
6904
7006
 
6905
7007
  export declare const fetchDamAssetLicenceListByIds: (client: () => AxiosInstance, ids: IntegerId[]) => Promise<DamAssetLicence[]>;
@@ -10224,7 +10326,7 @@ export declare const stringToFloat: (value: any, fallbackValue?: number) => numb
10224
10326
 
10225
10327
  export declare const stringToInt: (value: any, fallbackValue?: number) => number;
10226
10328
 
10227
- export declare const stringToKebabCase: <T extends string>(value: T) => Kebab<T, "">;
10329
+ export declare const stringToKebabCase: <T extends string>(value: T) => Kebab<T>;
10228
10330
 
10229
10331
  export declare const stringToSlug: (value: string) => string;
10230
10332
 
@@ -10401,7 +10503,7 @@ declare type UseCachedType = () => {
10401
10503
  addManualMinimal: any;
10402
10504
  };
10403
10505
 
10404
- export declare function useCollabAnyDataChange(room: CollabRoom, autoUnsubscribe?: boolean): {
10506
+ export declare function useCollabAnyDataChange(room: CollabRoom): {
10405
10507
  addCollabAnyDataChangeListener: (callback: (field: CollabFieldName, data: CollabFieldDataEnvelope) => void) => void;
10406
10508
  unsubscribeCollabAnyDataChangeListener: Ref<Fn | undefined>;
10407
10509
  changeCollabAnyData: (field: CollabFieldName, data: CollabFieldData, callback?: Fn | undefined) => void;