@qqt-product/ui 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/dist/index.es.js +54012 -78511
  2. package/dist/index.umd.js +24 -123
  3. package/dist/lib/components/breadcrumb/index.d.ts +1 -1
  4. package/dist/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +1 -1
  5. package/dist/lib/components/card-list-layout/index.d.ts +14 -14
  6. package/dist/lib/components/card-list-layout/src/card-content.vue.d.ts +4 -4
  7. package/dist/lib/components/card-list-layout/src/cardItem.vue.d.ts +7 -7
  8. package/dist/lib/components/card-list-layout/src/index.vue.d.ts +14 -14
  9. package/dist/lib/components/card-list-layout/src/sidebar.vue.d.ts +1 -1
  10. package/dist/lib/components/cascader/index.d.ts +6 -6
  11. package/dist/lib/components/cascader/src/cascader.vue.d.ts +6 -6
  12. package/dist/lib/components/checkbox/index.d.ts +7 -7
  13. package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +7 -7
  14. package/dist/lib/components/codeEditorModel/index.d.ts +4 -98
  15. package/dist/lib/components/codeEditorModel/src/codeEditorModel.vue.d.ts +4 -98
  16. package/dist/lib/components/collapse-transition/index.d.ts +1 -1
  17. package/dist/lib/components/collapse-transition/src/collapse-transition.vue.d.ts +1 -1
  18. package/dist/lib/components/coutdown/index.d.ts +4 -14
  19. package/dist/lib/components/coutdown/src/coutdown.d.ts +0 -8
  20. package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +4 -22
  21. package/dist/lib/components/currency/index.d.ts +3 -3
  22. package/dist/lib/components/currency/src/currency.vue.d.ts +3 -3
  23. package/dist/lib/components/detail-form/index.d.ts +4 -4
  24. package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +4 -4
  25. package/dist/lib/components/detail-grid/index.d.ts +337 -292
  26. package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +337 -292
  27. package/dist/lib/components/detail-grid/src/hook/use-grid-config-hook.d.ts +2 -2
  28. package/dist/lib/components/detail-page-layout/index.d.ts +1 -1
  29. package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +1 -1
  30. package/dist/lib/components/edit-form/index.d.ts +4 -4
  31. package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +4 -4
  32. package/dist/lib/components/edit-grid/index.d.ts +337 -293
  33. package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +2 -2
  34. package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +337 -293
  35. package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +2 -2
  36. package/dist/lib/components/edit-page-layout/index.d.ts +1 -1
  37. package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +8 -4
  38. package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +1 -1
  39. package/dist/lib/components/editor/index.d.ts +2 -2
  40. package/dist/lib/components/editor/src/index.vue.d.ts +2 -2
  41. package/dist/lib/components/field-select-modal/index.d.ts +9 -9
  42. package/dist/lib/components/field-select-modal/src/field-select-modal-types.d.ts +2 -2
  43. package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +9 -9
  44. package/dist/lib/components/item-wrap/index.d.ts +2 -2
  45. package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +2 -2
  46. package/dist/lib/components/layout/index.d.ts +2 -2
  47. package/dist/lib/components/layout/src/header/index.vue.d.ts +11 -11
  48. package/dist/lib/components/layout/src/header/navRight/customMessage.vue.d.ts +2 -2
  49. package/dist/lib/components/layout/src/header/navRight/customPerson.vue.d.ts +1 -1
  50. package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +9 -9
  51. package/dist/lib/components/layout/src/header/navRight/langSwitch.vue.d.ts +1 -1
  52. package/dist/lib/components/layout/src/header/navRight/rightTool.vue.d.ts +4 -4
  53. package/dist/lib/components/layout/src/header/navRight/settingDrawer.vue.d.ts +2 -2
  54. package/dist/lib/components/layout/src/index.vue.d.ts +2 -2
  55. package/dist/lib/components/layout/src/menu/deepCycleSubMenu.vue.d.ts +1 -1
  56. package/dist/lib/components/layout/src/menu/menu.vue.d.ts +2 -2
  57. package/dist/lib/components/layout/src/menu/secondLevelMenu.vue.d.ts +2 -2
  58. package/dist/lib/components/layout/src/menu/subSecondMenu.vue.d.ts +1 -1
  59. package/dist/lib/components/layout/src/sider/index.vue.d.ts +1 -1
  60. package/dist/lib/components/layout/src/sider/logo.vue.d.ts +2 -2
  61. package/dist/lib/components/layout/src/sider/search.vue.d.ts +1 -1
  62. package/dist/lib/components/layout-anchor/index.d.ts +1 -1
  63. package/dist/lib/components/layout-anchor/src/layout-auchor.vue.d.ts +1 -1
  64. package/dist/lib/components/layout-buttons/index.d.ts +3 -3
  65. package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +3 -3
  66. package/dist/lib/components/layout-pattern/index.d.ts +1 -1
  67. package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +44 -6
  68. package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +1 -1
  69. package/dist/lib/components/list-page-layout/index.d.ts +7 -7
  70. package/dist/lib/components/list-page-layout/src/components/common/add-modal/add-modal.vue.d.ts +1 -1
  71. package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +23 -23
  72. package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/edit-nav-modal.vue.d.ts +1 -1
  73. package/dist/lib/components/list-page-layout/src/components/common/help-text-modal/help-text-modal.vue.d.ts +1 -1
  74. package/dist/lib/components/list-page-layout/src/components/common/import-modal/import-modal.vue.d.ts +1 -1
  75. package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +656 -566
  76. package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +1 -1
  77. package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +10 -10
  78. package/dist/lib/components/list-page-layout/src/components/list-content-buttons/list-content-buttons.vue.d.ts +1 -1
  79. package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +1 -1
  80. package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +1 -1
  81. package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +1 -1
  82. package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +2 -2
  83. package/dist/lib/components/list-page-layout/src/components/list-header/module/tabs/index.vue.d.ts +1 -1
  84. package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +7 -7
  85. package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +3 -3
  86. package/dist/lib/components/list-page-layout/src/tokens.d.ts +2 -2
  87. package/dist/lib/components/page-layout/index.d.ts +1 -1
  88. package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +1 -1
  89. package/dist/lib/components/radio/index.d.ts +7 -7
  90. package/dist/lib/components/radio/src/radio.vue.d.ts +7 -7
  91. package/dist/lib/components/remote-select/index.d.ts +5 -5
  92. package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +5 -5
  93. package/dist/lib/components/select/index.d.ts +5 -5
  94. package/dist/lib/components/select/src/select.vue.d.ts +5 -5
  95. package/dist/lib/components/select-modal/index.d.ts +71 -67
  96. package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +71 -67
  97. package/dist/lib/components/switch/index.d.ts +2 -2
  98. package/dist/lib/components/switch/src/switch.vue.d.ts +2 -2
  99. package/dist/lib/components/tree-select/index.d.ts +5 -5
  100. package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +5 -5
  101. package/dist/lib/components/upload-file/index.d.ts +23 -15
  102. package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +29 -15
  103. package/dist/lib/components/upload-file/src/hook/use-operation-column-button-hook.d.ts +1 -1
  104. package/dist/lib/components/upload-file/src/upload-file-types.d.ts +6 -19
  105. package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +22 -13
  106. package/dist/lib/components/upload-image/index.d.ts +4 -4
  107. package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +4 -4
  108. package/dist/lib/components/vxe-select/index.d.ts +6 -6
  109. package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +6 -6
  110. package/dist/lib/index.d.ts +1 -2
  111. package/dist/style.css +2 -2
  112. package/package.json +19 -19
  113. package/dist/components/ComponentsDemo.vue.d.ts +0 -13
  114. package/dist/components/EditPage.vue.d.ts +0 -6011
  115. package/dist/components/PreviewList.vue.d.ts +0 -218
  116. package/dist/components/hook/use-field-select-modal-hook.d.ts +0 -288
  117. package/dist/components/login.vue.d.ts +0 -19
  118. package/dist/components/mock.d.ts +0 -260
  119. package/dist/components/mockList.d.ts +0 -44
  120. package/dist/lib/components/upload-file/src/hook/use-operation-column-hook.d.ts +0 -15
  121. package/dist/router/index.d.ts +0 -4
  122. package/dist/stores/user.d.ts +0 -25
  123. package/dist/utils/qApiPlugin.d.ts +0 -6
  124. package/dist/views/dashboard/workspace.vue.d.ts +0 -6972
@@ -1,218 +0,0 @@
1
- import type { SizeType, VxePagerPropTypes } from 'vxe-table';
2
- import type { ObjectMap, ListOptionsEventParams, OptColumnListItem, ButtonItem } from '../lib/components/list-page-layout/src/list-page-layout-types';
3
- import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
4
- declare const _sfc_main: DefineComponent<{}, {
5
- token: string;
6
- pageData: {
7
- [x: string]: unknown;
8
- onlyShowNav?: boolean | undefined;
9
- optColumn?: {
10
- attrs?: ObjectMap | undefined;
11
- extend?: ObjectMap | undefined;
12
- optColumnList: {
13
- type?: string | undefined;
14
- title: string;
15
- authorityCode?: string | undefined;
16
- attrs?: ObjectMap | undefined;
17
- args?: {
18
- [x: string]: unknown;
19
- url?: string | undefined;
20
- } | undefined;
21
- click?: ((args: ListOptionsEventParams) => void) | undefined;
22
- disabled?: boolean | (({ currentOpt, row }: {
23
- currentOpt: OptColumnListItem;
24
- row: ObjectMap;
25
- }) => boolean | void) | undefined;
26
- }[];
27
- } | undefined;
28
- buttonConfig?: {
29
- attrs?: ObjectMap | undefined;
30
- extend?: ObjectMap | undefined;
31
- buttons: {
32
- label?: string | undefined;
33
- icon?: string | ObjectMap | undefined;
34
- type?: string | undefined;
35
- attrs?: ObjectMap | undefined;
36
- args?: {
37
- [x: string]: unknown;
38
- url?: string | undefined;
39
- } | undefined;
40
- authorityCode?: string | undefined;
41
- disabled?: boolean | (<T>(args: T) => boolean | void) | undefined;
42
- click?: ((args: ButtonItem) => void) | undefined;
43
- handleBefore?: (<T_1>(args: T_1) => void | Promise<T_1>) | undefined;
44
- handleAfter?: (<T_2>(args: T_2) => void | Promise<T_2>) | undefined;
45
- }[];
46
- } | undefined;
47
- toolsConfig?: {
48
- attrs?: ObjectMap | undefined;
49
- extend?: ObjectMap | undefined;
50
- buttons: {
51
- toggleIcon?: string | ObjectMap | undefined;
52
- label?: string | undefined;
53
- icon?: string | ObjectMap | undefined;
54
- type?: string | undefined;
55
- attrs?: ObjectMap | undefined;
56
- args?: {
57
- [x: string]: unknown;
58
- url?: string | undefined;
59
- } | undefined;
60
- authorityCode?: string | undefined;
61
- disabled?: boolean | (<T>(args: T) => boolean | void) | undefined;
62
- click?: ((args: ButtonItem) => void) | undefined;
63
- handleBefore?: (<T_1>(args: T_1) => void | Promise<T_1>) | undefined;
64
- handleAfter?: (<T_2>(args: T_2) => void | Promise<T_2>) | undefined;
65
- }[];
66
- } | undefined;
67
- queryConfig?: {
68
- attrs?: ObjectMap | undefined;
69
- extend?: ObjectMap | undefined;
70
- form: {
71
- type: string;
72
- label: string;
73
- fieldName: string;
74
- placeholder?: string | undefined;
75
- options?: ObjectMap[] | undefined;
76
- dictCode?: string | undefined;
77
- }[];
78
- formState: ObjectMap;
79
- } | undefined;
80
- statusConfig?: {
81
- show?: boolean | (() => boolean | void) | undefined;
82
- filter?: ObjectMap | undefined;
83
- currentValue?: {
84
- [x: string]: any;
85
- proName: string;
86
- rejectReason: string;
87
- title: string;
88
- total: string | number;
89
- flag?: string | undefined;
90
- } | undefined;
91
- } | undefined;
92
- filterConfig?: {
93
- show?: boolean | (() => boolean | void) | undefined;
94
- filter?: ObjectMap | undefined;
95
- } | undefined;
96
- navConfig?: {
97
- show?: boolean | (() => boolean | void) | undefined;
98
- } | undefined;
99
- pagerConfig?: {
100
- enabled?: boolean | undefined;
101
- slots?: any;
102
- size?: SizeType | undefined;
103
- layouts?: ("PrevJump" | "PrevPage" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "FullJump" | "PageCount" | "Total" | "Number" | "Jump")[] | undefined;
104
- currentPage?: number | undefined;
105
- loading?: boolean | undefined;
106
- pageSize?: number | undefined;
107
- total?: number | undefined;
108
- pagerCount?: number | undefined;
109
- pageSizes?: (number | {
110
- label?: string | number | undefined;
111
- value?: string | number | undefined;
112
- })[] | undefined;
113
- align?: string | undefined;
114
- border?: boolean | undefined;
115
- background?: boolean | undefined;
116
- perfect?: boolean | undefined;
117
- autoHidden?: boolean | undefined;
118
- transfer?: boolean | undefined;
119
- className?: VxePagerPropTypes.ClassName | undefined;
120
- iconPrevPage?: string | undefined;
121
- iconJumpPrev?: string | undefined;
122
- iconJumpNext?: string | undefined;
123
- iconNextPage?: string | undefined;
124
- iconJumpMore?: string | undefined;
125
- } | undefined;
126
- };
127
- cellClick: () => void;
128
- tabsData: {
129
- label: string;
130
- tabList: ({
131
- fileName: string;
132
- rejectReason: null;
133
- title: string;
134
- total: number;
135
- value: null;
136
- } | {
137
- fileName: string;
138
- rejectReason: null;
139
- title: string;
140
- total: number;
141
- value: string;
142
- })[];
143
- };
144
- gridOptions1: {
145
- border: boolean;
146
- height: number;
147
- align: null;
148
- columnConfig: {
149
- resizable: boolean;
150
- };
151
- tableColumns: ({
152
- type: string;
153
- width: number;
154
- field?: undefined;
155
- title?: undefined;
156
- showHeaderOverflow?: undefined;
157
- showOverflow?: undefined;
158
- } | {
159
- field: string;
160
- title: string;
161
- width: number;
162
- type?: undefined;
163
- showHeaderOverflow?: undefined;
164
- showOverflow?: undefined;
165
- } | {
166
- field: string;
167
- title: string;
168
- showHeaderOverflow: boolean;
169
- width: number;
170
- type?: undefined;
171
- showOverflow?: undefined;
172
- } | {
173
- field: string;
174
- title: string;
175
- showOverflow: boolean;
176
- width: number;
177
- type?: undefined;
178
- showHeaderOverflow?: undefined;
179
- })[];
180
- toolbarConfig: {
181
- slots: {
182
- buttons: string;
183
- };
184
- };
185
- tableData: {
186
- id: number;
187
- name: string;
188
- nickname: string;
189
- role: string;
190
- sex: string;
191
- age: number;
192
- address: string;
193
- }[];
194
- };
195
- filterList: {
196
- label: string;
197
- tabList: ({
198
- fileName: string;
199
- rejectReason: null;
200
- title: string;
201
- total: number;
202
- value: null;
203
- } | {
204
- fileName: string;
205
- rejectReason: null;
206
- title: string;
207
- total: number;
208
- value: string;
209
- })[];
210
- };
211
- tagCheckChange: () => void;
212
- apiUrls: {
213
- columnsCode: string;
214
- list: string;
215
- countTabsUrl: string;
216
- };
217
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
218
- export default _sfc_main;
@@ -1,288 +0,0 @@
1
- import type { VxeTableProps, VxeGridInstance } from 'vxe-table';
2
- import type { ModalConfig, RequestMethod, ModalType, OpenFuncType, TablePage } from '../../lib/components/field-select-modal';
3
- import type { ComponentInternalInstance, ExtractPropTypes, PropType, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentOptionsBase, ComputedRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Ref, ComponentPublicInstance } from 'vue';
4
- import type { PageButtonWithGroupCode, RecordStringNumber } from '../../lib/components/edit-page-layout';
5
- export default function useFieldSelectModal(layoutRef: Ref<ComponentPublicInstance | null>): {
6
- fieldSelectModal: Ref<({
7
- $: ComponentInternalInstance;
8
- $data: {};
9
- $props: Partial<{
10
- modalConfig: ModalConfig;
11
- modalTitle: string;
12
- apiUrls: string;
13
- requestMethod: RequestMethod;
14
- tableConfig: VxeTableProps<any>;
15
- placeholder: string;
16
- selectModal: ModalType;
17
- }> & Omit<Readonly<ExtractPropTypes<{
18
- modalTitle: {
19
- type: StringConstructor;
20
- default: string;
21
- };
22
- apiUrls: {
23
- type: StringConstructor;
24
- default: string;
25
- };
26
- requestMethod: {
27
- type: PropType<RequestMethod>;
28
- default: string;
29
- };
30
- modalConfig: {
31
- type: PropType<ModalConfig>;
32
- default: () => {};
33
- };
34
- tableConfig: {
35
- type: PropType<VxeTableProps<any>>;
36
- default: () => {
37
- height: number;
38
- isTree: boolean;
39
- radioConfig: {};
40
- checkboxConfig: {
41
- highlight: boolean;
42
- reserve: boolean;
43
- trigger: string;
44
- };
45
- pagerConfig: {};
46
- treeConfig: {};
47
- };
48
- };
49
- placeholder: {
50
- type: StringConstructor;
51
- default: string;
52
- };
53
- selectModal: {
54
- type: PropType<ModalType>;
55
- default: string;
56
- };
57
- }>> & VNodeProps & AllowedComponentProps & ComponentCustomProps, "modalConfig" | "modalTitle" | "apiUrls" | "requestMethod" | "tableConfig" | "placeholder" | "selectModal">;
58
- $attrs: {
59
- [x: string]: unknown;
60
- };
61
- $refs: {
62
- [x: string]: unknown;
63
- };
64
- $slots: Readonly<{
65
- [name: string]: Slot | undefined;
66
- }>;
67
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
68
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
69
- $emit: (event: string, ...args: any[]) => void;
70
- $el: any;
71
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
72
- modalTitle: {
73
- type: StringConstructor;
74
- default: string;
75
- };
76
- apiUrls: {
77
- type: StringConstructor;
78
- default: string;
79
- };
80
- requestMethod: {
81
- type: PropType<RequestMethod>;
82
- default: string;
83
- };
84
- modalConfig: {
85
- type: PropType<ModalConfig>;
86
- default: () => {};
87
- };
88
- tableConfig: {
89
- type: PropType<VxeTableProps<any>>;
90
- default: () => {
91
- height: number;
92
- isTree: boolean;
93
- radioConfig: {};
94
- checkboxConfig: {
95
- highlight: boolean;
96
- reserve: boolean;
97
- trigger: string;
98
- };
99
- pagerConfig: {};
100
- treeConfig: {};
101
- };
102
- };
103
- placeholder: {
104
- type: StringConstructor;
105
- default: string;
106
- };
107
- selectModal: {
108
- type: PropType<ModalType>;
109
- default: string;
110
- };
111
- }>>, {
112
- classes: ComputedRef<{
113
- [x: string]: boolean;
114
- }>;
115
- selectGrid: Ref<VxeGridInstance | null>;
116
- data: {
117
- url: string;
118
- params: {
119
- pageNo: number;
120
- pageSize: number;
121
- keyWord?: string | undefined;
122
- total?: number | undefined;
123
- align?: string | undefined;
124
- pageSizes?: number[] | undefined;
125
- layouts?: string[] | undefined;
126
- perfect?: boolean | undefined;
127
- };
128
- modalLoading: boolean;
129
- loading: boolean;
130
- };
131
- modalShow: Ref<boolean>;
132
- modalConfigComputed: ComputedRef<any>;
133
- tableConfigComputed: ComputedRef<any>;
134
- tablePage: {
135
- currentPage: number;
136
- pageSize: number;
137
- total?: number | undefined;
138
- align?: string | undefined;
139
- pageSizes?: number[] | undefined;
140
- layouts?: string[] | undefined;
141
- perfect?: boolean | undefined;
142
- };
143
- tableData: Ref<Record<string, unknown>[]>;
144
- columns: Ref<{
145
- type?: string | undefined;
146
- field?: string | undefined;
147
- title?: string | undefined;
148
- align?: string | undefined;
149
- fieldLabelI18nKey?: string | undefined;
150
- width?: number | undefined;
151
- }[]>;
152
- form: {
153
- keyWord: string;
154
- };
155
- selectModal: Ref<ModalType>;
156
- getPagerConfig: ComputedRef<any>;
157
- modalTitle: Ref<string>;
158
- placeholder: Ref<string>;
159
- open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
160
- close: () => void;
161
- onSearch: (keyWord: string) => void;
162
- handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
163
- selectedOk: () => void;
164
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
165
- modalConfig: ModalConfig;
166
- modalTitle: string;
167
- apiUrls: string;
168
- requestMethod: RequestMethod;
169
- tableConfig: VxeTableProps<any>;
170
- placeholder: string;
171
- selectModal: ModalType;
172
- }, {}, string> & {
173
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
174
- created?: ((() => void) | (() => void)[]) | undefined;
175
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
176
- mounted?: ((() => void) | (() => void)[]) | undefined;
177
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
178
- updated?: ((() => void) | (() => void)[]) | undefined;
179
- activated?: ((() => void) | (() => void)[]) | undefined;
180
- deactivated?: ((() => void) | (() => void)[]) | undefined;
181
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
182
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
183
- destroyed?: ((() => void) | (() => void)[]) | undefined;
184
- unmounted?: ((() => void) | (() => void)[]) | undefined;
185
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
186
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
187
- errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
188
- };
189
- $forceUpdate: () => void;
190
- $nextTick: typeof nextTick;
191
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
192
- } & Readonly<ExtractPropTypes<{
193
- modalTitle: {
194
- type: StringConstructor;
195
- default: string;
196
- };
197
- apiUrls: {
198
- type: StringConstructor;
199
- default: string;
200
- };
201
- requestMethod: {
202
- type: PropType<RequestMethod>;
203
- default: string;
204
- };
205
- modalConfig: {
206
- type: PropType<ModalConfig>;
207
- default: () => {};
208
- };
209
- tableConfig: {
210
- type: PropType<VxeTableProps<any>>;
211
- default: () => {
212
- height: number;
213
- isTree: boolean;
214
- radioConfig: {};
215
- checkboxConfig: {
216
- highlight: boolean;
217
- reserve: boolean;
218
- trigger: string;
219
- };
220
- pagerConfig: {};
221
- treeConfig: {};
222
- };
223
- };
224
- placeholder: {
225
- type: StringConstructor;
226
- default: string;
227
- };
228
- selectModal: {
229
- type: PropType<ModalType>;
230
- default: string;
231
- };
232
- }>> & ShallowUnwrapRef<{
233
- classes: ComputedRef<{
234
- [x: string]: boolean;
235
- }>;
236
- selectGrid: Ref<VxeGridInstance | null>;
237
- data: {
238
- url: string;
239
- params: {
240
- pageNo: number;
241
- pageSize: number;
242
- keyWord?: string | undefined;
243
- total?: number | undefined;
244
- align?: string | undefined;
245
- pageSizes?: number[] | undefined;
246
- layouts?: string[] | undefined;
247
- perfect?: boolean | undefined;
248
- };
249
- modalLoading: boolean;
250
- loading: boolean;
251
- };
252
- modalShow: Ref<boolean>;
253
- modalConfigComputed: ComputedRef<any>;
254
- tableConfigComputed: ComputedRef<any>;
255
- tablePage: {
256
- currentPage: number;
257
- pageSize: number;
258
- total?: number | undefined;
259
- align?: string | undefined;
260
- pageSizes?: number[] | undefined;
261
- layouts?: string[] | undefined;
262
- perfect?: boolean | undefined;
263
- };
264
- tableData: Ref<Record<string, unknown>[]>;
265
- columns: Ref<{
266
- type?: string | undefined;
267
- field?: string | undefined;
268
- title?: string | undefined;
269
- align?: string | undefined;
270
- fieldLabelI18nKey?: string | undefined;
271
- width?: number | undefined;
272
- }[]>;
273
- form: {
274
- keyWord: string;
275
- };
276
- selectModal: Ref<ModalType>;
277
- getPagerConfig: ComputedRef<any>;
278
- modalTitle: Ref<string>;
279
- placeholder: Ref<string>;
280
- open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
281
- close: () => void;
282
- onSearch: (keyWord: string) => void;
283
- handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
284
- selectedOk: () => void;
285
- }> & {} & ComponentCustomProperties & {}) | undefined>;
286
- handleItemListAdd: Ref<((btn: PageButtonWithGroupCode) => void) | null>;
287
- ok: Ref<((data: RecordStringNumber[]) => void) | null>;
288
- };
@@ -1,19 +0,0 @@
1
- import type { RouteLocationNormalizedLoaded, RouteRecordNormalized } from 'vue-router';
2
- import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
- declare const _sfc_main: DefineComponent<{}, {
4
- route: RouteLocationNormalizedLoaded;
5
- getRoutes: RouteRecordNormalized[];
6
- token: Ref<string>;
7
- formState: {
8
- elsAccount: string;
9
- subAccount: string;
10
- password: string;
11
- };
12
- onFinish: (values: any) => void;
13
- onFinishFailed: (errorInfo: any) => void;
14
- encryptedKey: {
15
- key: string;
16
- keyId: string;
17
- };
18
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
19
- export default _sfc_main;