@hotelinking/ui 9.41.18 → 9.41.20

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 { UiAlertInterface } from "../../../types";
1
+ import { UiAlertInterface } from "@/types";
2
2
  declare function __VLS_template(): {
3
3
  slots: {
4
4
  default?(_: {}): any;
@@ -7,7 +7,11 @@ declare function __VLS_template(): {
7
7
  attrs: Partial<{}>;
8
8
  };
9
9
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import("vue").DefineComponent<UiAlertInterface, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UiAlertInterface> & Readonly<{}>, {
10
+ declare const __VLS_component: import("vue").DefineComponent<UiAlertInterface, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
11
+ alertEvent: (T: string) => any;
12
+ }, string, import("vue").PublicProps, Readonly<UiAlertInterface> & Readonly<{
13
+ onAlertEvent?: ((T: string) => any) | undefined;
14
+ }>, {
11
15
  loading: boolean;
12
16
  type: string;
13
17
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -114,7 +114,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
114
114
  isBasePrice: boolean;
115
115
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
116
116
  uiButton: {
117
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../../../types/index.js").UiButtonInterface> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("../../../types/index.js").UiButtonInterface> & Readonly<{}>, {
117
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../../../types/index.js").UiButtonInterface> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
118
118
  size: "small" | "medium" | "big";
119
119
  color: "primary" | "secondary" | "light" | "green" | "yellow" | "red";
120
120
  loading: boolean;
@@ -266,14 +266,22 @@ export interface UiToggleInterface {
266
266
  loading: boolean;
267
267
  }
268
268
  export interface UiAlertInterface {
269
+ /** List of possible actions that are at the bottom of the notification */
269
270
  actions?: {
270
271
  name: string;
271
272
  event: string;
272
273
  }[];
274
+ /** Notification title */
273
275
  title: string;
276
+ /** Notification type */
274
277
  type?: string;
278
+ /** Is loading or not */
275
279
  loading?: boolean;
276
280
  }
281
+ export interface UiAlertEventsInterface {
282
+ /** When an alert action is clicked */
283
+ (e: 'alertEvent', T: string): void;
284
+ }
277
285
  export interface UiBreadcrumbsInterface {
278
286
  pages: {
279
287
  name: string;