vxe-pc-ui 4.15.26 → 4.15.27
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/dist/all.esm.js +6 -5
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/tree/src/tree.js +4 -3
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.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 +7 -4
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/tree/src/tree.js +5 -2
- package/lib/tree/src/tree.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/tree/src/tree.ts +4 -3
- package/types/components/table.d.ts +15 -0
- package/types/components/tree.d.ts +5 -0
- /package/es/icon/{iconfont.1783301651996.ttf → iconfont.1783330458652.ttf} +0 -0
- /package/es/icon/{iconfont.1783301651996.woff → iconfont.1783330458652.woff} +0 -0
- /package/es/icon/{iconfont.1783301651996.woff2 → iconfont.1783330458652.woff2} +0 -0
- /package/es/{iconfont.1783301651996.ttf → iconfont.1783330458652.ttf} +0 -0
- /package/es/{iconfont.1783301651996.woff → iconfont.1783330458652.woff} +0 -0
- /package/es/{iconfont.1783301651996.woff2 → iconfont.1783330458652.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1783301651996.ttf → iconfont.1783330458652.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1783301651996.woff → iconfont.1783330458652.woff} +0 -0
- /package/lib/icon/style/{iconfont.1783301651996.woff2 → iconfont.1783330458652.woff2} +0 -0
- /package/lib/{iconfont.1783301651996.ttf → iconfont.1783330458652.ttf} +0 -0
- /package/lib/{iconfont.1783301651996.woff → iconfont.1783330458652.woff} +0 -0
- /package/lib/{iconfont.1783301651996.woff2 → iconfont.1783330458652.woff2} +0 -0
package/dist/all.esm.js
CHANGED
|
@@ -81,7 +81,7 @@ function checkDynamic() {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
const { log } = VxeUI;
|
|
84
|
-
const uiVersion = `ui v${"4.15.
|
|
84
|
+
const uiVersion = `ui v${"4.15.27"}`;
|
|
85
85
|
function createComponentLog(name) {
|
|
86
86
|
const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : '';
|
|
87
87
|
const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
|
|
@@ -95,7 +95,7 @@ function createComponentLog(name) {
|
|
|
95
95
|
const warnLog$h = log.create('warn', uiVersion);
|
|
96
96
|
log.create('error', uiVersion);
|
|
97
97
|
|
|
98
|
-
const version = "4.15.
|
|
98
|
+
const version = "4.15.27";
|
|
99
99
|
VxeUI.uiVersion = version;
|
|
100
100
|
VxeUI.dynamicApp = dynamicApp;
|
|
101
101
|
function config(options) {
|
|
@@ -40626,6 +40626,7 @@ var VxeTreeComponent = defineVxeComponent({
|
|
|
40626
40626
|
checkboxConfig: Object,
|
|
40627
40627
|
nodeConfig: Object,
|
|
40628
40628
|
lazy: Boolean,
|
|
40629
|
+
visibleMethod: Function,
|
|
40629
40630
|
toggleMethod: Function,
|
|
40630
40631
|
loadMethod: Function,
|
|
40631
40632
|
showOverflow: {
|
|
@@ -43434,7 +43435,7 @@ var VxeTreeComponent = defineVxeComponent({
|
|
|
43434
43435
|
return renderEmptyElement($xeTree);
|
|
43435
43436
|
};
|
|
43436
43437
|
const renderNode = (node, nodeid) => {
|
|
43437
|
-
const { lazy, drag, transform, showRadio, showCheckbox, showLine, iconOpen, iconClose, iconLoaded, showIcon } = props;
|
|
43438
|
+
const { lazy, drag, transform, showRadio, showCheckbox, showLine, visibleMethod, iconOpen, iconClose, iconLoaded, showIcon } = props;
|
|
43438
43439
|
const { currentNode, selectRadioKey, updateExpandedFlag } = reactData;
|
|
43439
43440
|
const { afterTreeList, nodeMaps, treeExpandedMaps, treeExpandLazyLoadedMaps } = internalData;
|
|
43440
43441
|
const tooltipOpts = computeTooltipOpts.value;
|
|
@@ -43470,7 +43471,7 @@ var VxeTreeComponent = defineVxeComponent({
|
|
|
43470
43471
|
isLazyLoaded = !!nodeItem.treeLoaded;
|
|
43471
43472
|
}
|
|
43472
43473
|
const prevNode = nodeItem.items[nodeItem.treeIndex - 1];
|
|
43473
|
-
const nParams = { node, isExpand };
|
|
43474
|
+
const nParams = { node, isExpand, $tree: $xeTree };
|
|
43474
43475
|
const itemOns = {
|
|
43475
43476
|
onMousedown(evnt) {
|
|
43476
43477
|
handleNodeMousedownEvent(evnt, node);
|
|
@@ -43521,7 +43522,7 @@ var VxeTreeComponent = defineVxeComponent({
|
|
|
43521
43522
|
: renderEmptyElement($xeTree),
|
|
43522
43523
|
h('div', {
|
|
43523
43524
|
class: 'vxe-tree--node-item-switcher'
|
|
43524
|
-
}, showIcon && (lazy ? (isLazyLoaded ? isExistChild : hasLazyChilds) : isExistChild)
|
|
43525
|
+
}, showIcon && (lazy ? (isLazyLoaded ? isExistChild : hasLazyChilds) : isExistChild) && (!visibleMethod || visibleMethod(nParams))
|
|
43525
43526
|
? [
|
|
43526
43527
|
h('div', {
|
|
43527
43528
|
class: 'vxe-tree--node-item-icon',
|