vxe-table 4.16.12 → 4.16.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/grid/src/grid.js +10 -10
- package/es/style.css +1 -1
- package/es/table/render/index.js +21 -0
- package/es/toolbar/src/toolbar.js +23 -71
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/grid/src/grid.js +10 -10
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.umd.js +78 -74
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/render/index.js +36 -0
- package/lib/table/render/index.min.js +1 -1
- package/lib/toolbar/src/toolbar.js +32 -68
- package/lib/toolbar/src/toolbar.min.js +1 -1
- package/lib/ui/index.js +1 -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/package.json +1 -1
- package/packages/grid/src/grid.ts +10 -10
- package/packages/table/render/index.ts +30 -0
- package/packages/toolbar/src/toolbar.ts +26 -62
- /package/es/{iconfont.1757986674680.ttf → iconfont.1758158507786.ttf} +0 -0
- /package/es/{iconfont.1757986674680.woff → iconfont.1758158507786.woff} +0 -0
- /package/es/{iconfont.1757986674680.woff2 → iconfont.1758158507786.woff2} +0 -0
- /package/lib/{iconfont.1757986674680.ttf → iconfont.1758158507786.ttf} +0 -0
- /package/lib/{iconfont.1757986674680.woff → iconfont.1758158507786.woff} +0 -0
- /package/lib/{iconfont.1757986674680.woff2 → iconfont.1758158507786.woff2} +0 -0
|
@@ -202,7 +202,7 @@ export default defineVxeComponent({
|
|
|
202
202
|
if ($xeGGWrapper) {
|
|
203
203
|
$xeGGWrapper.triggerZoomEvent($event)
|
|
204
204
|
} else {
|
|
205
|
-
warnLog('vxe.error.notProp', ['zoom'])
|
|
205
|
+
warnLog('vxe.error.notProp', ['[toolbar] zoom'])
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
|
|
@@ -318,7 +318,7 @@ export default defineVxeComponent({
|
|
|
318
318
|
if (tCommandMethod) {
|
|
319
319
|
tCommandMethod(params)
|
|
320
320
|
} else {
|
|
321
|
-
errLog('vxe.error.notCommands', [code])
|
|
321
|
+
errLog('vxe.error.notCommands', [`[toolbar] ${code}`])
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
$xeToolbar.dispatchEvent('button-click', params, $event)
|
|
@@ -344,7 +344,7 @@ export default defineVxeComponent({
|
|
|
344
344
|
if (tCommandMethod) {
|
|
345
345
|
tCommandMethod(params)
|
|
346
346
|
} else {
|
|
347
|
-
errLog('vxe.error.notCommands', [code])
|
|
347
|
+
errLog('vxe.error.notCommands', [`[toolbar] ${code}`])
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
$xeToolbar.dispatchEvent('tool-click', params, $event)
|
|
@@ -379,20 +379,10 @@ export default defineVxeComponent({
|
|
|
379
379
|
return VxeUIButtonComponent
|
|
380
380
|
? h(VxeUIButtonComponent, {
|
|
381
381
|
key: index,
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
icon: child.icon,
|
|
387
|
-
circle: child.circle,
|
|
388
|
-
round: child.round,
|
|
389
|
-
status: child.status,
|
|
390
|
-
content: child.name,
|
|
391
|
-
title: child.title,
|
|
392
|
-
routerLink: child.routerLink,
|
|
393
|
-
permissionCode: child.permissionCode,
|
|
394
|
-
prefixTooltip: child.prefixTooltip,
|
|
395
|
-
suffixTooltip: child.suffixTooltip,
|
|
382
|
+
...Object.assign({}, child, {
|
|
383
|
+
content: child.name,
|
|
384
|
+
options: undefined
|
|
385
|
+
}),
|
|
396
386
|
onClick: (eventParams) => isBtn ? btnEvent(eventParams, child) : tolEvent(eventParams, child)
|
|
397
387
|
})
|
|
398
388
|
: createCommentVNode()
|
|
@@ -433,23 +423,10 @@ export default defineVxeComponent({
|
|
|
433
423
|
btnVNs.push(
|
|
434
424
|
h(VxeUIButtonComponent, {
|
|
435
425
|
key: `bd${item.code || index}`,
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
icon: item.icon,
|
|
441
|
-
circle: item.circle,
|
|
442
|
-
round: item.round,
|
|
443
|
-
status: item.status,
|
|
444
|
-
content: item.name,
|
|
445
|
-
title: item.title,
|
|
446
|
-
routerLink: item.routerLink,
|
|
447
|
-
permissionCode: item.permissionCode,
|
|
448
|
-
prefixTooltip: item.prefixTooltip,
|
|
449
|
-
suffixTooltip: item.suffixTooltip,
|
|
450
|
-
destroyOnClose: item.destroyOnClose,
|
|
451
|
-
placement: item.placement,
|
|
452
|
-
transfer: item.transfer,
|
|
426
|
+
...Object.assign({}, item, {
|
|
427
|
+
content: item.name,
|
|
428
|
+
options: undefined
|
|
429
|
+
}),
|
|
453
430
|
onClick: (eventParams) => btnEvent(eventParams, item)
|
|
454
431
|
}, dropdowns && dropdowns.length
|
|
455
432
|
? {
|
|
@@ -501,23 +478,10 @@ export default defineVxeComponent({
|
|
|
501
478
|
btnVNs.push(
|
|
502
479
|
h(VxeUIButtonComponent, {
|
|
503
480
|
key: tIndex,
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
icon: item.icon,
|
|
509
|
-
circle: item.circle,
|
|
510
|
-
round: item.round,
|
|
511
|
-
status: item.status,
|
|
512
|
-
content: item.name,
|
|
513
|
-
title: item.title,
|
|
514
|
-
routerLink: item.routerLink,
|
|
515
|
-
permissionCode: item.permissionCode,
|
|
516
|
-
prefixTooltip: item.prefixTooltip,
|
|
517
|
-
suffixTooltip: item.suffixTooltip,
|
|
518
|
-
destroyOnClose: item.destroyOnClose,
|
|
519
|
-
placement: item.placement,
|
|
520
|
-
transfer: item.transfer,
|
|
481
|
+
...Object.assign({}, item, {
|
|
482
|
+
content: item.name,
|
|
483
|
+
options: undefined
|
|
484
|
+
}),
|
|
521
485
|
onClick: (eventParams) => tolEvent(eventParams, item)
|
|
522
486
|
}, dropdowns && dropdowns.length
|
|
523
487
|
? {
|
|
@@ -672,40 +636,40 @@ export default defineVxeComponent({
|
|
|
672
636
|
const refreshOpts = computeRefreshOpts.value
|
|
673
637
|
const queryMethod = refreshOpts.queryMethod || refreshOpts.query
|
|
674
638
|
if (props.refresh && !$xeGGWrapper && !queryMethod) {
|
|
675
|
-
warnLog('vxe.error.notFunc', ['queryMethod'])
|
|
639
|
+
warnLog('vxe.error.notFunc', ['[toolbar] queryMethod'])
|
|
676
640
|
}
|
|
677
641
|
|
|
678
642
|
if (XEUtils.isPlainObject(props.custom)) {
|
|
679
|
-
warnLog('vxe.error.delProp', ['custom={...}', 'custom=boolean & custom-options={...}'])
|
|
643
|
+
warnLog('vxe.error.delProp', ['[toolbar] custom={...}', 'custom=boolean & custom-options={...}'])
|
|
680
644
|
}
|
|
681
645
|
if (XEUtils.isPlainObject(props.print)) {
|
|
682
|
-
warnLog('vxe.error.delProp', ['print={...}', 'print=boolean & print-options={...}'])
|
|
646
|
+
warnLog('vxe.error.delProp', ['[toolbar] print={...}', 'print=boolean & print-options={...}'])
|
|
683
647
|
}
|
|
684
648
|
if (XEUtils.isPlainObject(props.export)) {
|
|
685
|
-
warnLog('vxe.error.delProp', ['export={...}', 'export=boolean & export-options={...}'])
|
|
649
|
+
warnLog('vxe.error.delProp', ['[toolbar] export={...}', 'export=boolean & export-options={...}'])
|
|
686
650
|
}
|
|
687
651
|
if (XEUtils.isPlainObject(props.import)) {
|
|
688
|
-
warnLog('vxe.error.delProp', ['import={...}', 'import=boolean & import-options={...}'])
|
|
652
|
+
warnLog('vxe.error.delProp', ['[toolbar] import={...}', 'import=boolean & import-options={...}'])
|
|
689
653
|
}
|
|
690
654
|
if (XEUtils.isPlainObject(props.refresh)) {
|
|
691
|
-
warnLog('vxe.error.delProp', ['refresh={...}', 'refresh=boolean & refresh-options={...}'])
|
|
655
|
+
warnLog('vxe.error.delProp', ['[toolbar] refresh={...}', 'refresh=boolean & refresh-options={...}'])
|
|
692
656
|
}
|
|
693
657
|
if (XEUtils.isPlainObject(props.refresh)) {
|
|
694
|
-
warnLog('vxe.error.delProp', ['zoom={...}', 'zoom=boolean & zoom-options={...}'])
|
|
658
|
+
warnLog('vxe.error.delProp', ['[toolbar] zoom={...}', 'zoom=boolean & zoom-options={...}'])
|
|
695
659
|
}
|
|
696
660
|
|
|
697
661
|
const customOpts = computeCustomOpts.value
|
|
698
662
|
if (customOpts.isFooter) {
|
|
699
|
-
warnLog('vxe.error.delProp', ['toolbar.custom.isFooter', 'table.custom-config.showFooter'])
|
|
663
|
+
warnLog('vxe.error.delProp', ['[toolbar] toolbar.custom.isFooter', 'table.custom-config.showFooter'])
|
|
700
664
|
}
|
|
701
665
|
if (customOpts.showFooter) {
|
|
702
|
-
warnLog('vxe.error.delProp', ['toolbar.custom.showFooter', 'table.custom-config.showFooter'])
|
|
666
|
+
warnLog('vxe.error.delProp', ['[toolbar] toolbar.custom.showFooter', 'table.custom-config.showFooter'])
|
|
703
667
|
}
|
|
704
668
|
if (customOpts.immediate) {
|
|
705
|
-
warnLog('vxe.error.delProp', ['toolbar.custom.immediate', 'table.custom-config.immediate'])
|
|
669
|
+
warnLog('vxe.error.delProp', ['[toolbar] toolbar.custom.immediate', 'table.custom-config.immediate'])
|
|
706
670
|
}
|
|
707
671
|
if (customOpts.trigger) {
|
|
708
|
-
warnLog('vxe.error.delProp', ['toolbar.custom.trigger', 'table.custom-config.trigger'])
|
|
672
|
+
warnLog('vxe.error.delProp', ['[toolbar] toolbar.custom.trigger', 'table.custom-config.trigger'])
|
|
709
673
|
}
|
|
710
674
|
if (props.refresh || props.import || props.export || props.print || props.zoom) {
|
|
711
675
|
if (!VxeUIButtonComponent) {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|