@tb-dev/vue-components 2.2.0 → 2.2.1
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.
|
@@ -11,13 +11,13 @@ declare function __VLS_template(): {
|
|
|
11
11
|
description?: () => VNode;
|
|
12
12
|
footer?: () => VNode;
|
|
13
13
|
title?: () => VNode;
|
|
14
|
-
trigger
|
|
14
|
+
trigger?: () => VNode;
|
|
15
15
|
}> & {
|
|
16
16
|
default: () => VNode;
|
|
17
17
|
description?: () => VNode;
|
|
18
18
|
footer?: () => VNode;
|
|
19
19
|
title?: () => VNode;
|
|
20
|
-
trigger
|
|
20
|
+
trigger?: () => VNode;
|
|
21
21
|
};
|
|
22
22
|
refs: {};
|
|
23
23
|
rootEl: any;
|
package/dist/index.js
CHANGED
|
@@ -2173,12 +2173,15 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
|
|
|
2173
2173
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isOpen.value = $event)
|
|
2174
2174
|
}, {
|
|
2175
2175
|
default: withCtx(() => [
|
|
2176
|
-
|
|
2176
|
+
_ctx.$slots.trigger ? (openBlock(), createBlock(unref(_sfc_main$2e), {
|
|
2177
|
+
key: 0,
|
|
2178
|
+
"as-child": ""
|
|
2179
|
+
}, {
|
|
2177
2180
|
default: withCtx(() => [
|
|
2178
2181
|
renderSlot(_ctx.$slots, "trigger")
|
|
2179
2182
|
]),
|
|
2180
2183
|
_: 3
|
|
2181
|
-
}),
|
|
2184
|
+
})) : createCommentVNode("", true),
|
|
2182
2185
|
createVNode(unref(_sfc_main$2j), {
|
|
2183
2186
|
class: normalizeClass(_ctx.contentClass)
|
|
2184
2187
|
}, {
|