@up-packages/ui 0.13.0-qa → 0.15.0-qa
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/components/UpxDataTable/UpxDataTable.vue.d.ts +11 -63
- package/dist/components/UpxDataTable/index.d.ts +1 -1
- package/dist/components/UpxDataTable/types.d.ts +63 -0
- package/dist/components/UpxDropzone/UpxDropzone.vue.d.ts +13 -0
- package/dist/components/UpxDropzone/index.d.ts +2 -0
- package/dist/components/UpxDropzone/types.d.ts +7 -0
- package/dist/components/UpxKpiCard/UpxKpiCard.vue.d.ts +6 -0
- package/dist/components/UpxKpiCard/index.d.ts +2 -0
- package/dist/components/UpxKpiCard/types.d.ts +9 -0
- package/dist/components/UpxTimeline/UpxTimeline.vue.d.ts +27 -0
- package/dist/components/UpxTimeline/index.d.ts +2 -0
- package/dist/components/UpxTimeline/types.d.ts +13 -0
- package/dist/components/UpxTitleBar/UpxTitleBar.vue.d.ts +1 -0
- package/dist/components/UpxTitleBar/types.d.ts +1 -0
- package/dist/install.d.ts +4 -1
- package/dist/up-ui.css +1 -1
- package/dist/uplexis-ui.js +5355 -4836
- package/dist/uplexis-ui.js.map +1 -1
- package/dist/uplexis-ui.umd.cjs +3 -3
- package/dist/uplexis-ui.umd.cjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,69 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
key: string;
|
|
3
|
-
title: string;
|
|
4
|
-
align?: 'start' | 'center' | 'end';
|
|
5
|
-
sortable?: boolean;
|
|
6
|
-
width?: string | number;
|
|
7
|
-
minWidth?: string | number;
|
|
8
|
-
maxWidth?: string | number;
|
|
9
|
-
}
|
|
10
|
-
export interface UpxDataTableClasses {
|
|
11
|
-
table?: string;
|
|
12
|
-
header?: string;
|
|
13
|
-
headerRow?: string;
|
|
14
|
-
headerCell?: string;
|
|
15
|
-
body?: string;
|
|
16
|
-
row?: string;
|
|
17
|
-
cell?: string;
|
|
18
|
-
footer?: string;
|
|
19
|
-
}
|
|
20
|
-
export interface UpxDataTableStyles {
|
|
21
|
-
headerFontSize?: string;
|
|
22
|
-
headerFontWeight?: string | number;
|
|
23
|
-
headerBackground?: string;
|
|
24
|
-
headerColor?: string;
|
|
25
|
-
bodyFontSize?: string;
|
|
26
|
-
bodyFontWeight?: string | number;
|
|
27
|
-
rowBackground?: string;
|
|
28
|
-
rowHoverBackground?: string;
|
|
29
|
-
rowAlternateBackground?: string;
|
|
30
|
-
cellPadding?: string;
|
|
31
|
-
borderColor?: string;
|
|
32
|
-
}
|
|
33
|
-
export type UpxDataTableVariant = 'default' | 'striped' | 'bordered' | 'compact' | 'minimal';
|
|
34
|
-
export interface UpxDataTableProps {
|
|
35
|
-
headers: UpxDataTableHeader[];
|
|
36
|
-
items: any[];
|
|
37
|
-
loading?: boolean;
|
|
38
|
-
search?: string;
|
|
39
|
-
itemsPerPage?: number;
|
|
40
|
-
itemsPerPageOptions?: Array<{
|
|
41
|
-
value: number;
|
|
42
|
-
title: string;
|
|
43
|
-
}>;
|
|
44
|
-
density?: 'default' | 'comfortable' | 'compact';
|
|
45
|
-
hover?: boolean;
|
|
46
|
-
fixedHeader?: boolean;
|
|
47
|
-
height?: string | number;
|
|
48
|
-
showSelect?: boolean;
|
|
49
|
-
modelValue?: any[];
|
|
50
|
-
headerFontSize?: string;
|
|
51
|
-
headerFontWeight?: string | number;
|
|
52
|
-
headerClass?: string;
|
|
53
|
-
bodyFontSize?: string;
|
|
54
|
-
bodyFontWeight?: string | number;
|
|
55
|
-
bodyClass?: string;
|
|
56
|
-
hidePagination?: boolean;
|
|
57
|
-
variant?: UpxDataTableVariant;
|
|
58
|
-
customClasses?: UpxDataTableClasses;
|
|
59
|
-
customStyles?: UpxDataTableStyles;
|
|
60
|
-
}
|
|
1
|
+
import type { UpxDataTableProps } from './types';
|
|
61
2
|
declare var __VLS_10: {}, __VLS_13: `item.${string}`, __VLS_14: {
|
|
62
3
|
item: any;
|
|
63
4
|
value: any;
|
|
64
5
|
}, __VLS_16: {
|
|
65
6
|
item: any;
|
|
66
|
-
}, __VLS_18: {}, __VLS_20: {},
|
|
7
|
+
}, __VLS_18: {}, __VLS_20: {}, __VLS_26: {
|
|
8
|
+
item: any;
|
|
9
|
+
columns: import("vuetify/lib/components/VDataTable/types.mjs").InternalDataTableHeader[];
|
|
10
|
+
};
|
|
67
11
|
type __VLS_Slots = {} & {
|
|
68
12
|
[K in NonNullable<typeof __VLS_13>]?: (props: typeof __VLS_14) => any;
|
|
69
13
|
} & {
|
|
@@ -75,16 +19,18 @@ type __VLS_Slots = {} & {
|
|
|
75
19
|
} & {
|
|
76
20
|
loading?: (props: typeof __VLS_20) => any;
|
|
77
21
|
} & {
|
|
78
|
-
|
|
22
|
+
'expanded-row'?: (props: typeof __VLS_26) => any;
|
|
79
23
|
};
|
|
80
24
|
declare const __VLS_component: import("vue").DefineComponent<UpxDataTableProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
81
25
|
"update:modelValue": (value: any[]) => any;
|
|
82
26
|
"update:options": (value: any) => any;
|
|
27
|
+
"update:expanded": (value: any[]) => any;
|
|
83
28
|
}, string, import("vue").PublicProps, Readonly<UpxDataTableProps> & Readonly<{
|
|
84
29
|
"onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
85
30
|
"onUpdate:options"?: ((value: any) => any) | undefined;
|
|
31
|
+
"onUpdate:expanded"?: ((value: any[]) => any) | undefined;
|
|
86
32
|
}>, {
|
|
87
|
-
variant: UpxDataTableVariant;
|
|
33
|
+
variant: import("./types").UpxDataTableVariant;
|
|
88
34
|
density: "default" | "comfortable" | "compact";
|
|
89
35
|
loading: boolean;
|
|
90
36
|
hover: boolean;
|
|
@@ -96,6 +42,8 @@ declare const __VLS_component: import("vue").DefineComponent<UpxDataTableProps,
|
|
|
96
42
|
fixedHeader: boolean;
|
|
97
43
|
showSelect: boolean;
|
|
98
44
|
hidePagination: boolean;
|
|
45
|
+
showExpand: boolean;
|
|
46
|
+
expandOnRowClick: boolean;
|
|
99
47
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
100
48
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
101
49
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as UpxDataTable } from "./UpxDataTable.vue";
|
|
2
|
-
export type { UpxDataTableProps, UpxDataTableHeader } from "./
|
|
2
|
+
export type { UpxDataTableProps, UpxDataTableHeader } from "./types.ts";
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export type UpxDataTableVariant = 'default' | 'striped' | 'bordered' | 'compact' | 'minimal';
|
|
2
|
+
export interface UpxDataTableHeader {
|
|
3
|
+
key: string;
|
|
4
|
+
title: string;
|
|
5
|
+
align?: 'start' | 'center' | 'end';
|
|
6
|
+
sortable?: boolean;
|
|
7
|
+
width?: string | number;
|
|
8
|
+
minWidth?: string | number;
|
|
9
|
+
maxWidth?: string | number;
|
|
10
|
+
}
|
|
11
|
+
export interface UpxDataTableClasses {
|
|
12
|
+
table?: string;
|
|
13
|
+
header?: string;
|
|
14
|
+
headerRow?: string;
|
|
15
|
+
headerCell?: string;
|
|
16
|
+
body?: string;
|
|
17
|
+
row?: string;
|
|
18
|
+
cell?: string;
|
|
19
|
+
footer?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface UpxDataTableStyles {
|
|
22
|
+
headerFontSize?: string;
|
|
23
|
+
headerFontWeight?: string | number;
|
|
24
|
+
headerBackground?: string;
|
|
25
|
+
headerColor?: string;
|
|
26
|
+
bodyFontSize?: string;
|
|
27
|
+
bodyFontWeight?: string | number;
|
|
28
|
+
rowBackground?: string;
|
|
29
|
+
rowHoverBackground?: string;
|
|
30
|
+
rowAlternateBackground?: string;
|
|
31
|
+
cellPadding?: string;
|
|
32
|
+
borderColor?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface UpxDataTableProps {
|
|
35
|
+
headers: UpxDataTableHeader[];
|
|
36
|
+
items: any[];
|
|
37
|
+
loading?: boolean;
|
|
38
|
+
search?: string;
|
|
39
|
+
itemsPerPage?: number;
|
|
40
|
+
itemsPerPageOptions?: Array<{
|
|
41
|
+
value: number;
|
|
42
|
+
title: string;
|
|
43
|
+
}>;
|
|
44
|
+
density?: 'default' | 'comfortable' | 'compact';
|
|
45
|
+
hover?: boolean;
|
|
46
|
+
fixedHeader?: boolean;
|
|
47
|
+
height?: string | number;
|
|
48
|
+
showSelect?: boolean;
|
|
49
|
+
modelValue?: any[];
|
|
50
|
+
headerFontSize?: string;
|
|
51
|
+
headerFontWeight?: string | number;
|
|
52
|
+
headerClass?: string;
|
|
53
|
+
bodyFontSize?: string;
|
|
54
|
+
bodyFontWeight?: string | number;
|
|
55
|
+
bodyClass?: string;
|
|
56
|
+
hidePagination?: boolean;
|
|
57
|
+
variant?: UpxDataTableVariant;
|
|
58
|
+
customClasses?: UpxDataTableClasses;
|
|
59
|
+
customStyles?: UpxDataTableStyles;
|
|
60
|
+
showExpand?: boolean;
|
|
61
|
+
expandOnRowClick?: boolean;
|
|
62
|
+
expanded?: any[];
|
|
63
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { UpxDropzoneProps } from './types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<UpxDropzoneProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (files: File[]) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<UpxDropzoneProps> & Readonly<{
|
|
5
|
+
"onUpdate:modelValue"?: ((files: File[]) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
icon: string;
|
|
8
|
+
title: string;
|
|
9
|
+
multiple: boolean;
|
|
10
|
+
accept: string;
|
|
11
|
+
description: string;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { UpxKpiCardProps } from './types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<UpxKpiCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpxKpiCardProps> & Readonly<{}>, {
|
|
3
|
+
variant: import("./types").UpxKpiCardVariant;
|
|
4
|
+
iconColor: string;
|
|
5
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { UpxTimelineProps, UpxTimelineItem } from './types';
|
|
2
|
+
declare var __VLS_26: {
|
|
3
|
+
item: UpxTimelineItem;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
'item-content'?: (props: typeof __VLS_26) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<UpxTimelineProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
|
+
"update:relevance": (payload: {
|
|
10
|
+
id: string | number;
|
|
11
|
+
isRelevant: boolean;
|
|
12
|
+
}) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<UpxTimelineProps> & Readonly<{
|
|
14
|
+
"onUpdate:relevance"?: ((payload: {
|
|
15
|
+
id: string | number;
|
|
16
|
+
isRelevant: boolean;
|
|
17
|
+
}) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
items: UpxTimelineItem[];
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type TimelineItemStatus = 'success' | 'warning' | 'error' | 'info';
|
|
2
|
+
export interface UpxTimelineItem {
|
|
3
|
+
id: string | number;
|
|
4
|
+
date: string;
|
|
5
|
+
displayId: string;
|
|
6
|
+
status?: TimelineItemStatus;
|
|
7
|
+
statusLabel?: string;
|
|
8
|
+
showRelevanceToggle?: boolean;
|
|
9
|
+
isRelevant?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface UpxTimelineProps {
|
|
12
|
+
items: UpxTimelineItem[];
|
|
13
|
+
}
|
|
@@ -4,6 +4,7 @@ declare const _default: import("vue").DefineComponent<UpxTitleBarProps, {}, {},
|
|
|
4
4
|
}, string, import("vue").PublicProps, Readonly<UpxTitleBarProps> & Readonly<{
|
|
5
5
|
onClose?: (() => any) | undefined;
|
|
6
6
|
}>, {
|
|
7
|
+
color: string;
|
|
7
8
|
disabled: boolean;
|
|
8
9
|
title: string;
|
|
9
10
|
bordered: boolean;
|
package/dist/install.d.ts
CHANGED
|
@@ -22,8 +22,10 @@ import { UpxDialog, UpxDialogHeader, UpxDialogTitle, UpxDialogDescription, UpxDi
|
|
|
22
22
|
import { UpxDivider } from "./components/UpxDivider";
|
|
23
23
|
import { UpxDrawer, UpxDrawerHeader, UpxDrawerTitle, UpxDrawerDescription, UpxDrawerContent, UpxDrawerFooter, UpxDrawerClose } from "./components/UpxDrawer";
|
|
24
24
|
import { UpxDropdownMenu, UpxDropdownMenuItem, UpxDropdownMenuLabel, UpxDropdownMenuSeparator } from "./components/UpxDropdownMenu";
|
|
25
|
+
import { UpxDropzone } from './components/UpxDropzone';
|
|
25
26
|
import { UpxEnvironmentBadge } from "./components/UpxEnvironmentBadge";
|
|
26
27
|
import { UpxFloatMenu } from "./components/UpxFloatMenu";
|
|
28
|
+
import { UpxKpiCard } from './components/UpxKpiCard';
|
|
27
29
|
import { UpxNotification } from "./components/UpxNotification";
|
|
28
30
|
import { UpxPagination } from "./components/UpxPagination";
|
|
29
31
|
import { UpxPopover } from "./components/UpxPopover";
|
|
@@ -40,6 +42,7 @@ import { UpxStepper } from "./components/UpxStepper";
|
|
|
40
42
|
import { UpxSwitch } from "./components/UpxSwitch";
|
|
41
43
|
import { UpxTab } from "./components/UpxTab";
|
|
42
44
|
import { UpxTextField } from "./components/UpxTextField";
|
|
45
|
+
import { UpxTimeline } from './components/UpxTimeline';
|
|
43
46
|
import { UpxTitleBar } from "./components/UpxTitleBar";
|
|
44
47
|
import { UpxToast } from "./components/UpxToast";
|
|
45
48
|
import { UpxTooltip } from "./components/UpxTooltip";
|
|
@@ -50,4 +53,4 @@ declare const _default: {
|
|
|
50
53
|
}): void;
|
|
51
54
|
};
|
|
52
55
|
export default _default;
|
|
53
|
-
export { UpxAccordion, UpxAlert, UpxAlertTitle, UpxAlertDescription, UpxAlertDialog, UpxAlertDialogHeader, UpxAlertDialogTitle, UpxAlertDialogDescription, UpxAlertDialogFooter, UpxAlertDialogAction, UpxAlertDialogCancel, UpxAspectRatio, UpxAvatar, UpxBadge, UpxBreadcrumb, UpxBreadcrumbList, UpxBreadcrumbItem, UpxBreadcrumbLink, UpxBreadcrumbPage, UpxBreadcrumbSeparator, UpxBreadcrumbEllipsis, UpxButton, UpxCalendar, UpxCarousel, UpxCarouselItem, UpxCarouselContent, UpxCard, UpxCardSimple, UpxCardHeader, UpxCardTitle, UpxCardDescription, UpxCardContent, UpxCardFooter, UpxCardAction, UpxCell, UpxCheckbox, UpxCollapsible, UpxCollapsibleTrigger, UpxCollapsibleContent, UpxCommand, UpxCommandDialog, UpxCommandInput, UpxCommandList, UpxCommandItem, UpxCommandGroup, UpxCommandEmpty, UpxCommandSeparator, UpxCommandShortcut, UpxContextMenu, UpxContextMenuItem, UpxContextMenuLabel, UpxContextMenuSeparator, UpxDataTable, UpxDatePicker, UpxDialog, UpxDialogHeader, UpxDialogTitle, UpxDialogDescription, UpxDialogContent, UpxDialogFooter, UpxDivider, UpxDrawer, UpxDrawerHeader, UpxDrawerTitle, UpxDrawerDescription, UpxDrawerContent, UpxDrawerFooter, UpxDrawerClose, UpxDropdownMenu, UpxDropdownMenuItem, UpxDropdownMenuLabel, UpxDropdownMenuSeparator, UpxEnvironmentBadge, UpxFloatMenu, UpxNotification, UpxPagination, UpxPopover, UpxProduct, UpxProgress, UpxRadio, UpxResizablePanelGroup, UpxResizablePanel, UpxResizableHandle, UpxRiskLevel, UpxRiskCard, UpxRiskCriteria, UpxRiskScore, UpxRiskFinding, UpxSelect, UpxSideBar, UpxSkeleton, UpxStepper, UpxSwitch, UpxTab, UpxTextField, UpxTextarea, UpxTitleBar, UpxToast, UpxTooltip, UpxWindow, };
|
|
56
|
+
export { UpxAccordion, UpxAlert, UpxAlertTitle, UpxAlertDescription, UpxAlertDialog, UpxAlertDialogHeader, UpxAlertDialogTitle, UpxAlertDialogDescription, UpxAlertDialogFooter, UpxAlertDialogAction, UpxAlertDialogCancel, UpxAspectRatio, UpxAvatar, UpxBadge, UpxBreadcrumb, UpxBreadcrumbList, UpxBreadcrumbItem, UpxBreadcrumbLink, UpxBreadcrumbPage, UpxBreadcrumbSeparator, UpxBreadcrumbEllipsis, UpxButton, UpxCalendar, UpxCarousel, UpxCarouselItem, UpxCarouselContent, UpxCard, UpxCardSimple, UpxCardHeader, UpxCardTitle, UpxCardDescription, UpxCardContent, UpxCardFooter, UpxCardAction, UpxCell, UpxCheckbox, UpxCollapsible, UpxCollapsibleTrigger, UpxCollapsibleContent, UpxCommand, UpxCommandDialog, UpxCommandInput, UpxCommandList, UpxCommandItem, UpxCommandGroup, UpxCommandEmpty, UpxCommandSeparator, UpxCommandShortcut, UpxContextMenu, UpxContextMenuItem, UpxContextMenuLabel, UpxContextMenuSeparator, UpxDataTable, UpxDatePicker, UpxDialog, UpxDialogHeader, UpxDialogTitle, UpxDialogDescription, UpxDialogContent, UpxDialogFooter, UpxDivider, UpxDrawer, UpxDrawerHeader, UpxDrawerTitle, UpxDrawerDescription, UpxDrawerContent, UpxDrawerFooter, UpxDrawerClose, UpxDropdownMenu, UpxDropdownMenuItem, UpxDropdownMenuLabel, UpxDropdownMenuSeparator, UpxDropzone, UpxEnvironmentBadge, UpxFloatMenu, UpxKpiCard, UpxNotification, UpxPagination, UpxPopover, UpxProduct, UpxProgress, UpxRadio, UpxResizablePanelGroup, UpxResizablePanel, UpxResizableHandle, UpxRiskLevel, UpxRiskCard, UpxRiskCriteria, UpxRiskScore, UpxRiskFinding, UpxSelect, UpxSideBar, UpxSkeleton, UpxStepper, UpxSwitch, UpxTab, UpxTextField, UpxTextarea, UpxTimeline, UpxTitleBar, UpxToast, UpxTooltip, UpxWindow, };
|