alytus-ff 0.1.55 → 0.1.56

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 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
+ required: true;
794
+ };
776
795
  }>, {
777
796
  isOpen: import('vue').Ref<boolean, boolean>;
778
797
  userName: import('vue').ComputedRef<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,27 @@ 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
+ required: true;
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
+ staticList: boolean;
831
860
  multipleAccounts: boolean;
832
861
  }, {}, {
833
862
  AccountAvatar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{