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.
Files changed (2) hide show
  1. package/dist/bt-core-app.js +20 -13
  2. package/package.json +1 -1
@@ -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, (i) => {
27681
- l.value = i;
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 r() {
27686
+ function i() {
27684
27687
  n("update:modelValue", l.value), n("change", l.value);
27685
27688
  }
27686
- return (i, o) => (N(), ce(Na, { "close-on-content-click": !1 }, {
27687
- activator: W(({ props: s }) => [
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: i.color,
27696
+ color: o.color,
27690
27697
  icon: "",
27691
27698
  size: "small"
27692
- }, s), null, 16, ["color"])
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": o[0] || (o[0] = (s) => l.value = s)
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: r }, {
27705
- default: W(() => o[1] || (o[1] = [
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "2.0.11",
3
+ "version": "2.0.12",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {