@qqt-product/ui 6.0.0 → 7.0.1

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.
@@ -1,4 +1,4 @@
1
- import type { Menu, UserInfoType } from './src/types';
1
+ import type { Menu, UserInfoType, LayoutConfigType } from './src/types';
2
2
  import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
3
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
4
4
  import QQTLayout from './src/index.vue';
@@ -86,6 +86,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
86
86
  kefu: {
87
87
  type: FunctionConstructor;
88
88
  };
89
+ layoutConfig: {
90
+ type: PropType<LayoutConfigType>;
91
+ };
89
92
  }, {
90
93
  menuSelect: (obj: any) => void;
91
94
  scheduleClick: () => void;
@@ -179,6 +182,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
179
182
  kefu: {
180
183
  type: FunctionConstructor;
181
184
  };
185
+ layoutConfig: {
186
+ type: PropType<LayoutConfigType>;
187
+ };
182
188
  }>> & {
183
189
  onMenuSelect?: ((...args: any[]) => any) | undefined;
184
190
  "onSchedule-click"?: ((...args: any[]) => any) | undefined;
@@ -12,11 +12,17 @@ declare const _sfc_main: DefineComponent<{}, {
12
12
  shoppingMall: () => void;
13
13
  webFinancialCloud: () => void;
14
14
  webProcurement: () => void;
15
+ headerLayoutConfig: {
16
+ showTanentPageHome: boolean;
17
+ showShoppingMall: boolean;
18
+ showWebProcurement: boolean;
19
+ };
15
20
  btns: Ref<{
16
21
  title: string;
17
22
  icon: string;
18
23
  type: string;
19
24
  color?: string | undefined;
25
+ show?: boolean | undefined;
20
26
  }[]>;
21
27
  linkHandle: (type: string) => void;
22
28
  readonly QIcon: DefineComponent<{
@@ -73,6 +79,7 @@ declare const _sfc_main: DefineComponent<{}, {
73
79
  icon: string;
74
80
  type: string;
75
81
  color?: string | undefined;
82
+ show?: boolean | undefined;
76
83
  }[]>;
77
84
  iconToolClick: (type: string) => void;
78
85
  openChat: () => void;
@@ -27,6 +27,7 @@ declare const _sfc_main: DefineComponent<{}, {
27
27
  icon: string;
28
28
  type: string;
29
29
  color?: string | undefined;
30
+ show?: boolean | undefined;
30
31
  }[]>;
31
32
  iconToolClick: (type: string) => void;
32
33
  openChat: () => void;
@@ -18,6 +18,7 @@ declare const _sfc_main: DefineComponent<{}, {
18
18
  icon: string;
19
19
  type: string;
20
20
  color?: string | undefined;
21
+ show?: boolean | undefined;
21
22
  }[]>;
22
23
  iconToolClick: (type: string) => void;
23
24
  openChat: () => void;
@@ -1,5 +1,5 @@
1
1
  import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
- import type { Menu, UserInfoType } from './types';
2
+ import type { Menu, UserInfoType, LayoutConfigType } from './types';
3
3
  declare const _sfc_main: DefineComponent<{
4
4
  internalOrExternal: {
5
5
  type: BooleanConstructor;
@@ -83,6 +83,9 @@ declare const _sfc_main: DefineComponent<{
83
83
  kefu: {
84
84
  type: FunctionConstructor;
85
85
  };
86
+ layoutConfig: {
87
+ type: PropType<LayoutConfigType>;
88
+ };
86
89
  }, {
87
90
  menuSelect: (obj: any) => void;
88
91
  scheduleClick: () => void;
@@ -176,6 +179,9 @@ declare const _sfc_main: DefineComponent<{
176
179
  kefu: {
177
180
  type: FunctionConstructor;
178
181
  };
182
+ layoutConfig: {
183
+ type: PropType<LayoutConfigType>;
184
+ };
179
185
  }>> & {
180
186
  onMenuSelect?: ((...args: any[]) => any) | undefined;
181
187
  "onSchedule-click"?: ((...args: any[]) => any) | undefined;
@@ -46,6 +46,7 @@ export interface BtnPropsType {
46
46
  icon: string;
47
47
  type: string;
48
48
  color?: string;
49
+ show?: boolean;
49
50
  }
50
51
  export interface UserInfoType {
51
52
  token?: string;
@@ -67,3 +68,9 @@ export interface ColorListType {
67
68
  label: string;
68
69
  color: string;
69
70
  }
71
+ export interface LayoutConfigType {
72
+ showTanentPageHome?: boolean;
73
+ showShoppingMall?: boolean;
74
+ showWebProcurement?: boolean;
75
+ [propName: string]: any;
76
+ }
@@ -1,5 +1,5 @@
1
1
  export declare const ListConfig: {
2
- border: string;
2
+ border: boolean;
3
3
  stripe: boolean;
4
4
  resizable: boolean;
5
5
  autoResize: boolean;
@@ -59,6 +59,10 @@ export declare const ListConfig: {
59
59
  options: never[];
60
60
  };
61
61
  };
62
+ rowConfig: {
63
+ isHover: boolean;
64
+ isCurrent: boolean;
65
+ };
62
66
  };
63
67
  export declare const EditConfig: {
64
68
  border: boolean;