@qqt-product/ui 0.0.11 → 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 (208) hide show
  1. package/README.md +16 -16
  2. package/dist/components/ComponentsDemo.vue.d.ts +13 -0
  3. package/dist/components/EditPage.vue.d.ts +6011 -0
  4. package/dist/components/PreviewList.vue.d.ts +218 -0
  5. package/dist/components/hook/use-field-select-modal-hook.d.ts +288 -0
  6. package/dist/components/login.vue.d.ts +19 -0
  7. package/dist/components/mock.d.ts +260 -0
  8. package/dist/components/mockList.d.ts +44 -0
  9. package/dist/index.es.js +79530 -57898
  10. package/dist/index.umd.js +15319 -54
  11. package/dist/lib/components/breadcrumb/index.d.ts +10 -0
  12. package/dist/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -0
  13. package/dist/lib/components/card-list-layout/index.d.ts +147 -0
  14. package/dist/lib/components/card-list-layout/src/card-content.vue.d.ts +70 -0
  15. package/dist/lib/components/card-list-layout/src/cardItem.vue.d.ts +79 -0
  16. package/dist/lib/components/card-list-layout/src/index.vue.d.ts +144 -0
  17. package/dist/lib/components/card-list-layout/src/sidebar.vue.d.ts +30 -0
  18. package/dist/lib/components/card-list-layout/src/types.d.ts +41 -0
  19. package/dist/lib/components/cascader/index.d.ts +63 -62
  20. package/dist/lib/components/cascader/src/cascader-types.d.ts +18 -24
  21. package/dist/lib/components/cascader/src/cascader.vue.d.ts +86 -0
  22. package/dist/lib/components/cascader/src/use-cascader.d.ts +2 -2
  23. package/dist/lib/components/checkbox/index.d.ts +113 -0
  24. package/dist/lib/components/checkbox/src/checkbox-types.d.ts +62 -0
  25. package/dist/lib/components/{select/src/select.d.ts → checkbox/src/checkbox.vue.d.ts} +53 -48
  26. package/dist/lib/components/checkbox/src/use-checkbox.d.ts +2 -0
  27. package/dist/lib/components/codeEditorModel/index.d.ts +187 -0
  28. package/dist/lib/components/codeEditorModel/src/codeEditorModel.vue.d.ts +184 -0
  29. package/dist/lib/components/collapse-transition/index.d.ts +16 -0
  30. package/dist/lib/components/collapse-transition/src/collapse-transition.vue.d.ts +15 -0
  31. package/dist/lib/components/coutdown/index.d.ts +94 -0
  32. package/dist/lib/components/coutdown/src/coutdown.d.ts +56 -0
  33. package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +99 -0
  34. package/dist/lib/components/currency/index.d.ts +109 -0
  35. package/dist/lib/components/currency/src/currency-type.d.ts +47 -0
  36. package/dist/lib/components/currency/src/currency.vue.d.ts +105 -0
  37. package/dist/lib/components/currency/src/use-currency.d.ts +2 -0
  38. package/dist/lib/components/currency/src/use-methods.d.ts +14 -0
  39. package/dist/lib/components/detail-form/index.d.ts +102 -0
  40. package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +99 -0
  41. package/dist/lib/components/detail-form/src/use-detail-form.d.ts +2 -0
  42. package/dist/lib/components/detail-grid/index.d.ts +2633 -0
  43. package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +2630 -0
  44. package/dist/lib/components/detail-grid/src/hook/use-grid-config-hook.d.ts +10 -0
  45. package/dist/lib/components/detail-grid/src/use-detail-grid.d.ts +2 -0
  46. package/dist/lib/components/detail-page-layout/index.d.ts +186 -0
  47. package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +183 -0
  48. package/dist/lib/components/detail-page-layout/src/use-detail-page-layout.d.ts +2 -0
  49. package/dist/lib/components/edit-form/index.d.ts +103 -62
  50. package/dist/lib/components/edit-form/src/edit-form-types.d.ts +29 -25
  51. package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +104 -62
  52. package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +11 -0
  53. package/dist/lib/components/edit-form/src/hook/use-form-config-hook.d.ts +8 -0
  54. package/dist/lib/components/edit-form/src/use-edit-form.d.ts +1 -1
  55. package/dist/lib/components/edit-grid/index.d.ts +126 -89
  56. package/dist/lib/components/edit-grid/src/components/empty/index.d.ts +8 -0
  57. package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +34 -25
  58. package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +126 -89
  59. package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +10 -0
  60. package/dist/lib/components/edit-grid/src/hook/use-grid-height-hook.d.ts +4 -0
  61. package/dist/lib/components/edit-grid/src/use-edit-grid.d.ts +1 -1
  62. package/dist/lib/components/edit-page-layout/index.d.ts +66 -10
  63. package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +210 -42
  64. package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +66 -10
  65. package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -0
  66. package/dist/lib/components/editor/index.d.ts +31 -0
  67. package/dist/lib/components/editor/src/index.vue.d.ts +28 -0
  68. package/dist/lib/components/field-select-modal/index.d.ts +150 -0
  69. package/dist/lib/components/field-select-modal/src/field-select-modal-types.d.ts +85 -0
  70. package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +146 -0
  71. package/dist/lib/components/field-select-modal/src/use-field-select-modal.d.ts +6 -0
  72. package/dist/lib/components/index.d.ts +23 -3
  73. package/dist/lib/components/item-wrap/index.d.ts +57 -0
  74. package/dist/lib/components/item-wrap/src/item-wrap-types.d.ts +27 -0
  75. package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +53 -0
  76. package/dist/lib/components/item-wrap/src/use-item-wrap.d.ts +2 -0
  77. package/dist/lib/components/layout/index.d.ts +93 -12
  78. package/dist/lib/components/layout/src/header/index.vue.d.ts +223 -0
  79. package/dist/lib/components/layout/src/header/navRight/customMessage.vue.d.ts +8 -17
  80. package/dist/lib/components/layout/src/header/navRight/customPerson.vue.d.ts +19 -0
  81. package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +176 -0
  82. package/dist/lib/components/layout/src/header/navRight/langSwitch.vue.d.ts +26 -6
  83. package/dist/lib/components/layout/src/header/navRight/rightTool.vue.d.ts +27 -45
  84. package/dist/lib/components/layout/src/header/navRight/settingDrawer.vue.d.ts +34 -0
  85. package/dist/lib/components/layout/src/index.vue.d.ts +93 -26
  86. package/dist/lib/components/layout/src/menu/deepCycleSubMenu.vue.d.ts +4 -1
  87. package/dist/lib/components/layout/src/menu/menu.vue.d.ts +56 -72
  88. package/dist/lib/components/layout/src/menu/secondLevelMenu.vue.d.ts +4 -22
  89. package/dist/lib/components/layout/src/menu/subSecondMenu.vue.d.ts +3 -21
  90. package/dist/lib/components/layout/src/sider/index.vue.d.ts +23 -24
  91. package/dist/lib/components/layout/src/sider/logo.vue.d.ts +1 -10
  92. package/dist/lib/components/layout/src/sider/search.vue.d.ts +77 -2
  93. package/dist/lib/components/layout/src/types.d.ts +68 -0
  94. package/dist/lib/components/{layout-auchor → layout-anchor}/index.d.ts +9 -6
  95. package/dist/lib/components/{layout-auchor/src/layout-auchor-types.d.ts → layout-anchor/src/layout-anchor-types.d.ts} +3 -3
  96. package/dist/lib/components/{layout-auchor → layout-anchor}/src/layout-auchor.vue.d.ts +6 -3
  97. package/dist/lib/components/layout-anchor/src/use-layout-anchor.d.ts +2 -0
  98. package/dist/lib/components/layout-buttons/index.d.ts +38 -1
  99. package/dist/lib/components/layout-buttons/src/layout-buttons-types.d.ts +17 -1
  100. package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +38 -1
  101. package/dist/lib/components/layout-buttons/src/use-layout-buttons.d.ts +1 -1
  102. package/dist/lib/components/layout-pattern/index.d.ts +7 -13
  103. package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +34 -4
  104. package/dist/lib/components/layout-pattern/src/layout-pattern-types.d.ts +4 -6
  105. package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +7 -13
  106. package/dist/lib/components/list-page-layout/index.d.ts +244 -0
  107. package/dist/lib/components/list-page-layout/src/components/common/add-modal/add-modal.vue.d.ts +21 -0
  108. package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +293 -0
  109. package/dist/lib/components/list-page-layout/src/components/common/columnSetting/use-grid-slot-hook.d.ts +22 -0
  110. package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/edit-nav-modal.vue.d.ts +16 -0
  111. package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/types.d.ts +4 -0
  112. package/dist/lib/components/list-page-layout/src/components/common/help-text-modal/help-text-modal.vue.d.ts +8 -0
  113. package/dist/lib/components/list-page-layout/src/components/common/import-modal/import-modal.vue.d.ts +40 -0
  114. package/dist/lib/components/list-page-layout/src/components/common/record-modal/mock.d.ts +48 -0
  115. package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +5088 -0
  116. package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +13 -0
  117. package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +95 -0
  118. package/dist/lib/components/list-page-layout/src/components/list-content-buttons/events-helper.d.ts +6 -0
  119. package/dist/lib/components/list-page-layout/src/components/list-content-buttons/list-content-buttons.vue.d.ts +33 -0
  120. package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +27 -0
  121. package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +15 -0
  122. package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +9 -0
  123. package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +103 -0
  124. package/dist/lib/components/list-page-layout/src/components/list-header/module/tabs/index.vue.d.ts +56 -0
  125. package/dist/lib/components/list-page-layout/src/hooks/export-xls-hook.d.ts +4 -0
  126. package/dist/lib/components/list-page-layout/src/hooks/fetch-data-hook.d.ts +5 -0
  127. package/dist/lib/components/list-page-layout/src/hooks/fetch-head-data-hook.d.ts +6 -0
  128. package/dist/lib/components/list-page-layout/src/hooks/get-columns-hook.d.ts +6 -0
  129. package/dist/lib/components/list-page-layout/src/hooks/list-slot-hook.d.ts +9 -0
  130. package/dist/lib/components/list-page-layout/src/hooks/use-button-function-hook.d.ts +13 -0
  131. package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +238 -0
  132. package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +358 -0
  133. package/dist/lib/components/list-page-layout/src/symbol.d.ts +11 -0
  134. package/dist/lib/components/list-page-layout/src/tokens.d.ts +12 -0
  135. package/dist/lib/components/list-page-layout/src/types.d.ts +1 -0
  136. package/dist/lib/components/list-page-layout/src/utils/gridConfig.d.ts +174 -0
  137. package/dist/lib/components/page-layout/index.d.ts +11 -1
  138. package/dist/lib/components/page-layout/src/constant/buttons.d.ts +10 -0
  139. package/dist/lib/components/page-layout/src/constant/index.d.ts +3 -0
  140. package/dist/lib/components/page-layout/src/constant/items.d.ts +3 -0
  141. package/dist/lib/components/page-layout/src/constant/symbol.d.ts +15 -0
  142. package/dist/lib/components/page-layout/src/hook/use-merge-defaultValues-hook.d.ts +6 -0
  143. package/dist/lib/components/page-layout/src/hook/use-page-data-hook.d.ts +6 -0
  144. package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +26 -0
  145. package/dist/lib/components/page-layout/src/hook/use-ref-instance-hook.d.ts +7 -0
  146. package/dist/lib/components/page-layout/src/hook/use-remote-config-hook.d.ts +5 -2
  147. package/dist/lib/components/page-layout/src/page-layout-types.d.ts +1 -1
  148. package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +6 -1
  149. package/dist/lib/components/page-layout/src/token.d.ts +7 -1
  150. package/dist/lib/components/page-layout/src/util.d.ts +10 -35
  151. package/dist/lib/components/radio/index.d.ts +104 -0
  152. package/dist/lib/components/radio/src/radio-types.d.ts +56 -0
  153. package/dist/lib/components/radio/src/radio.vue.d.ts +100 -0
  154. package/dist/lib/components/radio/src/use-radio.d.ts +2 -0
  155. package/dist/lib/components/remote-select/index.d.ts +122 -0
  156. package/dist/lib/components/remote-select/src/remote-select-types.d.ts +50 -0
  157. package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +118 -0
  158. package/dist/lib/components/remote-select/src/use-remote-select.d.ts +6 -0
  159. package/dist/lib/components/select/index.d.ts +29 -42
  160. package/dist/lib/components/select/src/select-types.d.ts +6 -17
  161. package/dist/lib/components/select/src/select.vue.d.ts +91 -0
  162. package/dist/lib/components/select/src/use-select.d.ts +2 -2
  163. package/dist/lib/components/select-modal/index.d.ts +329 -0
  164. package/dist/lib/components/select-modal/src/select-modal-types.d.ts +51 -0
  165. package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +325 -0
  166. package/dist/lib/components/select-modal/src/use-select-modal.d.ts +6 -0
  167. package/dist/lib/components/shared/hooks/use-namespace-last.d.ts +23 -0
  168. package/dist/lib/components/shared/hooks/use-namespace.d.ts +4 -4
  169. package/dist/lib/components/switch/index.d.ts +8 -7
  170. package/dist/lib/components/switch/src/switch-types.d.ts +1 -3
  171. package/dist/lib/components/switch/src/{switch.d.ts → switch.vue.d.ts} +9 -8
  172. package/dist/lib/components/tree-select/index.d.ts +114 -0
  173. package/dist/lib/components/tree-select/src/tree-select-types.d.ts +60 -0
  174. package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +110 -0
  175. package/dist/lib/components/tree-select/src/use-tree-select.d.ts +2 -0
  176. package/dist/lib/components/upload-file/index.d.ts +266 -0
  177. package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +20 -0
  178. package/dist/lib/components/upload-file/src/hook/use-operation-column-button-hook.d.ts +11 -0
  179. package/dist/lib/components/upload-file/src/hook/use-operation-column-hook.d.ts +15 -0
  180. package/dist/lib/components/upload-file/src/upload-file-types.d.ts +154 -0
  181. package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +258 -0
  182. package/dist/lib/components/upload-image/index.d.ts +191 -0
  183. package/dist/lib/components/upload-image/src/upload-image-type.d.ts +53 -0
  184. package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +187 -0
  185. package/dist/lib/components/vxe-select/index.d.ts +116 -0
  186. package/dist/lib/components/vxe-select/src/use-vxe-select.d.ts +2 -0
  187. package/dist/lib/components/vxe-select/src/vxe-select-types.d.ts +58 -0
  188. package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +112 -0
  189. package/dist/lib/index.d.ts +16 -2
  190. package/dist/lib/plugins/table/pro/vxe-table-pro.es6.min.d.ts +7 -7
  191. package/dist/lib/setting/vxe-table/config.d.ts +3 -0
  192. package/dist/lib/utils/event.d.ts +37 -0
  193. package/dist/router/index.d.ts +4 -0
  194. package/dist/stores/user.d.ts +25 -0
  195. package/dist/style.css +6 -8
  196. package/dist/utils/qApiPlugin.d.ts +6 -0
  197. package/dist/views/dashboard/workspace.vue.d.ts +6972 -0
  198. package/dist/vite-env.d.ts +23 -8
  199. package/package.json +25 -12
  200. package/dist/lib/components/cascader/src/cascader.d.ts +0 -85
  201. package/dist/lib/components/layout/src/menu/icon.d.ts +0 -6
  202. package/dist/lib/components/layout-auchor/src/use-layout-auchor.d.ts +0 -2
  203. package/dist/lib/components/layout-header/index.d.ts +0 -17
  204. package/dist/lib/components/layout-header/src/layout-header-types.d.ts +0 -8
  205. package/dist/lib/components/layout-header/src/layout-header.vue.d.ts +0 -13
  206. package/dist/lib/components/layout-header/src/use-layout-header.d.ts +0 -2
  207. package/dist/lib/constant/constant.d.ts +0 -1
  208. package/dist/lib/types/ComponentCustomProperties .d.ts +0 -6
@@ -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
  };
@@ -12,10 +12,6 @@ declare const _sfc_main: DefineComponent<{
12
12
  type: StringConstructor;
13
13
  default: string;
14
14
  };
15
- layoutMode: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
15
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
20
16
  title: {
21
17
  type: StringConstructor;
@@ -29,14 +25,9 @@ declare const _sfc_main: DefineComponent<{
29
25
  type: StringConstructor;
30
26
  default: string;
31
27
  };
32
- layoutMode: {
33
- type: StringConstructor;
34
- default: string;
35
- };
36
28
  }>>, {
37
29
  title: string;
38
- collapsed: boolean;
39
30
  logoUrl: string;
40
- layoutMode: string;
31
+ collapsed: boolean;
41
32
  }>;
42
33
  export default _sfc_main;
@@ -1,20 +1,95 @@
1
+ import type { CloseCircleOutlinedIconType } from '@ant-design/icons-vue/lib/icons/CloseCircleOutlined';
1
2
  import type { SearchOutlinedIconType } from '@ant-design/icons-vue/lib/icons/SearchOutlined';
2
3
  import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
4
+ import type { ExtendMenu, RouterPropsType } from '../types';
3
5
  declare const _sfc_main: DefineComponent<{
4
6
  collapsed: {
5
7
  type: BooleanConstructor;
6
8
  default: boolean;
7
9
  };
10
+ searchState: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
8
14
  }, {
15
+ router: {
16
+ push: (obj: RouterPropsType) => void;
17
+ };
18
+ srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
19
+ userInfo: {
20
+ token: string;
21
+ srmVersion: string;
22
+ userInfo: {
23
+ id: string;
24
+ elsAccount: string;
25
+ subAccount: string;
26
+ realname: string;
27
+ avatar: string;
28
+ };
29
+ };
30
+ historyListKey: string;
31
+ emit: (event: "handleCollapsed" | "afterHandleFocus" | "afterHandleBlur" | "afterHandleChange", ...args: any[]) => void;
9
32
  props: any;
10
33
  search: Ref<string>;
34
+ handleFocus: () => void;
35
+ handleBlur: () => void;
36
+ handleChange: () => void;
37
+ historyList: Ref<{
38
+ hidden?: boolean | null | undefined;
39
+ isLocal?: boolean | undefined;
40
+ hasChild?: boolean | undefined;
41
+ count?: string | number | undefined;
42
+ redirect?: string | null | undefined;
43
+ path: string;
44
+ component: string;
45
+ route: string;
46
+ children?: {
47
+ redirect?: string | null | undefined;
48
+ path: string;
49
+ component: string;
50
+ route: string;
51
+ hidden?: boolean | null | undefined;
52
+ children?: any[] | undefined;
53
+ meta: {
54
+ [x: string]: string;
55
+ title: string;
56
+ icon: string;
57
+ };
58
+ mobile?: boolean | undefined;
59
+ name: string;
60
+ id: string;
61
+ }[] | 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
+ }[]>;
71
+ upDateHistoryList: () => ExtendMenu[];
72
+ goHistoryPage: (his: ExtendMenu) => void;
73
+ delHistoryItem: (index: number) => void;
74
+ clearAllHistory: () => void;
11
75
  readonly SearchOutlined: SearchOutlinedIconType;
12
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
76
+ readonly CloseCircleOutlined: CloseCircleOutlinedIconType;
77
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("handleCollapsed" | "afterHandleFocus" | "afterHandleBlur" | "afterHandleChange")[], "handleCollapsed" | "afterHandleFocus" | "afterHandleBlur" | "afterHandleChange", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
13
78
  collapsed: {
14
79
  type: BooleanConstructor;
15
80
  default: boolean;
16
81
  };
17
- }>>, {
82
+ searchState: {
83
+ type: BooleanConstructor;
84
+ default: boolean;
85
+ };
86
+ }>> & {
87
+ onHandleCollapsed?: ((...args: any[]) => any) | undefined;
88
+ onAfterHandleFocus?: ((...args: any[]) => any) | undefined;
89
+ onAfterHandleBlur?: ((...args: any[]) => any) | undefined;
90
+ onAfterHandleChange?: ((...args: any[]) => any) | undefined;
91
+ }, {
18
92
  collapsed: boolean;
93
+ searchState: boolean;
19
94
  }>;
20
95
  export default _sfc_main;
@@ -0,0 +1,68 @@
1
+ export interface Menu {
2
+ redirect?: string | null;
3
+ path: string;
4
+ component: string;
5
+ route: string;
6
+ hidden?: boolean | null | undefined;
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
+ export interface ExtendMenu extends Menu {
18
+ hidden?: boolean | null | undefined;
19
+ isLocal?: boolean;
20
+ hasChild?: boolean;
21
+ count?: string | number;
22
+ }
23
+ export interface SelectedMemu {
24
+ selectedKeys: string[];
25
+ openKeys: string[];
26
+ menus: Array<Menu>;
27
+ }
28
+ export interface ImgStateList {
29
+ scheduleImg: string;
30
+ servicesImg: string;
31
+ unfoldImg: string;
32
+ foldImg: string;
33
+ }
34
+ export interface FirstMenuMeta {
35
+ icon: string;
36
+ title: string;
37
+ hidden?: boolean | null | undefined;
38
+ color?: string;
39
+ }
40
+ export interface RouterPropsType {
41
+ path: string;
42
+ }
43
+ export interface BtnPropsType {
44
+ title: string;
45
+ icon: string;
46
+ type: string;
47
+ color?: string;
48
+ }
49
+ export interface UserInfoType {
50
+ token?: string;
51
+ srmVersion?: string;
52
+ userInfo?: {
53
+ id?: string;
54
+ elsAccount?: string;
55
+ subAccount?: string;
56
+ realname?: string;
57
+ avatar?: string;
58
+ [K: string]: any;
59
+ };
60
+ companySet?: any;
61
+ userOrg?: object;
62
+ permissionList?: any;
63
+ baseHomePath?: string;
64
+ }
65
+ export interface ColorListType {
66
+ label: string;
67
+ color: string;
68
+ }
@@ -1,9 +1,9 @@
1
1
  import type { GroupItem } from '../edit-page-layout';
2
- import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ import type { DefineComponent, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
3
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
4
- import QLayoutAuchor from './src/layout-auchor.vue';
5
- export * from './src/layout-auchor-types';
6
- export { QLayoutAuchor };
4
+ import QLayoutAnchor from './src/layout-auchor.vue';
5
+ export * from './src/layout-anchor-types';
6
+ export { QLayoutAnchor };
7
7
  declare const _default: SFCWithInstall<DefineComponent<{
8
8
  groups: {
9
9
  type: PropType<GroupItem[]>;
@@ -13,8 +13,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
13
13
  classes: ComputedRef<{
14
14
  [key: string]: string | boolean;
15
15
  }>;
16
- groups: Ref<GroupItem[]>;
17
- current: Ref<string>;
16
+ getContainer: () => Element | null;
17
+ handleClick: (e: MouseEvent, link: {
18
+ title: any;
19
+ href: string;
20
+ }) => void;
18
21
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
19
22
  groups: {
20
23
  type: PropType<GroupItem[]>;
@@ -1,13 +1,13 @@
1
1
  import type { ComputedRef, PropType, ExtractPropTypes } from 'vue';
2
2
  import { GroupItem } from '../../edit-page-layout';
3
- export declare const layoutAuchorProps: {
3
+ export declare const layoutAnchorProps: {
4
4
  groups: {
5
5
  type: PropType<GroupItem[]>;
6
6
  default: null;
7
7
  };
8
8
  };
9
- export declare type LayoutAuchorProps = ExtractPropTypes<typeof layoutAuchorProps>;
10
- export interface LayoutAuchorReturnType {
9
+ export type LayoutAnchorProps = ExtractPropTypes<typeof layoutAnchorProps>;
10
+ export interface LayoutAnchorReturnType {
11
11
  classes: ComputedRef<{
12
12
  [key: string]: string | boolean;
13
13
  }>;
@@ -1,5 +1,5 @@
1
1
  import type { GroupItem } from '../../edit-page-layout';
2
- import type { DefineComponent, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, Ref } from 'vue';
2
+ import type { DefineComponent, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
3
  declare const _sfc_main: DefineComponent<{
4
4
  groups: {
5
5
  type: PropType<GroupItem[]>;
@@ -9,8 +9,11 @@ declare const _sfc_main: DefineComponent<{
9
9
  classes: ComputedRef<{
10
10
  [key: string]: string | boolean;
11
11
  }>;
12
- groups: Ref<GroupItem[]>;
13
- current: Ref<string>;
12
+ getContainer: () => Element | null;
13
+ handleClick: (e: MouseEvent, link: {
14
+ title: any;
15
+ href: string;
16
+ }) => void;
14
17
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
15
18
  groups: {
16
19
  type: PropType<GroupItem[]>;
@@ -0,0 +1,2 @@
1
+ import type { LayoutAnchorReturnType } from './layout-anchor-types';
2
+ export default function useLayoutAnchor(): LayoutAnchorReturnType;
@@ -1,4 +1,4 @@
1
- import type { PageButton } from '../edit-page-layout';
1
+ import type { PageButton, RecordStringNumber } from '../edit-page-layout';
2
2
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
3
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
4
4
  import QLayoutButtons from './src/layout-buttons.vue';
@@ -9,18 +9,55 @@ declare const _default: SFCWithInstall<DefineComponent<{
9
9
  type: PropType<PageButton[]>;
10
10
  default: null;
11
11
  };
12
+ groupName: {
13
+ type: PropType<string>;
14
+ default: string;
15
+ };
16
+ groupNameI18nKey: {
17
+ type: PropType<string>;
18
+ default: string;
19
+ };
20
+ groupCode: {
21
+ type: PropType<string>;
22
+ default: string;
23
+ };
24
+ groupType: {
25
+ type: PropType<string>;
26
+ default: string;
27
+ };
12
28
  }, {
13
29
  classes: ComputedRef<{
14
30
  [key: string]: string | boolean;
15
31
  }>;
16
32
  buttons: Ref<PageButton[]>;
33
+ pageData: Ref<RecordStringNumber>;
17
34
  onClick: (btn: PageButton) => void;
18
35
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
19
36
  buttons: {
20
37
  type: PropType<PageButton[]>;
21
38
  default: null;
22
39
  };
40
+ groupName: {
41
+ type: PropType<string>;
42
+ default: string;
43
+ };
44
+ groupNameI18nKey: {
45
+ type: PropType<string>;
46
+ default: string;
47
+ };
48
+ groupCode: {
49
+ type: PropType<string>;
50
+ default: string;
51
+ };
52
+ groupType: {
53
+ type: PropType<string>;
54
+ default: string;
55
+ };
23
56
  }>>, {
57
+ groupCode: string;
58
+ groupName: string;
59
+ groupNameI18nKey: string;
60
+ groupType: string;
24
61
  buttons: PageButton[];
25
62
  }>>;
26
63
  export default _default;
@@ -5,8 +5,24 @@ export declare const layoutButtonsProps: {
5
5
  type: PropType<PageButton[]>;
6
6
  default: null;
7
7
  };
8
+ groupName: {
9
+ type: PropType<string>;
10
+ default: string;
11
+ };
12
+ groupNameI18nKey: {
13
+ type: PropType<string>;
14
+ default: string;
15
+ };
16
+ groupCode: {
17
+ type: PropType<string>;
18
+ default: string;
19
+ };
20
+ groupType: {
21
+ type: PropType<string>;
22
+ default: string;
23
+ };
8
24
  };
9
- export declare type LayoutButtonsProps = ExtractPropTypes<typeof layoutButtonsProps>;
25
+ export type LayoutButtonsProps = ExtractPropTypes<typeof layoutButtonsProps>;
10
26
  export interface LayoutButtonsReturnType {
11
27
  classes: ComputedRef<{
12
28
  [key: string]: string | boolean;
@@ -1,22 +1,59 @@
1
1
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
- import { PageButton } from '../../edit-page-layout';
2
+ import type { RecordStringNumber, PageButton } from '../../edit-page-layout';
3
3
  declare const _sfc_main: DefineComponent<{
4
4
  buttons: {
5
5
  type: PropType<PageButton[]>;
6
6
  default: null;
7
7
  };
8
+ groupName: {
9
+ type: PropType<string>;
10
+ default: string;
11
+ };
12
+ groupNameI18nKey: {
13
+ type: PropType<string>;
14
+ default: string;
15
+ };
16
+ groupCode: {
17
+ type: PropType<string>;
18
+ default: string;
19
+ };
20
+ groupType: {
21
+ type: PropType<string>;
22
+ default: string;
23
+ };
8
24
  }, {
9
25
  classes: ComputedRef<{
10
26
  [key: string]: string | boolean;
11
27
  }>;
12
28
  buttons: Ref<PageButton[]>;
29
+ pageData: Ref<RecordStringNumber>;
13
30
  onClick: (btn: PageButton) => void;
14
31
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
15
32
  buttons: {
16
33
  type: PropType<PageButton[]>;
17
34
  default: null;
18
35
  };
36
+ groupName: {
37
+ type: PropType<string>;
38
+ default: string;
39
+ };
40
+ groupNameI18nKey: {
41
+ type: PropType<string>;
42
+ default: string;
43
+ };
44
+ groupCode: {
45
+ type: PropType<string>;
46
+ default: string;
47
+ };
48
+ groupType: {
49
+ type: PropType<string>;
50
+ default: string;
51
+ };
19
52
  }>>, {
53
+ groupCode: string;
54
+ groupName: string;
55
+ groupNameI18nKey: string;
56
+ groupType: string;
20
57
  buttons: PageButton[];
21
58
  }>;
22
59
  export default _sfc_main;
@@ -1,2 +1,2 @@
1
1
  import type { LayoutButtonsReturnType } from './layout-buttons-types';
2
- export default function useLayoutPattern(): LayoutButtonsReturnType;
2
+ export default function useLayoutButtons(): LayoutButtonsReturnType;
@@ -5,11 +5,9 @@ import QPageLayoutMode from './src/layout-pattern.vue';
5
5
  export * from './src/layout-pattern-types';
6
6
  export { QPageLayoutMode };
7
7
  declare const _default: SFCWithInstall<DefineComponent<{
8
- classes: {
9
- type: PropType<ComputedRef<{
10
- [key: string]: string | boolean;
11
- }>>;
12
- default(): {};
8
+ title: {
9
+ type: PropType<string>;
10
+ default: string;
13
11
  };
14
12
  }, {
15
13
  classes: ComputedRef<{
@@ -18,15 +16,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
18
16
  pattern: Pattern;
19
17
  componentName: ComputedRef<Pattern>;
20
18
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
21
- classes: {
22
- type: PropType<ComputedRef<{
23
- [key: string]: string | boolean;
24
- }>>;
25
- default(): {};
19
+ title: {
20
+ type: PropType<string>;
21
+ default: string;
26
22
  };
27
23
  }>>, {
28
- classes: ComputedRef<{
29
- [key: string]: string | boolean;
30
- }>;
24
+ title: string;
31
25
  }>>;
32
26
  export default _default;
@@ -1,7 +1,37 @@
1
- import type { PageButton, LayoutConfig } from '../../../edit-page-layout';
2
- import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
- declare const _sfc_main: DefineComponent<{}, {
1
+ import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ import type { PageButton, LayoutConfig, RecordStringNumber } from '../../../edit-page-layout';
3
+ declare const _sfc_main: DefineComponent<{
4
+ title: {
5
+ type: PropType<string>;
6
+ default: string;
7
+ };
8
+ }, {
4
9
  pageButtons: PageButton[];
5
10
  layoutConfig: Ref<LayoutConfig>;
6
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
11
+ title: Ref<string>;
12
+ isDetail: boolean;
13
+ fileVisible: Ref<boolean>;
14
+ fileProps: Ref<{
15
+ [x: string]: unknown;
16
+ data: {
17
+ [x: string]: unknown;
18
+ businessType: string;
19
+ headId: string;
20
+ };
21
+ action?: string | undefined;
22
+ }>;
23
+ handleChangeFiles: (fileResult: RecordStringNumber[]) => void;
24
+ showBackIcon: boolean;
25
+ handleAnchorClick: (link: {
26
+ title: string;
27
+ href: string;
28
+ }) => void;
29
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
30
+ title: {
31
+ type: PropType<string>;
32
+ default: string;
33
+ };
34
+ }>>, {
35
+ title: string;
36
+ }>;
7
37
  export default _sfc_main;
@@ -1,13 +1,11 @@
1
1
  import type { ComputedRef, PropType, ExtractPropTypes } from 'vue';
2
2
  export declare const layoutPatternProps: {
3
- classes: {
4
- type: PropType<ComputedRef<{
5
- [key: string]: string | boolean;
6
- }>>;
7
- default(): {};
3
+ title: {
4
+ type: PropType<string>;
5
+ default: string;
8
6
  };
9
7
  };
10
- export declare type LayoutPatternProps = ExtractPropTypes<typeof layoutPatternProps>;
8
+ export type LayoutPatternProps = ExtractPropTypes<typeof layoutPatternProps>;
11
9
  export interface LayoutPatternReturnType {
12
10
  classes: ComputedRef<{
13
11
  [key: string]: string | boolean;
@@ -1,11 +1,9 @@
1
1
  import type { Pattern } from '../../edit-page-layout';
2
2
  import type { DefineComponent, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
3
  declare const _sfc_main: DefineComponent<{
4
- classes: {
5
- type: PropType<ComputedRef<{
6
- [key: string]: string | boolean;
7
- }>>;
8
- default(): {};
4
+ title: {
5
+ type: PropType<string>;
6
+ default: string;
9
7
  };
10
8
  }, {
11
9
  classes: ComputedRef<{
@@ -14,15 +12,11 @@ declare const _sfc_main: DefineComponent<{
14
12
  pattern: Pattern;
15
13
  componentName: ComputedRef<Pattern>;
16
14
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
17
- classes: {
18
- type: PropType<ComputedRef<{
19
- [key: string]: string | boolean;
20
- }>>;
21
- default(): {};
15
+ title: {
16
+ type: PropType<string>;
17
+ default: string;
22
18
  };
23
19
  }>>, {
24
- classes: ComputedRef<{
25
- [key: string]: string | boolean;
26
- }>;
20
+ title: string;
27
21
  }>;
28
22
  export default _sfc_main;