@qqt-product/ui 0.0.12 → 0.0.14

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.
Files changed (192) hide show
  1. package/dist/index.es.js +56339 -59301
  2. package/dist/index.umd.js +15222 -56
  3. package/dist/lib/components/breadcrumb/index.d.ts +10 -0
  4. package/dist/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -0
  5. package/dist/lib/components/card-list-layout/index.d.ts +147 -0
  6. package/dist/lib/components/card-list-layout/src/card-content.vue.d.ts +70 -0
  7. package/dist/lib/components/card-list-layout/src/cardItem.vue.d.ts +79 -0
  8. package/dist/lib/components/card-list-layout/src/index.vue.d.ts +144 -0
  9. package/dist/lib/components/card-list-layout/src/sidebar.vue.d.ts +30 -0
  10. package/dist/lib/components/card-list-layout/src/types.d.ts +41 -0
  11. package/dist/lib/components/cascader/index.d.ts +43 -55
  12. package/dist/lib/components/cascader/src/cascader-types.d.ts +17 -23
  13. package/dist/lib/components/cascader/src/cascader.vue.d.ts +43 -55
  14. package/dist/lib/components/cascader/src/use-cascader.d.ts +2 -2
  15. package/dist/lib/components/checkbox/index.d.ts +113 -0
  16. package/dist/lib/components/checkbox/src/checkbox-types.d.ts +62 -0
  17. package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +109 -0
  18. package/dist/lib/components/checkbox/src/use-checkbox.d.ts +2 -0
  19. package/dist/lib/components/codeEditorModel/index.d.ts +93 -0
  20. package/dist/lib/components/codeEditorModel/src/codeEditorModel.vue.d.ts +90 -0
  21. package/dist/lib/components/collapse-transition/index.d.ts +16 -0
  22. package/dist/lib/components/collapse-transition/src/collapse-transition.vue.d.ts +15 -0
  23. package/dist/lib/components/coutdown/index.d.ts +84 -0
  24. package/dist/lib/components/coutdown/src/coutdown.d.ts +48 -0
  25. package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +81 -0
  26. package/dist/lib/components/currency/index.d.ts +109 -0
  27. package/dist/lib/components/currency/src/currency-type.d.ts +47 -0
  28. package/dist/lib/components/currency/src/currency.vue.d.ts +105 -0
  29. package/dist/lib/components/currency/src/use-currency.d.ts +2 -0
  30. package/dist/lib/components/currency/src/use-methods.d.ts +14 -0
  31. package/dist/lib/components/detail-form/index.d.ts +102 -0
  32. package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +99 -0
  33. package/dist/lib/components/detail-form/src/use-detail-form.d.ts +2 -0
  34. package/dist/lib/components/detail-grid/index.d.ts +2678 -0
  35. package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +2675 -0
  36. package/dist/lib/components/detail-grid/src/hook/use-grid-config-hook.d.ts +10 -0
  37. package/dist/lib/components/detail-grid/src/use-detail-grid.d.ts +2 -0
  38. package/dist/lib/components/detail-page-layout/index.d.ts +186 -0
  39. package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +183 -0
  40. package/dist/lib/components/detail-page-layout/src/use-detail-page-layout.d.ts +2 -0
  41. package/dist/lib/components/edit-form/index.d.ts +104 -63
  42. package/dist/lib/components/edit-form/src/edit-form-types.d.ts +28 -24
  43. package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +105 -63
  44. package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +11 -0
  45. package/dist/lib/components/edit-form/src/hook/use-form-config-hook.d.ts +8 -0
  46. package/dist/lib/components/edit-form/src/use-edit-form.d.ts +1 -1
  47. package/dist/lib/components/edit-grid/index.d.ts +414 -343
  48. package/dist/lib/components/edit-grid/src/components/empty/index.d.ts +8 -0
  49. package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +33 -24
  50. package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +414 -343
  51. package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +10 -0
  52. package/dist/lib/components/edit-grid/src/hook/use-grid-height-hook.d.ts +4 -0
  53. package/dist/lib/components/edit-grid/src/use-edit-grid.d.ts +1 -1
  54. package/dist/lib/components/edit-page-layout/index.d.ts +67 -11
  55. package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +212 -40
  56. package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +67 -11
  57. package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -0
  58. package/dist/lib/components/editor/index.d.ts +31 -0
  59. package/dist/lib/components/editor/src/index.vue.d.ts +28 -0
  60. package/dist/lib/components/field-select-modal/index.d.ts +150 -0
  61. package/dist/lib/components/field-select-modal/src/field-select-modal-types.d.ts +85 -0
  62. package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +146 -0
  63. package/dist/lib/components/field-select-modal/src/use-field-select-modal.d.ts +6 -0
  64. package/dist/lib/components/index.d.ts +23 -3
  65. package/dist/lib/components/item-wrap/index.d.ts +57 -0
  66. package/dist/lib/components/item-wrap/src/item-wrap-types.d.ts +27 -0
  67. package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +53 -0
  68. package/dist/lib/components/item-wrap/src/use-item-wrap.d.ts +2 -0
  69. package/dist/lib/components/layout/index.d.ts +94 -13
  70. package/dist/lib/components/layout/src/header/index.vue.d.ts +117 -84
  71. package/dist/lib/components/layout/src/header/navRight/customMessage.vue.d.ts +10 -19
  72. package/dist/lib/components/layout/src/header/navRight/customPerson.vue.d.ts +16 -3
  73. package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +105 -67
  74. package/dist/lib/components/layout/src/header/navRight/langSwitch.vue.d.ts +27 -7
  75. package/dist/lib/components/layout/src/header/navRight/rightTool.vue.d.ts +26 -43
  76. package/dist/lib/components/layout/src/header/navRight/settingDrawer.vue.d.ts +34 -0
  77. package/dist/lib/components/layout/src/index.vue.d.ts +94 -27
  78. package/dist/lib/components/layout/src/menu/deepCycleSubMenu.vue.d.ts +5 -2
  79. package/dist/lib/components/layout/src/menu/menu.vue.d.ts +57 -73
  80. package/dist/lib/components/layout/src/menu/secondLevelMenu.vue.d.ts +5 -23
  81. package/dist/lib/components/layout/src/menu/subSecondMenu.vue.d.ts +4 -22
  82. package/dist/lib/components/layout/src/sider/index.vue.d.ts +24 -25
  83. package/dist/lib/components/layout/src/sider/logo.vue.d.ts +1 -10
  84. package/dist/lib/components/layout/src/sider/search.vue.d.ts +78 -3
  85. package/dist/lib/components/layout/src/types.d.ts +68 -0
  86. package/dist/lib/components/{layout-auchor → layout-anchor}/index.d.ts +10 -7
  87. package/dist/lib/components/{layout-auchor/src/layout-auchor-types.d.ts → layout-anchor/src/layout-anchor-types.d.ts} +3 -3
  88. package/dist/lib/components/{layout-auchor → layout-anchor}/src/layout-auchor.vue.d.ts +7 -4
  89. package/dist/lib/components/layout-anchor/src/use-layout-anchor.d.ts +2 -0
  90. package/dist/lib/components/layout-buttons/index.d.ts +39 -2
  91. package/dist/lib/components/layout-buttons/src/layout-buttons-types.d.ts +16 -0
  92. package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +39 -2
  93. package/dist/lib/components/layout-buttons/src/use-layout-buttons.d.ts +1 -1
  94. package/dist/lib/components/layout-pattern/index.d.ts +8 -14
  95. package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +72 -4
  96. package/dist/lib/components/layout-pattern/src/layout-pattern-types.d.ts +3 -5
  97. package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +8 -14
  98. package/dist/lib/components/list-page-layout/index.d.ts +244 -0
  99. package/dist/lib/components/list-page-layout/src/components/common/add-modal/add-modal.vue.d.ts +21 -0
  100. package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +293 -0
  101. package/dist/lib/components/list-page-layout/src/components/common/columnSetting/use-grid-slot-hook.d.ts +22 -0
  102. package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/edit-nav-modal.vue.d.ts +16 -0
  103. package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/types.d.ts +4 -0
  104. package/dist/lib/components/list-page-layout/src/components/common/help-text-modal/help-text-modal.vue.d.ts +8 -0
  105. package/dist/lib/components/list-page-layout/src/components/common/import-modal/import-modal.vue.d.ts +40 -0
  106. package/dist/lib/components/list-page-layout/src/components/common/record-modal/mock.d.ts +48 -0
  107. package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +5178 -0
  108. package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +13 -0
  109. package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +95 -0
  110. package/dist/lib/components/list-page-layout/src/components/list-content-buttons/events-helper.d.ts +6 -0
  111. package/dist/lib/components/list-page-layout/src/components/list-content-buttons/list-content-buttons.vue.d.ts +33 -0
  112. package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +27 -0
  113. package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +15 -0
  114. package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +9 -0
  115. package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +103 -0
  116. package/dist/lib/components/list-page-layout/src/components/list-header/module/tabs/index.vue.d.ts +56 -0
  117. package/dist/lib/components/list-page-layout/src/hooks/export-xls-hook.d.ts +4 -0
  118. package/dist/lib/components/list-page-layout/src/hooks/fetch-data-hook.d.ts +5 -0
  119. package/dist/lib/components/list-page-layout/src/hooks/fetch-head-data-hook.d.ts +6 -0
  120. package/dist/lib/components/list-page-layout/src/hooks/get-columns-hook.d.ts +6 -0
  121. package/dist/lib/components/list-page-layout/src/hooks/list-slot-hook.d.ts +9 -0
  122. package/dist/lib/components/list-page-layout/src/hooks/use-button-function-hook.d.ts +13 -0
  123. package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +238 -0
  124. package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +358 -0
  125. package/dist/lib/components/list-page-layout/src/symbol.d.ts +11 -0
  126. package/dist/lib/components/list-page-layout/src/tokens.d.ts +12 -0
  127. package/dist/lib/components/list-page-layout/src/types.d.ts +1 -0
  128. package/dist/lib/components/list-page-layout/src/utils/gridConfig.d.ts +174 -0
  129. package/dist/lib/components/page-layout/index.d.ts +12 -2
  130. package/dist/lib/components/page-layout/src/constant/buttons.d.ts +10 -0
  131. package/dist/lib/components/page-layout/src/constant/index.d.ts +3 -0
  132. package/dist/lib/components/page-layout/src/constant/items.d.ts +3 -0
  133. package/dist/lib/components/page-layout/src/constant/symbol.d.ts +15 -0
  134. package/dist/lib/components/page-layout/src/hook/use-merge-defaultValues-hook.d.ts +6 -0
  135. package/dist/lib/components/page-layout/src/hook/use-page-data-hook.d.ts +6 -0
  136. package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +26 -0
  137. package/dist/lib/components/page-layout/src/hook/use-ref-instance-hook.d.ts +7 -0
  138. package/dist/lib/components/page-layout/src/hook/use-remote-config-hook.d.ts +5 -2
  139. package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +7 -2
  140. package/dist/lib/components/page-layout/src/token.d.ts +7 -1
  141. package/dist/lib/components/page-layout/src/util.d.ts +10 -35
  142. package/dist/lib/components/radio/index.d.ts +104 -0
  143. package/dist/lib/components/radio/src/radio-types.d.ts +56 -0
  144. package/dist/lib/components/radio/src/radio.vue.d.ts +100 -0
  145. package/dist/lib/components/radio/src/use-radio.d.ts +2 -0
  146. package/dist/lib/components/remote-select/index.d.ts +122 -0
  147. package/dist/lib/components/remote-select/src/remote-select-types.d.ts +50 -0
  148. package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +118 -0
  149. package/dist/lib/components/remote-select/src/use-remote-select.d.ts +6 -0
  150. package/dist/lib/components/select/index.d.ts +8 -39
  151. package/dist/lib/components/select/src/select-types.d.ts +4 -15
  152. package/dist/lib/components/select/src/select.vue.d.ts +8 -39
  153. package/dist/lib/components/select/src/use-select.d.ts +2 -2
  154. package/dist/lib/components/select-modal/index.d.ts +333 -0
  155. package/dist/lib/components/select-modal/src/select-modal-types.d.ts +51 -0
  156. package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +329 -0
  157. package/dist/lib/components/select-modal/src/use-select-modal.d.ts +6 -0
  158. package/dist/lib/components/shared/hooks/use-namespace-last.d.ts +23 -0
  159. package/dist/lib/components/shared/hooks/use-namespace.d.ts +3 -3
  160. package/dist/lib/components/switch/index.d.ts +2 -4
  161. package/dist/lib/components/switch/src/switch-types.d.ts +0 -2
  162. package/dist/lib/components/switch/src/switch.vue.d.ts +2 -4
  163. package/dist/lib/components/tree-select/index.d.ts +114 -0
  164. package/dist/lib/components/tree-select/src/tree-select-types.d.ts +60 -0
  165. package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +110 -0
  166. package/dist/lib/components/tree-select/src/use-tree-select.d.ts +2 -0
  167. package/dist/lib/components/upload-file/index.d.ts +274 -0
  168. package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +34 -0
  169. package/dist/lib/components/upload-file/src/hook/use-operation-column-button-hook.d.ts +11 -0
  170. package/dist/lib/components/upload-file/src/upload-file-types.d.ts +141 -0
  171. package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +267 -0
  172. package/dist/lib/components/upload-image/index.d.ts +191 -0
  173. package/dist/lib/components/upload-image/src/upload-image-type.d.ts +53 -0
  174. package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +187 -0
  175. package/dist/lib/components/vxe-select/index.d.ts +116 -0
  176. package/dist/lib/components/vxe-select/src/use-vxe-select.d.ts +2 -0
  177. package/dist/lib/components/vxe-select/src/vxe-select-types.d.ts +58 -0
  178. package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +112 -0
  179. package/dist/lib/index.d.ts +15 -2
  180. package/dist/lib/setting/vxe-table/config.d.ts +3 -0
  181. package/dist/lib/utils/event.d.ts +37 -0
  182. package/dist/style.css +6 -8
  183. package/dist/vite-env.d.ts +15 -0
  184. package/package.json +35 -22
  185. package/dist/lib/components/layout/src/menu/icon.d.ts +0 -6
  186. package/dist/lib/components/layout-auchor/src/use-layout-auchor.d.ts +0 -2
  187. package/dist/lib/components/layout-header/index.d.ts +0 -17
  188. package/dist/lib/components/layout-header/src/layout-header-types.d.ts +0 -8
  189. package/dist/lib/components/layout-header/src/layout-header.vue.d.ts +0 -13
  190. package/dist/lib/components/layout-header/src/use-layout-header.d.ts +0 -2
  191. package/dist/lib/constant/constant.d.ts +0 -1
  192. package/dist/lib/types/ComponentCustomProperties .d.ts +0 -6
@@ -1,9 +1,13 @@
1
- import type { MenuProps } from './src/index.vue';
2
- import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
1
+ import type { Menu, UserInfoType } from './src/types';
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';
5
5
  export { QQTLayout };
6
6
  declare const _default: SFCWithInstall<DefineComponent<{
7
+ internalOrExternal: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
7
11
  version: {
8
12
  type: StringConstructor;
9
13
  };
@@ -27,10 +31,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
27
31
  };
28
32
  menus: {
29
33
  type: {
30
- (arrayLength: number): MenuProps[];
31
- (...items: MenuProps[]): MenuProps[];
32
- new (arrayLength: number): MenuProps[];
33
- new (...items: MenuProps[]): MenuProps[];
34
+ (arrayLength: number): Menu[];
35
+ (...items: Menu[]): Menu[];
36
+ new (arrayLength: number): Menu[];
37
+ new (...items: Menu[]): Menu[];
34
38
  isArray(arg: any): arg is any[];
35
39
  readonly prototype: any[];
36
40
  from<T>(arrayLike: ArrayLike<T>): T[];
@@ -46,6 +50,42 @@ declare const _default: SFCWithInstall<DefineComponent<{
46
50
  type: StringConstructor;
47
51
  default: string;
48
52
  };
53
+ logoutEvent: {
54
+ type: FunctionConstructor;
55
+ };
56
+ userInfo: {
57
+ type: PropType<UserInfoType>;
58
+ };
59
+ defaultLanguage: {
60
+ type: StringConstructor;
61
+ };
62
+ switchLanguageEvent: {
63
+ type: FunctionConstructor;
64
+ };
65
+ msgRecord: {
66
+ type: FunctionConstructor;
67
+ };
68
+ personalSetting: {
69
+ type: FunctionConstructor;
70
+ };
71
+ tanentPageHome: {
72
+ type: FunctionConstructor;
73
+ };
74
+ shoppingMall: {
75
+ type: FunctionConstructor;
76
+ };
77
+ webFinancialCloud: {
78
+ type: FunctionConstructor;
79
+ };
80
+ webProcurement: {
81
+ type: FunctionConstructor;
82
+ };
83
+ chat: {
84
+ type: FunctionConstructor;
85
+ };
86
+ kefu: {
87
+ type: FunctionConstructor;
88
+ };
49
89
  }, {
50
90
  menuSelect: (obj: any) => void;
51
91
  scheduleClick: () => void;
@@ -53,10 +93,14 @@ declare const _default: SFCWithInstall<DefineComponent<{
53
93
  layoutAreaClick: (e: {
54
94
  target: Node | null;
55
95
  }) => void;
56
- updateMenuShow: () => void;
96
+ updateMenuShow: (flag: boolean) => void;
57
97
  secondMenuShow: Ref<boolean>;
58
98
  siderRef: Ref<any>;
59
99
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "schedule-click" | "services-click")[], "menuSelect" | "schedule-click" | "services-click", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
100
+ internalOrExternal: {
101
+ type: BooleanConstructor;
102
+ default: boolean;
103
+ };
60
104
  version: {
61
105
  type: StringConstructor;
62
106
  };
@@ -80,10 +124,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
80
124
  };
81
125
  menus: {
82
126
  type: {
83
- (arrayLength: number): MenuProps[];
84
- (...items: MenuProps[]): MenuProps[];
85
- new (arrayLength: number): MenuProps[];
86
- new (...items: MenuProps[]): MenuProps[];
127
+ (arrayLength: number): Menu[];
128
+ (...items: Menu[]): Menu[];
129
+ new (arrayLength: number): Menu[];
130
+ new (...items: Menu[]): Menu[];
87
131
  isArray(arg: any): arg is any[];
88
132
  readonly prototype: any[];
89
133
  from<T>(arrayLike: ArrayLike<T>): T[];
@@ -99,13 +143,50 @@ declare const _default: SFCWithInstall<DefineComponent<{
99
143
  type: StringConstructor;
100
144
  default: string;
101
145
  };
146
+ logoutEvent: {
147
+ type: FunctionConstructor;
148
+ };
149
+ userInfo: {
150
+ type: PropType<UserInfoType>;
151
+ };
152
+ defaultLanguage: {
153
+ type: StringConstructor;
154
+ };
155
+ switchLanguageEvent: {
156
+ type: FunctionConstructor;
157
+ };
158
+ msgRecord: {
159
+ type: FunctionConstructor;
160
+ };
161
+ personalSetting: {
162
+ type: FunctionConstructor;
163
+ };
164
+ tanentPageHome: {
165
+ type: FunctionConstructor;
166
+ };
167
+ shoppingMall: {
168
+ type: FunctionConstructor;
169
+ };
170
+ webFinancialCloud: {
171
+ type: FunctionConstructor;
172
+ };
173
+ webProcurement: {
174
+ type: FunctionConstructor;
175
+ };
176
+ chat: {
177
+ type: FunctionConstructor;
178
+ };
179
+ kefu: {
180
+ type: FunctionConstructor;
181
+ };
102
182
  }>> & {
103
183
  onMenuSelect?: ((...args: any[]) => any) | undefined;
104
184
  "onSchedule-click"?: ((...args: any[]) => any) | undefined;
105
185
  "onServices-click"?: ((...args: any[]) => any) | undefined;
106
186
  }, {
187
+ menus: Menu[];
107
188
  layoutMode: string;
108
- menus: MenuProps[];
109
189
  collapsible: boolean;
110
- }>>;
190
+ internalOrExternal: boolean;
191
+ }, {}>>;
111
192
  export default _default;
@@ -1,32 +1,33 @@
1
+ import type { CheckOutlinedIconType } from '@ant-design/icons-vue/lib/icons/CheckOutlined';
2
+ import type { ColorListType } from '../types';
1
3
  import type { LogoutOutlinedIconType } from '@ant-design/icons-vue/lib/icons/LogoutOutlined';
2
4
  import type { SettingOutlinedIconType } from '@ant-design/icons-vue/lib/icons/SettingOutlined';
3
- import type { ToolOutlinedIconType } from '@ant-design/icons-vue/lib/icons/ToolOutlined';
5
+ import type { DefaultOptionType } from 'ant-design-vue/lib/select';
6
+ import type { Request } from '@qqt-product/api/dist/utils/request';
4
7
  import type { DefineComponent, Ref, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
5
- import type { iconTypes } from '@qqt-product/icons';
6
8
  declare const _sfc_main: DefineComponent<{}, {
9
+ srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
10
+ tanentPageHome: () => void;
11
+ shoppingMall: () => void;
12
+ webFinancialCloud: () => void;
13
+ webProcurement: () => void;
7
14
  btns: Ref<{
8
15
  title: string;
9
- icon: iconTypes;
16
+ icon: string;
10
17
  type: string;
11
- color: string;
18
+ color?: string | undefined;
12
19
  }[]>;
13
20
  linkHandle: (type: string) => void;
14
- toTanentPageHome: () => void;
15
- toShoppingMall: () => void;
16
- toWebFinancialCloud: () => void;
17
- toWebProcurement: () => void;
18
21
  readonly QIcon: DefineComponent<{
19
22
  type: {
20
- type: PropType<iconTypes>;
23
+ type: PropType<string>;
21
24
  default: string;
22
25
  };
23
26
  size: {
24
27
  type: (StringConstructor | NumberConstructor)[];
25
- default: number;
26
28
  };
27
29
  color: {
28
30
  type: StringConstructor;
29
- default: string;
30
31
  };
31
32
  }, {
32
33
  fontSize: ComputedRef<{
@@ -38,153 +39,185 @@ declare const _sfc_main: DefineComponent<{}, {
38
39
  }>;
39
40
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
40
41
  type: {
41
- type: PropType<iconTypes>;
42
+ type: PropType<string>;
42
43
  default: string;
43
44
  };
44
45
  size: {
45
46
  type: (StringConstructor | NumberConstructor)[];
46
- default: number;
47
47
  };
48
48
  color: {
49
49
  type: StringConstructor;
50
- default: string;
51
50
  };
52
51
  }>>, {
53
- type: iconTypes;
54
- size: string | number;
55
- color: string;
56
- }>;
57
- navRight: DefineComponent<{
58
- theme: {
59
- type: StringConstructor;
60
- required: false;
61
- };
62
- }, {
63
- props: any;
64
- drawer: Ref<any>;
65
- showDraw: () => void;
52
+ type: string;
53
+ }, {}>;
54
+ navRight: DefineComponent<{}, {
55
+ showDrawer: Ref<boolean>;
56
+ showGlobalStyleDrawer: () => void;
57
+ handleDrawerClosed: () => void;
66
58
  rightTool: DefineComponent<{}, {
67
59
  lightTheme: Ref<"dark" | "light">;
68
60
  darkTheme: Ref<"dark" | "light">;
69
- appConfig: {
61
+ Q_APPLICATION_CONFIG: {
70
62
  updateTheme: () => void;
71
63
  theme: string;
72
64
  };
73
- theme: Ref<"dark" | "light">;
65
+ handleChat: () => void;
66
+ srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
67
+ handleKefu: () => void;
68
+ theme: string;
74
69
  updateTheme: () => void;
75
- darkImg: Ref<string>;
76
- lightImg: Ref<string>;
77
70
  list: Ref<{
78
- icon: iconTypes;
79
- type: string;
80
71
  title: string;
72
+ icon: string;
73
+ type: string;
74
+ color?: string | undefined;
81
75
  }[]>;
82
76
  iconToolClick: (type: string) => void;
83
77
  openChat: () => void;
84
78
  fetchCustomer: () => void;
85
- readonly QIcon: DefineComponent<{
79
+ readonly QSymbolIcon: DefineComponent<{
86
80
  type: {
87
- type: PropType<iconTypes>;
81
+ type: PropType<string>;
88
82
  default: string;
89
83
  };
90
84
  size: {
91
85
  type: (StringConstructor | NumberConstructor)[];
92
- default: number;
93
86
  };
94
87
  color: {
95
88
  type: StringConstructor;
96
- default: string;
97
89
  };
98
90
  }, {
99
- fontSize: ComputedRef<{
100
- fontSize: string;
101
- }>;
91
+ fontSize: ComputedRef<string>;
102
92
  iconType: ComputedRef<string>;
103
- iconColor: ComputedRef<{
104
- color: string;
105
- }>;
93
+ iconColor: ComputedRef<string>;
106
94
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
107
95
  type: {
108
- type: PropType<iconTypes>;
96
+ type: PropType<string>;
109
97
  default: string;
110
98
  };
111
99
  size: {
112
100
  type: (StringConstructor | NumberConstructor)[];
113
- default: number;
114
101
  };
115
102
  color: {
116
103
  type: StringConstructor;
117
- default: string;
118
104
  };
119
105
  }>>, {
120
- type: iconTypes;
121
- size: string | number;
122
- color: string;
123
- }>;
106
+ type: string;
107
+ }, {}>;
124
108
  message: DefineComponent<{}, {
109
+ handleMsgRecord: () => void;
110
+ srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
125
111
  msgTotal: Ref<number>;
126
112
  toElsMsgRecord: () => void;
127
- readonly QIcon: DefineComponent<{
113
+ readonly QSymbolIcon: DefineComponent<{
128
114
  type: {
129
- type: PropType<iconTypes>;
115
+ type: PropType<string>;
130
116
  default: string;
131
117
  };
132
118
  size: {
133
119
  type: (StringConstructor | NumberConstructor)[];
134
- default: number;
135
120
  };
136
121
  color: {
137
122
  type: StringConstructor;
138
- default: string;
139
123
  };
140
124
  }, {
141
- fontSize: ComputedRef<{
142
- fontSize: string;
143
- }>;
125
+ fontSize: ComputedRef<string>;
144
126
  iconType: ComputedRef<string>;
145
- iconColor: ComputedRef<{
146
- color: string;
147
- }>;
127
+ iconColor: ComputedRef<string>;
148
128
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
149
129
  type: {
150
- type: PropType<iconTypes>;
130
+ type: PropType<string>;
151
131
  default: string;
152
132
  };
153
133
  size: {
154
134
  type: (StringConstructor | NumberConstructor)[];
155
- default: number;
156
135
  };
157
136
  color: {
158
137
  type: StringConstructor;
159
- default: string;
160
138
  };
161
139
  }>>, {
162
- type: iconTypes;
163
- size: string | number;
164
- color: string;
165
- }>;
166
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
167
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
140
+ type: string;
141
+ }, {}>;
142
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
143
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
168
144
  langSwitch: DefineComponent<{}, {
169
- langs: ComputedRef<{
170
- value: number;
171
- label: string;
172
- }[]>;
173
- currentLang: Ref<number | undefined>;
145
+ request: Request;
146
+ defaultLanguage: string;
147
+ switchLanguage: (lang: string) => void;
148
+ userInfo: {
149
+ token: string;
150
+ srmVersion: string;
151
+ userInfo: {
152
+ id: string;
153
+ elsAccount: string;
154
+ subAccount: string;
155
+ realname: string;
156
+ avatar: string;
157
+ };
158
+ };
159
+ langs: Ref<{
160
+ [x: string]: any;
161
+ label?: any;
162
+ value?: string | number | null | undefined;
163
+ children?: Omit<DefaultOptionType, "children">[] | undefined;
164
+ disabled?: boolean | undefined;
165
+ }[] | undefined>;
166
+ getData: () => void;
167
+ currentLang: Ref<string>;
174
168
  changeLangHandle: () => void;
175
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
169
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
176
170
  customPerson: DefineComponent<{}, {
171
+ srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
172
+ userInfo: {
173
+ token: string;
174
+ srmVersion: string;
175
+ userInfo: {
176
+ id: string;
177
+ elsAccount: string;
178
+ subAccount: string;
179
+ realname: string;
180
+ avatar: string;
181
+ };
182
+ };
183
+ personalSetting: () => void;
184
+ handleLogout: () => void;
177
185
  nickname: Ref<string>;
178
186
  avatarUrl: Ref<string>;
179
- readonly ToolOutlined: ToolOutlinedIconType;
187
+ handlePersonalSettings: () => void;
180
188
  readonly SettingOutlined: SettingOutlinedIconType;
181
189
  readonly LogoutOutlined: LogoutOutlinedIconType;
182
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
183
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
184
- theme: {
185
- type: StringConstructor;
186
- required: false;
187
- };
188
- }>>, {}>;
189
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
190
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
191
+ settingDrawer: DefineComponent<{
192
+ visible: {
193
+ type: BooleanConstructor;
194
+ required: true;
195
+ };
196
+ }, {
197
+ srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
198
+ props: any;
199
+ emit: (event: "handleClosed", ...args: any[]) => void;
200
+ drawerVisible: any;
201
+ primaryColor: Ref<string>;
202
+ colorList: ColorListType[];
203
+ changeColor: (color: string) => void;
204
+ close: () => void;
205
+ colorState: {
206
+ primaryColor: string;
207
+ errorColor: string;
208
+ warningColor: string;
209
+ successColor: string;
210
+ infoColor: string;
211
+ };
212
+ readonly CheckOutlined: CheckOutlinedIconType;
213
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "handleClosed"[], "handleClosed", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
214
+ visible: {
215
+ type: BooleanConstructor;
216
+ required: true;
217
+ };
218
+ }>> & {
219
+ onHandleClosed?: ((...args: any[]) => any) | undefined;
220
+ }, {}, {}>;
221
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
222
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
190
223
  export default _sfc_main;
@@ -1,46 +1,37 @@
1
- import type { iconTypes } from '@qqt-product/icons';
2
1
  import type { DefineComponent, Ref, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
2
  declare const _sfc_main: DefineComponent<{}, {
3
+ handleMsgRecord: () => void;
4
+ srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
4
5
  msgTotal: Ref<number>;
5
6
  toElsMsgRecord: () => void;
6
- readonly QIcon: DefineComponent<{
7
+ readonly QSymbolIcon: DefineComponent<{
7
8
  type: {
8
- type: PropType<iconTypes>;
9
+ type: PropType<string>;
9
10
  default: string;
10
11
  };
11
12
  size: {
12
13
  type: (StringConstructor | NumberConstructor)[];
13
- default: number;
14
14
  };
15
15
  color: {
16
16
  type: StringConstructor;
17
- default: string;
18
17
  };
19
18
  }, {
20
- fontSize: ComputedRef<{
21
- fontSize: string;
22
- }>;
19
+ fontSize: ComputedRef<string>;
23
20
  iconType: ComputedRef<string>;
24
- iconColor: ComputedRef<{
25
- color: string;
26
- }>;
21
+ iconColor: ComputedRef<string>;
27
22
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
28
23
  type: {
29
- type: PropType<iconTypes>;
24
+ type: PropType<string>;
30
25
  default: string;
31
26
  };
32
27
  size: {
33
28
  type: (StringConstructor | NumberConstructor)[];
34
- default: number;
35
29
  };
36
30
  color: {
37
31
  type: StringConstructor;
38
- default: string;
39
32
  };
40
33
  }>>, {
41
- type: iconTypes;
42
- size: string | number;
43
- color: string;
44
- }>;
45
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
34
+ type: string;
35
+ }, {}>;
36
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
46
37
  export default _sfc_main;
@@ -1,12 +1,25 @@
1
1
  import type { LogoutOutlinedIconType } from '@ant-design/icons-vue/lib/icons/LogoutOutlined';
2
2
  import type { SettingOutlinedIconType } from '@ant-design/icons-vue/lib/icons/SettingOutlined';
3
- import type { ToolOutlinedIconType } from '@ant-design/icons-vue/lib/icons/ToolOutlined';
4
3
  import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
5
4
  declare const _sfc_main: DefineComponent<{}, {
5
+ srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
6
+ userInfo: {
7
+ token: string;
8
+ srmVersion: string;
9
+ userInfo: {
10
+ id: string;
11
+ elsAccount: string;
12
+ subAccount: string;
13
+ realname: string;
14
+ avatar: string;
15
+ };
16
+ };
17
+ personalSetting: () => void;
18
+ handleLogout: () => void;
6
19
  nickname: Ref<string>;
7
20
  avatarUrl: Ref<string>;
8
- readonly ToolOutlined: ToolOutlinedIconType;
21
+ handlePersonalSettings: () => void;
9
22
  readonly SettingOutlined: SettingOutlinedIconType;
10
23
  readonly LogoutOutlined: LogoutOutlinedIconType;
11
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
24
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
12
25
  export default _sfc_main;