@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,105 +1,88 @@
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;
51
+ type: string;
61
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;
85
+ type: string;
103
86
  }>;
104
87
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
105
88
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
@@ -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: Ref<boolean>;
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[];
186
+ internalOrExternal: boolean;
120
187
  collapsible: boolean;
121
188
  }>;
122
189
  export default _sfc_main;
@@ -1,10 +1,13 @@
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: () => {};
@@ -1,26 +1,14 @@
1
1
  import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
- interface Menu {
3
- redirect?: string | null;
4
- path: string;
5
- component: string;
6
- route: string;
7
- children?: Menu[];
8
- meta: {
9
- title: string;
10
- icon: string;
11
- [propName: string]: string;
12
- };
13
- mobile?: boolean;
14
- name: string;
15
- id: string;
16
- hasChild?: boolean;
17
- count?: number | string;
18
- }
19
- interface Meta {
20
- icon: string;
21
- title: string;
22
- }
2
+ import type { ExtendMenu, FirstMenuMeta } from '../types';
23
3
  declare const _sfc_main: DefineComponent<{
4
+ searchState: {
5
+ type: BooleanConstructor;
6
+ default: boolean;
7
+ };
8
+ currentSearchValue: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
24
12
  secondMenuShow: {
25
13
  type: BooleanConstructor;
26
14
  default: boolean;
@@ -32,10 +20,10 @@ declare const _sfc_main: DefineComponent<{
32
20
  menus: {
33
21
  required: true;
34
22
  type: {
35
- (arrayLength: number): Menu[];
36
- (...items: Menu[]): Menu[];
37
- new (arrayLength: number): Menu[];
38
- new (...items: Menu[]): Menu[];
23
+ (arrayLength: number): ExtendMenu[];
24
+ (...items: ExtendMenu[]): ExtendMenu[];
25
+ new (arrayLength: number): ExtendMenu[];
26
+ new (...items: ExtendMenu[]): ExtendMenu[];
39
27
  isArray(arg: any): arg is any[];
40
28
  readonly prototype: any[];
41
29
  from<T>(arrayLike: ArrayLike<T>): T[];
@@ -54,30 +42,32 @@ declare const _sfc_main: DefineComponent<{
54
42
  type: StringConstructor;
55
43
  default: string;
56
44
  };
57
- searchOpenKeys: {
58
- type: {
59
- (arrayLength: number): string[];
60
- (...items: string[]): string[];
61
- new (arrayLength: number): string[];
62
- new (...items: string[]): string[];
63
- isArray(arg: any): arg is any[];
64
- readonly prototype: any[];
65
- from<T>(arrayLike: ArrayLike<T>): T[];
66
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
67
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
68
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
69
- of<T_4>(...items: T_4[]): T_4[];
70
- readonly [Symbol.species]: ArrayConstructor;
71
- };
72
- default: () => never[];
73
- };
74
45
  }, {
75
46
  firstLevelMenus: Ref<{
47
+ hidden?: boolean | null | undefined;
48
+ isLocal?: boolean | undefined;
49
+ hasChild?: boolean | undefined;
50
+ count?: string | number | undefined;
76
51
  redirect?: string | null | undefined;
77
52
  path: string;
78
53
  component: string;
79
54
  route: string;
80
- children?: any[] | undefined;
55
+ children?: {
56
+ redirect?: string | null | undefined;
57
+ path: string;
58
+ component: string;
59
+ route: string;
60
+ hidden?: boolean | null | undefined;
61
+ children?: any[] | undefined;
62
+ meta: {
63
+ [x: string]: string;
64
+ title: string;
65
+ icon: string;
66
+ };
67
+ mobile?: boolean | undefined;
68
+ name: string;
69
+ id: string;
70
+ }[] | undefined;
81
71
  meta: {
82
72
  [x: string]: string;
83
73
  title: string;
@@ -86,15 +76,24 @@ declare const _sfc_main: DefineComponent<{
86
76
  mobile?: boolean | undefined;
87
77
  name: string;
88
78
  id: string;
89
- hasChild?: boolean | undefined;
90
- count?: string | number | undefined;
91
79
  }[]>;
92
- secondLevelMenus: Ref<Menu[] | undefined>;
93
- firstMenuSelect: (item: Menu, index: number) => void;
80
+ secondLevelMenus: Ref<ExtendMenu[] | undefined>;
81
+ firstMenuSelect: (item: ExtendMenu, index: number) => void;
94
82
  currentActive: Ref<number>;
95
- meta: Ref<Meta | undefined>;
83
+ meta: Ref<FirstMenuMeta | undefined>;
96
84
  menuSelect: () => void;
97
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "updateMenuShow")[], "menuSelect" | "updateMenuShow", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
85
+ expandedKeys: Ref<(string | number)[]>;
86
+ autoExpandParent: Ref<boolean>;
87
+ onSelect: (selectedKeys: string[], e: any) => void;
88
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "updateMenuShow" | "updateHistoryList")[], "menuSelect" | "updateMenuShow" | "updateHistoryList", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
89
+ searchState: {
90
+ type: BooleanConstructor;
91
+ default: boolean;
92
+ };
93
+ currentSearchValue: {
94
+ type: StringConstructor;
95
+ default: string;
96
+ };
98
97
  secondMenuShow: {
99
98
  type: BooleanConstructor;
100
99
  default: boolean;
@@ -106,10 +105,10 @@ declare const _sfc_main: DefineComponent<{
106
105
  menus: {
107
106
  required: true;
108
107
  type: {
109
- (arrayLength: number): Menu[];
110
- (...items: Menu[]): Menu[];
111
- new (arrayLength: number): Menu[];
112
- new (...items: Menu[]): Menu[];
108
+ (arrayLength: number): ExtendMenu[];
109
+ (...items: ExtendMenu[]): ExtendMenu[];
110
+ new (arrayLength: number): ExtendMenu[];
111
+ new (...items: ExtendMenu[]): ExtendMenu[];
113
112
  isArray(arg: any): arg is any[];
114
113
  readonly prototype: any[];
115
114
  from<T>(arrayLike: ArrayLike<T>): T[];
@@ -128,31 +127,16 @@ declare const _sfc_main: DefineComponent<{
128
127
  type: StringConstructor;
129
128
  default: string;
130
129
  };
131
- searchOpenKeys: {
132
- type: {
133
- (arrayLength: number): string[];
134
- (...items: string[]): string[];
135
- new (arrayLength: number): string[];
136
- new (...items: string[]): string[];
137
- isArray(arg: any): arg is any[];
138
- readonly prototype: any[];
139
- from<T>(arrayLike: ArrayLike<T>): T[];
140
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
141
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
142
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
143
- of<T_4>(...items: T_4[]): T_4[];
144
- readonly [Symbol.species]: ArrayConstructor;
145
- };
146
- default: () => never[];
147
- };
148
130
  }>> & {
149
131
  onMenuSelect?: ((...args: any[]) => any) | undefined;
150
132
  onUpdateMenuShow?: ((...args: any[]) => any) | undefined;
133
+ onUpdateHistoryList?: ((...args: any[]) => any) | undefined;
151
134
  }, {
152
135
  mode: string;
136
+ menus: ExtendMenu[];
153
137
  collapsed: boolean;
154
- menus: Menu[];
155
- searchOpenKeys: string[];
138
+ searchState: boolean;
139
+ currentSearchValue: string;
156
140
  secondMenuShow: boolean;
157
141
  }>;
158
142
  export default _sfc_main;
@@ -1,26 +1,8 @@
1
1
  import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
- interface Menu {
3
- redirect?: string | null;
4
- path: string;
5
- component: string;
6
- route: string;
7
- children?: Menu[];
8
- meta: {
9
- title: string;
10
- icon: string;
11
- [propName: string]: string;
12
- };
13
- mobile?: boolean;
14
- name: string;
15
- id: string;
16
- }
17
- interface Meta {
18
- icon: string;
19
- title: string;
20
- }
2
+ import type { Menu, FirstMenuMeta } from '../types';
21
3
  declare const _sfc_main: DefineComponent<{
22
4
  meta: {
23
- type: PropType<Meta>;
5
+ type: PropType<FirstMenuMeta>;
24
6
  default: () => {};
25
7
  };
26
8
  mode: {
@@ -51,7 +33,7 @@ declare const _sfc_main: DefineComponent<{
51
33
  menuSelect: (obj: any) => void;
52
34
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "menuSelect"[], "menuSelect", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
53
35
  meta: {
54
- type: PropType<Meta>;
36
+ type: PropType<FirstMenuMeta>;
55
37
  default: () => {};
56
38
  };
57
39
  mode: {
@@ -82,6 +64,6 @@ declare const _sfc_main: DefineComponent<{
82
64
  onMenuSelect?: ((...args: any[]) => any) | undefined;
83
65
  }, {
84
66
  mode: string;
85
- meta: Meta;
67
+ meta: FirstMenuMeta;
86
68
  }>;
87
69
  export default _sfc_main;
@@ -1,24 +1,5 @@
1
1
  import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
- interface Menu {
3
- redirect?: string | null;
4
- path: string;
5
- component: string;
6
- route: string;
7
- children?: Menu[];
8
- meta: {
9
- title: string;
10
- icon: string;
11
- [propName: string]: string;
12
- };
13
- mobile?: boolean;
14
- name: string;
15
- id: string;
16
- }
17
- interface State {
18
- selectedKeys: string[];
19
- openKeys: string[];
20
- menus: Array<Menu>;
21
- }
2
+ import type { Menu, SelectedMemu, ExtendMenu } from '../types';
22
3
  declare const _sfc_main: DefineComponent<{
23
4
  menus: {
24
5
  type: {
@@ -62,8 +43,9 @@ declare const _sfc_main: DefineComponent<{
62
43
  default: () => never[];
63
44
  };
64
45
  }, {
65
- state: State;
46
+ state: SelectedMemu;
66
47
  menuSelect: (obj: any) => void;
48
+ secondMenuRouter: (item: ExtendMenu) => void;
67
49
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "menuSelect"[], "menuSelect", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
68
50
  menus: {
69
51
  type: {
@@ -1,27 +1,10 @@
1
1
  import type { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
- interface Menu {
3
- redirect?: string | null;
4
- path: string;
5
- component: string;
6
- route: string;
7
- children?: Menu[];
8
- meta: {
9
- title: string;
10
- icon: string;
11
- [propName: string]: string;
12
- };
13
- mobile?: boolean;
14
- name: string;
15
- id: string;
16
- }
2
+ import type { Menu } from '../types';
17
3
  declare const _sfc_main: DefineComponent<{
18
4
  secondMenuShow: {
19
5
  type: BooleanConstructor;
20
6
  default: boolean;
21
7
  };
22
- version: {
23
- type: StringConstructor;
24
- };
25
8
  placeholder: {
26
9
  type: StringConstructor;
27
10
  };
@@ -82,15 +65,34 @@ declare const _sfc_main: DefineComponent<{
82
65
  scheduleHandle: () => void;
83
66
  servicesHandle: () => void;
84
67
  menuRef: Ref<any>;
68
+ handleUpdateMenuShow: (flag: boolean) => void;
85
69
  scheduleImg: Ref<string>;
86
70
  servicesImg: Ref<string>;
87
71
  unfoldImg: Ref<string>;
88
72
  foldImg: Ref<string>;
73
+ srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
74
+ userInfo: {
75
+ token: string;
76
+ srmVersion: string;
77
+ userInfo: {
78
+ id: string;
79
+ elsAccount: string;
80
+ subAccount: string;
81
+ realname: string;
82
+ avatar: string;
83
+ };
84
+ };
85
+ searchState: Ref<boolean>;
86
+ afterHandleFocus: () => void;
87
+ afterHandleBlur: () => void;
88
+ currentSearchValue: Ref<string>;
89
+ afterHandleChange: (value: string) => void;
89
90
  arrayRecursionFilter: (arr: Menu[], search: string) => Menu[];
90
- menuSearch: Ref<any>;
91
- searchOpenKeys: Ref<string[]>;
91
+ updateHistoryList: () => void;
92
92
  toggle: () => void;
93
- navMenus: ComputedRef<Menu[] | undefined>;
93
+ navMenus: ComputedRef<Menu[]>;
94
+ getSchedule: ComputedRef<any>;
95
+ getServices: ComputedRef<any>;
94
96
  siderWidth: Ref<string>;
95
97
  collapsed: Ref<boolean>;
96
98
  menuSelect: (obj: any) => void;
@@ -99,9 +101,6 @@ declare const _sfc_main: DefineComponent<{
99
101
  type: BooleanConstructor;
100
102
  default: boolean;
101
103
  };
102
- version: {
103
- type: StringConstructor;
104
- };
105
104
  placeholder: {
106
105
  type: StringConstructor;
107
106
  };