@liang2uv/fengmao-ui 0.0.0-stage → 1.3.21
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/LICENSE +21 -0
- package/README.md +83 -3
- package/global.d.ts +139 -0
- package/lib/button/index.d.ts +176 -0
- package/lib/button/src/index.vue.d.ts +48 -0
- package/lib/components.d.ts +37 -0
- package/lib/date-picker/index.d.ts +218 -0
- package/lib/date-picker/src/index.vue.d.ts +73 -0
- package/lib/detail/index.d.ts +184 -0
- package/lib/detail/src/index.vue.d.ts +51 -0
- package/lib/detail/src/renderTooltip.vue.d.ts +8 -0
- package/lib/favicon.ico +0 -0
- package/lib/fengmao-ui.js +10924 -0
- package/lib/fengmao-ui.js.gz +0 -0
- package/lib/fengmao-ui.umd.cjs +17 -0
- package/lib/form/index.d.ts +253 -0
- package/lib/form/src/index.vue.d.ts +94 -0
- package/lib/form/src/renderComp.vue.d.ts +8 -0
- package/lib/iconfont/iconfont.css +255 -0
- package/lib/iconfont/iconfont.js +1 -0
- package/lib/iconfont/iconfont.js.gz +0 -0
- package/lib/iconfont/iconfont.json +429 -0
- package/lib/iconfont/iconfont.json.gz +0 -0
- package/lib/iconfont/iconfont.ttf +0 -0
- package/lib/iconfont/iconfont.woff +0 -0
- package/lib/iconfont/iconfont.woff2 +0 -0
- package/lib/index.d.ts +20 -0
- package/lib/layout-page/index.d.ts +136 -0
- package/lib/layout-page/src/index.vue.d.ts +27 -0
- package/lib/layout-page-item/index.d.ts +109 -0
- package/lib/layout-page-item/src/index.vue.d.ts +14 -0
- package/lib/module-form/index.d.ts +486 -0
- package/lib/module-form/src/index.vue.d.ts +168 -0
- package/lib/module-form/src/moduleDetail.vue.d.ts +30 -0
- package/lib/module-form/src/moduleForm.vue.d.ts +36 -0
- package/lib/query-condition/index.d.ts +465 -0
- package/lib/query-condition/src/index.vue.d.ts +170 -0
- package/lib/query-condition/src/renderComp.vue.d.ts +8 -0
- package/lib/query-condition-v2/src/index.vue.d.ts +214 -0
- package/lib/query-condition-v2/src/renderComp.vue.d.ts +8 -0
- package/lib/radio/index.d.ts +217 -0
- package/lib/radio/src/index.vue.d.ts +70 -0
- package/lib/radio/src/radio.d.ts +12 -0
- package/lib/select/index.d.ts +281 -0
- package/lib/select/src/index.vue.d.ts +108 -0
- package/lib/select-table/index.d.ts +1072 -0
- package/lib/select-table/src/index.vue.d.ts +403 -0
- package/lib/select-table/src/renderCol.vue.d.ts +20 -0
- package/lib/step-wizard/index.d.ts +206 -0
- package/lib/step-wizard/src/fixBtn.vue.d.ts +4 -0
- package/lib/step-wizard/src/index.vue.d.ts +64 -0
- package/lib/style.css +1 -0
- package/lib/style.css.gz +0 -0
- package/lib/table/src/ColumnSet.vue.d.ts +169 -0
- package/lib/table/src/TTableColumn.vue.d.ts +103 -0
- package/lib/table/src/renderCol.vue.d.ts +20 -0
- package/lib/table/src/renderHeader.vue.d.ts +16 -0
- package/lib/table/src/singleEditCell.vue.d.ts +83 -0
- package/lib/timer-btn/index.d.ts +156 -0
- package/lib/timer-btn/src/index.vue.d.ts +32 -0
- package/lib/utils/directives/click-outside/index.d.ts +3 -0
- package/lib/withInstall.d.ts +4 -0
- package/package.json +103 -6
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
interface Option {
|
|
2
|
+
key: string;
|
|
3
|
+
label: string;
|
|
4
|
+
name: string;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
8
|
+
opts: {
|
|
9
|
+
type: ObjectConstructor;
|
|
10
|
+
required: true;
|
|
11
|
+
default: () => {};
|
|
12
|
+
};
|
|
13
|
+
modelValue: {
|
|
14
|
+
type: ObjectConstructor;
|
|
15
|
+
default: undefined;
|
|
16
|
+
};
|
|
17
|
+
labelWidth: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
};
|
|
20
|
+
btnCheckBind: {
|
|
21
|
+
type: ObjectConstructor;
|
|
22
|
+
default: () => {};
|
|
23
|
+
};
|
|
24
|
+
btnResetBind: {
|
|
25
|
+
type: ObjectConstructor;
|
|
26
|
+
default: () => {};
|
|
27
|
+
};
|
|
28
|
+
btnSettingBind: {
|
|
29
|
+
type: ObjectConstructor[];
|
|
30
|
+
};
|
|
31
|
+
loading: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
reset: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
boolEnter: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
isShowOpen: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
isExpansion: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
isShowSetting: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
name: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
required: false;
|
|
58
|
+
};
|
|
59
|
+
}, {
|
|
60
|
+
props: any;
|
|
61
|
+
currentPath: string;
|
|
62
|
+
queryCacheKey: string;
|
|
63
|
+
sceneKey: string;
|
|
64
|
+
queryCacheForm: any;
|
|
65
|
+
modelValueInit: any;
|
|
66
|
+
searchBtnRef: import("vue").Ref<null>;
|
|
67
|
+
searchBtnWidth: import("vue").Ref<number>;
|
|
68
|
+
t_query_conditionRef: import("vue").Ref<null>;
|
|
69
|
+
queryRefWidth: import("vue").Ref<number>;
|
|
70
|
+
isEmpty: (val: any) => boolean;
|
|
71
|
+
generateData: () => Option[];
|
|
72
|
+
initRightData: () => any[];
|
|
73
|
+
leftData: import("vue").Ref<{
|
|
74
|
+
key: string;
|
|
75
|
+
label: string;
|
|
76
|
+
name: string;
|
|
77
|
+
disabled: boolean;
|
|
78
|
+
}[]>;
|
|
79
|
+
rightData: any;
|
|
80
|
+
dialogFormVisible: import("vue").Ref<boolean>;
|
|
81
|
+
initForm: (opts: any, keepVal?: boolean, useCache?: boolean) => {};
|
|
82
|
+
queryState: {
|
|
83
|
+
form: {};
|
|
84
|
+
};
|
|
85
|
+
open: import("vue").Ref<boolean>;
|
|
86
|
+
queryAttrs: import("vue").ComputedRef<{
|
|
87
|
+
type: string;
|
|
88
|
+
size: string;
|
|
89
|
+
}>;
|
|
90
|
+
resetAttrs: import("vue").ComputedRef<{
|
|
91
|
+
size: any;
|
|
92
|
+
}>;
|
|
93
|
+
settingAttrs: import("vue").ComputedRef<{
|
|
94
|
+
size: string;
|
|
95
|
+
}>;
|
|
96
|
+
originCellLength: import("vue").ComputedRef<number>;
|
|
97
|
+
cOpts: import("vue").ComputedRef<any>;
|
|
98
|
+
defaultLabelWidth: import("vue").ComputedRef<"80px" | "90px" | "105px" | "110px" | "150px" | "120px">;
|
|
99
|
+
cellLength: any;
|
|
100
|
+
gridAreas: import("vue").ComputedRef<any>;
|
|
101
|
+
queryCacheFormOpts: import("vue").ComputedRef<{
|
|
102
|
+
label: string;
|
|
103
|
+
field: string;
|
|
104
|
+
}[]>;
|
|
105
|
+
dialogSnapshot: {
|
|
106
|
+
left: Option[];
|
|
107
|
+
right: string[];
|
|
108
|
+
};
|
|
109
|
+
dialogConfirmed: boolean;
|
|
110
|
+
handleChange: (value: string[], direction: 'left' | 'right', movedKeys: string[]) => false | undefined;
|
|
111
|
+
setCache1: () => void;
|
|
112
|
+
handleOpen: () => void;
|
|
113
|
+
handleClose: () => void;
|
|
114
|
+
setCache: (key: any, value: any) => void;
|
|
115
|
+
getCache: (key: any) => any;
|
|
116
|
+
cEvent: import("vue").ComputedRef<(opt: any) => {}>;
|
|
117
|
+
colLength: import("vue").ComputedRef<number>;
|
|
118
|
+
emits: (event: "handleEvent" | "submit" | "reset" | "update:modelValue", ...args: any[]) => void;
|
|
119
|
+
resetHandle: () => void;
|
|
120
|
+
handleEvent: (type: any, val: any) => void;
|
|
121
|
+
checkHandle: (flagText?: any) => void;
|
|
122
|
+
compChildName: any;
|
|
123
|
+
selectListType: import("vue").ComputedRef<(opt: any) => any>;
|
|
124
|
+
compChildLabel: import("vue").ComputedRef<(opt: any, value: any) => any>;
|
|
125
|
+
compChildValue: import("vue").ComputedRef<(opt: any, value: any, key: any) => any>;
|
|
126
|
+
compChildShowLabel: import("vue").ComputedRef<(opt: any, value: any) => any>;
|
|
127
|
+
getPlaceholder: (row: any) => any;
|
|
128
|
+
updateQueryCacheForm: () => void;
|
|
129
|
+
saveQueryCacheDefault: () => void;
|
|
130
|
+
deleteQueryCacheItem: (field: any) => void;
|
|
131
|
+
deleteQueryCacheItemAll: (field: any) => void;
|
|
132
|
+
openSetting: () => void;
|
|
133
|
+
pickFilterValues: (source: any) => any;
|
|
134
|
+
sameFilterValues: (a: any, b: any) => boolean;
|
|
135
|
+
emitModelValue: () => void;
|
|
136
|
+
syncFormFromModel: (modelValue: any) => void;
|
|
137
|
+
handleKeyup: (e: KeyboardEvent) => void;
|
|
138
|
+
RenderComp: import("vue").DefineComponent<{
|
|
139
|
+
render: FunctionConstructor;
|
|
140
|
+
form: ObjectConstructor;
|
|
141
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
142
|
+
render: FunctionConstructor;
|
|
143
|
+
form: ObjectConstructor;
|
|
144
|
+
}>>, {}, {}>;
|
|
145
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleEvent" | "submit" | "reset" | "update:modelValue")[], "handleEvent" | "submit" | "reset" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
146
|
+
opts: {
|
|
147
|
+
type: ObjectConstructor;
|
|
148
|
+
required: true;
|
|
149
|
+
default: () => {};
|
|
150
|
+
};
|
|
151
|
+
modelValue: {
|
|
152
|
+
type: ObjectConstructor;
|
|
153
|
+
default: undefined;
|
|
154
|
+
};
|
|
155
|
+
labelWidth: {
|
|
156
|
+
type: StringConstructor;
|
|
157
|
+
};
|
|
158
|
+
btnCheckBind: {
|
|
159
|
+
type: ObjectConstructor;
|
|
160
|
+
default: () => {};
|
|
161
|
+
};
|
|
162
|
+
btnResetBind: {
|
|
163
|
+
type: ObjectConstructor;
|
|
164
|
+
default: () => {};
|
|
165
|
+
};
|
|
166
|
+
btnSettingBind: {
|
|
167
|
+
type: ObjectConstructor[];
|
|
168
|
+
};
|
|
169
|
+
loading: {
|
|
170
|
+
type: BooleanConstructor;
|
|
171
|
+
default: boolean;
|
|
172
|
+
};
|
|
173
|
+
reset: {
|
|
174
|
+
type: BooleanConstructor;
|
|
175
|
+
default: boolean;
|
|
176
|
+
};
|
|
177
|
+
boolEnter: {
|
|
178
|
+
type: BooleanConstructor;
|
|
179
|
+
default: boolean;
|
|
180
|
+
};
|
|
181
|
+
isShowOpen: {
|
|
182
|
+
type: BooleanConstructor;
|
|
183
|
+
default: boolean;
|
|
184
|
+
};
|
|
185
|
+
isExpansion: {
|
|
186
|
+
type: BooleanConstructor;
|
|
187
|
+
default: boolean;
|
|
188
|
+
};
|
|
189
|
+
isShowSetting: {
|
|
190
|
+
type: BooleanConstructor;
|
|
191
|
+
default: boolean;
|
|
192
|
+
};
|
|
193
|
+
name: {
|
|
194
|
+
type: StringConstructor;
|
|
195
|
+
required: false;
|
|
196
|
+
};
|
|
197
|
+
}>> & {
|
|
198
|
+
onHandleEvent?: ((...args: any[]) => any) | undefined;
|
|
199
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
200
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
201
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
202
|
+
}, {
|
|
203
|
+
reset: boolean;
|
|
204
|
+
opts: Record<string, any>;
|
|
205
|
+
btnCheckBind: Record<string, any>;
|
|
206
|
+
btnResetBind: Record<string, any>;
|
|
207
|
+
loading: boolean;
|
|
208
|
+
boolEnter: boolean;
|
|
209
|
+
isShowOpen: boolean;
|
|
210
|
+
isExpansion: boolean;
|
|
211
|
+
isShowSetting: boolean;
|
|
212
|
+
modelValue: Record<string, any>;
|
|
213
|
+
}, {}>;
|
|
214
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
render: FunctionConstructor;
|
|
3
|
+
form: ObjectConstructor;
|
|
4
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5
|
+
render: FunctionConstructor;
|
|
6
|
+
form: ObjectConstructor;
|
|
7
|
+
}>>, {}, {}>;
|
|
8
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
declare const TRadio: ({
|
|
2
|
+
new (...args: any[]): {
|
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
|
4
|
+
$data: {};
|
|
5
|
+
$props: {
|
|
6
|
+
props?: Record<string, any> | undefined;
|
|
7
|
+
type?: "radio" | "button" | undefined;
|
|
8
|
+
size?: "default" | "large" | "small" | undefined;
|
|
9
|
+
options?: import("./src/radio").RadioItem[] | undefined;
|
|
10
|
+
border?: boolean | undefined;
|
|
11
|
+
key?: string | number | symbol | undefined;
|
|
12
|
+
ref?: import("vue").VNodeRef | undefined;
|
|
13
|
+
ref_for?: boolean | undefined;
|
|
14
|
+
ref_key?: string | undefined;
|
|
15
|
+
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}>) => void)[] | undefined;
|
|
20
|
+
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}>) => void)[] | undefined;
|
|
25
|
+
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
}>) => void)[] | undefined;
|
|
34
|
+
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
}>) => void)[] | undefined;
|
|
43
|
+
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
}>) => void)[] | undefined;
|
|
48
|
+
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
49
|
+
[key: string]: any;
|
|
50
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
}>) => void)[] | undefined;
|
|
53
|
+
class?: unknown;
|
|
54
|
+
style?: unknown;
|
|
55
|
+
};
|
|
56
|
+
$attrs: {
|
|
57
|
+
[x: string]: unknown;
|
|
58
|
+
};
|
|
59
|
+
$refs: {
|
|
60
|
+
[x: string]: unknown;
|
|
61
|
+
};
|
|
62
|
+
$slots: Readonly<{
|
|
63
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
64
|
+
}>;
|
|
65
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
66
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
67
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
68
|
+
$el: any;
|
|
69
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
+
type: {
|
|
71
|
+
type: import("vue").PropType<"radio" | "button">;
|
|
72
|
+
validator: (value: string) => boolean;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
options: {
|
|
76
|
+
type: import("vue").PropType<import("./src/radio").RadioItem[]>;
|
|
77
|
+
default: () => never[];
|
|
78
|
+
};
|
|
79
|
+
size: {
|
|
80
|
+
type: import("vue").PropType<"default" | "large" | "small">;
|
|
81
|
+
validator: (value: string) => boolean;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
border: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
props: {
|
|
89
|
+
type: ObjectConstructor;
|
|
90
|
+
default: () => {};
|
|
91
|
+
};
|
|
92
|
+
}>>, {
|
|
93
|
+
radioProps: import("@vue/shared").LooseRequired<{
|
|
94
|
+
readonly props: Record<string, any>;
|
|
95
|
+
readonly type: "radio" | "button";
|
|
96
|
+
readonly size: "default" | "large" | "small";
|
|
97
|
+
readonly options: import("./src/radio").RadioItem[];
|
|
98
|
+
readonly border: boolean;
|
|
99
|
+
} & {}>;
|
|
100
|
+
radioType: import("vue").ComputedRef<string>;
|
|
101
|
+
optionsProps: import("vue").Ref<{
|
|
102
|
+
value: string;
|
|
103
|
+
label: string;
|
|
104
|
+
disabled: string;
|
|
105
|
+
}>;
|
|
106
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
107
|
+
props: Record<string, any>;
|
|
108
|
+
type: "radio" | "button";
|
|
109
|
+
size: "default" | "large" | "small";
|
|
110
|
+
options: import("./src/radio").RadioItem[];
|
|
111
|
+
border: boolean;
|
|
112
|
+
}, {}, string, {}> & {
|
|
113
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
114
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
115
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
116
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
117
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
118
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
119
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
120
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
121
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
122
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
123
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
124
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
125
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
126
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
127
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
128
|
+
};
|
|
129
|
+
$forceUpdate: () => void;
|
|
130
|
+
$nextTick: typeof import("vue").nextTick;
|
|
131
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
132
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
133
|
+
type: {
|
|
134
|
+
type: import("vue").PropType<"radio" | "button">;
|
|
135
|
+
validator: (value: string) => boolean;
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
138
|
+
options: {
|
|
139
|
+
type: import("vue").PropType<import("./src/radio").RadioItem[]>;
|
|
140
|
+
default: () => never[];
|
|
141
|
+
};
|
|
142
|
+
size: {
|
|
143
|
+
type: import("vue").PropType<"default" | "large" | "small">;
|
|
144
|
+
validator: (value: string) => boolean;
|
|
145
|
+
default: string;
|
|
146
|
+
};
|
|
147
|
+
border: {
|
|
148
|
+
type: BooleanConstructor;
|
|
149
|
+
default: boolean;
|
|
150
|
+
};
|
|
151
|
+
props: {
|
|
152
|
+
type: ObjectConstructor;
|
|
153
|
+
default: () => {};
|
|
154
|
+
};
|
|
155
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
|
156
|
+
radioProps: import("@vue/shared").LooseRequired<{
|
|
157
|
+
readonly props: Record<string, any>;
|
|
158
|
+
readonly type: "radio" | "button";
|
|
159
|
+
readonly size: "default" | "large" | "small";
|
|
160
|
+
readonly options: import("./src/radio").RadioItem[];
|
|
161
|
+
readonly border: boolean;
|
|
162
|
+
} & {}>;
|
|
163
|
+
radioType: import("vue").ComputedRef<string>;
|
|
164
|
+
optionsProps: import("vue").Ref<{
|
|
165
|
+
value: string;
|
|
166
|
+
label: string;
|
|
167
|
+
disabled: string;
|
|
168
|
+
}>;
|
|
169
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
170
|
+
__isFragment?: undefined;
|
|
171
|
+
__isTeleport?: undefined;
|
|
172
|
+
__isSuspense?: undefined;
|
|
173
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
174
|
+
type: {
|
|
175
|
+
type: import("vue").PropType<"radio" | "button">;
|
|
176
|
+
validator: (value: string) => boolean;
|
|
177
|
+
default: string;
|
|
178
|
+
};
|
|
179
|
+
options: {
|
|
180
|
+
type: import("vue").PropType<import("./src/radio").RadioItem[]>;
|
|
181
|
+
default: () => never[];
|
|
182
|
+
};
|
|
183
|
+
size: {
|
|
184
|
+
type: import("vue").PropType<"default" | "large" | "small">;
|
|
185
|
+
validator: (value: string) => boolean;
|
|
186
|
+
default: string;
|
|
187
|
+
};
|
|
188
|
+
border: {
|
|
189
|
+
type: BooleanConstructor;
|
|
190
|
+
default: boolean;
|
|
191
|
+
};
|
|
192
|
+
props: {
|
|
193
|
+
type: ObjectConstructor;
|
|
194
|
+
default: () => {};
|
|
195
|
+
};
|
|
196
|
+
}>>, {
|
|
197
|
+
radioProps: import("@vue/shared").LooseRequired<{
|
|
198
|
+
readonly props: Record<string, any>;
|
|
199
|
+
readonly type: "radio" | "button";
|
|
200
|
+
readonly size: "default" | "large" | "small";
|
|
201
|
+
readonly options: import("./src/radio").RadioItem[];
|
|
202
|
+
readonly border: boolean;
|
|
203
|
+
} & {}>;
|
|
204
|
+
radioType: import("vue").ComputedRef<string>;
|
|
205
|
+
optionsProps: import("vue").Ref<{
|
|
206
|
+
value: string;
|
|
207
|
+
label: string;
|
|
208
|
+
disabled: string;
|
|
209
|
+
}>;
|
|
210
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
211
|
+
props: Record<string, any>;
|
|
212
|
+
type: "radio" | "button";
|
|
213
|
+
size: "default" | "large" | "small";
|
|
214
|
+
options: import("./src/radio").RadioItem[];
|
|
215
|
+
border: boolean;
|
|
216
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>) & Record<string, any>;
|
|
217
|
+
export default TRadio;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { RadioItem } from './radio';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
type: {
|
|
5
|
+
type: PropType<"radio" | "button">;
|
|
6
|
+
validator: (value: string) => boolean;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
options: {
|
|
10
|
+
type: PropType<RadioItem[]>;
|
|
11
|
+
default: () => never[];
|
|
12
|
+
};
|
|
13
|
+
size: {
|
|
14
|
+
type: PropType<"default" | "large" | "small">;
|
|
15
|
+
validator: (value: string) => boolean;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
border: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
props: {
|
|
23
|
+
type: ObjectConstructor;
|
|
24
|
+
default: () => {};
|
|
25
|
+
};
|
|
26
|
+
}, {
|
|
27
|
+
radioProps: import("@vue/shared").LooseRequired<{
|
|
28
|
+
readonly props: Record<string, any>;
|
|
29
|
+
readonly type: "radio" | "button";
|
|
30
|
+
readonly size: "default" | "large" | "small";
|
|
31
|
+
readonly options: RadioItem[];
|
|
32
|
+
readonly border: boolean;
|
|
33
|
+
} & {}>;
|
|
34
|
+
radioType: import("vue").ComputedRef<string>;
|
|
35
|
+
optionsProps: import("vue").Ref<{
|
|
36
|
+
value: string;
|
|
37
|
+
label: string;
|
|
38
|
+
disabled: string;
|
|
39
|
+
}>;
|
|
40
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
|
+
type: {
|
|
42
|
+
type: PropType<"radio" | "button">;
|
|
43
|
+
validator: (value: string) => boolean;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
options: {
|
|
47
|
+
type: PropType<RadioItem[]>;
|
|
48
|
+
default: () => never[];
|
|
49
|
+
};
|
|
50
|
+
size: {
|
|
51
|
+
type: PropType<"default" | "large" | "small">;
|
|
52
|
+
validator: (value: string) => boolean;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
border: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
props: {
|
|
60
|
+
type: ObjectConstructor;
|
|
61
|
+
default: () => {};
|
|
62
|
+
};
|
|
63
|
+
}>>, {
|
|
64
|
+
props: Record<string, any>;
|
|
65
|
+
type: "radio" | "button";
|
|
66
|
+
size: "default" | "large" | "small";
|
|
67
|
+
options: RadioItem[];
|
|
68
|
+
border: boolean;
|
|
69
|
+
}, {}>;
|
|
70
|
+
export default _sfc_main;
|