bt-core-app 1.4.583 → 1.4.585

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.
@@ -40876,17 +40876,14 @@ const q1 = {
40876
40876
  setup(e) {
40877
40877
  const t = e, n = H(0), a = od(), l = _(() => t.width != null ? `width: ${t.width}px` : ""), r = _(() => (t.options ?? []).map((s, c) => {
40878
40878
  var h;
40879
- var u = {
40880
- index: c,
40881
- value: ""
40882
- };
40879
+ var u = { value: "", index: c + 1 };
40883
40880
  if (typeof s == "string")
40884
40881
  u.hide = !1, u.title = s, u.value = u.title.replaceAll(" ", "").toLowerCase();
40885
40882
  else {
40886
40883
  var f = s;
40887
40884
  u = {
40888
40885
  ...f,
40889
- index: c,
40886
+ index: c + 1,
40890
40887
  value: f.value ?? ((h = f.title) == null ? void 0 : h.replaceAll(" ", "").toLowerCase())
40891
40888
  };
40892
40889
  }
@@ -40911,7 +40908,7 @@ const q1 = {
40911
40908
  default: R(() => [
40912
40909
  (B(!0), fe(Me, null, Qe(i.value, (c) => (B(), ne(ct, {
40913
40910
  "append-icon": "$arrow-right",
40914
- onClick: (u) => n.value = c.index,
40911
+ onClick: (u) => n.value = c.index ?? 0,
40915
40912
  disabled: c.disabled,
40916
40913
  key: c.value ?? c.title,
40917
40914
  title: c.title
@@ -40923,7 +40920,8 @@ const q1 = {
40923
40920
  _: 1
40924
40921
  }),
40925
40922
  (B(!0), fe(Me, null, Qe(r.value, (c) => (B(), ne(vh, {
40926
- key: c.value ?? c.title
40923
+ key: c.value ?? c.title,
40924
+ value: c.index
40927
40925
  }, {
40928
40926
  default: R(() => [
40929
40927
  w(Aa, { "hide-on-leave": "" }, {
@@ -40954,7 +40952,7 @@ const q1 = {
40954
40952
  ye(o.$slots, (c.value ?? c.title).replaceAll(" ", "").toLowerCase())
40955
40953
  ]),
40956
40954
  _: 2
40957
- }, 1024))), 128))
40955
+ }, 1032, ["value"]))), 128))
40958
40956
  ]),
40959
40957
  _: 3
40960
40958
  }, 8, ["modelValue", "style"]));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.583",
3
+ "version": "1.4.585",
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": {