vxe-table 3.18.12 → 3.18.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 +14 -14
- package/es/style.css +1 -1
- package/es/table/render/index.js +27 -0
- package/es/toolbar/src/toolbar.js +23 -65
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/grid/src/grid.js +14 -14
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.umd.js +83 -81
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/render/index.js +42 -0
- package/lib/table/render/index.min.js +1 -1
- package/lib/toolbar/src/toolbar.js +23 -65
- 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 +14 -14
- package/packages/table/module/keyboard/mixin.ts +2 -2
- package/packages/table/render/index.ts +34 -0
- package/packages/toolbar/src/toolbar.ts +23 -65
- /package/es/{iconfont.1757987563312.ttf → iconfont.1758158482285.ttf} +0 -0
- /package/es/{iconfont.1757987563312.woff → iconfont.1758158482285.woff} +0 -0
- /package/es/{iconfont.1757987563312.woff2 → iconfont.1758158482285.woff2} +0 -0
- /package/lib/{iconfont.1757987563312.ttf → iconfont.1758158482285.ttf} +0 -0
- /package/lib/{iconfont.1757987563312.woff → iconfont.1758158482285.woff} +0 -0
- /package/lib/{iconfont.1757987563312.woff2 → iconfont.1758158482285.woff2} +0 -0
|
@@ -249,7 +249,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
249
249
|
if ($xeGGWrapper) {
|
|
250
250
|
$xeGGWrapper.triggerZoomEvent($event)
|
|
251
251
|
} else {
|
|
252
|
-
warnLog('vxe.error.notProp', ['zoom'])
|
|
252
|
+
warnLog('vxe.error.notProp', ['[toolbar] zoom'])
|
|
253
253
|
}
|
|
254
254
|
},
|
|
255
255
|
importEvent () {
|
|
@@ -383,7 +383,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
383
383
|
if (tCommandMethod) {
|
|
384
384
|
tCommandMethod(params)
|
|
385
385
|
} else {
|
|
386
|
-
errLog('vxe.error.notCommands', [code])
|
|
386
|
+
errLog('vxe.error.notCommands', [`[toolbar] ${code}`])
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
389
|
$xeToolbar.dispatchEvent('button-click', params, $event)
|
|
@@ -414,7 +414,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
414
414
|
if (tCommandMethod) {
|
|
415
415
|
tCommandMethod(params)
|
|
416
416
|
} else {
|
|
417
|
-
errLog('vxe.error.notCommands', [code])
|
|
417
|
+
errLog('vxe.error.notCommands', [`[toolbar] ${code}`])
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
420
|
$xeToolbar.dispatchEvent('tool-click', params, $event)
|
|
@@ -442,22 +442,10 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
442
442
|
return VxeUIButtonComponent
|
|
443
443
|
? h(VxeUIButtonComponent, {
|
|
444
444
|
key: index,
|
|
445
|
-
props: {
|
|
446
|
-
disabled: child.disabled,
|
|
447
|
-
loading: child.loading,
|
|
448
|
-
type: child.type,
|
|
449
|
-
mode: child.mode,
|
|
450
|
-
icon: child.icon,
|
|
451
|
-
circle: child.circle,
|
|
452
|
-
round: child.round,
|
|
453
|
-
status: child.status,
|
|
445
|
+
props: Object.assign({}, child, {
|
|
454
446
|
content: child.name,
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
permissionCode: child.permissionCode,
|
|
458
|
-
prefixTooltip: child.prefixTooltip,
|
|
459
|
-
suffixTooltip: child.suffixTooltip
|
|
460
|
-
},
|
|
447
|
+
options: undefined
|
|
448
|
+
}),
|
|
461
449
|
on: {
|
|
462
450
|
click: (eventParams: VxeButtonDefines.ClickEventParams) => isBtn ? $xeToolbar.btnEvent(eventParams, child) : $xeToolbar.tolEvent(eventParams, child)
|
|
463
451
|
}
|
|
@@ -507,25 +495,10 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
507
495
|
if (VxeUIButtonComponent) {
|
|
508
496
|
btnVNs.push(
|
|
509
497
|
h(VxeUIButtonComponent, {
|
|
510
|
-
props: {
|
|
511
|
-
disabled: item.disabled,
|
|
512
|
-
loading: item.loading,
|
|
513
|
-
type: item.type,
|
|
514
|
-
mode: item.mode,
|
|
515
|
-
icon: item.icon,
|
|
516
|
-
circle: item.circle,
|
|
517
|
-
round: item.round,
|
|
518
|
-
status: item.status,
|
|
498
|
+
props: Object.assign({}, item, {
|
|
519
499
|
content: item.name,
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
permissionCode: item.permissionCode,
|
|
523
|
-
prefixTooltip: item.prefixTooltip,
|
|
524
|
-
suffixTooltip: item.suffixTooltip,
|
|
525
|
-
destroyOnClose: item.destroyOnClose,
|
|
526
|
-
placement: item.placement,
|
|
527
|
-
transfer: item.transfer
|
|
528
|
-
},
|
|
500
|
+
options: undefined
|
|
501
|
+
}),
|
|
529
502
|
on: {
|
|
530
503
|
click: (eventParams: VxeButtonDefines.ClickEventParams) => $xeToolbar.btnEvent(eventParams, item)
|
|
531
504
|
},
|
|
@@ -589,25 +562,10 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
589
562
|
btnVNs.push(
|
|
590
563
|
h(VxeUIButtonComponent, {
|
|
591
564
|
key: tIndex,
|
|
592
|
-
props: {
|
|
593
|
-
disabled: item.disabled,
|
|
594
|
-
loading: item.loading,
|
|
595
|
-
type: item.type,
|
|
596
|
-
mode: item.mode,
|
|
597
|
-
icon: item.icon,
|
|
598
|
-
circle: item.circle,
|
|
599
|
-
round: item.round,
|
|
600
|
-
status: item.status,
|
|
565
|
+
props: Object.assign({}, item, {
|
|
601
566
|
content: item.name,
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
permissionCode: item.permissionCode,
|
|
605
|
-
prefixTooltip: item.prefixTooltip,
|
|
606
|
-
suffixTooltip: item.suffixTooltip,
|
|
607
|
-
destroyOnClose: item.destroyOnClose,
|
|
608
|
-
placement: item.placement,
|
|
609
|
-
transfer: item.transfer
|
|
610
|
-
},
|
|
567
|
+
options: undefined
|
|
568
|
+
}),
|
|
611
569
|
on: {
|
|
612
570
|
click: (eventParams: VxeButtonDefines.ClickEventParams) => $xeToolbar.tolEvent(eventParams, item)
|
|
613
571
|
},
|
|
@@ -827,26 +785,26 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
827
785
|
const $xeTable = $xeToolbar.fintTable() as any
|
|
828
786
|
const queryMethod = refreshOpts.queryMethod || refreshOpts.query
|
|
829
787
|
if (props.refresh && !$xeGGWrapper && !queryMethod) {
|
|
830
|
-
warnLog('vxe.error.notFunc', ['queryMethod'])
|
|
788
|
+
warnLog('vxe.error.notFunc', ['[toolbar] queryMethod'])
|
|
831
789
|
}
|
|
832
790
|
|
|
833
791
|
if (XEUtils.isPlainObject(props.custom)) {
|
|
834
|
-
warnLog('vxe.error.delProp', ['custom={...}', 'custom=boolean & custom-options={...}'])
|
|
792
|
+
warnLog('vxe.error.delProp', ['[toolbar] custom={...}', 'custom=boolean & custom-options={...}'])
|
|
835
793
|
}
|
|
836
794
|
if (XEUtils.isPlainObject(props.print)) {
|
|
837
|
-
warnLog('vxe.error.delProp', ['print={...}', 'print=boolean & print-options={...}'])
|
|
795
|
+
warnLog('vxe.error.delProp', ['[toolbar] print={...}', 'print=boolean & print-options={...}'])
|
|
838
796
|
}
|
|
839
797
|
if (XEUtils.isPlainObject(props.export)) {
|
|
840
|
-
warnLog('vxe.error.delProp', ['export={...}', 'export=boolean & export-options={...}'])
|
|
798
|
+
warnLog('vxe.error.delProp', ['[toolbar] export={...}', 'export=boolean & export-options={...}'])
|
|
841
799
|
}
|
|
842
800
|
if (XEUtils.isPlainObject(props.import)) {
|
|
843
|
-
warnLog('vxe.error.delProp', ['import={...}', 'import=boolean & import-options={...}'])
|
|
801
|
+
warnLog('vxe.error.delProp', ['[toolbar] import={...}', 'import=boolean & import-options={...}'])
|
|
844
802
|
}
|
|
845
803
|
if (XEUtils.isPlainObject(props.refresh)) {
|
|
846
|
-
warnLog('vxe.error.delProp', ['refresh={...}', 'refresh=boolean & refresh-options={...}'])
|
|
804
|
+
warnLog('vxe.error.delProp', ['[toolbar] refresh={...}', 'refresh=boolean & refresh-options={...}'])
|
|
847
805
|
}
|
|
848
806
|
if (XEUtils.isPlainObject(props.refresh)) {
|
|
849
|
-
warnLog('vxe.error.delProp', ['zoom={...}', 'zoom=boolean & zoom-options={...}'])
|
|
807
|
+
warnLog('vxe.error.delProp', ['[toolbar] zoom={...}', 'zoom=boolean & zoom-options={...}'])
|
|
850
808
|
}
|
|
851
809
|
|
|
852
810
|
if ($xeTable) {
|
|
@@ -854,16 +812,16 @@ export default /* define-vxe-component start */ defineVxeComponent({
|
|
|
854
812
|
}
|
|
855
813
|
const customOpts = $xeToolbar.computeCustomOpts
|
|
856
814
|
if (customOpts.isFooter) {
|
|
857
|
-
warnLog('vxe.error.delProp', ['toolbar.custom.isFooter', 'table.custom-config.showFooter'])
|
|
815
|
+
warnLog('vxe.error.delProp', ['[toolbar] toolbar.custom.isFooter', 'table.custom-config.showFooter'])
|
|
858
816
|
}
|
|
859
817
|
if (customOpts.showFooter) {
|
|
860
|
-
warnLog('vxe.error.delProp', ['toolbar.custom.showFooter', 'table.custom-config.showFooter'])
|
|
818
|
+
warnLog('vxe.error.delProp', ['[toolbar] toolbar.custom.showFooter', 'table.custom-config.showFooter'])
|
|
861
819
|
}
|
|
862
820
|
if (customOpts.immediate) {
|
|
863
|
-
warnLog('vxe.error.delProp', ['toolbar.custom.immediate', 'table.custom-config.immediate'])
|
|
821
|
+
warnLog('vxe.error.delProp', ['[toolbar] toolbar.custom.immediate', 'table.custom-config.immediate'])
|
|
864
822
|
}
|
|
865
823
|
if (customOpts.trigger) {
|
|
866
|
-
warnLog('vxe.error.delProp', ['toolbar.custom.trigger', 'table.custom-config.trigger'])
|
|
824
|
+
warnLog('vxe.error.delProp', ['[toolbar] toolbar.custom.trigger', 'table.custom-config.trigger'])
|
|
867
825
|
}
|
|
868
826
|
})
|
|
869
827
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|