eco-vue-js 0.5.14 → 0.5.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Button/WButtonDropdown.vue.d.ts +2 -0
- package/dist/components/Button/WButtonDropdown.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonDropdown.vue.js +6 -4
- package/dist/components/Button/WButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonGroup.vue.js +3 -2
- package/package.json +1 -1
@@ -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
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonGroup.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonGroup.vue"],"names":[],"mappings":"AAsCA;AAGA,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;;;;;;;;;UA4BzC,MAAM,EAAE;wCACsB,MAAM,KAAK,KAAK;gBAnBxC,KAAK;;;;;;;;;;;;UAaX,KAAK,EAAE;kBACC,WAAW,GAAG,SAAS;gBAdzB,KAAK;;;;;WA2KZ,GAAG;;uBA1BkB,GAAG;;;YACD,GAAG;;cAzH3B,mBAAmB,SAAS,KAAK,KAAG,IAAI;yCAiJ9B,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,KAAG,IAAI;;;;;;;;;cAxJjD,MAAM,EAAE;4CACsB,MAAM,KAAK,KAAK;oBAnBxC,KAAK;;;;;;;;;;;;cAaX,KAAK,EAAE;sBACC,WAAW,GAAG,SAAS;oBAdzB,KAAK;;;;;oBA0KH,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;uBA1BkB,GAAG;;;YACD,GAAG;;cAzH3B,mBAAmB,SAAS,KAAK,KAAG,IAAI;;;;;;;;;;;;;kBAPtC,MAAM,EAAE;gDACsB,MAAM,KAAK,KAAK;wBAnBxC,KAAK;;;;;;;;;;;;kBAaX,KAAK,EAAE;0BACC,WAAW,GAAG,SAAS;wBAdzB,KAAK;;;;;wBA0KH,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;eAClD,GAAG;;2BA1BkB,GAAG;;;gBACD,GAAG;;kBAzH3B,mBAAmB,SAAS,KAAK,KAAG,IAAI;;;AAhC9C,wBAuL2E"}
|
@@ -41,7 +41,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
41
41
|
createElementVNode("div", {
|
42
42
|
class: normalizeClass(["flex", {
|
43
43
|
"flex-wrap gap-2": _ctx.wrap,
|
44
|
-
"flex-col gap-2
|
44
|
+
"flex-col gap-2": _ctx.col,
|
45
|
+
"items-start": _ctx.col && !_ctx.stretch
|
45
46
|
}])
|
46
47
|
}, [
|
47
48
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.list, (item, index) => {
|
@@ -51,7 +52,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
51
52
|
loading: getValue(item) === _ctx.loading,
|
52
53
|
disabled: _ctx.disabled || _ctx.loading !== void 0 && getValue(item) !== _ctx.loading,
|
53
54
|
minimize: _ctx.minimize,
|
54
|
-
join: !_ctx.wrap,
|
55
|
+
join: !_ctx.wrap && !_ctx.col,
|
55
56
|
class: normalizeClass({
|
56
57
|
"flex-1": _ctx.stretch
|
57
58
|
}),
|