@hotelinking/ui 16.49.22 → 16.49.24
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.d.ts +285 -146
- package/package.json +6 -15
package/dist/ui.d.ts
CHANGED
|
@@ -5,6 +5,165 @@ import { DefineComponent } from 'vue';
|
|
|
5
5
|
import { FunctionalComponent } from 'vue';
|
|
6
6
|
import { PublicProps } from 'vue';
|
|
7
7
|
|
|
8
|
+
declare const __VLS_component: DefineComponent<UiButtonInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<UiButtonInterface> & Readonly<{}>, {
|
|
9
|
+
loading: boolean;
|
|
10
|
+
size: "big" | "small" | "medium";
|
|
11
|
+
color: "primary" | "secondary" | "light" | "green" | "yellow" | "red";
|
|
12
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
|
|
14
|
+
declare const __VLS_component_2: DefineComponent<UiCheckboxInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
15
|
+
checkboxChanged: (checkbox: UiCheckboxType) => any;
|
|
16
|
+
}, string, PublicProps, Readonly<UiCheckboxInterface> & Readonly<{
|
|
17
|
+
onCheckboxChanged?: ((checkbox: UiCheckboxType) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
loading: boolean;
|
|
21
|
+
check: boolean;
|
|
22
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
|
|
24
|
+
declare const __VLS_component_3: DefineComponent<UiTagInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
25
|
+
tagEvent: (T: string | undefined) => any;
|
|
26
|
+
}, string, PublicProps, Readonly<UiTagInterface> & Readonly<{
|
|
27
|
+
onTagEvent?: ((T: string | undefined) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
loading: boolean;
|
|
30
|
+
size: "big" | "small" | "medium";
|
|
31
|
+
color: "primary" | "secondary" | "light" | "green" | "yellow" | "red" | "black" | "gray" | "white";
|
|
32
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
|
|
34
|
+
declare const __VLS_component_4: DefineComponent<UiAlertInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
35
|
+
alertEvent: (T: string) => any;
|
|
36
|
+
}, string, PublicProps, Readonly<UiAlertInterface> & Readonly<{
|
|
37
|
+
onAlertEvent?: ((T: string) => any) | undefined;
|
|
38
|
+
}>, {
|
|
39
|
+
loading: boolean;
|
|
40
|
+
type: string;
|
|
41
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
42
|
+
|
|
43
|
+
declare const __VLS_component_5: DefineComponent<UiModalInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
44
|
+
modalAction: (T: {
|
|
45
|
+
modal: UiModalInterface["modalName"];
|
|
46
|
+
action: string;
|
|
47
|
+
}) => any;
|
|
48
|
+
}, string, PublicProps, Readonly<UiModalInterface> & Readonly<{
|
|
49
|
+
onModalAction?: ((T: {
|
|
50
|
+
modal: UiModalInterface["modalName"];
|
|
51
|
+
action: string;
|
|
52
|
+
}) => any) | undefined;
|
|
53
|
+
}>, {
|
|
54
|
+
loading: boolean;
|
|
55
|
+
type: string;
|
|
56
|
+
size: "big" | "small" | "medium";
|
|
57
|
+
open: boolean;
|
|
58
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
59
|
+
|
|
60
|
+
declare const __VLS_component_6: DefineComponent<UiRightSidebarInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
61
|
+
closeRightBar: () => any;
|
|
62
|
+
}, string, PublicProps, Readonly<UiRightSidebarInterface> & Readonly<{
|
|
63
|
+
onCloseRightBar?: (() => any) | undefined;
|
|
64
|
+
}>, {
|
|
65
|
+
open: boolean;
|
|
66
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
67
|
+
|
|
68
|
+
declare const __VLS_component_7: DefineComponent<UiWrapperInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
69
|
+
checkboxChanged: (checkbox: UiCheckboxType) => any;
|
|
70
|
+
inputChanged: (T: InputType) => any;
|
|
71
|
+
selectChanged: (T: SelectItemType | SelectItemType[]) => any;
|
|
72
|
+
sideBarClick: (t: string) => any;
|
|
73
|
+
productBarClick: (t: string) => any;
|
|
74
|
+
topBarClick: (T: string) => any;
|
|
75
|
+
sidebarToggle: (T: boolean) => any;
|
|
76
|
+
bellClick: () => any;
|
|
77
|
+
}, string, PublicProps, Readonly<UiWrapperInterface> & Readonly<{
|
|
78
|
+
onCheckboxChanged?: ((checkbox: UiCheckboxType) => any) | undefined;
|
|
79
|
+
onInputChanged?: ((T: InputType) => any) | undefined;
|
|
80
|
+
onSelectChanged?: ((T: SelectItemType | SelectItemType[]) => any) | undefined;
|
|
81
|
+
onSideBarClick?: ((t: string) => any) | undefined;
|
|
82
|
+
onProductBarClick?: ((t: string) => any) | undefined;
|
|
83
|
+
onTopBarClick?: ((T: string) => any) | undefined;
|
|
84
|
+
onSidebarToggle?: ((T: boolean) => any) | undefined;
|
|
85
|
+
onBellClick?: (() => any) | undefined;
|
|
86
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
87
|
+
|
|
88
|
+
declare function __VLS_template(): {
|
|
89
|
+
attrs: Partial<{}>;
|
|
90
|
+
slots: {
|
|
91
|
+
default?(_: {}): any;
|
|
92
|
+
};
|
|
93
|
+
refs: {};
|
|
94
|
+
rootEl: any;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
declare function __VLS_template_2(): {
|
|
98
|
+
attrs: Partial<{}>;
|
|
99
|
+
slots: {
|
|
100
|
+
default?(_: {}): any;
|
|
101
|
+
};
|
|
102
|
+
refs: {};
|
|
103
|
+
rootEl: any;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
declare function __VLS_template_3(): {
|
|
107
|
+
attrs: Partial<{}>;
|
|
108
|
+
slots: {
|
|
109
|
+
default?(_: {}): any;
|
|
110
|
+
};
|
|
111
|
+
refs: {};
|
|
112
|
+
rootEl: any;
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
declare function __VLS_template_4(): {
|
|
116
|
+
attrs: Partial<{}>;
|
|
117
|
+
slots: {
|
|
118
|
+
default?(_: {}): any;
|
|
119
|
+
};
|
|
120
|
+
refs: {};
|
|
121
|
+
rootEl: any;
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
declare function __VLS_template_5(): {
|
|
125
|
+
attrs: Partial<{}>;
|
|
126
|
+
slots: {
|
|
127
|
+
default?(_: {
|
|
128
|
+
class: string;
|
|
129
|
+
}): any;
|
|
130
|
+
};
|
|
131
|
+
refs: {};
|
|
132
|
+
rootEl: any;
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
declare function __VLS_template_6(): {
|
|
136
|
+
attrs: Partial<{}>;
|
|
137
|
+
slots: {
|
|
138
|
+
default?(_: {}): any;
|
|
139
|
+
};
|
|
140
|
+
refs: {};
|
|
141
|
+
rootEl: any;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
declare function __VLS_template_7(): {
|
|
145
|
+
attrs: Partial<{}>;
|
|
146
|
+
slots: {
|
|
147
|
+
default?(_: {}): any;
|
|
148
|
+
};
|
|
149
|
+
refs: {};
|
|
150
|
+
rootEl: HTMLDivElement;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
154
|
+
|
|
155
|
+
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
156
|
+
|
|
157
|
+
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
158
|
+
|
|
159
|
+
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
160
|
+
|
|
161
|
+
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
162
|
+
|
|
163
|
+
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
164
|
+
|
|
165
|
+
declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
166
|
+
|
|
8
167
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
9
168
|
new (): {
|
|
10
169
|
$slots: S;
|
|
@@ -275,16 +434,7 @@ lang: "es" | "en";
|
|
|
275
434
|
supportLink: string;
|
|
276
435
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
277
436
|
|
|
278
|
-
export declare const uiAlert: __VLS_WithTemplateSlots_4<
|
|
279
|
-
alertEvent: (T: string) => any;
|
|
280
|
-
}, string, PublicProps, Readonly<UiAlertInterface> & Readonly<{
|
|
281
|
-
onAlertEvent?: ((T: string) => any) | undefined;
|
|
282
|
-
}>, {
|
|
283
|
-
loading: boolean;
|
|
284
|
-
type: string;
|
|
285
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
286
|
-
default?(_: {}): any;
|
|
287
|
-
}>;
|
|
437
|
+
export declare const uiAlert: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
288
438
|
|
|
289
439
|
export declare interface UiAlertEventsInterface {
|
|
290
440
|
/** When an alert action is clicked emits UiAlertInterface["actions"]["event"] */
|
|
@@ -332,13 +482,7 @@ export declare interface UiBreadcrumbsInterface {
|
|
|
332
482
|
loading?: boolean;
|
|
333
483
|
}
|
|
334
484
|
|
|
335
|
-
export declare const uiButton: __VLS_WithTemplateSlots<
|
|
336
|
-
loading: boolean;
|
|
337
|
-
size: "big" | "small" | "medium";
|
|
338
|
-
color: "primary" | "secondary" | "light" | "green" | "yellow" | "red";
|
|
339
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
340
|
-
default?(_: {}): any;
|
|
341
|
-
}>;
|
|
485
|
+
export declare const uiButton: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
342
486
|
|
|
343
487
|
export declare interface UiButtonInterface {
|
|
344
488
|
/** Defines if button as block class applied or not */
|
|
@@ -357,17 +501,17 @@ export declare interface UiButtonInterface {
|
|
|
357
501
|
|
|
358
502
|
export declare const uiCard: DefineComponent<UiCardInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
359
503
|
cardSelected: (T: {
|
|
360
|
-
id:
|
|
361
|
-
name:
|
|
362
|
-
type:
|
|
363
|
-
tags:
|
|
504
|
+
id: UiCardInterface["id"];
|
|
505
|
+
name: UiCardInterface["name"];
|
|
506
|
+
type: UiCardInterface["type"];
|
|
507
|
+
tags: UiCardInterface["tags"];
|
|
364
508
|
}) => any;
|
|
365
509
|
}, string, PublicProps, Readonly<UiCardInterface> & Readonly<{
|
|
366
510
|
onCardSelected?: ((T: {
|
|
367
|
-
id:
|
|
368
|
-
name:
|
|
369
|
-
type:
|
|
370
|
-
tags:
|
|
511
|
+
id: UiCardInterface["id"];
|
|
512
|
+
name: UiCardInterface["name"];
|
|
513
|
+
type: UiCardInterface["type"];
|
|
514
|
+
tags: UiCardInterface["tags"];
|
|
371
515
|
}) => any) | undefined;
|
|
372
516
|
}>, {
|
|
373
517
|
loading: boolean;
|
|
@@ -402,13 +546,13 @@ export declare const uiCardWithImage: DefineComponent<UiCardWithImageInterface,
|
|
|
402
546
|
menuClick: (id: string) => any;
|
|
403
547
|
actionClick: (data: {
|
|
404
548
|
id: string;
|
|
405
|
-
action: "
|
|
549
|
+
action: "edit" | "copy" | "delete";
|
|
406
550
|
}) => any;
|
|
407
551
|
}, string, PublicProps, Readonly<UiCardWithImageInterface> & Readonly<{
|
|
408
552
|
onMenuClick?: ((id: string) => any) | undefined;
|
|
409
553
|
onActionClick?: ((data: {
|
|
410
554
|
id: string;
|
|
411
|
-
action: "
|
|
555
|
+
action: "edit" | "copy" | "delete";
|
|
412
556
|
}) => any) | undefined;
|
|
413
557
|
}>, {
|
|
414
558
|
loading: boolean;
|
|
@@ -466,10 +610,10 @@ export declare interface UiCardWithImageInterface {
|
|
|
466
610
|
export declare const uiChart: DefineComponent<UiChartInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
467
611
|
selectedRange: (T: {
|
|
468
612
|
range: {
|
|
469
|
-
from:
|
|
470
|
-
to:
|
|
613
|
+
from: Date | string;
|
|
614
|
+
to: Date | string;
|
|
471
615
|
};
|
|
472
|
-
chartId:
|
|
616
|
+
chartId: UiChartInterface["id"];
|
|
473
617
|
}) => any;
|
|
474
618
|
chartUpdated: () => any;
|
|
475
619
|
dataPointSelection: (T: any) => any;
|
|
@@ -477,10 +621,10 @@ maximizeChart: (T: string) => any;
|
|
|
477
621
|
}, string, PublicProps, Readonly<UiChartInterface> & Readonly<{
|
|
478
622
|
onSelectedRange?: ((T: {
|
|
479
623
|
range: {
|
|
480
|
-
from:
|
|
481
|
-
to:
|
|
624
|
+
from: Date | string;
|
|
625
|
+
to: Date | string;
|
|
482
626
|
};
|
|
483
|
-
chartId:
|
|
627
|
+
chartId: UiChartInterface["id"];
|
|
484
628
|
}) => any) | undefined;
|
|
485
629
|
onChartUpdated?: (() => any) | undefined;
|
|
486
630
|
onDataPointSelection?: ((T: any) => any) | undefined;
|
|
@@ -580,17 +724,7 @@ export declare interface UiChartInterface {
|
|
|
580
724
|
};
|
|
581
725
|
}
|
|
582
726
|
|
|
583
|
-
export declare const uiCheckbox: __VLS_WithTemplateSlots_2<
|
|
584
|
-
checkboxChanged: (checkbox: UiCheckboxType) => any;
|
|
585
|
-
}, string, PublicProps, Readonly<UiCheckboxInterface> & Readonly<{
|
|
586
|
-
onCheckboxChanged?: ((checkbox: UiCheckboxType) => any) | undefined;
|
|
587
|
-
}>, {
|
|
588
|
-
disabled: boolean;
|
|
589
|
-
loading: boolean;
|
|
590
|
-
check: boolean;
|
|
591
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
592
|
-
default?(_: {}): any;
|
|
593
|
-
}>;
|
|
727
|
+
export declare const uiCheckbox: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
594
728
|
|
|
595
729
|
export declare interface UiCheckboxEventsInterface {
|
|
596
730
|
/** Emitted when click over checkbox */
|
|
@@ -620,10 +754,10 @@ export declare type UiCheckboxType = {
|
|
|
620
754
|
export declare const uiCircleChart: DefineComponent<UiChartInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
621
755
|
selectedRange: (T: {
|
|
622
756
|
range: {
|
|
623
|
-
from:
|
|
624
|
-
to:
|
|
757
|
+
from: Date | string;
|
|
758
|
+
to: Date | string;
|
|
625
759
|
};
|
|
626
|
-
chartId:
|
|
760
|
+
chartId: UiChartInterface["id"];
|
|
627
761
|
}) => any;
|
|
628
762
|
chartUpdated: () => any;
|
|
629
763
|
dataPointSelection: (T: any) => any;
|
|
@@ -631,10 +765,10 @@ maximizeChart: (T: string) => any;
|
|
|
631
765
|
}, string, PublicProps, Readonly<UiChartInterface> & Readonly<{
|
|
632
766
|
onSelectedRange?: ((T: {
|
|
633
767
|
range: {
|
|
634
|
-
from:
|
|
635
|
-
to:
|
|
768
|
+
from: Date | string;
|
|
769
|
+
to: Date | string;
|
|
636
770
|
};
|
|
637
|
-
chartId:
|
|
771
|
+
chartId: UiChartInterface["id"];
|
|
638
772
|
}) => any) | undefined;
|
|
639
773
|
onChartUpdated?: (() => any) | undefined;
|
|
640
774
|
onDataPointSelection?: ((T: any) => any) | undefined;
|
|
@@ -691,13 +825,13 @@ export declare interface UiComparatorInterface {
|
|
|
691
825
|
|
|
692
826
|
export declare const uiDateRange: DefineComponent<UiDateRangeInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
693
827
|
uiDateRangeButtonClicked: (t: {
|
|
694
|
-
from:
|
|
695
|
-
to:
|
|
828
|
+
from: Date | string;
|
|
829
|
+
to: Date | string;
|
|
696
830
|
} | undefined) => any;
|
|
697
831
|
}, string, PublicProps, Readonly<UiDateRangeInterface> & Readonly<{
|
|
698
832
|
onUiDateRangeButtonClicked?: ((t: {
|
|
699
|
-
from:
|
|
700
|
-
to:
|
|
833
|
+
from: Date | string;
|
|
834
|
+
to: Date | string;
|
|
701
835
|
} | undefined) => any) | undefined;
|
|
702
836
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
703
837
|
|
|
@@ -886,10 +1020,10 @@ export declare const uiFooter: DefineComponent< {}, {}, {}, {}, {}, Component
|
|
|
886
1020
|
export declare const uiFunnelChartV2: DefineComponent<UiChartInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
887
1021
|
selectedRange: (T: {
|
|
888
1022
|
range: {
|
|
889
|
-
from:
|
|
890
|
-
to:
|
|
1023
|
+
from: Date | string;
|
|
1024
|
+
to: Date | string;
|
|
891
1025
|
};
|
|
892
|
-
chartId:
|
|
1026
|
+
chartId: UiChartInterface["id"];
|
|
893
1027
|
}) => any;
|
|
894
1028
|
chartUpdated: () => any;
|
|
895
1029
|
dataPointSelection: (T: any) => any;
|
|
@@ -897,10 +1031,10 @@ maximizeChart: (T: string) => any;
|
|
|
897
1031
|
}, string, PublicProps, Readonly<UiChartInterface> & Readonly<{
|
|
898
1032
|
onSelectedRange?: ((T: {
|
|
899
1033
|
range: {
|
|
900
|
-
from:
|
|
901
|
-
to:
|
|
1034
|
+
from: Date | string;
|
|
1035
|
+
to: Date | string;
|
|
902
1036
|
};
|
|
903
|
-
chartId:
|
|
1037
|
+
chartId: UiChartInterface["id"];
|
|
904
1038
|
}) => any) | undefined;
|
|
905
1039
|
onChartUpdated?: (() => any) | undefined;
|
|
906
1040
|
onDataPointSelection?: ((T: any) => any) | undefined;
|
|
@@ -1011,7 +1145,7 @@ filesUploaded: (T: FileInputType) => any;
|
|
|
1011
1145
|
onFilesUploaded?: ((T: FileInputType) => any) | undefined;
|
|
1012
1146
|
}>, {
|
|
1013
1147
|
loading: boolean;
|
|
1014
|
-
icon: FunctionalComponent
|
|
1148
|
+
icon: FunctionalComponent;
|
|
1015
1149
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1016
1150
|
|
|
1017
1151
|
export declare interface UiInputFileEventsInterface {
|
|
@@ -1092,26 +1226,7 @@ export declare interface UiLoadScreenInterface {
|
|
|
1092
1226
|
fixed?: boolean;
|
|
1093
1227
|
}
|
|
1094
1228
|
|
|
1095
|
-
export declare const uiModal: __VLS_WithTemplateSlots_5<
|
|
1096
|
-
modalAction: (T: {
|
|
1097
|
-
modal: string;
|
|
1098
|
-
action: string;
|
|
1099
|
-
}) => any;
|
|
1100
|
-
}, string, PublicProps, Readonly<UiModalInterface> & Readonly<{
|
|
1101
|
-
onModalAction?: ((T: {
|
|
1102
|
-
modal: string;
|
|
1103
|
-
action: string;
|
|
1104
|
-
}) => any) | undefined;
|
|
1105
|
-
}>, {
|
|
1106
|
-
loading: boolean;
|
|
1107
|
-
type: string;
|
|
1108
|
-
size: "big" | "small" | "medium";
|
|
1109
|
-
open: boolean;
|
|
1110
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1111
|
-
default?(_: {
|
|
1112
|
-
class: string;
|
|
1113
|
-
}): any;
|
|
1114
|
-
}>;
|
|
1229
|
+
export declare const uiModal: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
1115
1230
|
|
|
1116
1231
|
export declare interface UiModalEventsInterface {
|
|
1117
1232
|
/** emitted when a modal action is clicked, action emits: UiModalInterface["actions"]["value"] */
|
|
@@ -1382,15 +1497,7 @@ export declare interface UiRangeSliderInterface {
|
|
|
1382
1497
|
requiredText?: string;
|
|
1383
1498
|
}
|
|
1384
1499
|
|
|
1385
|
-
export declare const uiRightSidebar: __VLS_WithTemplateSlots_6<
|
|
1386
|
-
closeRightBar: () => any;
|
|
1387
|
-
}, string, PublicProps, Readonly<UiRightSidebarInterface> & Readonly<{
|
|
1388
|
-
onCloseRightBar?: (() => any) | undefined;
|
|
1389
|
-
}>, {
|
|
1390
|
-
open: boolean;
|
|
1391
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1392
|
-
default?(_: {}): any;
|
|
1393
|
-
}>;
|
|
1500
|
+
export declare const uiRightSidebar: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
1394
1501
|
|
|
1395
1502
|
export declare interface UiRightSidebarEventsInterface {
|
|
1396
1503
|
/** emits when click outside bar or X icon */
|
|
@@ -1854,16 +1961,88 @@ export declare interface UiTabInterface {
|
|
|
1854
1961
|
}[];
|
|
1855
1962
|
}
|
|
1856
1963
|
|
|
1857
|
-
export declare const uiTable: DefineComponent<UiTableInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1964
|
+
export declare const uiTable: DefineComponent<UiTableInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1965
|
+
modalAction: (T: {
|
|
1966
|
+
modal: string;
|
|
1967
|
+
action: string;
|
|
1968
|
+
}) => any;
|
|
1969
|
+
noResultsOptionSelected: (T: UiDropdownItemType) => any;
|
|
1970
|
+
changePage: (T: number) => any;
|
|
1971
|
+
tableAction: (T: {
|
|
1972
|
+
action: string;
|
|
1973
|
+
items: Array<string | number>;
|
|
1974
|
+
}) => any;
|
|
1975
|
+
orderBy: (T: {
|
|
1976
|
+
value: string;
|
|
1977
|
+
orderDirection: "desc" | "asc";
|
|
1978
|
+
}) => any;
|
|
1979
|
+
customEmit: (T: {
|
|
1980
|
+
data: any;
|
|
1981
|
+
rowId?: string | number;
|
|
1982
|
+
}) => any;
|
|
1983
|
+
selectedItemsDeleted: () => any;
|
|
1984
|
+
selectAllItems: () => any;
|
|
1985
|
+
smartFiltersSent: (T: {
|
|
1986
|
+
logicOperator: string;
|
|
1987
|
+
filters: any[];
|
|
1988
|
+
}) => any;
|
|
1989
|
+
smartFiltersCleared: () => any;
|
|
1990
|
+
smartFilterDeleted: (T: number) => any;
|
|
1991
|
+
tableActionSelected: (T: UiDropdownItemType) => any;
|
|
1992
|
+
tableActionButtonClicked: (T: {
|
|
1993
|
+
id: string;
|
|
1994
|
+
text: string;
|
|
1995
|
+
}) => any;
|
|
1996
|
+
changePageSize: (T: string | number) => any;
|
|
1997
|
+
columnsVisibilityChanged: (T: {
|
|
1998
|
+
index: number;
|
|
1999
|
+
hidden: boolean;
|
|
2000
|
+
}) => any;
|
|
2001
|
+
deselectAllItems: () => any;
|
|
2002
|
+
noResultsAction: (T: string) => any;
|
|
1861
2003
|
}, string, PublicProps, Readonly<UiTableInterface> & Readonly<{
|
|
1862
|
-
|
|
2004
|
+
onModalAction?: ((T: {
|
|
2005
|
+
modal: string;
|
|
2006
|
+
action: string;
|
|
2007
|
+
}) => any) | undefined;
|
|
2008
|
+
onNoResultsOptionSelected?: ((T: UiDropdownItemType) => any) | undefined;
|
|
2009
|
+
onChangePage?: ((T: number) => any) | undefined;
|
|
2010
|
+
onTableAction?: ((T: {
|
|
2011
|
+
action: string;
|
|
2012
|
+
items: Array<string | number>;
|
|
2013
|
+
}) => any) | undefined;
|
|
2014
|
+
onOrderBy?: ((T: {
|
|
2015
|
+
value: string;
|
|
2016
|
+
orderDirection: "desc" | "asc";
|
|
2017
|
+
}) => any) | undefined;
|
|
2018
|
+
onCustomEmit?: ((T: {
|
|
2019
|
+
data: any;
|
|
2020
|
+
rowId?: string | number;
|
|
2021
|
+
}) => any) | undefined;
|
|
2022
|
+
onSelectedItemsDeleted?: (() => any) | undefined;
|
|
2023
|
+
onSelectAllItems?: (() => any) | undefined;
|
|
2024
|
+
onSmartFiltersSent?: ((T: {
|
|
2025
|
+
logicOperator: string;
|
|
2026
|
+
filters: any[];
|
|
2027
|
+
}) => any) | undefined;
|
|
2028
|
+
onSmartFiltersCleared?: (() => any) | undefined;
|
|
2029
|
+
onSmartFilterDeleted?: ((T: number) => any) | undefined;
|
|
2030
|
+
onTableActionSelected?: ((T: UiDropdownItemType) => any) | undefined;
|
|
2031
|
+
onTableActionButtonClicked?: ((T: {
|
|
2032
|
+
id: string;
|
|
2033
|
+
text: string;
|
|
2034
|
+
}) => any) | undefined;
|
|
2035
|
+
onChangePageSize?: ((T: string | number) => any) | undefined;
|
|
2036
|
+
onColumnsVisibilityChanged?: ((T: {
|
|
2037
|
+
index: number;
|
|
2038
|
+
hidden: boolean;
|
|
2039
|
+
}) => any) | undefined;
|
|
2040
|
+
onDeselectAllItems?: (() => any) | undefined;
|
|
2041
|
+
onNoResultsAction?: ((T: string) => any) | undefined;
|
|
1863
2042
|
}>, {
|
|
1864
2043
|
loading: boolean;
|
|
1865
2044
|
resetSelected: boolean;
|
|
1866
|
-
orderDirection: "
|
|
2045
|
+
orderDirection: "asc" | "desc";
|
|
1867
2046
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1868
2047
|
tableWrapper: HTMLDivElement;
|
|
1869
2048
|
tableScrollContainer: HTMLDivElement;
|
|
@@ -2049,17 +2228,7 @@ tabClicked: (T: string) => any;
|
|
|
2049
2228
|
onTabClicked?: ((T: string) => any) | undefined;
|
|
2050
2229
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2051
2230
|
|
|
2052
|
-
export declare const uiTag: __VLS_WithTemplateSlots_3<
|
|
2053
|
-
tagEvent: (T: string | undefined) => any;
|
|
2054
|
-
}, string, PublicProps, Readonly<UiTagInterface> & Readonly<{
|
|
2055
|
-
onTagEvent?: ((T: string | undefined) => any) | undefined;
|
|
2056
|
-
}>, {
|
|
2057
|
-
loading: boolean;
|
|
2058
|
-
size: "big" | "small" | "medium";
|
|
2059
|
-
color: "primary" | "secondary" | "light" | "green" | "yellow" | "red" | "black" | "gray" | "white";
|
|
2060
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
2061
|
-
default?(_: {}): any;
|
|
2062
|
-
}>;
|
|
2231
|
+
export declare const uiTag: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
2063
2232
|
|
|
2064
2233
|
export declare interface UiTagEventsInterface {
|
|
2065
2234
|
/** When clicked, if props.event is defined. It emits the value of props.event */
|
|
@@ -2095,12 +2264,12 @@ loading: boolean;
|
|
|
2095
2264
|
export declare const uiTextArea: DefineComponent<UiTextAreaInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2096
2265
|
inputChanged: (T: {
|
|
2097
2266
|
name: string;
|
|
2098
|
-
value?: string
|
|
2267
|
+
value?: string;
|
|
2099
2268
|
}) => any;
|
|
2100
2269
|
}, string, PublicProps, Readonly<UiTextAreaInterface> & Readonly<{
|
|
2101
2270
|
onInputChanged?: ((T: {
|
|
2102
2271
|
name: string;
|
|
2103
|
-
value?: string
|
|
2272
|
+
value?: string;
|
|
2104
2273
|
}) => any) | undefined;
|
|
2105
2274
|
}>, {
|
|
2106
2275
|
disabled: boolean;
|
|
@@ -2197,34 +2366,24 @@ export declare interface UiTimelineInterface {
|
|
|
2197
2366
|
|
|
2198
2367
|
export declare const uiToggle: DefineComponent<UiToggleInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2199
2368
|
toggleChanged: (T: {
|
|
2200
|
-
item:
|
|
2201
|
-
title: string;
|
|
2202
|
-
subtitle?: string | undefined;
|
|
2203
|
-
active?: boolean | undefined;
|
|
2204
|
-
action: string;
|
|
2205
|
-
};
|
|
2369
|
+
item: UiToggleInterface["item"];
|
|
2206
2370
|
active: boolean;
|
|
2207
2371
|
}) => any;
|
|
2208
2372
|
actionClicked: (item: {
|
|
2209
2373
|
title: string;
|
|
2210
|
-
subtitle?: string
|
|
2211
|
-
active?: boolean
|
|
2374
|
+
subtitle?: string;
|
|
2375
|
+
active?: boolean;
|
|
2212
2376
|
action: string;
|
|
2213
2377
|
}) => any;
|
|
2214
2378
|
}, string, PublicProps, Readonly<UiToggleInterface> & Readonly<{
|
|
2215
2379
|
onToggleChanged?: ((T: {
|
|
2216
|
-
item:
|
|
2217
|
-
title: string;
|
|
2218
|
-
subtitle?: string | undefined;
|
|
2219
|
-
active?: boolean | undefined;
|
|
2220
|
-
action: string;
|
|
2221
|
-
};
|
|
2380
|
+
item: UiToggleInterface["item"];
|
|
2222
2381
|
active: boolean;
|
|
2223
2382
|
}) => any) | undefined;
|
|
2224
2383
|
onActionClicked?: ((item: {
|
|
2225
2384
|
title: string;
|
|
2226
|
-
subtitle?: string
|
|
2227
|
-
active?: boolean
|
|
2385
|
+
subtitle?: string;
|
|
2386
|
+
active?: boolean;
|
|
2228
2387
|
action: string;
|
|
2229
2388
|
}) => any) | undefined;
|
|
2230
2389
|
}>, {
|
|
@@ -2335,27 +2494,7 @@ export declare interface UiViewHeaderInterface {
|
|
|
2335
2494
|
buttonSize?: Sizes_2;
|
|
2336
2495
|
}
|
|
2337
2496
|
|
|
2338
|
-
export declare const uiWrapper: __VLS_WithTemplateSlots_7<
|
|
2339
|
-
checkboxChanged: (checkbox: UiCheckboxType) => any;
|
|
2340
|
-
inputChanged: (T: InputType) => any;
|
|
2341
|
-
selectChanged: (T: SelectItemType | SelectItemType[]) => any;
|
|
2342
|
-
sideBarClick: (t: string) => any;
|
|
2343
|
-
productBarClick: (t: string) => any;
|
|
2344
|
-
topBarClick: (T: string) => any;
|
|
2345
|
-
sidebarToggle: (T: boolean) => any;
|
|
2346
|
-
bellClick: () => any;
|
|
2347
|
-
}, string, PublicProps, Readonly<UiWrapperInterface> & Readonly<{
|
|
2348
|
-
onCheckboxChanged?: ((checkbox: UiCheckboxType) => any) | undefined;
|
|
2349
|
-
onInputChanged?: ((T: InputType) => any) | undefined;
|
|
2350
|
-
onSelectChanged?: ((T: SelectItemType | SelectItemType[]) => any) | undefined;
|
|
2351
|
-
onSideBarClick?: ((t: string) => any) | undefined;
|
|
2352
|
-
onProductBarClick?: ((t: string) => any) | undefined;
|
|
2353
|
-
onTopBarClick?: ((T: string) => any) | undefined;
|
|
2354
|
-
onSidebarToggle?: ((T: boolean) => any) | undefined;
|
|
2355
|
-
onBellClick?: (() => any) | undefined;
|
|
2356
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
2357
|
-
default?(_: {}): any;
|
|
2358
|
-
}>;
|
|
2497
|
+
export declare const uiWrapper: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
2359
2498
|
|
|
2360
2499
|
export declare interface UiWrapperEventsInterface {
|
|
2361
2500
|
/** emits product name when clicked */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hotelinking/ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "16.49.
|
|
4
|
+
"version": "16.49.24",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
7
7
|
],
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"format:fix": "biome format --write ."
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@biomejs/biome": "2.3.
|
|
39
|
+
"@biomejs/biome": "2.3.11",
|
|
40
40
|
"@headlessui/vue": "^1.7.19",
|
|
41
41
|
"@heroicons/vue": "^2.1.1",
|
|
42
42
|
"@storybook/addon-a11y": "^10.1.11",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@storybook/vue3-vite": "^10.1.11",
|
|
49
49
|
"@tailwindcss/aspect-ratio": "^0.4.2",
|
|
50
50
|
"@tailwindcss/forms": "^0.5.7",
|
|
51
|
-
"@types/node": "^
|
|
51
|
+
"@types/node": "^25.0.9",
|
|
52
52
|
"@vitejs/plugin-vue": "^6.0.0",
|
|
53
53
|
"@vitest/browser-playwright": "^4.0.15",
|
|
54
54
|
"@vitest/coverage-v8": "^4.0.15",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"chromatic": "^13.0.1",
|
|
61
61
|
"cssnano": "^7.0.4",
|
|
62
62
|
"dayjs": "^1.11.10",
|
|
63
|
-
"happy-dom": "
|
|
63
|
+
"happy-dom": "^20.3.4",
|
|
64
64
|
"husky": "^9.0.11",
|
|
65
65
|
"lint-staged": "^16.1.0",
|
|
66
66
|
"playwright": "^1.57.0",
|
|
@@ -72,9 +72,9 @@
|
|
|
72
72
|
"tailwindcss": "^3.4.1",
|
|
73
73
|
"terser": "^5.29.1",
|
|
74
74
|
"tslib": "^2.8.1",
|
|
75
|
-
"typescript": "
|
|
75
|
+
"typescript": "^5.9.3",
|
|
76
76
|
"vite": "^7.0.4",
|
|
77
|
-
"vite-plugin-dts": "^4.5.
|
|
77
|
+
"vite-plugin-dts": "^4.5.4",
|
|
78
78
|
"vite-plugin-vue-devtools": "^8.0.5",
|
|
79
79
|
"vitepress": "^1.4.5",
|
|
80
80
|
"vitest": "^4.0.15",
|
|
@@ -96,15 +96,6 @@
|
|
|
96
96
|
"vue3-draggable": "^2.0.9",
|
|
97
97
|
"vue3-funnel-graph-js": "^0.0.3"
|
|
98
98
|
},
|
|
99
|
-
"lint-staged": {
|
|
100
|
-
"*.{js,jsx,ts,tsx,vue}": [
|
|
101
|
-
"biome lint --write"
|
|
102
|
-
],
|
|
103
|
-
"*.json": [
|
|
104
|
-
"biome format --write"
|
|
105
|
-
],
|
|
106
|
-
"package-lock.json": []
|
|
107
|
-
},
|
|
108
99
|
"overrides": {
|
|
109
100
|
"storybook": "$storybook"
|
|
110
101
|
}
|