vxe-pc-ui 4.4.26 → 4.5.1
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/col/style.css +0 -105
- package/es/col/style.min.css +0 -1
- package/es/components.js +6 -0
- package/es/icon/style.css +1 -1
- package/es/modal/src/modal.js +2 -4
- package/es/row/style.css +106 -0
- package/es/row/style.min.css +1 -1
- package/es/split/index.js +12 -0
- package/es/split/src/split-item.js +93 -0
- package/es/split/src/split.js +302 -0
- package/es/split/src/util.js +17 -0
- package/es/split/style.css +91 -0
- package/es/split/style.min.css +1 -0
- package/es/split-item/index.js +12 -0
- package/es/split-item/style.css +0 -0
- package/es/split-item/style.min.css +0 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +8 -1
- package/es/ui/src/log.js +1 -1
- package/es/ui/src/utils.js +6 -0
- package/es/vxe-col/style.css +0 -105
- package/es/vxe-col/style.min.css +0 -1
- package/es/vxe-row/style.css +106 -0
- package/es/vxe-row/style.min.css +1 -1
- package/es/vxe-split/index.js +3 -0
- package/es/vxe-split/style.css +91 -0
- package/es/vxe-split/style.min.css +1 -0
- package/es/vxe-split-item/index.js +3 -0
- package/es/vxe-split-item/style.css +0 -0
- package/es/vxe-split-item/style.min.css +0 -0
- package/lib/col/style/style.css +0 -105
- package/lib/col/style/style.min.css +0 -1
- package/lib/components.js +25 -1
- package/lib/components.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +491 -7
- package/lib/index.umd.min.js +1 -1
- package/lib/modal/src/modal.js +2 -4
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/row/style/style.css +106 -0
- package/lib/row/style/style.min.css +1 -1
- package/lib/split/index.js +19 -0
- package/lib/split/index.min.js +1 -0
- package/lib/split/src/split-item.js +105 -0
- package/lib/split/src/split-item.min.js +1 -0
- package/lib/split/src/split.js +323 -0
- package/lib/split/src/split.min.js +1 -0
- package/lib/split/src/util.js +25 -0
- package/lib/split/src/util.min.js +1 -0
- package/lib/split/style/index.js +1 -0
- package/lib/split/style/style.css +91 -0
- package/lib/split/style/style.min.css +1 -0
- package/lib/split-item/index.js +19 -0
- package/lib/split-item/index.min.js +1 -0
- package/lib/split-item/style/index.js +1 -0
- package/lib/split-item/style/style.css +0 -0
- package/lib/split-item/style/style.min.css +0 -0
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +8 -1
- 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/ui/src/utils.js +7 -0
- package/lib/ui/src/utils.min.js +1 -1
- package/lib/vxe-col/style/style.css +0 -105
- package/lib/vxe-col/style/style.min.css +0 -1
- package/lib/vxe-row/style/style.css +106 -0
- package/lib/vxe-row/style/style.min.css +1 -1
- package/lib/vxe-split/index.js +22 -0
- package/lib/vxe-split/index.min.js +1 -0
- package/lib/vxe-split/style/index.js +1 -0
- package/lib/vxe-split/style/style.css +91 -0
- package/lib/vxe-split/style/style.min.css +1 -0
- package/lib/vxe-split-item/index.js +22 -0
- package/lib/vxe-split-item/index.min.js +1 -0
- package/lib/vxe-split-item/style/index.js +1 -0
- package/lib/vxe-split-item/style/style.css +0 -0
- package/lib/vxe-split-item/style/style.min.css +0 -0
- package/package.json +2 -2
- package/packages/components.ts +6 -0
- package/packages/modal/src/modal.ts +2 -4
- package/packages/row/src/col.ts +5 -5
- package/packages/split/index.ts +16 -0
- package/packages/split/src/split-item.ts +125 -0
- package/packages/split/src/split.ts +325 -0
- package/packages/split/src/util.ts +21 -0
- package/packages/split-item/index.ts +16 -0
- package/packages/ui/index.ts +7 -0
- package/packages/ui/src/utils.ts +7 -0
- package/styles/all.scss +2 -0
- package/styles/components/col.scss +0 -61
- package/styles/components/row.scss +59 -0
- package/styles/components/split-item.scss +0 -0
- package/styles/components/split.scss +106 -0
- package/styles/helpers/baseVar.scss +4 -0
- package/styles/theme/base.scss +5 -1
- package/styles/theme/dark.scss +3 -0
- package/styles/theme/light.scss +3 -0
- package/styles/variable.scss +4 -0
- package/types/all.d.ts +6 -0
- package/types/components/col.d.ts +11 -1
- package/types/components/split-item.d.ts +89 -0
- package/types/components/split.d.ts +100 -0
- package/types/components/table-plugins/extend-cell-area.d.ts +54 -0
- package/types/components/table.d.ts +131 -11
- package/types/ui/global-config.d.ts +4 -0
- /package/es/icon/{iconfont.1742955913094.ttf → iconfont.1743051559265.ttf} +0 -0
- /package/es/icon/{iconfont.1742955913094.woff → iconfont.1743051559265.woff} +0 -0
- /package/es/icon/{iconfont.1742955913094.woff2 → iconfont.1743051559265.woff2} +0 -0
- /package/es/{iconfont.1742955913094.ttf → iconfont.1743051559265.ttf} +0 -0
- /package/es/{iconfont.1742955913094.woff → iconfont.1743051559265.woff} +0 -0
- /package/es/{iconfont.1742955913094.woff2 → iconfont.1743051559265.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1742955913094.ttf → iconfont.1743051559265.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1742955913094.woff → iconfont.1743051559265.woff} +0 -0
- /package/lib/icon/style/{iconfont.1742955913094.woff2 → iconfont.1743051559265.woff2} +0 -0
- /package/lib/{iconfont.1742955913094.ttf → iconfont.1743051559265.ttf} +0 -0
- /package/lib/{iconfont.1742955913094.woff → iconfont.1743051559265.woff} +0 -0
- /package/lib/{iconfont.1742955913094.woff2 → iconfont.1743051559265.woff2} +0 -0
|
@@ -2924,8 +2924,8 @@ export interface TablePrivateComputed<D = any> {
|
|
|
2924
2924
|
computeSize: ComputedRef<VxeTablePropTypes.Size>
|
|
2925
2925
|
computeTableId: ComputedRef<string>
|
|
2926
2926
|
computeValidOpts: ComputedRef<VxeTablePropTypes.ValidOpts<D>>
|
|
2927
|
-
computeVirtualXOpts: ComputedRef<VxeTablePropTypes.VirtualXConfig>
|
|
2928
|
-
computeVirtualYOpts: ComputedRef<VxeTablePropTypes.VirtualYConfig>
|
|
2927
|
+
computeVirtualXOpts: ComputedRef<VxeTablePropTypes.VirtualXConfig & { gt: number }>
|
|
2928
|
+
computeVirtualYOpts: ComputedRef<VxeTablePropTypes.VirtualYConfig & { gt: number }>
|
|
2929
2929
|
computeScrollbarOpts: ComputedRef<VxeTablePropTypes.ScrollbarConfig>
|
|
2930
2930
|
computeScrollbarXToTop: ComputedRef<boolean>
|
|
2931
2931
|
computeScrollbarYToLeft: ComputedRef<boolean>
|
|
@@ -2988,11 +2988,11 @@ export interface TablePrivateComputed<D = any> {
|
|
|
2988
2988
|
/**
|
|
2989
2989
|
* @deprecated
|
|
2990
2990
|
*/
|
|
2991
|
-
computeSXOpts: ComputedRef<VxeTablePropTypes.
|
|
2991
|
+
computeSXOpts: ComputedRef<VxeTablePropTypes.VirtualXConfig & { gt: number }>
|
|
2992
2992
|
/**
|
|
2993
2993
|
* @deprecated
|
|
2994
2994
|
*/
|
|
2995
|
-
computeSYOpts: ComputedRef<VxeTablePropTypes.
|
|
2995
|
+
computeSYOpts: ComputedRef<VxeTablePropTypes.VirtualYConfig & { gt: number }>
|
|
2996
2996
|
}
|
|
2997
2997
|
export interface VxeTablePrivateComputed extends TablePrivateComputed { }
|
|
2998
2998
|
|
|
@@ -3134,12 +3134,6 @@ export interface TableReactData<D = any> {
|
|
|
3134
3134
|
column: any
|
|
3135
3135
|
[key: string]: any
|
|
3136
3136
|
}
|
|
3137
|
-
insertMaps: {
|
|
3138
|
-
[key: string]: any
|
|
3139
|
-
}
|
|
3140
|
-
removeMaps: {
|
|
3141
|
-
[key: string]: any
|
|
3142
|
-
}
|
|
3143
3137
|
}
|
|
3144
3138
|
// 存放 tooltip 相关信息
|
|
3145
3139
|
tooltipStore: {
|
|
@@ -3219,6 +3213,8 @@ export interface TableReactData<D = any> {
|
|
|
3219
3213
|
treeExpandedFlag: number
|
|
3220
3214
|
updateCheckboxFlag: number
|
|
3221
3215
|
pendingRowFlag: number
|
|
3216
|
+
insertRowFlag: number
|
|
3217
|
+
removeRowFlag: number
|
|
3222
3218
|
|
|
3223
3219
|
scrollVMLoading: boolean
|
|
3224
3220
|
scrollYHeight: number
|
|
@@ -3336,6 +3332,10 @@ export interface TableInternalData<D = any> {
|
|
|
3336
3332
|
selectCheckboxMaps: Record<string, D>
|
|
3337
3333
|
// 已标记的对象集
|
|
3338
3334
|
pendingRowMaps: Record<string, D | null>
|
|
3335
|
+
// 已新增的临时行
|
|
3336
|
+
insertRowMaps: Record<string, D | null>
|
|
3337
|
+
// 已删除行
|
|
3338
|
+
removeRowMaps: Record<string, D | null>
|
|
3339
3339
|
|
|
3340
3340
|
// 上一个拖动的行
|
|
3341
3341
|
prevDragRow?: any
|
|
@@ -4288,57 +4288,177 @@ export interface TablePrivateMethods<D = any> {
|
|
|
4288
4288
|
* @deprecated
|
|
4289
4289
|
*/
|
|
4290
4290
|
handleSelectRow(params: any, value: any, isForce?: boolean): void
|
|
4291
|
+
/**
|
|
4292
|
+
* @private
|
|
4293
|
+
*/
|
|
4291
4294
|
handleCustom(): Promise<void>
|
|
4295
|
+
/**
|
|
4296
|
+
* @private
|
|
4297
|
+
*/
|
|
4292
4298
|
handleUpdateDataQueue(): void
|
|
4299
|
+
/**
|
|
4300
|
+
* @private
|
|
4301
|
+
*/
|
|
4293
4302
|
handleRefreshColumnQueue(): void
|
|
4303
|
+
/**
|
|
4304
|
+
* @private
|
|
4305
|
+
*/
|
|
4294
4306
|
preventEvent(evnt: any, type: any, args?: any, next?: any, end?: any): any
|
|
4307
|
+
/**
|
|
4308
|
+
* @private
|
|
4309
|
+
*/
|
|
4295
4310
|
triggerHeaderTitleEvent(evnt: MouseEvent, iconParams: VxeColumnPropTypes.TitlePrefix | VxeColumnPropTypes.TitleSuffix, params: VxeTableDefines.CellRenderHeaderParams<any>): void
|
|
4311
|
+
/**
|
|
4312
|
+
* @private
|
|
4313
|
+
*/
|
|
4296
4314
|
triggerHeaderTooltipEvent(evnt: MouseEvent, params: VxeTableDefines.CellRenderHeaderParams<any>): void
|
|
4315
|
+
/**
|
|
4316
|
+
* @private
|
|
4317
|
+
*/
|
|
4297
4318
|
triggerBodyTooltipEvent(evnt: MouseEvent, params: VxeTableDefines.CellRenderBodyParams<any>): void
|
|
4319
|
+
/**
|
|
4320
|
+
* @private
|
|
4321
|
+
*/
|
|
4298
4322
|
triggerFooterTooltipEvent(evnt: MouseEvent, params: VxeTableDefines.CellRenderFooterParams<any>): void
|
|
4323
|
+
/**
|
|
4324
|
+
* @private
|
|
4325
|
+
*/
|
|
4299
4326
|
handleTargetLeaveEvent(evnt: MouseEvent): void
|
|
4327
|
+
/**
|
|
4328
|
+
* @private
|
|
4329
|
+
*/
|
|
4300
4330
|
triggerHeaderCellClickEvent(evnt: MouseEvent, params: VxeTableDefines.CellRenderHeaderParams<any>): void
|
|
4331
|
+
/**
|
|
4332
|
+
* @private
|
|
4333
|
+
*/
|
|
4301
4334
|
triggerHeaderCellDblclickEvent(evnt: MouseEvent, params: VxeTableDefines.CellRenderHeaderParams<any>): void
|
|
4335
|
+
/**
|
|
4336
|
+
* @private
|
|
4337
|
+
*/
|
|
4302
4338
|
triggerCellClickEvent(evnt: MouseEvent, params: VxeTableDefines.CellRenderBodyParams<any>): void
|
|
4339
|
+
/**
|
|
4340
|
+
* @private
|
|
4341
|
+
*/
|
|
4303
4342
|
triggerCellDblclickEvent(evnt: MouseEvent, params: VxeTableDefines.CellRenderBodyParams<any>): void
|
|
4343
|
+
/**
|
|
4344
|
+
* @private
|
|
4345
|
+
*/
|
|
4304
4346
|
handleToggleCheckRowEvent(evnt: Event | null, params: { row: any }): void
|
|
4347
|
+
/**
|
|
4348
|
+
* @private
|
|
4349
|
+
*/
|
|
4305
4350
|
triggerCheckRowEvent(evnt: Event, params: { row: any }, value: boolean): void
|
|
4351
|
+
/**
|
|
4352
|
+
* @private
|
|
4353
|
+
*/
|
|
4306
4354
|
triggerCheckAllEvent(evnt: MouseEvent | null, value: boolean): void
|
|
4355
|
+
/**
|
|
4356
|
+
* @private
|
|
4357
|
+
*/
|
|
4307
4358
|
triggerRadioRowEvent(evnt: Event, params: { row: any }): void
|
|
4359
|
+
/**
|
|
4360
|
+
* @private
|
|
4361
|
+
*/
|
|
4308
4362
|
triggerCurrentColumnEvent(evnt: Event, params: {
|
|
4309
4363
|
column: VxeTableDefines.ColumnInfo<any>
|
|
4310
4364
|
}): void
|
|
4365
|
+
/**
|
|
4366
|
+
* @private
|
|
4367
|
+
*/
|
|
4311
4368
|
triggerCurrentRowEvent(evnt: Event, params: {
|
|
4312
4369
|
$table: VxeTableConstructor<any>
|
|
4313
4370
|
row: any
|
|
4314
4371
|
rowIndex: number
|
|
4315
4372
|
$rowIndex: number
|
|
4316
4373
|
}): void
|
|
4374
|
+
/**
|
|
4375
|
+
* @private
|
|
4376
|
+
*/
|
|
4317
4377
|
triggerRowExpandEvent(evnt: Event, params: VxeTableDefines.CellRenderBodyParams<any>): void
|
|
4378
|
+
/**
|
|
4379
|
+
* @private
|
|
4380
|
+
*/
|
|
4318
4381
|
triggerTreeExpandEvent(evnt: Event, params: VxeTableDefines.CellRenderBodyParams<any>): void
|
|
4382
|
+
/**
|
|
4383
|
+
* @private
|
|
4384
|
+
*/
|
|
4319
4385
|
handleColumnSortEvent(evnt: Event, column: VxeTableDefines.ColumnInfo): void
|
|
4386
|
+
/**
|
|
4387
|
+
* @private
|
|
4388
|
+
*/
|
|
4320
4389
|
triggerSortEvent(evnt: Event, column: VxeTableDefines.ColumnInfo<any>, order: VxeTablePropTypes.SortOrder): void
|
|
4390
|
+
/**
|
|
4391
|
+
* @private
|
|
4392
|
+
*/
|
|
4321
4393
|
triggerHeaderCellMousedownEvent(evnt: any, params: any): void
|
|
4394
|
+
/**
|
|
4395
|
+
* @private
|
|
4396
|
+
*/
|
|
4322
4397
|
triggerCellMousedownEvent(evnt: MouseEvent, params: any): void
|
|
4398
|
+
/**
|
|
4399
|
+
* @private
|
|
4400
|
+
*/
|
|
4323
4401
|
triggerCellMouseupEvent(evnt: MouseEvent): void
|
|
4402
|
+
/**
|
|
4403
|
+
* @private
|
|
4404
|
+
*/
|
|
4324
4405
|
handleRowDragSwapEvent (evnt: DragEvent | null, isSyncRow: boolean | undefined, dragRow: any, prevDragRow: any, prevDragPos: '' | 'top' | 'bottom' | 'left' | 'right' | undefined, prevDragToChild: boolean | undefined): Promise<{ status: boolean }>
|
|
4406
|
+
/**
|
|
4407
|
+
* @private
|
|
4408
|
+
*/
|
|
4325
4409
|
handleRowDragDragstartEvent (evnt: DragEvent): void
|
|
4410
|
+
/**
|
|
4411
|
+
* @private
|
|
4412
|
+
*/
|
|
4326
4413
|
handleRowDragDragendEvent(evnt: DragEvent): void
|
|
4327
|
-
|
|
4414
|
+
/**
|
|
4415
|
+
* @private
|
|
4416
|
+
*/
|
|
4417
|
+
handleRowDragDragoverEvent(evnt: DragEvent): void
|
|
4418
|
+
/**
|
|
4419
|
+
* @private
|
|
4420
|
+
*/
|
|
4328
4421
|
handleCellDragMousedownEvent (evnt: MouseEvent, params: {
|
|
4329
4422
|
row: any
|
|
4330
4423
|
column: VxeTableDefines.ColumnInfo
|
|
4331
4424
|
}): void
|
|
4425
|
+
/**
|
|
4426
|
+
* @private
|
|
4427
|
+
*/
|
|
4332
4428
|
handleCellDragMouseupEvent (evnt: MouseEvent): void
|
|
4429
|
+
/**
|
|
4430
|
+
* @private
|
|
4431
|
+
*/
|
|
4333
4432
|
handleHeaderCellDragDragstartEvent (evnt: DragEvent): void
|
|
4433
|
+
/**
|
|
4434
|
+
* @private
|
|
4435
|
+
*/
|
|
4334
4436
|
handleColDragSwapColumn(): void
|
|
4437
|
+
/**
|
|
4438
|
+
* @private
|
|
4439
|
+
*/
|
|
4335
4440
|
handleColDragSwapEvent (evnt: DragEvent | null, isSyncColumn: boolean | undefined, dragCol: VxeTableDefines.ColumnInfo | null | undefined, prevDragCol: VxeTableDefines.ColumnInfo | null | undefined, prevDragPos: '' | 'top' | 'bottom' | 'left' | 'right' | undefined, prevDragToChild: boolean | undefined): Promise<{ status: boolean }>
|
|
4441
|
+
/**
|
|
4442
|
+
* @private
|
|
4443
|
+
*/
|
|
4336
4444
|
handleHeaderCellDragDragendEvent(evnt: DragEvent): void
|
|
4445
|
+
/**
|
|
4446
|
+
* @private
|
|
4447
|
+
*/
|
|
4337
4448
|
handleHeaderCellDragDragoverEvent(evnt: DragEvent,): void
|
|
4449
|
+
/**
|
|
4450
|
+
* @private
|
|
4451
|
+
*/
|
|
4338
4452
|
handleHeaderCellDragMousedownEvent (evnt: MouseEvent, params: {
|
|
4339
4453
|
column: VxeTableDefines.ColumnInfo
|
|
4340
4454
|
}): void
|
|
4455
|
+
/**
|
|
4456
|
+
* @private
|
|
4457
|
+
*/
|
|
4341
4458
|
handleHeaderCellDragMouseupEvent (evnt: MouseEvent): void
|
|
4459
|
+
/**
|
|
4460
|
+
* @private
|
|
4461
|
+
*/
|
|
4342
4462
|
handleScrollEvent(evnt: Event, isRollY: boolean, isRollX: boolean, scrollTop: number, scrollLeft: number, params: {
|
|
4343
4463
|
type: string
|
|
4344
4464
|
fixed: VxeColumnPropTypes.Fixed
|
|
@@ -62,6 +62,8 @@ import { VxeRateProps } from '../components/rate'
|
|
|
62
62
|
import { VxeResultProps } from '../components/result'
|
|
63
63
|
import { VxeRowProps } from '../components/row'
|
|
64
64
|
import { VxeSelectProps } from '../components/select'
|
|
65
|
+
import { VxeSplitProps } from '../components/split'
|
|
66
|
+
import { VxeSplitItemProps } from '../components/split-item'
|
|
65
67
|
import { VxeSliderProps } from '../components/slider'
|
|
66
68
|
import { VxeStepsProps } from '../components/steps'
|
|
67
69
|
import { VxeSwitchProps } from '../components/switch'
|
|
@@ -151,6 +153,8 @@ declare module '@vxe-ui/core' {
|
|
|
151
153
|
result?: VxeResultProps
|
|
152
154
|
row?: VxeRowProps
|
|
153
155
|
select?: VxeSelectProps
|
|
156
|
+
split?: VxeSplitProps
|
|
157
|
+
splitItem?: VxeSplitItemProps
|
|
154
158
|
slider?: VxeSliderProps
|
|
155
159
|
steps?: VxeStepsProps
|
|
156
160
|
switch?: VxeSwitchProps
|
|
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
|