@byteluck-fe/runtime-desktop-controls 7.0.0-beta.12 → 7.0.0-beta.13

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.
@@ -92374,8 +92374,8 @@ const ULt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
92374
92374
  }), { getCacheDisplayValue: l } = li(e.instance), u = H(() => {
92375
92375
  const d = l(e.value);
92376
92376
  return d.length > 0 ? d.map((p) => {
92377
- const h = (p?.dept_name_path || p?.display_value)?.split("@").join("/").split("/");
92378
- return (displayLevel >= h?.length ? (p?.dept_name_path || p?.display_value)?.replace(/@/g, "/") : h.reverse().slice(0, displayLevel).reverse().join("/")) ?? p?.display_value ?? p?.department_name;
92377
+ const h = (p?.dept_name_path || p?.display_value)?.split("@").join("/").split("/"), f = e.instanceProps?.displayLevel;
92378
+ return (f >= h?.length ? (p?.dept_name_path || p?.display_value)?.replace(/@/g, "/") : h.reverse().slice(0, f).reverse().join("/")) ?? p?.display_value ?? p?.department_name;
92379
92379
  }) : (g(o)?.length || Array.isArray(e.value) && e.value.length && s(e.value), []);
92380
92380
  }), c = H(
92381
92381
  () => g(u).length ? g(u) : g(o)?.length ? g(o) : e.readList
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/runtime-desktop-controls",
3
- "version": "7.0.0-beta.12",
3
+ "version": "7.0.0-beta.13",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/runtime-desktop-controls.js",