alytus-ff 0.1.55 → 0.1.57
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/App.vue.d.ts +33 -3
- package/dist/alytus-ff.js +9233 -3184
- package/dist/alytus-ff.umd.cjs +1 -1
- package/dist/bundle-stats.html +1 -1
- package/dist/components/Nav/UserMenu.vue.d.ts +23 -3
- package/dist/index.d.ts +2 -1
- package/dist/types/DataTable.d.ts +1 -1
- package/dist/types/components/userMenu.d.ts +5 -0
- package/package.json +1 -1
- package/src/components/Nav/UserMenu.vue +49 -18
package/dist/App.vue.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { Filter } from './types/DataTable.ts';
|
|
|
5
5
|
import { UploadMethodFx } from './types/api/upload.ts';
|
|
6
6
|
import { ImageCropType } from './types/components/image.ts';
|
|
7
7
|
import { FileData } from './types/models/fileData.ts';
|
|
8
|
+
import { MenuAction } from './types/components/userMenu.ts';
|
|
8
9
|
declare const _default: import('vue').DefineComponent<{}, {
|
|
9
10
|
showDialog: import('vue').Ref<boolean, boolean>;
|
|
10
11
|
showDialog2: import('vue').Ref<boolean, boolean>;
|
|
@@ -101,6 +102,16 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
101
102
|
}>;
|
|
102
103
|
filterVal: import('vue').Ref<number, number>;
|
|
103
104
|
upload: UploadMethodFx;
|
|
105
|
+
userActions: import('vue').Ref<{
|
|
106
|
+
icon?: string | undefined;
|
|
107
|
+
title: string;
|
|
108
|
+
value: string;
|
|
109
|
+
}[], MenuAction[] | {
|
|
110
|
+
icon?: string | undefined;
|
|
111
|
+
title: string;
|
|
112
|
+
value: string;
|
|
113
|
+
}[]>;
|
|
114
|
+
actionClick: (e: string) => void;
|
|
104
115
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
105
116
|
ProfileEditDialog: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
106
117
|
showDialog: {
|
|
@@ -769,10 +780,18 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
769
780
|
type: StringConstructor;
|
|
770
781
|
required: true;
|
|
771
782
|
};
|
|
783
|
+
staticList: {
|
|
784
|
+
type: BooleanConstructor;
|
|
785
|
+
default: boolean;
|
|
786
|
+
};
|
|
772
787
|
multipleAccounts: {
|
|
773
788
|
type: BooleanConstructor;
|
|
774
789
|
default: boolean;
|
|
775
790
|
};
|
|
791
|
+
actions: {
|
|
792
|
+
type: import('vue').PropType<MenuAction[]>;
|
|
793
|
+
default: () => never[];
|
|
794
|
+
};
|
|
776
795
|
}>, {
|
|
777
796
|
isOpen: import('vue').Ref<boolean, boolean>;
|
|
778
797
|
userName: import('vue').ComputedRef<string>;
|
|
@@ -780,9 +799,9 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
780
799
|
accountIds: import('vue').ComputedRef<number[]>;
|
|
781
800
|
accountTitle: import('vue').ComputedRef<string>;
|
|
782
801
|
selectAccount: (account: IWorkspace) => void;
|
|
783
|
-
openProfile: () => void;
|
|
784
802
|
switchLang: (lang: LanguageAndFlag) => void;
|
|
785
|
-
|
|
803
|
+
actionClick: (action: string) => void;
|
|
804
|
+
emitClose: (name: "log-out" | "open-profile") => void;
|
|
786
805
|
}, {}, {}, {
|
|
787
806
|
mdiLogout(): string;
|
|
788
807
|
mdiAccount(): string;
|
|
@@ -792,7 +811,7 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
792
811
|
name: string;
|
|
793
812
|
surname: string | null;
|
|
794
813
|
}) => string;
|
|
795
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("open-profile" | "select-account" | "unselect-account" | "switch-lang" | "log-out")[], "open-profile" | "select-account" | "unselect-account" | "switch-lang" | "log-out", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
814
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("open-profile" | "select-account" | "unselect-account" | "switch-lang" | "log-out" | "action-click")[], "open-profile" | "select-account" | "unselect-account" | "switch-lang" | "log-out" | "action-click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
796
815
|
currentUser: {
|
|
797
816
|
type: import('vue').PropType<IUser>;
|
|
798
817
|
required: true;
|
|
@@ -817,17 +836,28 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
817
836
|
type: StringConstructor;
|
|
818
837
|
required: true;
|
|
819
838
|
};
|
|
839
|
+
staticList: {
|
|
840
|
+
type: BooleanConstructor;
|
|
841
|
+
default: boolean;
|
|
842
|
+
};
|
|
820
843
|
multipleAccounts: {
|
|
821
844
|
type: BooleanConstructor;
|
|
822
845
|
default: boolean;
|
|
823
846
|
};
|
|
847
|
+
actions: {
|
|
848
|
+
type: import('vue').PropType<MenuAction[]>;
|
|
849
|
+
default: () => never[];
|
|
850
|
+
};
|
|
824
851
|
}>> & Readonly<{
|
|
825
852
|
"onOpen-profile"?: ((...args: any[]) => any) | undefined;
|
|
826
853
|
"onSelect-account"?: ((...args: any[]) => any) | undefined;
|
|
827
854
|
"onUnselect-account"?: ((...args: any[]) => any) | undefined;
|
|
828
855
|
"onSwitch-lang"?: ((...args: any[]) => any) | undefined;
|
|
829
856
|
"onLog-out"?: ((...args: any[]) => any) | undefined;
|
|
857
|
+
"onAction-click"?: ((...args: any[]) => any) | undefined;
|
|
830
858
|
}>, {
|
|
859
|
+
actions: MenuAction[];
|
|
860
|
+
staticList: boolean;
|
|
831
861
|
multipleAccounts: boolean;
|
|
832
862
|
}, {}, {
|
|
833
863
|
AccountAvatar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|