vxe-table 3.19.22 → 3.19.25
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/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/src/methods.js +11 -4
- package/es/toolbar/src/toolbar.js +103 -81
- package/es/toolbar/style.css +11 -4
- package/es/toolbar/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-toolbar/style.css +11 -4
- package/es/vxe-toolbar/style.min.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +133 -111
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/methods.js +11 -4
- package/lib/table/src/methods.min.js +1 -1
- package/lib/toolbar/src/toolbar.js +127 -105
- package/lib/toolbar/src/toolbar.min.js +1 -1
- package/lib/toolbar/style/style.css +11 -4
- package/lib/toolbar/style/style.min.css +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/lib/vxe-toolbar/style/style.css +11 -4
- package/lib/vxe-toolbar/style/style.min.css +1 -1
- package/package.json +2 -3
- package/packages/table/src/methods.ts +20 -9
- package/packages/toolbar/src/toolbar.ts +117 -83
- package/styles/components/toolbar.scss +11 -4
- /package/es/{iconfont.1764380622607.ttf → iconfont.1764811551687.ttf} +0 -0
- /package/es/{iconfont.1764380622607.woff → iconfont.1764811551687.woff} +0 -0
- /package/es/{iconfont.1764380622607.woff2 → iconfont.1764811551687.woff2} +0 -0
- /package/lib/{iconfont.1764380622607.ttf → iconfont.1764811551687.ttf} +0 -0
- /package/lib/{iconfont.1764380622607.woff → iconfont.1764811551687.woff} +0 -0
- /package/lib/{iconfont.1764380622607.woff2 → iconfont.1764811551687.woff2} +0 -0
package/es/table/src/methods.js
CHANGED
|
@@ -4186,8 +4186,8 @@ function handleRowExpandScroll($xeTable) {
|
|
|
4186
4186
|
}
|
|
4187
4187
|
}
|
|
4188
4188
|
function handleColumnVisible(visible) {
|
|
4189
|
-
const $xeTable = this;
|
|
4190
4189
|
return function (fieldOrColumn) {
|
|
4190
|
+
const $xeTable = this;
|
|
4191
4191
|
let status = false;
|
|
4192
4192
|
const cols = XEUtils.isArray(fieldOrColumn) ? fieldOrColumn : [fieldOrColumn];
|
|
4193
4193
|
cols.forEach(item => {
|
|
@@ -7217,7 +7217,7 @@ const tableMethods = {
|
|
|
7217
7217
|
},
|
|
7218
7218
|
handleAggregateSummaryData() {
|
|
7219
7219
|
const $xeTable = this;
|
|
7220
|
-
return
|
|
7220
|
+
return $xeTable.refreshAggregateCalcValues();
|
|
7221
7221
|
},
|
|
7222
7222
|
handleTargetLeaveEvent() {
|
|
7223
7223
|
const $xeTable = this;
|
|
@@ -10490,6 +10490,11 @@ const tableMethods = {
|
|
|
10490
10490
|
const { isRowGroupStatus } = reactData;
|
|
10491
10491
|
return isRowGroupStatus && row && row.isAggregate && childrenField && mapChildrenField ? (row[mapChildrenField] || []) : [];
|
|
10492
10492
|
},
|
|
10493
|
+
refreshAggregateCalcValues() {
|
|
10494
|
+
const $xeTable = this;
|
|
10495
|
+
updateGroupData($xeTable);
|
|
10496
|
+
return $xeTable.$nextTick();
|
|
10497
|
+
},
|
|
10493
10498
|
isAggregateExpandByRow(row) {
|
|
10494
10499
|
const $xeTable = this;
|
|
10495
10500
|
const reactData = $xeTable;
|
|
@@ -12134,10 +12139,12 @@ const tableMethods = {
|
|
|
12134
12139
|
return getConfig();
|
|
12135
12140
|
}
|
|
12136
12141
|
};
|
|
12142
|
+
const tablePrivateMethods = {};
|
|
12143
|
+
const exportMethods = Object.assign({}, tableMethods, tablePrivateMethods);
|
|
12137
12144
|
// Module methods
|
|
12138
12145
|
const funcs = 'setFilter,openFilter,clearFilter,saveFilter,saveFilterByEvent,resetFilter,resetFilterByEvent,saveFilterPanel,saveFilterPanelByEvent,resetFilterPanel,resetFilterPanelByEvent,getCheckedFilters,updateFilterOptionStatus,closeMenu,setActiveCellArea,getActiveCellArea,getCellAreas,clearCellAreas,copyCellArea,cutCellArea,pasteCellArea,getCopyCellArea,getCopyCellAreas,clearCopyCellArea,setCellAreas,openFNR,openFind,openReplace,closeFNR,getSelectedCell,clearSelected,insert,insertAt,insertNextAt,insertChild,insertChildAt,insertChildNextAt,remove,removeCheckboxRow,removeRadioRow,removeCurrentRow,getRecordset,getInsertRecords,getRemoveRecords,getUpdateRecords,clearEdit,clearActived,getEditRecord,getEditCell,getActiveRecord,isEditByRow,isActiveByRow,setEditRow,setActiveRow,setEditCell,setActiveCell,setSelectCell,clearValidate,fullValidate,validate,fullValidateField,validateField,openExport,closeExport,openPrint,closePrint,getPrintHtml,exportData,openImport,closeImport,importData,saveFile,readFile,importByFile,print,getCustomVisible,openCustom,closeCustom,toggleCustom,saveCustom,cancelCustom,resetCustom,toggleCustomAllCheckbox,setCustomAllCheckbox'.split(',');
|
|
12139
12146
|
funcs.forEach(name => {
|
|
12140
|
-
|
|
12147
|
+
exportMethods[name] = function (...args) {
|
|
12141
12148
|
// if (!this[`_${name}`]) {
|
|
12142
12149
|
// if ('openExport,openPrint,exportData,openImport,importData,saveFile,readFile,importByFile,print'.split(',').includes(name)) {
|
|
12143
12150
|
// errLog('vxe.error.reqModule', ['Export'])
|
|
@@ -12154,4 +12161,4 @@ funcs.forEach(name => {
|
|
|
12154
12161
|
return this[`_${name}`] ? this[`_${name}`](...args) : null;
|
|
12155
12162
|
};
|
|
12156
12163
|
});
|
|
12157
|
-
export default
|
|
12164
|
+
export default exportMethods;
|
|
@@ -433,49 +433,63 @@ export default {
|
|
|
433
433
|
const { buttons } = props;
|
|
434
434
|
const { connectTable } = internalData;
|
|
435
435
|
const $table = connectTable;
|
|
436
|
+
const buttonsSlot = slots.buttons;
|
|
436
437
|
const buttonPrefixSlot = slots.buttonPrefix || slots['button-prefix'];
|
|
437
438
|
const buttonSuffixSlot = slots.buttonSuffix || slots['button-suffix'];
|
|
438
|
-
const
|
|
439
|
+
const lbVNs = [];
|
|
439
440
|
if (buttonPrefixSlot) {
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
441
|
+
lbVNs.push(h('span', {
|
|
442
|
+
key: 'tbp',
|
|
443
|
+
class: 'vxe-button--prefix-wrapper'
|
|
444
|
+
}, getSlotVNs(buttonPrefixSlot.call($xeToolbar, { buttons: buttons || [], $grid: $xeGrid, $gantt: $xeGantt, $table: $table }))));
|
|
445
|
+
}
|
|
446
|
+
if (buttons || buttonsSlot) {
|
|
447
|
+
const btnVNs = [];
|
|
448
|
+
if (buttons) {
|
|
449
|
+
buttons.forEach((item) => {
|
|
450
|
+
const { dropdowns, buttonRender } = item;
|
|
451
|
+
if (item.visible !== false) {
|
|
452
|
+
const compConf = buttonRender ? renderer.get(buttonRender.name) : null;
|
|
453
|
+
if (buttonRender && compConf && compConf.renderToolbarButton) {
|
|
454
|
+
const toolbarButtonClassName = compConf.toolbarButtonClassName;
|
|
455
|
+
const params = { $grid: $xeGrid, $gantt: $xeGantt, $table: $table, button: item };
|
|
456
|
+
btnVNs.push(h('span', {
|
|
457
|
+
class: ['vxe-button--item', toolbarButtonClassName ? (XEUtils.isFunction(toolbarButtonClassName) ? toolbarButtonClassName(params) : toolbarButtonClassName) : '']
|
|
458
|
+
}, getSlotVNs(compConf.renderToolbarButton(h, buttonRender, params))));
|
|
459
|
+
}
|
|
460
|
+
else {
|
|
461
|
+
if (VxeUIButtonComponent) {
|
|
462
|
+
btnVNs.push(h(VxeUIButtonComponent, {
|
|
463
|
+
props: Object.assign({}, item, {
|
|
464
|
+
content: item.content || item.name,
|
|
465
|
+
options: undefined
|
|
466
|
+
}),
|
|
467
|
+
on: {
|
|
468
|
+
click: (eventParams) => $xeToolbar.btnEvent(eventParams, item)
|
|
469
|
+
},
|
|
470
|
+
scopedSlots: dropdowns && dropdowns.length
|
|
471
|
+
? {
|
|
472
|
+
dropdowns: () => $xeToolbar.renderDropdowns(h, item, true)
|
|
473
|
+
}
|
|
474
|
+
: {}
|
|
475
|
+
}));
|
|
476
|
+
}
|
|
470
477
|
}
|
|
471
478
|
}
|
|
472
|
-
}
|
|
473
|
-
}
|
|
479
|
+
});
|
|
480
|
+
}
|
|
481
|
+
lbVNs.push(h('span', {
|
|
482
|
+
key: 'tti',
|
|
483
|
+
class: 'vxe-button--item-wrapper'
|
|
484
|
+
}, buttonsSlot ? getSlotVNs(buttonsSlot.call($xeToolbar, { buttons: buttons || [], $grid: $xeGrid, $gantt: $xeGantt, $table: $table })) : btnVNs));
|
|
474
485
|
}
|
|
475
486
|
if (buttonSuffixSlot) {
|
|
476
|
-
|
|
487
|
+
lbVNs.push(h('span', {
|
|
488
|
+
key: 'tbs',
|
|
489
|
+
class: 'vxe-button--suffix-wrapper'
|
|
490
|
+
}, getSlotVNs(buttonSuffixSlot.call($xeToolbar, { buttons: buttons || [], $grid: $xeGrid, $gantt: $xeGantt, $table: $table }))));
|
|
477
491
|
}
|
|
478
|
-
return
|
|
492
|
+
return lbVNs;
|
|
479
493
|
},
|
|
480
494
|
/**
|
|
481
495
|
* 渲染右侧工具
|
|
@@ -492,52 +506,66 @@ export default {
|
|
|
492
506
|
const { tools } = props;
|
|
493
507
|
const { connectTable } = internalData;
|
|
494
508
|
const $table = connectTable;
|
|
509
|
+
const toolsSlot = slots.tools;
|
|
495
510
|
const toolPrefixSlot = slots.toolPrefix || slots['tool-prefix'];
|
|
496
511
|
const toolSuffixSlot = slots.toolSuffix || slots['tool-suffix'];
|
|
497
|
-
const
|
|
512
|
+
const rtVNs = [];
|
|
498
513
|
if (toolPrefixSlot) {
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
514
|
+
rtVNs.push(h('span', {
|
|
515
|
+
key: 'ttp',
|
|
516
|
+
class: 'vxe-tool--prefix-wrapper'
|
|
517
|
+
}, getSlotVNs(toolPrefixSlot.call($xeToolbar, { tools: tools || [], $grid: $xeGrid, $gantt: $xeGantt, $table: $table }))));
|
|
518
|
+
}
|
|
519
|
+
if (tools || toolsSlot) {
|
|
520
|
+
const btnVNs = [];
|
|
521
|
+
if (tools) {
|
|
522
|
+
tools.forEach((item, tIndex) => {
|
|
523
|
+
const { dropdowns, toolRender } = item;
|
|
524
|
+
if (item.visible !== false) {
|
|
525
|
+
const rdName = toolRender ? toolRender.name : null;
|
|
526
|
+
const compConf = toolRender ? renderer.get(rdName) : null;
|
|
527
|
+
if (toolRender && compConf && compConf.renderToolbarTool) {
|
|
528
|
+
const toolbarToolClassName = compConf.toolbarToolClassName;
|
|
529
|
+
const params = { $grid: $xeGrid, $gantt: $xeGantt, $table: $table, tool: item };
|
|
530
|
+
btnVNs.push(h('span', {
|
|
531
|
+
key: rdName,
|
|
532
|
+
class: ['vxe-tool--item', toolbarToolClassName ? (XEUtils.isFunction(toolbarToolClassName) ? toolbarToolClassName(params) : toolbarToolClassName) : '']
|
|
533
|
+
}, getSlotVNs(compConf.renderToolbarTool(h, toolRender, params))));
|
|
534
|
+
}
|
|
535
|
+
else {
|
|
536
|
+
if (VxeUIButtonComponent) {
|
|
537
|
+
btnVNs.push(h(VxeUIButtonComponent, {
|
|
538
|
+
key: tIndex,
|
|
539
|
+
props: Object.assign({}, item, {
|
|
540
|
+
content: item.content || item.name,
|
|
541
|
+
options: undefined
|
|
542
|
+
}),
|
|
543
|
+
on: {
|
|
544
|
+
click: (eventParams) => $xeToolbar.tolEvent(eventParams, item)
|
|
545
|
+
},
|
|
546
|
+
scopedSlots: dropdowns && dropdowns.length
|
|
547
|
+
? {
|
|
548
|
+
dropdowns: () => $xeToolbar.renderDropdowns(h, item, false)
|
|
549
|
+
}
|
|
550
|
+
: {}
|
|
551
|
+
}));
|
|
552
|
+
}
|
|
532
553
|
}
|
|
533
554
|
}
|
|
534
|
-
}
|
|
535
|
-
}
|
|
555
|
+
});
|
|
556
|
+
}
|
|
557
|
+
rtVNs.push(h('span', {
|
|
558
|
+
key: 'tti',
|
|
559
|
+
class: 'vxe-tool--item-wrapper'
|
|
560
|
+
}, toolsSlot ? getSlotVNs(toolsSlot.call($xeToolbar, { tools: tools || [], $grid: $xeGrid, $gantt: $xeGantt, $table: $table })) : btnVNs));
|
|
536
561
|
}
|
|
537
562
|
if (toolSuffixSlot) {
|
|
538
|
-
|
|
563
|
+
rtVNs.push(h('span', {
|
|
564
|
+
key: 'tts',
|
|
565
|
+
class: 'vxe-tool--suffix-wrapper'
|
|
566
|
+
}, getSlotVNs(toolSuffixSlot.call($xeToolbar, { tools: tools || [], $grid: $xeGrid, $gantt: $xeGantt, $table: $table }))));
|
|
539
567
|
}
|
|
540
|
-
return
|
|
568
|
+
return rtVNs;
|
|
541
569
|
},
|
|
542
570
|
renderToolImport(h) {
|
|
543
571
|
// 使用已安装的组件,如果未安装则不渲染
|
|
@@ -673,16 +701,10 @@ export default {
|
|
|
673
701
|
renderVN(h) {
|
|
674
702
|
const $xeToolbar = this;
|
|
675
703
|
const props = $xeToolbar;
|
|
676
|
-
const slots = $xeToolbar.$scopedSlots;
|
|
677
|
-
const internalData = $xeToolbar.internalData;
|
|
678
704
|
const $xeGrid = $xeToolbar.$xeGrid;
|
|
679
705
|
const $xeGantt = $xeToolbar.$xeGantt;
|
|
680
706
|
const $xeGGWrapper = $xeGrid || $xeGantt;
|
|
681
707
|
const { perfect, loading, refresh, zoom, custom, className } = props;
|
|
682
|
-
const { connectTable } = internalData;
|
|
683
|
-
const $table = connectTable;
|
|
684
|
-
const toolsSlot = slots.tools;
|
|
685
|
-
const buttonsSlot = slots.buttons;
|
|
686
708
|
const vSize = $xeToolbar.computeSize;
|
|
687
709
|
return h('div', {
|
|
688
710
|
ref: 'refElem',
|
|
@@ -694,10 +716,10 @@ export default {
|
|
|
694
716
|
}, [
|
|
695
717
|
h('div', {
|
|
696
718
|
class: 'vxe-buttons--wrapper'
|
|
697
|
-
},
|
|
719
|
+
}, $xeToolbar.renderLeftBtns(h)),
|
|
698
720
|
h('div', {
|
|
699
721
|
class: 'vxe-tools--wrapper'
|
|
700
|
-
},
|
|
722
|
+
}, $xeToolbar.renderRightTools(h)),
|
|
701
723
|
h('div', {
|
|
702
724
|
class: 'vxe-tools--operate'
|
|
703
725
|
}, [
|
package/es/toolbar/style.css
CHANGED
|
@@ -61,10 +61,6 @@
|
|
|
61
61
|
display: flex;
|
|
62
62
|
align-items: center;
|
|
63
63
|
}
|
|
64
|
-
.vxe-toolbar .vxe-buttons--wrapper,
|
|
65
|
-
.vxe-toolbar .vxe-tools--wrapper {
|
|
66
|
-
flex-wrap: wrap;
|
|
67
|
-
}
|
|
68
64
|
.vxe-toolbar .vxe-tools--operate {
|
|
69
65
|
flex-shrink: 0;
|
|
70
66
|
}
|
|
@@ -75,6 +71,17 @@
|
|
|
75
71
|
background-color: var(--vxe-ui-toolbar-custom-active-background-color);
|
|
76
72
|
border-radius: 50%;
|
|
77
73
|
}
|
|
74
|
+
.vxe-toolbar .vxe-button--item-wrapper,
|
|
75
|
+
.vxe-toolbar .vxe-tool--item-wrapper,
|
|
76
|
+
.vxe-toolbar .vxe-button--prefix-wrapper,
|
|
77
|
+
.vxe-toolbar .vxe-button--suffix-wrapper,
|
|
78
|
+
.vxe-toolbar .vxe-tool--prefix-wrapper,
|
|
79
|
+
.vxe-toolbar .vxe-tool--suffix-wrapper {
|
|
80
|
+
display: flex;
|
|
81
|
+
align-items: center;
|
|
82
|
+
flex-shrink: 0;
|
|
83
|
+
flex-wrap: wrap;
|
|
84
|
+
}
|
|
78
85
|
|
|
79
86
|
.vxe-toolbar {
|
|
80
87
|
font-size: var(--vxe-ui-font-size-default);
|
package/es/toolbar/style.min.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.vxe-toolbar{position:relative;display:flex;flex-direction:row;align-items:center;padding:.6em 0;color:var(--vxe-ui-font-color);font-family:var(--vxe-ui-font-family);background-color:var(--vxe-ui-layout-background-color)}.vxe-toolbar:after{content:"";display:block;clear:both;height:0;overflow:hidden;visibility:hidden}.vxe-toolbar.is--perfect{border:1px solid var(--vxe-ui-table-border-color);border-bottom-width:0;background-color:var(--vxe-ui-table-header-background-color)}.vxe-toolbar.is--loading:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:999;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vxe-ui-loading-background-color)}.vxe-toolbar .vxe-buttons--wrapper{flex-grow:1}.vxe-toolbar .vxe-buttons--wrapper>.vxe-button+.vxe-button--item,.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item+.vxe-button,.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item+.vxe-button--item{margin-left:.8em}.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item{display:inline-block}.vxe-toolbar .vxe-tools--wrapper>.vxe-button+.vxe-tool--item,.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item+.vxe-button,.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item+.vxe-tool--item{margin-left:.8em}.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item{display:inline-block}.vxe-toolbar .vxe-tools--wrapper>.vxe-button{display:flex;align-items:center;justify-content:center}.vxe-toolbar .vxe-buttons--wrapper,.vxe-toolbar .vxe-tools--operate,.vxe-toolbar .vxe-tools--wrapper{display:flex;align-items:center}.vxe-toolbar .vxe-
|
|
1
|
+
.vxe-toolbar{position:relative;display:flex;flex-direction:row;align-items:center;padding:.6em 0;color:var(--vxe-ui-font-color);font-family:var(--vxe-ui-font-family);background-color:var(--vxe-ui-layout-background-color)}.vxe-toolbar:after{content:"";display:block;clear:both;height:0;overflow:hidden;visibility:hidden}.vxe-toolbar.is--perfect{border:1px solid var(--vxe-ui-table-border-color);border-bottom-width:0;background-color:var(--vxe-ui-table-header-background-color)}.vxe-toolbar.is--loading:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:999;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vxe-ui-loading-background-color)}.vxe-toolbar .vxe-buttons--wrapper{flex-grow:1}.vxe-toolbar .vxe-buttons--wrapper>.vxe-button+.vxe-button--item,.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item+.vxe-button,.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item+.vxe-button--item{margin-left:.8em}.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item{display:inline-block}.vxe-toolbar .vxe-tools--wrapper>.vxe-button+.vxe-tool--item,.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item+.vxe-button,.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item+.vxe-tool--item{margin-left:.8em}.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item{display:inline-block}.vxe-toolbar .vxe-tools--wrapper>.vxe-button{display:flex;align-items:center;justify-content:center}.vxe-toolbar .vxe-buttons--wrapper,.vxe-toolbar .vxe-tools--operate,.vxe-toolbar .vxe-tools--wrapper{display:flex;align-items:center}.vxe-toolbar .vxe-tools--operate{flex-shrink:0}.vxe-toolbar .vxe-custom--wrapper{position:relative}.vxe-toolbar .vxe-custom--wrapper.is--active>.vxe-button{background-color:var(--vxe-ui-toolbar-custom-active-background-color);border-radius:50%}.vxe-toolbar .vxe-button--item-wrapper,.vxe-toolbar .vxe-button--prefix-wrapper,.vxe-toolbar .vxe-button--suffix-wrapper,.vxe-toolbar .vxe-tool--item-wrapper,.vxe-toolbar .vxe-tool--prefix-wrapper,.vxe-toolbar .vxe-tool--suffix-wrapper{display:flex;align-items:center;flex-shrink:0;flex-wrap:wrap}.vxe-toolbar{font-size:var(--vxe-ui-font-size-default)}.vxe-toolbar.size--medium{font-size:var(--vxe-ui-font-size-medium)}.vxe-toolbar.size--small{font-size:var(--vxe-ui-font-size-small)}.vxe-toolbar.size--mini{font-size:var(--vxe-ui-font-size-mini)}
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
package/es/vxe-toolbar/style.css
CHANGED
|
@@ -61,10 +61,6 @@
|
|
|
61
61
|
display: flex;
|
|
62
62
|
align-items: center;
|
|
63
63
|
}
|
|
64
|
-
.vxe-toolbar .vxe-buttons--wrapper,
|
|
65
|
-
.vxe-toolbar .vxe-tools--wrapper {
|
|
66
|
-
flex-wrap: wrap;
|
|
67
|
-
}
|
|
68
64
|
.vxe-toolbar .vxe-tools--operate {
|
|
69
65
|
flex-shrink: 0;
|
|
70
66
|
}
|
|
@@ -75,6 +71,17 @@
|
|
|
75
71
|
background-color: var(--vxe-ui-toolbar-custom-active-background-color);
|
|
76
72
|
border-radius: 50%;
|
|
77
73
|
}
|
|
74
|
+
.vxe-toolbar .vxe-button--item-wrapper,
|
|
75
|
+
.vxe-toolbar .vxe-tool--item-wrapper,
|
|
76
|
+
.vxe-toolbar .vxe-button--prefix-wrapper,
|
|
77
|
+
.vxe-toolbar .vxe-button--suffix-wrapper,
|
|
78
|
+
.vxe-toolbar .vxe-tool--prefix-wrapper,
|
|
79
|
+
.vxe-toolbar .vxe-tool--suffix-wrapper {
|
|
80
|
+
display: flex;
|
|
81
|
+
align-items: center;
|
|
82
|
+
flex-shrink: 0;
|
|
83
|
+
flex-wrap: wrap;
|
|
84
|
+
}
|
|
78
85
|
|
|
79
86
|
.vxe-toolbar {
|
|
80
87
|
font-size: var(--vxe-ui-font-size-default);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.vxe-toolbar{position:relative;display:flex;flex-direction:row;align-items:center;padding:.6em 0;color:var(--vxe-ui-font-color);font-family:var(--vxe-ui-font-family);background-color:var(--vxe-ui-layout-background-color)}.vxe-toolbar:after{content:"";display:block;clear:both;height:0;overflow:hidden;visibility:hidden}.vxe-toolbar.is--perfect{border:1px solid var(--vxe-ui-table-border-color);border-bottom-width:0;background-color:var(--vxe-ui-table-header-background-color)}.vxe-toolbar.is--loading:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:999;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vxe-ui-loading-background-color)}.vxe-toolbar .vxe-buttons--wrapper{flex-grow:1}.vxe-toolbar .vxe-buttons--wrapper>.vxe-button+.vxe-button--item,.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item+.vxe-button,.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item+.vxe-button--item{margin-left:.8em}.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item{display:inline-block}.vxe-toolbar .vxe-tools--wrapper>.vxe-button+.vxe-tool--item,.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item+.vxe-button,.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item+.vxe-tool--item{margin-left:.8em}.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item{display:inline-block}.vxe-toolbar .vxe-tools--wrapper>.vxe-button{display:flex;align-items:center;justify-content:center}.vxe-toolbar .vxe-buttons--wrapper,.vxe-toolbar .vxe-tools--operate,.vxe-toolbar .vxe-tools--wrapper{display:flex;align-items:center}.vxe-toolbar .vxe-
|
|
1
|
+
.vxe-toolbar{position:relative;display:flex;flex-direction:row;align-items:center;padding:.6em 0;color:var(--vxe-ui-font-color);font-family:var(--vxe-ui-font-family);background-color:var(--vxe-ui-layout-background-color)}.vxe-toolbar:after{content:"";display:block;clear:both;height:0;overflow:hidden;visibility:hidden}.vxe-toolbar.is--perfect{border:1px solid var(--vxe-ui-table-border-color);border-bottom-width:0;background-color:var(--vxe-ui-table-header-background-color)}.vxe-toolbar.is--loading:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:999;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vxe-ui-loading-background-color)}.vxe-toolbar .vxe-buttons--wrapper{flex-grow:1}.vxe-toolbar .vxe-buttons--wrapper>.vxe-button+.vxe-button--item,.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item+.vxe-button,.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item+.vxe-button--item{margin-left:.8em}.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item{display:inline-block}.vxe-toolbar .vxe-tools--wrapper>.vxe-button+.vxe-tool--item,.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item+.vxe-button,.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item+.vxe-tool--item{margin-left:.8em}.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item{display:inline-block}.vxe-toolbar .vxe-tools--wrapper>.vxe-button{display:flex;align-items:center;justify-content:center}.vxe-toolbar .vxe-buttons--wrapper,.vxe-toolbar .vxe-tools--operate,.vxe-toolbar .vxe-tools--wrapper{display:flex;align-items:center}.vxe-toolbar .vxe-tools--operate{flex-shrink:0}.vxe-toolbar .vxe-custom--wrapper{position:relative}.vxe-toolbar .vxe-custom--wrapper.is--active>.vxe-button{background-color:var(--vxe-ui-toolbar-custom-active-background-color);border-radius:50%}.vxe-toolbar .vxe-button--item-wrapper,.vxe-toolbar .vxe-button--prefix-wrapper,.vxe-toolbar .vxe-button--suffix-wrapper,.vxe-toolbar .vxe-tool--item-wrapper,.vxe-toolbar .vxe-tool--prefix-wrapper,.vxe-toolbar .vxe-tool--suffix-wrapper{display:flex;align-items:center;flex-shrink:0;flex-wrap:wrap}.vxe-toolbar{font-size:var(--vxe-ui-font-size-default)}.vxe-toolbar.size--medium{font-size:var(--vxe-ui-font-size-medium)}.vxe-toolbar.size--small{font-size:var(--vxe-ui-font-size-small)}.vxe-toolbar.size--mini{font-size:var(--vxe-ui-font-size-mini)}
|