@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
@@ -0,0 +1,85 @@
1
+ import type { ExtractPropTypes, PropType } from 'vue';
2
+ import type { VxeTableProps } from 'vxe-table';
3
+ export interface ModalConfig {
4
+ isTree?: boolean;
5
+ }
6
+ export type RequestMethod = 'get' | 'post';
7
+ export type TableConfig = VxeTableProps;
8
+ export type ModalType = 'single' | 'multiple' | '';
9
+ export interface Columns {
10
+ type?: string;
11
+ field?: string;
12
+ title?: string;
13
+ align?: string;
14
+ fieldLabelI18nKey?: string;
15
+ width?: number;
16
+ }
17
+ export interface OpenFuncType {
18
+ url: string;
19
+ params?: object;
20
+ columns: Columns[];
21
+ selectModal?: ModalType;
22
+ requestMethod?: RequestMethod;
23
+ }
24
+ interface BasePage {
25
+ total?: number;
26
+ align?: string;
27
+ pageSizes?: number[];
28
+ layouts?: string[];
29
+ perfect?: boolean;
30
+ }
31
+ export interface TablePage extends BasePage {
32
+ currentPage: number;
33
+ pageSize: number;
34
+ }
35
+ export interface Params extends BasePage {
36
+ pageNo: number;
37
+ pageSize: number;
38
+ keyWord?: string;
39
+ }
40
+ export interface EmptyObj {
41
+ [key: string]: never;
42
+ }
43
+ export declare const fieldSelectModalProps: {
44
+ modalTitle: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ };
48
+ apiUrls: {
49
+ type: StringConstructor;
50
+ default: string;
51
+ };
52
+ requestMethod: {
53
+ type: PropType<RequestMethod>;
54
+ default: string;
55
+ };
56
+ modalConfig: {
57
+ type: PropType<ModalConfig>;
58
+ default: () => {};
59
+ };
60
+ tableConfig: {
61
+ type: PropType<VxeTableProps<any>>;
62
+ default: () => {
63
+ height: number;
64
+ isTree: boolean;
65
+ radioConfig: {};
66
+ checkboxConfig: {
67
+ highlight: boolean;
68
+ reserve: boolean;
69
+ trigger: string;
70
+ };
71
+ pagerConfig: {};
72
+ treeConfig: {};
73
+ };
74
+ };
75
+ placeholder: {
76
+ type: StringConstructor;
77
+ default: string;
78
+ };
79
+ selectModal: {
80
+ type: PropType<ModalType>;
81
+ default: string;
82
+ };
83
+ };
84
+ export type FieldSelectModalProps = ExtractPropTypes<typeof fieldSelectModalProps>;
85
+ export {};
@@ -0,0 +1,146 @@
1
+ import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComputedRef } from 'vue';
2
+ import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from './field-select-modal-types';
3
+ import type { VxeTableProps, VxeGridInstance } from 'vxe-table';
4
+ declare const _sfc_main: DefineComponent<{
5
+ modalTitle: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ };
9
+ apiUrls: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ requestMethod: {
14
+ type: PropType<RequestMethod>;
15
+ default: string;
16
+ };
17
+ modalConfig: {
18
+ type: PropType<ModalConfig>;
19
+ default: () => {};
20
+ };
21
+ tableConfig: {
22
+ type: PropType<VxeTableProps<any>>;
23
+ default: () => {
24
+ height: number;
25
+ isTree: boolean;
26
+ radioConfig: {};
27
+ checkboxConfig: {
28
+ highlight: boolean;
29
+ reserve: boolean;
30
+ trigger: string;
31
+ };
32
+ pagerConfig: {};
33
+ treeConfig: {};
34
+ };
35
+ };
36
+ placeholder: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ selectModal: {
41
+ type: PropType<ModalType>;
42
+ default: string;
43
+ };
44
+ }, {
45
+ classes: ComputedRef<{
46
+ [x: string]: boolean;
47
+ }>;
48
+ selectGrid: Ref<VxeGridInstance | null>;
49
+ data: {
50
+ url: string;
51
+ params: {
52
+ pageNo: number;
53
+ pageSize: number;
54
+ keyWord?: string | undefined;
55
+ total?: number | undefined;
56
+ align?: string | undefined;
57
+ pageSizes?: number[] | undefined;
58
+ layouts?: string[] | undefined;
59
+ perfect?: boolean | undefined;
60
+ };
61
+ modalLoading: boolean;
62
+ loading: boolean;
63
+ };
64
+ modalShow: Ref<boolean>;
65
+ modalConfigComputed: ComputedRef<any>;
66
+ tableConfigComputed: ComputedRef<any>;
67
+ tablePage: {
68
+ currentPage: number;
69
+ pageSize: number;
70
+ total?: number | undefined;
71
+ align?: string | undefined;
72
+ pageSizes?: number[] | undefined;
73
+ layouts?: string[] | undefined;
74
+ perfect?: boolean | undefined;
75
+ };
76
+ tableData: Ref<Record<string, unknown>[]>;
77
+ columns: Ref<{
78
+ type?: string | undefined;
79
+ field?: string | undefined;
80
+ title?: string | undefined;
81
+ align?: string | undefined;
82
+ fieldLabelI18nKey?: string | undefined;
83
+ width?: number | undefined;
84
+ }[]>;
85
+ form: {
86
+ keyWord: string;
87
+ };
88
+ selectModal: Ref<ModalType>;
89
+ getPagerConfig: ComputedRef<any>;
90
+ modalTitle: Ref<string>;
91
+ placeholder: Ref<string>;
92
+ open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
93
+ close: () => void;
94
+ onSearch: (keyWord: string) => void;
95
+ handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
96
+ selectedOk: () => void;
97
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
98
+ modalTitle: {
99
+ type: StringConstructor;
100
+ default: string;
101
+ };
102
+ apiUrls: {
103
+ type: StringConstructor;
104
+ default: string;
105
+ };
106
+ requestMethod: {
107
+ type: PropType<RequestMethod>;
108
+ default: string;
109
+ };
110
+ modalConfig: {
111
+ type: PropType<ModalConfig>;
112
+ default: () => {};
113
+ };
114
+ tableConfig: {
115
+ type: PropType<VxeTableProps<any>>;
116
+ default: () => {
117
+ height: number;
118
+ isTree: boolean;
119
+ radioConfig: {};
120
+ checkboxConfig: {
121
+ highlight: boolean;
122
+ reserve: boolean;
123
+ trigger: string;
124
+ };
125
+ pagerConfig: {};
126
+ treeConfig: {};
127
+ };
128
+ };
129
+ placeholder: {
130
+ type: StringConstructor;
131
+ default: string;
132
+ };
133
+ selectModal: {
134
+ type: PropType<ModalType>;
135
+ default: string;
136
+ };
137
+ }>>, {
138
+ modalConfig: ModalConfig;
139
+ modalTitle: string;
140
+ apiUrls: string;
141
+ requestMethod: RequestMethod;
142
+ tableConfig: VxeTableProps<any>;
143
+ placeholder: string;
144
+ selectModal: ModalType;
145
+ }>;
146
+ export default _sfc_main;
@@ -0,0 +1,6 @@
1
+ import type { ComputedRef } from 'vue';
2
+ export default function useFieldSelectModal(): {
3
+ classes: ComputedRef<{
4
+ [x: string]: boolean;
5
+ }>;
6
+ };
@@ -1,13 +1,33 @@
1
1
  import * as QLayout from './layout';
2
2
  import * as QSwitch from './switch';
3
3
  import * as QSelect from './select';
4
+ import * as QTreeSelect from './tree-select';
5
+ import * as QVxeSelect from './vxe-select';
4
6
  import * as QCascader from './cascader';
7
+ import * as QBreadcrumb from './breadcrumb';
8
+ import * as QCollapseTransition from './collapse-transition';
9
+ import * as QFieldSelectModal from './field-select-modal';
10
+ import * as QSelectModal from './select-modal';
11
+ import * as QRemoteSelect from './remote-select';
12
+ import * as QEditor from './editor';
5
13
  import * as QEditPageLayout from './edit-page-layout';
14
+ import * as QDetailPageLayout from './detail-page-layout';
6
15
  import * as QPageLayout from './page-layout';
7
16
  import * as QLayoutPattern from './layout-pattern';
8
- import * as QLayoutHeader from './layout-header';
9
17
  import * as QLayoutButtons from './layout-buttons';
10
- import * as QLayoutAuchor from './layout-auchor';
18
+ import * as QLayoutAnchor from './layout-anchor';
11
19
  import * as QEditForm from './edit-form';
20
+ import * as QDetailForm from './detail-form';
12
21
  import * as QEditGrid from './edit-grid';
13
- export { QLayout, QSwitch, QSelect, QCascader, QEditPageLayout, QPageLayout, QLayoutPattern, QLayoutHeader, QLayoutButtons, QLayoutAuchor, QEditForm, QEditGrid };
22
+ import * as QDetailGrid from './detail-grid';
23
+ import * as QItemWrap from './item-wrap';
24
+ import * as QListLayout from './list-page-layout';
25
+ import * as QRadio from './radio';
26
+ import * as QCodeEditorModel from './codeEditorModel';
27
+ import * as QCheckBox from './checkbox';
28
+ import * as QCurrency from './currency';
29
+ import * as QUploadImage from './upload-image';
30
+ import * as QUploadFile from './upload-file';
31
+ import * as QCoutdown from './coutdown/index';
32
+ import * as QCardListLayout from './card-list-layout/index';
33
+ export { QLayout, QSwitch, QSelect, QTreeSelect, QVxeSelect, QCascader, QBreadcrumb, QCollapseTransition, QEditPageLayout, QDetailPageLayout, QPageLayout, QLayoutPattern, QLayoutButtons, QLayoutAnchor, QEditForm, QDetailForm, QEditGrid, QDetailGrid, QItemWrap, QListLayout, QRadio, QFieldSelectModal, QCodeEditorModel, QCheckBox, QCurrency, QSelectModal, QUploadImage, QRemoteSelect, QEditor, QUploadFile, QCoutdown, QCardListLayout, };
@@ -0,0 +1,57 @@
1
+ import type { requiredValidator } from './src/item-wrap-types';
2
+ import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
+ import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
4
+ import QItemWrap from './src/item-wrap.vue';
5
+ export * from './src/item-wrap-types';
6
+ export { QItemWrap };
7
+ declare const _default: SFCWithInstall<DefineComponent<{
8
+ readonly required: {
9
+ readonly type: PropType<"0" | "1">;
10
+ readonly default: "";
11
+ readonly validator: typeof requiredValidator;
12
+ };
13
+ readonly disabled: {
14
+ readonly type: BooleanConstructor;
15
+ readonly default: false;
16
+ };
17
+ readonly label: {
18
+ readonly type: StringConstructor;
19
+ readonly default: "";
20
+ };
21
+ readonly helpText: {
22
+ readonly type: StringConstructor;
23
+ readonly default: "";
24
+ };
25
+ }, {
26
+ classes: ComputedRef<{
27
+ [key: string]: string | boolean;
28
+ }>;
29
+ label: string;
30
+ helpText: string;
31
+ required: Ref<"0" | "1">;
32
+ disabled: Ref<boolean>;
33
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
34
+ readonly required: {
35
+ readonly type: PropType<"0" | "1">;
36
+ readonly default: "";
37
+ readonly validator: typeof requiredValidator;
38
+ };
39
+ readonly disabled: {
40
+ readonly type: BooleanConstructor;
41
+ readonly default: false;
42
+ };
43
+ readonly label: {
44
+ readonly type: StringConstructor;
45
+ readonly default: "";
46
+ };
47
+ readonly helpText: {
48
+ readonly type: StringConstructor;
49
+ readonly default: "";
50
+ };
51
+ }>>, {
52
+ readonly disabled: boolean;
53
+ readonly required: "0" | "1";
54
+ readonly helpText: string;
55
+ readonly label: string;
56
+ }>>;
57
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import type { ComputedRef, PropType, ExtractPropTypes } from 'vue';
2
+ export declare function requiredValidator(val: string): boolean;
3
+ export declare const itemWrapProps: {
4
+ readonly required: {
5
+ readonly type: PropType<"0" | "1">;
6
+ readonly default: "";
7
+ readonly validator: typeof requiredValidator;
8
+ };
9
+ readonly disabled: {
10
+ readonly type: BooleanConstructor;
11
+ readonly default: false;
12
+ };
13
+ readonly label: {
14
+ readonly type: StringConstructor;
15
+ readonly default: "";
16
+ };
17
+ readonly helpText: {
18
+ readonly type: StringConstructor;
19
+ readonly default: "";
20
+ };
21
+ };
22
+ export type ItemWrapProps = ExtractPropTypes<typeof itemWrapProps>;
23
+ export interface ItemWrapReturnType {
24
+ classes: ComputedRef<{
25
+ [key: string]: string | boolean;
26
+ }>;
27
+ }
@@ -0,0 +1,53 @@
1
+ import type { requiredValidator } from './item-wrap-types';
2
+ import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
+ declare const _sfc_main: DefineComponent<{
4
+ readonly required: {
5
+ readonly type: PropType<"0" | "1">;
6
+ readonly default: "";
7
+ readonly validator: typeof requiredValidator;
8
+ };
9
+ readonly disabled: {
10
+ readonly type: BooleanConstructor;
11
+ readonly default: false;
12
+ };
13
+ readonly label: {
14
+ readonly type: StringConstructor;
15
+ readonly default: "";
16
+ };
17
+ readonly helpText: {
18
+ readonly type: StringConstructor;
19
+ readonly default: "";
20
+ };
21
+ }, {
22
+ classes: ComputedRef<{
23
+ [key: string]: string | boolean;
24
+ }>;
25
+ label: string;
26
+ helpText: string;
27
+ required: Ref<"0" | "1">;
28
+ disabled: Ref<boolean>;
29
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
30
+ readonly required: {
31
+ readonly type: PropType<"0" | "1">;
32
+ readonly default: "";
33
+ readonly validator: typeof requiredValidator;
34
+ };
35
+ readonly disabled: {
36
+ readonly type: BooleanConstructor;
37
+ readonly default: false;
38
+ };
39
+ readonly label: {
40
+ readonly type: StringConstructor;
41
+ readonly default: "";
42
+ };
43
+ readonly helpText: {
44
+ readonly type: StringConstructor;
45
+ readonly default: "";
46
+ };
47
+ }>>, {
48
+ readonly disabled: boolean;
49
+ readonly required: "0" | "1";
50
+ readonly helpText: string;
51
+ readonly label: string;
52
+ }>;
53
+ export default _sfc_main;
@@ -0,0 +1,2 @@
1
+ import { ItemWrapProps, ItemWrapReturnType } from './item-wrap-types';
2
+ export default function useInput(props: ItemWrapProps): ItemWrapReturnType;
@@ -1,9 +1,13 @@
1
- import type { MenuProps } from './src/index.vue';
2
- import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
1
+ import type { Menu, UserInfoType } from './src/types';
2
+ import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
3
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
4
4
  import QQTLayout from './src/index.vue';
5
5
  export { QQTLayout };
6
6
  declare const _default: SFCWithInstall<DefineComponent<{
7
+ internalOrExternal: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
7
11
  version: {
8
12
  type: StringConstructor;
9
13
  };
@@ -27,10 +31,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
27
31
  };
28
32
  menus: {
29
33
  type: {
30
- (arrayLength: number): MenuProps[];
31
- (...items: MenuProps[]): MenuProps[];
32
- new (arrayLength: number): MenuProps[];
33
- new (...items: MenuProps[]): MenuProps[];
34
+ (arrayLength: number): Menu[];
35
+ (...items: Menu[]): Menu[];
36
+ new (arrayLength: number): Menu[];
37
+ new (...items: Menu[]): Menu[];
34
38
  isArray(arg: any): arg is any[];
35
39
  readonly prototype: any[];
36
40
  from<T>(arrayLike: ArrayLike<T>): T[];
@@ -46,6 +50,42 @@ declare const _default: SFCWithInstall<DefineComponent<{
46
50
  type: StringConstructor;
47
51
  default: string;
48
52
  };
53
+ logoutEvent: {
54
+ type: FunctionConstructor;
55
+ };
56
+ userInfo: {
57
+ type: PropType<UserInfoType>;
58
+ };
59
+ defaultLanguage: {
60
+ type: StringConstructor;
61
+ };
62
+ switchLanguageEvent: {
63
+ type: FunctionConstructor;
64
+ };
65
+ msgRecord: {
66
+ type: FunctionConstructor;
67
+ };
68
+ personalSetting: {
69
+ type: FunctionConstructor;
70
+ };
71
+ tanentPageHome: {
72
+ type: FunctionConstructor;
73
+ };
74
+ shoppingMall: {
75
+ type: FunctionConstructor;
76
+ };
77
+ webFinancialCloud: {
78
+ type: FunctionConstructor;
79
+ };
80
+ webProcurement: {
81
+ type: FunctionConstructor;
82
+ };
83
+ chat: {
84
+ type: FunctionConstructor;
85
+ };
86
+ kefu: {
87
+ type: FunctionConstructor;
88
+ };
49
89
  }, {
50
90
  menuSelect: (obj: any) => void;
51
91
  scheduleClick: () => void;
@@ -53,10 +93,14 @@ declare const _default: SFCWithInstall<DefineComponent<{
53
93
  layoutAreaClick: (e: {
54
94
  target: Node | null;
55
95
  }) => void;
56
- updateMenuShow: () => void;
96
+ updateMenuShow: (flag: boolean) => void;
57
97
  secondMenuShow: Ref<boolean>;
58
98
  siderRef: Ref<any>;
59
99
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "schedule-click" | "services-click")[], "menuSelect" | "schedule-click" | "services-click", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
100
+ internalOrExternal: {
101
+ type: BooleanConstructor;
102
+ default: boolean;
103
+ };
60
104
  version: {
61
105
  type: StringConstructor;
62
106
  };
@@ -80,10 +124,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
80
124
  };
81
125
  menus: {
82
126
  type: {
83
- (arrayLength: number): MenuProps[];
84
- (...items: MenuProps[]): MenuProps[];
85
- new (arrayLength: number): MenuProps[];
86
- new (...items: MenuProps[]): MenuProps[];
127
+ (arrayLength: number): Menu[];
128
+ (...items: Menu[]): Menu[];
129
+ new (arrayLength: number): Menu[];
130
+ new (...items: Menu[]): Menu[];
87
131
  isArray(arg: any): arg is any[];
88
132
  readonly prototype: any[];
89
133
  from<T>(arrayLike: ArrayLike<T>): T[];
@@ -99,13 +143,50 @@ declare const _default: SFCWithInstall<DefineComponent<{
99
143
  type: StringConstructor;
100
144
  default: string;
101
145
  };
146
+ logoutEvent: {
147
+ type: FunctionConstructor;
148
+ };
149
+ userInfo: {
150
+ type: PropType<UserInfoType>;
151
+ };
152
+ defaultLanguage: {
153
+ type: StringConstructor;
154
+ };
155
+ switchLanguageEvent: {
156
+ type: FunctionConstructor;
157
+ };
158
+ msgRecord: {
159
+ type: FunctionConstructor;
160
+ };
161
+ personalSetting: {
162
+ type: FunctionConstructor;
163
+ };
164
+ tanentPageHome: {
165
+ type: FunctionConstructor;
166
+ };
167
+ shoppingMall: {
168
+ type: FunctionConstructor;
169
+ };
170
+ webFinancialCloud: {
171
+ type: FunctionConstructor;
172
+ };
173
+ webProcurement: {
174
+ type: FunctionConstructor;
175
+ };
176
+ chat: {
177
+ type: FunctionConstructor;
178
+ };
179
+ kefu: {
180
+ type: FunctionConstructor;
181
+ };
102
182
  }>> & {
103
183
  onMenuSelect?: ((...args: any[]) => any) | undefined;
104
184
  "onSchedule-click"?: ((...args: any[]) => any) | undefined;
105
185
  "onServices-click"?: ((...args: any[]) => any) | undefined;
106
186
  }, {
187
+ menus: Menu[];
107
188
  layoutMode: string;
108
- menus: MenuProps[];
189
+ internalOrExternal: boolean;
109
190
  collapsible: boolean;
110
191
  }>>;
111
192
  export default _default;