@qqt-product/ui 0.0.12 → 0.0.13

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