@qqt-product/ui 0.0.16 → 0.0.18
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 +81533 -81528
- package/dist/index.umd.js +149 -209
- package/dist/lib/components/audit-modal/index.d.ts +14 -3
- package/dist/lib/components/audit-modal/src/audit-modal-type.d.ts +4 -0
- package/dist/lib/components/audit-modal/src/audit-modal.vue.d.ts +14 -3
- package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +10 -1
- package/dist/lib/components/audit-modal/src/component/approvalOpinionModal.vue.d.ts +11 -2
- package/dist/lib/components/audit-modal/src/hook/list-slot-hook.d.ts +1 -1
- package/dist/lib/components/audit-modal/src/hook/use-field-select-modal-hook.d.ts +2 -2
- package/dist/lib/components/cascader/index.d.ts +2 -2
- package/dist/lib/components/cascader/src/cascader.vue.d.ts +3 -2
- package/dist/lib/components/checkbox/index.d.ts +4 -4
- package/dist/lib/components/checkbox/src/checkbox-types.d.ts +1 -1
- package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +4 -4
- package/dist/lib/components/code-editor-model/src/code-editor-model.vue.d.ts +73 -5
- package/dist/lib/components/code-editor-model/src/one-dark.d.ts +90 -0
- package/dist/lib/components/countdown/index.d.ts +4 -4
- package/dist/lib/components/countdown/src/countdown.d.ts +4 -4
- 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 +3 -3
- package/dist/lib/components/currency/src/currency-type.d.ts +1 -1
- package/dist/lib/components/currency/src/currency.vue.d.ts +3 -3
- package/dist/lib/components/detail-form/index.d.ts +11 -8
- package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +12 -9
- package/dist/lib/components/detail-grid/index.d.ts +24 -15
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +24 -15
- package/dist/lib/components/detail-page-layout/index.d.ts +34 -7
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +33 -6
- package/dist/lib/components/edit-form/index.d.ts +13 -13
- package/dist/lib/components/edit-form/src/edit-form-types.d.ts +1 -1
- package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +14 -14
- package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +7 -6
- package/dist/lib/components/edit-grid/index.d.ts +25 -15
- package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +4 -0
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +25 -15
- package/dist/lib/components/edit-grid/src/hook/use-grid-height-hook.d.ts +2 -2
- package/dist/lib/components/edit-page-layout/index.d.ts +33 -6
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +58 -35
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +33 -6
- package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
- package/dist/lib/components/empty/index.d.ts +103 -0
- package/dist/lib/components/field-select-modal/index.d.ts +5 -0
- package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +5 -0
- package/dist/lib/components/flow-view/index.d.ts +2 -2
- package/dist/lib/components/flow-view/src/flow-view.d.ts +2 -2
- package/dist/lib/components/import-modal/index.d.ts +1 -1
- package/dist/lib/components/import-modal/src/import-modal.vue.d.ts +1 -1
- package/dist/lib/components/index.d.ts +4 -1
- package/dist/lib/components/item-wrap/index.d.ts +6 -6
- package/dist/lib/components/item-wrap/src/item-wrap-types.d.ts +2 -2
- package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +6 -6
- package/dist/lib/components/ladder-price/index.d.ts +6 -2
- package/dist/lib/components/ladder-price/src/LadderNotPriceModal.vue.d.ts +7 -3
- package/dist/lib/components/ladder-price/src/LadderPriceModal.vue.d.ts +3 -1
- package/dist/lib/components/ladder-price/src/hook/use-type-hook.d.ts +9 -0
- package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +2 -2
- package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +6 -2
- package/dist/lib/components/layout-buttons/index.d.ts +4 -2
- package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +4 -2
- package/dist/lib/components/layout-pattern/index.d.ts +2 -2
- package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +30 -25
- package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +9 -8
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +2 -2
- package/dist/lib/components/list-page-layout/index.d.ts +10 -2
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +26 -26
- package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +15 -3
- 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/tabs/index.vue.d.ts +2 -2
- package/dist/lib/components/list-page-layout/src/hooks/get-columns-hook.d.ts +2 -2
- package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +10 -2
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +9 -2
- package/dist/lib/components/menu/index.d.ts +84 -0
- package/dist/lib/components/menu/src/index.d.ts +80 -0
- package/dist/lib/components/menu/src/menu-types.d.ts +47 -0
- package/dist/lib/components/menu/src/use-menu.d.ts +2 -0
- package/dist/lib/components/page-layout/index.d.ts +4 -4
- package/dist/lib/components/page-layout/src/constant/buttons.d.ts +6 -6
- package/dist/lib/components/page-layout/src/constant/symbol.d.ts +1 -0
- package/dist/lib/components/page-layout/src/hook/use-merge-defaultValues-hook.d.ts +3 -3
- package/dist/lib/components/page-layout/src/hook/use-page-data-hook.d.ts +2 -2
- package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +5 -3
- package/dist/lib/components/page-layout/src/hook/use-ref-instance-hook.d.ts +3 -3
- package/dist/lib/components/page-layout/src/hook/use-remote-config-hook.d.ts +2 -2
- package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +4 -4
- package/dist/lib/components/page-layout/src/token.d.ts +4 -4
- package/dist/lib/components/radio/index.d.ts +4 -4
- package/dist/lib/components/radio/src/radio-types.d.ts +1 -1
- package/dist/lib/components/radio/src/radio.vue.d.ts +4 -4
- package/dist/lib/components/relation-graph/src/relation-graph-types.d.ts +2 -2
- package/dist/lib/components/remote-select/index.d.ts +5 -5
- package/dist/lib/components/remote-select/src/remote-select-types.d.ts +6 -6
- package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +5 -5
- package/dist/lib/components/rich-editor-model/index.d.ts +52 -0
- package/dist/lib/components/rich-editor-model/src/rich-editor-model-type.d.ts +14 -0
- package/dist/lib/components/rich-editor-model/src/rich-editor-model.vue.d.ts +49 -0
- package/dist/lib/components/sale-template/index.d.ts +6 -6
- package/dist/lib/components/sale-template/src/sale-template.vue.d.ts +6 -6
- package/dist/lib/components/select/index.d.ts +1 -1
- package/dist/lib/components/select/src/select.vue.d.ts +1 -1
- package/dist/lib/components/select-modal/index.d.ts +17 -8
- package/dist/lib/components/select-modal/src/select-modal-types.d.ts +6 -6
- package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +17 -8
- package/dist/lib/components/select-template/index.d.ts +1 -1
- package/dist/lib/components/select-template/src/select-template.vue.d.ts +1 -1
- package/dist/lib/components/switch/index.d.ts +5 -5
- package/dist/lib/components/switch/src/switch-types.d.ts +1 -1
- package/dist/lib/components/switch/src/switch.vue.d.ts +5 -5
- package/dist/lib/components/tree-select/index.d.ts +5 -5
- package/dist/lib/components/tree-select/src/tree-select-types.d.ts +2 -2
- package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +5 -5
- package/dist/lib/components/upload-file/index.d.ts +6 -6
- package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +2 -32
- package/dist/lib/components/upload-file/src/hook/use-operation-column-button-hook.d.ts +2 -2
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +7 -6
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +6 -6
- package/dist/lib/components/upload-file-vxe/index.d.ts +8 -6
- package/dist/lib/components/upload-file-vxe/src/upload-file-vxe-types.d.ts +2 -2
- package/dist/lib/components/upload-file-vxe/src/upload-file-vxe.vue.d.ts +8 -6
- package/dist/lib/components/upload-image/index.d.ts +11 -1
- package/dist/lib/components/upload-image/src/upload-image-type.d.ts +4 -0
- package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +11 -1
- package/dist/lib/components/vxe-select/index.d.ts +4 -4
- package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +4 -4
- package/dist/lib/utils/event.d.ts +4 -3
- package/dist/lib/utils/use-create-link-hook.d.ts +24 -0
- package/dist/style.css +1 -1
- package/package.json +21 -18
- package/dist/lib/components/edit-grid/src/components/empty/index.d.ts +0 -8
- package/dist/vite.svg +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type { RecordString } from './../../edit-page-layout';
|
|
3
3
|
export declare const relationGraphProps: {
|
|
4
4
|
readonly visible: {
|
|
5
5
|
readonly type: BooleanConstructor;
|
|
@@ -16,7 +16,7 @@ export declare const relationGraphProps: {
|
|
|
16
16
|
readonly default: "";
|
|
17
17
|
};
|
|
18
18
|
readonly onChange: {
|
|
19
|
-
type: PropType<((value:
|
|
19
|
+
type: PropType<((value: RecordString[]) => void) | ((value: RecordString[]) => void)[]>;
|
|
20
20
|
default: unknown;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MessageType } from 'ant-design-vue/lib/message';
|
|
2
|
-
import type { Config,
|
|
2
|
+
import type { Config, RecordString } from './src/remote-select-types';
|
|
3
3
|
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
4
4
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
5
5
|
import QRemoteSelect from './src/remote-select.vue';
|
|
@@ -23,7 +23,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
23
23
|
default: number;
|
|
24
24
|
};
|
|
25
25
|
onChange: {
|
|
26
|
-
type: PropType<((value:
|
|
26
|
+
type: PropType<((value: RecordString[]) => void) | ((value: RecordString[]) => void)[]>;
|
|
27
27
|
default: unknown;
|
|
28
28
|
};
|
|
29
29
|
}, {
|
|
@@ -48,7 +48,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
48
48
|
};
|
|
49
49
|
formatTitle: (item: Record<string, unknown>) => string;
|
|
50
50
|
handleFocus: () => void;
|
|
51
|
-
handleSearch: (
|
|
51
|
+
handleSearch: (changeValue?: string | undefined) => void;
|
|
52
52
|
handleChange: (changeValue: string) => void | MessageType;
|
|
53
53
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
54
54
|
value: {
|
|
@@ -68,12 +68,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
68
68
|
default: number;
|
|
69
69
|
};
|
|
70
70
|
onChange: {
|
|
71
|
-
type: PropType<((value:
|
|
71
|
+
type: PropType<((value: RecordString[]) => void) | ((value: RecordString[]) => void)[]>;
|
|
72
72
|
default: unknown;
|
|
73
73
|
};
|
|
74
74
|
}>>, {
|
|
75
75
|
row: Record<string | number, unknown>;
|
|
76
|
-
onChange: ((value:
|
|
76
|
+
onChange: ((value: RecordString[]) => void) | ((value: RecordString[]) => void)[];
|
|
77
77
|
value: string;
|
|
78
78
|
config: Config;
|
|
79
79
|
idx: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ComputedRef, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import type { FormFieldsItem,
|
|
2
|
+
import type { FormFieldsItem, RecordString } from './../../edit-page-layout';
|
|
3
3
|
import type { VxeTableProps } from 'vxe-table';
|
|
4
|
-
export {
|
|
4
|
+
export { RecordString };
|
|
5
5
|
export type TableConfig = VxeTableProps;
|
|
6
6
|
export type RequestMethod = 'get' | 'post';
|
|
7
7
|
export interface Columns {
|
|
@@ -13,9 +13,9 @@ export interface Columns {
|
|
|
13
13
|
width?: number;
|
|
14
14
|
}
|
|
15
15
|
export interface ExtendFunImport {
|
|
16
|
-
pageData:
|
|
17
|
-
userInfo:
|
|
18
|
-
row?:
|
|
16
|
+
pageData: RecordString;
|
|
17
|
+
userInfo: RecordString;
|
|
18
|
+
row?: RecordString;
|
|
19
19
|
idx?: number;
|
|
20
20
|
}
|
|
21
21
|
export type HandleBefore = (value?: ExtendFunImport) => Promise<string | boolean | void>;
|
|
@@ -54,7 +54,7 @@ export declare const remoteSelectProps: {
|
|
|
54
54
|
default: number;
|
|
55
55
|
};
|
|
56
56
|
onChange: {
|
|
57
|
-
type: PropType<((value:
|
|
57
|
+
type: PropType<((value: RecordString[]) => void) | ((value: RecordString[]) => void)[]>;
|
|
58
58
|
default: unknown;
|
|
59
59
|
};
|
|
60
60
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MessageType } from 'ant-design-vue/lib/message';
|
|
2
|
-
import type { Config,
|
|
2
|
+
import type { Config, RecordString } from './remote-select-types';
|
|
3
3
|
import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, Ref, ComputedRef } from 'vue';
|
|
4
4
|
declare const _sfc_main: DefineComponent<{
|
|
5
5
|
value: {
|
|
@@ -19,7 +19,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
19
19
|
default: number;
|
|
20
20
|
};
|
|
21
21
|
onChange: {
|
|
22
|
-
type: PropType<((value:
|
|
22
|
+
type: PropType<((value: RecordString[]) => void) | ((value: RecordString[]) => void)[]>;
|
|
23
23
|
default: unknown;
|
|
24
24
|
};
|
|
25
25
|
}, {
|
|
@@ -44,7 +44,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
44
44
|
};
|
|
45
45
|
formatTitle: (item: Record<string, unknown>) => string;
|
|
46
46
|
handleFocus: () => void;
|
|
47
|
-
handleSearch: (
|
|
47
|
+
handleSearch: (changeValue?: string) => void;
|
|
48
48
|
handleChange: (changeValue: string) => void | MessageType;
|
|
49
49
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
50
50
|
value: {
|
|
@@ -64,12 +64,12 @@ declare const _sfc_main: DefineComponent<{
|
|
|
64
64
|
default: number;
|
|
65
65
|
};
|
|
66
66
|
onChange: {
|
|
67
|
-
type: PropType<((value:
|
|
67
|
+
type: PropType<((value: RecordString[]) => void) | ((value: RecordString[]) => void)[]>;
|
|
68
68
|
default: unknown;
|
|
69
69
|
};
|
|
70
70
|
}>>, {
|
|
71
71
|
row: Record<string | number, unknown>;
|
|
72
|
-
onChange: ((value:
|
|
72
|
+
onChange: ((value: RecordString[]) => void) | ((value: RecordString[]) => void)[];
|
|
73
73
|
value: string;
|
|
74
74
|
config: Config;
|
|
75
75
|
idx: number;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { EditOutlinedIconType } from '@ant-design/icons-vue/lib/icons/EditOutlined';
|
|
2
|
+
import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
|
+
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
4
|
+
import QRichEditorModel from './src/rich-editor-model.vue';
|
|
5
|
+
export { QRichEditorModel };
|
|
6
|
+
declare const _default: SFCWithInstall<DefineComponent<{
|
|
7
|
+
editorModalFlag: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
value: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
disabled: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
}, {
|
|
20
|
+
srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
|
|
21
|
+
props: any;
|
|
22
|
+
emits: (event: "update:value" | "handleSureClick" | "handleSureClose" | "update:editorModalFlag", ...args: any[]) => void;
|
|
23
|
+
value: Ref<string>;
|
|
24
|
+
disabled: Ref<boolean>;
|
|
25
|
+
visible: Ref<boolean>;
|
|
26
|
+
code: Ref<string>;
|
|
27
|
+
handleSureClick: () => void;
|
|
28
|
+
readonly EditOutlined: EditOutlinedIconType;
|
|
29
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "handleSureClick" | "handleSureClose" | "update:editorModalFlag")[], "update:value" | "handleSureClick" | "handleSureClose" | "update:editorModalFlag", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
30
|
+
editorModalFlag: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
value: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
disabled: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
}>> & {
|
|
43
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
44
|
+
onHandleSureClick?: ((...args: any[]) => any) | undefined;
|
|
45
|
+
onHandleSureClose?: ((...args: any[]) => any) | undefined;
|
|
46
|
+
"onUpdate:editorModalFlag"?: ((...args: any[]) => any) | undefined;
|
|
47
|
+
}, {
|
|
48
|
+
disabled: boolean;
|
|
49
|
+
value: string;
|
|
50
|
+
editorModalFlag: boolean;
|
|
51
|
+
}, {}>>;
|
|
52
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const richEditorModelProps: {
|
|
2
|
+
editorModalFlag: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
value: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
disabled: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { EditOutlinedIconType } from '@ant-design/icons-vue/lib/icons/EditOutlined';
|
|
2
|
+
import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
|
+
declare const _sfc_main: DefineComponent<{
|
|
4
|
+
editorModalFlag: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
value: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
disabled: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
}, {
|
|
17
|
+
srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
|
|
18
|
+
props: any;
|
|
19
|
+
emits: (event: "update:value" | "handleSureClick" | "handleSureClose" | "update:editorModalFlag", ...args: any[]) => void;
|
|
20
|
+
value: Ref<string>;
|
|
21
|
+
disabled: Ref<boolean>;
|
|
22
|
+
visible: Ref<boolean>;
|
|
23
|
+
code: Ref<string>;
|
|
24
|
+
handleSureClick: () => void;
|
|
25
|
+
readonly EditOutlined: EditOutlinedIconType;
|
|
26
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "handleSureClick" | "handleSureClose" | "update:editorModalFlag")[], "update:value" | "handleSureClick" | "handleSureClose" | "update:editorModalFlag", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
27
|
+
editorModalFlag: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
value: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
disabled: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
}>> & {
|
|
40
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
onHandleSureClick?: ((...args: any[]) => any) | undefined;
|
|
42
|
+
onHandleSureClose?: ((...args: any[]) => any) | undefined;
|
|
43
|
+
"onUpdate:editorModalFlag"?: ((...args: any[]) => any) | undefined;
|
|
44
|
+
}, {
|
|
45
|
+
disabled: boolean;
|
|
46
|
+
value: string;
|
|
47
|
+
editorModalFlag: boolean;
|
|
48
|
+
}, {}>;
|
|
49
|
+
export default _sfc_main;
|
|
@@ -54,7 +54,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
54
54
|
handleAccountChange: (value: string) => void;
|
|
55
55
|
handleCancel: () => void;
|
|
56
56
|
handleOk: () => void;
|
|
57
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("
|
|
57
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("success" | "ok" | "update:modelValue")[], "success" | "ok" | "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
58
58
|
readonly url: {
|
|
59
59
|
readonly type: PropType<string>;
|
|
60
60
|
readonly default: "";
|
|
@@ -85,15 +85,15 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
85
85
|
};
|
|
86
86
|
}>> & {
|
|
87
87
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
88
|
-
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
89
88
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
89
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
90
90
|
}, {
|
|
91
|
-
readonly ok: (() => void) | (() => void)[];
|
|
92
|
-
readonly businessType: string;
|
|
93
91
|
readonly url: string;
|
|
94
|
-
readonly elsAccount: string;
|
|
95
92
|
readonly success: ((payload: Payload) => void) | ((payload: Payload) => void)[];
|
|
96
|
-
readonly
|
|
93
|
+
readonly ok: (() => void) | (() => void)[];
|
|
94
|
+
readonly businessType: string;
|
|
97
95
|
readonly modelValue: boolean;
|
|
96
|
+
readonly 'onUpdate:modelValue': ((modelValue: boolean) => void) | ((modelValue: boolean) => void)[];
|
|
97
|
+
readonly elsAccount: string;
|
|
98
98
|
}, {}>>;
|
|
99
99
|
export default _default;
|
|
@@ -50,7 +50,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
50
50
|
handleAccountChange: (value: string) => void;
|
|
51
51
|
handleCancel: () => void;
|
|
52
52
|
handleOk: () => void;
|
|
53
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("
|
|
53
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("success" | "ok" | "update:modelValue")[], "success" | "ok" | "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
54
54
|
readonly url: {
|
|
55
55
|
readonly type: PropType<string>;
|
|
56
56
|
readonly default: "";
|
|
@@ -81,15 +81,15 @@ declare const _sfc_main: DefineComponent<{
|
|
|
81
81
|
};
|
|
82
82
|
}>> & {
|
|
83
83
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
84
|
-
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
85
84
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
85
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
86
86
|
}, {
|
|
87
|
-
readonly ok: (() => void) | (() => void)[];
|
|
88
|
-
readonly businessType: string;
|
|
89
87
|
readonly url: string;
|
|
90
|
-
readonly elsAccount: string;
|
|
91
88
|
readonly success: ((payload: Payload) => void) | ((payload: Payload) => void)[];
|
|
92
|
-
readonly
|
|
89
|
+
readonly ok: (() => void) | (() => void)[];
|
|
90
|
+
readonly businessType: string;
|
|
93
91
|
readonly modelValue: boolean;
|
|
92
|
+
readonly 'onUpdate:modelValue': ((modelValue: boolean) => void) | ((modelValue: boolean) => void)[];
|
|
93
|
+
readonly elsAccount: string;
|
|
94
94
|
}, {}>;
|
|
95
95
|
export default _sfc_main;
|
|
@@ -84,9 +84,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
84
84
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
85
85
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
86
86
|
}, {
|
|
87
|
+
readonly onChange: ((args: MixSelectArgs) => void) | ((args: MixSelectArgs) => void)[];
|
|
87
88
|
readonly busAccount: string;
|
|
88
89
|
readonly mode: "multiple" | "tags" | "combobox";
|
|
89
|
-
readonly onChange: ((args: MixSelectArgs) => void) | ((args: MixSelectArgs) => void)[];
|
|
90
90
|
readonly value: string;
|
|
91
91
|
readonly options: SelectOption[];
|
|
92
92
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
@@ -80,9 +80,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
80
80
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
81
81
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
82
82
|
}, {
|
|
83
|
+
readonly onChange: ((args: MixSelectArgs) => void) | ((args: MixSelectArgs) => void)[];
|
|
83
84
|
readonly busAccount: string;
|
|
84
85
|
readonly mode: "multiple" | "tags" | "combobox";
|
|
85
|
-
readonly onChange: ((args: MixSelectArgs) => void) | ((args: MixSelectArgs) => void)[];
|
|
86
86
|
readonly value: string;
|
|
87
87
|
readonly options: SelectOption[];
|
|
88
88
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import type { MessageType } from 'ant-design-vue/lib/message';
|
|
2
1
|
import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table';
|
|
3
2
|
import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from '../field-select-modal';
|
|
4
|
-
import type { Config,
|
|
3
|
+
import type { Config, RecordString, Extend } from './src/select-modal-types';
|
|
5
4
|
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
5
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
7
6
|
import QSelectModal from './src/select-modal.vue';
|
|
@@ -25,7 +24,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
25
24
|
default: number;
|
|
26
25
|
};
|
|
27
26
|
onChange: {
|
|
28
|
-
type: PropType<((value:
|
|
27
|
+
type: PropType<((value: RecordString[]) => void) | ((value: RecordString[]) => void)[]>;
|
|
29
28
|
default: unknown;
|
|
30
29
|
};
|
|
31
30
|
}, {
|
|
@@ -47,9 +46,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
47
46
|
placeholder?: string | undefined;
|
|
48
47
|
selectModal?: ModalType | undefined;
|
|
49
48
|
key?: string | number | symbol | undefined;
|
|
49
|
+
style?: unknown;
|
|
50
50
|
readonly handleListData?: Function | undefined;
|
|
51
51
|
class?: unknown;
|
|
52
|
-
style?: unknown;
|
|
53
52
|
ref?: VNodeRef | undefined;
|
|
54
53
|
ref_for?: boolean | undefined;
|
|
55
54
|
ref_key?: string | undefined;
|
|
@@ -185,6 +184,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
185
184
|
perfect?: boolean | undefined;
|
|
186
185
|
};
|
|
187
186
|
tableData: Ref<Record<string, unknown>[]>;
|
|
187
|
+
tbData: Ref<Record<string, unknown>[]>;
|
|
188
188
|
columns: Ref<{
|
|
189
189
|
type?: string | undefined;
|
|
190
190
|
field?: string | undefined;
|
|
@@ -203,9 +203,13 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
203
203
|
onSearch: () => void;
|
|
204
204
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
205
205
|
selectedOk: () => void;
|
|
206
|
+
dblSelectedOk: ({ row }: any) => void;
|
|
206
207
|
loadData: (extend?: {
|
|
207
208
|
action: string;
|
|
208
209
|
} | undefined) => void;
|
|
210
|
+
beforeHideMethod: ({ type }: {
|
|
211
|
+
type: string;
|
|
212
|
+
}) => Promise<never> | undefined;
|
|
209
213
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
210
214
|
modalTitle: string;
|
|
211
215
|
apiUrls: string;
|
|
@@ -315,6 +319,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
315
319
|
perfect?: boolean | undefined;
|
|
316
320
|
};
|
|
317
321
|
tableData: Ref<Record<string, unknown>[]>;
|
|
322
|
+
tbData: Ref<Record<string, unknown>[]>;
|
|
318
323
|
columns: Ref<{
|
|
319
324
|
type?: string | undefined;
|
|
320
325
|
field?: string | undefined;
|
|
@@ -333,12 +338,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
333
338
|
onSearch: () => void;
|
|
334
339
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
335
340
|
selectedOk: () => void;
|
|
341
|
+
dblSelectedOk: ({ row }: any) => void;
|
|
336
342
|
loadData: (extend?: {
|
|
337
343
|
action: string;
|
|
338
344
|
} | undefined) => void;
|
|
345
|
+
beforeHideMethod: ({ type }: {
|
|
346
|
+
type: string;
|
|
347
|
+
}) => Promise<never> | undefined;
|
|
339
348
|
}> & {} & ComponentCustomProperties & {}) | undefined>;
|
|
340
|
-
openSelectModal: () =>
|
|
341
|
-
onChange: (checkedValues:
|
|
349
|
+
openSelectModal: () => void;
|
|
350
|
+
onChange: (checkedValues: RecordString[]) => void;
|
|
342
351
|
clearInputValue: () => void;
|
|
343
352
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
344
353
|
value: {
|
|
@@ -358,12 +367,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
358
367
|
default: number;
|
|
359
368
|
};
|
|
360
369
|
onChange: {
|
|
361
|
-
type: PropType<((value:
|
|
370
|
+
type: PropType<((value: RecordString[]) => void) | ((value: RecordString[]) => void)[]>;
|
|
362
371
|
default: unknown;
|
|
363
372
|
};
|
|
364
373
|
}>>, {
|
|
365
374
|
row: Record<string | number, unknown>;
|
|
366
|
-
onChange: ((value:
|
|
375
|
+
onChange: ((value: RecordString[]) => void) | ((value: RecordString[]) => void)[];
|
|
367
376
|
value: string;
|
|
368
377
|
config: Config;
|
|
369
378
|
idx: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ComputedRef, PropType, ExtractPropTypes, SetupContext } from 'vue';
|
|
2
|
-
import type { FormFieldsItem, Payload,
|
|
2
|
+
import type { FormFieldsItem, Payload, RecordString } from './../../edit-page-layout';
|
|
3
3
|
import type { ModalType, RequestMethod } from './../../field-select-modal/src/field-select-modal-types';
|
|
4
|
-
export {
|
|
4
|
+
export { RecordString };
|
|
5
5
|
export interface Columns {
|
|
6
6
|
type?: string;
|
|
7
7
|
field?: string;
|
|
@@ -11,9 +11,9 @@ export interface Columns {
|
|
|
11
11
|
width?: number;
|
|
12
12
|
}
|
|
13
13
|
export interface ExtendFunImport {
|
|
14
|
-
pageData:
|
|
15
|
-
userInfo:
|
|
16
|
-
row?:
|
|
14
|
+
pageData: RecordString;
|
|
15
|
+
userInfo: RecordString;
|
|
16
|
+
row?: RecordString;
|
|
17
17
|
idx?: number;
|
|
18
18
|
}
|
|
19
19
|
export type HandleBefore = (value: ExtendFunImport) => Promise<string | boolean | void>;
|
|
@@ -59,7 +59,7 @@ export declare const selectModalProps: {
|
|
|
59
59
|
default: number;
|
|
60
60
|
};
|
|
61
61
|
onChange: {
|
|
62
|
-
type: PropType<((value:
|
|
62
|
+
type: PropType<((value: RecordString[]) => void) | ((value: RecordString[]) => void)[]>;
|
|
63
63
|
default: unknown;
|
|
64
64
|
};
|
|
65
65
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import type { MessageType } from 'ant-design-vue/lib/message';
|
|
2
1
|
import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table';
|
|
3
2
|
import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from './../../field-select-modal';
|
|
4
3
|
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,
|
|
4
|
+
import type { Config, RecordString, Extend } from './select-modal-types';
|
|
6
5
|
declare const _sfc_main: DefineComponent<{
|
|
7
6
|
value: {
|
|
8
7
|
type: StringConstructor;
|
|
@@ -21,7 +20,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
21
20
|
default: number;
|
|
22
21
|
};
|
|
23
22
|
onChange: {
|
|
24
|
-
type: PropType<((value:
|
|
23
|
+
type: PropType<((value: RecordString[]) => void) | ((value: RecordString[]) => void)[]>;
|
|
25
24
|
default: unknown;
|
|
26
25
|
};
|
|
27
26
|
}, {
|
|
@@ -43,9 +42,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
43
42
|
placeholder?: string | undefined;
|
|
44
43
|
selectModal?: ModalType | undefined;
|
|
45
44
|
key?: string | number | symbol | undefined;
|
|
45
|
+
style?: unknown;
|
|
46
46
|
readonly handleListData?: Function | undefined;
|
|
47
47
|
class?: unknown;
|
|
48
|
-
style?: unknown;
|
|
49
48
|
ref?: VNodeRef | undefined;
|
|
50
49
|
ref_for?: boolean | undefined;
|
|
51
50
|
ref_key?: string | undefined;
|
|
@@ -181,6 +180,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
181
180
|
perfect?: boolean | undefined;
|
|
182
181
|
};
|
|
183
182
|
tableData: Ref<Record<string, unknown>[]>;
|
|
183
|
+
tbData: Ref<Record<string, unknown>[]>;
|
|
184
184
|
columns: Ref<{
|
|
185
185
|
type?: string | undefined;
|
|
186
186
|
field?: string | undefined;
|
|
@@ -199,9 +199,13 @@ declare const _sfc_main: DefineComponent<{
|
|
|
199
199
|
onSearch: () => void;
|
|
200
200
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
201
201
|
selectedOk: () => void;
|
|
202
|
+
dblSelectedOk: ({ row }: any) => void;
|
|
202
203
|
loadData: (extend?: {
|
|
203
204
|
action: string;
|
|
204
205
|
} | undefined) => void;
|
|
206
|
+
beforeHideMethod: ({ type }: {
|
|
207
|
+
type: string;
|
|
208
|
+
}) => Promise<never> | undefined;
|
|
205
209
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
206
210
|
modalTitle: string;
|
|
207
211
|
apiUrls: string;
|
|
@@ -311,6 +315,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
311
315
|
perfect?: boolean | undefined;
|
|
312
316
|
};
|
|
313
317
|
tableData: Ref<Record<string, unknown>[]>;
|
|
318
|
+
tbData: Ref<Record<string, unknown>[]>;
|
|
314
319
|
columns: Ref<{
|
|
315
320
|
type?: string | undefined;
|
|
316
321
|
field?: string | undefined;
|
|
@@ -329,12 +334,16 @@ declare const _sfc_main: DefineComponent<{
|
|
|
329
334
|
onSearch: () => void;
|
|
330
335
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
331
336
|
selectedOk: () => void;
|
|
337
|
+
dblSelectedOk: ({ row }: any) => void;
|
|
332
338
|
loadData: (extend?: {
|
|
333
339
|
action: string;
|
|
334
340
|
} | undefined) => void;
|
|
341
|
+
beforeHideMethod: ({ type }: {
|
|
342
|
+
type: string;
|
|
343
|
+
}) => Promise<never> | undefined;
|
|
335
344
|
}> & {} & ComponentCustomProperties & {}) | undefined>;
|
|
336
|
-
openSelectModal: () =>
|
|
337
|
-
onChange: (checkedValues:
|
|
345
|
+
openSelectModal: () => void;
|
|
346
|
+
onChange: (checkedValues: RecordString[]) => void;
|
|
338
347
|
clearInputValue: () => void;
|
|
339
348
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
340
349
|
value: {
|
|
@@ -354,12 +363,12 @@ declare const _sfc_main: DefineComponent<{
|
|
|
354
363
|
default: number;
|
|
355
364
|
};
|
|
356
365
|
onChange: {
|
|
357
|
-
type: PropType<((value:
|
|
366
|
+
type: PropType<((value: RecordString[]) => void) | ((value: RecordString[]) => void)[]>;
|
|
358
367
|
default: unknown;
|
|
359
368
|
};
|
|
360
369
|
}>>, {
|
|
361
370
|
row: Record<string | number, unknown>;
|
|
362
|
-
onChange: ((value:
|
|
371
|
+
onChange: ((value: RecordString[]) => void) | ((value: RecordString[]) => void)[];
|
|
363
372
|
value: string;
|
|
364
373
|
config: Config;
|
|
365
374
|
idx: number;
|
|
@@ -81,11 +81,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
81
81
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
82
82
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
83
83
|
}, {
|
|
84
|
+
readonly url: string;
|
|
84
85
|
readonly ok: (() => void) | (() => void)[];
|
|
85
86
|
readonly 'onUpdate:visible': ((visible: boolean) => void) | ((visible: boolean) => void)[];
|
|
86
87
|
readonly visible: boolean;
|
|
87
88
|
readonly businessType: string;
|
|
88
|
-
readonly url: string;
|
|
89
89
|
readonly elsAccount: string;
|
|
90
90
|
readonly autoVisible: boolean;
|
|
91
91
|
}, {}>>;
|
|
@@ -77,11 +77,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
77
77
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
78
78
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
79
79
|
}, {
|
|
80
|
+
readonly url: string;
|
|
80
81
|
readonly ok: (() => void) | (() => void)[];
|
|
81
82
|
readonly 'onUpdate:visible': ((visible: boolean) => void) | ((visible: boolean) => void)[];
|
|
82
83
|
readonly visible: boolean;
|
|
83
84
|
readonly businessType: string;
|
|
84
|
-
readonly url: string;
|
|
85
85
|
readonly elsAccount: string;
|
|
86
86
|
readonly autoVisible: boolean;
|
|
87
87
|
}, {}>;
|
|
@@ -5,7 +5,7 @@ export * from './src/switch-types';
|
|
|
5
5
|
export { QSwitch };
|
|
6
6
|
declare const _default: SFCWithInstall<DefineComponent<{
|
|
7
7
|
readonly checked: {
|
|
8
|
-
readonly type: PropType<"
|
|
8
|
+
readonly type: PropType<"1" | "0">;
|
|
9
9
|
readonly default: "0";
|
|
10
10
|
};
|
|
11
11
|
readonly 'onUpdate:checked': {
|
|
@@ -17,12 +17,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
17
17
|
default: unknown;
|
|
18
18
|
};
|
|
19
19
|
}, {
|
|
20
|
-
checked: Ref<"
|
|
21
|
-
realChecked: Ref<"
|
|
20
|
+
checked: Ref<"1" | "0">;
|
|
21
|
+
realChecked: Ref<"1" | "0">;
|
|
22
22
|
onChange: (value: string) => void;
|
|
23
23
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:checked")[], "change" | "update:checked", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
24
24
|
readonly checked: {
|
|
25
|
-
readonly type: PropType<"
|
|
25
|
+
readonly type: PropType<"1" | "0">;
|
|
26
26
|
readonly default: "0";
|
|
27
27
|
};
|
|
28
28
|
readonly 'onUpdate:checked': {
|
|
@@ -38,7 +38,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
38
38
|
"onUpdate:checked"?: ((...args: any[]) => any) | undefined;
|
|
39
39
|
}, {
|
|
40
40
|
readonly onChange: ((value: unknown) => void) | ((value: unknown) => void)[];
|
|
41
|
-
readonly checked: "
|
|
41
|
+
readonly checked: "1" | "0";
|
|
42
42
|
readonly 'onUpdate:checked': ((value: string) => void) | ((value: string) => void)[];
|
|
43
43
|
}, {}>>;
|
|
44
44
|
export default _default;
|