@hotelinking/ui 9.41.12 → 9.41.15

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.
@@ -1,10 +1,10 @@
1
1
  import { UiNoResultsInterface } from "../../../types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<UiNoResultsInterface>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  action: (T: string) => void;
4
- noResultsSelectChanged: (T: any) => void;
4
+ noResultsOptionSelected: (T: any) => void;
5
5
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<UiNoResultsInterface>>> & {
6
6
  onAction?: ((T: string) => any) | undefined;
7
- onNoResultsSelectChanged?: ((T: any) => any) | undefined;
7
+ onNoResultsOptionSelected?: ((T: any) => any) | undefined;
8
8
  }, {}, {}>;
9
9
  export default _default;
10
10
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,11 +1,11 @@
1
- import { UiSidebarInterface } from "@/types";
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<UiSidebarInterface>, {
1
+ import { UiSidebarV2Interface } from "@/types";
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<UiSidebarV2Interface>, {
3
3
  loading: boolean;
4
4
  isFilterNavigation: boolean;
5
5
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
6
  sideBarClick: (...args: any[]) => void;
7
7
  productBarClick: (...args: any[]) => void;
8
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<UiSidebarInterface>, {
8
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<UiSidebarV2Interface>, {
9
9
  loading: boolean;
10
10
  isFilterNavigation: boolean;
11
11
  }>>> & {
@@ -170,7 +170,7 @@ export interface UiFilterInterface {
170
170
  active?: boolean;
171
171
  }[];
172
172
  position?: "left" | "right";
173
- label: string;
173
+ label?: string;
174
174
  loading?: boolean;
175
175
  }
176
176
  export interface UiModalInterface {
@@ -354,8 +354,8 @@ export interface UiNoResultsInterface {
354
354
  action: string;
355
355
  text: string;
356
356
  }[];
357
- items: SelectItemType[];
358
- select: SelectItemType;
357
+ items: UiDropdownItemType[];
358
+ select: UiDropdownItemType;
359
359
  }
360
360
  export interface UiPaginationInterface {
361
361
  current: number;
@@ -391,6 +391,35 @@ export interface UiSidebarInterface {
391
391
  loading?: boolean;
392
392
  logo?: string;
393
393
  }
394
+ export interface UiSidebarV2Interface {
395
+ navigation?: {
396
+ name: string;
397
+ icon?: any;
398
+ current?: boolean;
399
+ id?: string;
400
+ children?: {
401
+ name: string;
402
+ id: string;
403
+ current?: boolean;
404
+ }[];
405
+ }[];
406
+ filterNavigation?: {
407
+ hasSearch?: boolean;
408
+ search?: UiInputInterface;
409
+ items?: {
410
+ label: string;
411
+ filters: UiCheckboxInterface[];
412
+ }[];
413
+ };
414
+ isFilterNavigation?: boolean;
415
+ loading?: boolean;
416
+ logo?: string;
417
+ productsSidebar: {
418
+ name: string;
419
+ icon: any;
420
+ active?: boolean;
421
+ }[];
422
+ }
394
423
  export interface UiStatsInterface {
395
424
  item: {
396
425
  icon: any;
@@ -510,7 +539,7 @@ export interface UiWrapperInterface {
510
539
  selectItems: SelectItemType[];
511
540
  selectedItem: SelectItemType;
512
541
  };
513
- sidebar: UiSidebarInterface;
542
+ sidebar: UiSidebarV2Interface;
514
543
  }
515
544
  export interface UiDynamicStatsInterface {
516
545
  dynamicStats: {