@anzusystems/common-admin 0.0.37 → 0.0.39

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.
@@ -1387,7 +1387,7 @@ export declare const AFilterRemoteAutocomplete: DefineComponent<{
1387
1387
  required: true;
1388
1388
  };
1389
1389
  fetchItemsByIds: {
1390
- type: PropType<FetchItemsByIdsType>;
1390
+ type: PropType<fetchItemsByIdsType_2>;
1391
1391
  required: true;
1392
1392
  };
1393
1393
  innerFilter: {
@@ -1399,6 +1399,11 @@ export declare const AFilterRemoteAutocomplete: DefineComponent<{
1399
1399
  required: false;
1400
1400
  default: string;
1401
1401
  };
1402
+ disableInitFetch: {
1403
+ type: PropType<boolean | undefined>;
1404
+ required: false;
1405
+ default: boolean;
1406
+ };
1402
1407
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1403
1408
  modelValue: {
1404
1409
  type: PropType<Filter<any>>;
@@ -1409,7 +1414,7 @@ export declare const AFilterRemoteAutocomplete: DefineComponent<{
1409
1414
  required: true;
1410
1415
  };
1411
1416
  fetchItemsByIds: {
1412
- type: PropType<FetchItemsByIdsType>;
1417
+ type: PropType<fetchItemsByIdsType_2>;
1413
1418
  required: true;
1414
1419
  };
1415
1420
  innerFilter: {
@@ -1421,10 +1426,16 @@ export declare const AFilterRemoteAutocomplete: DefineComponent<{
1421
1426
  required: false;
1422
1427
  default: string;
1423
1428
  };
1429
+ disableInitFetch: {
1430
+ type: PropType<boolean | undefined>;
1431
+ required: false;
1432
+ default: boolean;
1433
+ };
1424
1434
  }>> & {
1425
1435
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1426
1436
  }, {
1427
1437
  filterByField: string | undefined;
1438
+ disableInitFetch: boolean | undefined;
1428
1439
  }>;
1429
1440
 
1430
1441
  export declare const AFilterResetButton: DefineComponent<{
@@ -1472,6 +1483,11 @@ export declare const AFilterString: DefineComponent<{
1472
1483
  type: PropType<Filter<any>>;
1473
1484
  required: true;
1474
1485
  };
1486
+ placeholder: {
1487
+ type: PropType<string | undefined>;
1488
+ required: false;
1489
+ default: undefined;
1490
+ };
1475
1491
  dataCy: {
1476
1492
  type: PropType<string | undefined>;
1477
1493
  required: false;
@@ -1482,6 +1498,11 @@ export declare const AFilterString: DefineComponent<{
1482
1498
  type: PropType<Filter<any>>;
1483
1499
  required: true;
1484
1500
  };
1501
+ placeholder: {
1502
+ type: PropType<string | undefined>;
1503
+ required: false;
1504
+ default: undefined;
1505
+ };
1485
1506
  dataCy: {
1486
1507
  type: PropType<string | undefined>;
1487
1508
  required: false;
@@ -1491,6 +1512,7 @@ export declare const AFilterString: DefineComponent<{
1491
1512
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1492
1513
  }, {
1493
1514
  dataCy: string | undefined;
1515
+ placeholder: string | undefined;
1494
1516
  }>;
1495
1517
 
1496
1518
  export declare const AFilterSubmitButton: DefineComponent<{
@@ -3465,12 +3487,14 @@ export declare type DocId = string;
3465
3487
 
3466
3488
  export declare type DocIdNullable = string | null;
3467
3489
 
3468
- export declare const eventClickBlur: (event?: Event) => void;
3490
+ export declare type EnableDisable = 'enable' | 'disable';
3469
3491
 
3470
- declare type FetchItemsByIdsType = ((ids: number[]) => Promise<ValueObjectOption<number>[]>) | ((ids: string[]) => Promise<ValueObjectOption<string>[]>);
3492
+ export declare const eventClickBlur: (event?: Event) => void;
3471
3493
 
3472
3494
  declare type fetchItemsByIdsType = ((ids: IntegerId[]) => Promise<ValueObjectOption<IntegerId>[]>) | ((ids: DocId[]) => Promise<ValueObjectOption<DocId>[]>);
3473
3495
 
3496
+ declare type fetchItemsByIdsType_2 = ((ids: IntegerId[]) => Promise<ValueObjectOption<IntegerId>[]>) | ((ids: DocId[]) => Promise<ValueObjectOption<DocId>[]>);
3497
+
3474
3498
  declare type FetchItemsMinimalType = (pagination: Pagination, filterBag: FilterBag) => Promise<any[]>;
3475
3499
 
3476
3500
  export declare interface Filter<T = any> {
@@ -3708,6 +3732,11 @@ export declare const messagesEn: {
3708
3732
  created: string;
3709
3733
  modified: string;
3710
3734
  };
3735
+ filterPlaceholder: {
3736
+ eq: string;
3737
+ anyWhere: string;
3738
+ startsWith: string;
3739
+ };
3711
3740
  };
3712
3741
  system: {
3713
3742
  version: string;
@@ -3980,9 +4009,9 @@ export declare const messagesEn: {
3980
4009
  };
3981
4010
  };
3982
4011
  };
3983
- validations: {
3984
- api: {
3985
- validation_failed: string;
4012
+ error: {
4013
+ apiValidation: {
4014
+ noTranslation: string;
3986
4015
  error_id_mismatch: string;
3987
4016
  error_field_empty: string;
3988
4017
  error_field_length_min: string;
@@ -3996,11 +4025,20 @@ export declare const messagesEn: {
3996
4025
  error_field_url: string;
3997
4026
  error_already_exists: string;
3998
4027
  };
3999
- js: {
4028
+ apiForbiddenOperation: {
4029
+ noTranslation: string;
4030
+ };
4031
+ jsValidation: {
4000
4032
  required: string;
4033
+ between: string;
4001
4034
  minLength: string;
4002
4035
  maxLength: string;
4036
+ maxValue: string;
4037
+ minValue: string;
4003
4038
  email: string;
4039
+ url: string;
4040
+ numeric: string;
4041
+ slug: string;
4004
4042
  stringArrayItemLength: string;
4005
4043
  };
4006
4044
  };
@@ -4013,6 +4051,7 @@ export declare const messagesSk: {
4013
4051
  forbiddenError: string;
4014
4052
  fixValidationErrors: string;
4015
4053
  fixApiValidationErrors: string;
4054
+ apiForbiddenOperationError: string;
4016
4055
  recordWas: {
4017
4056
  created: string;
4018
4057
  updated: string;
@@ -4059,6 +4098,11 @@ export declare const messagesSk: {
4059
4098
  created: string;
4060
4099
  modified: string;
4061
4100
  };
4101
+ filterPlaceholder: {
4102
+ eq: string;
4103
+ anyWhere: string;
4104
+ startsWith: string;
4105
+ };
4062
4106
  };
4063
4107
  system: {
4064
4108
  version: string;
@@ -4331,9 +4375,9 @@ export declare const messagesSk: {
4331
4375
  };
4332
4376
  };
4333
4377
  };
4334
- validations: {
4335
- api: {
4336
- validation_failed: string;
4378
+ error: {
4379
+ apiValidation: {
4380
+ noTranslation: string;
4337
4381
  error_id_mismatch: string;
4338
4382
  error_field_empty: string;
4339
4383
  error_field_length_min: string;
@@ -4347,11 +4391,20 @@ export declare const messagesSk: {
4347
4391
  error_field_url: string;
4348
4392
  error_already_exists: string;
4349
4393
  };
4350
- js: {
4394
+ apiForbiddenOperation: {
4395
+ noTranslation: string;
4396
+ };
4397
+ jsValidation: {
4351
4398
  required: string;
4399
+ between: string;
4352
4400
  minLength: string;
4353
4401
  maxLength: string;
4402
+ maxValue: string;
4403
+ minValue: string;
4354
4404
  email: string;
4405
+ url: string;
4406
+ numeric: string;
4407
+ slug: string;
4355
4408
  stringArrayItemLength: string;
4356
4409
  };
4357
4410
  };
@@ -4541,10 +4594,11 @@ export declare function useAlerts(): {
4541
4594
  showWarningT: (translation: string, duration?: number) => void;
4542
4595
  showValidationError: (duration?: number) => void;
4543
4596
  showRecordWas: (variant: RecordWasType, duration?: number) => void;
4544
- showApiError: (errors: ValidationError[], duration?: number, fieldIsTranslated?: boolean) => void;
4597
+ showApiValidationError: (errors: ValidationError[], duration?: number, fieldIsTranslated?: boolean) => void;
4598
+ showApiForbiddenOperationError: (detail: string, duration?: number) => void;
4545
4599
  showUnknownError: (duration?: number) => void;
4546
4600
  showForbiddenError: (duration?: number) => void;
4547
- showErrorsDefault: (error: any) => void;
4601
+ showErrorsDefault: (error: any) => boolean;
4548
4602
  };
4549
4603
 
4550
4604
  export declare function useAnzuUserFactory(system?: string, resourceName?: string): {
@@ -4827,24 +4881,6 @@ export declare function useValidate(): {
4827
4881
  };
4828
4882
  };
4829
4883
 
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
4884
  declare interface ValidationError {
4849
4885
  field: string;
4850
4886
  errors: string[];