vxe-table 4.16.12 → 4.16.13
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/style.css +1 -1
- package/es/toolbar/src/toolbar.js +9 -57
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +14 -50
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/toolbar/src/toolbar.js +18 -54
- 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/toolbar/src/toolbar.ts +12 -48
- /package/es/{iconfont.1757986674680.ttf → iconfont.1758075798320.ttf} +0 -0
- /package/es/{iconfont.1757986674680.woff → iconfont.1758075798320.woff} +0 -0
- /package/es/{iconfont.1757986674680.woff2 → iconfont.1758075798320.woff2} +0 -0
- /package/lib/{iconfont.1757986674680.ttf → iconfont.1758075798320.ttf} +0 -0
- /package/lib/{iconfont.1757986674680.woff → iconfont.1758075798320.woff} +0 -0
- /package/lib/{iconfont.1757986674680.woff2 → iconfont.1758075798320.woff2} +0 -0
|
@@ -341,24 +341,10 @@ export default defineVxeComponent({
|
|
|
341
341
|
return createCommentVNode();
|
|
342
342
|
}
|
|
343
343
|
return VxeUIButtonComponent
|
|
344
|
-
? h(VxeUIButtonComponent, {
|
|
345
|
-
key: index,
|
|
346
|
-
disabled: child.disabled,
|
|
347
|
-
loading: child.loading,
|
|
348
|
-
type: child.type,
|
|
349
|
-
mode: child.mode,
|
|
350
|
-
icon: child.icon,
|
|
351
|
-
circle: child.circle,
|
|
352
|
-
round: child.round,
|
|
353
|
-
status: child.status,
|
|
344
|
+
? h(VxeUIButtonComponent, Object.assign(Object.assign({ key: index }, Object.assign({}, child, {
|
|
354
345
|
content: child.name,
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
permissionCode: child.permissionCode,
|
|
358
|
-
prefixTooltip: child.prefixTooltip,
|
|
359
|
-
suffixTooltip: child.suffixTooltip,
|
|
360
|
-
onClick: (eventParams) => isBtn ? btnEvent(eventParams, child) : tolEvent(eventParams, child)
|
|
361
|
-
})
|
|
346
|
+
options: undefined
|
|
347
|
+
})), { onClick: (eventParams) => isBtn ? btnEvent(eventParams, child) : tolEvent(eventParams, child) }))
|
|
362
348
|
: createCommentVNode();
|
|
363
349
|
});
|
|
364
350
|
}
|
|
@@ -392,27 +378,10 @@ export default defineVxeComponent({
|
|
|
392
378
|
}
|
|
393
379
|
else {
|
|
394
380
|
if (VxeUIButtonComponent) {
|
|
395
|
-
btnVNs.push(h(VxeUIButtonComponent, {
|
|
396
|
-
key: `bd${item.code || index}`,
|
|
397
|
-
disabled: item.disabled,
|
|
398
|
-
loading: item.loading,
|
|
399
|
-
type: item.type,
|
|
400
|
-
mode: item.mode,
|
|
401
|
-
icon: item.icon,
|
|
402
|
-
circle: item.circle,
|
|
403
|
-
round: item.round,
|
|
404
|
-
status: item.status,
|
|
381
|
+
btnVNs.push(h(VxeUIButtonComponent, Object.assign(Object.assign({ key: `bd${item.code || index}` }, Object.assign({}, item, {
|
|
405
382
|
content: item.name,
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
permissionCode: item.permissionCode,
|
|
409
|
-
prefixTooltip: item.prefixTooltip,
|
|
410
|
-
suffixTooltip: item.suffixTooltip,
|
|
411
|
-
destroyOnClose: item.destroyOnClose,
|
|
412
|
-
placement: item.placement,
|
|
413
|
-
transfer: item.transfer,
|
|
414
|
-
onClick: (eventParams) => btnEvent(eventParams, item)
|
|
415
|
-
}, dropdowns && dropdowns.length
|
|
383
|
+
options: undefined
|
|
384
|
+
})), { onClick: (eventParams) => btnEvent(eventParams, item) }), dropdowns && dropdowns.length
|
|
416
385
|
? {
|
|
417
386
|
dropdowns: () => renderDropdowns(item, true)
|
|
418
387
|
}
|
|
@@ -456,27 +425,10 @@ export default defineVxeComponent({
|
|
|
456
425
|
}
|
|
457
426
|
else {
|
|
458
427
|
if (VxeUIButtonComponent) {
|
|
459
|
-
btnVNs.push(h(VxeUIButtonComponent, {
|
|
460
|
-
key: tIndex,
|
|
461
|
-
disabled: item.disabled,
|
|
462
|
-
loading: item.loading,
|
|
463
|
-
type: item.type,
|
|
464
|
-
mode: item.mode,
|
|
465
|
-
icon: item.icon,
|
|
466
|
-
circle: item.circle,
|
|
467
|
-
round: item.round,
|
|
468
|
-
status: item.status,
|
|
428
|
+
btnVNs.push(h(VxeUIButtonComponent, Object.assign(Object.assign({ key: tIndex }, Object.assign({}, item, {
|
|
469
429
|
content: item.name,
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
permissionCode: item.permissionCode,
|
|
473
|
-
prefixTooltip: item.prefixTooltip,
|
|
474
|
-
suffixTooltip: item.suffixTooltip,
|
|
475
|
-
destroyOnClose: item.destroyOnClose,
|
|
476
|
-
placement: item.placement,
|
|
477
|
-
transfer: item.transfer,
|
|
478
|
-
onClick: (eventParams) => tolEvent(eventParams, item)
|
|
479
|
-
}, dropdowns && dropdowns.length
|
|
430
|
+
options: undefined
|
|
431
|
+
})), { onClick: (eventParams) => tolEvent(eventParams, item) }), dropdowns && dropdowns.length
|
|
480
432
|
? {
|
|
481
433
|
dropdowns: () => renderDropdowns(item, false)
|
|
482
434
|
}
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
package/lib/index.umd.js
CHANGED
|
@@ -3138,7 +3138,7 @@ function eqEmptyValue(cellValue) {
|
|
|
3138
3138
|
;// ./packages/ui/index.ts
|
|
3139
3139
|
|
|
3140
3140
|
|
|
3141
|
-
const version = "4.16.
|
|
3141
|
+
const version = "4.16.13";
|
|
3142
3142
|
core_.VxeUI.version = version;
|
|
3143
3143
|
core_.VxeUI.tableVersion = version;
|
|
3144
3144
|
core_.VxeUI.setConfig({
|
|
@@ -3644,7 +3644,7 @@ var esnext_iterator_some = __webpack_require__(7550);
|
|
|
3644
3644
|
const {
|
|
3645
3645
|
log: log_log
|
|
3646
3646
|
} = core_.VxeUI;
|
|
3647
|
-
const log_version = `table v${"4.16.
|
|
3647
|
+
const log_version = `table v${"4.16.13"}`;
|
|
3648
3648
|
const warnLog = log_log.create('warn', log_version);
|
|
3649
3649
|
const errLog = log_log.create('error', log_version);
|
|
3650
3650
|
;// ./packages/table/src/columnInfo.ts
|
|
@@ -19814,20 +19814,10 @@ function toolbar_createInternalData() {
|
|
|
19814
19814
|
}
|
|
19815
19815
|
return VxeUIButtonComponent ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUIButtonComponent, {
|
|
19816
19816
|
key: index,
|
|
19817
|
-
|
|
19818
|
-
|
|
19819
|
-
|
|
19820
|
-
|
|
19821
|
-
icon: child.icon,
|
|
19822
|
-
circle: child.circle,
|
|
19823
|
-
round: child.round,
|
|
19824
|
-
status: child.status,
|
|
19825
|
-
content: child.name,
|
|
19826
|
-
title: child.title,
|
|
19827
|
-
routerLink: child.routerLink,
|
|
19828
|
-
permissionCode: child.permissionCode,
|
|
19829
|
-
prefixTooltip: child.prefixTooltip,
|
|
19830
|
-
suffixTooltip: child.suffixTooltip,
|
|
19817
|
+
...Object.assign({}, child, {
|
|
19818
|
+
content: child.name,
|
|
19819
|
+
options: undefined
|
|
19820
|
+
}),
|
|
19831
19821
|
onClick: eventParams => isBtn ? btnEvent(eventParams, child) : tolEvent(eventParams, child)
|
|
19832
19822
|
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)();
|
|
19833
19823
|
});
|
|
@@ -19880,23 +19870,10 @@ function toolbar_createInternalData() {
|
|
|
19880
19870
|
if (VxeUIButtonComponent) {
|
|
19881
19871
|
btnVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUIButtonComponent, {
|
|
19882
19872
|
key: `bd${item.code || index}`,
|
|
19883
|
-
|
|
19884
|
-
|
|
19885
|
-
|
|
19886
|
-
|
|
19887
|
-
icon: item.icon,
|
|
19888
|
-
circle: item.circle,
|
|
19889
|
-
round: item.round,
|
|
19890
|
-
status: item.status,
|
|
19891
|
-
content: item.name,
|
|
19892
|
-
title: item.title,
|
|
19893
|
-
routerLink: item.routerLink,
|
|
19894
|
-
permissionCode: item.permissionCode,
|
|
19895
|
-
prefixTooltip: item.prefixTooltip,
|
|
19896
|
-
suffixTooltip: item.suffixTooltip,
|
|
19897
|
-
destroyOnClose: item.destroyOnClose,
|
|
19898
|
-
placement: item.placement,
|
|
19899
|
-
transfer: item.transfer,
|
|
19873
|
+
...Object.assign({}, item, {
|
|
19874
|
+
content: item.name,
|
|
19875
|
+
options: undefined
|
|
19876
|
+
}),
|
|
19900
19877
|
onClick: eventParams => btnEvent(eventParams, item)
|
|
19901
19878
|
}, dropdowns && dropdowns.length ? {
|
|
19902
19879
|
dropdowns: () => renderDropdowns(item, true)
|
|
@@ -19963,23 +19940,10 @@ function toolbar_createInternalData() {
|
|
|
19963
19940
|
if (VxeUIButtonComponent) {
|
|
19964
19941
|
btnVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(VxeUIButtonComponent, {
|
|
19965
19942
|
key: tIndex,
|
|
19966
|
-
|
|
19967
|
-
|
|
19968
|
-
|
|
19969
|
-
|
|
19970
|
-
icon: item.icon,
|
|
19971
|
-
circle: item.circle,
|
|
19972
|
-
round: item.round,
|
|
19973
|
-
status: item.status,
|
|
19974
|
-
content: item.name,
|
|
19975
|
-
title: item.title,
|
|
19976
|
-
routerLink: item.routerLink,
|
|
19977
|
-
permissionCode: item.permissionCode,
|
|
19978
|
-
prefixTooltip: item.prefixTooltip,
|
|
19979
|
-
suffixTooltip: item.suffixTooltip,
|
|
19980
|
-
destroyOnClose: item.destroyOnClose,
|
|
19981
|
-
placement: item.placement,
|
|
19982
|
-
transfer: item.transfer,
|
|
19943
|
+
...Object.assign({}, item, {
|
|
19944
|
+
content: item.name,
|
|
19945
|
+
options: undefined
|
|
19946
|
+
}),
|
|
19983
19947
|
onClick: eventParams => tolEvent(eventParams, item)
|
|
19984
19948
|
}, dropdowns && dropdowns.length ? {
|
|
19985
19949
|
dropdowns: () => renderDropdowns(item, false)
|