@hotelinking/ui 16.46.11 → 16.46.12

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/ui.d.ts CHANGED
@@ -1689,6 +1689,11 @@ export declare interface UiTableEventsInterface {
1689
1689
  }): void;
1690
1690
  /** emitted when table action dropdown option is selected */
1691
1691
  (e: "tableActionSelected", T: UiDropdownItemType): void;
1692
+ /** emitted when a custom action button is clicked */
1693
+ (e: "tableActionButtonClicked", T: {
1694
+ id: string;
1695
+ text: string;
1696
+ }): void;
1692
1697
  /** emitted when page is changed */
1693
1698
  (e: "changePage", T: number): void;
1694
1699
  /** emitted when page size is changed */
@@ -1752,11 +1757,38 @@ export declare interface UiTableInterface {
1752
1757
  deleteAll: string;
1753
1758
  filter: string;
1754
1759
  };
1760
+ /** Pre-applied filters for uiSmartFilterMultipleV2 */
1761
+ filters?: {
1762
+ logicOperator: string;
1763
+ filters: Array<{
1764
+ name: string;
1765
+ label: string;
1766
+ type: 'uiInput' | 'uiSelect';
1767
+ value: string | undefined;
1768
+ }>;
1769
+ };
1755
1770
  /** Dropdown items for table actions */
1756
1771
  tableActionsDropdown?: {
1757
1772
  items: UiDropdownItemType[];
1758
1773
  loading?: boolean;
1759
1774
  };
1775
+ /** Custom action buttons to display alongside the dropdown */
1776
+ tableActionButtons?: Array<{
1777
+ /** Button text */
1778
+ text: string;
1779
+ /** Button action id */
1780
+ id: string;
1781
+ /** Button color */
1782
+ color?: Colors_2;
1783
+ /** Button size */
1784
+ size?: Sizes_2;
1785
+ /** Button is disabled */
1786
+ disabled?: boolean;
1787
+ /** Button icon from Heroicons */
1788
+ icon?: FunctionalComponent;
1789
+ /** Button is loading */
1790
+ loading?: boolean;
1791
+ }>;
1760
1792
  /** Pagination current page */
1761
1793
  paginationCurrent?: number;
1762
1794
  /** Pagination total pages */