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