bt-core-app 1.4.295 → 1.4.297

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.
@@ -33338,6 +33338,8 @@ function i1(e, t, n) {
33338
33338
  L.value = E != null;
33339
33339
  }), _e(() => e.refreshToggle, () => {
33340
33340
  Z({ deepRefresh: !0 });
33341
+ }), _e(() => e.itemID, () => {
33342
+ Z();
33341
33343
  }), pt(async () => {
33342
33344
  var E;
33343
33345
  e.eager == !0 && await Z({ deepRefresh: ((E = d == null ? void 0 : d.params) == null ? void 0 : E.refresh) == "true" });
@@ -35885,8 +35887,8 @@ const qL = /* @__PURE__ */ tt({
35885
35887
  },
35886
35888
  setup(e) {
35887
35889
  const t = e, n = hi(), a = _(() => (l) => {
35888
- let i = En(l, t.option.value);
35889
- return i = t.option.textFunction != null ? t.option.textFunction(i) : i, t.option.textFilter != null ? n.findFilter(t.option.textFilter)(i) : i;
35890
+ let i = l;
35891
+ return t.option.value != null && (i = En(l, t.option.value)), t.option.textFunction != null && (i = t.option.textFunction(i)), t.option.textFilter != null && (i = n.findFilter(t.option.textFilter)(i)), i;
35890
35892
  }), r = _(() => t.option.truncate == !0 && t.option.width != null ? `display: inline-block; width: ${t.option.width.includes("px") || t.option.width.includes("%") ? t.option.width : `${t.option.width}px`};` : "");
35891
35893
  return (l, i) => {
35892
35894
  const o = ha("bt-entity");
@@ -38734,7 +38736,10 @@ const O3 = /* @__PURE__ */ Ud(z3, [["render", H3]]), W3 = /* @__PURE__ */ tt({
38734
38736
  value: {}
38735
38737
  },
38736
38738
  setup(e) {
38737
- const t = e, { findFilter: n } = hi(), a = _(() => (t.filter != null ? n(t.filter) : t.customFilter)(t.value, t.format));
38739
+ const t = e, { findFilter: n } = hi(), a = _(() => {
38740
+ const r = t.filter != null ? n(t.filter) : t.customFilter;
38741
+ return r != null ? r(t.value, t.format) : t.value;
38742
+ });
38738
38743
  return (r, l) => (R(), se("span", null, Be(r.prefix) + Be(a.value) + Be(r.suffix), 1));
38739
38744
  }
38740
38745
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.295",
3
+ "version": "1.4.297",
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": {