eco-vue-js 0.5.14 → 0.5.15
Sign up to get free protection for your applications and to get access to all the features.
@@ -5,12 +5,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
5
5
|
contentMaxWidth?: number | undefined;
|
6
6
|
horizontalAlign?: HorizontalAlign | undefined;
|
7
7
|
disabled?: boolean | undefined;
|
8
|
+
teleport?: boolean | undefined;
|
8
9
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
9
10
|
semanticType?: SemanticType | undefined;
|
10
11
|
contentMaxHeight?: number | undefined;
|
11
12
|
contentMaxWidth?: number | undefined;
|
12
13
|
horizontalAlign?: HorizontalAlign | undefined;
|
13
14
|
disabled?: boolean | undefined;
|
15
|
+
teleport?: boolean | undefined;
|
14
16
|
}>>>, {}, {}>, {
|
15
17
|
content?(_: {
|
16
18
|
close: () => void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonDropdown.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WButtonDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonDropdown.vue"],"names":[],"mappings":"AAiDA;AAEA,OAAO,EAAC,eAAe,EAAE,KAAK,YAAY,EAAC,MAAM,QAAQ,CAAA;;;;;;;;;;;;;;;;;;;;AA8MzD,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
@@ -20,7 +20,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
20
20
|
contentMaxHeight: {},
|
21
21
|
contentMaxWidth: {},
|
22
22
|
horizontalAlign: {},
|
23
|
-
disabled: { type: Boolean }
|
23
|
+
disabled: { type: Boolean },
|
24
|
+
teleport: { type: Boolean }
|
24
25
|
},
|
25
26
|
setup(__props) {
|
26
27
|
const isOpen = ref(false);
|
@@ -34,14 +35,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
34
35
|
"max-width": _ctx.contentMaxWidth ?? 320,
|
35
36
|
"horizontal-align": _ctx.horizontalAlign ?? unref(HorizontalAlign).LEFT_INNER,
|
36
37
|
"update-align": "",
|
37
|
-
teleport:
|
38
|
+
teleport: _ctx.teleport
|
38
39
|
}, {
|
39
40
|
toggle: withCtx(() => [
|
40
41
|
createElementVNode("div", _hoisted_1, [
|
41
42
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.$slots.button?.(), (item, index) => {
|
42
43
|
return openBlock(), createBlock(resolveDynamicComponent(item), {
|
43
44
|
key: index,
|
44
|
-
join: ""
|
45
|
+
join: "",
|
46
|
+
class: "flex-1"
|
45
47
|
});
|
46
48
|
}), 128)),
|
47
49
|
createVNode(_sfc_main$2, {
|
@@ -71,7 +73,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
71
73
|
})
|
72
74
|
]),
|
73
75
|
_: 3
|
74
|
-
}, 8, ["is-open", "max-height", "max-width", "horizontal-align"]);
|
76
|
+
}, 8, ["is-open", "max-height", "max-width", "horizontal-align", "teleport"]);
|
75
77
|
};
|
76
78
|
}
|
77
79
|
});
|