@hotelinking/ui 14.47.11 → 14.47.13

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
@@ -77,7 +77,7 @@ export declare const BiggerSizes: readonly ["bigger", "huge", "massive"];
77
77
  * Configuración completa de una categoría de filtro
78
78
  */
79
79
  declare interface CategoryConfig {
80
- id: string;
80
+ label: string;
81
81
  name: string;
82
82
  componentType: 'uiInput' | 'uiSelect';
83
83
  defaultProps: FilterProps;
@@ -166,6 +166,7 @@ export declare type FileInputType = {
166
166
  */
167
167
  declare interface FilterProps {
168
168
  name?: string;
169
+ label?: string;
169
170
  value?: string;
170
171
  items?: SelectItemType[];
171
172
  select?: SelectItemType;
@@ -205,7 +206,8 @@ declare interface Props {
205
206
  filters?: {
206
207
  logicOperator: string;
207
208
  filters: Array<{
208
- category: string;
209
+ name: string;
210
+ label: string;
209
211
  type: 'uiInput' | 'uiSelect';
210
212
  value: string | undefined;
211
213
  }>;
@@ -214,9 +216,11 @@ declare interface Props {
214
216
 
215
217
  export declare type SelectItemType = {
216
218
  /** Unique value inside the select */
217
- id: string;
219
+ id?: string;
218
220
  /** Name of the item */
219
221
  name: string;
222
+ /** Label of the item */
223
+ label?: string;
220
224
  /** In case of smart filters the type of component should be attached to smart filter */
221
225
  type?: 'uiInput' | 'uiSelect';
222
226
  };
@@ -1579,7 +1583,8 @@ export declare const uiSmartFilterMultipleV2: DefineComponent<Props, {}, {}, {},
1579
1583
  smartFiltersSent: (filters: {
1580
1584
  logicOperator: string;
1581
1585
  filters: {
1582
- category: string;
1586
+ name: string;
1587
+ label: string;
1583
1588
  type: "uiInput" | "uiSelect";
1584
1589
  value: string | undefined;
1585
1590
  }[];
@@ -1590,7 +1595,8 @@ smartFilterDeleted: (I: number) => any;
1590
1595
  onSmartFiltersSent?: ((filters: {
1591
1596
  logicOperator: string;
1592
1597
  filters: {
1593
- category: string;
1598
+ name: string;
1599
+ label: string;
1594
1600
  type: "uiInput" | "uiSelect";
1595
1601
  value: string | undefined;
1596
1602
  }[];
@@ -1601,7 +1607,8 @@ onSmartFilterDeleted?: ((I: number) => any) | undefined;
1601
1607
  filters: {
1602
1608
  logicOperator: string;
1603
1609
  filters: {
1604
- category: string;
1610
+ name: string;
1611
+ label: string;
1605
1612
  type: "uiInput" | "uiSelect";
1606
1613
  value: string | undefined;
1607
1614
  }[];