bt-core-app 2.0.11 → 2.0.13
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 +23 -14
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -27672,37 +27672,46 @@ const DR = ci({
|
|
|
27672
27672
|
__name: "BT-Color-Picker-Menu",
|
|
27673
27673
|
props: {
|
|
27674
27674
|
color: {},
|
|
27675
|
-
|
|
27675
|
+
hideButton: { type: Boolean },
|
|
27676
|
+
modelValue: {},
|
|
27677
|
+
openToggle: { type: Boolean }
|
|
27676
27678
|
},
|
|
27677
27679
|
emits: ["update:modelValue", "change"],
|
|
27678
27680
|
setup(e, { emit: t }) {
|
|
27679
|
-
const a = e, n = t, l = G(a.color);
|
|
27680
|
-
_e(() => a.modelValue, (
|
|
27681
|
-
l.value =
|
|
27681
|
+
const a = e, n = t, l = G(a.color), r = G(!1);
|
|
27682
|
+
_e(() => a.modelValue, (o) => {
|
|
27683
|
+
l.value = o;
|
|
27684
|
+
}), _e(() => a.openToggle, () => {
|
|
27685
|
+
r.value = !0;
|
|
27682
27686
|
});
|
|
27683
|
-
function
|
|
27687
|
+
function i() {
|
|
27684
27688
|
n("update:modelValue", l.value), n("change", l.value);
|
|
27685
27689
|
}
|
|
27686
|
-
return (
|
|
27687
|
-
|
|
27688
|
-
|
|
27689
|
-
|
|
27690
|
+
return (o, s) => (N(), ce(Na, {
|
|
27691
|
+
"close-on-content-click": !1,
|
|
27692
|
+
modelValue: r.value,
|
|
27693
|
+
"onUpdate:modelValue": s[1] || (s[1] = (c) => r.value = c)
|
|
27694
|
+
}, {
|
|
27695
|
+
activator: W(({ props: c }) => [
|
|
27696
|
+
o.hideButton ? ee("", !0) : (N(), ce(Pe, ye({
|
|
27697
|
+
key: 0,
|
|
27698
|
+
color: o.color,
|
|
27690
27699
|
icon: "",
|
|
27691
27700
|
size: "small"
|
|
27692
|
-
},
|
|
27701
|
+
}, c), null, 16, ["color"]))
|
|
27693
27702
|
]),
|
|
27694
27703
|
default: W(() => [
|
|
27695
27704
|
w(Nt, null, {
|
|
27696
27705
|
default: W(() => [
|
|
27697
27706
|
w(Pd, {
|
|
27698
27707
|
modelValue: l.value,
|
|
27699
|
-
"onUpdate:modelValue":
|
|
27708
|
+
"onUpdate:modelValue": s[0] || (s[0] = (c) => l.value = c)
|
|
27700
27709
|
}, null, 8, ["modelValue"])
|
|
27701
27710
|
]),
|
|
27702
27711
|
actions: W(() => [
|
|
27703
27712
|
w(ma),
|
|
27704
|
-
w(Pe, { onClick:
|
|
27705
|
-
default: W(() =>
|
|
27713
|
+
w(Pe, { onClick: i }, {
|
|
27714
|
+
default: W(() => s[2] || (s[2] = [
|
|
27706
27715
|
je("Apply")
|
|
27707
27716
|
])),
|
|
27708
27717
|
_: 1
|
|
@@ -27712,7 +27721,7 @@ const DR = ci({
|
|
|
27712
27721
|
})
|
|
27713
27722
|
]),
|
|
27714
27723
|
_: 1
|
|
27715
|
-
}));
|
|
27724
|
+
}, 8, ["modelValue"]));
|
|
27716
27725
|
}
|
|
27717
27726
|
}), IR = { class: "d-flex pr-2" }, ER = /* @__PURE__ */ et({
|
|
27718
27727
|
__name: "BT-Cosmetics-Menu",
|
package/package.json
CHANGED