@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.
- package/dist/index.es.js +54012 -78511
- package/dist/index.umd.js +24 -123
- package/dist/lib/components/breadcrumb/index.d.ts +1 -1
- package/dist/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +1 -1
- package/dist/lib/components/card-list-layout/index.d.ts +14 -14
- package/dist/lib/components/card-list-layout/src/card-content.vue.d.ts +4 -4
- package/dist/lib/components/card-list-layout/src/cardItem.vue.d.ts +7 -7
- package/dist/lib/components/card-list-layout/src/index.vue.d.ts +14 -14
- package/dist/lib/components/card-list-layout/src/sidebar.vue.d.ts +1 -1
- package/dist/lib/components/cascader/index.d.ts +6 -6
- package/dist/lib/components/cascader/src/cascader.vue.d.ts +6 -6
- package/dist/lib/components/checkbox/index.d.ts +7 -7
- package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +7 -7
- package/dist/lib/components/codeEditorModel/index.d.ts +4 -98
- package/dist/lib/components/codeEditorModel/src/codeEditorModel.vue.d.ts +4 -98
- package/dist/lib/components/collapse-transition/index.d.ts +1 -1
- package/dist/lib/components/collapse-transition/src/collapse-transition.vue.d.ts +1 -1
- package/dist/lib/components/coutdown/index.d.ts +4 -14
- package/dist/lib/components/coutdown/src/coutdown.d.ts +0 -8
- package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +4 -22
- package/dist/lib/components/currency/index.d.ts +3 -3
- package/dist/lib/components/currency/src/currency.vue.d.ts +3 -3
- package/dist/lib/components/detail-form/index.d.ts +4 -4
- package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +4 -4
- package/dist/lib/components/detail-grid/index.d.ts +337 -292
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +337 -292
- package/dist/lib/components/detail-grid/src/hook/use-grid-config-hook.d.ts +2 -2
- package/dist/lib/components/detail-page-layout/index.d.ts +1 -1
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +1 -1
- package/dist/lib/components/edit-form/index.d.ts +4 -4
- package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +4 -4
- package/dist/lib/components/edit-grid/index.d.ts +337 -293
- package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +2 -2
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +337 -293
- package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +2 -2
- package/dist/lib/components/edit-page-layout/index.d.ts +1 -1
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +8 -4
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +1 -1
- package/dist/lib/components/editor/index.d.ts +2 -2
- package/dist/lib/components/editor/src/index.vue.d.ts +2 -2
- package/dist/lib/components/field-select-modal/index.d.ts +9 -9
- package/dist/lib/components/field-select-modal/src/field-select-modal-types.d.ts +2 -2
- package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +9 -9
- package/dist/lib/components/item-wrap/index.d.ts +2 -2
- package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +2 -2
- package/dist/lib/components/layout/index.d.ts +2 -2
- package/dist/lib/components/layout/src/header/index.vue.d.ts +11 -11
- package/dist/lib/components/layout/src/header/navRight/customMessage.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/header/navRight/customPerson.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +9 -9
- package/dist/lib/components/layout/src/header/navRight/langSwitch.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/header/navRight/rightTool.vue.d.ts +4 -4
- package/dist/lib/components/layout/src/header/navRight/settingDrawer.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/index.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/menu/deepCycleSubMenu.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/menu/menu.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/menu/secondLevelMenu.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/menu/subSecondMenu.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/sider/index.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/sider/logo.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/sider/search.vue.d.ts +1 -1
- package/dist/lib/components/layout-anchor/index.d.ts +1 -1
- package/dist/lib/components/layout-anchor/src/layout-auchor.vue.d.ts +1 -1
- package/dist/lib/components/layout-buttons/index.d.ts +3 -3
- package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +3 -3
- package/dist/lib/components/layout-pattern/index.d.ts +1 -1
- package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +44 -6
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/index.d.ts +7 -7
- package/dist/lib/components/list-page-layout/src/components/common/add-modal/add-modal.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +23 -23
- package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/edit-nav-modal.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/common/help-text-modal/help-text-modal.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/common/import-modal/import-modal.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +656 -566
- package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +10 -10
- package/dist/lib/components/list-page-layout/src/components/list-content-buttons/list-content-buttons.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +2 -2
- package/dist/lib/components/list-page-layout/src/components/list-header/module/tabs/index.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +7 -7
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +3 -3
- package/dist/lib/components/list-page-layout/src/tokens.d.ts +2 -2
- package/dist/lib/components/page-layout/index.d.ts +1 -1
- package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +1 -1
- package/dist/lib/components/radio/index.d.ts +7 -7
- package/dist/lib/components/radio/src/radio.vue.d.ts +7 -7
- package/dist/lib/components/remote-select/index.d.ts +5 -5
- package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +5 -5
- package/dist/lib/components/select/index.d.ts +5 -5
- package/dist/lib/components/select/src/select.vue.d.ts +5 -5
- package/dist/lib/components/select-modal/index.d.ts +71 -67
- package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +71 -67
- package/dist/lib/components/switch/index.d.ts +2 -2
- package/dist/lib/components/switch/src/switch.vue.d.ts +2 -2
- package/dist/lib/components/tree-select/index.d.ts +5 -5
- package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +5 -5
- package/dist/lib/components/upload-file/index.d.ts +23 -15
- package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +29 -15
- package/dist/lib/components/upload-file/src/hook/use-operation-column-button-hook.d.ts +1 -1
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +6 -19
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +22 -13
- package/dist/lib/components/upload-image/index.d.ts +4 -4
- package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +4 -4
- package/dist/lib/components/vxe-select/index.d.ts +6 -6
- package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +6 -6
- package/dist/lib/index.d.ts +1 -2
- package/dist/style.css +2 -2
- package/package.json +19 -19
- package/dist/components/ComponentsDemo.vue.d.ts +0 -13
- package/dist/components/EditPage.vue.d.ts +0 -6011
- package/dist/components/PreviewList.vue.d.ts +0 -218
- package/dist/components/hook/use-field-select-modal-hook.d.ts +0 -288
- package/dist/components/login.vue.d.ts +0 -19
- package/dist/components/mock.d.ts +0 -260
- package/dist/components/mockList.d.ts +0 -44
- package/dist/lib/components/upload-file/src/hook/use-operation-column-hook.d.ts +0 -15
- package/dist/router/index.d.ts +0 -4
- package/dist/stores/user.d.ts +0 -25
- package/dist/utils/qApiPlugin.d.ts +0 -6
- package/dist/views/dashboard/workspace.vue.d.ts +0 -6972
|
@@ -6,7 +6,7 @@ export declare const useEvents: (props: ListPageLayoutProps) => {
|
|
|
6
6
|
sortChangeEvent: EventHandler;
|
|
7
7
|
filterChangeEvent: EventHandler;
|
|
8
8
|
resizableChange: EventHandler;
|
|
9
|
-
pageChange: VxeGridEvents.PageChange
|
|
9
|
+
pageChange: VxeGridEvents.PageChange<any>;
|
|
10
10
|
};
|
|
11
11
|
export declare const getAuthCodeBtns: (list: any) => any;
|
|
12
12
|
export declare const removeRow: RemoveRowFunction;
|
package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DefineComponent, PropType, Ref, ShallowRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComputedRef } from 'vue';
|
|
2
2
|
import type { PageData, TabsData, ApiUrls, ObjectMap, OptColumnListItem, OptionsButtonsCallBack } from '../../list-page-layout-types';
|
|
3
|
-
import type { VxeGridPropTypes, VxeGridListeners, VxeGridProps } from 'vxe-table';
|
|
3
|
+
import type { VxeGridPropTypes, VxeTableDataRow, VxeGridListeners, VxeGridProps } from 'vxe-table';
|
|
4
4
|
declare const _sfc_main: DefineComponent<{
|
|
5
5
|
loading: {
|
|
6
6
|
type: BooleanConstructor;
|
|
@@ -11,7 +11,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
11
11
|
default: () => {};
|
|
12
12
|
};
|
|
13
13
|
tableColumns: {
|
|
14
|
-
type: PropType<VxeGridPropTypes.Columns
|
|
14
|
+
type: PropType<VxeGridPropTypes.Columns<VxeTableDataRow>>;
|
|
15
15
|
default: () => never[];
|
|
16
16
|
};
|
|
17
17
|
pageData: {
|
|
@@ -47,13 +47,13 @@ declare const _sfc_main: DefineComponent<{
|
|
|
47
47
|
cssVarBlockName: (name: string) => string;
|
|
48
48
|
};
|
|
49
49
|
pageData: PageData;
|
|
50
|
-
gridConfig: ComputedRef<VxeGridProps<
|
|
51
|
-
tableColumns: Ref<VxeGridPropTypes.Columns
|
|
50
|
+
gridConfig: ComputedRef<VxeGridProps<VxeTableDataRow>>;
|
|
51
|
+
tableColumns: Ref<VxeGridPropTypes.Columns<VxeTableDataRow>>;
|
|
52
52
|
optColumnList: ComputedRef<OptColumnListItem[]>;
|
|
53
53
|
optColumnListMore: ComputedRef<any[]>;
|
|
54
54
|
tableData: Ref<ObjectMap[]>;
|
|
55
55
|
pagerConfig: Ref<VxeGridPropTypes.PagerConfig>;
|
|
56
|
-
gridEvent: VxeGridListeners
|
|
56
|
+
gridEvent: VxeGridListeners<VxeTableDataRow>;
|
|
57
57
|
loading: ShallowRef<boolean>;
|
|
58
58
|
listGridRef: Ref<any>;
|
|
59
59
|
disableHandle: (item: OptColumnListItem, row: ObjectMap) => boolean | undefined;
|
|
@@ -68,7 +68,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
68
68
|
default: () => {};
|
|
69
69
|
};
|
|
70
70
|
tableColumns: {
|
|
71
|
-
type: PropType<VxeGridPropTypes.Columns
|
|
71
|
+
type: PropType<VxeGridPropTypes.Columns<VxeTableDataRow>>;
|
|
72
72
|
default: () => never[];
|
|
73
73
|
};
|
|
74
74
|
pageData: {
|
|
@@ -85,11 +85,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
85
85
|
};
|
|
86
86
|
filterList: never[];
|
|
87
87
|
}>>, {
|
|
88
|
+
loading: boolean;
|
|
89
|
+
extraListConfig: ObjectMap;
|
|
88
90
|
pageData: PageData;
|
|
89
91
|
apiUrls: ApiUrls;
|
|
90
|
-
loading: boolean;
|
|
91
92
|
tabsData: TabsData;
|
|
92
|
-
tableColumns: VxeGridPropTypes.Columns
|
|
93
|
-
|
|
94
|
-
}>;
|
|
93
|
+
tableColumns: VxeGridPropTypes.Columns<VxeTableDataRow>;
|
|
94
|
+
}, {}>;
|
|
95
95
|
export default _sfc_main;
|
package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts
CHANGED
|
@@ -23,5 +23,5 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
23
23
|
apiUrls: ApiUrls;
|
|
24
24
|
superQueryClose: () => void;
|
|
25
25
|
handleFold: () => void;
|
|
26
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
|
|
26
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
27
27
|
export default _sfc_main;
|
package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts
CHANGED
|
@@ -11,5 +11,5 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
11
11
|
ns: UseNamespace;
|
|
12
12
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "superQuery"[], "superQuery", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>> & {
|
|
13
13
|
onSuperQuery?: ((...args: any[]) => any) | undefined;
|
|
14
|
-
}, {}>;
|
|
14
|
+
}, {}, {}>;
|
|
15
15
|
export default _sfc_main;
|
|
@@ -5,5 +5,5 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
5
5
|
appList: Ref<any>;
|
|
6
6
|
setNav: () => void;
|
|
7
7
|
jump: (item: any) => void;
|
|
8
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
|
|
8
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
9
9
|
export default _sfc_main;
|
|
@@ -94,10 +94,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
94
94
|
default: null;
|
|
95
95
|
};
|
|
96
96
|
}>>, {
|
|
97
|
-
callback: string;
|
|
98
97
|
pageData: Record<string, any>;
|
|
99
98
|
tableCode: string;
|
|
99
|
+
callback: string;
|
|
100
100
|
synQueryParamsCallback: string;
|
|
101
101
|
saveCode: string;
|
|
102
|
-
}>;
|
|
102
|
+
}, {}>;
|
|
103
103
|
export default _sfc_main;
|
|
@@ -38,7 +38,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
38
38
|
cssVarBlockName: (name: string) => string;
|
|
39
39
|
};
|
|
40
40
|
loading: ShallowRef<boolean>;
|
|
41
|
-
gridInstance: Ref<VxeTableInstance | undefined>;
|
|
41
|
+
gridInstance: Ref<VxeTableInstance<any> | undefined>;
|
|
42
42
|
renderComponent: Ref<boolean>;
|
|
43
43
|
listScopedSlots: {
|
|
44
44
|
loading: boolean;
|
|
@@ -62,6 +62,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
62
62
|
[key: string]: unknown;
|
|
63
63
|
}[];
|
|
64
64
|
listConfig: {
|
|
65
|
+
loading: boolean;
|
|
66
|
+
extraListConfig: ObjectMap;
|
|
65
67
|
pageData: {
|
|
66
68
|
[x: string]: unknown;
|
|
67
69
|
onlyShowNav?: boolean | undefined;
|
|
@@ -159,7 +161,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
159
161
|
enabled?: boolean | undefined;
|
|
160
162
|
slots?: any;
|
|
161
163
|
size?: SizeType | undefined;
|
|
162
|
-
layouts?: ("PrevJump" | "PrevPage" | "
|
|
164
|
+
layouts?: ("PrevJump" | "PrevPage" | "Number" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "Jump" | "FullJump" | "PageCount" | "Total")[] | undefined;
|
|
163
165
|
currentPage?: number | undefined;
|
|
164
166
|
loading?: boolean | undefined;
|
|
165
167
|
pageSize?: number | undefined;
|
|
@@ -190,8 +192,6 @@ declare const _sfc_main: DefineComponent<{
|
|
|
190
192
|
countTabsUrl: string;
|
|
191
193
|
quickNav?: string | undefined;
|
|
192
194
|
};
|
|
193
|
-
loading: boolean;
|
|
194
|
-
extraListConfig: ObjectMap;
|
|
195
195
|
};
|
|
196
196
|
};
|
|
197
197
|
fetchListData: (params?: FetchDataOptions) => void;
|
|
@@ -230,9 +230,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
230
230
|
"onFilter-change"?: ((...args: any[]) => any) | undefined;
|
|
231
231
|
"onResizable-change"?: ((...args: any[]) => any) | undefined;
|
|
232
232
|
}, {
|
|
233
|
-
pageData: PageData;
|
|
234
|
-
apiUrls: ApiUrls;
|
|
235
233
|
loading: boolean;
|
|
236
234
|
extraListConfig: ObjectMap;
|
|
237
|
-
|
|
235
|
+
pageData: PageData;
|
|
236
|
+
apiUrls: ApiUrls;
|
|
237
|
+
}, {}>;
|
|
238
238
|
export default _sfc_main;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PropType, ExtractPropTypes, InjectionKey, Ref, ShallowRef } from 'vue';
|
|
2
2
|
import qqtApi from '@qqt-product/api';
|
|
3
|
-
import { VxeGridPropTypes,
|
|
3
|
+
import type { VxeTableDataRow, VxeGridPropTypes, VxeTableDefines, VxeTableInstance } from 'vxe-table';
|
|
4
4
|
export declare const buttonConfigProps: {
|
|
5
5
|
attrs: {
|
|
6
6
|
type: PropType<ObjectMap>;
|
|
@@ -142,7 +142,7 @@ export declare const listContent: {
|
|
|
142
142
|
default: () => {};
|
|
143
143
|
};
|
|
144
144
|
tableColumns: {
|
|
145
|
-
type: PropType<VxeGridPropTypes.Columns
|
|
145
|
+
type: PropType<VxeGridPropTypes.Columns<VxeTableDataRow>>;
|
|
146
146
|
default: () => never[];
|
|
147
147
|
};
|
|
148
148
|
pageData: {
|
|
@@ -260,7 +260,7 @@ export interface CurrentRow {
|
|
|
260
260
|
export interface ListOptionsEventParams {
|
|
261
261
|
row: CurrentRow;
|
|
262
262
|
optionItem?: OptColumnListItem;
|
|
263
|
-
column: VxeGridPropTypes.Columns;
|
|
263
|
+
column: VxeGridPropTypes.Columns | VxeTableDefines.ColumnInfo;
|
|
264
264
|
$rowIndex: number;
|
|
265
265
|
$columnIndex: number;
|
|
266
266
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ComponentInternalInstance, InjectionKey } from 'vue';
|
|
2
2
|
import { GridDataTypes, ListPageLayoutProps, QueryCustomData, PagerConfigProps } from './list-page-layout-types';
|
|
3
3
|
interface ListPage extends ComponentInternalInstance {
|
|
4
|
-
$ready
|
|
4
|
+
$ready?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare const TABLE_INJECTION_KEY: InjectionKey<ListPage>;
|
|
6
|
+
export declare const TABLE_INJECTION_KEY: InjectionKey<ListPage | null>;
|
|
7
7
|
export declare const PAGER_CONFIGDE_FALUTVALUE: PagerConfigProps;
|
|
8
8
|
export declare const LIST_LAYOUT_PROPS_DEFAULT_VALUE: ListPageLayoutProps;
|
|
9
9
|
export declare const LOCAL_DATAS_DEFAULT_VALUE: QueryCustomData;
|
|
@@ -91,14 +91,14 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
91
91
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
92
92
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
93
93
|
}, {
|
|
94
|
-
readonly dictCode: string;
|
|
95
|
-
readonly busAccount: string;
|
|
96
|
-
readonly required: "0" | "1";
|
|
97
|
-
readonly options: Option[];
|
|
98
|
-
readonly colSpan: string;
|
|
99
|
-
readonly value: string;
|
|
100
94
|
readonly onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
95
|
+
readonly value: string;
|
|
96
|
+
readonly options: Option[];
|
|
101
97
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
98
|
+
readonly required: "0" | "1";
|
|
99
|
+
readonly busAccount: string;
|
|
100
|
+
readonly dictCode: string;
|
|
102
101
|
readonly isLayout: boolean;
|
|
103
|
-
|
|
102
|
+
readonly colSpan: string;
|
|
103
|
+
}, {}>>;
|
|
104
104
|
export default _default;
|
|
@@ -87,14 +87,14 @@ declare const _sfc_main: DefineComponent<{
|
|
|
87
87
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
88
88
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
89
89
|
}, {
|
|
90
|
-
readonly dictCode: string;
|
|
91
|
-
readonly busAccount: string;
|
|
92
|
-
readonly required: "0" | "1";
|
|
93
|
-
readonly options: Option[];
|
|
94
|
-
readonly colSpan: string;
|
|
95
|
-
readonly value: string;
|
|
96
90
|
readonly onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
91
|
+
readonly value: string;
|
|
92
|
+
readonly options: Option[];
|
|
97
93
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
94
|
+
readonly required: "0" | "1";
|
|
95
|
+
readonly busAccount: string;
|
|
96
|
+
readonly dictCode: string;
|
|
98
97
|
readonly isLayout: boolean;
|
|
99
|
-
|
|
98
|
+
readonly colSpan: string;
|
|
99
|
+
}, {}>;
|
|
100
100
|
export default _sfc_main;
|
|
@@ -109,14 +109,14 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
109
109
|
default: unknown;
|
|
110
110
|
};
|
|
111
111
|
}>>, {
|
|
112
|
-
disabled: boolean;
|
|
113
112
|
apiUrls: string;
|
|
114
|
-
requestMethod: RequestMethod;
|
|
115
|
-
placeholder: string;
|
|
116
|
-
value: string;
|
|
117
113
|
onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
114
|
+
value: string;
|
|
118
115
|
'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
116
|
+
disabled: boolean;
|
|
117
|
+
placeholder: string;
|
|
118
|
+
requestMethod: RequestMethod;
|
|
119
119
|
config: Record<string, any>;
|
|
120
120
|
clear: ((value: string) => void) | ((value: string) => void)[];
|
|
121
|
-
}>>;
|
|
121
|
+
}, {}>>;
|
|
122
122
|
export default _default;
|
|
@@ -105,14 +105,14 @@ declare const _sfc_main: DefineComponent<{
|
|
|
105
105
|
default: unknown;
|
|
106
106
|
};
|
|
107
107
|
}>>, {
|
|
108
|
-
disabled: boolean;
|
|
109
108
|
apiUrls: string;
|
|
110
|
-
requestMethod: RequestMethod;
|
|
111
|
-
placeholder: string;
|
|
112
|
-
value: string;
|
|
113
109
|
onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
110
|
+
value: string;
|
|
114
111
|
'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
112
|
+
disabled: boolean;
|
|
113
|
+
placeholder: string;
|
|
114
|
+
requestMethod: RequestMethod;
|
|
115
115
|
config: Record<string, any>;
|
|
116
116
|
clear: ((value: string) => void) | ((value: string) => void)[];
|
|
117
|
-
}>;
|
|
117
|
+
}, {}>;
|
|
118
118
|
export default _sfc_main;
|
|
@@ -85,11 +85,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
85
85
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
86
86
|
}, {
|
|
87
87
|
readonly mode: "multiple" | "tags" | "combobox";
|
|
88
|
-
readonly dictCode: string;
|
|
89
|
-
readonly busAccount: string;
|
|
90
|
-
readonly options: SelectOption[];
|
|
91
|
-
readonly value: string;
|
|
92
88
|
readonly onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
89
|
+
readonly value: string;
|
|
90
|
+
readonly options: SelectOption[];
|
|
93
91
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
94
|
-
|
|
92
|
+
readonly busAccount: string;
|
|
93
|
+
readonly dictCode: string;
|
|
94
|
+
}, {}>>;
|
|
95
95
|
export default _default;
|
|
@@ -81,11 +81,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
81
81
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
82
82
|
}, {
|
|
83
83
|
readonly mode: "multiple" | "tags" | "combobox";
|
|
84
|
-
readonly dictCode: string;
|
|
85
|
-
readonly busAccount: string;
|
|
86
|
-
readonly options: SelectOption[];
|
|
87
|
-
readonly value: string;
|
|
88
84
|
readonly onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
85
|
+
readonly value: string;
|
|
86
|
+
readonly options: SelectOption[];
|
|
89
87
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
90
|
-
|
|
88
|
+
readonly busAccount: string;
|
|
89
|
+
readonly dictCode: string;
|
|
90
|
+
}, {}>;
|
|
91
91
|
export default _sfc_main;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { MessageType } from 'ant-design-vue/lib/message';
|
|
2
|
-
import type { VxeTableProps, VxeGridInstance } from 'vxe-table';
|
|
3
|
-
import type {
|
|
2
|
+
import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table';
|
|
3
|
+
import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from '../field-select-modal';
|
|
4
4
|
import type { Config, RecordStringNumber } from './src/select-modal-types';
|
|
5
|
-
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentInternalInstance,
|
|
5
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentInternalInstance, VNodeRef, VNode, RendererNode, RendererElement, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
6
6
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
7
7
|
import QSelectModal from './src/select-modal.vue';
|
|
8
8
|
export * from './src/select-modal-types';
|
|
@@ -28,55 +28,59 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
28
28
|
fieldSelectModal: Ref<({
|
|
29
29
|
$: ComponentInternalInstance;
|
|
30
30
|
$data: {};
|
|
31
|
-
$props:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
requestMethod
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
selectModal
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
31
|
+
$props: {
|
|
32
|
+
apiUrls?: string | undefined;
|
|
33
|
+
placeholder?: string | undefined;
|
|
34
|
+
modalTitle?: string | undefined;
|
|
35
|
+
requestMethod?: RequestMethod | undefined;
|
|
36
|
+
modalConfig?: ModalConfig | undefined;
|
|
37
|
+
tableConfig?: VxeTableProps<VxeTableDataRow> | undefined;
|
|
38
|
+
selectModal?: ModalType | undefined;
|
|
39
|
+
key?: string | number | symbol | undefined;
|
|
40
|
+
style?: unknown;
|
|
41
|
+
ref?: VNodeRef | undefined;
|
|
42
|
+
ref_for?: boolean | undefined;
|
|
43
|
+
ref_key?: string | undefined;
|
|
44
|
+
onVnodeBeforeMount?: ((vnode: VNode<RendererNode, RendererElement, {
|
|
45
|
+
[key: string]: any;
|
|
46
|
+
}>) => void) | ((vnode: VNode<RendererNode, RendererElement, {
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
}>) => void)[] | undefined;
|
|
49
|
+
onVnodeMounted?: ((vnode: VNode<RendererNode, RendererElement, {
|
|
50
|
+
[key: string]: any;
|
|
51
|
+
}>) => void) | ((vnode: VNode<RendererNode, RendererElement, {
|
|
52
|
+
[key: string]: any;
|
|
53
|
+
}>) => void)[] | undefined;
|
|
54
|
+
onVnodeBeforeUpdate?: ((vnode: VNode<RendererNode, RendererElement, {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
}>, oldVNode: VNode<RendererNode, RendererElement, {
|
|
57
|
+
[key: string]: any;
|
|
58
|
+
}>) => void) | ((vnode: VNode<RendererNode, RendererElement, {
|
|
59
|
+
[key: string]: any;
|
|
60
|
+
}>, oldVNode: VNode<RendererNode, RendererElement, {
|
|
61
|
+
[key: string]: any;
|
|
62
|
+
}>) => void)[] | undefined;
|
|
63
|
+
onVnodeUpdated?: ((vnode: VNode<RendererNode, RendererElement, {
|
|
64
|
+
[key: string]: any;
|
|
65
|
+
}>, oldVNode: VNode<RendererNode, RendererElement, {
|
|
66
|
+
[key: string]: any;
|
|
67
|
+
}>) => void) | ((vnode: VNode<RendererNode, RendererElement, {
|
|
68
|
+
[key: string]: any;
|
|
69
|
+
}>, oldVNode: VNode<RendererNode, RendererElement, {
|
|
70
|
+
[key: string]: any;
|
|
71
|
+
}>) => void)[] | undefined;
|
|
72
|
+
onVnodeBeforeUnmount?: ((vnode: VNode<RendererNode, RendererElement, {
|
|
73
|
+
[key: string]: any;
|
|
74
|
+
}>) => void) | ((vnode: VNode<RendererNode, RendererElement, {
|
|
75
|
+
[key: string]: any;
|
|
76
|
+
}>) => void)[] | undefined;
|
|
77
|
+
onVnodeUnmounted?: ((vnode: VNode<RendererNode, RendererElement, {
|
|
78
|
+
[key: string]: any;
|
|
79
|
+
}>) => void) | ((vnode: VNode<RendererNode, RendererElement, {
|
|
80
|
+
[key: string]: any;
|
|
81
|
+
}>) => void)[] | undefined;
|
|
82
|
+
class?: unknown;
|
|
83
|
+
};
|
|
80
84
|
$attrs: {
|
|
81
85
|
[x: string]: unknown;
|
|
82
86
|
};
|
|
@@ -84,10 +88,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
84
88
|
[x: string]: unknown;
|
|
85
89
|
};
|
|
86
90
|
$slots: Readonly<{
|
|
87
|
-
[name: string]: Slot | undefined;
|
|
91
|
+
[name: string]: Slot<any> | undefined;
|
|
88
92
|
}>;
|
|
89
|
-
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
90
|
-
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
93
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
94
|
+
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
91
95
|
$emit: (event: string, ...args: any[]) => void;
|
|
92
96
|
$el: any;
|
|
93
97
|
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
@@ -108,7 +112,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
108
112
|
default: () => {};
|
|
109
113
|
};
|
|
110
114
|
tableConfig: {
|
|
111
|
-
type: PropType<VxeTableProps<
|
|
115
|
+
type: PropType<VxeTableProps<VxeTableDataRow>>;
|
|
112
116
|
default: () => {
|
|
113
117
|
height: number;
|
|
114
118
|
isTree: boolean;
|
|
@@ -134,7 +138,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
134
138
|
classes: ComputedRef<{
|
|
135
139
|
[x: string]: boolean;
|
|
136
140
|
}>;
|
|
137
|
-
selectGrid: Ref<VxeGridInstance | null>;
|
|
141
|
+
selectGrid: Ref<VxeGridInstance<any> | null>;
|
|
138
142
|
data: {
|
|
139
143
|
url: string;
|
|
140
144
|
params: {
|
|
@@ -184,14 +188,14 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
184
188
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
185
189
|
selectedOk: () => void;
|
|
186
190
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
187
|
-
modalConfig: ModalConfig;
|
|
188
|
-
modalTitle: string;
|
|
189
191
|
apiUrls: string;
|
|
190
|
-
requestMethod: RequestMethod;
|
|
191
|
-
tableConfig: VxeTableProps<any>;
|
|
192
192
|
placeholder: string;
|
|
193
|
+
modalTitle: string;
|
|
194
|
+
requestMethod: RequestMethod;
|
|
195
|
+
modalConfig: ModalConfig;
|
|
196
|
+
tableConfig: VxeTableProps<VxeTableDataRow>;
|
|
193
197
|
selectModal: ModalType;
|
|
194
|
-
}, {}, string> & {
|
|
198
|
+
}, {}, string, {}> & {
|
|
195
199
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
196
200
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
197
201
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -206,7 +210,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
206
210
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
207
211
|
renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
208
212
|
renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
209
|
-
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;
|
|
213
|
+
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;
|
|
210
214
|
};
|
|
211
215
|
$forceUpdate: () => void;
|
|
212
216
|
$nextTick: typeof nextTick;
|
|
@@ -229,7 +233,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
229
233
|
default: () => {};
|
|
230
234
|
};
|
|
231
235
|
tableConfig: {
|
|
232
|
-
type: PropType<VxeTableProps<
|
|
236
|
+
type: PropType<VxeTableProps<VxeTableDataRow>>;
|
|
233
237
|
default: () => {
|
|
234
238
|
height: number;
|
|
235
239
|
isTree: boolean;
|
|
@@ -255,7 +259,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
255
259
|
classes: ComputedRef<{
|
|
256
260
|
[x: string]: boolean;
|
|
257
261
|
}>;
|
|
258
|
-
selectGrid: Ref<VxeGridInstance | null>;
|
|
262
|
+
selectGrid: Ref<VxeGridInstance<any> | null>;
|
|
259
263
|
data: {
|
|
260
264
|
url: string;
|
|
261
265
|
params: {
|
|
@@ -322,8 +326,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
322
326
|
default: unknown;
|
|
323
327
|
};
|
|
324
328
|
}>>, {
|
|
325
|
-
value: string;
|
|
326
329
|
onChange: ((value: RecordStringNumber[]) => void) | ((value: RecordStringNumber[]) => void)[];
|
|
330
|
+
value: string;
|
|
327
331
|
config: Config;
|
|
328
|
-
}>>;
|
|
332
|
+
}, {}>>;
|
|
329
333
|
export default _default;
|