@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,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;
72
- }>;
60
+ type: string;
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;
114
- }>;
115
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
116
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
94
+ type: string;
95
+ }, {}>;
96
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
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
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
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
- }, {}, {}, {}, 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
- }>>, {}>;
144
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
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: any;
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
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
29
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
10
30
  export default _sfc_main;
@@ -1,106 +1,89 @@
1
1
  import type { DefineComponent, Ref, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
- import type { iconTypes } from '@qqt-product/icons';
3
2
  type ThemeNameType = 'light' | 'dark';
4
3
  declare const _sfc_main: DefineComponent<{}, {
5
4
  lightTheme: Ref<ThemeNameType>;
6
5
  darkTheme: Ref<ThemeNameType>;
7
- appConfig: {
6
+ Q_APPLICATION_CONFIG: {
8
7
  updateTheme: () => void;
9
8
  theme: string;
10
9
  };
11
- theme: Ref<ThemeNameType>;
10
+ handleChat: () => void;
11
+ srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
12
+ handleKefu: () => void;
13
+ theme: string;
12
14
  updateTheme: () => void;
13
- darkImg: Ref<string>;
14
- lightImg: Ref<string>;
15
15
  list: Ref<{
16
- icon: iconTypes;
17
- type: string;
18
16
  title: string;
17
+ icon: string;
18
+ type: string;
19
+ color?: string | undefined;
19
20
  }[]>;
20
21
  iconToolClick: (type: string) => void;
21
22
  openChat: () => void;
22
23
  fetchCustomer: () => void;
23
- readonly QIcon: DefineComponent<{
24
+ readonly QSymbolIcon: DefineComponent<{
24
25
  type: {
25
- type: PropType<iconTypes>;
26
+ type: PropType<string>;
26
27
  default: string;
27
28
  };
28
29
  size: {
29
30
  type: (StringConstructor | NumberConstructor)[];
30
- default: number;
31
31
  };
32
32
  color: {
33
33
  type: StringConstructor;
34
- default: string;
35
34
  };
36
35
  }, {
37
- fontSize: ComputedRef<{
38
- fontSize: string;
39
- }>;
36
+ fontSize: ComputedRef<string>;
40
37
  iconType: ComputedRef<string>;
41
- iconColor: ComputedRef<{
42
- color: string;
43
- }>;
38
+ iconColor: ComputedRef<string>;
44
39
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
45
40
  type: {
46
- type: PropType<iconTypes>;
41
+ type: PropType<string>;
47
42
  default: string;
48
43
  };
49
44
  size: {
50
45
  type: (StringConstructor | NumberConstructor)[];
51
- default: number;
52
46
  };
53
47
  color: {
54
48
  type: StringConstructor;
55
- default: string;
56
49
  };
57
50
  }>>, {
58
- type: iconTypes;
59
- size: string | number;
60
- color: string;
61
- }>;
51
+ type: string;
52
+ }, {}>;
62
53
  message: DefineComponent<{}, {
54
+ handleMsgRecord: () => void;
55
+ srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
63
56
  msgTotal: Ref<number>;
64
57
  toElsMsgRecord: () => void;
65
- readonly QIcon: DefineComponent<{
58
+ readonly QSymbolIcon: DefineComponent<{
66
59
  type: {
67
- type: PropType<iconTypes>;
60
+ type: PropType<string>;
68
61
  default: string;
69
62
  };
70
63
  size: {
71
64
  type: (StringConstructor | NumberConstructor)[];
72
- default: number;
73
65
  };
74
66
  color: {
75
67
  type: StringConstructor;
76
- default: string;
77
68
  };
78
69
  }, {
79
- fontSize: ComputedRef<{
80
- fontSize: string;
81
- }>;
70
+ fontSize: ComputedRef<string>;
82
71
  iconType: ComputedRef<string>;
83
- iconColor: ComputedRef<{
84
- color: string;
85
- }>;
72
+ iconColor: ComputedRef<string>;
86
73
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
87
74
  type: {
88
- type: PropType<iconTypes>;
75
+ type: PropType<string>;
89
76
  default: string;
90
77
  };
91
78
  size: {
92
79
  type: (StringConstructor | NumberConstructor)[];
93
- default: number;
94
80
  };
95
81
  color: {
96
82
  type: StringConstructor;
97
- default: string;
98
83
  };
99
84
  }>>, {
100
- type: iconTypes;
101
- size: string | number;
102
- color: string;
103
- }>;
104
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
105
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
85
+ type: string;
86
+ }, {}>;
87
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
88
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
106
89
  export default _sfc_main;
@@ -0,0 +1,34 @@
1
+ import type { CheckOutlinedIconType } from '@ant-design/icons-vue/lib/icons/CheckOutlined';
2
+ import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
+ import type { ColorListType } from '../../types';
4
+ declare const _sfc_main: DefineComponent<{
5
+ visible: {
6
+ type: BooleanConstructor;
7
+ required: true;
8
+ };
9
+ }, {
10
+ srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
11
+ props: any;
12
+ emit: (event: "handleClosed", ...args: any[]) => void;
13
+ drawerVisible: any;
14
+ primaryColor: Ref<string>;
15
+ colorList: ColorListType[];
16
+ changeColor: (color: string) => void;
17
+ close: () => void;
18
+ colorState: {
19
+ primaryColor: string;
20
+ errorColor: string;
21
+ warningColor: string;
22
+ successColor: string;
23
+ infoColor: string;
24
+ };
25
+ readonly CheckOutlined: CheckOutlinedIconType;
26
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "handleClosed"[], "handleClosed", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
27
+ visible: {
28
+ type: BooleanConstructor;
29
+ required: true;
30
+ };
31
+ }>> & {
32
+ onHandleClosed?: ((...args: any[]) => any) | undefined;
33
+ }, {}, {}>;
34
+ export default _sfc_main;
@@ -1,20 +1,10 @@
1
- import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
- export interface MenuProps {
3
- redirect?: string | null;
4
- path: string;
5
- component: string;
6
- route: string;
7
- children?: MenuProps[];
8
- meta: {
9
- title: string;
10
- icon: string;
11
- [propName: string]: string;
12
- };
13
- mobile?: boolean;
14
- name: string;
15
- id: string;
16
- }
1
+ import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
+ import type { Menu, UserInfoType } from './types';
17
3
  declare const _sfc_main: DefineComponent<{
4
+ internalOrExternal: {
5
+ type: BooleanConstructor;
6
+ default: boolean;
7
+ };
18
8
  version: {
19
9
  type: StringConstructor;
20
10
  };
@@ -38,10 +28,10 @@ declare const _sfc_main: DefineComponent<{
38
28
  };
39
29
  menus: {
40
30
  type: {
41
- (arrayLength: number): MenuProps[];
42
- (...items: MenuProps[]): MenuProps[];
43
- new (arrayLength: number): MenuProps[];
44
- new (...items: MenuProps[]): MenuProps[];
31
+ (arrayLength: number): Menu[];
32
+ (...items: Menu[]): Menu[];
33
+ new (arrayLength: number): Menu[];
34
+ new (...items: Menu[]): Menu[];
45
35
  isArray(arg: any): arg is any[];
46
36
  readonly prototype: any[];
47
37
  from<T>(arrayLike: ArrayLike<T>): T[];
@@ -57,6 +47,42 @@ declare const _sfc_main: DefineComponent<{
57
47
  type: StringConstructor;
58
48
  default: string;
59
49
  };
50
+ logoutEvent: {
51
+ type: FunctionConstructor;
52
+ };
53
+ userInfo: {
54
+ type: PropType<UserInfoType>;
55
+ };
56
+ defaultLanguage: {
57
+ type: StringConstructor;
58
+ };
59
+ switchLanguageEvent: {
60
+ type: FunctionConstructor;
61
+ };
62
+ msgRecord: {
63
+ type: FunctionConstructor;
64
+ };
65
+ personalSetting: {
66
+ type: FunctionConstructor;
67
+ };
68
+ tanentPageHome: {
69
+ type: FunctionConstructor;
70
+ };
71
+ shoppingMall: {
72
+ type: FunctionConstructor;
73
+ };
74
+ webFinancialCloud: {
75
+ type: FunctionConstructor;
76
+ };
77
+ webProcurement: {
78
+ type: FunctionConstructor;
79
+ };
80
+ chat: {
81
+ type: FunctionConstructor;
82
+ };
83
+ kefu: {
84
+ type: FunctionConstructor;
85
+ };
60
86
  }, {
61
87
  menuSelect: (obj: any) => void;
62
88
  scheduleClick: () => void;
@@ -64,10 +90,14 @@ declare const _sfc_main: DefineComponent<{
64
90
  layoutAreaClick: (e: {
65
91
  target: Node | null;
66
92
  }) => void;
67
- updateMenuShow: () => void;
93
+ updateMenuShow: (flag: boolean) => void;
68
94
  secondMenuShow: Ref<boolean>;
69
95
  siderRef: Ref<any>;
70
96
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "schedule-click" | "services-click")[], "menuSelect" | "schedule-click" | "services-click", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
97
+ internalOrExternal: {
98
+ type: BooleanConstructor;
99
+ default: boolean;
100
+ };
71
101
  version: {
72
102
  type: StringConstructor;
73
103
  };
@@ -91,10 +121,10 @@ declare const _sfc_main: DefineComponent<{
91
121
  };
92
122
  menus: {
93
123
  type: {
94
- (arrayLength: number): MenuProps[];
95
- (...items: MenuProps[]): MenuProps[];
96
- new (arrayLength: number): MenuProps[];
97
- new (...items: MenuProps[]): MenuProps[];
124
+ (arrayLength: number): Menu[];
125
+ (...items: Menu[]): Menu[];
126
+ new (arrayLength: number): Menu[];
127
+ new (...items: Menu[]): Menu[];
98
128
  isArray(arg: any): arg is any[];
99
129
  readonly prototype: any[];
100
130
  from<T>(arrayLike: ArrayLike<T>): T[];
@@ -110,13 +140,50 @@ declare const _sfc_main: DefineComponent<{
110
140
  type: StringConstructor;
111
141
  default: string;
112
142
  };
143
+ logoutEvent: {
144
+ type: FunctionConstructor;
145
+ };
146
+ userInfo: {
147
+ type: PropType<UserInfoType>;
148
+ };
149
+ defaultLanguage: {
150
+ type: StringConstructor;
151
+ };
152
+ switchLanguageEvent: {
153
+ type: FunctionConstructor;
154
+ };
155
+ msgRecord: {
156
+ type: FunctionConstructor;
157
+ };
158
+ personalSetting: {
159
+ type: FunctionConstructor;
160
+ };
161
+ tanentPageHome: {
162
+ type: FunctionConstructor;
163
+ };
164
+ shoppingMall: {
165
+ type: FunctionConstructor;
166
+ };
167
+ webFinancialCloud: {
168
+ type: FunctionConstructor;
169
+ };
170
+ webProcurement: {
171
+ type: FunctionConstructor;
172
+ };
173
+ chat: {
174
+ type: FunctionConstructor;
175
+ };
176
+ kefu: {
177
+ type: FunctionConstructor;
178
+ };
113
179
  }>> & {
114
180
  onMenuSelect?: ((...args: any[]) => any) | undefined;
115
181
  "onSchedule-click"?: ((...args: any[]) => any) | undefined;
116
182
  "onServices-click"?: ((...args: any[]) => any) | undefined;
117
183
  }, {
184
+ menus: Menu[];
118
185
  layoutMode: string;
119
- menus: MenuProps[];
120
186
  collapsible: boolean;
121
- }>;
187
+ internalOrExternal: boolean;
188
+ }, {}>;
122
189
  export default _sfc_main;
@@ -1,15 +1,18 @@
1
1
  import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ import type { ExtendMenu } from '../types';
2
3
  declare const _sfc_main: DefineComponent<{
3
4
  menuInfo: {
4
5
  type: ObjectConstructor;
5
6
  default: () => {};
6
7
  };
7
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
8
+ }, {
9
+ deepCycleMenuRouter: (item: ExtendMenu) => void;
10
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
8
11
  menuInfo: {
9
12
  type: ObjectConstructor;
10
13
  default: () => {};
11
14
  };
12
15
  }>>, {
13
16
  menuInfo: Record<string, any>;
14
- }>;
17
+ }, {}>;
15
18
  export default _sfc_main;