@up-packages/ui 0.14.0-qa → 0.16.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.
@@ -0,0 +1,9 @@
1
+ import type { ApexOptions } from 'apexcharts';
2
+ import type { UpxChartProps } from './types';
3
+ declare const _default: import("vue").DefineComponent<UpxChartProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpxChartProps> & Readonly<{}>, {
4
+ height: string | number;
5
+ type: "line" | "bar" | "donut" | "pie" | "area" | "radialBar";
6
+ width: string | number;
7
+ options: ApexOptions;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import type { ApexOptions } from 'apexcharts';
2
+ export declare const upxChartColors: {
3
+ primary: string;
4
+ secondary: string;
5
+ success: string;
6
+ warning: string;
7
+ gray: string;
8
+ };
9
+ export declare const defaultChartOptions: ApexOptions;
@@ -0,0 +1,3 @@
1
+ export { default as UpxChart } from './UpxChart.vue';
2
+ export * from './types';
3
+ export * from './chartConfig';
@@ -0,0 +1,8 @@
1
+ import type { ApexOptions } from 'apexcharts';
2
+ export interface UpxChartProps {
3
+ type?: 'line' | 'bar' | 'donut' | 'pie' | 'area' | 'radialBar';
4
+ series: any[];
5
+ options?: ApexOptions;
6
+ width?: string | number;
7
+ height?: string | number;
8
+ }
@@ -1,69 +1,13 @@
1
- export interface UpxDataTableHeader {
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: {}, __VLS_22: {};
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
- bottom?: (props: typeof __VLS_22) => any;
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 "./UpxDataTable.vue";
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,2 @@
1
+ export { default as UpxDropzone } from './UpxDropzone.vue';
2
+ export * from './types';
@@ -0,0 +1,7 @@
1
+ export interface UpxDropzoneProps {
2
+ title?: string;
3
+ description?: string;
4
+ accept?: string;
5
+ multiple?: boolean;
6
+ icon?: string;
7
+ }
@@ -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,2 @@
1
+ export { default as UpxKpiCard } from './UpxKpiCard.vue';
2
+ export * from './types';
@@ -0,0 +1,9 @@
1
+ export type UpxKpiCardVariant = 'default' | 'outlined' | 'elevated' | 'flat';
2
+ export interface UpxKpiCardProps {
3
+ title: string;
4
+ value: string | number;
5
+ description?: string;
6
+ icon: string;
7
+ iconColor?: string;
8
+ variant?: UpxKpiCardVariant;
9
+ }
@@ -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,2 @@
1
+ export { default as UpxTimeline } from './UpxTimeline.vue';
2
+ export * from './types.ts';
@@ -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
+ }
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, };