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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -171,6 +171,12 @@ declare type __VLS_NonUndefinedable_69<T> = T extends undefined ? never : T;
171
171
 
172
172
  declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
173
173
 
174
+ declare type __VLS_NonUndefinedable_70<T> = T extends undefined ? never : T;
175
+
176
+ declare type __VLS_NonUndefinedable_71<T> = T extends undefined ? never : T;
177
+
178
+ declare type __VLS_NonUndefinedable_72<T> = T extends undefined ? never : T;
179
+
174
180
  declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
175
181
 
176
182
  declare type __VLS_NonUndefinedable_9<T> = T extends undefined ? never : T;
@@ -427,6 +433,18 @@ declare type __VLS_Prettify_66<T> = {
427
433
  [K in keyof T]: T[K];
428
434
  } & {};
429
435
 
436
+ declare type __VLS_Prettify_67<T> = {
437
+ [K in keyof T]: T[K];
438
+ } & {};
439
+
440
+ declare type __VLS_Prettify_68<T> = {
441
+ [K in keyof T]: T[K];
442
+ } & {};
443
+
444
+ declare type __VLS_Prettify_69<T> = {
445
+ [K in keyof T]: T[K];
446
+ } & {};
447
+
430
448
  declare type __VLS_Prettify_7<T> = {
431
449
  [K in keyof T]: T[K];
432
450
  } & {};
@@ -1042,6 +1060,33 @@ declare type __VLS_TypePropsToRuntimeProps_7<T> = {
1042
1060
  };
1043
1061
  };
1044
1062
 
1063
+ declare type __VLS_TypePropsToRuntimeProps_70<T> = {
1064
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
1065
+ type: PropType<__VLS_NonUndefinedable_70<T[K]>>;
1066
+ } : {
1067
+ type: PropType<T[K]>;
1068
+ required: true;
1069
+ };
1070
+ };
1071
+
1072
+ declare type __VLS_TypePropsToRuntimeProps_71<T> = {
1073
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
1074
+ type: PropType<__VLS_NonUndefinedable_71<T[K]>>;
1075
+ } : {
1076
+ type: PropType<T[K]>;
1077
+ required: true;
1078
+ };
1079
+ };
1080
+
1081
+ declare type __VLS_TypePropsToRuntimeProps_72<T> = {
1082
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
1083
+ type: PropType<__VLS_NonUndefinedable_72<T[K]>>;
1084
+ } : {
1085
+ type: PropType<T[K]>;
1086
+ required: true;
1087
+ };
1088
+ };
1089
+
1045
1090
  declare type __VLS_TypePropsToRuntimeProps_8<T> = {
1046
1091
  [K in keyof T]-?: {} extends Pick<T, K> ? {
1047
1092
  type: PropType<__VLS_NonUndefinedable_8<T[K]>>;
@@ -1438,6 +1483,24 @@ declare type __VLS_WithDefaults_66<P, D> = {
1438
1483
  }> : P[K];
1439
1484
  };
1440
1485
 
1486
+ declare type __VLS_WithDefaults_67<P, D> = {
1487
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_67<P[K] & {
1488
+ default: D[K];
1489
+ }> : P[K];
1490
+ };
1491
+
1492
+ declare type __VLS_WithDefaults_68<P, D> = {
1493
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_68<P[K] & {
1494
+ default: D[K];
1495
+ }> : P[K];
1496
+ };
1497
+
1498
+ declare type __VLS_WithDefaults_69<P, D> = {
1499
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_69<P[K] & {
1500
+ default: D[K];
1501
+ }> : P[K];
1502
+ };
1503
+
1441
1504
  declare type __VLS_WithDefaults_7<P, D> = {
1442
1505
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_7<P[K] & {
1443
1506
  default: D[K];
@@ -1498,6 +1561,12 @@ declare type __VLS_WithTemplateSlots_15<T, S> = T & {
1498
1561
  };
1499
1562
  };
1500
1563
 
1564
+ declare type __VLS_WithTemplateSlots_16<T, S> = T & {
1565
+ new (): {
1566
+ $slots: S;
1567
+ };
1568
+ };
1569
+
1501
1570
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
1502
1571
  new (): {
1503
1572
  $slots: S;
@@ -1903,13 +1972,13 @@ export declare const AAnzuUserAvatar: DefineComponent<__VLS_WithDefaults_53<__VL
1903
1972
  containerClass: string;
1904
1973
  }, {}>;
1905
1974
 
1906
- export declare const AAssetSelect: __VLS_WithTemplateSlots_15<DefineComponent<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_65<{
1975
+ export declare const AAssetSelect: __VLS_WithTemplateSlots_16<DefineComponent<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_68<{
1907
1976
  modelValue?: boolean | undefined;
1908
1977
  assetType: "image" | "audio" | "video" | DamAssetType | "document";
1909
1978
  minCount: number;
1910
1979
  maxCount: number;
1911
1980
  assetLicenceId?: number | undefined;
1912
- returnType?: AssetSelectReturnType | "mainFileId" | "assetId" | "asset" | undefined;
1981
+ returnType?: "asset" | "assetId" | AssetSelectReturnType | "mainFileId" | undefined;
1913
1982
  configName?: string | undefined;
1914
1983
  }>, {
1915
1984
  modelValue: undefined;
@@ -1921,13 +1990,13 @@ export declare const AAssetSelect: __VLS_WithTemplateSlots_15<DefineComponent<__
1921
1990
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1922
1991
  "update:modelValue": (data: boolean) => void;
1923
1992
  onConfirm: (data: AssetSelectReturnData) => void;
1924
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_65<{
1993
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_68<{
1925
1994
  modelValue?: boolean | undefined;
1926
1995
  assetType: "image" | "audio" | "video" | DamAssetType | "document";
1927
1996
  minCount: number;
1928
1997
  maxCount: number;
1929
1998
  assetLicenceId?: number | undefined;
1930
- returnType?: AssetSelectReturnType | "mainFileId" | "assetId" | "asset" | undefined;
1999
+ returnType?: "asset" | "assetId" | AssetSelectReturnType | "mainFileId" | undefined;
1931
2000
  configName?: string | undefined;
1932
2001
  }>, {
1933
2002
  modelValue: undefined;
@@ -1939,9 +2008,9 @@ export declare const AAssetSelect: __VLS_WithTemplateSlots_15<DefineComponent<__
1939
2008
  onOnConfirm?: ((data: AssetSelectReturnData) => any) | undefined;
1940
2009
  }, {
1941
2010
  modelValue: boolean;
1942
- assetLicenceId: number;
1943
- returnType: AssetSelectReturnType | "mainFileId" | "assetId" | "asset";
1944
2011
  configName: string;
2012
+ assetLicenceId: number;
2013
+ returnType: "asset" | "assetId" | AssetSelectReturnType | "mainFileId";
1945
2014
  }, {}>, {
1946
2015
  activator?(_: {
1947
2016
  props: {
@@ -3376,6 +3445,188 @@ export declare const AIconGroup: DefineComponent<__VLS_WithDefaults_35<__VLS_Typ
3376
3445
  secondaryText: null | string;
3377
3446
  }, {}>;
3378
3447
 
3448
+ export declare const AImageWidget: DefineComponent<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_65<{
3449
+ modelValue: IntegerIdNullable;
3450
+ queueKey: UploadQueueKey;
3451
+ licenceId: IntegerId;
3452
+ extSystem: IntegerId;
3453
+ image?: ImageAware | undefined;
3454
+ configName?: string | undefined;
3455
+ label?: string | undefined;
3456
+ readonly?: boolean | undefined;
3457
+ dataCy?: string | undefined;
3458
+ expandOptions?: boolean | undefined;
3459
+ disableOnClickMenu?: boolean | undefined;
3460
+ width?: number | undefined;
3461
+ }>, {
3462
+ configName: string;
3463
+ label: undefined;
3464
+ image: undefined;
3465
+ readonly: boolean;
3466
+ lockable: boolean;
3467
+ lockedById: undefined;
3468
+ dataCy: undefined;
3469
+ expandOptions: boolean;
3470
+ disableOnClickMenu: boolean;
3471
+ width: undefined;
3472
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3473
+ "update:modelValue": (data: IntegerIdNullable) => void;
3474
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_65<{
3475
+ modelValue: IntegerIdNullable;
3476
+ queueKey: UploadQueueKey;
3477
+ licenceId: IntegerId;
3478
+ extSystem: IntegerId;
3479
+ image?: ImageAware | undefined;
3480
+ configName?: string | undefined;
3481
+ label?: string | undefined;
3482
+ readonly?: boolean | undefined;
3483
+ dataCy?: string | undefined;
3484
+ expandOptions?: boolean | undefined;
3485
+ disableOnClickMenu?: boolean | undefined;
3486
+ width?: number | undefined;
3487
+ }>, {
3488
+ configName: string;
3489
+ label: undefined;
3490
+ image: undefined;
3491
+ readonly: boolean;
3492
+ lockable: boolean;
3493
+ lockedById: undefined;
3494
+ dataCy: undefined;
3495
+ expandOptions: boolean;
3496
+ disableOnClickMenu: boolean;
3497
+ width: undefined;
3498
+ }>>> & {
3499
+ "onUpdate:modelValue"?: ((data: IntegerIdNullable) => any) | undefined;
3500
+ }, {
3501
+ width: number;
3502
+ image: ImageAware;
3503
+ label: string;
3504
+ dataCy: string;
3505
+ readonly: boolean;
3506
+ configName: string;
3507
+ expandOptions: boolean;
3508
+ disableOnClickMenu: boolean;
3509
+ }, {}>;
3510
+
3511
+ export declare const AImageWidgetMultiple: DefineComponent<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_67<{
3512
+ modelValue: IntegerId[];
3513
+ queueKey: UploadQueueKey;
3514
+ licenceId: IntegerId;
3515
+ extSystem: IntegerId;
3516
+ configName?: string | undefined;
3517
+ label?: string | undefined;
3518
+ readonly?: boolean | undefined;
3519
+ dataCy?: string | undefined;
3520
+ width?: number | undefined;
3521
+ }>, {
3522
+ configName: string;
3523
+ label: undefined;
3524
+ image: undefined;
3525
+ readonly: boolean;
3526
+ lockable: boolean;
3527
+ lockedById: undefined;
3528
+ dataCy: undefined;
3529
+ expandOptions: boolean;
3530
+ width: undefined;
3531
+ }>, {
3532
+ saveImages: () => Promise<false | void>;
3533
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3534
+ "update:modelValue": (data: number[]) => void;
3535
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_67<{
3536
+ modelValue: IntegerId[];
3537
+ queueKey: UploadQueueKey;
3538
+ licenceId: IntegerId;
3539
+ extSystem: IntegerId;
3540
+ configName?: string | undefined;
3541
+ label?: string | undefined;
3542
+ readonly?: boolean | undefined;
3543
+ dataCy?: string | undefined;
3544
+ width?: number | undefined;
3545
+ }>, {
3546
+ configName: string;
3547
+ label: undefined;
3548
+ image: undefined;
3549
+ readonly: boolean;
3550
+ lockable: boolean;
3551
+ lockedById: undefined;
3552
+ dataCy: undefined;
3553
+ expandOptions: boolean;
3554
+ width: undefined;
3555
+ }>>> & {
3556
+ "onUpdate:modelValue"?: ((data: number[]) => any) | undefined;
3557
+ }, {
3558
+ width: number;
3559
+ label: string;
3560
+ dataCy: string;
3561
+ readonly: boolean;
3562
+ configName: string;
3563
+ }, {}>;
3564
+
3565
+ export declare const AImageWidgetSimple: __VLS_WithTemplateSlots_15<DefineComponent<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_66<{
3566
+ modelValue: IntegerIdNullable | undefined;
3567
+ image?: ImageAware | ImageCreateUpdateAware | undefined;
3568
+ configName?: string | undefined;
3569
+ label?: string | undefined;
3570
+ width?: number | undefined;
3571
+ disableAspectRatio?: boolean | undefined;
3572
+ aspectRatio?: string | number | undefined;
3573
+ }>, {
3574
+ configName: string;
3575
+ label: undefined;
3576
+ image: undefined;
3577
+ width: undefined;
3578
+ disableAspectRatio: boolean;
3579
+ aspectRatio: number;
3580
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_66<{
3581
+ modelValue: IntegerIdNullable | undefined;
3582
+ image?: ImageAware | ImageCreateUpdateAware | undefined;
3583
+ configName?: string | undefined;
3584
+ label?: string | undefined;
3585
+ width?: number | undefined;
3586
+ disableAspectRatio?: boolean | undefined;
3587
+ aspectRatio?: string | number | undefined;
3588
+ }>, {
3589
+ configName: string;
3590
+ label: undefined;
3591
+ image: undefined;
3592
+ width: undefined;
3593
+ disableAspectRatio: boolean;
3594
+ aspectRatio: number;
3595
+ }>>>, {
3596
+ width: number;
3597
+ image: ImageAware | ImageCreateUpdateAware;
3598
+ label: string;
3599
+ configName: string;
3600
+ disableAspectRatio: boolean;
3601
+ aspectRatio: string | number;
3602
+ }, {}>, {
3603
+ append?(_: {
3604
+ image: {
3605
+ id: number;
3606
+ texts: {
3607
+ description: string;
3608
+ source: string;
3609
+ };
3610
+ dam: {
3611
+ damId: string;
3612
+ regionPosition: number;
3613
+ };
3614
+ position: number;
3615
+ } | {
3616
+ id?: number | undefined;
3617
+ texts: {
3618
+ description: string;
3619
+ source: string;
3620
+ };
3621
+ position: number;
3622
+ dam: {
3623
+ damId: string;
3624
+ regionPosition: number;
3625
+ };
3626
+ } | null;
3627
+ }): any;
3628
+ }>;
3629
+
3379
3630
  export declare const AJobDetailCommon: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_60<{
3380
3631
  job: JobBase<`job${string}`>;
3381
3632
  loading?: boolean | undefined;
@@ -3410,7 +3661,7 @@ export declare const ALogData: DefineComponent<__VLS_WithDefaults_29<__VLS_TypeP
3410
3661
  data: any;
3411
3662
  }>, {}>>>, {}, {}>;
3412
3663
 
3413
- export declare const ALoginView: DefineComponent<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_66<{
3664
+ export declare const ALoginView: DefineComponent<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_69<{
3414
3665
  title?: string | undefined;
3415
3666
  logoUrl?: string | undefined;
3416
3667
  loginUrl?: undefined | (() => string);
@@ -3420,7 +3671,7 @@ export declare const ALoginView: DefineComponent<__VLS_WithDefaults_63<__VLS_Typ
3420
3671
  logoUrl: undefined;
3421
3672
  loginUrl: undefined;
3422
3673
  dataCy: string;
3423
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_66<{
3674
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_69<{
3424
3675
  title?: string | undefined;
3425
3676
  logoUrl?: string | undefined;
3426
3677
  loginUrl?: undefined | (() => string);
@@ -3443,11 +3694,11 @@ export declare const ALogLevelChip: DefineComponent<__VLS_WithDefaults_52<__VLS_
3443
3694
  level: LogLevel;
3444
3695
  }>, {}>>>, {}, {}>;
3445
3696
 
3446
- export declare const ALogoutView: DefineComponent<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_67<{
3697
+ export declare const ALogoutView: DefineComponent<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_70<{
3447
3698
  logoutUrl?: undefined | (() => string);
3448
3699
  }>, {
3449
3700
  logoutUrl: undefined;
3450
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_67<{
3701
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_70<{
3451
3702
  logoutUrl?: undefined | (() => string);
3452
3703
  }>, {
3453
3704
  logoutUrl: undefined;
@@ -3455,9 +3706,9 @@ export declare const ALogoutView: DefineComponent<__VLS_WithDefaults_64<__VLS_Ty
3455
3706
  logoutUrl: () => string;
3456
3707
  }, {}>;
3457
3708
 
3458
- export declare const ANotFoundView: DefineComponent<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_69<{
3709
+ export declare const ANotFoundView: DefineComponent<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_72<{
3459
3710
  returnRouteName: string;
3460
- }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_69<{
3711
+ }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_72<{
3461
3712
  returnRouteName: string;
3462
3713
  }>, {}>>>, {}, {}>;
3463
3714
 
@@ -4319,9 +4570,9 @@ declare interface AudioAttributes {
4319
4570
  bitrate: number;
4320
4571
  }
4321
4572
 
4322
- export declare const AUnauthorizedView: DefineComponent<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_68<{
4573
+ export declare const AUnauthorizedView: DefineComponent<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_71<{
4323
4574
  returnRouteName: string;
4324
- }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_68<{
4575
+ }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_71<{
4325
4576
  returnRouteName: string;
4326
4577
  }>, {}>>>, {}, {}>;
4327
4578
 
@@ -5361,6 +5612,10 @@ declare interface ImageAware {
5361
5612
  position: number;
5362
5613
  }
5363
5614
 
5615
+ declare interface ImageCreateUpdateAware extends Omit<ImageAware, 'id'> {
5616
+ id?: IntegerId;
5617
+ }
5618
+
5364
5619
  export declare type Immutable<T> = {
5365
5620
  readonly [K in keyof T]: Immutable<T[K]>;
5366
5621
  };
@@ -7343,6 +7598,8 @@ export declare enum UploadQueueItemType {
7343
7598
  SlotFile = "slotFile"
7344
7599
  }
7345
7600
 
7601
+ declare type UploadQueueKey = string;
7602
+
7346
7603
  export declare type UrlParams = {
7347
7604
  [key: string]: number | string;
7348
7605
  };