@softheon/armature 17.15.6 → 17.15.8

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.
@@ -27,7 +27,10 @@ export declare class SofTableComponent implements OnInit, OnChanges {
27
27
  * @see The Demo site is saving to local storage.
28
28
  */
29
29
  showSaveColumnOptionsText: boolean;
30
- /** Name/label of the table */
30
+ /**
31
+ * Name/label of the table
32
+ * @note should be a translation key
33
+ */
31
34
  tableName: string;
32
35
  /** Users saved column options state */
33
36
  private savedColumnState;
@@ -35,10 +38,10 @@ export declare class SofTableComponent implements OnInit, OnChanges {
35
38
  updatedColumnState: EventEmitter<ApplyColumnStateParams>;
36
39
  /** the search input */
37
40
  gridSearchTextInput: ElementRef<HTMLInputElement>;
41
+ /** The hidden element that announces when the table content changes from filter */
42
+ ariaResultsCount: ElementRef<HTMLElement>;
38
43
  /** Column names that should be filterable */
39
44
  colFilters: Array<SofTableFilter>;
40
- /** Show filter */
41
- showFilter: boolean;
42
45
  /** Row Height for table */
43
46
  rowHeight: number;
44
47
  /** Current Page Index */
@@ -51,7 +54,11 @@ export declare class SofTableComponent implements OnInit, OnChanges {
51
54
  paginationPageSize: number;
52
55
  /** Tool tip show delay */
53
56
  tooltipShowDelay: number;
54
- /** Default Column Definition */
57
+ /**
58
+ * Default Column Definition
59
+ * @note (suppressKeyboardEvent) Table cells can be navigated with the arrow keys,
60
+ * if the cell contains a button you can Tab into the button, enter | space to interact.
61
+ */
55
62
  defaultColDef: ColDef;
56
63
  /** Length of data */
57
64
  totalLength: number;
@@ -67,6 +74,8 @@ export declare class SofTableComponent implements OnInit, OnChanges {
67
74
  filterSelections: Array<Array<string>>;
68
75
  /** mat-dialog */
69
76
  private dialog;
77
+ /** Translation service */
78
+ private translateService;
70
79
  /** On component init */
71
80
  ngOnInit(): void;
72
81
  /**
@@ -101,7 +110,10 @@ export declare class SofTableComponent implements OnInit, OnChanges {
101
110
  * @param event The pagination event
102
111
  */
103
112
  changePageSize(event: PaginationChangedEvent): void;
104
- /** Called when the grid filter is changed */
113
+ /**
114
+ * Called when the grid filter is changed
115
+ * @todo update the filter dropdown options based on the filtered data set, instead of the complete data set.
116
+ */
105
117
  onFilterChanged(): void;
106
118
  /** Generated text for showing pages in format: 1-11 of 11 */
107
119
  private handlePageChangeText;
@@ -1692,127 +1692,155 @@ button.soft-button-icon-v2{
1692
1692
  color: rgba(0, 0, 0, 0.87) !important;
1693
1693
  font-family: Poppins !important;
1694
1694
  }
1695
- button.button-icon-utility{
1695
+
1696
+ button.button-icon-utility {
1696
1697
  display: flex !important;
1697
- padding: 0px!important;
1698
- border-radius: 4px !important;
1699
- height: 24px !important;
1700
1698
  justify-content: center !important;
1701
1699
  align-items: center !important;
1702
1700
  gap: 8px !important;
1701
+ padding: 0px!important;
1702
+ border-radius: 4px !important;
1703
+ height: 24px !important;
1703
1704
  width: 24px !important;
1704
- &.mat-mdc-unelevated-button span.mdc-button__label.mdc-button__label{
1705
+
1706
+ &.mat-mdc-unelevated-button span.mdc-button__label.mdc-button__label {
1705
1707
  display: flex;
1706
1708
  align-items: center;
1707
1709
  font-size: 20px;
1708
-
1709
1710
  }
1710
- &.mdc-button{
1711
+
1712
+ &.mdc-button {
1711
1713
  min-width: 24px;
1712
1714
  }
1713
1715
 
1714
1716
  &.full-width {
1715
1717
  width: 100% !important; // Use this is button width will take size of flex percentage
1716
1718
  }
1717
- &:enabled{
1718
- &.mat-primary{
1719
+
1720
+ &:enabled {
1721
+ &:focus {
1722
+ outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1723
+ outline-offset: 2px !important;
1724
+ }
1725
+
1726
+ &.mat-primary {
1719
1727
  background: mat.get-color-from-palette($arm-primary, 500);
1720
1728
  color: map-get($arm-error, contrast, 900);
1721
1729
  border-radius: 4px solid !important;
1730
+
1722
1731
  &:hover {
1723
- background-color: mat.get-color-from-palette($arm-primary, 700) !important;
1732
+ background-color: mat.get-color-from-palette($arm-primary, 700) !important;
1724
1733
  color: map-get($arm-error, contrast, 700);
1725
1734
  }
1735
+
1726
1736
  &:focus {
1727
- background-color: mat.get-color-from-palette($arm-primary, 700) !important;
1728
- outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1729
- outline-offset: 2px !important;
1737
+ background-color: mat.get-color-from-palette($arm-primary, 700) !important;
1730
1738
  }
1731
1739
  }
1732
- &.mat-secondary{
1740
+
1741
+ &.mat-secondary {
1733
1742
  background-color: #FAFAFA !important;
1734
- color: #146EF6 !important;
1735
- &:hover{
1736
- background-color: #F5F5F5 !important;
1737
- color: #146EF6 !important;
1738
- }
1743
+ color: #146EF6 !important;
1744
+
1745
+ &:hover{
1746
+ background-color: #F5F5F5 !important;
1747
+ color: #146EF6 !important;
1748
+ }
1749
+
1739
1750
  &:focus{
1740
1751
  background-color: #E9E9E9 !important;
1741
1752
  }
1742
1753
  }
1743
- &.mat-tertiary{
1744
- color: #146EF6 !important;
1745
- background: transparent !important;
1754
+
1755
+ &.mat-tertiary {
1756
+ color: #146EF6 !important;
1757
+ background: transparent !important;
1758
+
1746
1759
  &:focus{
1747
1760
  background-color: rgba(20, 110, 246, 0.08) !important;
1748
1761
  }
1762
+
1749
1763
  &:hover{
1750
1764
  background-color: rgba(20, 110, 246, 0.04) !important;
1751
1765
  }
1752
1766
  }
1753
- &.mat-contained{
1767
+
1768
+ &.mat-contained {
1754
1769
  color: #146EF6 !important;
1755
1770
  background: none !important;
1756
1771
  border: 2px solid #146EF6 !important;
1757
- &:focus{
1772
+
1773
+ &:focus {
1758
1774
  border: 3px solid mat.get-color-from-palette($arm-primary, 700) !important;
1759
1775
  color: map-get($arm-error, contrast, 700);
1760
1776
  background-color: rgba(20, 110, 246, 0.08) !important;
1761
1777
  }
1762
- &:hover{
1778
+
1779
+ &:hover {
1763
1780
  background-color:rgba(20, 110, 246, 0.04)!important;
1764
1781
  }
1765
1782
  }
1766
- &.mat-contained-error{
1783
+
1784
+ &.mat-contained-error {
1767
1785
  color:rgba(215, 36, 26, 1) !important;
1768
1786
  background: none !important;
1769
1787
  border: 2px solid rgba(215, 36, 26, 1) !important;
1770
- &:focus{
1771
- border: 3px solid mat.get-color-from-palette($arm-error, 700) !important;
1772
- color: map-get($arm-error, contrast, 700);
1773
- background-color:rgba(215, 36, 26, 0.08) !important;
1774
- }
1775
- &:hover{
1776
- background-color: rgba(215, 36, 26, 0.04) !important;
1777
- }
1778
-
1788
+
1789
+ &:focus{
1790
+ border: 3px solid mat.get-color-from-palette($arm-error, 700) !important;
1791
+ color: map-get($arm-error, contrast, 700);
1792
+ background-color:rgba(215, 36, 26, 0.08) !important;
1793
+ }
1794
+
1795
+ &:hover{
1796
+ background-color: rgba(215, 36, 26, 0.04) !important;
1797
+ }
1779
1798
  }
1780
- &.mat-error-primary{
1799
+
1800
+ &.mat-error-primary {
1781
1801
  background: rgba(215, 36, 26, 1) !important;
1782
1802
  color: map-get($arm-error, contrast, 900);
1803
+
1783
1804
  &:hover {
1784
1805
  background-color: mat.get-color-from-palette($arm-error, 700);
1785
1806
  color: map-get($arm-error, contrast, 700);
1786
1807
  }
1808
+
1787
1809
  &:focus {
1788
1810
  background-color: rgba(199, 22, 15, 1) !important;
1789
1811
  }
1790
1812
  }
1791
- &.mat-error-secondary{
1813
+
1814
+ &.mat-error-secondary {
1792
1815
  background-color: #FAFAFA !important;
1793
1816
  color: rgba(215, 36, 26, 1) !important;
1817
+
1794
1818
  &:hover {
1795
1819
  background-color: rgba(245, 245, 245, 1) !important;
1796
1820
  color: map-get($arm-error, contrast, 700);
1797
1821
  }
1822
+
1798
1823
  &:focus {
1799
1824
  background-color:rgba(233, 233, 233, 1) !important;
1800
1825
  }
1801
1826
  }
1802
- &.mat-error-tertiary{
1827
+
1828
+ &.mat-error-tertiary {
1803
1829
  background: transparent !important;
1804
1830
  color: rgba(215, 36, 26, 1) !important;
1831
+
1805
1832
  &:hover {
1806
1833
  background-color: rgba(215, 36, 26, 0.04) !important;
1807
1834
  color: map-get($arm-error, contrast, 700);
1808
1835
  }
1836
+
1809
1837
  &:focus {
1810
1838
  background-color: rgba(215, 36, 26, 0.08) !important;
1811
1839
  }
1812
1840
  }
1841
+ }
1813
1842
 
1814
- }
1815
- &:disabled {
1843
+ &:disabled {
1816
1844
  &.mat-primary{
1817
1845
  background-color: #FAFAFA !important;
1818
1846
  }
@@ -1827,7 +1855,7 @@ button.button-icon-utility{
1827
1855
  &.mat-contained-error{
1828
1856
  background-color: transparent !important;
1829
1857
  border: 3px solid rgba(0, 0, 0, 0.38) !important;
1830
- color:rgba(0, 0, 0, 0.38) !important ;
1858
+ color:rgba(0, 0, 0, 0.38) !important;
1831
1859
  }
1832
1860
  &.mat-tertiary{
1833
1861
  background-color: transparent !important;
@@ -1845,10 +1873,10 @@ button.button-icon-utility{
1845
1873
  }
1846
1874
  &.mat-error-secondary{
1847
1875
  background: rgba(250, 250, 250, 1) !important;
1848
-
1849
1876
  }
1850
1877
  }
1851
1878
  }
1879
+
1852
1880
  mat-card {
1853
1881
  &.mat-mdc-card.item-list {
1854
1882
  box-shadow: 0px 1px 7px rgb(166 159 159 / 25%) !important;
@@ -1858,6 +1886,7 @@ mat-card {
1858
1886
  padding: 0px !important;
1859
1887
  }
1860
1888
  }
1889
+
1861
1890
  .mat-mdc-dialog-title {
1862
1891
  font-family: Merriweather, serif !important;
1863
1892
  font-style: normal !important;