@hotelinking/ui 14.47.10 → 14.47.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.cjs +1 -1
- package/dist/ui.d.ts +20 -9
- package/dist/ui.es.js +344 -334
- package/package.json +1 -1
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
};
|
|
@@ -1575,29 +1579,36 @@ export declare interface UiSmartFilterMultipleEventInterface {
|
|
|
1575
1579
|
}[]): void;
|
|
1576
1580
|
}
|
|
1577
1581
|
|
|
1578
|
-
export declare const uiSmartFilterMultipleV2: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1582
|
+
export declare const uiSmartFilterMultipleV2: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1579
1583
|
smartFiltersSent: (filters: {
|
|
1580
1584
|
logicOperator: string;
|
|
1581
1585
|
filters: {
|
|
1582
|
-
|
|
1586
|
+
name: string;
|
|
1587
|
+
label: string;
|
|
1583
1588
|
type: "uiInput" | "uiSelect";
|
|
1584
1589
|
value: string | undefined;
|
|
1585
1590
|
}[];
|
|
1586
|
-
}) => any;
|
|
1591
|
+
} | undefined) => any;
|
|
1592
|
+
smartFiltersCleared: () => any;
|
|
1593
|
+
smartFilterDeleted: (I: number) => any;
|
|
1587
1594
|
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
1588
1595
|
onSmartFiltersSent?: ((filters: {
|
|
1589
1596
|
logicOperator: string;
|
|
1590
1597
|
filters: {
|
|
1591
|
-
|
|
1598
|
+
name: string;
|
|
1599
|
+
label: string;
|
|
1592
1600
|
type: "uiInput" | "uiSelect";
|
|
1593
1601
|
value: string | undefined;
|
|
1594
1602
|
}[];
|
|
1595
|
-
}) => any) | undefined;
|
|
1603
|
+
} | undefined) => any) | undefined;
|
|
1604
|
+
onSmartFiltersCleared?: (() => any) | undefined;
|
|
1605
|
+
onSmartFilterDeleted?: ((I: number) => any) | undefined;
|
|
1596
1606
|
}>, {
|
|
1597
1607
|
filters: {
|
|
1598
1608
|
logicOperator: string;
|
|
1599
1609
|
filters: {
|
|
1600
|
-
|
|
1610
|
+
name: string;
|
|
1611
|
+
label: string;
|
|
1601
1612
|
type: "uiInput" | "uiSelect";
|
|
1602
1613
|
value: string | undefined;
|
|
1603
1614
|
}[];
|