@qqt-product/ui 0.0.13 → 0.0.15
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 +123349 -77525
- package/dist/index.umd.js +254 -15296
- package/dist/lib/components/audit-modal/index.d.ts +324 -0
- package/dist/lib/components/audit-modal/src/audit-modal-type.d.ts +65 -0
- package/dist/lib/components/audit-modal/src/audit-modal.vue.d.ts +320 -0
- package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +675 -0
- package/dist/lib/components/audit-modal/src/component/approvalOpinionModal.vue.d.ts +406 -0
- package/dist/lib/components/audit-modal/src/component/field-select-modal-types.d.ts +93 -0
- package/dist/lib/components/audit-modal/src/component/field-select-modal.vue.d.ts +163 -0
- package/dist/lib/components/audit-modal/src/component/use-field-select-modal.d.ts +6 -0
- package/dist/lib/components/audit-modal/src/hook/list-slot-hook.d.ts +16 -0
- package/dist/lib/components/audit-modal/src/hook/use-audit-config-hook.d.ts +6 -0
- package/dist/lib/components/audit-modal/src/hook/use-field-select-modal-hook.d.ts +9 -0
- 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 +8 -18
- package/dist/lib/components/card-list-layout/src/card-content.vue.d.ts +3 -3
- package/dist/lib/components/card-list-layout/src/cardItem.vue.d.ts +5 -5
- package/dist/lib/components/card-list-layout/src/index.vue.d.ts +8 -18
- package/dist/lib/components/card-list-layout/src/sidebar.vue.d.ts +1 -1
- package/dist/lib/components/cascader/index.d.ts +12 -10
- package/dist/lib/components/cascader/src/cascader.vue.d.ts +12 -10
- package/dist/lib/components/checkbox/index.d.ts +6 -6
- package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +6 -6
- package/dist/lib/components/code-editor-model/src/code-editor-model.vue.d.ts +121 -0
- 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/countdown/index.d.ts +122 -0
- package/dist/lib/components/countdown/src/countdown-types.d.ts +87 -0
- package/dist/lib/components/countdown/src/countdown.d.ts +118 -0
- package/dist/lib/components/countdown/src/use-countdown.d.ts +2 -0
- 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 +2 -2
- package/dist/lib/components/currency/src/currency.vue.d.ts +2 -2
- package/dist/lib/components/detail-form/index.d.ts +27 -6
- package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +27 -7
- package/dist/lib/components/detail-grid/index.d.ts +337 -288
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +336 -288
- 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 +21 -4
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +20 -4
- package/dist/lib/components/edit-form/index.d.ts +31 -6
- package/dist/lib/components/edit-form/src/edit-form-types.d.ts +4 -0
- package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +30 -6
- package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +7 -1
- package/dist/lib/components/edit-grid/index.d.ts +338 -289
- 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 -289
- package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +4 -4
- package/dist/lib/components/edit-page-layout/index.d.ts +20 -4
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +151 -26
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +20 -4
- package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
- package/dist/lib/components/editor/index.d.ts +23 -9
- package/dist/lib/components/editor/src/index.vue.d.ts +23 -9
- package/dist/lib/components/field-select-modal/index.d.ts +29 -13
- package/dist/lib/components/field-select-modal/src/field-select-modal-types.d.ts +11 -4
- package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +29 -13
- package/dist/lib/components/flow-view/index.d.ts +121 -0
- package/dist/lib/components/flow-view/src/flow-view-modal-types.d.ts +60 -0
- package/dist/lib/components/flow-view/src/flow-view.d.ts +118 -0
- package/dist/lib/components/flow-view/src/use-flow-view-modal.d.ts +2 -0
- package/dist/lib/components/import-modal/index.d.ts +90 -0
- package/dist/lib/components/import-modal/src/import-modal-types.d.ts +28 -0
- package/dist/lib/components/import-modal/src/import-modal.vue.d.ts +86 -0
- package/dist/lib/components/index.d.ts +11 -2
- package/dist/lib/components/item-wrap/index.d.ts +4 -4
- package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +4 -4
- package/dist/lib/components/ladder-price/index.d.ts +58 -0
- package/dist/lib/components/ladder-price/src/LadderNotPriceModal.vue.d.ts +35 -0
- package/dist/lib/components/ladder-price/src/LadderPriceModal.vue.d.ts +38 -0
- package/dist/lib/components/ladder-price/src/ladder-not-price-modal-types.d.ts +16 -0
- package/dist/lib/components/ladder-price/src/ladder-price-modal-types.d.ts +15 -0
- package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +35 -0
- package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +55 -0
- package/dist/lib/components/ladder-price/src/use-ladder-not-price-modal.d.ts +6 -0
- package/dist/lib/components/ladder-price/src/use-ladder-price.d.ts +6 -0
- 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/src/types.d.ts +1 -0
- package/dist/lib/components/layout-anchor/index.d.ts +3 -2
- package/dist/lib/components/layout-anchor/src/layout-auchor.vue.d.ts +3 -2
- package/dist/lib/components/layout-buttons/index.d.ts +5 -4
- package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +3 -3
- package/dist/lib/components/layout-pattern/index.d.ts +13 -3
- package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +156 -7
- package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +46 -0
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +13 -3
- package/dist/lib/components/list-page-layout/index.d.ts +80 -18
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +25 -24
- 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 +3 -1
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +646 -556
- package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +1 -3
- package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +14 -12
- 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/hooks/use-callback-hook.d.ts +3 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +5 -3
- package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +9 -3
- package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +2 -1
- package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +14 -6
- 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/hooks/auth-button.d.ts +4 -0
- package/dist/lib/components/list-page-layout/src/hooks/get-columns-hook.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/hooks/list-slot-hook.d.ts +10 -4
- package/dist/lib/components/list-page-layout/src/hooks/use-button-function-hook.d.ts +8 -0
- package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +78 -17
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +62 -10
- package/dist/lib/components/list-page-layout/src/tokens.d.ts +2 -2
- package/dist/lib/components/list-page-layout/src/utils/gridConfig.d.ts +6 -21
- package/dist/lib/components/list-page-layout/src/utils/index.d.ts +2 -0
- package/dist/lib/components/page-layout/index.d.ts +3 -2
- package/dist/lib/components/page-layout/src/constant/buttons.d.ts +28 -2
- package/dist/lib/components/page-layout/src/constant/symbol.d.ts +35 -0
- package/dist/lib/components/page-layout/src/hook/use-merge-defaultValues-hook.d.ts +1 -1
- package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +19 -9
- package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +1 -1
- package/dist/lib/components/radio/index.d.ts +6 -6
- package/dist/lib/components/radio/src/radio.vue.d.ts +6 -6
- package/dist/lib/components/relation-graph/src/relation-graph-types.d.ts +23 -0
- package/dist/lib/components/remote-select/index.d.ts +31 -72
- package/dist/lib/components/remote-select/src/remote-select-types.d.ts +44 -28
- package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +32 -73
- package/dist/lib/components/sale-template/index.d.ts +99 -0
- package/dist/lib/components/sale-template/src/sale-template-types.d.ts +41 -0
- package/dist/lib/components/sale-template/src/sale-template.vue.d.ts +95 -0
- package/dist/lib/components/sale-template/src/use-sale-template.d.ts +2 -0
- package/dist/lib/components/select/index.d.ts +9 -9
- package/dist/lib/components/select/src/select-types.d.ts +5 -1
- package/dist/lib/components/select/src/select.vue.d.ts +9 -9
- package/dist/lib/components/select-modal/index.d.ts +118 -76
- package/dist/lib/components/select-modal/src/select-modal-types.d.ts +24 -4
- package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +118 -76
- package/dist/lib/components/select-template/index.d.ts +92 -0
- package/dist/lib/components/select-template/src/select-template-type.d.ts +32 -0
- package/dist/lib/components/select-template/src/select-template.vue.d.ts +88 -0
- 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 +10 -9
- package/dist/lib/components/tree-select/src/tree-select-types.d.ts +7 -1
- package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +10 -9
- package/dist/lib/components/upload-file/index.d.ts +30 -31
- package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +29 -16
- 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 +19 -28
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +28 -29
- package/dist/lib/components/upload-file-vxe/index.d.ts +78 -0
- package/dist/lib/components/upload-file-vxe/src/upload-file-vxe-types.d.ts +38 -0
- package/dist/lib/components/upload-file-vxe/src/upload-file-vxe.vue.d.ts +75 -0
- package/dist/lib/components/upload-image/index.d.ts +3 -3
- package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +3 -3
- package/dist/lib/components/useChart/index.d.ts +11 -0
- package/dist/lib/components/useChart/lib.d.ts +2 -0
- package/dist/lib/components/useChart/types.d.ts +21 -0
- package/dist/lib/components/vxe-select/index.d.ts +24 -6
- package/dist/lib/components/vxe-select/src/vxe-select-types.d.ts +7 -1
- package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +24 -6
- package/dist/lib/index.d.ts +5 -3
- package/dist/lib/utils/event.d.ts +35 -2
- package/dist/style.css +1 -6
- package/package.json +35 -29
- 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/codeEditorModel/index.d.ts +0 -187
- package/dist/lib/components/codeEditorModel/src/codeEditorModel.vue.d.ts +0 -184
- package/dist/lib/components/list-page-layout/src/components/common/add-modal/add-modal.vue.d.ts +0 -21
- 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
|
@@ -50,10 +50,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
50
50
|
default: string;
|
|
51
51
|
};
|
|
52
52
|
}>>, {
|
|
53
|
-
|
|
53
|
+
buttons: PageButton[];
|
|
54
54
|
groupName: string;
|
|
55
55
|
groupNameI18nKey: string;
|
|
56
|
+
groupCode: string;
|
|
56
57
|
groupType: string;
|
|
57
|
-
|
|
58
|
-
}>;
|
|
58
|
+
}, {}>;
|
|
59
59
|
export default _sfc_main;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Pattern } from '../edit-page-layout';
|
|
2
|
-
import type { DefineComponent, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
1
|
+
import type { Pattern, LayoutConfig, ComputedFieldType } from '../edit-page-layout';
|
|
2
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
3
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
4
4
|
import QPageLayoutMode from './src/layout-pattern.vue';
|
|
5
5
|
export * from './src/layout-pattern-types';
|
|
@@ -15,6 +15,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
15
15
|
}>;
|
|
16
16
|
pattern: Pattern;
|
|
17
17
|
componentName: ComputedRef<Pattern>;
|
|
18
|
+
layoutConfig: Ref<LayoutConfig>;
|
|
19
|
+
patternNamedSlots: ComputedRef<{
|
|
20
|
+
prepend: string;
|
|
21
|
+
patternPrepend: string;
|
|
22
|
+
default: string;
|
|
23
|
+
patternDefault: string;
|
|
24
|
+
append: string;
|
|
25
|
+
patternAppend: string;
|
|
26
|
+
}[]>;
|
|
27
|
+
computedFieldSlots: ComputedRef<ComputedFieldType[]>;
|
|
18
28
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
19
29
|
title: {
|
|
20
30
|
type: PropType<string>;
|
|
@@ -22,5 +32,5 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
22
32
|
};
|
|
23
33
|
}>>, {
|
|
24
34
|
title: string;
|
|
25
|
-
}>>;
|
|
35
|
+
}, {}>>;
|
|
26
36
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { ObjectMap } from '../../../list-page-layout';
|
|
2
|
+
import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
|
+
import type { LayoutConfig, GroupItem, CurrentRow, Role, PageButtonArgsFunctionType, ExposeWithPageButtons, PageButtonPayload, RecordStringNumber, PageButton, ComputedFieldType } from '../../../edit-page-layout';
|
|
3
4
|
declare const _sfc_main: DefineComponent<{
|
|
4
5
|
title: {
|
|
5
6
|
type: PropType<string>;
|
|
@@ -8,24 +9,172 @@ declare const _sfc_main: DefineComponent<{
|
|
|
8
9
|
}, {
|
|
9
10
|
pageButtons: PageButton[];
|
|
10
11
|
layoutConfig: Ref<LayoutConfig>;
|
|
12
|
+
computedGroups: ComputedRef<GroupItem[]>;
|
|
11
13
|
title: Ref<string>;
|
|
12
14
|
isDetail: boolean;
|
|
13
15
|
fileVisible: Ref<boolean>;
|
|
16
|
+
auditModalVisble: Ref<boolean>;
|
|
17
|
+
approvalModalVisble: Ref<boolean>;
|
|
18
|
+
nodeHistroyModalVisble: Ref<boolean>;
|
|
19
|
+
currentRow: Ref<CurrentRow>;
|
|
14
20
|
fileProps: Ref<{
|
|
15
|
-
|
|
16
|
-
|
|
21
|
+
readonly 'onUpdate:visible'?: ((value: boolean) => void) | ((value: boolean) => void)[] | undefined;
|
|
22
|
+
readonly visible?: boolean | undefined;
|
|
23
|
+
readonly currentRow?: {
|
|
24
|
+
[x: string]: unknown;
|
|
25
|
+
templateNumber: string;
|
|
26
|
+
templateVersion: number;
|
|
27
|
+
templateAccount: string;
|
|
28
|
+
busAccount: string;
|
|
29
|
+
elsAccount: string;
|
|
30
|
+
} | undefined;
|
|
31
|
+
readonly action?: string | undefined;
|
|
32
|
+
readonly accept?: string | undefined;
|
|
33
|
+
readonly data?: {
|
|
17
34
|
[x: string]: unknown;
|
|
18
35
|
businessType: string;
|
|
19
36
|
headId: string;
|
|
20
|
-
};
|
|
21
|
-
|
|
37
|
+
} | undefined;
|
|
38
|
+
readonly dictCode?: string | undefined;
|
|
39
|
+
readonly property?: string | undefined;
|
|
40
|
+
readonly role?: Role | undefined;
|
|
41
|
+
readonly userInfo?: {
|
|
42
|
+
[x: string]: unknown;
|
|
43
|
+
elsAccount: string;
|
|
44
|
+
subAccount: string;
|
|
45
|
+
serivceUrl: string;
|
|
46
|
+
} | undefined;
|
|
47
|
+
readonly attrCheck?: string | undefined;
|
|
48
|
+
readonly limitSize?: number | undefined;
|
|
49
|
+
readonly acceptDictCode?: string | undefined;
|
|
50
|
+
readonly maxCount?: number | undefined;
|
|
51
|
+
readonly isOss?: boolean | undefined;
|
|
52
|
+
readonly isGridUpload?: boolean | undefined;
|
|
53
|
+
readonly itemNumberKey?: string | undefined;
|
|
54
|
+
readonly itemNumberLabel?: string | undefined;
|
|
55
|
+
readonly itemNumbeValueProp?: string | undefined;
|
|
56
|
+
readonly itemNumberDefaultValue?: string | undefined;
|
|
57
|
+
readonly itemNumberSelectIndex?: boolean | undefined;
|
|
58
|
+
readonly disabledItemNumber?: boolean | undefined;
|
|
59
|
+
readonly itemInfo?: RecordStringNumber[] | undefined;
|
|
60
|
+
readonly fileTypeList?: {
|
|
61
|
+
[x: string]: unknown;
|
|
62
|
+
title: string;
|
|
63
|
+
value: string;
|
|
64
|
+
}[] | undefined;
|
|
22
65
|
}>;
|
|
23
66
|
handleChangeFiles: (fileResult: RecordStringNumber[]) => void;
|
|
67
|
+
auditModalConfirm: Ref<any>;
|
|
68
|
+
auditModalCancel: Ref<any>;
|
|
24
69
|
showBackIcon: boolean;
|
|
25
70
|
handleAnchorClick: (link: {
|
|
26
71
|
title: string;
|
|
27
72
|
href: string;
|
|
28
73
|
}) => void;
|
|
74
|
+
importVisible: Ref<boolean>;
|
|
75
|
+
importProps: Ref<{
|
|
76
|
+
button: {
|
|
77
|
+
title: string;
|
|
78
|
+
key: string | symbol;
|
|
79
|
+
args: PageButtonArgsFunctionType | {
|
|
80
|
+
[x: string]: unknown;
|
|
81
|
+
url: string;
|
|
82
|
+
};
|
|
83
|
+
authorityCode?: string | undefined;
|
|
84
|
+
attrs?: RecordStringNumber | undefined;
|
|
85
|
+
icon?: {
|
|
86
|
+
type: string;
|
|
87
|
+
size: number;
|
|
88
|
+
color?: string | undefined;
|
|
89
|
+
} | undefined;
|
|
90
|
+
emit?: boolean | undefined;
|
|
91
|
+
emitKey?: string | undefined;
|
|
92
|
+
showMessage?: boolean | undefined;
|
|
93
|
+
checkBefore?: boolean | undefined;
|
|
94
|
+
confirm?: {
|
|
95
|
+
title: string;
|
|
96
|
+
content: string;
|
|
97
|
+
} | undefined;
|
|
98
|
+
isExistFrozenSource?: boolean | undefined;
|
|
99
|
+
isExistFrozenSourceUrl?: string | undefined;
|
|
100
|
+
isExistFrozenSourceParams?: ((pageData: RecordStringNumber) => RecordStringNumber) | undefined;
|
|
101
|
+
disabled?: ((pageData: RecordStringNumber) => boolean) | undefined;
|
|
102
|
+
handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
|
|
103
|
+
handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
|
|
104
|
+
callback?: ((payload: PageButtonPayload) => void) | undefined;
|
|
105
|
+
};
|
|
106
|
+
isEditPage: boolean;
|
|
107
|
+
token: string;
|
|
108
|
+
}>;
|
|
109
|
+
flowVisible: Ref<boolean>;
|
|
110
|
+
flowProps: Ref<{
|
|
111
|
+
button?: {
|
|
112
|
+
title: string;
|
|
113
|
+
key: string | symbol;
|
|
114
|
+
args: PageButtonArgsFunctionType | {
|
|
115
|
+
[x: string]: unknown;
|
|
116
|
+
url: string;
|
|
117
|
+
};
|
|
118
|
+
authorityCode?: string | undefined;
|
|
119
|
+
attrs?: RecordStringNumber | undefined;
|
|
120
|
+
icon?: {
|
|
121
|
+
type: string;
|
|
122
|
+
size: number;
|
|
123
|
+
color?: string | undefined;
|
|
124
|
+
} | undefined;
|
|
125
|
+
emit?: boolean | undefined;
|
|
126
|
+
emitKey?: string | undefined;
|
|
127
|
+
showMessage?: boolean | undefined;
|
|
128
|
+
checkBefore?: boolean | undefined;
|
|
129
|
+
confirm?: {
|
|
130
|
+
title: string;
|
|
131
|
+
content: string;
|
|
132
|
+
} | undefined;
|
|
133
|
+
isExistFrozenSource?: boolean | undefined;
|
|
134
|
+
isExistFrozenSourceUrl?: string | undefined;
|
|
135
|
+
isExistFrozenSourceParams?: ((pageData: RecordStringNumber) => RecordStringNumber) | undefined;
|
|
136
|
+
disabled?: ((pageData: RecordStringNumber) => boolean) | undefined;
|
|
137
|
+
handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
|
|
138
|
+
handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
|
|
139
|
+
callback?: ((payload: PageButtonPayload) => void) | undefined;
|
|
140
|
+
} | undefined;
|
|
141
|
+
title?: string | undefined;
|
|
142
|
+
'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
|
|
143
|
+
visible?: boolean | undefined;
|
|
144
|
+
currentRow?: any;
|
|
145
|
+
token?: string | undefined;
|
|
146
|
+
width?: string | undefined;
|
|
147
|
+
onChange?: ((args: any) => void) | ((args: any) => void)[] | undefined;
|
|
148
|
+
flowId?: string | undefined;
|
|
149
|
+
isDesign?: boolean | undefined;
|
|
150
|
+
workFlowType?: string | undefined;
|
|
151
|
+
}>;
|
|
152
|
+
auditModalProps: Ref<{
|
|
153
|
+
title?: string | undefined;
|
|
154
|
+
'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
|
|
155
|
+
visible?: boolean | undefined;
|
|
156
|
+
currentRow?: any;
|
|
157
|
+
businessType?: string | undefined;
|
|
158
|
+
token?: string | undefined;
|
|
159
|
+
busAccount?: string | undefined;
|
|
160
|
+
form?: {
|
|
161
|
+
[x: string]: unknown;
|
|
162
|
+
type: string;
|
|
163
|
+
label: string;
|
|
164
|
+
fieldName: string;
|
|
165
|
+
required?: string | undefined;
|
|
166
|
+
attrs?: ObjectMap | undefined;
|
|
167
|
+
extends?: ObjectMap | undefined;
|
|
168
|
+
dictCode?: string | undefined;
|
|
169
|
+
options?: any[] | undefined;
|
|
170
|
+
click?: ((args: object, formState?: ObjectMap | undefined) => void) | undefined;
|
|
171
|
+
}[] | undefined;
|
|
172
|
+
width?: string | undefined;
|
|
173
|
+
taskAction?: string | undefined;
|
|
174
|
+
needFlow?: string | undefined;
|
|
175
|
+
flowIframeUrl?: string | undefined;
|
|
176
|
+
}>;
|
|
177
|
+
computedFieldSlots: ComputedRef<ComputedFieldType[]>;
|
|
29
178
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
30
179
|
title: {
|
|
31
180
|
type: PropType<string>;
|
|
@@ -33,5 +182,5 @@ declare const _sfc_main: DefineComponent<{
|
|
|
33
182
|
};
|
|
34
183
|
}>>, {
|
|
35
184
|
title: string;
|
|
36
|
-
}>;
|
|
185
|
+
}, {}>;
|
|
37
186
|
export default _sfc_main;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ObjectMap } from '../../../list-page-layout';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
import type { PageButton, CurrentRow } from '../../../edit-page-layout';
|
|
4
|
+
interface auditOption {
|
|
5
|
+
currentRow: Ref<CurrentRow>;
|
|
6
|
+
businessType: string;
|
|
7
|
+
layoutExtraInfo: {
|
|
8
|
+
token: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export default function useAuditButtonHook({ currentRow, businessType, layoutExtraInfo }: auditOption): {
|
|
12
|
+
auditModalConfirm: Ref<any>;
|
|
13
|
+
auditModalCancel: Ref<any>;
|
|
14
|
+
auditModalProps: Ref<{
|
|
15
|
+
title?: string | undefined;
|
|
16
|
+
'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
|
|
17
|
+
visible?: boolean | undefined;
|
|
18
|
+
currentRow?: any;
|
|
19
|
+
businessType?: string | undefined;
|
|
20
|
+
token?: string | undefined;
|
|
21
|
+
busAccount?: string | undefined;
|
|
22
|
+
form?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: string;
|
|
25
|
+
label: string;
|
|
26
|
+
fieldName: string;
|
|
27
|
+
required?: string | undefined;
|
|
28
|
+
attrs?: ObjectMap | undefined;
|
|
29
|
+
extends?: ObjectMap | undefined;
|
|
30
|
+
dictCode?: string | undefined;
|
|
31
|
+
options?: any[] | undefined;
|
|
32
|
+
click?: ((args: object, formState?: ObjectMap | undefined) => void) | undefined;
|
|
33
|
+
}[] | undefined;
|
|
34
|
+
width?: string | undefined;
|
|
35
|
+
taskAction?: string | undefined;
|
|
36
|
+
needFlow?: string | undefined;
|
|
37
|
+
flowIframeUrl?: string | undefined;
|
|
38
|
+
}>;
|
|
39
|
+
auditModalVisble: Ref<boolean>;
|
|
40
|
+
approvalModalVisble: Ref<boolean>;
|
|
41
|
+
nodeHistroyModalVisble: Ref<boolean>;
|
|
42
|
+
initAuditForm: (btn: PageButton) => void;
|
|
43
|
+
handleAuditInvalid: (btn: PageButton) => void;
|
|
44
|
+
handleAuditRevocation: (btn: PageButton) => void;
|
|
45
|
+
};
|
|
46
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { Pattern, LayoutConfig, ComputedFieldType } from '../../edit-page-layout';
|
|
3
3
|
declare const _sfc_main: DefineComponent<{
|
|
4
4
|
title: {
|
|
5
5
|
type: PropType<string>;
|
|
@@ -11,6 +11,16 @@ declare const _sfc_main: DefineComponent<{
|
|
|
11
11
|
}>;
|
|
12
12
|
pattern: Pattern;
|
|
13
13
|
componentName: ComputedRef<Pattern>;
|
|
14
|
+
layoutConfig: Ref<LayoutConfig>;
|
|
15
|
+
patternNamedSlots: ComputedRef<{
|
|
16
|
+
prepend: string;
|
|
17
|
+
patternPrepend: string;
|
|
18
|
+
default: string;
|
|
19
|
+
patternDefault: string;
|
|
20
|
+
append: string;
|
|
21
|
+
patternAppend: string;
|
|
22
|
+
}[]>;
|
|
23
|
+
computedFieldSlots: ComputedRef<ComputedFieldType[]>;
|
|
14
24
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
15
25
|
title: {
|
|
16
26
|
type: PropType<string>;
|
|
@@ -18,5 +28,5 @@ declare const _sfc_main: DefineComponent<{
|
|
|
18
28
|
};
|
|
19
29
|
}>>, {
|
|
20
30
|
title: string;
|
|
21
|
-
}>;
|
|
31
|
+
}, {}>;
|
|
22
32
|
export default _sfc_main;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { VxeTableInstance, VxeGridPropTypes, SizeType, VxePagerPropTypes } from 'vxe-table';
|
|
2
|
-
import type { ObjectMap, PageData, ApiUrls,
|
|
2
|
+
import type { ObjectMap, PageData, ApiUrls, GridColumn, QueryFormItem, OptColumnListItem, ListOptionsEventParams, ButtonItem, ListMergeDataItem, FetchDataOptions } from './src/list-page-layout-types';
|
|
3
3
|
import type { DefineComponent, PropType, ComputedRef, ShallowRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
4
4
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
5
5
|
import QListLayout from './src/layout.vue';
|
|
6
6
|
export { QListLayout };
|
|
7
7
|
export * from './src/list-page-layout-types';
|
|
8
8
|
import useButtonFunctionHook from './src/hooks/use-button-function-hook';
|
|
9
|
-
|
|
9
|
+
import useExportXlsHook from './src/hooks/export-xls-hook';
|
|
10
|
+
export { useButtonFunctionHook, useExportXlsHook };
|
|
10
11
|
declare const _default: SFCWithInstall<DefineComponent<{
|
|
11
12
|
loading: {
|
|
12
13
|
type: BooleanConstructor;
|
|
@@ -24,6 +25,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
24
25
|
type: PropType<ApiUrls>;
|
|
25
26
|
default: () => {};
|
|
26
27
|
};
|
|
28
|
+
beforeHandleData: {
|
|
29
|
+
type: PropType<(column: GridColumn[]) => void>;
|
|
30
|
+
};
|
|
31
|
+
localColumnGroup: {
|
|
32
|
+
type: PropType<(column: GridColumn[]) => GridColumn[]>;
|
|
33
|
+
};
|
|
27
34
|
}, {
|
|
28
35
|
ns: {
|
|
29
36
|
namespace: ComputedRef<string>;
|
|
@@ -44,7 +51,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
44
51
|
cssVarBlockName: (name: string) => string;
|
|
45
52
|
};
|
|
46
53
|
loading: ShallowRef<boolean>;
|
|
47
|
-
gridInstance: Ref<VxeTableInstance | undefined>;
|
|
54
|
+
gridInstance: Ref<VxeTableInstance<any> | undefined>;
|
|
48
55
|
renderComponent: Ref<boolean>;
|
|
49
56
|
listScopedSlots: {
|
|
50
57
|
loading: boolean;
|
|
@@ -54,27 +61,57 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
54
61
|
queryConfig: {
|
|
55
62
|
attrs?: ObjectMap | undefined;
|
|
56
63
|
extend?: ObjectMap | undefined;
|
|
64
|
+
customSearch?: ((args: ObjectMap) => void) | undefined;
|
|
57
65
|
form: {
|
|
58
66
|
type: string;
|
|
59
67
|
label: string;
|
|
60
68
|
fieldName: string;
|
|
61
69
|
placeholder?: string | undefined;
|
|
62
70
|
options?: ObjectMap[] | undefined;
|
|
71
|
+
attrs?: ObjectMap | undefined;
|
|
63
72
|
dictCode?: string | undefined;
|
|
73
|
+
change?: ((args: QueryFormItem) => void) | undefined;
|
|
64
74
|
}[];
|
|
65
|
-
|
|
75
|
+
needAdvancedQuery?: boolean | undefined;
|
|
76
|
+
formState?: ObjectMap | undefined;
|
|
66
77
|
} | undefined;
|
|
67
78
|
statusData: {
|
|
68
79
|
[key: string]: unknown;
|
|
69
80
|
}[];
|
|
70
81
|
listConfig: {
|
|
82
|
+
apiUrls: {
|
|
83
|
+
[x: string]: unknown;
|
|
84
|
+
columnsCode: string;
|
|
85
|
+
list: string;
|
|
86
|
+
countTabsUrl: string;
|
|
87
|
+
quickNav?: string | undefined;
|
|
88
|
+
};
|
|
89
|
+
loading: boolean;
|
|
90
|
+
extraListConfig: ObjectMap;
|
|
71
91
|
pageData: {
|
|
72
92
|
[x: string]: unknown;
|
|
73
93
|
onlyShowNav?: boolean | undefined;
|
|
74
|
-
|
|
94
|
+
isAggregate?: "0" | "1" | undefined;
|
|
95
|
+
isUseLocalColumns?: boolean | undefined;
|
|
96
|
+
localColumns?: {
|
|
97
|
+
[x: string]: any;
|
|
98
|
+
field?: string | undefined;
|
|
99
|
+
property?: string | undefined;
|
|
100
|
+
columnId?: string | undefined;
|
|
101
|
+
sorter?: string | undefined;
|
|
102
|
+
fixType?: string | undefined;
|
|
103
|
+
hidden?: string | undefined;
|
|
104
|
+
link?: string | undefined;
|
|
105
|
+
fieldColors?: string | {
|
|
106
|
+
[x: string]: unknown;
|
|
107
|
+
fieldName?: string | undefined;
|
|
108
|
+
filterColor?: string | undefined;
|
|
109
|
+
}[] | undefined;
|
|
110
|
+
}[] | undefined;
|
|
111
|
+
optionConfig?: {
|
|
75
112
|
attrs?: ObjectMap | undefined;
|
|
76
113
|
extend?: ObjectMap | undefined;
|
|
77
|
-
|
|
114
|
+
options: {
|
|
78
115
|
type?: string | undefined;
|
|
79
116
|
title: string;
|
|
80
117
|
authorityCode?: string | undefined;
|
|
@@ -82,6 +119,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
82
119
|
args?: {
|
|
83
120
|
[x: string]: unknown;
|
|
84
121
|
url?: string | undefined;
|
|
122
|
+
method?: string | undefined;
|
|
123
|
+
params?: ObjectMap | (({ currentOpt, row }: {
|
|
124
|
+
currentOpt: OptColumnListItem;
|
|
125
|
+
row: ObjectMap;
|
|
126
|
+
}) => void | object) | undefined;
|
|
85
127
|
} | undefined;
|
|
86
128
|
click?: ((args: ListOptionsEventParams) => void) | undefined;
|
|
87
129
|
disabled?: boolean | (({ currentOpt, row }: {
|
|
@@ -132,15 +174,19 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
132
174
|
queryConfig?: {
|
|
133
175
|
attrs?: ObjectMap | undefined;
|
|
134
176
|
extend?: ObjectMap | undefined;
|
|
177
|
+
customSearch?: ((args: ObjectMap) => void) | undefined;
|
|
135
178
|
form: {
|
|
136
179
|
type: string;
|
|
137
180
|
label: string;
|
|
138
181
|
fieldName: string;
|
|
139
182
|
placeholder?: string | undefined;
|
|
140
183
|
options?: ObjectMap[] | undefined;
|
|
184
|
+
attrs?: ObjectMap | undefined;
|
|
141
185
|
dictCode?: string | undefined;
|
|
186
|
+
change?: ((args: QueryFormItem) => void) | undefined;
|
|
142
187
|
}[];
|
|
143
|
-
|
|
188
|
+
needAdvancedQuery?: boolean | undefined;
|
|
189
|
+
formState?: ObjectMap | undefined;
|
|
144
190
|
} | undefined;
|
|
145
191
|
statusConfig?: {
|
|
146
192
|
show?: boolean | (() => boolean | void) | undefined;
|
|
@@ -161,6 +207,15 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
161
207
|
navConfig?: {
|
|
162
208
|
show?: boolean | (() => boolean | void) | undefined;
|
|
163
209
|
} | undefined;
|
|
210
|
+
listMergeConfig?: {
|
|
211
|
+
show?: boolean | (() => boolean | void) | undefined;
|
|
212
|
+
options: {
|
|
213
|
+
title: string;
|
|
214
|
+
key: string | number;
|
|
215
|
+
}[];
|
|
216
|
+
currentValue: string | number;
|
|
217
|
+
change: (event: Event, value?: string | number | undefined, options?: ListMergeDataItem[] | undefined) => void;
|
|
218
|
+
} | undefined;
|
|
164
219
|
pagerConfig?: {
|
|
165
220
|
enabled?: boolean | undefined;
|
|
166
221
|
slots?: any;
|
|
@@ -189,21 +244,22 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
189
244
|
iconJumpMore?: string | undefined;
|
|
190
245
|
} | undefined;
|
|
191
246
|
};
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
columnsCode: string;
|
|
195
|
-
list: string;
|
|
196
|
-
countTabsUrl: string;
|
|
197
|
-
quickNav?: string | undefined;
|
|
198
|
-
};
|
|
199
|
-
loading: boolean;
|
|
200
|
-
extraListConfig: ObjectMap;
|
|
247
|
+
beforeHandleData?: ((column: GridColumn[]) => void) | undefined;
|
|
248
|
+
localColumnGroup?: ((column: GridColumn[]) => GridColumn[]) | undefined;
|
|
201
249
|
};
|
|
202
250
|
};
|
|
251
|
+
selectTplVisible: Ref<boolean>;
|
|
252
|
+
selectTplOpen: Ref<boolean>;
|
|
253
|
+
selectTemplateProps: {
|
|
254
|
+
url: string;
|
|
255
|
+
businessType: string;
|
|
256
|
+
elsAccount: string;
|
|
257
|
+
};
|
|
203
258
|
fetchListData: (params?: FetchDataOptions | undefined) => void;
|
|
204
259
|
addButtonClick: (params: ButtonItem) => void;
|
|
205
260
|
editNavSuccess: () => void;
|
|
206
261
|
columnSettingOK: () => void;
|
|
262
|
+
importSuccess: () => void;
|
|
207
263
|
columnSettingRef: Ref<any>;
|
|
208
264
|
helpTextModalRef: Ref<any>;
|
|
209
265
|
addModalRef: Ref<any>;
|
|
@@ -227,6 +283,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
227
283
|
type: PropType<ApiUrls>;
|
|
228
284
|
default: () => {};
|
|
229
285
|
};
|
|
286
|
+
beforeHandleData: {
|
|
287
|
+
type: PropType<(column: GridColumn[]) => void>;
|
|
288
|
+
};
|
|
289
|
+
localColumnGroup: {
|
|
290
|
+
type: PropType<(column: GridColumn[]) => GridColumn[]>;
|
|
291
|
+
};
|
|
230
292
|
}>> & {
|
|
231
293
|
onTagCheckChange?: ((...args: any[]) => any) | undefined;
|
|
232
294
|
"onAdd-button-click"?: ((...args: any[]) => any) | undefined;
|
|
@@ -236,9 +298,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
236
298
|
"onFilter-change"?: ((...args: any[]) => any) | undefined;
|
|
237
299
|
"onResizable-change"?: ((...args: any[]) => any) | undefined;
|
|
238
300
|
}, {
|
|
239
|
-
pageData: PageData;
|
|
240
301
|
apiUrls: ApiUrls;
|
|
241
302
|
loading: boolean;
|
|
242
303
|
extraListConfig: ObjectMap;
|
|
243
|
-
|
|
304
|
+
pageData: PageData;
|
|
305
|
+
}, {}>>;
|
|
244
306
|
export default _default;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type { VxeColumnSlotTypes, VxeTableDataRow, SlotVNodeType, VxeColumnPropTypes, VxeTablePropTypes, VxeTooltipPropTypes, VxeTableDefines } from 'vxe-table';
|
|
3
|
+
import { GridColumn } from '../../../list-page-layout-types';
|
|
3
4
|
declare const _sfc_main: DefineComponent<{}, {
|
|
4
5
|
columnGrid: Ref<any>;
|
|
5
6
|
busAccount: Ref<string>;
|
|
6
7
|
open: (columnCode: string) => void;
|
|
7
8
|
close: () => void;
|
|
8
|
-
setFrozenColumn(listArry:
|
|
9
|
+
setFrozenColumn<T extends GridColumn>(listArry: T[]): T[];
|
|
9
10
|
getColumnsList(columnCode: string): void;
|
|
10
11
|
getFieldColorsData(item: any): void;
|
|
11
12
|
showDrawer(row: any): void;
|
|
@@ -23,16 +24,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
23
24
|
tableColumn: Ref<{
|
|
24
25
|
children?: any[] | undefined;
|
|
25
26
|
slots?: {
|
|
26
|
-
title?: string | ((params:
|
|
27
|
-
radio?: string | ((params:
|
|
28
|
-
checkbox?: string | ((params:
|
|
29
|
-
default?: string | ((params:
|
|
30
|
-
header?: string | ((params:
|
|
31
|
-
footer?: string | ((params:
|
|
32
|
-
content?: string | ((params:
|
|
33
|
-
filter?: string | ((params:
|
|
34
|
-
edit?: string | ((params:
|
|
35
|
-
icon?: string | ((params:
|
|
27
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
28
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
29
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
30
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
31
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
32
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
33
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
34
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
35
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
36
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
36
37
|
} | undefined;
|
|
37
38
|
colId?: VxeColumnPropTypes.ColId | undefined;
|
|
38
39
|
type?: VxeColumnPropTypes.Type | undefined;
|
|
@@ -49,12 +50,12 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
49
50
|
showOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
50
51
|
showHeaderOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
51
52
|
showFooterOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
52
|
-
className?: VxeColumnPropTypes.ClassName | undefined;
|
|
53
|
-
headerClassName?: VxeColumnPropTypes.HeaderClassName | undefined;
|
|
54
|
-
footerClassName?: VxeColumnPropTypes.FooterClassName | undefined;
|
|
55
|
-
formatter?: VxeColumnPropTypes.Formatter | undefined;
|
|
53
|
+
className?: VxeColumnPropTypes.ClassName<VxeTableDataRow> | undefined;
|
|
54
|
+
headerClassName?: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow> | undefined;
|
|
55
|
+
footerClassName?: VxeColumnPropTypes.FooterClassName<VxeTableDataRow> | undefined;
|
|
56
|
+
formatter?: VxeColumnPropTypes.Formatter<VxeTableDataRow> | undefined;
|
|
56
57
|
sortable?: boolean | undefined;
|
|
57
|
-
sortBy?: VxeColumnPropTypes.SortBy | undefined;
|
|
58
|
+
sortBy?: VxeColumnPropTypes.SortBy<VxeTableDataRow> | undefined;
|
|
58
59
|
sortType?: VxeColumnPropTypes.SortType | undefined;
|
|
59
60
|
filters?: {
|
|
60
61
|
label?: string | number | undefined;
|
|
@@ -64,7 +65,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
64
65
|
checked?: boolean | undefined;
|
|
65
66
|
}[] | undefined;
|
|
66
67
|
filterMultiple?: boolean | undefined;
|
|
67
|
-
filterMethod?: VxeColumnPropTypes.FilterMethod | undefined;
|
|
68
|
+
filterMethod?: VxeColumnPropTypes.FilterMethod<VxeTableDataRow> | undefined;
|
|
68
69
|
filterRender?: {
|
|
69
70
|
options?: any[] | undefined;
|
|
70
71
|
optionProps?: {
|
|
@@ -94,8 +95,8 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
94
95
|
} | undefined;
|
|
95
96
|
treeNode?: boolean | undefined;
|
|
96
97
|
visible?: boolean | undefined;
|
|
97
|
-
exportMethod?: VxeColumnPropTypes.ExportMethod | undefined;
|
|
98
|
-
footerExportMethod?: VxeColumnPropTypes.FooterExportMethod | undefined;
|
|
98
|
+
exportMethod?: VxeColumnPropTypes.ExportMethod<VxeTableDataRow> | undefined;
|
|
99
|
+
footerExportMethod?: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow> | undefined;
|
|
99
100
|
titleHelp?: {
|
|
100
101
|
useHTML?: boolean | undefined;
|
|
101
102
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -115,7 +116,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
115
116
|
cellType?: VxeColumnPropTypes.CellType | undefined;
|
|
116
117
|
cellRender?: {
|
|
117
118
|
events?: {
|
|
118
|
-
[key: string]: (cellParams:
|
|
119
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
119
120
|
} | undefined;
|
|
120
121
|
options?: any[] | undefined;
|
|
121
122
|
optionProps?: {
|
|
@@ -142,7 +143,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
142
143
|
} | undefined;
|
|
143
144
|
editRender?: {
|
|
144
145
|
events?: {
|
|
145
|
-
[key: string]: (cellParams:
|
|
146
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
146
147
|
} | undefined;
|
|
147
148
|
enabled?: boolean | undefined;
|
|
148
149
|
options?: any[] | undefined;
|
|
@@ -160,7 +161,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
160
161
|
autofocus?: string | undefined;
|
|
161
162
|
autoselect?: boolean | undefined;
|
|
162
163
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
163
|
-
column: VxeTableDefines.ColumnInfo
|
|
164
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
164
165
|
}) => any) | {
|
|
165
166
|
exec: (string: string) => RegExpExecArray | null;
|
|
166
167
|
test: (string: string) => boolean;
|
|
@@ -289,5 +290,5 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
289
290
|
tableData: Ref<any>;
|
|
290
291
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "ok"[], "ok", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>> & {
|
|
291
292
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
292
|
-
}, {}>;
|
|
293
|
+
}, {}, {}>;
|
|
293
294
|
export default _sfc_main;
|
|
@@ -12,5 +12,5 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
12
12
|
handleSave: () => void;
|
|
13
13
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "success"[], "success", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>> & {
|
|
14
14
|
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
15
|
-
}, {}>;
|
|
15
|
+
}, {}, {}>;
|
|
16
16
|
export default _sfc_main;
|
|
@@ -4,5 +4,5 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4
4
|
visible: Ref<boolean>;
|
|
5
5
|
helpDesc: Ref<any>;
|
|
6
6
|
open: (button: ButtonItem, desc: never) => void;
|
|
7
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
|
|
7
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
8
8
|
export default _sfc_main;
|
|
@@ -36,5 +36,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
36
36
|
importPreviewFilesData: Ref<any>;
|
|
37
37
|
importPreviewErrorId: Ref<string>;
|
|
38
38
|
failCount: Ref<number>;
|
|
39
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin,
|
|
39
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "importCallback"[], "importCallback", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>> & {
|
|
40
|
+
onImportCallback?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
}, {}, {}>;
|
|
40
42
|
export default _sfc_main;
|