@hotelinking/ui 9.41.28 → 9.41.30

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,4 +1,4 @@
1
- import { UiWrapperInterface } from '@/types';
1
+ import { SelectItemType, UiWrapperInterface } from '@/types';
2
2
  declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: {
@@ -8,7 +8,17 @@ declare function __VLS_template(): {
8
8
  rootEl: HTMLDivElement;
9
9
  };
10
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import("vue").DefineComponent<UiWrapperInterface, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UiWrapperInterface> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
11
+ declare const __VLS_component: import("vue").DefineComponent<UiWrapperInterface, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
+ selectChanged: (T: SelectItemType) => any;
13
+ sideBarClick: (t: string) => any;
14
+ productBarClick: (t: string) => any;
15
+ topBarClick: (T: string) => any;
16
+ }, string, import("vue").PublicProps, Readonly<UiWrapperInterface> & Readonly<{
17
+ onSelectChanged?: ((T: SelectItemType) => any) | undefined;
18
+ onSideBarClick?: ((t: string) => any) | undefined;
19
+ onProductBarClick?: ((t: string) => any) | undefined;
20
+ onTopBarClick?: ((T: string) => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
12
22
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
23
  export default _default;
14
24
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -801,7 +801,7 @@ export interface uiSidebarV2EventsInterface {
801
801
  /** emits product name when clicked */
802
802
  (e: 'productBarClick', t: string): void;
803
803
  /** emitted when a link is clicked, emits item id */
804
- (e: 'sideBarClick', t: string): any;
804
+ (e: 'sideBarClick', t: string): void;
805
805
  }
806
806
  export interface UiStatsInterface {
807
807
  item: {
@@ -1014,19 +1014,35 @@ export interface UiTopbarEventsInterface {
1014
1014
  }
1015
1015
  export interface UiWrapperInterface {
1016
1016
  topbar: {
1017
+ /** product logo */
1017
1018
  logo: string;
1019
+ /** is an alert */
1018
1020
  alerted?: boolean;
1021
+ /** brand logo */
1019
1022
  accountLogo?: string;
1023
+ /** brand profile menu */
1020
1024
  profileMenu?: {
1021
1025
  name: string;
1022
1026
  id: string;
1023
- current?: boolean;
1024
1027
  }[];
1028
+ /** top bar search items */
1025
1029
  selectItems: SelectItemType[];
1030
+ /** top bar search selected item */
1026
1031
  selectedItem: SelectItemType;
1027
1032
  };
1033
+ /** wrapper sidebar */
1028
1034
  sidebar: UiSidebarV2Interface;
1029
1035
  }
1036
+ export interface UiWrapperEventsInterface {
1037
+ /** emits product name when clicked */
1038
+ (e: 'productBarClick', t: string): void;
1039
+ /** emitted when a link is clicked, emits item id */
1040
+ (e: 'sideBarClick', t: string): void;
1041
+ /** When a item is selected */
1042
+ (e: "selectChanged", T: SelectItemType): void;
1043
+ /** when clicked in any menu item */
1044
+ (e: "topBarClick", T: string): void;
1045
+ }
1030
1046
  export interface UiDynamicStatsInterface {
1031
1047
  /** uiStat Array */
1032
1048
  dynamicStats: UiStatsInterface["item"][];