myio-js-library 0.1.80 → 0.1.82

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/index.cjs CHANGED
@@ -1927,7 +1927,7 @@ var MyIOSelectionStoreClass = class {
1927
1927
  }
1928
1928
  // Core Selection Methods
1929
1929
  add(id) {
1930
- console.log("Entrou na LIB", id);
1930
+ console.log("[MyIOSelectionStoreClass] Entrou na LIB", id);
1931
1931
  const wasSelected = this.selectedIds.has(id);
1932
1932
  this.selectedIds.add(id);
1933
1933
  if (!wasSelected) {
@@ -1936,11 +1936,10 @@ var MyIOSelectionStoreClass = class {
1936
1936
  }
1937
1937
  }
1938
1938
  remove(id) {
1939
- console.log("ITEM PARA REMO\xC7\xC2O ID", id);
1940
- const itemToRemove = Array.from(this.selectedIds).find((obj) => obj.id === id);
1941
- if (!itemToRemove) return;
1942
- console.log("DELETE ID", id);
1943
- this.selectedIds.delete(itemToRemove);
1939
+ console.log("[MyIOSelectionStoreClass] ITEM PARA REMO\xC7\xC3O ID", id);
1940
+ if (!this.selectedIds.has(id)) return;
1941
+ console.log("[MyIOSelectionStoreClass] DELETE ID", id);
1942
+ this.selectedIds.delete(id);
1944
1943
  this._emitSelectionChange("remove", id);
1945
1944
  this._trackEvent("footer_dock.remove_chip", { entityId: id });
1946
1945
  }
@@ -1992,8 +1991,8 @@ var MyIOSelectionStoreClass = class {
1992
1991
  return Array.from(this.selectedIds);
1993
1992
  }
1994
1993
  getSelectedEntities() {
1995
- console.log("biblioteca:", this.getSelectedIds());
1996
- return this.getSelectedIds();
1994
+ console.log("[MyIOSelectionStoreClass] biblioteca:", this.getSelectedIds());
1995
+ return this.getSelectedIds().map((id) => this.entities.get(id)).filter((entity) => entity !== void 0);
1997
1996
  }
1998
1997
  getTotals() {
1999
1998
  const selectedEntities = this.getSelectedEntities();
@@ -3677,6 +3676,7 @@ var CSS_STRING = `
3677
3676
  transition: all 0.2s ease;
3678
3677
  min-width: 252px;
3679
3678
  max-width: 288px;
3679
+ overflow: visible;
3680
3680
  }
3681
3681
 
3682
3682
  .myio-ho-card:hover {
@@ -3718,6 +3718,7 @@ var CSS_STRING = `
3718
3718
  align-items: flex-start;
3719
3719
  gap: 12px;
3720
3720
  margin-bottom: 10px;
3721
+ overflow: visible;
3721
3722
  }
3722
3723
 
3723
3724
  .myio-ho-card__icon {
@@ -3780,6 +3781,8 @@ var CSS_STRING = `
3780
3781
  align-items: center;
3781
3782
  gap: 8px;
3782
3783
  flex-shrink: 0;
3784
+ position: relative;
3785
+ z-index: 10;
3783
3786
  }
3784
3787
 
3785
3788
  .myio-ho-card__kebab {
@@ -3791,6 +3794,7 @@ var CSS_STRING = `
3791
3794
  color: var(--myio-muted);
3792
3795
  transition: all 0.15s ease;
3793
3796
  position: relative;
3797
+ overflow: visible;
3794
3798
  }
3795
3799
 
3796
3800
  .myio-ho-card__kebab:hover {
@@ -3805,14 +3809,14 @@ var CSS_STRING = `
3805
3809
 
3806
3810
  .myio-ho-card__menu {
3807
3811
  position: absolute;
3808
- top: 16%;
3812
+ top: 100%;
3809
3813
  right: 0;
3810
3814
  background: white;
3811
3815
  border: 1px solid var(--myio-card-border);
3812
3816
  border-radius: 8px;
3813
3817
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
3814
- z-index: 1000;
3815
- min-width: 140px;
3818
+ z-index: 10000;
3819
+ min-width: 160px;
3816
3820
  padding: 4px 0;
3817
3821
  margin-top: 4px;
3818
3822
  }
package/dist/index.js CHANGED
@@ -1839,7 +1839,7 @@ var MyIOSelectionStoreClass = class {
1839
1839
  }
1840
1840
  // Core Selection Methods
1841
1841
  add(id) {
1842
- console.log("Entrou na LIB", id);
1842
+ console.log("[MyIOSelectionStoreClass] Entrou na LIB", id);
1843
1843
  const wasSelected = this.selectedIds.has(id);
1844
1844
  this.selectedIds.add(id);
1845
1845
  if (!wasSelected) {
@@ -1848,11 +1848,10 @@ var MyIOSelectionStoreClass = class {
1848
1848
  }
1849
1849
  }
1850
1850
  remove(id) {
1851
- console.log("ITEM PARA REMO\xC7\xC2O ID", id);
1852
- const itemToRemove = Array.from(this.selectedIds).find((obj) => obj.id === id);
1853
- if (!itemToRemove) return;
1854
- console.log("DELETE ID", id);
1855
- this.selectedIds.delete(itemToRemove);
1851
+ console.log("[MyIOSelectionStoreClass] ITEM PARA REMO\xC7\xC3O ID", id);
1852
+ if (!this.selectedIds.has(id)) return;
1853
+ console.log("[MyIOSelectionStoreClass] DELETE ID", id);
1854
+ this.selectedIds.delete(id);
1856
1855
  this._emitSelectionChange("remove", id);
1857
1856
  this._trackEvent("footer_dock.remove_chip", { entityId: id });
1858
1857
  }
@@ -1904,8 +1903,8 @@ var MyIOSelectionStoreClass = class {
1904
1903
  return Array.from(this.selectedIds);
1905
1904
  }
1906
1905
  getSelectedEntities() {
1907
- console.log("biblioteca:", this.getSelectedIds());
1908
- return this.getSelectedIds();
1906
+ console.log("[MyIOSelectionStoreClass] biblioteca:", this.getSelectedIds());
1907
+ return this.getSelectedIds().map((id) => this.entities.get(id)).filter((entity) => entity !== void 0);
1909
1908
  }
1910
1909
  getTotals() {
1911
1910
  const selectedEntities = this.getSelectedEntities();
@@ -3589,6 +3588,7 @@ var CSS_STRING = `
3589
3588
  transition: all 0.2s ease;
3590
3589
  min-width: 252px;
3591
3590
  max-width: 288px;
3591
+ overflow: visible;
3592
3592
  }
3593
3593
 
3594
3594
  .myio-ho-card:hover {
@@ -3630,6 +3630,7 @@ var CSS_STRING = `
3630
3630
  align-items: flex-start;
3631
3631
  gap: 12px;
3632
3632
  margin-bottom: 10px;
3633
+ overflow: visible;
3633
3634
  }
3634
3635
 
3635
3636
  .myio-ho-card__icon {
@@ -3692,6 +3693,8 @@ var CSS_STRING = `
3692
3693
  align-items: center;
3693
3694
  gap: 8px;
3694
3695
  flex-shrink: 0;
3696
+ position: relative;
3697
+ z-index: 10;
3695
3698
  }
3696
3699
 
3697
3700
  .myio-ho-card__kebab {
@@ -3703,6 +3706,7 @@ var CSS_STRING = `
3703
3706
  color: var(--myio-muted);
3704
3707
  transition: all 0.15s ease;
3705
3708
  position: relative;
3709
+ overflow: visible;
3706
3710
  }
3707
3711
 
3708
3712
  .myio-ho-card__kebab:hover {
@@ -3717,14 +3721,14 @@ var CSS_STRING = `
3717
3721
 
3718
3722
  .myio-ho-card__menu {
3719
3723
  position: absolute;
3720
- top: 16%;
3724
+ top: 100%;
3721
3725
  right: 0;
3722
3726
  background: white;
3723
3727
  border: 1px solid var(--myio-card-border);
3724
3728
  border-radius: 8px;
3725
3729
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
3726
- z-index: 1000;
3727
- min-width: 140px;
3730
+ z-index: 10000;
3731
+ min-width: 160px;
3728
3732
  padding: 4px 0;
3729
3733
  margin-top: 4px;
3730
3734
  }
@@ -1845,7 +1845,7 @@
1845
1845
  }
1846
1846
  // Core Selection Methods
1847
1847
  add(id) {
1848
- console.log("Entrou na LIB", id);
1848
+ console.log("[MyIOSelectionStoreClass] Entrou na LIB", id);
1849
1849
  const wasSelected = this.selectedIds.has(id);
1850
1850
  this.selectedIds.add(id);
1851
1851
  if (!wasSelected) {
@@ -1854,11 +1854,10 @@
1854
1854
  }
1855
1855
  }
1856
1856
  remove(id) {
1857
- console.log("ITEM PARA REMO\xC7\xC2O ID", id);
1858
- const itemToRemove = Array.from(this.selectedIds).find((obj) => obj.id === id);
1859
- if (!itemToRemove) return;
1860
- console.log("DELETE ID", id);
1861
- this.selectedIds.delete(itemToRemove);
1857
+ console.log("[MyIOSelectionStoreClass] ITEM PARA REMO\xC7\xC3O ID", id);
1858
+ if (!this.selectedIds.has(id)) return;
1859
+ console.log("[MyIOSelectionStoreClass] DELETE ID", id);
1860
+ this.selectedIds.delete(id);
1862
1861
  this._emitSelectionChange("remove", id);
1863
1862
  this._trackEvent("footer_dock.remove_chip", { entityId: id });
1864
1863
  }
@@ -1910,8 +1909,8 @@
1910
1909
  return Array.from(this.selectedIds);
1911
1910
  }
1912
1911
  getSelectedEntities() {
1913
- console.log("biblioteca:", this.getSelectedIds());
1914
- return this.getSelectedIds();
1912
+ console.log("[MyIOSelectionStoreClass] biblioteca:", this.getSelectedIds());
1913
+ return this.getSelectedIds().map((id) => this.entities.get(id)).filter((entity) => entity !== void 0);
1915
1914
  }
1916
1915
  getTotals() {
1917
1916
  const selectedEntities = this.getSelectedEntities();
@@ -3595,6 +3594,7 @@
3595
3594
  transition: all 0.2s ease;
3596
3595
  min-width: 252px;
3597
3596
  max-width: 288px;
3597
+ overflow: visible;
3598
3598
  }
3599
3599
 
3600
3600
  .myio-ho-card:hover {
@@ -3636,6 +3636,7 @@
3636
3636
  align-items: flex-start;
3637
3637
  gap: 12px;
3638
3638
  margin-bottom: 10px;
3639
+ overflow: visible;
3639
3640
  }
3640
3641
 
3641
3642
  .myio-ho-card__icon {
@@ -3698,6 +3699,8 @@
3698
3699
  align-items: center;
3699
3700
  gap: 8px;
3700
3701
  flex-shrink: 0;
3702
+ position: relative;
3703
+ z-index: 10;
3701
3704
  }
3702
3705
 
3703
3706
  .myio-ho-card__kebab {
@@ -3709,6 +3712,7 @@
3709
3712
  color: var(--myio-muted);
3710
3713
  transition: all 0.15s ease;
3711
3714
  position: relative;
3715
+ overflow: visible;
3712
3716
  }
3713
3717
 
3714
3718
  .myio-ho-card__kebab:hover {
@@ -3723,14 +3727,14 @@
3723
3727
 
3724
3728
  .myio-ho-card__menu {
3725
3729
  position: absolute;
3726
- top: 16%;
3730
+ top: 100%;
3727
3731
  right: 0;
3728
3732
  background: white;
3729
3733
  border: 1px solid var(--myio-card-border);
3730
3734
  border-radius: 8px;
3731
3735
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
3732
- z-index: 1000;
3733
- min-width: 140px;
3736
+ z-index: 10000;
3737
+ min-width: 160px;
3734
3738
  padding: 4px 0;
3735
3739
  margin-top: 4px;
3736
3740
  }