vxe-pc-ui 4.6.47 → 4.6.49

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.
Files changed (88) hide show
  1. package/README.en.md +0 -6
  2. package/README.ja-JP.md +0 -6
  3. package/README.md +0 -6
  4. package/README.zh-TW.md +0 -6
  5. package/es/dynamics/index.js +4 -4
  6. package/es/form-design/widget-subtable/subtable-view.js +1 -1
  7. package/es/icon/style.css +1 -1
  8. package/es/index.esm.js +0 -6
  9. package/es/list-design/src/layout-preview.js +1 -1
  10. package/es/list-design/src/list-view.js +1 -1
  11. package/es/print/src/util.js +2 -2
  12. package/es/style.css +1 -1
  13. package/es/style.min.css +1 -1
  14. package/es/table-select/src/table-select.js +1 -1
  15. package/es/ui/index.js +1 -1
  16. package/es/ui/src/log.js +1 -1
  17. package/lib/dynamics/index.js +4 -4
  18. package/lib/dynamics/index.min.js +1 -1
  19. package/lib/form-design/widget-subtable/subtable-view.js +1 -1
  20. package/lib/form-design/widget-subtable/subtable-view.min.js +1 -1
  21. package/lib/icon/style/style.css +1 -1
  22. package/lib/icon/style/style.min.css +1 -1
  23. package/lib/index.common.js +0 -6
  24. package/lib/index.umd.js +60 -28
  25. package/lib/index.umd.min.js +1 -1
  26. package/lib/list-design/src/layout-preview.js +1 -1
  27. package/lib/list-design/src/layout-preview.min.js +1 -1
  28. package/lib/list-design/src/list-view.js +1 -1
  29. package/lib/list-design/src/list-view.min.js +1 -1
  30. package/lib/print/src/util.js +1 -1
  31. package/lib/print/src/util.min.js +1 -1
  32. package/lib/style.css +1 -1
  33. package/lib/style.min.css +1 -1
  34. package/lib/table-select/src/table-select.js +1 -1
  35. package/lib/table-select/src/table-select.min.js +1 -1
  36. package/lib/ui/index.js +1 -1
  37. package/lib/ui/index.min.js +1 -1
  38. package/lib/ui/src/log.js +1 -1
  39. package/lib/ui/src/log.min.js +1 -1
  40. package/package.json +2 -2
  41. package/packages/dynamics/index.ts +5 -5
  42. package/packages/form-design/widget-subtable/subtable-view.ts +2 -2
  43. package/packages/index.ts +0 -21
  44. package/packages/list-design/src/layout-preview.ts +2 -2
  45. package/packages/list-design/src/list-view.ts +2 -2
  46. package/packages/print/src/util.ts +2 -2
  47. package/packages/table-select/src/table-select.ts +2 -2
  48. package/types/components/anchor.d.ts +18 -3
  49. package/types/components/calendar.d.ts +3 -0
  50. package/types/components/carousel.d.ts +3 -0
  51. package/types/components/checkbox-button.d.ts +3 -0
  52. package/types/components/checkbox-group.d.ts +3 -0
  53. package/types/components/checkbox.d.ts +3 -0
  54. package/types/components/color-picker.d.ts +9 -3
  55. package/types/components/countdown.d.ts +9 -3
  56. package/types/components/date-panel.d.ts +3 -0
  57. package/types/components/date-picker.d.ts +3 -0
  58. package/types/components/date-range-picker.d.ts +9 -0
  59. package/types/components/drawer.d.ts +3 -0
  60. package/types/components/icon-picker.d.ts +9 -3
  61. package/types/components/input.d.ts +3 -0
  62. package/types/components/menu.d.ts +3 -0
  63. package/types/components/modal.d.ts +3 -0
  64. package/types/components/number-input.d.ts +3 -0
  65. package/types/components/pager.d.ts +6 -0
  66. package/types/components/password-input.d.ts +9 -3
  67. package/types/components/radio-button.d.ts +3 -0
  68. package/types/components/radio-group.d.ts +3 -0
  69. package/types/components/radio.d.ts +3 -0
  70. package/types/components/select.d.ts +3 -0
  71. package/types/components/switch.d.ts +3 -0
  72. package/types/components/table-plugins/extend-cell-area.d.ts +6 -3
  73. package/types/components/tabs.d.ts +3 -0
  74. package/types/components/textarea.d.ts +3 -0
  75. package/types/components/tooltip.d.ts +9 -3
  76. package/types/components/upload.d.ts +3 -0
  77. /package/es/icon/{iconfont.1751618343421.ttf → iconfont.1751948485119.ttf} +0 -0
  78. /package/es/icon/{iconfont.1751618343421.woff → iconfont.1751948485119.woff} +0 -0
  79. /package/es/icon/{iconfont.1751618343421.woff2 → iconfont.1751948485119.woff2} +0 -0
  80. /package/es/{iconfont.1751618343421.ttf → iconfont.1751948485119.ttf} +0 -0
  81. /package/es/{iconfont.1751618343421.woff → iconfont.1751948485119.woff} +0 -0
  82. /package/es/{iconfont.1751618343421.woff2 → iconfont.1751948485119.woff2} +0 -0
  83. /package/lib/icon/style/{iconfont.1751618343421.ttf → iconfont.1751948485119.ttf} +0 -0
  84. /package/lib/icon/style/{iconfont.1751618343421.woff → iconfont.1751948485119.woff} +0 -0
  85. /package/lib/icon/style/{iconfont.1751618343421.woff2 → iconfont.1751948485119.woff2} +0 -0
  86. /package/lib/{iconfont.1751618343421.ttf → iconfont.1751948485119.ttf} +0 -0
  87. /package/lib/{iconfont.1751618343421.woff → iconfont.1751948485119.woff} +0 -0
  88. /package/lib/{iconfont.1751618343421.woff2 → iconfont.1751948485119.woff2} +0 -0
@@ -112,14 +112,17 @@ export namespace VxeMenuDefines {
112
112
  }
113
113
 
114
114
  export type VxeMenuEventProps = {
115
+ 'onUpdate:modelValue'?: VxeMenuEvents.UpdateModelValue
115
116
  onClick?: VxeMenuEvents.Click
116
117
  }
117
118
 
118
119
  export interface VxeMenuListeners {
120
+ 'update:modelValue'?: VxeMenuEvents.UpdateModelValue
119
121
  click?: VxeMenuEvents.Click
120
122
  }
121
123
 
122
124
  export namespace VxeMenuEvents {
125
+ export type UpdateModelValue = (modelValue: VxeMenuPropTypes.ModelValue) => void
123
126
  export type Click = (params: VxeMenuDefines.ClickEventParams) => void
124
127
  }
125
128
 
@@ -346,6 +346,7 @@ export namespace VxeModalDefines {
346
346
  }
347
347
 
348
348
  export type VxeModalEventProps = {
349
+ 'onUpdate:modelValue'?: VxeModalEvents.UpdateModelValue
349
350
  onShow?: VxeModalEvents.Show
350
351
  onHide?: VxeModalEvents.Hide
351
352
  onBeforeHide?: VxeModalEvents.BeforeHide
@@ -358,6 +359,7 @@ export type VxeModalEventProps = {
358
359
  }
359
360
 
360
361
  export interface VxeModalListeners {
362
+ 'update:modelValue'?: VxeModalEvents.UpdateModelValue
361
363
  show?: VxeModalEvents.Show
362
364
  hide?: VxeModalEvents.Hide
363
365
  beforeHide?: VxeModalEvents.BeforeHide
@@ -462,6 +464,7 @@ interface ModalVisibleParams {
462
464
  }
463
465
 
464
466
  export namespace VxeModalEvents {
467
+ export type UpdateModelValue = (modelValue: VxeModalPropTypes.ModelValue) => void
465
468
  export type Show = (params: VxeModalDefines.ShowEventParams) => void
466
469
  export type Hide = (params: VxeModalDefines.HideEventParams) => void
467
470
  export type BeforeHide = (params: VxeModalDefines.BeforeHideEventParams) => void
@@ -255,6 +255,7 @@ export namespace VxeNumberInputDefines {
255
255
  }
256
256
 
257
257
  export type VxeNumberInputEventProps = {
258
+ 'onUpdate:modelValue'?: VxeNumberInputEvents.UpdateModelValue
258
259
  onInput?: VxeNumberInputEvents.Input
259
260
  onChange?: VxeNumberInputEvents.Change
260
261
  onPlusNumber?: VxeNumberInputEvents.PlusNumber
@@ -262,6 +263,7 @@ export type VxeNumberInputEventProps = {
262
263
  }
263
264
 
264
265
  export interface VxeNumberInputListeners {
266
+ 'update:modelValue'?: VxeNumberInputEvents.UpdateModelValue
265
267
  input?: VxeNumberInputEvents.Input
266
268
  change?: VxeNumberInputEvents.Change
267
269
  plusNumber?: VxeNumberInputEvents.PlusNumber
@@ -269,6 +271,7 @@ export interface VxeNumberInputListeners {
269
271
  }
270
272
 
271
273
  export namespace VxeNumberInputEvents {
274
+ export type UpdateModelValue = (modelValue: VxeNumberInputPropTypes.ModelValue) => void
272
275
  export type Input = (params: VxeNumberInputDefines.InputEventParams) => void
273
276
  export type Change = (params: VxeNumberInputDefines.ChangeEventParams) => void
274
277
  export type PlusNumber = (params: VxeNumberInputDefines.PlusNumberEventParams) => void
@@ -190,14 +190,20 @@ export namespace VxePagerDefines {
190
190
  }
191
191
 
192
192
  export type VxePagerEventProps = {
193
+ 'onUpdate:pageSize'?: VxePagerEvents.UpdatePageSizeValue
194
+ 'onUpdate:currentPage'?: VxePagerEvents.UpdateCurrentPageValue
193
195
  onPageChange?: VxePagerEvents.PageChange
194
196
  }
195
197
 
196
198
  export interface VxePagerListeners {
199
+ 'update:pageSize'?: VxePagerEvents.UpdatePageSizeValue
200
+ 'update:currentPage'?: VxePagerEvents.UpdateCurrentPageValue
197
201
  pageChange?: VxePagerEvents.PageChange
198
202
  }
199
203
 
200
204
  export namespace VxePagerEvents {
205
+ export type UpdatePageSizeValue = (modelValue: VxePagerPropTypes.PageSize) => void
206
+ export type UpdateCurrentPageValue = (modelValue: VxePagerPropTypes.CurrentPage) => void
201
207
  export type PageChange = (params: VxePagerDefines.PageChangeEventParams) => void
202
208
  }
203
209
 
@@ -115,11 +115,17 @@ export namespace VxePasswordInputDefines {
115
115
  }
116
116
  }
117
117
 
118
- export type VxePasswordInputEventProps = {}
118
+ export type VxePasswordInputEventProps = {
119
+ 'onUpdate:modelValue'?: VxePasswordInputEvents.UpdateModelValue
120
+ }
119
121
 
120
- export interface VxePasswordInputListeners { }
122
+ export interface VxePasswordInputListeners {
123
+ 'update:modelValue'?: VxePasswordInputEvents.UpdateModelValue
124
+ }
121
125
 
122
- export namespace VxePasswordInputEvents { }
126
+ export namespace VxePasswordInputEvents {
127
+ export type UpdateModelValue = (modelValue: VxePasswordInputPropTypes.ModelValue) => void
128
+ }
123
129
 
124
130
  export namespace VxePasswordInputSlotTypes {
125
131
  export interface DefaultSlotParams {}
@@ -78,14 +78,17 @@ export namespace VxeRadioButtonDefines {
78
78
  }
79
79
 
80
80
  export type VxeRadioButtonEventProps = {
81
+ 'onUpdate:modelValue'?: VxeRadioButtonEvents.UpdateModelValue
81
82
  onChange?: VxeRadioButtonEvents.Change
82
83
  }
83
84
 
84
85
  export interface VxeRadioButtonListeners {
86
+ 'update:modelValue'?: VxeRadioButtonEvents.UpdateModelValue
85
87
  change?: VxeRadioButtonEvents.Change
86
88
  }
87
89
 
88
90
  export namespace VxeRadioButtonEvents {
91
+ export type UpdateModelValue = (modelValue: VxeRadioButtonPropTypes.ModelValue) => void
89
92
  export type Change = (params: VxeRadioButtonDefines.ChangeEventParams) => void
90
93
  }
91
94
 
@@ -91,14 +91,17 @@ export namespace VxeRadioGroupDefines {
91
91
  }
92
92
 
93
93
  export type VxeRadioGroupEventProps = {
94
+ 'onUpdate:modelValue'?: VxeRadioGroupEvents.UpdateModelValue
94
95
  onChange?: VxeRadioGroupEvents.Change
95
96
  }
96
97
 
97
98
  export interface VxeRadioGroupListeners {
99
+ 'update:modelValue'?: VxeRadioGroupEvents.UpdateModelValue
98
100
  change?: VxeRadioGroupEvents.Change
99
101
  }
100
102
 
101
103
  export namespace VxeRadioGroupEvents {
104
+ export type UpdateModelValue = (modelValue: VxeRadioGroupPropTypes.ModelValue) => void
102
105
  export type Change = (params: VxeRadioGroupDefines.ChangeEventParams) => void
103
106
  }
104
107
 
@@ -97,14 +97,17 @@ export namespace VxeRadioDefines {
97
97
  }
98
98
 
99
99
  export type VxeRadioEventProps = {
100
+ 'onUpdate:modelValue'?: VxeRadioEvents.UpdateModelValue
100
101
  onChange?: VxeRadioEvents.Change
101
102
  }
102
103
 
103
104
  export interface VxeRadioListeners {
105
+ 'update:modelValue'?: VxeRadioEvents.UpdateModelValue
104
106
  change?: VxeRadioEvents.Change
105
107
  }
106
108
 
107
109
  export namespace VxeRadioEvents {
110
+ export type UpdateModelValue = (modelValue: VxeRadioPropTypes.ModelValue) => void
108
111
  export type Change = (params: VxeRadioDefines.ChangeEventParams) => void
109
112
  }
110
113
 
@@ -370,6 +370,7 @@ export namespace VxeSelectDefines {
370
370
  }
371
371
 
372
372
  export type VxeSelectEventProps = {
373
+ 'onUpdate:modelValue'?: VxeSelectEvents.UpdateModelValue
373
374
  onChange?: VxeSelectEvents.Change
374
375
  onClear?: VxeSelectEvents.Clear
375
376
  onFocus?: VxeSelectEvents.Focus
@@ -380,6 +381,7 @@ export type VxeSelectEventProps = {
380
381
  }
381
382
 
382
383
  export interface VxeSelectListeners {
384
+ 'update:modelValue'?: VxeSelectEvents.UpdateModelValue
383
385
  change?: VxeSelectEvents.Change
384
386
  clear?: VxeSelectEvents.Clear
385
387
  focus?: VxeSelectEvents.Focus
@@ -390,6 +392,7 @@ export interface VxeSelectListeners {
390
392
  }
391
393
 
392
394
  export namespace VxeSelectEvents {
395
+ export type UpdateModelValue = (modelValue: VxeSelectPropTypes.ModelValue) => void
393
396
  export type Change = (params: VxeSelectDefines.ChangeEventParams) => void
394
397
  export type Clear = (params: VxeSelectDefines.ClearEventParams) => void
395
398
  export type Focus = (params: VxeSelectDefines.FocusEventParams) => void
@@ -101,18 +101,21 @@ export namespace VxeSwitchDefines {
101
101
  }
102
102
 
103
103
  export type VxeSwitchEventProps = {
104
+ 'onUpdate:modelValue'?: VxeSwitchEvents.UpdateModelValue
104
105
  onChange?: VxeSwitchEvents.Change
105
106
  onFocus?: VxeSwitchEvents.Focus
106
107
  onBlur?: VxeSwitchEvents.Blur
107
108
  }
108
109
 
109
110
  export interface VxeSwitchListeners {
111
+ 'update:modelValue'?: VxeSwitchEvents.UpdateModelValue
110
112
  change?: VxeSwitchEvents.Change
111
113
  focus?: VxeSwitchEvents.Focus
112
114
  blur?: VxeSwitchEvents.Blur
113
115
  }
114
116
 
115
117
  export namespace VxeSwitchEvents {
118
+ export type UpdateModelValue = (modelValue: VxeSwitchPropTypes.ModelValue) => void
116
119
  export type Change = (params: VxeSwitchDefines.ChangeEventParams) => void
117
120
  export type Focus = (params: VxeSwitchDefines.FocusEventParams) => void
118
121
  export type Blur = (params: VxeSwitchDefines.BlurEventParams) => void
@@ -173,9 +173,6 @@ declare module '../table' {
173
173
  azIndex?: number
174
174
  fnrActiveModal?: (VxeModalConstructor & VxeModalMethods) | null
175
175
 
176
- cellAreas?: VxeTableExtendCellAreaDefines.MouseCellArea<D>[] | null
177
- activeCellArea?: VxeTableExtendCellAreaDefines.MouseActiveCellArea | null
178
-
179
176
  copyAreaMpas?: {
180
177
  cut: boolean;
181
178
  cellAreas: VxeTableExtendCellAreaDefines.MouseCellArea[];
@@ -183,6 +180,12 @@ declare module '../table' {
183
180
 
184
181
  _msTout?: any
185
182
  _isCAEd?: boolean
183
+
184
+ isDragcellArea?: boolean
185
+ isDragcellExtend?: boolean
186
+
187
+ cellAreas?: VxeTableExtendCellAreaDefines.MouseCellArea<D>[] | null
188
+ activeCellArea?: VxeTableExtendCellAreaDefines.MouseActiveCellArea | null
186
189
  }
187
190
  export interface VxeTableMethods<D = any> extends VxeTableExtendCellAreaMethods<D> { }
188
191
  export interface VxeTablePrivateMethods<D = any> extends VxeTableExtendCellAreaPrivateMethods<D> { }
@@ -250,6 +250,7 @@ export namespace VxeTabsDefines {
250
250
  }
251
251
 
252
252
  export type VxeTabsEventProps = {
253
+ 'onUpdate:modelValue'?: VxeTabsEvents.UpdateModelValue
253
254
  onChange?: VxeTabsEvents.Change
254
255
  onTabChange?: VxeTabsEvents.TabChange
255
256
  onTabChangeFail?: VxeTabsEvents.TabChangeFail
@@ -260,6 +261,7 @@ export type VxeTabsEventProps = {
260
261
  }
261
262
 
262
263
  export interface VxeTabsListeners {
264
+ 'update:modelValue'?: VxeTabsEvents.UpdateModelValue
263
265
  change?: VxeTabsEvents.Change
264
266
  tabChange?: VxeTabsEvents.TabChange
265
267
  tabChangeFail?: VxeTabsEvents.TabChangeFail
@@ -270,6 +272,7 @@ export interface VxeTabsListeners {
270
272
  }
271
273
 
272
274
  export namespace VxeTabsEvents {
275
+ export type UpdateModelValue = (modelValue: VxeTabsPropTypes.ModelValue) => void
273
276
  export type Change = (params: VxeTabsDefines.ChangeEventParams) => void
274
277
  export type TabChange = (params: VxeTabsDefines.TabChangeEventParams) => void
275
278
  export type TabChangeFail = (params: VxeTabsDefines.TabChangeFailEventParams) => void
@@ -184,6 +184,7 @@ export namespace VxeTextareaDefines {
184
184
  }
185
185
 
186
186
  export type VxeTextareaEventProps = {
187
+ 'onUpdate:modelValue'?: VxeTextareaEvents.UpdateModelValue
187
188
  onInput?: VxeTextareaEvents.Input
188
189
  onChange?: VxeTextareaEvents.Change
189
190
  onKeydown?: VxeTextareaEvents.Keydown
@@ -194,6 +195,7 @@ export type VxeTextareaEventProps = {
194
195
  }
195
196
 
196
197
  export interface VxeTextareaListeners {
198
+ 'update:modelValue'?: VxeTextareaEvents.UpdateModelValue
197
199
  input?: VxeTextareaEvents.Input
198
200
  change?: VxeTextareaEvents.Change
199
201
  keydown?: VxeTextareaEvents.Keydown
@@ -204,6 +206,7 @@ export interface VxeTextareaListeners {
204
206
  }
205
207
 
206
208
  export namespace VxeTextareaEvents {
209
+ export type UpdateModelValue = (modelValue: VxeTextareaPropTypes.ModelValue) => void
207
210
  export type Input = (params: VxeTextareaDefines.InputEventParams) => void
208
211
  export type Change = (params: VxeTextareaDefines.ChangeEventParams) => void
209
212
  export type Keydown = (params: VxeTextareaDefines.KeydownEventParams) => void
@@ -131,11 +131,17 @@ export namespace VxeTooltipDefines {
131
131
  }
132
132
  }
133
133
 
134
- export type VxeTooltipEventProps = {}
134
+ export type VxeTooltipEventProps = {
135
+ 'onUpdate:modelValue'?: VxeTooltipEvents.UpdateModelValue
136
+ }
135
137
 
136
- export interface VxeTooltipListeners { }
138
+ export interface VxeTooltipListeners {
139
+ 'update:modelValue'?: VxeTooltipEvents.UpdateModelValue
140
+ }
137
141
 
138
- export namespace VxeTooltipEvents { }
142
+ export namespace VxeTooltipEvents {
143
+ export type UpdateModelValue = (modelValue: VxeTooltipPropTypes.ModelValue) => void
144
+ }
139
145
 
140
146
  export namespace VxeTooltipSlotTypes {
141
147
  export interface DefaultSlotParams {}
@@ -315,6 +315,7 @@ export namespace VxeUploadDefines {
315
315
  }
316
316
 
317
317
  export type VxeUploadEventProps = {
318
+ 'onUpdate:modelValue'?: VxeUploadEvents.UpdateModelValue
318
319
  onAdd?: VxeUploadEvents.Add
319
320
  onRemove?: VxeUploadEvents.Remove
320
321
  onRemoveFail?: VxeUploadEvents.RemoveFail
@@ -325,6 +326,7 @@ export type VxeUploadEventProps = {
325
326
  }
326
327
 
327
328
  export interface VxeUploadListeners {
329
+ 'update:modelValue'?: VxeUploadEvents.UpdateModelValue
328
330
  add?: VxeUploadEvents.Add
329
331
  remove?: VxeUploadEvents.Remove
330
332
  removeFail?: VxeUploadEvents.RemoveFail
@@ -335,6 +337,7 @@ export interface VxeUploadListeners {
335
337
  }
336
338
 
337
339
  export namespace VxeUploadEvents {
340
+ export type UpdateModelValue = (modelValue: VxeUploadPropTypes.ModelValue) => void
338
341
  export type Add = (params: VxeUploadDefines.AddEventParams) => void
339
342
  export type Remove = (params: VxeUploadDefines.RemoveEventParams) => void
340
343
  export type RemoveFail = (params: VxeUploadDefines.RemoveFailEventParams) => void