@hotelinking/ui 16.46.11 → 16.47.0

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
@@ -152,6 +152,13 @@ declare function install(app: App): void;
152
152
 
153
153
  export declare const MonoColors: readonly ["black", "gray", "white"];
154
154
 
155
+ declare interface Props {
156
+ /** Idioma del componente: 'esp' para español, 'eng' para inglés */
157
+ lang?: 'esp' | 'eng';
158
+ /** Enlace de soporte técnico */
159
+ supportLink?: string;
160
+ }
161
+
155
162
  export declare type SelectItemType = {
156
163
  /** Unique value inside the select */
157
164
  id?: string;
@@ -227,6 +234,11 @@ declare const Types: string[];
227
234
 
228
235
  declare type Types_2 = (typeof Types)[number];
229
236
 
237
+ export declare const ui404: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
238
+ lang: "esp" | "eng";
239
+ supportLink: string;
240
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
241
+
230
242
  export declare const uiAlert: __VLS_WithTemplateSlots_4<DefineComponent<UiAlertInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
231
243
  alertEvent: (T: string) => any;
232
244
  }, string, PublicProps, Readonly<UiAlertInterface> & Readonly<{
@@ -1689,6 +1701,11 @@ export declare interface UiTableEventsInterface {
1689
1701
  }): void;
1690
1702
  /** emitted when table action dropdown option is selected */
1691
1703
  (e: "tableActionSelected", T: UiDropdownItemType): void;
1704
+ /** emitted when a custom action button is clicked */
1705
+ (e: "tableActionButtonClicked", T: {
1706
+ id: string;
1707
+ text: string;
1708
+ }): void;
1692
1709
  /** emitted when page is changed */
1693
1710
  (e: "changePage", T: number): void;
1694
1711
  /** emitted when page size is changed */
@@ -1752,11 +1769,38 @@ export declare interface UiTableInterface {
1752
1769
  deleteAll: string;
1753
1770
  filter: string;
1754
1771
  };
1772
+ /** Pre-applied filters for uiSmartFilterMultipleV2 */
1773
+ filters?: {
1774
+ logicOperator: string;
1775
+ filters: Array<{
1776
+ name: string;
1777
+ label: string;
1778
+ type: 'uiInput' | 'uiSelect';
1779
+ value: string | undefined;
1780
+ }>;
1781
+ };
1755
1782
  /** Dropdown items for table actions */
1756
1783
  tableActionsDropdown?: {
1757
1784
  items: UiDropdownItemType[];
1758
1785
  loading?: boolean;
1759
1786
  };
1787
+ /** Custom action buttons to display alongside the dropdown */
1788
+ tableActionButtons?: Array<{
1789
+ /** Button text */
1790
+ text: string;
1791
+ /** Button action id */
1792
+ id: string;
1793
+ /** Button color */
1794
+ color?: Colors_2;
1795
+ /** Button size */
1796
+ size?: Sizes_2;
1797
+ /** Button is disabled */
1798
+ disabled?: boolean;
1799
+ /** Button icon from Heroicons */
1800
+ icon?: FunctionalComponent;
1801
+ /** Button is loading */
1802
+ loading?: boolean;
1803
+ }>;
1760
1804
  /** Pagination current page */
1761
1805
  paginationCurrent?: number;
1762
1806
  /** Pagination total pages */