@fangzhongya/fang-ui 0.0.44 → 0.0.46
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/bin/fang-ui.js +1 -1
- package/dist/components/alert/src/data.d.ts +1 -1
- package/dist/components/box/src/data.cjs +10 -6
- package/dist/components/box/src/data.d.ts +10 -1
- package/dist/components/box/src/data.js +10 -6
- package/dist/components/box/src/index2.cjs +2 -3
- package/dist/components/box/src/index2.js +2 -3
- package/dist/components/box-adjust/src/data.cjs +4 -2
- package/dist/components/box-adjust/src/data.d.ts +10 -3
- package/dist/components/box-adjust/src/data.js +4 -2
- package/dist/components/box-adjust/src/index2.cjs +2 -3
- package/dist/components/box-adjust/src/index2.js +2 -3
- package/dist/components/box-local/src/data.d.ts +6 -1
- package/dist/components/box-local/src/index2.cjs +5 -4
- package/dist/components/box-local/src/index2.js +5 -4
- package/dist/components/box-mask/src/data.cjs +2 -1
- package/dist/components/box-mask/src/data.d.ts +2 -5
- package/dist/components/box-mask/src/data.js +2 -1
- package/dist/components/box-teleport/src/data.cjs +5 -1
- package/dist/components/box-teleport/src/data.d.ts +5 -5
- package/dist/components/box-teleport/src/data.js +5 -1
- package/dist/components/box-teleport/src/index2.cjs +7 -2
- package/dist/components/box-teleport/src/index2.js +7 -2
- package/dist/components/box-title/src/data.cjs +2 -7
- package/dist/components/box-title/src/data.d.ts +4 -11
- package/dist/components/box-title/src/data.js +2 -7
- package/dist/components/button/src/data.d.ts +1 -1
- package/dist/components/card/src/data.d.ts +1 -1
- package/dist/components/cascader/src/data.d.ts +1 -1
- package/dist/components/cascader-panel/src/data.d.ts +1 -1
- package/dist/components/checkbox/src/data.d.ts +1 -1
- package/dist/components/checkbox-group/src/data.d.ts +1 -1
- package/dist/components/collapse/src/data.d.ts +1 -1
- package/dist/components/collapse-item/src/data.d.ts +1 -1
- package/dist/components/color-picker/src/data.d.ts +1 -1
- package/dist/components/common/urls.cjs +14 -8
- package/dist/components/common/urls.d.ts +14 -8
- package/dist/components/common/urls.js +14 -8
- package/dist/components/config-provider/src/data.d.ts +1 -1
- package/dist/components/date-picker/src/data.d.ts +1 -1
- package/dist/components/dialog/src/data.d.ts +1 -1
- package/dist/components/dialogs/src/data.cjs +9 -1
- package/dist/components/dialogs/src/data.d.ts +17 -1
- package/dist/components/dialogs/src/data.js +9 -1
- package/dist/components/divider/src/data.d.ts +1 -1
- package/dist/components/drawer/src/data.d.ts +1 -1
- package/dist/components/dropdown/src/data.d.ts +1 -1
- package/dist/components/dropdown-item/src/data.d.ts +1 -1
- package/dist/components/dropdown-menu/src/data.d.ts +1 -1
- package/dist/components/form/src/data.d.ts +1 -1
- package/dist/components/form-item/src/data.d.ts +1 -1
- package/dist/components/forms/src/data.cjs +63 -7
- package/dist/components/forms/src/data.d.ts +63 -15
- package/dist/components/forms/src/data.js +63 -7
- package/dist/components/forms/src/index2.cjs +3 -3
- package/dist/components/forms/src/index2.js +3 -3
- package/dist/components/forms-div/src/data.cjs +15 -2
- package/dist/components/forms-div/src/data.d.ts +15 -4
- package/dist/components/forms-div/src/data.js +15 -2
- package/dist/components/forms-item/src/data.cjs +22 -1
- package/dist/components/forms-item/src/data.d.ts +24 -5
- package/dist/components/forms-item/src/data.js +22 -1
- package/dist/components/forms-items/src/data.cjs +11 -2
- package/dist/components/forms-items/src/data.d.ts +12 -5
- package/dist/components/forms-items/src/data.js +11 -2
- package/dist/components/global-config/src/data.cjs +9 -1
- package/dist/components/global-config/src/data.d.ts +12 -1
- package/dist/components/global-config/src/data.js +9 -1
- package/dist/components/icon/src/data.cjs +16 -2
- package/dist/components/icon/src/data.d.ts +16 -2
- package/dist/components/icon/src/data.js +16 -2
- package/dist/components/icon/style/index2.scss +1 -0
- package/dist/components/icon/tests/cs3/assets/index.scss +70 -0
- package/dist/components/icon-picker/src/data.cjs +3 -3
- package/dist/components/icon-picker/src/data.d.ts +3 -3
- package/dist/components/icon-picker/src/data.js +3 -3
- package/dist/components/iframe/src/data.cjs +3 -3
- package/dist/components/iframe/src/data.d.ts +6 -3
- package/dist/components/iframe/src/data.js +3 -3
- package/dist/components/iframe/src/index2.cjs +4 -0
- package/dist/components/iframe/src/index2.js +4 -0
- package/dist/components/image/src/data.d.ts +1 -1
- package/dist/components/index.scss +1 -0
- package/dist/components/index2.scss +2 -1
- package/dist/components/input/src/data.d.ts +1 -1
- package/dist/components/input-number/src/data.d.ts +1 -1
- package/dist/components/lists/src/data.cjs +36 -4
- package/dist/components/lists/src/data.d.ts +36 -2
- package/dist/components/lists/src/data.js +36 -4
- package/dist/components/menus/src/index2.cjs +11 -1
- package/dist/components/menus/src/index2.js +11 -1
- package/dist/components/option-group/src/data.d.ts +1 -1
- package/dist/components/pagination/src/data.d.ts +1 -1
- package/dist/components/popconfirm/src/data.d.ts +1 -1
- package/dist/components/popover/src/data.d.ts +1 -1
- package/dist/components/popup/index.scss +1 -0
- package/dist/components/popup/src/data.cjs +14 -7
- package/dist/components/popup/src/data.d.ts +20 -8
- package/dist/components/popup/src/data.js +14 -7
- package/dist/components/popup/src/index2.cjs +3 -4
- package/dist/components/popup/src/index2.js +3 -4
- package/dist/components/radio/src/data.d.ts +1 -1
- package/dist/components/radio-group/src/data.d.ts +1 -1
- package/dist/components/retract/index.cjs +1 -0
- package/dist/components/retract/index.css +87 -0
- package/dist/components/retract/index.js +1 -0
- package/dist/components/retract/index.scss +76 -0
- package/dist/components/retract/src/data.cjs +3 -5
- package/dist/components/retract/src/data.d.ts +4 -8
- package/dist/components/retract/src/data.js +3 -5
- package/dist/components/retract/src/index2.cjs +1 -1
- package/dist/components/retract/src/index2.js +1 -1
- package/dist/components/right-key/src/data.cjs +10 -9
- package/dist/components/right-key/src/data.d.ts +15 -4
- package/dist/components/right-key/src/data.js +10 -9
- package/dist/components/seamless-scroll/index.css +1 -0
- package/dist/components/seamless-scroll/index.scss +1 -0
- package/dist/components/seamless-scroll/src/data.cjs +13 -12
- package/dist/components/seamless-scroll/src/data.d.ts +13 -15
- package/dist/components/seamless-scroll/src/data.js +13 -12
- package/dist/components/seamless-scroll/src/index2.cjs +6 -3
- package/dist/components/seamless-scroll/src/index2.js +6 -3
- package/dist/components/select/src/data.d.ts +1 -1
- package/dist/components/slider/src/data.d.ts +1 -1
- package/dist/components/stick-div/src/data.cjs +6 -3
- package/dist/components/stick-div/src/data.d.ts +6 -3
- package/dist/components/stick-div/src/data.js +6 -3
- package/dist/components/stick-edge/src/data.cjs +6 -3
- package/dist/components/stick-edge/src/data.d.ts +6 -3
- package/dist/components/stick-edge/src/data.js +6 -3
- package/dist/components/stick-window/src/data.cjs +6 -30
- package/dist/components/stick-window/src/data.d.ts +13 -19
- package/dist/components/stick-window/src/data.js +6 -30
- package/dist/components/switch/src/data.d.ts +1 -1
- package/dist/components/tab-pane/src/data.d.ts +1 -1
- package/dist/components/tabs/src/data.d.ts +1 -1
- package/dist/components/time-picker/src/data.d.ts +1 -1
- package/dist/components/time-select/src/data.d.ts +1 -1
- package/dist/components/tooltip/src/data.d.ts +1 -1
- package/dist/components/tree/src/data.d.ts +1 -1
- package/dist/components/tree-select/src/data.d.ts +1 -1
- package/dist/components/upload/src/data.d.ts +1 -1
- package/dist/components/window/index.css +3 -2
- package/dist/components/window/index.scss +7 -9
- package/dist/components/window/src/data.cjs +22 -9
- package/dist/components/window/src/data.d.ts +34 -10
- package/dist/components/window/src/data.js +22 -9
- package/dist/components/window/src/index2.cjs +39 -25
- package/dist/components/window/src/index2.js +39 -25
- package/dist/css/index.css +78 -2
- package/dist/css/retract.css +87 -0
- package/dist/css/seamless-scroll.css +1 -0
- package/dist/css/window.css +3 -2
- package/dist/directives/drag/index.cjs +2 -0
- package/dist/directives/drag/index.d.ts +0 -1
- package/dist/directives/drag/index.js +2 -0
- package/dist/expand/{chunk-NWMTWNXH.cjs → chunk-J3OWSCOI.cjs} +1 -0
- package/dist/expand/{chunk-5DCURPLA.js → chunk-WXZESOPO.js} +1 -0
- package/dist/expand/components.cjs +5 -5
- package/dist/expand/components.js +1 -1
- package/dist/expand/config.cjs +2 -2
- package/dist/expand/config.js +1 -1
- package/dist/icons/index.css +21 -21
- package/dist/icons/index.json +6 -6
- package/dist/index.css +78 -2
- package/package.json +10 -10
- /package/dist/components/{tooltip → image}/index.css +0 -0
- /package/dist/css/{tooltip.css → image.css} +0 -0
|
@@ -27,6 +27,10 @@ export declare const dataProps: {
|
|
|
27
27
|
};
|
|
28
28
|
default(): never[];
|
|
29
29
|
};
|
|
30
|
+
/**
|
|
31
|
+
* @props { Number } column=1
|
|
32
|
+
* 一行展示多少列
|
|
33
|
+
*/
|
|
30
34
|
column: {
|
|
31
35
|
type: NumberConstructor;
|
|
32
36
|
default(): number;
|
|
@@ -57,43 +61,83 @@ export declare const dataProps: {
|
|
|
57
61
|
default(): {};
|
|
58
62
|
};
|
|
59
63
|
/**
|
|
60
|
-
* @props { String }
|
|
64
|
+
* @props { String, Number } labelWidth=auto ( )
|
|
61
65
|
* 标签的长度
|
|
62
66
|
*/
|
|
63
67
|
labelWidth: {
|
|
64
68
|
type: (StringConstructor | NumberConstructor)[];
|
|
65
69
|
default: string;
|
|
66
70
|
};
|
|
71
|
+
/**
|
|
72
|
+
* @props { String } labelPosition='left' ('left' | 'top' | 'right' | 'center' | 'auto' )
|
|
73
|
+
* 标签的展示位置
|
|
74
|
+
*/
|
|
67
75
|
labelPosition: {
|
|
68
76
|
type: () => "left" | "top" | "right" | "center" | "auto";
|
|
69
77
|
default: string;
|
|
70
78
|
};
|
|
79
|
+
/**
|
|
80
|
+
* @props { String } rowWidth
|
|
81
|
+
* 列的宽度
|
|
82
|
+
*/
|
|
71
83
|
rowWidth: {
|
|
72
84
|
type: StringConstructor;
|
|
73
85
|
};
|
|
86
|
+
/**
|
|
87
|
+
* @props { String } rowMinWidth
|
|
88
|
+
* 列的最小宽度
|
|
89
|
+
*/
|
|
74
90
|
rowMinWidth: {
|
|
75
91
|
type: StringConstructor;
|
|
76
92
|
};
|
|
93
|
+
/**
|
|
94
|
+
* @props { String } rowHeight
|
|
95
|
+
* 列的高度
|
|
96
|
+
*/
|
|
77
97
|
rowHeight: {
|
|
78
98
|
type: StringConstructor;
|
|
79
99
|
};
|
|
100
|
+
/**
|
|
101
|
+
* @props { Boolean } inline
|
|
102
|
+
* 是否内连接
|
|
103
|
+
*/
|
|
80
104
|
inline: {
|
|
81
105
|
type: BooleanConstructor;
|
|
82
106
|
};
|
|
107
|
+
/**
|
|
108
|
+
* @props { Boolean } inlineBox
|
|
109
|
+
* 是否紧凑型
|
|
110
|
+
*/
|
|
83
111
|
inlineBox: {
|
|
84
112
|
type: BooleanConstructor;
|
|
85
113
|
};
|
|
114
|
+
/**
|
|
115
|
+
* @props { Boolean } query
|
|
116
|
+
* 是否查询模式
|
|
117
|
+
*/
|
|
86
118
|
query: {
|
|
87
119
|
type: BooleanConstructor;
|
|
88
120
|
};
|
|
121
|
+
/**
|
|
122
|
+
* @props { String } queryInterval='6px'
|
|
123
|
+
* 查询模式的上下间距
|
|
124
|
+
*/
|
|
89
125
|
queryInterval: {
|
|
90
126
|
type: StringConstructor;
|
|
91
127
|
default: string;
|
|
92
128
|
};
|
|
129
|
+
/**
|
|
130
|
+
* @props { String } inlineRight='32px'
|
|
131
|
+
* 内连接右间距
|
|
132
|
+
*/
|
|
93
133
|
inlineRight: {
|
|
94
134
|
type: StringConstructor;
|
|
95
135
|
default: string;
|
|
96
136
|
};
|
|
137
|
+
/**
|
|
138
|
+
* @props { String } itemBottom='18px'
|
|
139
|
+
* 列下间距
|
|
140
|
+
*/
|
|
97
141
|
itemBottom: {
|
|
98
142
|
type: StringConstructor;
|
|
99
143
|
default: string;
|
|
@@ -106,7 +150,7 @@ export declare const dataProps: {
|
|
|
106
150
|
type: ObjectConstructor;
|
|
107
151
|
};
|
|
108
152
|
/**
|
|
109
|
-
* @props {
|
|
153
|
+
* @props { Array<ObjAny> } buts=[]
|
|
110
154
|
* 表单按钮
|
|
111
155
|
* pid: {1, 调用确认提交的方法; 2, 调用取消的方法}
|
|
112
156
|
*/
|
|
@@ -128,12 +172,24 @@ export declare const dataProps: {
|
|
|
128
172
|
readonly [Symbol.species]: ArrayConstructor;
|
|
129
173
|
};
|
|
130
174
|
};
|
|
175
|
+
/**
|
|
176
|
+
* @props { String } butLeft
|
|
177
|
+
* 表单按钮左间距
|
|
178
|
+
*/
|
|
131
179
|
butLeft: {
|
|
132
180
|
type: StringConstructor;
|
|
133
181
|
};
|
|
182
|
+
/**
|
|
183
|
+
* @props { String } butHeight
|
|
184
|
+
* 表单按钮高度
|
|
185
|
+
*/
|
|
134
186
|
butHeight: {
|
|
135
187
|
type: StringConstructor;
|
|
136
188
|
};
|
|
189
|
+
/**
|
|
190
|
+
* @props { Boolean, String } colon
|
|
191
|
+
* 标签后面是否加内容 true 是 :
|
|
192
|
+
*/
|
|
137
193
|
colon: (BooleanConstructor | StringConstructor)[];
|
|
138
194
|
value: {
|
|
139
195
|
type: () => ObjAny;
|
|
@@ -156,35 +212,32 @@ export declare const dataProps: {
|
|
|
156
212
|
};
|
|
157
213
|
};
|
|
158
214
|
export type DataProps = ExtractPropTypes<typeof dataProps>;
|
|
159
|
-
/**
|
|
160
|
-
* 组件事件
|
|
161
|
-
*/
|
|
162
215
|
/**
|
|
163
216
|
* 组件事件
|
|
164
217
|
*/
|
|
165
218
|
export declare const dataEmits: {
|
|
166
219
|
/**
|
|
167
|
-
* @emits update:modelValue (值)
|
|
220
|
+
* @emits update:modelValue (value:[ObjAny]值)
|
|
168
221
|
* v-model 数据更新
|
|
169
222
|
*/
|
|
170
223
|
'update:modelValue': (value: ObjAny) => void;
|
|
171
224
|
/**
|
|
172
|
-
* @emits submit (form
|
|
225
|
+
* @emits submit (obj:[ObjAny]form值)
|
|
173
226
|
* 提交事件
|
|
174
227
|
*/
|
|
175
228
|
submit: (obj: ObjAny) => void;
|
|
176
229
|
/**
|
|
177
|
-
* @emits cancel (form
|
|
230
|
+
* @emits cancel (obj:[ObjAny]form值)
|
|
178
231
|
* 关闭事件
|
|
179
232
|
*/
|
|
180
233
|
cancel: (obj: ObjAny) => void;
|
|
181
234
|
/**
|
|
182
|
-
* @emits cancel (
|
|
235
|
+
* @emits cancel (obj:[ObjAny]当前对象,dataForm: form值, index:第几个, event:Event对象)
|
|
183
236
|
* buts按钮事件
|
|
184
237
|
*/
|
|
185
238
|
buts: (obj: ObjAny, dataForm: ObjAny, index: number, event: Event) => void;
|
|
186
239
|
/**
|
|
187
|
-
* @emits upform (form值)
|
|
240
|
+
* @emits upform (dataForm:[ObjAny]form值)
|
|
188
241
|
* 表单数据变动
|
|
189
242
|
*/
|
|
190
243
|
upform: (dataForm: ObjAny) => void;
|
|
@@ -194,27 +247,22 @@ export declare const dataEmits: {
|
|
|
194
247
|
*/
|
|
195
248
|
export type DataEmits = {
|
|
196
249
|
/**
|
|
197
|
-
* @emits update:modelValue (值)
|
|
198
250
|
* v-model 数据更新
|
|
199
251
|
*/
|
|
200
252
|
(e: 'update:modelValue', value: boolean): void;
|
|
201
253
|
/**
|
|
202
|
-
* @emits submit (form值:ObjAny)
|
|
203
254
|
* 提交事件
|
|
204
255
|
*/
|
|
205
256
|
(e: 'submit', obj: ObjAny): void;
|
|
206
257
|
/**
|
|
207
|
-
* @emits cancel (form值:ObjAny)
|
|
208
258
|
* 关闭事件
|
|
209
259
|
*/
|
|
210
260
|
(e: 'cancel', obj: ObjAny): void;
|
|
211
261
|
/**
|
|
212
|
-
* @emits cancel (buts当前对象:ObjAny, form值, 第几个, Event对象)
|
|
213
262
|
* buts按钮事件
|
|
214
263
|
*/
|
|
215
264
|
(e: 'buts', obj: ObjAny, dataForm: ObjAny, index: number, event: Event): void;
|
|
216
265
|
/**
|
|
217
|
-
* @emits upform (form值)
|
|
218
266
|
* 表单数据变动
|
|
219
267
|
*/
|
|
220
268
|
(e: 'upform', dataForm: ObjAny): void;
|
|
@@ -11,6 +11,10 @@ const dataProps = {
|
|
|
11
11
|
return [];
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
|
+
/**
|
|
15
|
+
* @props { Number } column=1
|
|
16
|
+
* 一行展示多少列
|
|
17
|
+
*/
|
|
14
18
|
column: {
|
|
15
19
|
type: Number,
|
|
16
20
|
default() {
|
|
@@ -43,45 +47,85 @@ const dataProps = {
|
|
|
43
47
|
}
|
|
44
48
|
},
|
|
45
49
|
/**
|
|
46
|
-
* @props { String }
|
|
50
|
+
* @props { String, Number } labelWidth=auto ( )
|
|
47
51
|
* 标签的长度
|
|
48
52
|
*/
|
|
49
53
|
labelWidth: {
|
|
50
54
|
type: [String, Number],
|
|
51
55
|
default: "auto"
|
|
52
56
|
},
|
|
57
|
+
/**
|
|
58
|
+
* @props { String } labelPosition='left' ('left' | 'top' | 'right' | 'center' | 'auto' )
|
|
59
|
+
* 标签的展示位置
|
|
60
|
+
*/
|
|
53
61
|
labelPosition: {
|
|
54
62
|
type: String,
|
|
55
63
|
default: "left"
|
|
56
64
|
},
|
|
65
|
+
/**
|
|
66
|
+
* @props { String } rowWidth
|
|
67
|
+
* 列的宽度
|
|
68
|
+
*/
|
|
57
69
|
rowWidth: {
|
|
58
70
|
type: String
|
|
59
71
|
},
|
|
72
|
+
/**
|
|
73
|
+
* @props { String } rowMinWidth
|
|
74
|
+
* 列的最小宽度
|
|
75
|
+
*/
|
|
60
76
|
rowMinWidth: {
|
|
61
77
|
type: String
|
|
62
78
|
},
|
|
79
|
+
/**
|
|
80
|
+
* @props { String } rowHeight
|
|
81
|
+
* 列的高度
|
|
82
|
+
*/
|
|
63
83
|
rowHeight: {
|
|
64
84
|
type: String
|
|
65
85
|
// default: '42px',
|
|
66
86
|
},
|
|
87
|
+
/**
|
|
88
|
+
* @props { Boolean } inline
|
|
89
|
+
* 是否内连接
|
|
90
|
+
*/
|
|
67
91
|
inline: {
|
|
68
92
|
type: Boolean
|
|
69
93
|
// default: true,
|
|
70
94
|
},
|
|
95
|
+
/**
|
|
96
|
+
* @props { Boolean } inlineBox
|
|
97
|
+
* 是否紧凑型
|
|
98
|
+
*/
|
|
71
99
|
inlineBox: {
|
|
72
100
|
type: Boolean
|
|
73
101
|
},
|
|
102
|
+
/**
|
|
103
|
+
* @props { Boolean } query
|
|
104
|
+
* 是否查询模式
|
|
105
|
+
*/
|
|
74
106
|
query: {
|
|
75
107
|
type: Boolean
|
|
76
108
|
},
|
|
109
|
+
/**
|
|
110
|
+
* @props { String } queryInterval='6px'
|
|
111
|
+
* 查询模式的上下间距
|
|
112
|
+
*/
|
|
77
113
|
queryInterval: {
|
|
78
114
|
type: String,
|
|
79
115
|
default: "6px"
|
|
80
116
|
},
|
|
117
|
+
/**
|
|
118
|
+
* @props { String } inlineRight='32px'
|
|
119
|
+
* 内连接右间距
|
|
120
|
+
*/
|
|
81
121
|
inlineRight: {
|
|
82
122
|
type: String,
|
|
83
123
|
default: "32px"
|
|
84
124
|
},
|
|
125
|
+
/**
|
|
126
|
+
* @props { String } itemBottom='18px'
|
|
127
|
+
* 列下间距
|
|
128
|
+
*/
|
|
85
129
|
itemBottom: {
|
|
86
130
|
type: String,
|
|
87
131
|
default: "18px"
|
|
@@ -94,48 +138,60 @@ const dataProps = {
|
|
|
94
138
|
type: Object
|
|
95
139
|
},
|
|
96
140
|
/**
|
|
97
|
-
* @props {
|
|
141
|
+
* @props { Array<ObjAny> } buts=[]
|
|
98
142
|
* 表单按钮
|
|
99
143
|
* pid: {1, 调用确认提交的方法; 2, 调用取消的方法}
|
|
100
144
|
*/
|
|
101
145
|
buts: {
|
|
102
146
|
type: Array
|
|
103
147
|
},
|
|
148
|
+
/**
|
|
149
|
+
* @props { String } butLeft
|
|
150
|
+
* 表单按钮左间距
|
|
151
|
+
*/
|
|
104
152
|
butLeft: {
|
|
105
153
|
type: String
|
|
106
154
|
},
|
|
155
|
+
/**
|
|
156
|
+
* @props { String } butHeight
|
|
157
|
+
* 表单按钮高度
|
|
158
|
+
*/
|
|
107
159
|
butHeight: {
|
|
108
160
|
type: String
|
|
109
161
|
},
|
|
162
|
+
/**
|
|
163
|
+
* @props { Boolean, String } colon
|
|
164
|
+
* 标签后面是否加内容 true 是 :
|
|
165
|
+
*/
|
|
110
166
|
colon: [Boolean, String]
|
|
111
167
|
};
|
|
112
168
|
const dataEmits = {
|
|
113
169
|
/**
|
|
114
|
-
* @emits update:modelValue (值)
|
|
170
|
+
* @emits update:modelValue (value:[ObjAny]值)
|
|
115
171
|
* v-model 数据更新
|
|
116
172
|
*/
|
|
117
173
|
"update:modelValue": (value) => {
|
|
118
174
|
},
|
|
119
175
|
/**
|
|
120
|
-
* @emits submit (form
|
|
176
|
+
* @emits submit (obj:[ObjAny]form值)
|
|
121
177
|
* 提交事件
|
|
122
178
|
*/
|
|
123
179
|
submit: (obj) => {
|
|
124
180
|
},
|
|
125
181
|
/**
|
|
126
|
-
* @emits cancel (form
|
|
182
|
+
* @emits cancel (obj:[ObjAny]form值)
|
|
127
183
|
* 关闭事件
|
|
128
184
|
*/
|
|
129
185
|
cancel: (obj) => {
|
|
130
186
|
},
|
|
131
187
|
/**
|
|
132
|
-
* @emits cancel (
|
|
188
|
+
* @emits cancel (obj:[ObjAny]当前对象,dataForm: form值, index:第几个, event:Event对象)
|
|
133
189
|
* buts按钮事件
|
|
134
190
|
*/
|
|
135
191
|
buts: (obj, dataForm, index, event) => {
|
|
136
192
|
},
|
|
137
193
|
/**
|
|
138
|
-
* @emits upform (form值)
|
|
194
|
+
* @emits upform (dataForm:[ObjAny]form值)
|
|
139
195
|
* 表单数据变动
|
|
140
196
|
*/
|
|
141
197
|
upform: (dataForm) => {
|
|
@@ -47,12 +47,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
47
47
|
dom: refEl,
|
|
48
48
|
closeForm,
|
|
49
49
|
/**
|
|
50
|
-
* @expose submitForm (
|
|
50
|
+
* @expose submitForm (callback?:[Function]回调方法)
|
|
51
51
|
* 提交表单
|
|
52
52
|
*/
|
|
53
53
|
submitForm,
|
|
54
54
|
/**
|
|
55
|
-
* @expose validateField (
|
|
55
|
+
* @expose validateField (name:<string>字段, callback?:[Function]回调方法)
|
|
56
56
|
* 验证具体的某个字段
|
|
57
57
|
*/
|
|
58
58
|
validateField,
|
|
@@ -62,7 +62,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
62
62
|
*/
|
|
63
63
|
resetFields,
|
|
64
64
|
/**
|
|
65
|
-
* @expose { Promise
|
|
65
|
+
* @expose { [Promise] Promise对象true成功false失败 } validate
|
|
66
66
|
* 校验表单
|
|
67
67
|
*/
|
|
68
68
|
validate
|
|
@@ -45,12 +45,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
45
45
|
dom: refEl,
|
|
46
46
|
closeForm,
|
|
47
47
|
/**
|
|
48
|
-
* @expose submitForm (
|
|
48
|
+
* @expose submitForm (callback?:[Function]回调方法)
|
|
49
49
|
* 提交表单
|
|
50
50
|
*/
|
|
51
51
|
submitForm,
|
|
52
52
|
/**
|
|
53
|
-
* @expose validateField (
|
|
53
|
+
* @expose validateField (name:<string>字段, callback?:[Function]回调方法)
|
|
54
54
|
* 验证具体的某个字段
|
|
55
55
|
*/
|
|
56
56
|
validateField,
|
|
@@ -60,7 +60,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
60
60
|
*/
|
|
61
61
|
resetFields,
|
|
62
62
|
/**
|
|
63
|
-
* @expose { Promise
|
|
63
|
+
* @expose { [Promise] Promise对象true成功false失败 } validate
|
|
64
64
|
* 校验表单
|
|
65
65
|
*/
|
|
66
66
|
validate
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const dataProps = {
|
|
4
4
|
/**
|
|
5
|
-
* @props { Object
|
|
5
|
+
* @props { Object<ObjAny>} options={}
|
|
6
|
+
* 选择数据集合
|
|
6
7
|
*/
|
|
7
8
|
optionss: {
|
|
8
9
|
type: Object,
|
|
@@ -10,22 +11,34 @@ const dataProps = {
|
|
|
10
11
|
return {};
|
|
11
12
|
}
|
|
12
13
|
},
|
|
14
|
+
/**
|
|
15
|
+
* @props { Object<ListObj> } listobj={}
|
|
16
|
+
* 表单列数据对象
|
|
17
|
+
*/
|
|
13
18
|
listobj: {
|
|
14
19
|
type: Object,
|
|
15
20
|
default() {
|
|
16
21
|
return {};
|
|
17
22
|
}
|
|
18
23
|
},
|
|
24
|
+
/**
|
|
25
|
+
* @props { Object } valueobj
|
|
26
|
+
* 表单的数据值
|
|
27
|
+
*/
|
|
19
28
|
valueobj: {
|
|
20
29
|
type: Object
|
|
21
30
|
},
|
|
22
31
|
/**
|
|
23
|
-
* 传入值
|
|
24
32
|
* @props { String } modelValue= ( )
|
|
33
|
+
* 传入值
|
|
25
34
|
*/
|
|
26
35
|
modelValue: {
|
|
27
36
|
type: null
|
|
28
37
|
},
|
|
38
|
+
/**
|
|
39
|
+
* @props { Object<ObjStr> } formvalue= ( )
|
|
40
|
+
* 需要处理的数据对象
|
|
41
|
+
*/
|
|
29
42
|
formvalue: {
|
|
30
43
|
type: Object,
|
|
31
44
|
default() {
|
|
@@ -1,26 +1,39 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
export declare const dataProps: {
|
|
3
3
|
/**
|
|
4
|
-
* @props { Object
|
|
4
|
+
* @props { Object<ObjAny>} options={}
|
|
5
|
+
* 选择数据集合
|
|
5
6
|
*/
|
|
6
7
|
optionss: {
|
|
7
8
|
type: () => ObjAny;
|
|
8
9
|
default(): {};
|
|
9
10
|
};
|
|
11
|
+
/**
|
|
12
|
+
* @props { Object<ListObj> } listobj={}
|
|
13
|
+
* 表单列数据对象
|
|
14
|
+
*/
|
|
10
15
|
listobj: {
|
|
11
16
|
type: () => ListObj;
|
|
12
17
|
default(): {};
|
|
13
18
|
};
|
|
19
|
+
/**
|
|
20
|
+
* @props { Object } valueobj
|
|
21
|
+
* 表单的数据值
|
|
22
|
+
*/
|
|
14
23
|
valueobj: {
|
|
15
24
|
type: ObjectConstructor;
|
|
16
25
|
};
|
|
17
26
|
/**
|
|
18
|
-
* 传入值
|
|
19
27
|
* @props { String } modelValue= ( )
|
|
28
|
+
* 传入值
|
|
20
29
|
*/
|
|
21
30
|
modelValue: {
|
|
22
31
|
type: null;
|
|
23
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* @props { Object<ObjStr> } formvalue= ( )
|
|
35
|
+
* 需要处理的数据对象
|
|
36
|
+
*/
|
|
24
37
|
formvalue: {
|
|
25
38
|
type: () => ObjStr;
|
|
26
39
|
default(): {};
|
|
@@ -40,7 +53,5 @@ export declare const dataSlot: {
|
|
|
40
53
|
default: string;
|
|
41
54
|
};
|
|
42
55
|
/**
|
|
43
|
-
* expose setValue (val:<string>设置的数据 )
|
|
44
|
-
* 设置值
|
|
45
56
|
*/
|
|
46
57
|
export declare const dataExpose: never[];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const dataProps = {
|
|
2
2
|
/**
|
|
3
|
-
* @props { Object
|
|
3
|
+
* @props { Object<ObjAny>} options={}
|
|
4
|
+
* 选择数据集合
|
|
4
5
|
*/
|
|
5
6
|
optionss: {
|
|
6
7
|
type: Object,
|
|
@@ -8,22 +9,34 @@ const dataProps = {
|
|
|
8
9
|
return {};
|
|
9
10
|
}
|
|
10
11
|
},
|
|
12
|
+
/**
|
|
13
|
+
* @props { Object<ListObj> } listobj={}
|
|
14
|
+
* 表单列数据对象
|
|
15
|
+
*/
|
|
11
16
|
listobj: {
|
|
12
17
|
type: Object,
|
|
13
18
|
default() {
|
|
14
19
|
return {};
|
|
15
20
|
}
|
|
16
21
|
},
|
|
22
|
+
/**
|
|
23
|
+
* @props { Object } valueobj
|
|
24
|
+
* 表单的数据值
|
|
25
|
+
*/
|
|
17
26
|
valueobj: {
|
|
18
27
|
type: Object
|
|
19
28
|
},
|
|
20
29
|
/**
|
|
21
|
-
* 传入值
|
|
22
30
|
* @props { String } modelValue= ( )
|
|
31
|
+
* 传入值
|
|
23
32
|
*/
|
|
24
33
|
modelValue: {
|
|
25
34
|
type: null
|
|
26
35
|
},
|
|
36
|
+
/**
|
|
37
|
+
* @props { Object<ObjStr> } formvalue= ( )
|
|
38
|
+
* 需要处理的数据对象
|
|
39
|
+
*/
|
|
27
40
|
formvalue: {
|
|
28
41
|
type: Object,
|
|
29
42
|
default() {
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const dataProps = {
|
|
4
4
|
/**
|
|
5
|
-
* @props { Object
|
|
5
|
+
* @props { Object<ObjAny>} options={}
|
|
6
|
+
* 选择数据集合
|
|
6
7
|
*/
|
|
7
8
|
optionss: {
|
|
8
9
|
type: Object,
|
|
@@ -10,21 +11,41 @@ const dataProps = {
|
|
|
10
11
|
return {};
|
|
11
12
|
}
|
|
12
13
|
},
|
|
14
|
+
/**
|
|
15
|
+
* @props { Object<ListObj> } listobj={}
|
|
16
|
+
* 表单列数据对象
|
|
17
|
+
*/
|
|
13
18
|
listobj: {
|
|
14
19
|
type: Object,
|
|
15
20
|
default() {
|
|
16
21
|
return {};
|
|
17
22
|
}
|
|
18
23
|
},
|
|
24
|
+
/**
|
|
25
|
+
* @props { Object } valueobj
|
|
26
|
+
* 表单列数据对象
|
|
27
|
+
*/
|
|
19
28
|
valueobj: {
|
|
20
29
|
type: Object
|
|
21
30
|
},
|
|
31
|
+
/**
|
|
32
|
+
* @props { String, Number } rowHeight
|
|
33
|
+
* 列的高度
|
|
34
|
+
*/
|
|
22
35
|
rowHeight: {
|
|
23
36
|
type: [String, Number]
|
|
24
37
|
},
|
|
38
|
+
/**
|
|
39
|
+
* @props { String, Number } labelWidth
|
|
40
|
+
* 标签的长度
|
|
41
|
+
*/
|
|
25
42
|
labelWidth: {
|
|
26
43
|
type: [String, Number]
|
|
27
44
|
},
|
|
45
|
+
/**
|
|
46
|
+
* @props { Boolean } hideLabel
|
|
47
|
+
* 是否隐藏标签
|
|
48
|
+
*/
|
|
28
49
|
hideLabel: Boolean,
|
|
29
50
|
/**
|
|
30
51
|
* 传入值
|
|
@@ -1,25 +1,46 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
export declare const dataProps: {
|
|
3
3
|
/**
|
|
4
|
-
* @props { Object
|
|
4
|
+
* @props { Object<ObjAny>} options={}
|
|
5
|
+
* 选择数据集合
|
|
5
6
|
*/
|
|
6
7
|
optionss: {
|
|
7
8
|
type: () => ObjAny;
|
|
8
9
|
default(): {};
|
|
9
10
|
};
|
|
11
|
+
/**
|
|
12
|
+
* @props { Object<ListObj> } listobj={}
|
|
13
|
+
* 表单列数据对象
|
|
14
|
+
*/
|
|
10
15
|
listobj: {
|
|
11
16
|
type: () => ListObj;
|
|
12
17
|
default(): {};
|
|
13
18
|
};
|
|
19
|
+
/**
|
|
20
|
+
* @props { Object } valueobj
|
|
21
|
+
* 表单列数据对象
|
|
22
|
+
*/
|
|
14
23
|
valueobj: {
|
|
15
24
|
type: ObjectConstructor;
|
|
16
25
|
};
|
|
26
|
+
/**
|
|
27
|
+
* @props { String, Number } rowHeight
|
|
28
|
+
* 列的高度
|
|
29
|
+
*/
|
|
17
30
|
rowHeight: {
|
|
18
31
|
type: (StringConstructor | NumberConstructor)[];
|
|
19
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* @props { String, Number } labelWidth
|
|
35
|
+
* 标签的长度
|
|
36
|
+
*/
|
|
20
37
|
labelWidth: {
|
|
21
38
|
type: (StringConstructor | NumberConstructor)[];
|
|
22
39
|
};
|
|
40
|
+
/**
|
|
41
|
+
* @props { Boolean } hideLabel
|
|
42
|
+
* 是否隐藏标签
|
|
43
|
+
*/
|
|
23
44
|
hideLabel: BooleanConstructor;
|
|
24
45
|
/**
|
|
25
46
|
* 传入值
|
|
@@ -31,8 +52,8 @@ export declare const dataProps: {
|
|
|
31
52
|
};
|
|
32
53
|
export type DataProps = ExtractPropTypes<typeof dataProps>;
|
|
33
54
|
/**
|
|
34
|
-
* @emits
|
|
35
|
-
*
|
|
55
|
+
* @emits update:modelValue (val:[String, Array])
|
|
56
|
+
* 数据
|
|
36
57
|
*/
|
|
37
58
|
export declare const dataEmits: string[];
|
|
38
59
|
export type DataEmits = typeof dataEmits;
|
|
@@ -43,7 +64,5 @@ export declare const dataSlot: {
|
|
|
43
64
|
default: string;
|
|
44
65
|
};
|
|
45
66
|
/**
|
|
46
|
-
* expose setValue (val:<string>设置的数据 )
|
|
47
|
-
* 设置值
|
|
48
67
|
*/
|
|
49
68
|
export declare const dataExpose: never[];
|