@hotelinking/ui 16.48.2 → 16.48.5
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 +68 -0
- package/dist/ui.es.js +2695 -2396
- package/package.json +1 -1
package/dist/ui.d.ts
CHANGED
|
@@ -1180,7 +1180,9 @@ export declare interface UiPaginationInterface {
|
|
|
1180
1180
|
}
|
|
1181
1181
|
|
|
1182
1182
|
export declare const uiPriceCalendar: DefineComponent<UiPriceCalendarInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1183
|
+
changePage: (t: number) => any;
|
|
1183
1184
|
tableAction: (t: any) => any;
|
|
1185
|
+
changePageSize: (t: string | number) => any;
|
|
1184
1186
|
dateChanged: (t: Date) => any;
|
|
1185
1187
|
changeCategoryBulkPrices: () => any;
|
|
1186
1188
|
changeCategorySelectionPrice: (t: UiRoomTypeSelectionPriceType) => any;
|
|
@@ -1191,7 +1193,9 @@ roomId: string;
|
|
|
1191
1193
|
roomName: string;
|
|
1192
1194
|
}) => any;
|
|
1193
1195
|
}, string, PublicProps, Readonly<UiPriceCalendarInterface> & Readonly<{
|
|
1196
|
+
onChangePage?: ((t: number) => any) | undefined;
|
|
1194
1197
|
onTableAction?: ((t: any) => any) | undefined;
|
|
1198
|
+
onChangePageSize?: ((t: string | number) => any) | undefined;
|
|
1195
1199
|
onDateChanged?: ((t: Date) => any) | undefined;
|
|
1196
1200
|
onChangeCategoryBulkPrices?: (() => any) | undefined;
|
|
1197
1201
|
onChangeCategorySelectionPrice?: ((t: UiRoomTypeSelectionPriceType) => any) | undefined;
|
|
@@ -1252,6 +1256,20 @@ export declare interface UiPriceCalendarInterface {
|
|
|
1252
1256
|
floor: string;
|
|
1253
1257
|
pricesDiscount: string;
|
|
1254
1258
|
};
|
|
1259
|
+
/** Pagination current page */
|
|
1260
|
+
paginationCurrent?: number;
|
|
1261
|
+
/** Pagination total pages */
|
|
1262
|
+
paginationTotal?: number;
|
|
1263
|
+
/** Pagination total items */
|
|
1264
|
+
paginationTotalItems?: number;
|
|
1265
|
+
/** Page size options for dropdown */
|
|
1266
|
+
pageSizeOptions?: Array<{
|
|
1267
|
+
name: string;
|
|
1268
|
+
value: string | number;
|
|
1269
|
+
active?: boolean;
|
|
1270
|
+
}>;
|
|
1271
|
+
/** Current page size */
|
|
1272
|
+
currentPageSize?: number | string;
|
|
1255
1273
|
}
|
|
1256
1274
|
|
|
1257
1275
|
export declare type UiPriceCalendarRoomType = {
|
|
@@ -1284,6 +1302,10 @@ export declare interface UiPricesCalendarEventsInterface {
|
|
|
1284
1302
|
}): void;
|
|
1285
1303
|
/** click on table action */
|
|
1286
1304
|
(e: "tableAction", t: any): void;
|
|
1305
|
+
/** when page is changed */
|
|
1306
|
+
(e: "changePage", t: number): void;
|
|
1307
|
+
/** when page size is changed */
|
|
1308
|
+
(e: "changePageSize", t: number | string): void;
|
|
1287
1309
|
}
|
|
1288
1310
|
|
|
1289
1311
|
export declare const uiRangeSlider: DefineComponent<UiRangeSliderInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -1347,6 +1369,51 @@ export declare type UiRoomTypeSelectionPriceType = {
|
|
|
1347
1369
|
price: number;
|
|
1348
1370
|
};
|
|
1349
1371
|
|
|
1372
|
+
export declare const uiSecondarySidebar: DefineComponent<UiSecondarySidebarInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1373
|
+
itemSelected: (sectionId: string, itemId: string) => any;
|
|
1374
|
+
}, string, PublicProps, Readonly<UiSecondarySidebarInterface> & Readonly<{
|
|
1375
|
+
onItemSelected?: ((sectionId: string, itemId: string) => any) | undefined;
|
|
1376
|
+
}>, {
|
|
1377
|
+
loading: boolean;
|
|
1378
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
1379
|
+
|
|
1380
|
+
export declare interface UiSecondarySidebarInterface {
|
|
1381
|
+
/** sidebar title */
|
|
1382
|
+
title?: string;
|
|
1383
|
+
/** title icon (optional) */
|
|
1384
|
+
titleIcon?: FunctionalComponent;
|
|
1385
|
+
/** sections list */
|
|
1386
|
+
sections: UiSecondarySidebarSection[];
|
|
1387
|
+
/** loading state */
|
|
1388
|
+
loading?: boolean;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
export declare interface UiSecondarySidebarItem {
|
|
1392
|
+
/** item id */
|
|
1393
|
+
id: string;
|
|
1394
|
+
/** item name */
|
|
1395
|
+
name: string;
|
|
1396
|
+
/** item count (optional) */
|
|
1397
|
+
count?: number;
|
|
1398
|
+
/** item icon (optional, if not provided uses section default icon) */
|
|
1399
|
+
icon?: FunctionalComponent;
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
export declare interface UiSecondarySidebarSection {
|
|
1403
|
+
/** section id */
|
|
1404
|
+
id: string;
|
|
1405
|
+
/** section title (optional) */
|
|
1406
|
+
title?: string;
|
|
1407
|
+
/** section items */
|
|
1408
|
+
items: UiSecondarySidebarItem[];
|
|
1409
|
+
/** default icon for items in this section (if item doesn't have its own icon) */
|
|
1410
|
+
defaultIcon?: FunctionalComponent;
|
|
1411
|
+
/** selection style: 'primary' (dark background) or 'secondary' (light background) */
|
|
1412
|
+
selectionStyle?: 'primary' | 'secondary';
|
|
1413
|
+
/** selected item id in this section */
|
|
1414
|
+
selectedItemId?: string | null;
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1350
1417
|
export declare const uiSectionTitle: DefineComponent<UiSectionTitleInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<UiSectionTitleInterface> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1351
1418
|
|
|
1352
1419
|
export declare interface UiSectionTitleInterface {
|
|
@@ -2231,6 +2298,7 @@ export declare interface UiWrapperInterface {
|
|
|
2231
2298
|
profileMenu?: {
|
|
2232
2299
|
name: string;
|
|
2233
2300
|
id: string;
|
|
2301
|
+
current?: boolean;
|
|
2234
2302
|
}[];
|
|
2235
2303
|
/** top bar search items */
|
|
2236
2304
|
selectItems: SelectItemType[];
|