@evixcard/evx-ui-kit 0.1.21 → 1.0.0
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/EvAlert/EvAlert.spec.d.ts +1 -0
- package/dist/components/EvAlert/EvAlert.vue.d.ts +27 -0
- package/dist/components/EvAlert/index.d.ts +2 -0
- package/dist/components/EvAppBackground/EvAppBackground.vue.d.ts +25 -0
- package/dist/components/EvAppBackground/index.d.ts +2 -0
- package/dist/components/EvButton/EvButton.spec.d.ts +1 -0
- package/dist/components/EvButton/EvButton.vue.d.ts +7 -3
- package/dist/components/EvButton/tokens.spec.d.ts +1 -0
- package/dist/components/EvButton/variants.d.ts +4 -0
- package/dist/components/EvConfirmDialog/EvConfirmDialog.vue.d.ts +54 -0
- package/dist/components/EvConfirmDialog/index.d.ts +2 -0
- package/dist/components/EvCookieBanner/EvCookieBanner.vue.d.ts +35 -0
- package/dist/components/EvCookieBanner/index.d.ts +2 -0
- package/dist/components/EvDataTable/EvDataTable.spec.d.ts +1 -0
- package/dist/components/EvDataTable/EvDataTable.vue.d.ts +24 -0
- package/dist/components/EvDataTable/index.d.ts +2 -0
- package/dist/components/EvDataTable/types.d.ts +17 -0
- package/dist/components/EvGlassCard/EvGlassCard.vue.d.ts +28 -0
- package/dist/components/EvGlassCard/index.d.ts +2 -0
- package/dist/components/EvHowToStep/EvHowToStep.vue.d.ts +22 -0
- package/dist/components/EvHowToStep/index.d.ts +2 -0
- package/dist/components/EvModal/EvModal.spec.d.ts +1 -0
- package/dist/components/EvModal/EvModal.vue.d.ts +38 -0
- package/dist/components/EvModal/index.d.ts +3 -0
- package/dist/components/EvModal/modalStack.d.ts +9 -0
- package/dist/components/EvPopup/EvPopup.vue.d.ts +22 -1
- package/dist/components/EvPopup/index.d.ts +1 -1
- package/dist/components/EvSelect/EvSelect.vue.d.ts +32 -0
- package/dist/components/EvSelect/index.d.ts +2 -0
- package/dist/components/EvSelect/types.d.ts +6 -0
- package/dist/components/EvSpinner/EvSpinner.vue.d.ts +36 -0
- package/dist/components/EvSpinner/index.d.ts +2 -0
- package/dist/components/charts/ChartTooltip.vue.d.ts +16 -0
- package/dist/components/charts/EvxAreaChart.spec.d.ts +1 -0
- package/dist/components/charts/EvxAreaChart.vue.d.ts +16 -0
- package/dist/components/charts/EvxBarChart.spec.d.ts +1 -0
- package/dist/components/charts/EvxBarChart.vue.d.ts +16 -0
- package/dist/components/charts/EvxComposedChart.spec.d.ts +1 -0
- package/dist/components/charts/EvxComposedChart.vue.d.ts +18 -0
- package/dist/components/charts/EvxLineChart.spec.d.ts +1 -0
- package/dist/components/charts/EvxLineChart.vue.d.ts +16 -0
- package/dist/components/charts/EvxPieChart.spec.d.ts +1 -0
- package/dist/components/charts/EvxPieChart.vue.d.ts +17 -0
- package/dist/components/charts/EvxRadarChart.spec.d.ts +1 -0
- package/dist/components/charts/EvxRadarChart.vue.d.ts +16 -0
- package/dist/components/charts/EvxRadialChart.spec.d.ts +1 -0
- package/dist/components/charts/EvxRadialChart.vue.d.ts +16 -0
- package/dist/components/charts/index.d.ts +8 -0
- package/dist/components/charts/useCartesianFrame.d.ts +38 -0
- package/dist/components/charts/useChartTheme.d.ts +22 -0
- package/dist/evx-ui-kit.cjs.js +41 -13
- package/dist/evx-ui-kit.cjs.js.map +1 -1
- package/dist/evx-ui-kit.css +1 -1
- package/dist/evx-ui-kit.es.js +10365 -2083
- package/dist/evx-ui-kit.es.js.map +1 -1
- package/dist/favicon.ico +0 -0
- package/dist/index.d.ts +11 -0
- package/dist/test/setup.d.ts +1 -0
- package/dist/theme.css +337 -0
- package/package.json +18 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export type EvAlertVariant = 'info' | 'warning' | 'success' | 'error';
|
|
2
|
+
export interface EvAlertProps {
|
|
3
|
+
variant?: EvAlertVariant;
|
|
4
|
+
title?: string;
|
|
5
|
+
class?: string;
|
|
6
|
+
}
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
icon?(_: {}): any;
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
actions?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<EvAlertProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EvAlertProps> & Readonly<{}>, {
|
|
19
|
+
variant: EvAlertVariant;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface EvAppBackgroundProps {
|
|
2
|
+
/**
|
|
3
|
+
* Desktop (≥ 640px) background image URL. The component renders nothing visually
|
|
4
|
+
* if this is omitted on desktop viewports — consumers are expected to import the
|
|
5
|
+
* webp/png asset via their bundler and pass the resolved URL in.
|
|
6
|
+
*/
|
|
7
|
+
desktopSrc?: string;
|
|
8
|
+
/** Mobile (< 640px) background image URL. Falls back to desktopSrc when not set. */
|
|
9
|
+
mobileSrc?: string;
|
|
10
|
+
/** Base color shown while the image loads. */
|
|
11
|
+
backgroundColor?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Reserved for future ambient-motion variants. The current background is a static
|
|
14
|
+
* image; the prop preserves API parity with EvBackground.
|
|
15
|
+
*/
|
|
16
|
+
animate?: boolean;
|
|
17
|
+
/** @see animate — currently unused. */
|
|
18
|
+
speed?: number;
|
|
19
|
+
}
|
|
20
|
+
declare const _default: import('vue').DefineComponent<EvAppBackgroundProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EvAppBackgroundProps> & Readonly<{}>, {
|
|
21
|
+
animate: boolean;
|
|
22
|
+
backgroundColor: string;
|
|
23
|
+
speed: number;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -5,6 +5,9 @@ interface Props {
|
|
|
5
5
|
variant: Variant;
|
|
6
6
|
isLoading: boolean;
|
|
7
7
|
isDisabled: boolean;
|
|
8
|
+
type?: 'button' | 'submit' | 'reset';
|
|
9
|
+
loadingText?: string;
|
|
10
|
+
fullWidth: boolean;
|
|
8
11
|
}
|
|
9
12
|
declare function __VLS_template(): {
|
|
10
13
|
attrs: Partial<{}>;
|
|
@@ -15,15 +18,16 @@ declare function __VLS_template(): {
|
|
|
15
18
|
rootEl: HTMLButtonElement;
|
|
16
19
|
};
|
|
17
20
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
-
declare const __VLS_component: import('vue').DefineComponent<Partial<Props>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
-
click: (
|
|
21
|
+
declare const __VLS_component: import('vue').DefineComponent<Partial<Props>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
22
|
+
click: (event: MouseEvent) => any;
|
|
20
23
|
}, string, import('vue').PublicProps, Readonly<Partial<Props>> & Readonly<{
|
|
21
|
-
onClick?: ((
|
|
24
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
22
25
|
}>, {
|
|
23
26
|
size: EvButtonSize;
|
|
24
27
|
variant: Variant;
|
|
25
28
|
isLoading: boolean;
|
|
26
29
|
isDisabled: boolean;
|
|
30
|
+
fullWidth: boolean;
|
|
27
31
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
28
32
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
33
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { EvPopupSize } from '../EvPopup';
|
|
2
|
+
export interface EvConfirmDialogProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
confirmLabel?: string;
|
|
7
|
+
cancelLabel?: string;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
destructive?: boolean;
|
|
10
|
+
error?: string | null;
|
|
11
|
+
/**
|
|
12
|
+
* Underlying EvPopup size. Defaults to `sm` for confirmation dialogs — gives a
|
|
13
|
+
* compact `max-w-sm rounded-2xl` panel with a smaller title that suits action
|
|
14
|
+
* prompts better than the generic-purpose `md` popup.
|
|
15
|
+
*/
|
|
16
|
+
size?: EvPopupSize;
|
|
17
|
+
/** Show the top-right close (X) button. Default `false` for confirm dialogs. */
|
|
18
|
+
showCloseButton?: boolean;
|
|
19
|
+
/** Use the blurred / darker backdrop. Default `true` for confirm dialogs. */
|
|
20
|
+
blur?: boolean;
|
|
21
|
+
}
|
|
22
|
+
declare function __VLS_template(): {
|
|
23
|
+
attrs: Partial<{}>;
|
|
24
|
+
slots: {
|
|
25
|
+
default?(_: {}): any;
|
|
26
|
+
};
|
|
27
|
+
refs: {};
|
|
28
|
+
rootEl: any;
|
|
29
|
+
};
|
|
30
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
|
+
declare const __VLS_component: import('vue').DefineComponent<EvConfirmDialogProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
32
|
+
cancel: () => any;
|
|
33
|
+
close: () => any;
|
|
34
|
+
confirm: () => any;
|
|
35
|
+
}, string, import('vue').PublicProps, Readonly<EvConfirmDialogProps> & Readonly<{
|
|
36
|
+
onCancel?: (() => any) | undefined;
|
|
37
|
+
onClose?: (() => any) | undefined;
|
|
38
|
+
onConfirm?: (() => any) | undefined;
|
|
39
|
+
}>, {
|
|
40
|
+
size: EvPopupSize;
|
|
41
|
+
blur: boolean;
|
|
42
|
+
showCloseButton: boolean;
|
|
43
|
+
confirmLabel: string;
|
|
44
|
+
cancelLabel: string;
|
|
45
|
+
loading: boolean;
|
|
46
|
+
destructive: boolean;
|
|
47
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
48
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
49
|
+
export default _default;
|
|
50
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export interface EvCookieBannerProps {
|
|
2
|
+
visible: boolean;
|
|
3
|
+
text?: string;
|
|
4
|
+
learnMoreHref?: string;
|
|
5
|
+
acceptAllLabel?: string;
|
|
6
|
+
acceptEssentialLabel?: string;
|
|
7
|
+
class?: string;
|
|
8
|
+
}
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
text?(_: {}): any;
|
|
13
|
+
actions?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
rootEl: any;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<EvCookieBannerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
20
|
+
"accept-all": () => any;
|
|
21
|
+
"accept-essential": () => any;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<EvCookieBannerProps> & Readonly<{
|
|
23
|
+
"onAccept-all"?: (() => any) | undefined;
|
|
24
|
+
"onAccept-essential"?: (() => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
acceptAllLabel: string;
|
|
27
|
+
acceptEssentialLabel: string;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EvDataTableProps } from './types.ts';
|
|
2
|
+
declare const _default: <T extends Record<string, unknown> = Record<string, unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
|
+
readonly onSort?: ((field: string, direction: "desc" | "asc") => any) | undefined;
|
|
5
|
+
readonly "onUpdate:page"?: ((page: number) => any) | undefined;
|
|
6
|
+
readonly "onRow-click"?: ((row: T) => any) | undefined;
|
|
7
|
+
readonly "onUpdate:selectedKeys"?: ((keys: (string | number)[]) => any) | undefined;
|
|
8
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onSort" | "onUpdate:page" | "onRow-click" | "onUpdate:selectedKeys"> & EvDataTableProps<T> & Partial<{}>> & import('vue').PublicProps;
|
|
9
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
10
|
+
attrs: any;
|
|
11
|
+
slots: Partial<Record<`cell-${string}`, (_: {
|
|
12
|
+
row: T;
|
|
13
|
+
value: unknown;
|
|
14
|
+
}) => any>> & {
|
|
15
|
+
empty?(_: {}): any;
|
|
16
|
+
};
|
|
17
|
+
emit: ((evt: "sort", field: string, direction: "desc" | "asc") => void) & ((evt: "update:page", page: number) => void) & ((evt: "row-click", row: T) => void) & ((evt: "update:selectedKeys", keys: (string | number)[]) => void);
|
|
18
|
+
}>) => import('vue').VNode & {
|
|
19
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_PrettifyLocal<T> = {
|
|
23
|
+
[K in keyof T]: T[K];
|
|
24
|
+
} & {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface EvDataTableColumn {
|
|
2
|
+
key: string;
|
|
3
|
+
label: string;
|
|
4
|
+
sortable?: boolean;
|
|
5
|
+
class?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface EvDataTableProps<T extends Record<string, unknown> = Record<string, unknown>> {
|
|
8
|
+
data?: T[];
|
|
9
|
+
columns: EvDataTableColumn[];
|
|
10
|
+
sortField?: string;
|
|
11
|
+
sortDirection?: 'asc' | 'desc';
|
|
12
|
+
page?: number;
|
|
13
|
+
pageSize?: number;
|
|
14
|
+
selectable?: boolean;
|
|
15
|
+
selectedKeys?: (string | number)[];
|
|
16
|
+
rowKey?: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export type EvGlassCardVariant = 'default' | 'blue' | 'purple' | 'pink' | 'dark';
|
|
2
|
+
export interface EvGlassCardProps {
|
|
3
|
+
variant?: EvGlassCardVariant;
|
|
4
|
+
animated?: boolean;
|
|
5
|
+
bubbles?: number;
|
|
6
|
+
class?: string;
|
|
7
|
+
}
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: HTMLDivElement;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<EvGlassCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EvGlassCardProps> & Readonly<{}>, {
|
|
18
|
+
variant: EvGlassCardVariant;
|
|
19
|
+
animated: boolean;
|
|
20
|
+
bubbles: number;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface EvHowToStepProps {
|
|
2
|
+
number: number | string;
|
|
3
|
+
class?: string;
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
icon?(_: {}): any;
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<EvHowToStepProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EvHowToStepProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export type EvModalSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
2
|
+
export interface EvModalProps {
|
|
3
|
+
open: boolean;
|
|
4
|
+
title: string;
|
|
5
|
+
size?: EvModalSize;
|
|
6
|
+
closable?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
footer?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {
|
|
15
|
+
containerRef: HTMLDivElement;
|
|
16
|
+
panelRef: HTMLDivElement;
|
|
17
|
+
};
|
|
18
|
+
rootEl: any;
|
|
19
|
+
};
|
|
20
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
+
declare const __VLS_component: import('vue').DefineComponent<EvModalProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
close: () => any;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<EvModalProps> & Readonly<{
|
|
24
|
+
onClose?: (() => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
size: EvModalSize;
|
|
27
|
+
closable: boolean;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
29
|
+
containerRef: HTMLDivElement;
|
|
30
|
+
panelRef: HTMLDivElement;
|
|
31
|
+
}, any>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface ModalLayer {
|
|
2
|
+
backdropZ: number;
|
|
3
|
+
panelZ: number;
|
|
4
|
+
}
|
|
5
|
+
export declare function acquireModalZ(): ModalLayer;
|
|
6
|
+
export declare function releaseModalZ(layer: ModalLayer): void;
|
|
7
|
+
export declare function acquireScrollLock(): void;
|
|
8
|
+
export declare function releaseScrollLock(): void;
|
|
9
|
+
export declare function __resetModalStackForTests(): void;
|
|
@@ -1,6 +1,23 @@
|
|
|
1
|
+
export type EvPopupSize = 'sm' | 'md';
|
|
1
2
|
export interface EvPopupProps {
|
|
2
3
|
isOpen: boolean;
|
|
3
4
|
title?: string;
|
|
5
|
+
/**
|
|
6
|
+
* Panel size preset.
|
|
7
|
+
* - `md` (default): wider panel (`max-w-[500px]`, `rounded-lg`) with a large
|
|
8
|
+
* title (`text-[24px] font-bold`) — used for generic informational dialogs.
|
|
9
|
+
* - `sm`: compact panel (`max-w-sm`, `rounded-2xl`) with a smaller, near-black
|
|
10
|
+
* title (`text-lg font-semibold text-foreground`) — designed for confirmation
|
|
11
|
+
* modals and other action-focused flows.
|
|
12
|
+
*/
|
|
13
|
+
size?: EvPopupSize;
|
|
14
|
+
/** When `false`, the top-right close (X) button is hidden. Default: `true`. */
|
|
15
|
+
showCloseButton?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* When `true`, the backdrop uses `bg-black/40 backdrop-blur-sm` instead of the
|
|
18
|
+
* default `bg-black/30`. Pair with destructive or attention-demanding flows.
|
|
19
|
+
*/
|
|
20
|
+
blur?: boolean;
|
|
4
21
|
}
|
|
5
22
|
declare function __VLS_template(): {
|
|
6
23
|
attrs: Partial<{}>;
|
|
@@ -15,7 +32,11 @@ declare const __VLS_component: import('vue').DefineComponent<EvPopupProps, {}, {
|
|
|
15
32
|
close: () => any;
|
|
16
33
|
}, string, import('vue').PublicProps, Readonly<EvPopupProps> & Readonly<{
|
|
17
34
|
onClose?: (() => any) | undefined;
|
|
18
|
-
}>, {
|
|
35
|
+
}>, {
|
|
36
|
+
size: EvPopupSize;
|
|
37
|
+
blur: boolean;
|
|
38
|
+
showCloseButton: boolean;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
40
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
41
|
export default _default;
|
|
21
42
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as EvPopup } from './EvPopup.vue';
|
|
2
|
-
export type { EvPopupProps } from './EvPopup.vue';
|
|
2
|
+
export type { EvPopupProps, EvPopupSize } from './EvPopup.vue';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EvSelectOption, EvSelectSize } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue?: string | number | null;
|
|
4
|
+
options: EvSelectOption[];
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
size?: EvSelectSize;
|
|
7
|
+
id?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
required?: boolean;
|
|
11
|
+
error?: boolean;
|
|
12
|
+
errorMessage?: string | null;
|
|
13
|
+
helperText?: string | null;
|
|
14
|
+
class?: string;
|
|
15
|
+
selectClass?: string;
|
|
16
|
+
};
|
|
17
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
18
|
+
"update:modelValue": (value: string | number | null) => any;
|
|
19
|
+
change: (value: Event) => any;
|
|
20
|
+
focus: (value: FocusEvent) => any;
|
|
21
|
+
blur: (value: FocusEvent) => any;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
+
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
24
|
+
onChange?: ((value: Event) => any) | undefined;
|
|
25
|
+
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
26
|
+
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
size: EvSelectSize;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
required: boolean;
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export type EvSpinnerNamedSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
2
|
+
export type EvSpinnerNumericSize = 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16;
|
|
3
|
+
export type EvSpinnerSize = EvSpinnerNamedSize | EvSpinnerNumericSize;
|
|
4
|
+
export type EvSpinnerVariant = 'arc' | 'track';
|
|
5
|
+
export interface EvSpinnerProps {
|
|
6
|
+
/**
|
|
7
|
+
* Spinner dimension. Accepts named tokens (`xs`/`sm`/`md`/`lg`/`xl`) for
|
|
8
|
+
* design-system parity, or a numeric Tailwind size (3/4/5/6/8/10/12/16) for
|
|
9
|
+
* pixel-perfect compatibility with existing inline `h-{n}` spinners.
|
|
10
|
+
*/
|
|
11
|
+
size?: EvSpinnerSize;
|
|
12
|
+
/**
|
|
13
|
+
* Visual style:
|
|
14
|
+
* - `arc` (default): top + right border colored, the rest transparent —
|
|
15
|
+
* produces a half-arc that traces around as it spins.
|
|
16
|
+
* - `track`: a faded ring (uses `color-mix()` to tint `color` to ~20% alpha)
|
|
17
|
+
* with the top border at full opacity — produces a "track + indicator"
|
|
18
|
+
* wheel similar to `border-X/20 + border-t-X` snippets in product code.
|
|
19
|
+
*/
|
|
20
|
+
variant?: EvSpinnerVariant;
|
|
21
|
+
/** Indicator color (any CSS color). Default: `var(--foreground)`. */
|
|
22
|
+
color?: string;
|
|
23
|
+
/** Override track tint for the `track` variant (default: 20% alpha of `color`). */
|
|
24
|
+
trackColor?: string;
|
|
25
|
+
/** Extra classes for the root element. */
|
|
26
|
+
class?: string;
|
|
27
|
+
/** Accessible label (announced to screen readers). */
|
|
28
|
+
label?: string;
|
|
29
|
+
}
|
|
30
|
+
declare const _default: import('vue').DefineComponent<EvSpinnerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EvSpinnerProps> & Readonly<{}>, {
|
|
31
|
+
size: EvSpinnerSize;
|
|
32
|
+
variant: EvSpinnerVariant;
|
|
33
|
+
color: string;
|
|
34
|
+
label: string;
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ChartTooltipStyle } from './useChartTheme.ts';
|
|
2
|
+
export interface ChartTooltipItem {
|
|
3
|
+
label: string;
|
|
4
|
+
color: string;
|
|
5
|
+
value: string | number;
|
|
6
|
+
}
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
visible: boolean;
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
11
|
+
title?: string;
|
|
12
|
+
items: ChartTooltipItem[];
|
|
13
|
+
style: ChartTooltipStyle;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ChartRow } from './useCartesianFrame.ts';
|
|
2
|
+
export interface EvxAreaChartProps {
|
|
3
|
+
data: ChartRow[];
|
|
4
|
+
xKey?: string;
|
|
5
|
+
yKeys?: string[];
|
|
6
|
+
seriesLabels?: string[];
|
|
7
|
+
height?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<EvxAreaChartProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EvxAreaChartProps> & Readonly<{}>, {
|
|
10
|
+
height: number;
|
|
11
|
+
xKey: string;
|
|
12
|
+
yKeys: string[];
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
|
+
wrapperRef: HTMLDivElement;
|
|
15
|
+
}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ChartRow } from './useCartesianFrame.ts';
|
|
2
|
+
export interface EvxBarChartProps {
|
|
3
|
+
data: ChartRow[];
|
|
4
|
+
xKey?: string;
|
|
5
|
+
yKeys?: string[];
|
|
6
|
+
seriesLabels?: string[];
|
|
7
|
+
height?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<EvxBarChartProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EvxBarChartProps> & Readonly<{}>, {
|
|
10
|
+
height: number;
|
|
11
|
+
xKey: string;
|
|
12
|
+
yKeys: string[];
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
|
+
wrapperRef: HTMLDivElement;
|
|
15
|
+
}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ChartRow } from './useCartesianFrame.ts';
|
|
2
|
+
export interface EvxComposedChartProps {
|
|
3
|
+
data: ChartRow[];
|
|
4
|
+
xKey?: string;
|
|
5
|
+
barKeys?: string[];
|
|
6
|
+
lineKeys?: string[];
|
|
7
|
+
seriesLabels?: string[];
|
|
8
|
+
height?: number;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import('vue').DefineComponent<EvxComposedChartProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EvxComposedChartProps> & Readonly<{}>, {
|
|
11
|
+
height: number;
|
|
12
|
+
xKey: string;
|
|
13
|
+
barKeys: string[];
|
|
14
|
+
lineKeys: string[];
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
16
|
+
wrapperRef: HTMLDivElement;
|
|
17
|
+
}, HTMLDivElement>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ChartRow } from './useCartesianFrame.ts';
|
|
2
|
+
export interface EvxLineChartProps {
|
|
3
|
+
data: ChartRow[];
|
|
4
|
+
xKey?: string;
|
|
5
|
+
yKeys?: string[];
|
|
6
|
+
seriesLabels?: string[];
|
|
7
|
+
height?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<EvxLineChartProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EvxLineChartProps> & Readonly<{}>, {
|
|
10
|
+
height: number;
|
|
11
|
+
xKey: string;
|
|
12
|
+
yKeys: string[];
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
|
+
wrapperRef: HTMLDivElement;
|
|
15
|
+
}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ChartRow } from './useCartesianFrame.ts';
|
|
2
|
+
export interface EvxPieChartProps {
|
|
3
|
+
data: ChartRow[];
|
|
4
|
+
nameKey?: string;
|
|
5
|
+
valueKey?: string;
|
|
6
|
+
donut?: boolean;
|
|
7
|
+
height?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<EvxPieChartProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EvxPieChartProps> & Readonly<{}>, {
|
|
10
|
+
height: number;
|
|
11
|
+
nameKey: string;
|
|
12
|
+
valueKey: string;
|
|
13
|
+
donut: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
15
|
+
wrapperRef: HTMLDivElement;
|
|
16
|
+
}, HTMLDivElement>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|