bt-core-app 1.4.295 → 1.4.296
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 +6 -3
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -35885,8 +35885,8 @@ const qL = /* @__PURE__ */ tt({
|
|
|
35885
35885
|
},
|
|
35886
35886
|
setup(e) {
|
|
35887
35887
|
const t = e, n = hi(), a = _(() => (l) => {
|
|
35888
|
-
let i =
|
|
35889
|
-
return i = t.option.textFunction != null
|
|
35888
|
+
let i = l;
|
|
35889
|
+
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
35890
|
}), 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
35891
|
return (l, i) => {
|
|
35892
35892
|
const o = ha("bt-entity");
|
|
@@ -38734,7 +38734,10 @@ const O3 = /* @__PURE__ */ Ud(z3, [["render", H3]]), W3 = /* @__PURE__ */ tt({
|
|
|
38734
38734
|
value: {}
|
|
38735
38735
|
},
|
|
38736
38736
|
setup(e) {
|
|
38737
|
-
const t = e, { findFilter: n } = hi(), a = _(() =>
|
|
38737
|
+
const t = e, { findFilter: n } = hi(), a = _(() => {
|
|
38738
|
+
const r = t.filter != null ? n(t.filter) : t.customFilter;
|
|
38739
|
+
return r != null ? r(t.value, t.format) : t.value;
|
|
38740
|
+
});
|
|
38738
38741
|
return (r, l) => (R(), se("span", null, Be(r.prefix) + Be(a.value) + Be(r.suffix), 1));
|
|
38739
38742
|
}
|
|
38740
38743
|
});
|
package/package.json
CHANGED