@anzusystems/common-admin 0.0.63 → 0.0.65
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 +34 -20
- package/dist/common-admin.es.js +554 -553
- package/dist/common-admin.es.js.map +1 -1
- package/package.json +4 -4
|
@@ -13,7 +13,9 @@ import type { ExtractPropTypes } from 'vue';
|
|
|
13
13
|
import type { I18n } from 'vue-i18n';
|
|
14
14
|
import type { InjectionKey } from 'vue';
|
|
15
15
|
import type { Method } from 'axios';
|
|
16
|
+
import type { OpUnitType } from 'dayjs';
|
|
16
17
|
import type { PropType } from 'vue';
|
|
18
|
+
import type { QUnitType } from 'dayjs';
|
|
17
19
|
import type { Ref } from 'vue';
|
|
18
20
|
import type { RouteLocationNormalized } from 'vue-router';
|
|
19
21
|
import type { RouteLocationRaw } from 'vue-router';
|
|
@@ -658,7 +660,7 @@ export declare const AAlerts: DefineComponent<{
|
|
|
658
660
|
|
|
659
661
|
export declare const AAnzuUserAvatar: DefineComponent<{
|
|
660
662
|
user: {
|
|
661
|
-
type: PropType<
|
|
663
|
+
type: PropType<AnzuUserMinimal | null | undefined>;
|
|
662
664
|
required: false;
|
|
663
665
|
default: undefined;
|
|
664
666
|
};
|
|
@@ -674,7 +676,7 @@ export declare const AAnzuUserAvatar: DefineComponent<{
|
|
|
674
676
|
};
|
|
675
677
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
676
678
|
user: {
|
|
677
|
-
type: PropType<
|
|
679
|
+
type: PropType<AnzuUserMinimal | null | undefined>;
|
|
678
680
|
required: false;
|
|
679
681
|
default: undefined;
|
|
680
682
|
};
|
|
@@ -691,7 +693,7 @@ export declare const AAnzuUserAvatar: DefineComponent<{
|
|
|
691
693
|
}>>, {
|
|
692
694
|
containerClass: string | undefined;
|
|
693
695
|
size: number | undefined;
|
|
694
|
-
user:
|
|
696
|
+
user: AnzuUserMinimal | null | undefined;
|
|
695
697
|
}>;
|
|
696
698
|
|
|
697
699
|
export declare const AAvatarColorPicker: DefineComponent<{
|
|
@@ -1157,7 +1159,7 @@ export declare const ACreateDialog: DefineComponent<{
|
|
|
1157
1159
|
|
|
1158
1160
|
export declare const ACurrentUserDropdown: DefineComponent<{
|
|
1159
1161
|
currentUser: {
|
|
1160
|
-
type: PropType<
|
|
1162
|
+
type: PropType<AnzuUserMinimal | null | undefined>;
|
|
1161
1163
|
required: true;
|
|
1162
1164
|
};
|
|
1163
1165
|
settingsRouteName: {
|
|
@@ -1170,7 +1172,7 @@ export declare const ACurrentUserDropdown: DefineComponent<{
|
|
|
1170
1172
|
};
|
|
1171
1173
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
1172
1174
|
currentUser: {
|
|
1173
|
-
type: PropType<
|
|
1175
|
+
type: PropType<AnzuUserMinimal | null | undefined>;
|
|
1174
1176
|
required: true;
|
|
1175
1177
|
};
|
|
1176
1178
|
settingsRouteName: {
|
|
@@ -3031,18 +3033,7 @@ export declare const AnzuSystemsCommonAdmin: {
|
|
|
3031
3033
|
install<T extends `${string}_${string}_${string}` = `${string}_${string}_${string}`>(app: App, options: PluginOptions<T>): void;
|
|
3032
3034
|
};
|
|
3033
3035
|
|
|
3034
|
-
export declare interface AnzuUser extends AnzuUserAndTimeTrackingAware {
|
|
3035
|
-
id: IntegerId;
|
|
3036
|
-
email: string;
|
|
3037
|
-
person: {
|
|
3038
|
-
firstName: string;
|
|
3039
|
-
lastName: string;
|
|
3040
|
-
fullName: string;
|
|
3041
|
-
};
|
|
3042
|
-
avatar: {
|
|
3043
|
-
color: string;
|
|
3044
|
-
text: string;
|
|
3045
|
-
};
|
|
3036
|
+
export declare interface AnzuUser extends AnzuUserAndTimeTrackingAware, AnzuUserMinimal {
|
|
3046
3037
|
enabled: boolean;
|
|
3047
3038
|
roles: string[];
|
|
3048
3039
|
permissionGroups: IntegerId[];
|
|
@@ -3058,6 +3049,20 @@ export declare interface AnzuUserAndTimeTrackingAware extends CreatedByAware {
|
|
|
3058
3049
|
modifiedBy: IntegerIdNullable;
|
|
3059
3050
|
}
|
|
3060
3051
|
|
|
3052
|
+
export declare interface AnzuUserMinimal {
|
|
3053
|
+
id: IntegerId;
|
|
3054
|
+
person: {
|
|
3055
|
+
firstName: string;
|
|
3056
|
+
lastName: string;
|
|
3057
|
+
fullName: string;
|
|
3058
|
+
};
|
|
3059
|
+
avatar: {
|
|
3060
|
+
color: string;
|
|
3061
|
+
text: string;
|
|
3062
|
+
};
|
|
3063
|
+
email: string;
|
|
3064
|
+
}
|
|
3065
|
+
|
|
3061
3066
|
export declare const APermissionGrantEditor: DefineComponent<{
|
|
3062
3067
|
availableGrants: {
|
|
3063
3068
|
type: PropType<Grant[]>;
|
|
@@ -3674,9 +3679,9 @@ export declare type DatatableSortBy = {
|
|
|
3674
3679
|
order: 'asc' | 'desc';
|
|
3675
3680
|
} | null | undefined;
|
|
3676
3681
|
|
|
3677
|
-
export declare const dateDiff: (
|
|
3682
|
+
export declare const dateDiff: (date1: Date, date2: Date, unit?: QUnitType | OpUnitType) => number;
|
|
3678
3683
|
|
|
3679
|
-
export declare const dateModifyMinutes: (minutes?: number, date?: null | Date) => Date
|
|
3684
|
+
export declare const dateModifyMinutes: (minutes?: number, date?: null | Date) => Date;
|
|
3680
3685
|
|
|
3681
3686
|
export declare const dateNow: () => Date;
|
|
3682
3687
|
|
|
@@ -3696,6 +3701,8 @@ export declare const dateTimePretty: (isoDate: DatetimeUTC | DatetimeUTCNullable
|
|
|
3696
3701
|
|
|
3697
3702
|
export declare const dateTimeStartOfDay: (days?: number) => string;
|
|
3698
3703
|
|
|
3704
|
+
export declare const dateTimeToDate: (isoDate: DatetimeUTC | DatetimeUTCNullable | string) => Date;
|
|
3705
|
+
|
|
3699
3706
|
export declare type DatetimeUTC = string;
|
|
3700
3707
|
|
|
3701
3708
|
export declare type DatetimeUTCNullable = string | null;
|
|
@@ -3974,6 +3981,9 @@ export declare const messagesEn: {
|
|
|
3974
3981
|
add: string;
|
|
3975
3982
|
download: string;
|
|
3976
3983
|
upload: string;
|
|
3984
|
+
refresh: string;
|
|
3985
|
+
forwards: string;
|
|
3986
|
+
backwards: string;
|
|
3977
3987
|
};
|
|
3978
3988
|
model: {
|
|
3979
3989
|
system: string;
|
|
@@ -4343,7 +4353,10 @@ export declare const messagesSk: {
|
|
|
4343
4353
|
copyId: string;
|
|
4344
4354
|
add: string;
|
|
4345
4355
|
download: string;
|
|
4346
|
-
|
|
4356
|
+
upload: string;
|
|
4357
|
+
refresh: string;
|
|
4358
|
+
forwards: string;
|
|
4359
|
+
backwards: string;
|
|
4347
4360
|
};
|
|
4348
4361
|
model: {
|
|
4349
4362
|
system: string;
|
|
@@ -4940,6 +4953,7 @@ export declare const useCommonVuetifyConfig: () => {
|
|
|
4940
4953
|
};
|
|
4941
4954
|
VSwitch: {
|
|
4942
4955
|
color: string;
|
|
4956
|
+
density: string;
|
|
4943
4957
|
};
|
|
4944
4958
|
VCard: {
|
|
4945
4959
|
variant: string;
|