bt-core-app 1.4.249 → 1.4.251
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/bt-core-app.js +9 -7
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -32814,20 +32814,22 @@ const $A = /* @__PURE__ */ Ze({
|
|
|
32814
32814
|
}), BA = /* @__PURE__ */ Ze({
|
|
32815
32815
|
__name: "BT-Btn",
|
|
32816
32816
|
props: {
|
|
32817
|
+
color: {},
|
|
32817
32818
|
icon: { default: void 0 },
|
|
32818
32819
|
isEditing: { type: Boolean, default: !0 },
|
|
32819
32820
|
preset: {},
|
|
32820
32821
|
size: { default: void 0 },
|
|
32821
|
-
variant: { default:
|
|
32822
|
+
variant: { default: void 0 }
|
|
32822
32823
|
},
|
|
32823
32824
|
setup(e) {
|
|
32824
|
-
const t = e, n = Ls(t.preset), a = S(() => t.icon ?? n.icon), r = Be("isEditing", () => W(!1), !0),
|
|
32825
|
-
return (
|
|
32826
|
-
|
|
32825
|
+
const t = e, n = Ls(t.preset), a = S(() => t.icon ?? n.icon), r = S(() => t.color ?? n.color), l = Be("isEditing", () => W(!1), !0), i = S(() => t.isEditing ?? n.isEditing ?? l.value), s = Be("size", () => W(t.size ?? "small"), !0), u = S(() => t.size ?? n.size ?? s.value), d = S(() => t.variant ?? n.variant);
|
|
32826
|
+
return (v, f) => (z(), se(qe, ge(v.$attrs, {
|
|
32827
|
+
color: r.value,
|
|
32828
|
+
disabled: !i.value,
|
|
32827
32829
|
icon: a.value,
|
|
32828
|
-
size:
|
|
32829
|
-
variant:
|
|
32830
|
-
}), null, 16, ["disabled", "icon", "size", "variant"]));
|
|
32830
|
+
size: u.value,
|
|
32831
|
+
variant: d.value
|
|
32832
|
+
}), null, 16, ["color", "disabled", "icon", "size", "variant"]));
|
|
32831
32833
|
}
|
|
32832
32834
|
}), NA = /* @__PURE__ */ Ze({
|
|
32833
32835
|
__name: "BT-Col",
|
package/package.json
CHANGED