@anzusystems/common-admin 0.0.37 → 0.0.38

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.
@@ -3465,6 +3465,8 @@ export declare type DocId = string;
3465
3465
 
3466
3466
  export declare type DocIdNullable = string | null;
3467
3467
 
3468
+ export declare type EnableDisable = 'enable' | 'disable';
3469
+
3468
3470
  export declare const eventClickBlur: (event?: Event) => void;
3469
3471
 
3470
3472
  declare type FetchItemsByIdsType = ((ids: number[]) => Promise<ValueObjectOption<number>[]>) | ((ids: string[]) => Promise<ValueObjectOption<string>[]>);
@@ -3980,9 +3982,9 @@ export declare const messagesEn: {
3980
3982
  };
3981
3983
  };
3982
3984
  };
3983
- validations: {
3984
- api: {
3985
- validation_failed: string;
3985
+ error: {
3986
+ apiValidation: {
3987
+ noTranslation: string;
3986
3988
  error_id_mismatch: string;
3987
3989
  error_field_empty: string;
3988
3990
  error_field_length_min: string;
@@ -3996,11 +3998,20 @@ export declare const messagesEn: {
3996
3998
  error_field_url: string;
3997
3999
  error_already_exists: string;
3998
4000
  };
3999
- js: {
4001
+ apiForbiddenOperation: {
4002
+ noTranslation: string;
4003
+ };
4004
+ jsValidation: {
4000
4005
  required: string;
4006
+ between: string;
4001
4007
  minLength: string;
4002
4008
  maxLength: string;
4009
+ maxValue: string;
4010
+ minValue: string;
4003
4011
  email: string;
4012
+ url: string;
4013
+ numeric: string;
4014
+ slug: string;
4004
4015
  stringArrayItemLength: string;
4005
4016
  };
4006
4017
  };
@@ -4013,6 +4024,7 @@ export declare const messagesSk: {
4013
4024
  forbiddenError: string;
4014
4025
  fixValidationErrors: string;
4015
4026
  fixApiValidationErrors: string;
4027
+ apiForbiddenOperationError: string;
4016
4028
  recordWas: {
4017
4029
  created: string;
4018
4030
  updated: string;
@@ -4331,9 +4343,9 @@ export declare const messagesSk: {
4331
4343
  };
4332
4344
  };
4333
4345
  };
4334
- validations: {
4335
- api: {
4336
- validation_failed: string;
4346
+ error: {
4347
+ apiValidation: {
4348
+ noTranslation: string;
4337
4349
  error_id_mismatch: string;
4338
4350
  error_field_empty: string;
4339
4351
  error_field_length_min: string;
@@ -4347,11 +4359,20 @@ export declare const messagesSk: {
4347
4359
  error_field_url: string;
4348
4360
  error_already_exists: string;
4349
4361
  };
4350
- js: {
4362
+ apiForbiddenOperation: {
4363
+ noTranslation: string;
4364
+ };
4365
+ jsValidation: {
4351
4366
  required: string;
4367
+ between: string;
4352
4368
  minLength: string;
4353
4369
  maxLength: string;
4370
+ maxValue: string;
4371
+ minValue: string;
4354
4372
  email: string;
4373
+ url: string;
4374
+ numeric: string;
4375
+ slug: string;
4355
4376
  stringArrayItemLength: string;
4356
4377
  };
4357
4378
  };
@@ -4541,7 +4562,8 @@ export declare function useAlerts(): {
4541
4562
  showWarningT: (translation: string, duration?: number) => void;
4542
4563
  showValidationError: (duration?: number) => void;
4543
4564
  showRecordWas: (variant: RecordWasType, duration?: number) => void;
4544
- showApiError: (errors: ValidationError[], duration?: number, fieldIsTranslated?: boolean) => void;
4565
+ showApiValidationError: (errors: ValidationError[], duration?: number, fieldIsTranslated?: boolean) => void;
4566
+ showApiForbiddenOperationError: (detail: string, duration?: number) => void;
4545
4567
  showUnknownError: (duration?: number) => void;
4546
4568
  showForbiddenError: (duration?: number) => void;
4547
4569
  showErrorsDefault: (error: any) => void;
@@ -4827,24 +4849,6 @@ export declare function useValidate(): {
4827
4849
  };
4828
4850
  };
4829
4851
 
4830
- export declare function useValidateLatitude(): any;
4831
-
4832
- export declare function useValidateLatitudeNotZeroAsLongitude(): (value: string, siblings: {
4833
- longitudeText: Ref<string>;
4834
- }, vm: {
4835
- required: boolean;
4836
- }) => boolean;
4837
-
4838
- export declare function useValidateLongitude(): any;
4839
-
4840
- export declare function useValidateLongitudeNotZeroAsLatitude(): (value: string, siblings: {
4841
- latitudeText: Ref<string>;
4842
- }, vm: {
4843
- required: boolean;
4844
- }) => boolean;
4845
-
4846
- export declare function useValidateSlovakPhoneNumber(): any;
4847
-
4848
4852
  declare interface ValidationError {
4849
4853
  field: string;
4850
4854
  errors: string[];