@hotelinking/ui 6.39.4 → 7.39.1
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/Atoms/uiInputFile/uiInputFile.vue.d.ts +1 -1
- package/dist/types/components/Organisms/uiCharts/RangeSelector.vue.d.ts +12 -6
- package/dist/types/components/Organisms/uiDragAndDrop/uiDragAndDrop.vue.d.ts +6 -2
- package/dist/types/components/Organisms/uiTable/uiTable.vue.d.ts +14 -0
- package/dist/types/types/index.d.ts +34 -34
- package/dist/ui.cjs +11 -11
- package/dist/ui.es.js +1699 -1687
- package/package.json +2 -2
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
14
14
|
}>>> & {
|
|
15
15
|
onFilesUploaded?: ((T: FileInputType) => any) | undefined;
|
|
16
16
|
}, {
|
|
17
|
-
icon:
|
|
17
|
+
icon: any;
|
|
18
18
|
loading: boolean;
|
|
19
19
|
}, {}>;
|
|
20
20
|
export default _default;
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
$props: {
|
|
5
|
-
readonly range?: string | undefined;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
range: {
|
|
3
|
+
type: StringConstructor;
|
|
6
4
|
};
|
|
7
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
rangeSelected: (...args: any[]) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
range: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
};
|
|
11
|
+
}>> & {
|
|
12
|
+
onRangeSelected?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
}, {}, {}>;
|
|
8
14
|
export default _default;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { UiDragAndDropInterface } from "../../../types";
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<UiDragAndDropInterface>, {
|
|
3
3
|
loading: boolean;
|
|
4
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
dragAndDropUpdated: (T: any) => void;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<UiDragAndDropInterface>, {
|
|
5
7
|
loading: boolean;
|
|
6
|
-
}
|
|
8
|
+
}>>> & {
|
|
9
|
+
onDragAndDropUpdated?: ((T: any) => any) | undefined;
|
|
10
|
+
}, {
|
|
7
11
|
loading: boolean;
|
|
8
12
|
}, {}>;
|
|
9
13
|
export default _default;
|
|
@@ -11,6 +11,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
11
11
|
value: string;
|
|
12
12
|
orderDirection: "desc" | "asc";
|
|
13
13
|
}) => void;
|
|
14
|
+
customEmit: (T: {
|
|
15
|
+
data: {
|
|
16
|
+
content: string;
|
|
17
|
+
type: string;
|
|
18
|
+
emits: any;
|
|
19
|
+
};
|
|
20
|
+
}) => void;
|
|
14
21
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<UiTableInterface>, {
|
|
15
22
|
orderDirection: string;
|
|
16
23
|
loading: boolean;
|
|
@@ -23,6 +30,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
23
30
|
value: string;
|
|
24
31
|
orderDirection: "desc" | "asc";
|
|
25
32
|
}) => any) | undefined;
|
|
33
|
+
onCustomEmit?: ((T: {
|
|
34
|
+
data: {
|
|
35
|
+
content: string;
|
|
36
|
+
type: string;
|
|
37
|
+
emits: any;
|
|
38
|
+
};
|
|
39
|
+
}) => any) | undefined;
|
|
26
40
|
}, {
|
|
27
41
|
loading: boolean;
|
|
28
42
|
orderDirection: "asc" | "desc";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { FunctionalComponent } from "vue";
|
|
2
1
|
export declare const Colors: readonly ["primary", "secondary", "light", "green", "yellow", "red"];
|
|
3
2
|
export declare const UiInputTypes: readonly ["text", "email", "password", "number", "date"];
|
|
4
3
|
export declare const MonoColors: readonly ["black", "gray", "white"];
|
|
@@ -15,7 +14,7 @@ export interface UiButtonInterface {
|
|
|
15
14
|
block?: boolean;
|
|
16
15
|
color?: Colors;
|
|
17
16
|
disabled?: boolean;
|
|
18
|
-
icon?:
|
|
17
|
+
icon?: any;
|
|
19
18
|
loading: boolean;
|
|
20
19
|
size?: Sizes;
|
|
21
20
|
}
|
|
@@ -33,7 +32,7 @@ export interface UiDropdownInterface {
|
|
|
33
32
|
items: UiDropdownItemType[];
|
|
34
33
|
position?: "left" | "right";
|
|
35
34
|
disabled?: boolean;
|
|
36
|
-
label
|
|
35
|
+
label?: string;
|
|
37
36
|
loading: boolean;
|
|
38
37
|
}
|
|
39
38
|
export type UiDropdownItemType = {
|
|
@@ -42,7 +41,7 @@ export type UiDropdownItemType = {
|
|
|
42
41
|
active?: boolean;
|
|
43
42
|
};
|
|
44
43
|
export interface UiIconInterface {
|
|
45
|
-
icon:
|
|
44
|
+
icon: any;
|
|
46
45
|
size?: AllSizes;
|
|
47
46
|
color?: AllColors;
|
|
48
47
|
loading: boolean;
|
|
@@ -52,7 +51,7 @@ export interface UiInputInterface {
|
|
|
52
51
|
type?: InputTypes;
|
|
53
52
|
name: string;
|
|
54
53
|
placeholder?: string;
|
|
55
|
-
icon?:
|
|
54
|
+
icon?: any;
|
|
56
55
|
disabled?: boolean;
|
|
57
56
|
color?: AllColors;
|
|
58
57
|
value?: string;
|
|
@@ -71,7 +70,7 @@ export interface UiInputFileInterface {
|
|
|
71
70
|
fileTypesAndSizes: string;
|
|
72
71
|
error?: string;
|
|
73
72
|
accept: string;
|
|
74
|
-
icon?:
|
|
73
|
+
icon?: any;
|
|
75
74
|
loading: boolean;
|
|
76
75
|
label?: string;
|
|
77
76
|
}
|
|
@@ -117,8 +116,8 @@ export interface UiTextAreaInterface {
|
|
|
117
116
|
export interface UiToggleInterface {
|
|
118
117
|
item: {
|
|
119
118
|
title: string;
|
|
120
|
-
subtitle
|
|
121
|
-
active
|
|
119
|
+
subtitle?: string;
|
|
120
|
+
active?: boolean;
|
|
122
121
|
action: string;
|
|
123
122
|
};
|
|
124
123
|
checked?: boolean;
|
|
@@ -126,7 +125,7 @@ export interface UiToggleInterface {
|
|
|
126
125
|
loading: boolean;
|
|
127
126
|
}
|
|
128
127
|
export interface UiAlertInterface {
|
|
129
|
-
actions
|
|
128
|
+
actions?: {
|
|
130
129
|
name: string;
|
|
131
130
|
event: string;
|
|
132
131
|
}[];
|
|
@@ -138,7 +137,7 @@ export interface UiBreadcrumbsInterface {
|
|
|
138
137
|
pages: {
|
|
139
138
|
name: string;
|
|
140
139
|
routeName: string;
|
|
141
|
-
current
|
|
140
|
+
current?: boolean;
|
|
142
141
|
}[];
|
|
143
142
|
loading?: boolean;
|
|
144
143
|
}
|
|
@@ -153,7 +152,7 @@ export interface UiCardInterface {
|
|
|
153
152
|
export interface UiDeviceStatusInterface {
|
|
154
153
|
id: string;
|
|
155
154
|
name: string;
|
|
156
|
-
icon:
|
|
155
|
+
icon: any;
|
|
157
156
|
color: AllColors;
|
|
158
157
|
qty: number;
|
|
159
158
|
tags: UiTagInterface[];
|
|
@@ -164,7 +163,7 @@ export interface UiFilterInterface {
|
|
|
164
163
|
items: {
|
|
165
164
|
name: string;
|
|
166
165
|
value: string;
|
|
167
|
-
active
|
|
166
|
+
active?: boolean;
|
|
168
167
|
}[];
|
|
169
168
|
position?: "left" | "right";
|
|
170
169
|
label: string;
|
|
@@ -270,7 +269,7 @@ export interface UiChartInterface {
|
|
|
270
269
|
type?: "area" | "line" | "bar" | "scatter";
|
|
271
270
|
series: {
|
|
272
271
|
name: string;
|
|
273
|
-
type
|
|
272
|
+
type?: "area" | "line" | "bar" | "scatter";
|
|
274
273
|
data: number[];
|
|
275
274
|
}[];
|
|
276
275
|
options?: {
|
|
@@ -298,7 +297,7 @@ export interface UiDateRangeInterface {
|
|
|
298
297
|
to: string;
|
|
299
298
|
search: string;
|
|
300
299
|
};
|
|
301
|
-
values
|
|
300
|
+
values?: {
|
|
302
301
|
from?: Date;
|
|
303
302
|
to?: Date;
|
|
304
303
|
};
|
|
@@ -358,9 +357,9 @@ export interface UiRightSidebarInterface {
|
|
|
358
357
|
export interface UiSidebarInterface {
|
|
359
358
|
navigation: {
|
|
360
359
|
name: string;
|
|
361
|
-
icon
|
|
360
|
+
icon?: any;
|
|
362
361
|
current?: boolean;
|
|
363
|
-
id
|
|
362
|
+
id?: string;
|
|
364
363
|
children?: {
|
|
365
364
|
name: string;
|
|
366
365
|
id: string;
|
|
@@ -368,19 +367,20 @@ export interface UiSidebarInterface {
|
|
|
368
367
|
}[];
|
|
369
368
|
}[];
|
|
370
369
|
loading?: boolean;
|
|
370
|
+
defaultOpen?: boolean;
|
|
371
371
|
}
|
|
372
372
|
export interface UiStatsInterface {
|
|
373
373
|
item: {
|
|
374
|
-
icon:
|
|
375
|
-
change
|
|
376
|
-
changeType
|
|
377
|
-
actionText
|
|
374
|
+
icon: any;
|
|
375
|
+
change?: string;
|
|
376
|
+
changeType?: string;
|
|
377
|
+
actionText?: string;
|
|
378
378
|
id: string;
|
|
379
379
|
name: string;
|
|
380
|
-
stat: string;
|
|
381
|
-
explanation
|
|
382
|
-
color
|
|
383
|
-
showFooter
|
|
380
|
+
stat: string | number;
|
|
381
|
+
explanation?: string;
|
|
382
|
+
color?: AllColors;
|
|
383
|
+
showFooter?: boolean;
|
|
384
384
|
};
|
|
385
385
|
loading?: boolean;
|
|
386
386
|
}
|
|
@@ -399,13 +399,13 @@ export interface UiStripedCardInterface {
|
|
|
399
399
|
}
|
|
400
400
|
export type TableItemType = {
|
|
401
401
|
id: string | number;
|
|
402
|
-
emitWith
|
|
402
|
+
emitWith?: any;
|
|
403
403
|
row: Array<string | {
|
|
404
404
|
content: string;
|
|
405
405
|
color: AllColors;
|
|
406
406
|
type: string;
|
|
407
407
|
emits?: string;
|
|
408
|
-
href
|
|
408
|
+
href?: string;
|
|
409
409
|
}>;
|
|
410
410
|
};
|
|
411
411
|
export interface UiTableInterface {
|
|
@@ -417,7 +417,7 @@ export interface UiTableInterface {
|
|
|
417
417
|
value: string;
|
|
418
418
|
tooltip?: string;
|
|
419
419
|
}[];
|
|
420
|
-
items: TableItemType[];
|
|
420
|
+
items: TableItemType[] | [];
|
|
421
421
|
actions: {
|
|
422
422
|
name: string;
|
|
423
423
|
id: string;
|
|
@@ -427,8 +427,8 @@ export interface UiTabInterface {
|
|
|
427
427
|
tabs: {
|
|
428
428
|
name: string;
|
|
429
429
|
id: string;
|
|
430
|
-
count
|
|
431
|
-
current
|
|
430
|
+
count?: number;
|
|
431
|
+
current?: boolean;
|
|
432
432
|
}[];
|
|
433
433
|
}
|
|
434
434
|
export interface UiTimelineInterface {
|
|
@@ -444,7 +444,7 @@ export interface UiTimelineInterface {
|
|
|
444
444
|
href: string;
|
|
445
445
|
date: string;
|
|
446
446
|
datetime: string;
|
|
447
|
-
icon:
|
|
447
|
+
icon: any;
|
|
448
448
|
iconBackground: string;
|
|
449
449
|
}[];
|
|
450
450
|
};
|
|
@@ -456,20 +456,20 @@ export interface UiTopbarInterface {
|
|
|
456
456
|
logo: string;
|
|
457
457
|
alerted: boolean;
|
|
458
458
|
accountLogo: string;
|
|
459
|
-
profileMenu
|
|
459
|
+
profileMenu?: {
|
|
460
460
|
name: string;
|
|
461
461
|
id: string;
|
|
462
462
|
}[];
|
|
463
|
-
brand
|
|
463
|
+
brand?: {
|
|
464
464
|
title: string;
|
|
465
465
|
subtitle: string;
|
|
466
466
|
};
|
|
467
|
-
navigation
|
|
467
|
+
navigation?: {
|
|
468
468
|
id: string;
|
|
469
469
|
name: string;
|
|
470
470
|
icon: string;
|
|
471
471
|
current: boolean;
|
|
472
|
-
children
|
|
472
|
+
children?: {
|
|
473
473
|
name: string;
|
|
474
474
|
id: string;
|
|
475
475
|
}[];
|