vxe-pc-ui 4.15.26 → 4.15.28
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 +9 -7
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/es/color-picker/src/color-picker.js +3 -2
- 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/color-picker/src/color-picker.js +5 -2
- package/lib/color-picker/src/color-picker.min.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 +12 -6
- 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/color-picker/src/color-picker.ts +3 -2
- 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.1783338721172.ttf} +0 -0
- /package/es/icon/{iconfont.1783301651996.woff → iconfont.1783338721172.woff} +0 -0
- /package/es/icon/{iconfont.1783301651996.woff2 → iconfont.1783338721172.woff2} +0 -0
- /package/es/{iconfont.1783301651996.ttf → iconfont.1783338721172.ttf} +0 -0
- /package/es/{iconfont.1783301651996.woff → iconfont.1783338721172.woff} +0 -0
- /package/es/{iconfont.1783301651996.woff2 → iconfont.1783338721172.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1783301651996.ttf → iconfont.1783338721172.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1783301651996.woff → iconfont.1783338721172.woff} +0 -0
- /package/lib/icon/style/{iconfont.1783301651996.woff2 → iconfont.1783338721172.woff2} +0 -0
- /package/lib/{iconfont.1783301651996.ttf → iconfont.1783338721172.ttf} +0 -0
- /package/lib/{iconfont.1783301651996.woff → iconfont.1783338721172.woff} +0 -0
- /package/lib/{iconfont.1783301651996.woff2 → iconfont.1783338721172.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.28"}`;
|
|
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.28";
|
|
99
99
|
VxeUI.uiVersion = version;
|
|
100
100
|
VxeUI.dynamicApp = dynamicApp;
|
|
101
101
|
function config(options) {
|
|
@@ -16168,8 +16168,9 @@ var VxeColorPickerComponent = defineVxeComponent({
|
|
|
16168
16168
|
hideOptionPanel();
|
|
16169
16169
|
};
|
|
16170
16170
|
const confirmEvent = (evnt) => {
|
|
16171
|
-
const { selectColor } = reactData;
|
|
16172
|
-
|
|
16171
|
+
const { selectTyle, selectColor, hexValue } = reactData;
|
|
16172
|
+
const value = selectTyle === 'hex' ? hexValue : selectColor;
|
|
16173
|
+
changeEvent(evnt, value);
|
|
16173
16174
|
hideOptionPanel();
|
|
16174
16175
|
};
|
|
16175
16176
|
const togglePanelEvent = (evnt) => {
|
|
@@ -40626,6 +40627,7 @@ var VxeTreeComponent = defineVxeComponent({
|
|
|
40626
40627
|
checkboxConfig: Object,
|
|
40627
40628
|
nodeConfig: Object,
|
|
40628
40629
|
lazy: Boolean,
|
|
40630
|
+
visibleMethod: Function,
|
|
40629
40631
|
toggleMethod: Function,
|
|
40630
40632
|
loadMethod: Function,
|
|
40631
40633
|
showOverflow: {
|
|
@@ -43434,7 +43436,7 @@ var VxeTreeComponent = defineVxeComponent({
|
|
|
43434
43436
|
return renderEmptyElement($xeTree);
|
|
43435
43437
|
};
|
|
43436
43438
|
const renderNode = (node, nodeid) => {
|
|
43437
|
-
const { lazy, drag, transform, showRadio, showCheckbox, showLine, iconOpen, iconClose, iconLoaded, showIcon } = props;
|
|
43439
|
+
const { lazy, drag, transform, showRadio, showCheckbox, showLine, visibleMethod, iconOpen, iconClose, iconLoaded, showIcon } = props;
|
|
43438
43440
|
const { currentNode, selectRadioKey, updateExpandedFlag } = reactData;
|
|
43439
43441
|
const { afterTreeList, nodeMaps, treeExpandedMaps, treeExpandLazyLoadedMaps } = internalData;
|
|
43440
43442
|
const tooltipOpts = computeTooltipOpts.value;
|
|
@@ -43470,7 +43472,7 @@ var VxeTreeComponent = defineVxeComponent({
|
|
|
43470
43472
|
isLazyLoaded = !!nodeItem.treeLoaded;
|
|
43471
43473
|
}
|
|
43472
43474
|
const prevNode = nodeItem.items[nodeItem.treeIndex - 1];
|
|
43473
|
-
const nParams = { node, isExpand };
|
|
43475
|
+
const nParams = { node, isExpand, $tree: $xeTree };
|
|
43474
43476
|
const itemOns = {
|
|
43475
43477
|
onMousedown(evnt) {
|
|
43476
43478
|
handleNodeMousedownEvent(evnt, node);
|
|
@@ -43521,7 +43523,7 @@ var VxeTreeComponent = defineVxeComponent({
|
|
|
43521
43523
|
: renderEmptyElement($xeTree),
|
|
43522
43524
|
h('div', {
|
|
43523
43525
|
class: 'vxe-tree--node-item-switcher'
|
|
43524
|
-
}, showIcon && (lazy ? (isLazyLoaded ? isExistChild : hasLazyChilds) : isExistChild)
|
|
43526
|
+
}, showIcon && (lazy ? (isLazyLoaded ? isExistChild : hasLazyChilds) : isExistChild) && (!visibleMethod || visibleMethod(nParams))
|
|
43525
43527
|
? [
|
|
43526
43528
|
h('div', {
|
|
43527
43529
|
class: 'vxe-tree--node-item-icon',
|