vxe-pc-ui 3.15.13 → 3.15.14
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/es/button/style.css +11 -0
- package/es/button/style.min.css +1 -1
- package/es/checkbox/src/button.js +3 -1
- package/es/checkbox/src/group.js +6 -1
- package/es/checkbox-button/style.css +155 -9
- package/es/checkbox-button/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/icon-picker/src/icon-picker.js +165 -47
- package/es/icon-picker/style.css +29 -5
- package/es/icon-picker/style.min.css +1 -1
- package/es/language/ar-EG.js +3 -0
- package/es/language/de-DE.js +3 -0
- package/es/language/en-US.js +3 -0
- package/es/language/es-ES.js +3 -0
- package/es/language/fr-FR.js +3 -0
- package/es/language/hu-HU.js +3 -0
- package/es/language/hy-AM.js +3 -0
- package/es/language/id-ID.js +3 -0
- package/es/language/it-IT.js +3 -0
- package/es/language/ja-JP.js +3 -0
- package/es/language/ko-KR.js +3 -0
- package/es/language/ms-MY.js +3 -0
- package/es/language/nb-NO.js +3 -0
- package/es/language/pt-BR.js +3 -0
- package/es/language/ru-RU.js +3 -0
- package/es/language/th-TH.js +3 -0
- package/es/language/ug-CN.js +3 -0
- package/es/language/uk-UA.js +3 -0
- package/es/language/uz-UZ.js +3 -0
- package/es/language/vi-VN.js +3 -0
- package/es/language/zh-CHT.js +3 -0
- package/es/language/zh-CN.js +3 -0
- package/es/list/src/list.js +15 -1
- package/es/radio/src/button.js +3 -1
- package/es/radio/src/group.js +6 -1
- package/es/radio-button/style.css +155 -9
- package/es/radio-button/style.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/tree/src/tree.js +246 -4
- package/es/tree/src/util.js +15 -0
- package/es/ui/index.js +5 -2
- package/es/ui/src/log.js +1 -1
- package/es/vxe-button/style.css +11 -0
- package/es/vxe-button/style.min.css +1 -1
- package/es/vxe-checkbox-button/style.css +155 -9
- package/es/vxe-checkbox-button/style.min.css +1 -1
- package/es/vxe-icon-picker/style.css +29 -5
- package/es/vxe-icon-picker/style.min.css +1 -1
- package/es/vxe-radio-button/style.css +155 -9
- package/es/vxe-radio-button/style.min.css +1 -1
- package/lib/button/style/style.css +11 -0
- package/lib/button/style/style.min.css +1 -1
- package/lib/checkbox/src/button.js +3 -1
- package/lib/checkbox/src/button.min.js +1 -1
- package/lib/checkbox/src/group.js +13 -5
- package/lib/checkbox/src/group.min.js +1 -1
- package/lib/checkbox-button/style/style.css +155 -9
- package/lib/checkbox-button/style/style.min.css +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/icon-picker/src/icon-picker.js +154 -28
- package/lib/icon-picker/src/icon-picker.min.js +1 -1
- package/lib/icon-picker/style/style.css +29 -5
- package/lib/icon-picker/style/style.min.css +1 -1
- package/lib/index.umd.js +506 -43
- package/lib/index.umd.min.js +1 -1
- package/lib/language/ar-EG.js +3 -0
- package/lib/language/ar-EG.min.js +1 -1
- package/lib/language/ar-EG.umd.js +3 -0
- package/lib/language/de-DE.js +3 -0
- package/lib/language/de-DE.min.js +1 -1
- package/lib/language/de-DE.umd.js +3 -0
- package/lib/language/en-US.js +3 -0
- package/lib/language/en-US.min.js +1 -1
- package/lib/language/en-US.umd.js +3 -0
- package/lib/language/es-ES.js +3 -0
- package/lib/language/es-ES.min.js +1 -1
- package/lib/language/es-ES.umd.js +3 -0
- package/lib/language/fr-FR.js +3 -0
- package/lib/language/fr-FR.min.js +1 -1
- package/lib/language/fr-FR.umd.js +3 -0
- package/lib/language/hu-HU.js +3 -0
- package/lib/language/hu-HU.min.js +1 -1
- package/lib/language/hu-HU.umd.js +3 -0
- package/lib/language/hy-AM.js +3 -0
- package/lib/language/hy-AM.min.js +1 -1
- package/lib/language/hy-AM.umd.js +3 -0
- package/lib/language/id-ID.js +3 -0
- package/lib/language/id-ID.min.js +1 -1
- package/lib/language/id-ID.umd.js +3 -0
- package/lib/language/it-IT.js +3 -0
- package/lib/language/it-IT.min.js +1 -1
- package/lib/language/it-IT.umd.js +3 -0
- package/lib/language/ja-JP.js +3 -0
- package/lib/language/ja-JP.min.js +1 -1
- package/lib/language/ja-JP.umd.js +3 -0
- package/lib/language/ko-KR.js +3 -0
- package/lib/language/ko-KR.min.js +1 -1
- package/lib/language/ko-KR.umd.js +3 -0
- package/lib/language/ms-MY.js +3 -0
- package/lib/language/ms-MY.min.js +1 -1
- package/lib/language/ms-MY.umd.js +3 -0
- package/lib/language/nb-NO.js +3 -0
- package/lib/language/nb-NO.min.js +1 -1
- package/lib/language/nb-NO.umd.js +3 -0
- package/lib/language/pt-BR.js +3 -0
- package/lib/language/pt-BR.min.js +1 -1
- package/lib/language/pt-BR.umd.js +3 -0
- package/lib/language/ru-RU.js +3 -0
- package/lib/language/ru-RU.min.js +1 -1
- package/lib/language/ru-RU.umd.js +3 -0
- package/lib/language/th-TH.js +3 -0
- package/lib/language/th-TH.min.js +1 -1
- package/lib/language/th-TH.umd.js +3 -0
- package/lib/language/ug-CN.js +3 -0
- package/lib/language/ug-CN.min.js +1 -1
- package/lib/language/ug-CN.umd.js +3 -0
- package/lib/language/uk-UA.js +3 -0
- package/lib/language/uk-UA.min.js +1 -1
- package/lib/language/uk-UA.umd.js +3 -0
- package/lib/language/uz-UZ.js +3 -0
- package/lib/language/uz-UZ.min.js +1 -1
- package/lib/language/uz-UZ.umd.js +3 -0
- package/lib/language/vi-VN.js +3 -0
- package/lib/language/vi-VN.min.js +1 -1
- package/lib/language/vi-VN.umd.js +3 -0
- package/lib/language/zh-CHT.js +3 -0
- package/lib/language/zh-CHT.min.js +1 -1
- package/lib/language/zh-CHT.umd.js +3 -0
- package/lib/language/zh-CN.js +3 -0
- package/lib/language/zh-CN.min.js +1 -1
- package/lib/language/zh-CN.umd.js +3 -0
- package/lib/list/src/list.js +18 -1
- package/lib/list/src/list.min.js +1 -1
- package/lib/radio/src/button.js +3 -1
- package/lib/radio/src/button.min.js +1 -1
- package/lib/radio/src/group.js +9 -2
- package/lib/radio/src/group.min.js +1 -1
- package/lib/radio-button/style/style.css +155 -9
- package/lib/radio-button/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/tree/src/tree.js +287 -6
- package/lib/tree/src/tree.min.js +1 -1
- package/lib/tree/src/util.js +16 -0
- package/lib/tree/src/util.min.js +1 -1
- package/lib/ui/index.js +5 -2
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/vxe-button/style/style.css +11 -0
- package/lib/vxe-button/style/style.min.css +1 -1
- package/lib/vxe-checkbox-button/style/style.css +155 -9
- package/lib/vxe-checkbox-button/style/style.min.css +1 -1
- package/lib/vxe-icon-picker/style/style.css +29 -5
- package/lib/vxe-icon-picker/style/style.min.css +1 -1
- package/lib/vxe-radio-button/style/style.css +155 -9
- package/lib/vxe-radio-button/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/checkbox/src/button.ts +3 -1
- package/packages/checkbox/src/group.ts +6 -1
- package/packages/icon-picker/src/icon-picker.ts +180 -45
- package/packages/language/ar-EG.ts +3 -0
- package/packages/language/de-DE.ts +3 -0
- package/packages/language/en-US.ts +3 -0
- package/packages/language/es-ES.ts +3 -0
- package/packages/language/fr-FR.ts +3 -0
- package/packages/language/hu-HU.ts +3 -0
- package/packages/language/hy-AM.ts +3 -0
- package/packages/language/id-ID.ts +3 -0
- package/packages/language/it-IT.ts +3 -0
- package/packages/language/ja-JP.ts +3 -0
- package/packages/language/ko-KR.ts +3 -0
- package/packages/language/ms-MY.ts +3 -0
- package/packages/language/nb-NO.ts +3 -0
- package/packages/language/pt-BR.ts +3 -0
- package/packages/language/ru-RU.ts +3 -0
- package/packages/language/th-TH.ts +3 -0
- package/packages/language/ug-CN.ts +3 -0
- package/packages/language/uk-UA.ts +3 -0
- package/packages/language/uz-UZ.ts +3 -0
- package/packages/language/vi-VN.ts +3 -0
- package/packages/language/zh-CHT.ts +3 -0
- package/packages/language/zh-CN.ts +3 -0
- package/packages/list/src/list.ts +15 -1
- package/packages/radio/src/button.ts +3 -1
- package/packages/radio/src/group.ts +6 -1
- package/packages/tree/src/tree.ts +251 -4
- package/packages/tree/src/util.ts +17 -1
- package/packages/ui/index.ts +4 -1
- package/styles/components/button.scss +24 -69
- package/styles/components/checkbox-button.scss +66 -14
- package/styles/components/icon-picker.scss +37 -11
- package/styles/components/radio-button.scss +66 -14
- package/styles/helpers/themeStatus.scss +58 -0
- package/types/all.d.ts +205 -0
- package/types/components/checkbox-group.d.ts +3 -1
- package/types/components/checkbox.d.ts +1 -1
- package/types/components/icon-picker.d.ts +27 -4
- package/types/components/list.d.ts +2 -2
- package/types/components/radio-group.d.ts +3 -1
- package/types/components/tree.d.ts +36 -0
- /package/es/icon/{iconfont.1782658257467.ttf → iconfont.1782742114089.ttf} +0 -0
- /package/es/icon/{iconfont.1782658257467.woff → iconfont.1782742114089.woff} +0 -0
- /package/es/icon/{iconfont.1782658257467.woff2 → iconfont.1782742114089.woff2} +0 -0
- /package/es/{iconfont.1782658257467.ttf → iconfont.1782742114089.ttf} +0 -0
- /package/es/{iconfont.1782658257467.woff → iconfont.1782742114089.woff} +0 -0
- /package/es/{iconfont.1782658257467.woff2 → iconfont.1782742114089.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1782658257467.ttf → iconfont.1782742114089.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1782658257467.woff → iconfont.1782742114089.woff} +0 -0
- /package/lib/icon/style/{iconfont.1782658257467.woff2 → iconfont.1782742114089.woff2} +0 -0
- /package/lib/{iconfont.1782658257467.ttf → iconfont.1782742114089.ttf} +0 -0
- /package/lib/{iconfont.1782658257467.woff → iconfont.1782742114089.woff} +0 -0
- /package/lib/{iconfont.1782658257467.woff2 → iconfont.1782742114089.woff2} +0 -0
package/types/all.d.ts
CHANGED
|
@@ -121,60 +121,217 @@ declare global {
|
|
|
121
121
|
export function install (app: VueConstructor, options?: VxeGlobalConfig): void
|
|
122
122
|
|
|
123
123
|
interface AllComponents {
|
|
124
|
+
/**
|
|
125
|
+
* Alert 警告提示
|
|
126
|
+
*/
|
|
124
127
|
VxeAlert: typeof VxeAlert
|
|
128
|
+
/**
|
|
129
|
+
* Anchor 锚点
|
|
130
|
+
*/
|
|
125
131
|
VxeAnchor: typeof VxeAnchor
|
|
132
|
+
/**
|
|
133
|
+
* AnchorLink 锚点 - 链接
|
|
134
|
+
*/
|
|
126
135
|
VxeAnchorLink: typeof VxeAnchorLink
|
|
136
|
+
/**
|
|
137
|
+
* Avatar 头像
|
|
138
|
+
*/
|
|
127
139
|
VxeAvatar: typeof VxeAvatar
|
|
140
|
+
/**
|
|
141
|
+
* Backtop 回到顶部
|
|
142
|
+
*/
|
|
128
143
|
VxeBacktop: typeof VxeBacktop
|
|
144
|
+
/**
|
|
145
|
+
* Badge 微标
|
|
146
|
+
*/
|
|
129
147
|
VxeBadge: typeof VxeBadge
|
|
148
|
+
/**
|
|
149
|
+
* Breadcrumb 面包屑
|
|
150
|
+
*/
|
|
130
151
|
VxeBreadcrumb: typeof VxeBreadcrumb
|
|
152
|
+
/**
|
|
153
|
+
* BreadcrumbItem 面包屑 - 项
|
|
154
|
+
*/
|
|
131
155
|
VxeBreadcrumbItem: typeof VxeBreadcrumbItem
|
|
156
|
+
/**
|
|
157
|
+
* Button 按钮
|
|
158
|
+
*/
|
|
132
159
|
VxeButton: typeof VxeButton
|
|
160
|
+
/**
|
|
161
|
+
* Button 按钮组
|
|
162
|
+
*/
|
|
133
163
|
VxeButtonGroup: typeof VxeButtonGroup
|
|
164
|
+
/**
|
|
165
|
+
* Calendar 日历
|
|
166
|
+
*/
|
|
134
167
|
VxeCalendar: typeof VxeCalendar
|
|
168
|
+
/**
|
|
169
|
+
* Card 卡片
|
|
170
|
+
*/
|
|
135
171
|
VxeCard: typeof VxeCard
|
|
172
|
+
/**
|
|
173
|
+
* Carousel 轮播图
|
|
174
|
+
*/
|
|
136
175
|
VxeCarousel: typeof VxeCarousel
|
|
176
|
+
/**
|
|
177
|
+
* Carousel 轮播图 - 项
|
|
178
|
+
*/
|
|
137
179
|
VxeCarouselItem: typeof VxeCarouselItem
|
|
180
|
+
/**
|
|
181
|
+
* Cascader 级联选择
|
|
182
|
+
*/
|
|
138
183
|
VxeCascader: typeof VxeCascader
|
|
184
|
+
/**
|
|
185
|
+
* Checkbox 复选框
|
|
186
|
+
*/
|
|
139
187
|
VxeCheckbox: typeof VxeCheckbox
|
|
188
|
+
/**
|
|
189
|
+
* CheckboxButton 复选框按钮
|
|
190
|
+
*/
|
|
140
191
|
VxeCheckboxButton: typeof VxeCheckboxButton
|
|
192
|
+
/**
|
|
193
|
+
* CheckboxGroup 复选框组
|
|
194
|
+
*/
|
|
141
195
|
VxeCheckboxGroup: typeof VxeCheckboxGroup
|
|
196
|
+
/**
|
|
197
|
+
* Col 列
|
|
198
|
+
*/
|
|
142
199
|
VxeCol: typeof VxeCol
|
|
200
|
+
/**
|
|
201
|
+
* Collapse 折叠面板
|
|
202
|
+
*/
|
|
143
203
|
VxeCollapse: typeof VxeCollapse
|
|
204
|
+
/**
|
|
205
|
+
* CollapsePane 折叠面板 - 面板
|
|
206
|
+
*/
|
|
144
207
|
VxeCollapsePane: typeof VxeCollapsePane
|
|
208
|
+
/**
|
|
209
|
+
* ColorPicker 颜色选择
|
|
210
|
+
*/
|
|
145
211
|
VxeColorPicker: typeof VxeColorPicker
|
|
212
|
+
/**
|
|
213
|
+
* ContextMenu 右键菜单
|
|
214
|
+
*/
|
|
146
215
|
VxeContextMenu: typeof VxeContextMenu
|
|
216
|
+
/**
|
|
217
|
+
* Countdown 倒计时
|
|
218
|
+
*/
|
|
147
219
|
VxeCountdown: typeof VxeCountdown
|
|
220
|
+
/**
|
|
221
|
+
* DatePanel 日期面板
|
|
222
|
+
*/
|
|
148
223
|
VxeDatePanel: typeof VxeDatePanel
|
|
224
|
+
/**
|
|
225
|
+
* DatePicker 日期选择
|
|
226
|
+
*/
|
|
149
227
|
VxeDatePicker: typeof VxeDatePicker
|
|
228
|
+
/**
|
|
229
|
+
* DateRangePicker 日期范围选择
|
|
230
|
+
*/
|
|
150
231
|
VxeDateRangePicker: typeof VxeDateRangePicker
|
|
232
|
+
/**
|
|
233
|
+
* Drawer 抽屉
|
|
234
|
+
*/
|
|
151
235
|
VxeDrawer: typeof VxeDrawer
|
|
236
|
+
/**
|
|
237
|
+
* Empty 空状态
|
|
238
|
+
*/
|
|
152
239
|
VxeEmpty: typeof VxeEmpty
|
|
240
|
+
/**
|
|
241
|
+
* Form 表单
|
|
242
|
+
*/
|
|
153
243
|
VxeForm: typeof VxeForm
|
|
244
|
+
/**
|
|
245
|
+
* 已废弃,请使用 FormGroup
|
|
246
|
+
* @deprecated
|
|
247
|
+
*/
|
|
154
248
|
VxeFormGather: typeof VxeFormGather
|
|
249
|
+
/**
|
|
250
|
+
* FormGroup 表单 - 组
|
|
251
|
+
*/
|
|
155
252
|
VxeFormGroup: typeof VxeFormGroup
|
|
253
|
+
/**
|
|
254
|
+
* FormGroup 表单 - 项
|
|
255
|
+
*/
|
|
156
256
|
VxeFormItem: typeof VxeFormItem
|
|
257
|
+
/**
|
|
258
|
+
* Icon 图标
|
|
259
|
+
*/
|
|
157
260
|
VxeIcon: typeof VxeIcon
|
|
261
|
+
/**
|
|
262
|
+
* IconPicker 图标选择
|
|
263
|
+
*/
|
|
158
264
|
VxeIconPicker: typeof VxeIconPicker
|
|
265
|
+
/**
|
|
266
|
+
* Image 图片
|
|
267
|
+
*/
|
|
159
268
|
VxeImage: typeof VxeImage
|
|
269
|
+
/**
|
|
270
|
+
* ImageGroup 图片组
|
|
271
|
+
*/
|
|
160
272
|
VxeImageGroup: typeof VxeImageGroup
|
|
273
|
+
/**
|
|
274
|
+
* ImagePreview 图片预览
|
|
275
|
+
*/
|
|
161
276
|
VxeImagePreview: typeof VxeImagePreview
|
|
277
|
+
/**
|
|
278
|
+
* Input 单行输入框
|
|
279
|
+
*/
|
|
162
280
|
VxeInput: typeof VxeInput
|
|
281
|
+
/**
|
|
282
|
+
* LayoutAside 页面布局 - 侧边栏
|
|
283
|
+
*/
|
|
163
284
|
VxeLayoutAside: typeof VxeLayoutAside
|
|
285
|
+
/**
|
|
286
|
+
* LayoutBody 页面布局 - 主体
|
|
287
|
+
*/
|
|
164
288
|
VxeLayoutBody: typeof VxeLayoutBody
|
|
289
|
+
/**
|
|
290
|
+
* LayoutContainer 页面布局 - 容器
|
|
291
|
+
*/
|
|
165
292
|
VxeLayoutContainer: typeof VxeLayoutContainer
|
|
293
|
+
/**
|
|
294
|
+
* LayoutFooter 页面布局 - 底部
|
|
295
|
+
*/
|
|
166
296
|
VxeLayoutFooter: typeof VxeLayoutFooter
|
|
297
|
+
/**
|
|
298
|
+
* LayoutHeader 页面布局 - 头部
|
|
299
|
+
*/
|
|
167
300
|
VxeLayoutHeader: typeof VxeLayoutHeader
|
|
301
|
+
/**
|
|
302
|
+
* Link 链接
|
|
303
|
+
*/
|
|
168
304
|
VxeLink: typeof VxeLink
|
|
305
|
+
/**
|
|
306
|
+
* List 列表
|
|
307
|
+
*/
|
|
169
308
|
VxeList: typeof VxeList
|
|
309
|
+
/**
|
|
310
|
+
* Loading 加载中
|
|
311
|
+
*/
|
|
170
312
|
VxeLoading: typeof VxeLoading
|
|
171
313
|
VxeMention: typeof VxeMention
|
|
314
|
+
/**
|
|
315
|
+
* Menu 菜单
|
|
316
|
+
*/
|
|
172
317
|
VxeMenu: typeof VxeMenu
|
|
318
|
+
/**
|
|
319
|
+
* Modal 弹窗
|
|
320
|
+
*/
|
|
173
321
|
VxeModal: typeof VxeModal
|
|
322
|
+
/**
|
|
323
|
+
* NoticeBar 通知栏
|
|
324
|
+
*/
|
|
174
325
|
VxeNoticeBar: typeof VxeNoticeBar
|
|
326
|
+
/**
|
|
327
|
+
* NumberInput 数值输入
|
|
328
|
+
*/
|
|
175
329
|
VxeNumberInput: typeof VxeNumberInput
|
|
176
330
|
VxeOptgroup: typeof VxeOptgroup
|
|
177
331
|
VxeOption: typeof VxeOption
|
|
332
|
+
/**
|
|
333
|
+
* Pager 分页
|
|
334
|
+
*/
|
|
178
335
|
VxePager: typeof VxePager
|
|
179
336
|
VxePasswordInput: typeof VxePasswordInput
|
|
180
337
|
VxePrintPageBreak: typeof VxePrintPageBreak
|
|
@@ -208,28 +365,76 @@ interface AllComponents {
|
|
|
208
365
|
VxeTip: typeof VxeTip
|
|
209
366
|
VxeTooltip: typeof VxeTooltip
|
|
210
367
|
VxeTour: typeof VxeTour
|
|
368
|
+
/**
|
|
369
|
+
* Tree 树
|
|
370
|
+
*/
|
|
211
371
|
VxeTree: typeof VxeTree
|
|
372
|
+
/**
|
|
373
|
+
* TreeSelect 下拉树选择
|
|
374
|
+
*/
|
|
212
375
|
VxeTreeSelect: typeof VxeTreeSelect
|
|
213
376
|
VxeTransfer: typeof VxeTransfer
|
|
377
|
+
/**
|
|
378
|
+
* Upload 上传
|
|
379
|
+
*/
|
|
214
380
|
VxeUpload: typeof VxeUpload
|
|
381
|
+
/**
|
|
382
|
+
* Watermark 水印
|
|
383
|
+
*/
|
|
215
384
|
VxeWatermark: typeof VxeWatermark
|
|
216
385
|
|
|
217
386
|
// Vxe Table
|
|
387
|
+
/**
|
|
388
|
+
* Column 基础表格 - 列
|
|
389
|
+
*/
|
|
218
390
|
VxeColumn: typeof VxeColumn
|
|
391
|
+
/**
|
|
392
|
+
* Colgroup 基础表格 - 分组列
|
|
393
|
+
*/
|
|
219
394
|
VxeColgroup: typeof VxeColgroup
|
|
395
|
+
/**
|
|
396
|
+
* Table 基础表格
|
|
397
|
+
*/
|
|
220
398
|
VxeTable: typeof VxeTable
|
|
399
|
+
/**
|
|
400
|
+
* Grid 高级表格
|
|
401
|
+
*/
|
|
221
402
|
VxeGrid: typeof VxeGrid
|
|
403
|
+
/**
|
|
404
|
+
* Toolbar 基础表格 - 工具栏
|
|
405
|
+
*/
|
|
222
406
|
VxeToolbar: typeof VxeToolbar
|
|
223
407
|
|
|
224
408
|
// Vxe Design
|
|
409
|
+
/**
|
|
410
|
+
* FlowDesign 流程设计器
|
|
411
|
+
*/
|
|
225
412
|
VxeFlowDesign: typeof VxeFlowDesign
|
|
413
|
+
/**
|
|
414
|
+
* FlowView 流程设计器 - 视图
|
|
415
|
+
*/
|
|
226
416
|
VxeFlowView: typeof VxeFlowView
|
|
417
|
+
/**
|
|
418
|
+
* FormDesign 表单设计器
|
|
419
|
+
*/
|
|
227
420
|
VxeFormDesign: typeof VxeFormDesign
|
|
421
|
+
/**
|
|
422
|
+
* FormView 表单设计器 - 视图
|
|
423
|
+
*/
|
|
228
424
|
VxeFormView: typeof VxeFormView
|
|
425
|
+
/**
|
|
426
|
+
* ListDesign 列表设计器
|
|
427
|
+
*/
|
|
229
428
|
VxeListDesign: typeof VxeListDesign
|
|
429
|
+
/**
|
|
430
|
+
* ListView 列表设计器 - 视图
|
|
431
|
+
*/
|
|
230
432
|
VxeListView: typeof VxeListView
|
|
231
433
|
|
|
232
434
|
// VxeGantt
|
|
435
|
+
/**
|
|
436
|
+
* Gantt 甘特图
|
|
437
|
+
*/
|
|
233
438
|
VxeGantt: typeof VxeGantt
|
|
234
439
|
}
|
|
235
440
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, VxeComponentSizeType, ValueOf } from '@vxe-ui/core'
|
|
1
|
+
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, VxeComponentSizeType, ValueOf, VxeComponentStatusType } from '@vxe-ui/core'
|
|
2
2
|
import { VxeCheckboxPropTypes } from './checkbox'
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-empty-interface,no-use-before-define,@typescript-eslint/ban-types */
|
|
@@ -30,6 +30,7 @@ export namespace VxeCheckboxGroupPropTypes {
|
|
|
30
30
|
label?: string
|
|
31
31
|
disabled?: string
|
|
32
32
|
}
|
|
33
|
+
export type Status = VxeComponentStatusType
|
|
33
34
|
export type Max = string | number
|
|
34
35
|
export type Disabled = boolean
|
|
35
36
|
export type Readonly = boolean
|
|
@@ -50,6 +51,7 @@ export interface VxeCheckboxGroupProps {
|
|
|
50
51
|
*/
|
|
51
52
|
value?: VxeCheckboxGroupPropTypes.ModelValue
|
|
52
53
|
max?: VxeCheckboxGroupPropTypes.Max
|
|
54
|
+
status?: VxeCheckboxGroupPropTypes.Status
|
|
53
55
|
/**
|
|
54
56
|
* 是否禁用
|
|
55
57
|
*/
|
|
@@ -17,7 +17,7 @@ export interface VxeCheckboxPrivateRef extends CheckboxPrivateRef { }
|
|
|
17
17
|
|
|
18
18
|
export namespace VxeCheckboxPropTypes {
|
|
19
19
|
export type Size = VxeComponentSizeType
|
|
20
|
-
export type ModelValue = string | number | boolean
|
|
20
|
+
export type ModelValue = string | number | boolean | null
|
|
21
21
|
export type Label = string | number
|
|
22
22
|
export type Indeterminate = boolean
|
|
23
23
|
export type Title = string | number
|
|
@@ -27,13 +27,23 @@ export namespace VxeIconPickerPropTypes {
|
|
|
27
27
|
export type PopupClassName = string | ((params: {$iconPicker: VxeIconPickerConstructor }) => string)
|
|
28
28
|
export type Readonly = boolean
|
|
29
29
|
export type Disabled = boolean
|
|
30
|
-
export type
|
|
30
|
+
export type Option = {
|
|
31
31
|
title?: string | number
|
|
32
32
|
icon: string
|
|
33
33
|
iconRender?: VxeIconPickerDefines.OptionIconRender
|
|
34
|
-
}
|
|
34
|
+
}
|
|
35
|
+
export type Icons = string[] | Option[]
|
|
35
36
|
export type Clearable = boolean
|
|
36
37
|
export type ShowIconTitle = boolean
|
|
38
|
+
export type Filterable = boolean
|
|
39
|
+
export interface FilterConfig {
|
|
40
|
+
filterMethod?:(params: {
|
|
41
|
+
$iconPicker: VxeIconPickerConstructor
|
|
42
|
+
option: VxeIconPickerDefines.IconItemObj
|
|
43
|
+
searchValue: string
|
|
44
|
+
value: ModelValue | undefined
|
|
45
|
+
}) => boolean
|
|
46
|
+
}
|
|
37
47
|
export type Placement = 'top' | 'bottom' | '' | null
|
|
38
48
|
export interface PopupConfig {
|
|
39
49
|
/**
|
|
@@ -49,8 +59,16 @@ export namespace VxeIconPickerPropTypes {
|
|
|
49
59
|
*/
|
|
50
60
|
trigger?: 'default' | 'icon' | 'manual' | '' | null
|
|
51
61
|
transfer?: boolean
|
|
62
|
+
/**
|
|
63
|
+
* 分块显示多少个图标
|
|
64
|
+
*/
|
|
65
|
+
chunkSize?: number
|
|
66
|
+
/**
|
|
67
|
+
* 图标展示方式,支持分块和列表
|
|
68
|
+
*/
|
|
52
69
|
width?: number | string
|
|
53
70
|
height?: number | string
|
|
71
|
+
maxHeight?: number | string
|
|
54
72
|
zIndex?: number | string
|
|
55
73
|
className?: string | ((params: { $iconPicker: VxeIconPickerConstructor }) => string)
|
|
56
74
|
}
|
|
@@ -75,6 +93,8 @@ export interface VxeIconPickerProps {
|
|
|
75
93
|
icons?: VxeIconPickerPropTypes.Icons
|
|
76
94
|
clearable?: VxeIconPickerPropTypes.Clearable
|
|
77
95
|
showIconTitle?: VxeIconPickerPropTypes.ShowIconTitle
|
|
96
|
+
filterable?: VxeIconPickerPropTypes.Filterable
|
|
97
|
+
filterConfig?: VxeIconPickerPropTypes.FilterConfig
|
|
78
98
|
placement?: VxeIconPickerPropTypes.Placement
|
|
79
99
|
popupConfig?: VxeIconPickerPropTypes.PopupConfig
|
|
80
100
|
transfer?: VxeIconPickerPropTypes.Transfer
|
|
@@ -93,10 +113,13 @@ export interface IconPickerReactData {
|
|
|
93
113
|
visiblePanel: boolean
|
|
94
114
|
isAniVisible: boolean
|
|
95
115
|
isActivated: boolean
|
|
116
|
+
searchValue: string
|
|
117
|
+
iconGroups: VxeIconPickerDefines.IconItemObj[][]
|
|
96
118
|
}
|
|
97
119
|
|
|
98
120
|
export interface IconPickerInternalData {
|
|
99
121
|
hpTimeout?: undefined | number
|
|
122
|
+
fullList: VxeIconPickerDefines.IconItemObj[]
|
|
100
123
|
}
|
|
101
124
|
|
|
102
125
|
export interface IconPickerMethods {
|
|
@@ -161,8 +184,8 @@ export namespace VxeIconPickerDefines {
|
|
|
161
184
|
}
|
|
162
185
|
|
|
163
186
|
export interface IconItemObj {
|
|
164
|
-
title
|
|
165
|
-
icon
|
|
187
|
+
title: string
|
|
188
|
+
icon: string
|
|
166
189
|
iconRender?: OptionIconRender
|
|
167
190
|
}
|
|
168
191
|
}
|
|
@@ -397,11 +397,11 @@ export interface ListMethods<D = any> {
|
|
|
397
397
|
*/
|
|
398
398
|
clearRadioRow(): Promise<void>
|
|
399
399
|
/**
|
|
400
|
-
* 只对 show-checkbox
|
|
400
|
+
* 只对 show-checkbox 有效,设置复选框选中的行
|
|
401
401
|
*/
|
|
402
402
|
setCheckboxRow(rows: D | D[], checked: boolean): Promise<void>
|
|
403
403
|
/**
|
|
404
|
-
* 只对 show-checkbox
|
|
404
|
+
* 只对 show-checkbox 有效,根据主键设置复选框
|
|
405
405
|
*/
|
|
406
406
|
setCheckboxRowByKey(rowKeys: string | number | null | undefined | (string | number | null | undefined)[], checked: boolean): Promise<void>
|
|
407
407
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, VxeComponentSizeType, ValueOf } from '@vxe-ui/core'
|
|
1
|
+
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, VxeComponentSizeType, ValueOf, VxeComponentStatusType } from '@vxe-ui/core'
|
|
2
2
|
import { VxeRadioPropTypes } from './radio'
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-empty-interface,no-use-before-define,@typescript-eslint/ban-types */
|
|
@@ -32,6 +32,7 @@ export namespace VxeRadioGroupPropTypes {
|
|
|
32
32
|
disabled?: string
|
|
33
33
|
}
|
|
34
34
|
export type ModelValue = any
|
|
35
|
+
export type Status = VxeComponentStatusType
|
|
35
36
|
export type Strict = boolean
|
|
36
37
|
export type Disabled = boolean
|
|
37
38
|
export type Readonly = boolean
|
|
@@ -48,6 +49,7 @@ export interface VxeRadioGroupProps {
|
|
|
48
49
|
type?: VxeRadioGroupPropTypes.Type
|
|
49
50
|
options?: VxeRadioGroupPropTypes.Options
|
|
50
51
|
optionProps?: VxeRadioGroupPropTypes.OptionProps
|
|
52
|
+
status?: VxeRadioGroupPropTypes.Status
|
|
51
53
|
/**
|
|
52
54
|
* 严格模式,不允许取消
|
|
53
55
|
*/
|
|
@@ -370,6 +370,9 @@ export interface TreeReactData {
|
|
|
370
370
|
updateExpandedFlag: number
|
|
371
371
|
updateCheckboxFlag: number
|
|
372
372
|
|
|
373
|
+
insertRowFlag: number
|
|
374
|
+
removeRowFlag: number
|
|
375
|
+
|
|
373
376
|
dragNode: any
|
|
374
377
|
dragTipText: string
|
|
375
378
|
}
|
|
@@ -398,6 +401,9 @@ export interface TreeInternalData {
|
|
|
398
401
|
lastScrollTime: number
|
|
399
402
|
hpTimeout?: undefined | number
|
|
400
403
|
|
|
404
|
+
insertRowMaps: Record<string, any>
|
|
405
|
+
removeRowMaps: Record<string, any>
|
|
406
|
+
|
|
401
407
|
prevDragNode?: any
|
|
402
408
|
prevDragToChild?: boolean
|
|
403
409
|
prevDragPos?: 'top' | 'bottom' | ''
|
|
@@ -596,6 +602,34 @@ export interface TreeMethods<D = any> {
|
|
|
596
602
|
* 手动清除滚动相关信息,还原到初始状态
|
|
597
603
|
*/
|
|
598
604
|
clearScroll(): Promise<void>
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* 往表格插入临时数据,从第一个节点新增一个节点或多个节点新数据
|
|
608
|
+
*/
|
|
609
|
+
insert(records: any): Promise<{ node: D, nodes: D[] }>
|
|
610
|
+
/**
|
|
611
|
+
* 用于 transform 模式,往表格指定节点中插入临时数据
|
|
612
|
+
* 如果 node 为空则从插入到顶部,如果为树结构,则插入到目标节点顶部
|
|
613
|
+
* 如果 node 为 -1 则从插入到底部,如果为树结构,则插入到目标节点底部
|
|
614
|
+
* 如果 node 为有效节点则插入到该节点的位置,如果为树结构,则有插入到效的目标节点该节点的位置
|
|
615
|
+
*/
|
|
616
|
+
insertAt(records: any, targetNodeOrNodeid?: any | -1 | null): Promise<{ node: D, nodes: D[] }>
|
|
617
|
+
/**
|
|
618
|
+
* 用于 transform 模式,与 insertAt 节点为一致,区别就是会插入指定目标的到下一节点
|
|
619
|
+
*/
|
|
620
|
+
insertNextAt(records: any, targetNodeOrNodeid?: any | -1 | null): Promise<{ node: D, nodes: D[] }>
|
|
621
|
+
/**
|
|
622
|
+
* 用于 transform 模式,删除指定节点数据,指定 node 或 [node, ...] 删除多条数据,如果为空则删除所有数据
|
|
623
|
+
*/
|
|
624
|
+
remove(nodes?: any | any[]): Promise<{ node: D, nodes: D[] }>
|
|
625
|
+
/**
|
|
626
|
+
* 用于 transform 模式,获取新增的临时数据
|
|
627
|
+
*/
|
|
628
|
+
getInsertRecords(): D[]
|
|
629
|
+
/**
|
|
630
|
+
* 用于 transform 模式,获取已删除的数据
|
|
631
|
+
*/
|
|
632
|
+
getRemoveRecords(): D[]
|
|
599
633
|
}
|
|
600
634
|
export interface VxeTreeMethods<D = any> extends TreeMethods<D> { }
|
|
601
635
|
|
|
@@ -666,6 +700,8 @@ export type VxeTreeEmits = [
|
|
|
666
700
|
'node-dragstart',
|
|
667
701
|
'node-dragover',
|
|
668
702
|
'node-dragend',
|
|
703
|
+
'node-remove-dragend',
|
|
704
|
+
'node-insert-dragend',
|
|
669
705
|
'node-expand',
|
|
670
706
|
'node-menu',
|
|
671
707
|
'menu-click'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|