@qqt-product/ui 0.0.14 → 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 +112024 -41701
- package/dist/index.umd.js +254 -15197
- 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/card-list-layout/index.d.ts +8 -18
- package/dist/lib/components/card-list-layout/src/card-content.vue.d.ts +2 -2
- package/dist/lib/components/card-list-layout/src/cardItem.vue.d.ts +2 -2
- package/dist/lib/components/card-list-layout/src/index.vue.d.ts +8 -18
- package/dist/lib/components/cascader/index.d.ts +10 -8
- package/dist/lib/components/cascader/src/cascader.vue.d.ts +10 -8
- package/dist/lib/components/checkbox/index.d.ts +1 -1
- package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +1 -1
- package/dist/lib/components/{codeEditorModel/src/codeEditorModel.vue.d.ts → code-editor-model/src/code-editor-model.vue.d.ts} +40 -9
- 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 +3 -3
- package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +3 -3
- package/dist/lib/components/currency/index.d.ts +1 -1
- package/dist/lib/components/currency/src/currency.vue.d.ts +1 -1
- package/dist/lib/components/detail-form/index.d.ts +23 -2
- package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +23 -3
- package/dist/lib/components/detail-grid/index.d.ts +10 -6
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +9 -6
- package/dist/lib/components/detail-grid/src/hook/use-grid-config-hook.d.ts +1 -1
- package/dist/lib/components/detail-page-layout/index.d.ts +20 -3
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +19 -3
- package/dist/lib/components/edit-form/index.d.ts +27 -2
- 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 +26 -2
- package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +7 -1
- package/dist/lib/components/edit-grid/index.d.ts +11 -6
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +10 -6
- package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +3 -3
- package/dist/lib/components/edit-page-layout/index.d.ts +19 -3
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +143 -22
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +19 -3
- package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
- package/dist/lib/components/editor/index.d.ts +22 -8
- package/dist/lib/components/editor/src/index.vue.d.ts +22 -8
- package/dist/lib/components/field-select-modal/index.d.ts +24 -8
- package/dist/lib/components/field-select-modal/src/field-select-modal-types.d.ts +9 -2
- package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +24 -8
- 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 +3 -3
- package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +3 -3
- 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/src/types.d.ts +1 -0
- package/dist/lib/components/layout-anchor/index.d.ts +2 -1
- package/dist/lib/components/layout-anchor/src/layout-auchor.vue.d.ts +2 -1
- package/dist/lib/components/layout-buttons/index.d.ts +2 -1
- package/dist/lib/components/layout-pattern/index.d.ts +12 -2
- package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +126 -15
- 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 +12 -2
- package/dist/lib/components/list-page-layout/index.d.ts +77 -15
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +2 -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 +10 -10
- package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +0 -2
- package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +6 -4
- 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 +4 -2
- package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +8 -2
- package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +1 -0
- 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/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 +75 -14
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +59 -7
- 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 +2 -1
- 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/radio/index.d.ts +1 -1
- package/dist/lib/components/radio/src/radio.vue.d.ts +1 -1
- package/dist/lib/components/relation-graph/src/relation-graph-types.d.ts +23 -0
- package/dist/lib/components/remote-select/index.d.ts +30 -71
- 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 +31 -72
- 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 +6 -6
- package/dist/lib/components/select/src/select-types.d.ts +5 -1
- package/dist/lib/components/select/src/select.vue.d.ts +6 -6
- package/dist/lib/components/select-modal/index.d.ts +54 -16
- 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 +54 -16
- 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/tree-select/index.d.ts +8 -7
- 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 +8 -7
- package/dist/lib/components/upload-file/index.d.ts +15 -24
- package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +0 -1
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +14 -10
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +13 -23
- 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 +4 -1
- package/dist/lib/utils/event.d.ts +35 -2
- package/dist/style.css +1 -6
- package/package.json +24 -18
- package/dist/lib/components/codeEditorModel/index.d.ts +0 -93
- package/dist/lib/components/list-page-layout/src/components/common/add-modal/add-modal.vue.d.ts +0 -21
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { modeValidator, SelectOption } from './src/select-types';
|
|
1
|
+
import type { modeValidator, SelectOption, MixSelectArgs } from './src/select-types';
|
|
2
2
|
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
3
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
4
4
|
import QSelect from './src/select.vue';
|
|
@@ -31,7 +31,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
31
31
|
default: unknown;
|
|
32
32
|
};
|
|
33
33
|
readonly onChange: {
|
|
34
|
-
type: PropType<((
|
|
34
|
+
type: PropType<((args: MixSelectArgs) => void) | ((args: MixSelectArgs) => void)[]>;
|
|
35
35
|
default: unknown;
|
|
36
36
|
};
|
|
37
37
|
}, {
|
|
@@ -49,7 +49,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
49
49
|
children?: unknown[] | undefined;
|
|
50
50
|
label: string;
|
|
51
51
|
}[]>;
|
|
52
|
-
onChange: (value: string) => void;
|
|
52
|
+
onChange: (value: string | string[], options: SelectOption | SelectOption[]) => void;
|
|
53
53
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
54
54
|
readonly value: {
|
|
55
55
|
readonly type: StringConstructor;
|
|
@@ -77,19 +77,19 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
77
77
|
default: unknown;
|
|
78
78
|
};
|
|
79
79
|
readonly onChange: {
|
|
80
|
-
type: PropType<((
|
|
80
|
+
type: PropType<((args: MixSelectArgs) => void) | ((args: MixSelectArgs) => void)[]>;
|
|
81
81
|
default: unknown;
|
|
82
82
|
};
|
|
83
83
|
}>> & {
|
|
84
84
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
85
85
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
86
86
|
}, {
|
|
87
|
+
readonly busAccount: string;
|
|
87
88
|
readonly mode: "multiple" | "tags" | "combobox";
|
|
88
|
-
readonly onChange: ((
|
|
89
|
+
readonly onChange: ((args: MixSelectArgs) => void) | ((args: MixSelectArgs) => void)[];
|
|
89
90
|
readonly value: string;
|
|
90
91
|
readonly options: SelectOption[];
|
|
91
92
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
92
|
-
readonly busAccount: string;
|
|
93
93
|
readonly dictCode: string;
|
|
94
94
|
}, {}>>;
|
|
95
95
|
export default _default;
|
|
@@ -12,6 +12,10 @@ export type WithChildrenOption = Option & {
|
|
|
12
12
|
export type SelectOption = WithChildrenOption & {
|
|
13
13
|
label: string;
|
|
14
14
|
};
|
|
15
|
+
export interface MixSelectArgs {
|
|
16
|
+
value: string;
|
|
17
|
+
label: string;
|
|
18
|
+
}
|
|
15
19
|
export declare function modeValidator(mode: string): boolean;
|
|
16
20
|
export declare const selectProps: {
|
|
17
21
|
readonly value: {
|
|
@@ -40,7 +44,7 @@ export declare const selectProps: {
|
|
|
40
44
|
default: unknown;
|
|
41
45
|
};
|
|
42
46
|
readonly onChange: {
|
|
43
|
-
type: PropType<((
|
|
47
|
+
type: PropType<((args: MixSelectArgs) => void) | ((args: MixSelectArgs) => void)[]>;
|
|
44
48
|
default: unknown;
|
|
45
49
|
};
|
|
46
50
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComputedRef } from 'vue';
|
|
2
|
-
import type { modeValidator, SelectOption } from './select-types';
|
|
2
|
+
import type { modeValidator, MixSelectArgs, SelectOption } from './select-types';
|
|
3
3
|
declare const _sfc_main: DefineComponent<{
|
|
4
4
|
readonly value: {
|
|
5
5
|
readonly type: StringConstructor;
|
|
@@ -27,7 +27,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
27
27
|
default: unknown;
|
|
28
28
|
};
|
|
29
29
|
readonly onChange: {
|
|
30
|
-
type: PropType<((
|
|
30
|
+
type: PropType<((args: MixSelectArgs) => void) | ((args: MixSelectArgs) => void)[]>;
|
|
31
31
|
default: unknown;
|
|
32
32
|
};
|
|
33
33
|
}, {
|
|
@@ -45,7 +45,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
45
45
|
children?: unknown[] | undefined;
|
|
46
46
|
label: string;
|
|
47
47
|
}[]>;
|
|
48
|
-
onChange: (value: string) => void;
|
|
48
|
+
onChange: (value: string | string[], options: SelectOption | SelectOption[]) => void;
|
|
49
49
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
50
50
|
readonly value: {
|
|
51
51
|
readonly type: StringConstructor;
|
|
@@ -73,19 +73,19 @@ declare const _sfc_main: DefineComponent<{
|
|
|
73
73
|
default: unknown;
|
|
74
74
|
};
|
|
75
75
|
readonly onChange: {
|
|
76
|
-
type: PropType<((
|
|
76
|
+
type: PropType<((args: MixSelectArgs) => void) | ((args: MixSelectArgs) => void)[]>;
|
|
77
77
|
default: unknown;
|
|
78
78
|
};
|
|
79
79
|
}>> & {
|
|
80
80
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
81
81
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
82
82
|
}, {
|
|
83
|
+
readonly busAccount: string;
|
|
83
84
|
readonly mode: "multiple" | "tags" | "combobox";
|
|
84
|
-
readonly onChange: ((
|
|
85
|
+
readonly onChange: ((args: MixSelectArgs) => void) | ((args: MixSelectArgs) => void)[];
|
|
85
86
|
readonly value: string;
|
|
86
87
|
readonly options: SelectOption[];
|
|
87
88
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
88
|
-
readonly busAccount: string;
|
|
89
89
|
readonly dictCode: string;
|
|
90
90
|
}, {}>;
|
|
91
91
|
export default _sfc_main;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { MessageType } from 'ant-design-vue/lib/message';
|
|
2
2
|
import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table';
|
|
3
3
|
import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from '../field-select-modal';
|
|
4
|
-
import type { Config, RecordStringNumber } from './src/select-modal-types';
|
|
4
|
+
import type { Config, RecordStringNumber, Extend } from './src/select-modal-types';
|
|
5
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';
|
|
@@ -16,6 +16,14 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
16
16
|
type: PropType<Config>;
|
|
17
17
|
default: () => {};
|
|
18
18
|
};
|
|
19
|
+
row: {
|
|
20
|
+
type: PropType<Record<string | number, unknown>>;
|
|
21
|
+
default: () => {};
|
|
22
|
+
};
|
|
23
|
+
idx: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
default: number;
|
|
26
|
+
};
|
|
19
27
|
onChange: {
|
|
20
28
|
type: PropType<((value: RecordStringNumber[]) => void) | ((value: RecordStringNumber[]) => void)[]>;
|
|
21
29
|
default: unknown;
|
|
@@ -25,18 +33,22 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
25
33
|
[x: string]: boolean;
|
|
26
34
|
}>;
|
|
27
35
|
value: Ref<string>;
|
|
36
|
+
curConfig: ComputedRef<Extend>;
|
|
28
37
|
fieldSelectModal: Ref<({
|
|
29
38
|
$: ComponentInternalInstance;
|
|
30
39
|
$data: {};
|
|
31
40
|
$props: {
|
|
32
|
-
apiUrls?: string | undefined;
|
|
33
|
-
placeholder?: string | undefined;
|
|
34
41
|
modalTitle?: string | undefined;
|
|
42
|
+
apiUrls?: string | undefined;
|
|
35
43
|
requestMethod?: RequestMethod | undefined;
|
|
44
|
+
tableData?: Record<string, unknown>[] | undefined;
|
|
36
45
|
modalConfig?: ModalConfig | undefined;
|
|
37
46
|
tableConfig?: VxeTableProps<VxeTableDataRow> | undefined;
|
|
47
|
+
placeholder?: string | undefined;
|
|
38
48
|
selectModal?: ModalType | undefined;
|
|
39
49
|
key?: string | number | symbol | undefined;
|
|
50
|
+
readonly handleListData?: Function | undefined;
|
|
51
|
+
class?: unknown;
|
|
40
52
|
style?: unknown;
|
|
41
53
|
ref?: VNodeRef | undefined;
|
|
42
54
|
ref_for?: boolean | undefined;
|
|
@@ -79,7 +91,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
79
91
|
}>) => void) | ((vnode: VNode<RendererNode, RendererElement, {
|
|
80
92
|
[key: string]: any;
|
|
81
93
|
}>) => void)[] | undefined;
|
|
82
|
-
class?: unknown;
|
|
83
94
|
};
|
|
84
95
|
$attrs: {
|
|
85
96
|
[x: string]: unknown;
|
|
@@ -107,17 +118,24 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
107
118
|
type: PropType<RequestMethod>;
|
|
108
119
|
default: string;
|
|
109
120
|
};
|
|
121
|
+
tableData: {
|
|
122
|
+
type: PropType<Record<string, unknown>[]>;
|
|
123
|
+
default: () => null;
|
|
124
|
+
};
|
|
110
125
|
modalConfig: {
|
|
111
126
|
type: PropType<ModalConfig>;
|
|
112
127
|
default: () => {};
|
|
113
128
|
};
|
|
129
|
+
handleListData: {
|
|
130
|
+
type: FunctionConstructor;
|
|
131
|
+
};
|
|
114
132
|
tableConfig: {
|
|
115
133
|
type: PropType<VxeTableProps<VxeTableDataRow>>;
|
|
116
134
|
default: () => {
|
|
117
135
|
height: number;
|
|
118
136
|
isTree: boolean;
|
|
119
137
|
radioConfig: {};
|
|
120
|
-
|
|
138
|
+
checkedConfig: {
|
|
121
139
|
highlight: boolean;
|
|
122
140
|
reserve: boolean;
|
|
123
141
|
trigger: string;
|
|
@@ -175,25 +193,27 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
175
193
|
fieldLabelI18nKey?: string | undefined;
|
|
176
194
|
width?: number | undefined;
|
|
177
195
|
}[]>;
|
|
178
|
-
form:
|
|
179
|
-
keyWord: string;
|
|
180
|
-
};
|
|
196
|
+
form: Record<string, unknown>;
|
|
181
197
|
selectModal: Ref<ModalType>;
|
|
182
198
|
getPagerConfig: ComputedRef<any>;
|
|
183
199
|
modalTitle: Ref<string>;
|
|
184
200
|
placeholder: Ref<string>;
|
|
185
201
|
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
|
|
186
202
|
close: () => void;
|
|
187
|
-
onSearch: (
|
|
203
|
+
onSearch: () => void;
|
|
188
204
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
189
205
|
selectedOk: () => void;
|
|
206
|
+
loadData: (extend?: {
|
|
207
|
+
action: string;
|
|
208
|
+
} | undefined) => void;
|
|
190
209
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
191
|
-
apiUrls: string;
|
|
192
|
-
placeholder: string;
|
|
193
210
|
modalTitle: string;
|
|
211
|
+
apiUrls: string;
|
|
194
212
|
requestMethod: RequestMethod;
|
|
213
|
+
tableData: Record<string, unknown>[];
|
|
195
214
|
modalConfig: ModalConfig;
|
|
196
215
|
tableConfig: VxeTableProps<VxeTableDataRow>;
|
|
216
|
+
placeholder: string;
|
|
197
217
|
selectModal: ModalType;
|
|
198
218
|
}, {}, string, {}> & {
|
|
199
219
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -228,17 +248,24 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
228
248
|
type: PropType<RequestMethod>;
|
|
229
249
|
default: string;
|
|
230
250
|
};
|
|
251
|
+
tableData: {
|
|
252
|
+
type: PropType<Record<string, unknown>[]>;
|
|
253
|
+
default: () => null;
|
|
254
|
+
};
|
|
231
255
|
modalConfig: {
|
|
232
256
|
type: PropType<ModalConfig>;
|
|
233
257
|
default: () => {};
|
|
234
258
|
};
|
|
259
|
+
handleListData: {
|
|
260
|
+
type: FunctionConstructor;
|
|
261
|
+
};
|
|
235
262
|
tableConfig: {
|
|
236
263
|
type: PropType<VxeTableProps<VxeTableDataRow>>;
|
|
237
264
|
default: () => {
|
|
238
265
|
height: number;
|
|
239
266
|
isTree: boolean;
|
|
240
267
|
radioConfig: {};
|
|
241
|
-
|
|
268
|
+
checkedConfig: {
|
|
242
269
|
highlight: boolean;
|
|
243
270
|
reserve: boolean;
|
|
244
271
|
trigger: string;
|
|
@@ -296,18 +323,19 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
296
323
|
fieldLabelI18nKey?: string | undefined;
|
|
297
324
|
width?: number | undefined;
|
|
298
325
|
}[]>;
|
|
299
|
-
form:
|
|
300
|
-
keyWord: string;
|
|
301
|
-
};
|
|
326
|
+
form: Record<string, unknown>;
|
|
302
327
|
selectModal: Ref<ModalType>;
|
|
303
328
|
getPagerConfig: ComputedRef<any>;
|
|
304
329
|
modalTitle: Ref<string>;
|
|
305
330
|
placeholder: Ref<string>;
|
|
306
331
|
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
|
|
307
332
|
close: () => void;
|
|
308
|
-
onSearch: (
|
|
333
|
+
onSearch: () => void;
|
|
309
334
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
310
335
|
selectedOk: () => void;
|
|
336
|
+
loadData: (extend?: {
|
|
337
|
+
action: string;
|
|
338
|
+
} | undefined) => void;
|
|
311
339
|
}> & {} & ComponentCustomProperties & {}) | undefined>;
|
|
312
340
|
openSelectModal: () => MessageType | undefined;
|
|
313
341
|
onChange: (checkedValues: RecordStringNumber[]) => void;
|
|
@@ -321,13 +349,23 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
321
349
|
type: PropType<Config>;
|
|
322
350
|
default: () => {};
|
|
323
351
|
};
|
|
352
|
+
row: {
|
|
353
|
+
type: PropType<Record<string | number, unknown>>;
|
|
354
|
+
default: () => {};
|
|
355
|
+
};
|
|
356
|
+
idx: {
|
|
357
|
+
type: NumberConstructor;
|
|
358
|
+
default: number;
|
|
359
|
+
};
|
|
324
360
|
onChange: {
|
|
325
361
|
type: PropType<((value: RecordStringNumber[]) => void) | ((value: RecordStringNumber[]) => void)[]>;
|
|
326
362
|
default: unknown;
|
|
327
363
|
};
|
|
328
364
|
}>>, {
|
|
365
|
+
row: Record<string | number, unknown>;
|
|
329
366
|
onChange: ((value: RecordStringNumber[]) => void) | ((value: RecordStringNumber[]) => void)[];
|
|
330
367
|
value: string;
|
|
331
368
|
config: Config;
|
|
369
|
+
idx: number;
|
|
332
370
|
}, {}>>;
|
|
333
371
|
export default _default;
|
|
@@ -10,21 +10,33 @@ export interface Columns {
|
|
|
10
10
|
fieldLabelI18nKey?: string;
|
|
11
11
|
width?: number;
|
|
12
12
|
}
|
|
13
|
-
export
|
|
14
|
-
|
|
13
|
+
export interface ExtendFunImport {
|
|
14
|
+
pageData: RecordStringNumber;
|
|
15
|
+
userInfo: RecordStringNumber;
|
|
16
|
+
row?: RecordStringNumber;
|
|
17
|
+
idx?: number;
|
|
18
|
+
}
|
|
19
|
+
export type HandleBefore = (value: ExtendFunImport) => Promise<string | boolean | void>;
|
|
20
|
+
export type HandleAfter = (value: ExtendFunImport) => void;
|
|
21
|
+
export type ModalParams = Record<number | string, unknown> | ((value: ExtendFunImport) => Record<number | string, unknown>);
|
|
15
22
|
export interface DefaultPayload {
|
|
16
23
|
ctx?: SetupContext;
|
|
17
24
|
value?: Payload;
|
|
18
25
|
}
|
|
19
26
|
export interface Extend {
|
|
20
27
|
current?: number;
|
|
21
|
-
modalColumns
|
|
22
|
-
modalUrl
|
|
28
|
+
modalColumns: Columns[];
|
|
29
|
+
modalUrl: string;
|
|
23
30
|
modalConfigs?: unknown[];
|
|
24
31
|
modalParams?: ModalParams;
|
|
32
|
+
params?: ModalParams;
|
|
25
33
|
selectModal?: ModalType;
|
|
26
34
|
requestMethod?: RequestMethod;
|
|
35
|
+
isTree?: boolean;
|
|
36
|
+
treeConfig?: Record<number | string, unknown>;
|
|
27
37
|
handleBefore?: HandleBefore;
|
|
38
|
+
handleAfter?: HandleAfter;
|
|
39
|
+
handleListData?: () => void;
|
|
28
40
|
}
|
|
29
41
|
export interface Config extends FormFieldsItem {
|
|
30
42
|
extend: Extend;
|
|
@@ -38,6 +50,14 @@ export declare const selectModalProps: {
|
|
|
38
50
|
type: PropType<Config>;
|
|
39
51
|
default: () => {};
|
|
40
52
|
};
|
|
53
|
+
row: {
|
|
54
|
+
type: PropType<Record<string | number, unknown>>;
|
|
55
|
+
default: () => {};
|
|
56
|
+
};
|
|
57
|
+
idx: {
|
|
58
|
+
type: NumberConstructor;
|
|
59
|
+
default: number;
|
|
60
|
+
};
|
|
41
61
|
onChange: {
|
|
42
62
|
type: PropType<((value: RecordStringNumber[]) => void) | ((value: RecordStringNumber[]) => void)[]>;
|
|
43
63
|
default: unknown;
|
|
@@ -2,7 +2,7 @@ import type { MessageType } from 'ant-design-vue/lib/message';
|
|
|
2
2
|
import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table';
|
|
3
3
|
import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from './../../field-select-modal';
|
|
4
4
|
import type { DefineComponent, PropType, Ref, ComponentInternalInstance, VNodeRef, VNode, RendererNode, RendererElement, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComputedRef } from 'vue';
|
|
5
|
-
import type { Config, RecordStringNumber } from './select-modal-types';
|
|
5
|
+
import type { Config, RecordStringNumber, Extend } from './select-modal-types';
|
|
6
6
|
declare const _sfc_main: DefineComponent<{
|
|
7
7
|
value: {
|
|
8
8
|
type: StringConstructor;
|
|
@@ -12,6 +12,14 @@ declare const _sfc_main: DefineComponent<{
|
|
|
12
12
|
type: PropType<Config>;
|
|
13
13
|
default: () => {};
|
|
14
14
|
};
|
|
15
|
+
row: {
|
|
16
|
+
type: PropType<Record<string | number, unknown>>;
|
|
17
|
+
default: () => {};
|
|
18
|
+
};
|
|
19
|
+
idx: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
15
23
|
onChange: {
|
|
16
24
|
type: PropType<((value: RecordStringNumber[]) => void) | ((value: RecordStringNumber[]) => void)[]>;
|
|
17
25
|
default: unknown;
|
|
@@ -21,18 +29,22 @@ declare const _sfc_main: DefineComponent<{
|
|
|
21
29
|
[x: string]: boolean;
|
|
22
30
|
}>;
|
|
23
31
|
value: Ref<string>;
|
|
32
|
+
curConfig: ComputedRef<Extend>;
|
|
24
33
|
fieldSelectModal: Ref<({
|
|
25
34
|
$: ComponentInternalInstance;
|
|
26
35
|
$data: {};
|
|
27
36
|
$props: {
|
|
28
|
-
apiUrls?: string | undefined;
|
|
29
|
-
placeholder?: string | undefined;
|
|
30
37
|
modalTitle?: string | undefined;
|
|
38
|
+
apiUrls?: string | undefined;
|
|
31
39
|
requestMethod?: RequestMethod | undefined;
|
|
40
|
+
tableData?: Record<string, unknown>[] | undefined;
|
|
32
41
|
modalConfig?: ModalConfig | undefined;
|
|
33
42
|
tableConfig?: VxeTableProps<VxeTableDataRow> | undefined;
|
|
43
|
+
placeholder?: string | undefined;
|
|
34
44
|
selectModal?: ModalType | undefined;
|
|
35
45
|
key?: string | number | symbol | undefined;
|
|
46
|
+
readonly handleListData?: Function | undefined;
|
|
47
|
+
class?: unknown;
|
|
36
48
|
style?: unknown;
|
|
37
49
|
ref?: VNodeRef | undefined;
|
|
38
50
|
ref_for?: boolean | undefined;
|
|
@@ -75,7 +87,6 @@ declare const _sfc_main: DefineComponent<{
|
|
|
75
87
|
}>) => void) | ((vnode: VNode<RendererNode, RendererElement, {
|
|
76
88
|
[key: string]: any;
|
|
77
89
|
}>) => void)[] | undefined;
|
|
78
|
-
class?: unknown;
|
|
79
90
|
};
|
|
80
91
|
$attrs: {
|
|
81
92
|
[x: string]: unknown;
|
|
@@ -103,17 +114,24 @@ declare const _sfc_main: DefineComponent<{
|
|
|
103
114
|
type: PropType<RequestMethod>;
|
|
104
115
|
default: string;
|
|
105
116
|
};
|
|
117
|
+
tableData: {
|
|
118
|
+
type: PropType<Record<string, unknown>[]>;
|
|
119
|
+
default: () => null;
|
|
120
|
+
};
|
|
106
121
|
modalConfig: {
|
|
107
122
|
type: PropType<ModalConfig>;
|
|
108
123
|
default: () => {};
|
|
109
124
|
};
|
|
125
|
+
handleListData: {
|
|
126
|
+
type: FunctionConstructor;
|
|
127
|
+
};
|
|
110
128
|
tableConfig: {
|
|
111
129
|
type: PropType<VxeTableProps<VxeTableDataRow>>;
|
|
112
130
|
default: () => {
|
|
113
131
|
height: number;
|
|
114
132
|
isTree: boolean;
|
|
115
133
|
radioConfig: {};
|
|
116
|
-
|
|
134
|
+
checkedConfig: {
|
|
117
135
|
highlight: boolean;
|
|
118
136
|
reserve: boolean;
|
|
119
137
|
trigger: string;
|
|
@@ -171,25 +189,27 @@ declare const _sfc_main: DefineComponent<{
|
|
|
171
189
|
fieldLabelI18nKey?: string | undefined;
|
|
172
190
|
width?: number | undefined;
|
|
173
191
|
}[]>;
|
|
174
|
-
form:
|
|
175
|
-
keyWord: string;
|
|
176
|
-
};
|
|
192
|
+
form: Record<string, unknown>;
|
|
177
193
|
selectModal: Ref<ModalType>;
|
|
178
194
|
getPagerConfig: ComputedRef<any>;
|
|
179
195
|
modalTitle: Ref<string>;
|
|
180
196
|
placeholder: Ref<string>;
|
|
181
197
|
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
|
|
182
198
|
close: () => void;
|
|
183
|
-
onSearch: (
|
|
199
|
+
onSearch: () => void;
|
|
184
200
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
185
201
|
selectedOk: () => void;
|
|
202
|
+
loadData: (extend?: {
|
|
203
|
+
action: string;
|
|
204
|
+
} | undefined) => void;
|
|
186
205
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
187
|
-
apiUrls: string;
|
|
188
|
-
placeholder: string;
|
|
189
206
|
modalTitle: string;
|
|
207
|
+
apiUrls: string;
|
|
190
208
|
requestMethod: RequestMethod;
|
|
209
|
+
tableData: Record<string, unknown>[];
|
|
191
210
|
modalConfig: ModalConfig;
|
|
192
211
|
tableConfig: VxeTableProps<VxeTableDataRow>;
|
|
212
|
+
placeholder: string;
|
|
193
213
|
selectModal: ModalType;
|
|
194
214
|
}, {}, string, {}> & {
|
|
195
215
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -224,17 +244,24 @@ declare const _sfc_main: DefineComponent<{
|
|
|
224
244
|
type: PropType<RequestMethod>;
|
|
225
245
|
default: string;
|
|
226
246
|
};
|
|
247
|
+
tableData: {
|
|
248
|
+
type: PropType<Record<string, unknown>[]>;
|
|
249
|
+
default: () => null;
|
|
250
|
+
};
|
|
227
251
|
modalConfig: {
|
|
228
252
|
type: PropType<ModalConfig>;
|
|
229
253
|
default: () => {};
|
|
230
254
|
};
|
|
255
|
+
handleListData: {
|
|
256
|
+
type: FunctionConstructor;
|
|
257
|
+
};
|
|
231
258
|
tableConfig: {
|
|
232
259
|
type: PropType<VxeTableProps<VxeTableDataRow>>;
|
|
233
260
|
default: () => {
|
|
234
261
|
height: number;
|
|
235
262
|
isTree: boolean;
|
|
236
263
|
radioConfig: {};
|
|
237
|
-
|
|
264
|
+
checkedConfig: {
|
|
238
265
|
highlight: boolean;
|
|
239
266
|
reserve: boolean;
|
|
240
267
|
trigger: string;
|
|
@@ -292,18 +319,19 @@ declare const _sfc_main: DefineComponent<{
|
|
|
292
319
|
fieldLabelI18nKey?: string | undefined;
|
|
293
320
|
width?: number | undefined;
|
|
294
321
|
}[]>;
|
|
295
|
-
form:
|
|
296
|
-
keyWord: string;
|
|
297
|
-
};
|
|
322
|
+
form: Record<string, unknown>;
|
|
298
323
|
selectModal: Ref<ModalType>;
|
|
299
324
|
getPagerConfig: ComputedRef<any>;
|
|
300
325
|
modalTitle: Ref<string>;
|
|
301
326
|
placeholder: Ref<string>;
|
|
302
327
|
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
|
|
303
328
|
close: () => void;
|
|
304
|
-
onSearch: (
|
|
329
|
+
onSearch: () => void;
|
|
305
330
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
306
331
|
selectedOk: () => void;
|
|
332
|
+
loadData: (extend?: {
|
|
333
|
+
action: string;
|
|
334
|
+
} | undefined) => void;
|
|
307
335
|
}> & {} & ComponentCustomProperties & {}) | undefined>;
|
|
308
336
|
openSelectModal: () => MessageType | undefined;
|
|
309
337
|
onChange: (checkedValues: RecordStringNumber[]) => void;
|
|
@@ -317,13 +345,23 @@ declare const _sfc_main: DefineComponent<{
|
|
|
317
345
|
type: PropType<Config>;
|
|
318
346
|
default: () => {};
|
|
319
347
|
};
|
|
348
|
+
row: {
|
|
349
|
+
type: PropType<Record<string | number, unknown>>;
|
|
350
|
+
default: () => {};
|
|
351
|
+
};
|
|
352
|
+
idx: {
|
|
353
|
+
type: NumberConstructor;
|
|
354
|
+
default: number;
|
|
355
|
+
};
|
|
320
356
|
onChange: {
|
|
321
357
|
type: PropType<((value: RecordStringNumber[]) => void) | ((value: RecordStringNumber[]) => void)[]>;
|
|
322
358
|
default: unknown;
|
|
323
359
|
};
|
|
324
360
|
}>>, {
|
|
361
|
+
row: Record<string | number, unknown>;
|
|
325
362
|
onChange: ((value: RecordStringNumber[]) => void) | ((value: RecordStringNumber[]) => void)[];
|
|
326
363
|
value: string;
|
|
327
364
|
config: Config;
|
|
365
|
+
idx: number;
|
|
328
366
|
}, {}>;
|
|
329
367
|
export default _sfc_main;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
3
|
+
import QSelectTemplate from './src/select-template.vue';
|
|
4
|
+
export * from './src/select-template-type';
|
|
5
|
+
export { QSelectTemplate };
|
|
6
|
+
declare const _default: SFCWithInstall<DefineComponent<{
|
|
7
|
+
readonly url: {
|
|
8
|
+
readonly type: PropType<string>;
|
|
9
|
+
readonly default: "";
|
|
10
|
+
};
|
|
11
|
+
readonly businessType: {
|
|
12
|
+
readonly type: PropType<string>;
|
|
13
|
+
readonly default: "";
|
|
14
|
+
};
|
|
15
|
+
readonly elsAccount: {
|
|
16
|
+
readonly type: PropType<string>;
|
|
17
|
+
readonly default: "";
|
|
18
|
+
};
|
|
19
|
+
readonly visible: {
|
|
20
|
+
readonly type: PropType<boolean>;
|
|
21
|
+
readonly default: false;
|
|
22
|
+
};
|
|
23
|
+
readonly autoVisible: {
|
|
24
|
+
readonly type: PropType<boolean>;
|
|
25
|
+
readonly default: true;
|
|
26
|
+
};
|
|
27
|
+
readonly 'onUpdate:visible': {
|
|
28
|
+
type: PropType<((visible: boolean) => void) | ((visible: boolean) => void)[]>;
|
|
29
|
+
default: unknown;
|
|
30
|
+
};
|
|
31
|
+
readonly ok: {
|
|
32
|
+
type: PropType<(() => void) | (() => void)[]>;
|
|
33
|
+
default: unknown;
|
|
34
|
+
};
|
|
35
|
+
}, {
|
|
36
|
+
visible: Ref<boolean>;
|
|
37
|
+
form: {
|
|
38
|
+
templateNumber: string;
|
|
39
|
+
};
|
|
40
|
+
templateOpts: Ref<any>;
|
|
41
|
+
handleCancel: () => void;
|
|
42
|
+
open: typeof open;
|
|
43
|
+
handlePromptOk: () => void;
|
|
44
|
+
selectedTemplate: () => void;
|
|
45
|
+
formRules: {
|
|
46
|
+
templateNumber: {
|
|
47
|
+
required: boolean;
|
|
48
|
+
message: string;
|
|
49
|
+
}[];
|
|
50
|
+
};
|
|
51
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:visible" | "ok")[], "update:visible" | "ok", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
52
|
+
readonly url: {
|
|
53
|
+
readonly type: PropType<string>;
|
|
54
|
+
readonly default: "";
|
|
55
|
+
};
|
|
56
|
+
readonly businessType: {
|
|
57
|
+
readonly type: PropType<string>;
|
|
58
|
+
readonly default: "";
|
|
59
|
+
};
|
|
60
|
+
readonly elsAccount: {
|
|
61
|
+
readonly type: PropType<string>;
|
|
62
|
+
readonly default: "";
|
|
63
|
+
};
|
|
64
|
+
readonly visible: {
|
|
65
|
+
readonly type: PropType<boolean>;
|
|
66
|
+
readonly default: false;
|
|
67
|
+
};
|
|
68
|
+
readonly autoVisible: {
|
|
69
|
+
readonly type: PropType<boolean>;
|
|
70
|
+
readonly default: true;
|
|
71
|
+
};
|
|
72
|
+
readonly 'onUpdate:visible': {
|
|
73
|
+
type: PropType<((visible: boolean) => void) | ((visible: boolean) => void)[]>;
|
|
74
|
+
default: unknown;
|
|
75
|
+
};
|
|
76
|
+
readonly ok: {
|
|
77
|
+
type: PropType<(() => void) | (() => void)[]>;
|
|
78
|
+
default: unknown;
|
|
79
|
+
};
|
|
80
|
+
}>> & {
|
|
81
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
82
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
|
83
|
+
}, {
|
|
84
|
+
readonly ok: (() => void) | (() => void)[];
|
|
85
|
+
readonly 'onUpdate:visible': ((visible: boolean) => void) | ((visible: boolean) => void)[];
|
|
86
|
+
readonly visible: boolean;
|
|
87
|
+
readonly businessType: string;
|
|
88
|
+
readonly url: string;
|
|
89
|
+
readonly elsAccount: string;
|
|
90
|
+
readonly autoVisible: boolean;
|
|
91
|
+
}, {}>>;
|
|
92
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
+
export declare const selectTemplateProps: {
|
|
3
|
+
readonly url: {
|
|
4
|
+
readonly type: PropType<string>;
|
|
5
|
+
readonly default: "";
|
|
6
|
+
};
|
|
7
|
+
readonly businessType: {
|
|
8
|
+
readonly type: PropType<string>;
|
|
9
|
+
readonly default: "";
|
|
10
|
+
};
|
|
11
|
+
readonly elsAccount: {
|
|
12
|
+
readonly type: PropType<string>;
|
|
13
|
+
readonly default: "";
|
|
14
|
+
};
|
|
15
|
+
readonly visible: {
|
|
16
|
+
readonly type: PropType<boolean>;
|
|
17
|
+
readonly default: false;
|
|
18
|
+
};
|
|
19
|
+
readonly autoVisible: {
|
|
20
|
+
readonly type: PropType<boolean>;
|
|
21
|
+
readonly default: true;
|
|
22
|
+
};
|
|
23
|
+
readonly 'onUpdate:visible': {
|
|
24
|
+
type: PropType<((visible: boolean) => void) | ((visible: boolean) => void)[]>;
|
|
25
|
+
default: unknown;
|
|
26
|
+
};
|
|
27
|
+
readonly ok: {
|
|
28
|
+
type: PropType<(() => void) | (() => void)[]>;
|
|
29
|
+
default: unknown;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export type SelectTemplateProps = ExtractPropTypes<typeof selectTemplateProps>;
|