bkui-vue 0.0.1-beta.75 → 0.0.1-beta.76
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/index.cjs.js +7 -7
- package/dist/index.esm.js +2 -2
- package/dist/index.umd.js +7 -7
- package/lib/tree/index.js +1 -1
- package/lib/tree/use-node-attribute.d.ts +11 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -21325,7 +21325,7 @@ var useNodeAttribute = (flatData, props) => {
|
|
21325
21325
|
}
|
21326
21326
|
return getSourceNodeByUID(getNodeParentIdById(uid));
|
21327
21327
|
};
|
21328
|
-
const resolveScopedSlotParam = (item) =>
|
21328
|
+
const resolveScopedSlotParam = (item) => ({
|
21329
21329
|
loading: getNodeAttr2(item, NODE_ATTRIBUTES.IS_LOADING),
|
21330
21330
|
hasChildNode: hasChildNode(item),
|
21331
21331
|
isMatched: isNodeMatched(item),
|
@@ -21521,7 +21521,7 @@ var useNodeAction = (props, ctx, flatData, renderData, schemaValues, initOption)
|
|
21521
21521
|
setNodeAttr(item, NODE_ATTRIBUTES.IS_OPENED, newVal);
|
21522
21522
|
if (fireEmit) {
|
21523
21523
|
const emitEvent = isItemOpen(item) ? EVENTS.NODE_EXPAND : EVENTS.NODE_COLLAPSE;
|
21524
|
-
ctx.emit(emitEvent, resolveScopedSlotParam(item), getSchemaVal2(item[NODE_ATTRIBUTES.UUID]), e);
|
21524
|
+
ctx.emit(emitEvent, item, resolveScopedSlotParam(item), getSchemaVal2(item[NODE_ATTRIBUTES.UUID]), e);
|
21525
21525
|
}
|
21526
21526
|
if (newVal) {
|
21527
21527
|
return;
|