@anzusystems/common-admin 1.40.0-alpha6 → 1.40.0-alpha8

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.
@@ -178,6 +178,8 @@ declare type __VLS_NonUndefinedable_71<T> = T extends undefined ? never : T;
178
178
 
179
179
  declare type __VLS_NonUndefinedable_72<T> = T extends undefined ? never : T;
180
180
 
181
+ declare type __VLS_NonUndefinedable_73<T> = T extends undefined ? never : T;
182
+
181
183
  declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
182
184
 
183
185
  declare type __VLS_NonUndefinedable_9<T> = T extends undefined ? never : T;
@@ -450,6 +452,10 @@ declare type __VLS_Prettify_7<T> = {
450
452
  [K in keyof T]: T[K];
451
453
  } & {};
452
454
 
455
+ declare type __VLS_Prettify_70<T> = {
456
+ [K in keyof T]: T[K];
457
+ } & {};
458
+
453
459
  declare type __VLS_Prettify_8<T> = {
454
460
  [K in keyof T]: T[K];
455
461
  } & {};
@@ -1088,6 +1094,15 @@ declare type __VLS_TypePropsToRuntimeProps_72<T> = {
1088
1094
  };
1089
1095
  };
1090
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
+
1091
1106
  declare type __VLS_TypePropsToRuntimeProps_8<T> = {
1092
1107
  [K in keyof T]-?: {} extends Pick<T, K> ? {
1093
1108
  type: PropType<__VLS_NonUndefinedable_8<T[K]>>;
@@ -1508,6 +1523,12 @@ declare type __VLS_WithDefaults_7<P, D> = {
1508
1523
  }> : P[K];
1509
1524
  };
1510
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
+
1511
1532
  declare type __VLS_WithDefaults_8<P, D> = {
1512
1533
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_8<P[K] & {
1513
1534
  default: D[K];
@@ -1973,7 +1994,7 @@ export declare const AAnzuUserAvatar: DefineComponent<__VLS_WithDefaults_53<__VL
1973
1994
  containerClass: string;
1974
1995
  }, {}>;
1975
1996
 
1976
- 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<{
1977
1998
  modelValue?: boolean | undefined;
1978
1999
  assetType: "image" | "audio" | "video" | DamAssetType | "document";
1979
2000
  minCount: number;
@@ -1991,7 +2012,7 @@ export declare const AAssetSelect: __VLS_WithTemplateSlots_16<DefineComponent<__
1991
2012
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1992
2013
  "update:modelValue": (data: boolean) => void;
1993
2014
  onConfirm: (data: AssetSelectReturnData) => void;
1994
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_68<{
2015
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_69<{
1995
2016
  modelValue?: boolean | undefined;
1996
2017
  assetType: "image" | "audio" | "video" | DamAssetType | "document";
1997
2018
  minCount: number;
@@ -3646,6 +3667,7 @@ export declare const AImageWidget: DefineComponent<__VLS_WithDefaults_62<__VLS_T
3646
3667
  expandOptions?: boolean | undefined;
3647
3668
  disableOnClickMenu?: boolean | undefined;
3648
3669
  width?: number | undefined;
3670
+ callDeleteApiOnRemove?: boolean | undefined;
3649
3671
  }>, {
3650
3672
  configName: string;
3651
3673
  label: undefined;
@@ -3657,6 +3679,7 @@ export declare const AImageWidget: DefineComponent<__VLS_WithDefaults_62<__VLS_T
3657
3679
  expandOptions: boolean;
3658
3680
  disableOnClickMenu: boolean;
3659
3681
  width: undefined;
3682
+ callDeleteApiOnRemove: boolean;
3660
3683
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3661
3684
  "update:modelValue": (data: IntegerIdNullable) => void;
3662
3685
  }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_62<__VLS_TypePropsToRuntimeProps_65<{
@@ -3672,6 +3695,7 @@ export declare const AImageWidget: DefineComponent<__VLS_WithDefaults_62<__VLS_T
3672
3695
  expandOptions?: boolean | undefined;
3673
3696
  disableOnClickMenu?: boolean | undefined;
3674
3697
  width?: number | undefined;
3698
+ callDeleteApiOnRemove?: boolean | undefined;
3675
3699
  }>, {
3676
3700
  configName: string;
3677
3701
  label: undefined;
@@ -3683,6 +3707,7 @@ export declare const AImageWidget: DefineComponent<__VLS_WithDefaults_62<__VLS_T
3683
3707
  expandOptions: boolean;
3684
3708
  disableOnClickMenu: boolean;
3685
3709
  width: undefined;
3710
+ callDeleteApiOnRemove: boolean;
3686
3711
  }>>> & {
3687
3712
  "onUpdate:modelValue"?: ((data: IntegerIdNullable) => any) | undefined;
3688
3713
  }, {
@@ -3694,6 +3719,7 @@ export declare const AImageWidget: DefineComponent<__VLS_WithDefaults_62<__VLS_T
3694
3719
  configName: string;
3695
3720
  expandOptions: boolean;
3696
3721
  disableOnClickMenu: boolean;
3722
+ callDeleteApiOnRemove: boolean;
3697
3723
  }, {}>;
3698
3724
 
3699
3725
  export declare const AImageWidgetMultiple: DefineComponent<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_67<{
@@ -3706,6 +3732,7 @@ export declare const AImageWidgetMultiple: DefineComponent<__VLS_WithDefaults_64
3706
3732
  readonly?: boolean | undefined;
3707
3733
  dataCy?: string | undefined;
3708
3734
  width?: number | undefined;
3735
+ callDeleteApiOnRemove?: boolean | undefined;
3709
3736
  }>, {
3710
3737
  configName: string;
3711
3738
  label: undefined;
@@ -3716,8 +3743,9 @@ export declare const AImageWidgetMultiple: DefineComponent<__VLS_WithDefaults_64
3716
3743
  dataCy: undefined;
3717
3744
  expandOptions: boolean;
3718
3745
  width: undefined;
3746
+ callDeleteApiOnRemove: boolean;
3719
3747
  }>, {
3720
- saveImages: () => Promise<false | void>;
3748
+ saveImages: () => Promise<boolean>;
3721
3749
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3722
3750
  "update:modelValue": (data: number[]) => void;
3723
3751
  }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_64<__VLS_TypePropsToRuntimeProps_67<{
@@ -3730,6 +3758,7 @@ export declare const AImageWidgetMultiple: DefineComponent<__VLS_WithDefaults_64
3730
3758
  readonly?: boolean | undefined;
3731
3759
  dataCy?: string | undefined;
3732
3760
  width?: number | undefined;
3761
+ callDeleteApiOnRemove?: boolean | undefined;
3733
3762
  }>, {
3734
3763
  configName: string;
3735
3764
  label: undefined;
@@ -3740,6 +3769,7 @@ export declare const AImageWidgetMultiple: DefineComponent<__VLS_WithDefaults_64
3740
3769
  dataCy: undefined;
3741
3770
  expandOptions: boolean;
3742
3771
  width: undefined;
3772
+ callDeleteApiOnRemove: boolean;
3743
3773
  }>>> & {
3744
3774
  "onUpdate:modelValue"?: ((data: number[]) => any) | undefined;
3745
3775
  }, {
@@ -3748,16 +3778,70 @@ export declare const AImageWidgetMultiple: DefineComponent<__VLS_WithDefaults_64
3748
3778
  dataCy: string;
3749
3779
  readonly: boolean;
3750
3780
  configName: string;
3781
+ callDeleteApiOnRemove: boolean;
3782
+ }, {}>;
3783
+
3784
+ export declare const AImageWidgetMultipleSimple: DefineComponent<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_68<{
3785
+ modelValue: IntegerId[];
3786
+ images?: ImageAware[] | undefined;
3787
+ configName?: string | undefined;
3788
+ label?: string | undefined;
3789
+ width?: number | undefined;
3790
+ disableAspectRatio?: boolean | undefined;
3791
+ aspectRatio?: string | number | undefined;
3792
+ showDescription?: boolean | undefined;
3793
+ showSource?: boolean | undefined;
3794
+ }>, {
3795
+ images: () => never[];
3796
+ configName: string;
3797
+ label: undefined;
3798
+ image: undefined;
3799
+ width: undefined;
3800
+ disableAspectRatio: boolean;
3801
+ aspectRatio: number;
3802
+ showDescription: boolean;
3803
+ showSource: boolean;
3804
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_65<__VLS_TypePropsToRuntimeProps_68<{
3805
+ modelValue: IntegerId[];
3806
+ images?: ImageAware[] | undefined;
3807
+ configName?: string | undefined;
3808
+ label?: string | undefined;
3809
+ width?: number | undefined;
3810
+ disableAspectRatio?: boolean | undefined;
3811
+ aspectRatio?: string | number | undefined;
3812
+ showDescription?: boolean | undefined;
3813
+ showSource?: boolean | undefined;
3814
+ }>, {
3815
+ images: () => never[];
3816
+ configName: string;
3817
+ label: undefined;
3818
+ image: undefined;
3819
+ width: undefined;
3820
+ disableAspectRatio: boolean;
3821
+ aspectRatio: number;
3822
+ showDescription: boolean;
3823
+ showSource: boolean;
3824
+ }>>>, {
3825
+ width: number;
3826
+ label: string;
3827
+ configName: string;
3828
+ disableAspectRatio: boolean;
3829
+ aspectRatio: number | string;
3830
+ showDescription: boolean;
3831
+ showSource: boolean;
3832
+ images: ImageAware[];
3751
3833
  }, {}>;
3752
3834
 
3753
3835
  export declare const AImageWidgetSimple: __VLS_WithTemplateSlots_15<DefineComponent<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_66<{
3754
3836
  modelValue: IntegerIdNullable | undefined;
3755
- image?: ImageAware | ImageCreateUpdateAware | undefined;
3837
+ image?: ImageAware | ImageCreateUpdateAware | null | undefined;
3756
3838
  configName?: string | undefined;
3757
3839
  label?: string | undefined;
3758
3840
  width?: number | undefined;
3759
3841
  disableAspectRatio?: boolean | undefined;
3760
3842
  aspectRatio?: string | number | undefined;
3843
+ showDescription?: boolean | undefined;
3844
+ showSource?: boolean | undefined;
3761
3845
  }>, {
3762
3846
  configName: string;
3763
3847
  label: undefined;
@@ -3765,14 +3849,18 @@ export declare const AImageWidgetSimple: __VLS_WithTemplateSlots_15<DefineCompon
3765
3849
  width: undefined;
3766
3850
  disableAspectRatio: boolean;
3767
3851
  aspectRatio: number;
3852
+ showDescription: boolean;
3853
+ showSource: boolean;
3768
3854
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_63<__VLS_TypePropsToRuntimeProps_66<{
3769
3855
  modelValue: IntegerIdNullable | undefined;
3770
- image?: ImageAware | ImageCreateUpdateAware | undefined;
3856
+ image?: ImageAware | ImageCreateUpdateAware | null | undefined;
3771
3857
  configName?: string | undefined;
3772
3858
  label?: string | undefined;
3773
3859
  width?: number | undefined;
3774
3860
  disableAspectRatio?: boolean | undefined;
3775
3861
  aspectRatio?: string | number | undefined;
3862
+ showDescription?: boolean | undefined;
3863
+ showSource?: boolean | undefined;
3776
3864
  }>, {
3777
3865
  configName: string;
3778
3866
  label: undefined;
@@ -3780,13 +3868,17 @@ export declare const AImageWidgetSimple: __VLS_WithTemplateSlots_15<DefineCompon
3780
3868
  width: undefined;
3781
3869
  disableAspectRatio: boolean;
3782
3870
  aspectRatio: number;
3871
+ showDescription: boolean;
3872
+ showSource: boolean;
3783
3873
  }>>>, {
3784
3874
  width: number;
3785
- image: ImageAware | ImageCreateUpdateAware;
3875
+ image: ImageAware | ImageCreateUpdateAware | null;
3786
3876
  label: string;
3787
3877
  configName: string;
3788
3878
  disableAspectRatio: boolean;
3789
3879
  aspectRatio: string | number;
3880
+ showDescription: boolean;
3881
+ showSource: boolean;
3790
3882
  }, {}>, {
3791
3883
  append?(_: {
3792
3884
  image: {
@@ -3849,7 +3941,7 @@ export declare const ALogData: DefineComponent<__VLS_WithDefaults_29<__VLS_TypeP
3849
3941
  data: any;
3850
3942
  }>, {}>>>, {}, {}>;
3851
3943
 
3852
- export declare const ALoginView: DefineComponent<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_69<{
3944
+ export declare const ALoginView: DefineComponent<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_70<{
3853
3945
  title?: string | undefined;
3854
3946
  logoUrl?: string | undefined;
3855
3947
  loginUrl?: undefined | (() => string);
@@ -3859,7 +3951,7 @@ export declare const ALoginView: DefineComponent<__VLS_WithDefaults_66<__VLS_Typ
3859
3951
  logoUrl: undefined;
3860
3952
  loginUrl: undefined;
3861
3953
  dataCy: string;
3862
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_66<__VLS_TypePropsToRuntimeProps_69<{
3954
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_70<{
3863
3955
  title?: string | undefined;
3864
3956
  logoUrl?: string | undefined;
3865
3957
  loginUrl?: undefined | (() => string);
@@ -3882,11 +3974,11 @@ export declare const ALogLevelChip: DefineComponent<__VLS_WithDefaults_52<__VLS_
3882
3974
  level: LogLevel;
3883
3975
  }>, {}>>>, {}, {}>;
3884
3976
 
3885
- export declare const ALogoutView: DefineComponent<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_70<{
3977
+ export declare const ALogoutView: DefineComponent<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_71<{
3886
3978
  logoutUrl?: undefined | (() => string);
3887
3979
  }>, {
3888
3980
  logoutUrl: undefined;
3889
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_67<__VLS_TypePropsToRuntimeProps_70<{
3981
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_71<{
3890
3982
  logoutUrl?: undefined | (() => string);
3891
3983
  }>, {
3892
3984
  logoutUrl: undefined;
@@ -3894,9 +3986,9 @@ export declare const ALogoutView: DefineComponent<__VLS_WithDefaults_67<__VLS_Ty
3894
3986
  logoutUrl: () => string;
3895
3987
  }, {}>;
3896
3988
 
3897
- export declare const ANotFoundView: DefineComponent<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_72<{
3989
+ export declare const ANotFoundView: DefineComponent<__VLS_WithDefaults_70<__VLS_TypePropsToRuntimeProps_73<{
3898
3990
  returnRouteName: string;
3899
- }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_72<{
3991
+ }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_70<__VLS_TypePropsToRuntimeProps_73<{
3900
3992
  returnRouteName: string;
3901
3993
  }>, {}>>>, {}, {}>;
3902
3994
 
@@ -4758,9 +4850,9 @@ declare interface AudioAttributes {
4758
4850
  bitrate: number;
4759
4851
  }
4760
4852
 
4761
- export declare const AUnauthorizedView: DefineComponent<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_71<{
4853
+ export declare const AUnauthorizedView: DefineComponent<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_72<{
4762
4854
  returnRouteName: string;
4763
- }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_68<__VLS_TypePropsToRuntimeProps_71<{
4855
+ }>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_69<__VLS_TypePropsToRuntimeProps_72<{
4764
4856
  returnRouteName: string;
4765
4857
  }>, {}>>>, {}, {}>;
4766
4858
 
@@ -5787,7 +5879,7 @@ declare interface ImageAttributes {
5787
5879
  animated: boolean;
5788
5880
  }
5789
5881
 
5790
- declare interface ImageAware {
5882
+ export declare interface ImageAware {
5791
5883
  id: IntegerId;
5792
5884
  texts: {
5793
5885
  description: string;
@@ -5800,10 +5892,14 @@ declare interface ImageAware {
5800
5892
  position: number;
5801
5893
  }
5802
5894
 
5803
- declare interface ImageCreateUpdateAware extends Omit<ImageAware, 'id'> {
5895
+ export declare interface ImageCreateUpdateAware extends Omit<ImageAware, 'id'> {
5804
5896
  id?: IntegerId;
5805
5897
  }
5806
5898
 
5899
+ export declare interface ImageCreateUpdateAwareKeyed extends ImageCreateUpdateAware {
5900
+ key: string;
5901
+ }
5902
+
5807
5903
  export declare type Immutable<T> = {
5808
5904
  readonly [K in keyof T]: Immutable<T[K]>;
5809
5905
  };
@@ -8027,6 +8123,12 @@ export declare function useDamUploadChunkSize(apiTimeout?: number): {
8027
8123
  updateChunkSize: (speed: number | null) => boolean;
8028
8124
  };
8029
8125
 
8126
+ export declare function useDropzoneGlobalDragState(): {
8127
+ isDraggingFile: Ref<boolean>;
8128
+ initGlobalDragState: () => void;
8129
+ destroyGlobalDragState: () => void;
8130
+ };
8131
+
8030
8132
  export declare function useErrors(): {
8031
8133
  isAnzuFatalError: (error: any) => error is AnzuFatalError;
8032
8134
  isAnzuApiForbiddenError: (error: any) => error is AnzuApiForbiddenError;