@anzusystems/common-admin 0.0.36 → 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.
- package/dist/common-admin.es.d.ts +37 -33
- package/dist/common-admin.es.js +2748 -2731
- package/dist/common-admin.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -2703,7 +2703,7 @@ export declare const ALoginView: DefineComponent<{
|
|
|
2703
2703
|
default: undefined;
|
|
2704
2704
|
};
|
|
2705
2705
|
loginUrl: {
|
|
2706
|
-
type: PropType<string | undefined>;
|
|
2706
|
+
type: PropType<(() => string) | undefined>;
|
|
2707
2707
|
required: false;
|
|
2708
2708
|
default: undefined;
|
|
2709
2709
|
};
|
|
@@ -2719,14 +2719,14 @@ export declare const ALoginView: DefineComponent<{
|
|
|
2719
2719
|
default: undefined;
|
|
2720
2720
|
};
|
|
2721
2721
|
loginUrl: {
|
|
2722
|
-
type: PropType<string | undefined>;
|
|
2722
|
+
type: PropType<(() => string) | undefined>;
|
|
2723
2723
|
required: false;
|
|
2724
2724
|
default: undefined;
|
|
2725
2725
|
};
|
|
2726
2726
|
}>>, {
|
|
2727
2727
|
title: string | undefined;
|
|
2728
2728
|
logoUrl: string | undefined;
|
|
2729
|
-
loginUrl: string | undefined;
|
|
2729
|
+
loginUrl: (() => string) | undefined;
|
|
2730
2730
|
}>;
|
|
2731
2731
|
|
|
2732
2732
|
export declare const ALogLevelChip: DefineComponent<{
|
|
@@ -2743,18 +2743,18 @@ export declare const ALogLevelChip: DefineComponent<{
|
|
|
2743
2743
|
|
|
2744
2744
|
export declare const ALogoutView: DefineComponent<{
|
|
2745
2745
|
logoutUrl: {
|
|
2746
|
-
type: PropType<string | undefined>;
|
|
2746
|
+
type: PropType<(() => string) | undefined>;
|
|
2747
2747
|
required: false;
|
|
2748
2748
|
default: undefined;
|
|
2749
2749
|
};
|
|
2750
2750
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
2751
2751
|
logoutUrl: {
|
|
2752
|
-
type: PropType<string | undefined>;
|
|
2752
|
+
type: PropType<(() => string) | undefined>;
|
|
2753
2753
|
required: false;
|
|
2754
2754
|
default: undefined;
|
|
2755
2755
|
};
|
|
2756
2756
|
}>>, {
|
|
2757
|
-
logoutUrl: string | undefined;
|
|
2757
|
+
logoutUrl: (() => string) | undefined;
|
|
2758
2758
|
}>;
|
|
2759
2759
|
|
|
2760
2760
|
export declare const ANotFoundView: DefineComponent<{
|
|
@@ -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
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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[];
|