@hotelinking/ui 9.41.19 → 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.
- package/dist/types/components/Molecules/uiAlert/uiAlert.vue.d.ts +6 -2
- package/dist/types/types/index.d.ts +8 -0
- package/dist/ui.cjs +30 -19
- package/dist/ui.es.js +4529 -4420
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UiAlertInterface } from "
|
|
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, {}
|
|
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>;
|
|
@@ -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;
|