smarteye-e-components 0.0.29 → 0.0.31

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.
@@ -533,7 +533,7 @@ const or = Re({
533
533
  return (f = e.controlParams) != null && f.onlyShowOnline && (v = l.online), h && v;
534
534
  },
535
535
  deviceText(l) {
536
- return l.name.length > 0 ? l.name : l.id;
536
+ return l.name.length > 0 ? `${l.name} [${l.id}]` : ` [${l.id}]`;
537
537
  },
538
538
  groupText(l) {
539
539
  if (l)
@@ -641,7 +641,7 @@ function _r(e, t, n, r, o, a) {
641
641
  }, 1032, ["deviceGroup", "controlParams"]))), 128)),
642
642
  G("div", {
643
643
  class: "device-show-div",
644
- style: ye(`height: ${e.filteredDevices.length > 10 ? "400px" : `${e.filteredDevices.length * 40}px`}`)
644
+ style: ye(`height: ${e.filteredDevices.length > 10 ? "400px" : `${e.filteredDevices.length * 40 + 10}px`}`)
645
645
  }, [
646
646
  ae(d, {
647
647
  "list-data": e.filteredDevices,
@@ -657,7 +657,7 @@ function _r(e, t, n, r, o, a) {
657
657
  class: "device-avatar"
658
658
  }),
659
659
  G("span", {
660
- title: _.id,
660
+ title: e.innerUtils.deviceText(_),
661
661
  class: "device-name"
662
662
  }, ge(e.innerUtils.deviceText(_)), 9, ur),
663
663
  G("div", fr, [
@@ -674,7 +674,7 @@ function _r(e, t, n, r, o, a) {
674
674
  ])) : xe("", !0)
675
675
  ], 2)) : xe("", !0);
676
676
  }
677
- const mr = /* @__PURE__ */ ke(or, [["render", _r], ["__scopeId", "data-v-6dae84d2"]]), dr = {
677
+ const mr = /* @__PURE__ */ ke(or, [["render", _r], ["__scopeId", "data-v-9eda3930"]]), dr = {
678
678
  width: 1024,
679
679
  height: 1024,
680
680
  body: '<path fill="currentColor" d="M384 192v640l384-320.064z"/>'