@airpower/web 2.0.1 → 2.0.2
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.
|
@@ -30,6 +30,9 @@ declare const _default: <T extends ITree & RootEntity>(__VLS_props: NonNullable<
|
|
|
30
30
|
attrs: any;
|
|
31
31
|
slots: {
|
|
32
32
|
icon?(_: {}): any;
|
|
33
|
+
beforeSearch?(_: {}): any;
|
|
34
|
+
afterSearch?(_: {}): any;
|
|
35
|
+
afterTree?(_: {}): any;
|
|
33
36
|
default?(_: {}): any;
|
|
34
37
|
};
|
|
35
38
|
emit: (evt: "change", data: T | undefined) => void;
|
package/dist/main.js
CHANGED
|
@@ -18349,6 +18349,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
18349
18349
|
renderSlot(_ctx.$slots, "icon")
|
|
18350
18350
|
]),
|
|
18351
18351
|
default: withCtx(() => [
|
|
18352
|
+
renderSlot(_ctx.$slots, "beforeSearch"),
|
|
18352
18353
|
__props.searchable ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
|
|
18353
18354
|
createVNode(unref(ElInput), {
|
|
18354
18355
|
modelValue: searchKeyword.value,
|
|
@@ -18357,6 +18358,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
18357
18358
|
clearable: ""
|
|
18358
18359
|
}, null, 8, ["modelValue", "placeholder"])
|
|
18359
18360
|
])) : createCommentVNode("", true),
|
|
18361
|
+
renderSlot(_ctx.$slots, "afterSearch"),
|
|
18360
18362
|
withDirectives(createVNode(unref(ElTree), {
|
|
18361
18363
|
ref_key: "treeRef",
|
|
18362
18364
|
ref: treeRef,
|
|
@@ -18371,7 +18373,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
18371
18373
|
onNodeClick: treeSelectChanged
|
|
18372
18374
|
}, null, 8, ["current-node-key", "data", "default-expand-all", "props"]), [
|
|
18373
18375
|
[_directive_loading, __props.isTreeLoading]
|
|
18374
|
-
])
|
|
18376
|
+
]),
|
|
18377
|
+
renderSlot(_ctx.$slots, "afterTree")
|
|
18375
18378
|
]),
|
|
18376
18379
|
_: 3
|
|
18377
18380
|
}, 8, ["hide-icon", "show-title", "title"]), [
|