@point-hub/papp 0.0.110 → 0.0.113
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/app.vue.d.ts +11 -1
- package/dist/components/app-footer.vue.d.ts +1 -0
- package/dist/components/app-header.vue.d.ts +17 -114
- package/dist/components/app-sidebar-panel.vue.d.ts +2 -1
- package/dist/components/app-sidebar.vue.d.ts +2 -1
- package/dist/components/base-accordion-item.vue.d.ts +1 -0
- package/dist/components/base-autocomplete.vue.d.ts +2 -1
- package/dist/components/base-avatar.vue.d.ts +2 -2
- package/dist/components/base-button.vue.d.ts +7 -1
- package/dist/components/base-checkbox.vue.d.ts +2 -2
- package/dist/components/base-choosen.vue.d.ts +1 -0
- package/dist/components/base-datepicker.vue.d.ts +2 -1
- package/dist/components/base-file-upload.vue.d.ts +3 -2
- package/dist/components/base-input-mask.vue.d.ts +4 -2
- package/dist/components/base-input-number.vue.d.ts +6 -4
- package/dist/components/base-input.vue.d.ts +7 -3
- package/dist/components/base-link.vue.d.ts +4 -1
- package/dist/components/base-progress.vue.d.ts +1 -1
- package/dist/components/base-radio.vue.d.ts +3 -3
- package/dist/components/base-range.vue.d.ts +2 -1
- package/dist/components/base-select.vue.d.ts +5 -4
- package/dist/components/base-spinner.vue.d.ts +1 -1
- package/dist/components/base-switch.vue.d.ts +4 -3
- package/dist/components/base-textarea.vue.d.ts +2 -1
- package/dist/components/base-toast.vue.d.ts +5 -2
- package/dist/components/header-menu-account.vue.d.ts +7 -0
- package/dist/components/header-menu-dark-mode.vue.d.ts +12 -0
- package/dist/components/header-menu-signout.vue.d.ts +5 -0
- package/dist/components/header-menu-switch-organization.vue.d.ts +9 -0
- package/dist/components/header-menu.vue.d.ts +26 -0
- package/dist/components/header-notification.vue.d.ts +59 -0
- package/dist/components/header-sidebar-button.vue.d.ts +12 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +4606 -4387
- package/dist/index.umd.cjs +8 -8
- package/dist/layouts/app.vue.d.ts +1 -1
- package/dist/pages/{page-1.vue.d.ts → cypress-selector.vue.d.ts} +1 -1
- package/dist/plugins/base.d.ts +2 -5
- package/dist/plugins/input-mask.d.ts +2 -5
- package/dist/plugins/tooltip.d.ts +2 -5
- package/dist/stores/sidebar-menu.d.ts +47 -28
- package/package.json +20 -11
- package/dist/pages/page-2.vue.d.ts +0 -2
package/dist/app.vue.d.ts
CHANGED
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
export interface IToastRef {
|
|
2
|
+
toast(message: string, options?: {
|
|
3
|
+
lists?: string[];
|
|
4
|
+
color?: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'danger';
|
|
5
|
+
autoClose?: boolean;
|
|
6
|
+
timer?: number;
|
|
7
|
+
}): void;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
10
|
+
toastRef: unknown;
|
|
11
|
+
}, HTMLDivElement>;
|
|
2
12
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
version: string;
|
|
3
|
+
year: number;
|
|
3
4
|
};
|
|
4
5
|
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, {}, HTMLDivElement>;
|
|
5
6
|
export default _default;
|
|
@@ -1,115 +1,18 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} & {
|
|
14
|
-
ignoreOutsideRef: HTMLButtonElement;
|
|
15
|
-
};
|
|
16
|
-
$slots: Readonly<{
|
|
17
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
18
|
-
}>;
|
|
19
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
20
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
21
|
-
$host: Element | null;
|
|
22
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
23
|
-
$el: any;
|
|
24
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('./base-popover.vue').Props> & Readonly<{}>, {
|
|
25
|
-
toggle: (val: boolean) => void;
|
|
26
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
27
|
-
placement: import('./base-popover.vue').BasePopoverPlacementType;
|
|
28
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
29
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
30
|
-
created?: (() => void) | (() => void)[];
|
|
31
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
32
|
-
mounted?: (() => void) | (() => void)[];
|
|
33
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
34
|
-
updated?: (() => void) | (() => void)[];
|
|
35
|
-
activated?: (() => void) | (() => void)[];
|
|
36
|
-
deactivated?: (() => void) | (() => void)[];
|
|
37
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
38
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
39
|
-
destroyed?: (() => void) | (() => void)[];
|
|
40
|
-
unmounted?: (() => void) | (() => void)[];
|
|
41
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
42
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
43
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
44
|
-
};
|
|
45
|
-
$forceUpdate: () => void;
|
|
46
|
-
$nextTick: typeof import('vue').nextTick;
|
|
47
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
48
|
-
} & Readonly<{
|
|
49
|
-
placement: import('./base-popover.vue').BasePopoverPlacementType;
|
|
50
|
-
}> & Omit<Readonly<import('./base-popover.vue').Props> & Readonly<{}>, "placement" | "toggle"> & import('vue').ShallowUnwrapRef<{
|
|
51
|
-
toggle: (val: boolean) => void;
|
|
52
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
53
|
-
$slots: {
|
|
54
|
-
default?(_: {}): any;
|
|
55
|
-
content?(_: any): any;
|
|
56
|
-
};
|
|
57
|
-
}) | null;
|
|
58
|
-
accountPopoverRef: ({
|
|
59
|
-
$: import('vue').ComponentInternalInstance;
|
|
60
|
-
$data: {};
|
|
61
|
-
$props: {
|
|
62
|
-
readonly placement?: import('./base-popover.vue').BasePopoverPlacementType | undefined;
|
|
63
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
64
|
-
$attrs: {
|
|
65
|
-
[x: string]: unknown;
|
|
66
|
-
};
|
|
67
|
-
$refs: {
|
|
68
|
-
[x: string]: unknown;
|
|
69
|
-
} & {
|
|
70
|
-
ignoreOutsideRef: HTMLButtonElement;
|
|
71
|
-
};
|
|
72
|
-
$slots: Readonly<{
|
|
73
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
74
|
-
}>;
|
|
75
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
76
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
77
|
-
$host: Element | null;
|
|
78
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
79
|
-
$el: any;
|
|
80
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('./base-popover.vue').Props> & Readonly<{}>, {
|
|
81
|
-
toggle: (val: boolean) => void;
|
|
82
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
83
|
-
placement: import('./base-popover.vue').BasePopoverPlacementType;
|
|
84
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
85
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
86
|
-
created?: (() => void) | (() => void)[];
|
|
87
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
88
|
-
mounted?: (() => void) | (() => void)[];
|
|
89
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
90
|
-
updated?: (() => void) | (() => void)[];
|
|
91
|
-
activated?: (() => void) | (() => void)[];
|
|
92
|
-
deactivated?: (() => void) | (() => void)[];
|
|
93
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
94
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
95
|
-
destroyed?: (() => void) | (() => void)[];
|
|
96
|
-
unmounted?: (() => void) | (() => void)[];
|
|
97
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
98
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
99
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
100
|
-
};
|
|
101
|
-
$forceUpdate: () => void;
|
|
102
|
-
$nextTick: typeof import('vue').nextTick;
|
|
103
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
104
|
-
} & Readonly<{
|
|
105
|
-
placement: import('./base-popover.vue').BasePopoverPlacementType;
|
|
106
|
-
}> & Omit<Readonly<import('./base-popover.vue').Props> & Readonly<{}>, "placement" | "toggle"> & import('vue').ShallowUnwrapRef<{
|
|
107
|
-
toggle: (val: boolean) => void;
|
|
108
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
109
|
-
$slots: {
|
|
110
|
-
default?(_: {}): any;
|
|
111
|
-
content?(_: any): any;
|
|
112
|
-
};
|
|
113
|
-
}) | null;
|
|
114
|
-
}, HTMLElement>;
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
'left-header'?(_: {}): any;
|
|
5
|
+
'right-header'?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
115
13
|
export default _default;
|
|
14
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { IAppMenu } from '../stores/sidebar-menu';
|
|
1
2
|
type __VLS_Props = {
|
|
2
|
-
apps:
|
|
3
|
+
apps: IAppMenu[];
|
|
3
4
|
};
|
|
4
5
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
5
6
|
choose: (path: string) => any;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { IAppMenu, IMenu } from '../stores/sidebar-menu';
|
|
1
2
|
type __VLS_Props = {
|
|
2
3
|
title: string;
|
|
3
4
|
isMobile: boolean;
|
|
4
5
|
isSidebarOpen: boolean;
|
|
5
|
-
apps:
|
|
6
|
+
apps: IAppMenu[];
|
|
6
7
|
menus: IMenu[];
|
|
7
8
|
};
|
|
8
9
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -16,6 +16,7 @@ export interface Props {
|
|
|
16
16
|
required?: boolean;
|
|
17
17
|
disabled?: boolean;
|
|
18
18
|
helpers?: string[];
|
|
19
|
+
dataTestid?: string;
|
|
19
20
|
}
|
|
20
21
|
type __VLS_Props = Props;
|
|
21
22
|
type __VLS_PublicProps = {
|
|
@@ -171,5 +172,5 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
171
172
|
id: string;
|
|
172
173
|
as: string | Record<string, any>;
|
|
173
174
|
}> | null;
|
|
174
|
-
},
|
|
175
|
+
}, any>;
|
|
175
176
|
export default _default;
|
|
@@ -13,10 +13,10 @@ type __VLS_Props = {
|
|
|
13
13
|
};
|
|
14
14
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
15
15
|
animate: boolean;
|
|
16
|
-
size: BaseAvatarSizeType;
|
|
17
16
|
color: BaseAvatarColorType;
|
|
18
|
-
|
|
17
|
+
size: BaseAvatarSizeType;
|
|
19
18
|
colorIndicator: BaseAvatarColorType;
|
|
19
|
+
shape: BaseAvatarShapeType;
|
|
20
20
|
indicator: boolean;
|
|
21
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
22
|
export default _default;
|
|
@@ -3,14 +3,18 @@ export type BaseButtonVariantType = 'filled' | 'light' | 'outlined' | 'text';
|
|
|
3
3
|
export type BaseButtonShapeType = 'sharp' | 'rounded' | 'pill';
|
|
4
4
|
export type BaseButtonSizeType = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
5
5
|
export type BaseButtonType = 'submit' | 'button' | 'reset';
|
|
6
|
+
export type BaseAlign = 'left' | 'middle' | 'right';
|
|
6
7
|
type __VLS_Props = {
|
|
7
8
|
type?: BaseButtonType;
|
|
8
9
|
size?: BaseButtonSizeType;
|
|
9
10
|
color?: BaseButtonColorType;
|
|
10
11
|
variant?: BaseButtonVariantType;
|
|
11
12
|
shape?: BaseButtonShapeType;
|
|
13
|
+
align?: BaseAlign;
|
|
12
14
|
isBlock?: boolean;
|
|
13
15
|
isLoading?: boolean;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
dataTestid?: string;
|
|
14
18
|
};
|
|
15
19
|
declare function __VLS_template(): {
|
|
16
20
|
attrs: Partial<{}>;
|
|
@@ -23,12 +27,14 @@ declare function __VLS_template(): {
|
|
|
23
27
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
28
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
25
29
|
type: BaseButtonType;
|
|
26
|
-
size: BaseButtonSizeType;
|
|
27
30
|
color: BaseButtonColorType;
|
|
28
31
|
variant: BaseButtonVariantType;
|
|
32
|
+
size: BaseButtonSizeType;
|
|
29
33
|
shape: BaseButtonShapeType;
|
|
34
|
+
align: BaseAlign;
|
|
30
35
|
isBlock: boolean;
|
|
31
36
|
isLoading: boolean;
|
|
37
|
+
disabled: boolean;
|
|
32
38
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
33
39
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
40
|
export default _default;
|
|
@@ -5,12 +5,12 @@ export interface Props {
|
|
|
5
5
|
label?: string;
|
|
6
6
|
text?: string;
|
|
7
7
|
description?: string;
|
|
8
|
-
placeholder?: string;
|
|
9
8
|
layout?: BaseFormLayoutType;
|
|
10
9
|
theme?: BaseCheckboxThemeType;
|
|
11
10
|
required?: boolean;
|
|
12
11
|
disabled?: boolean;
|
|
13
12
|
helpers?: string[];
|
|
13
|
+
dataTestid?: string;
|
|
14
14
|
}
|
|
15
15
|
type __VLS_Props = Props;
|
|
16
16
|
declare const __VLS_defaults: {
|
|
@@ -42,5 +42,5 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
42
42
|
layout: BaseFormLayoutType;
|
|
43
43
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
44
44
|
inputRef: HTMLInputElement;
|
|
45
|
-
},
|
|
45
|
+
}, any>;
|
|
46
46
|
export default _default;
|
|
@@ -11,6 +11,7 @@ export interface Props {
|
|
|
11
11
|
required?: boolean;
|
|
12
12
|
disabled?: boolean;
|
|
13
13
|
helpers?: string[];
|
|
14
|
+
dataTestid?: string;
|
|
14
15
|
}
|
|
15
16
|
type __VLS_Props = Props;
|
|
16
17
|
type __VLS_PublicProps = {
|
|
@@ -37,5 +38,5 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
37
38
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
38
39
|
dateRef: HTMLInputElement;
|
|
39
40
|
inputRef: HTMLInputElement;
|
|
40
|
-
},
|
|
41
|
+
}, any>;
|
|
41
42
|
export default _default;
|
|
@@ -13,6 +13,7 @@ export interface Props {
|
|
|
13
13
|
required?: boolean;
|
|
14
14
|
disabled?: boolean;
|
|
15
15
|
helpers?: string[];
|
|
16
|
+
dataTestid?: string;
|
|
16
17
|
}
|
|
17
18
|
type __VLS_Props = Props;
|
|
18
19
|
type __VLS_PublicProps = {
|
|
@@ -29,7 +30,7 @@ declare function __VLS_template(): {
|
|
|
29
30
|
inputRef: HTMLInputElement;
|
|
30
31
|
fileRef: HTMLInputElement;
|
|
31
32
|
};
|
|
32
|
-
rootEl:
|
|
33
|
+
rootEl: any;
|
|
33
34
|
};
|
|
34
35
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
35
36
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
@@ -52,7 +53,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
52
53
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
53
54
|
inputRef: HTMLInputElement;
|
|
54
55
|
fileRef: HTMLInputElement;
|
|
55
|
-
},
|
|
56
|
+
}, any>;
|
|
56
57
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
57
58
|
export default _default;
|
|
58
59
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -3,16 +3,18 @@ export type BaseInputMaskBorderType = 'simple' | 'full' | 'none';
|
|
|
3
3
|
export interface Props {
|
|
4
4
|
modelValue: string | number | boolean | null;
|
|
5
5
|
id?: string;
|
|
6
|
+
name?: string;
|
|
6
7
|
label?: string;
|
|
7
8
|
description?: string;
|
|
8
9
|
placeholder?: string;
|
|
10
|
+
autofocus?: boolean;
|
|
9
11
|
border?: BaseInputMaskBorderType;
|
|
10
12
|
layout?: BaseFormLayoutType;
|
|
11
|
-
autofocus?: boolean;
|
|
12
13
|
required?: boolean;
|
|
13
14
|
disabled?: boolean;
|
|
14
15
|
helpers?: string[];
|
|
15
16
|
options?: any;
|
|
17
|
+
dataTestid?: string;
|
|
16
18
|
}
|
|
17
19
|
type __VLS_Props = Props;
|
|
18
20
|
type __VLS_PublicProps = {
|
|
@@ -35,5 +37,5 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
35
37
|
autofocus: boolean;
|
|
36
38
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
37
39
|
inputRef: HTMLInputElement;
|
|
38
|
-
},
|
|
40
|
+
}, any>;
|
|
39
41
|
export default _default;
|
|
@@ -2,6 +2,7 @@ import { BaseFormLayoutType } from './base-form.vue';
|
|
|
2
2
|
export type BaseInputNumberBorderType = 'none' | 'simple' | 'full';
|
|
3
3
|
export interface Props {
|
|
4
4
|
id?: string;
|
|
5
|
+
name?: string;
|
|
5
6
|
label?: string;
|
|
6
7
|
align?: 'left' | 'right';
|
|
7
8
|
description?: string;
|
|
@@ -9,9 +10,9 @@ export interface Props {
|
|
|
9
10
|
border?: BaseInputNumberBorderType;
|
|
10
11
|
layout?: BaseFormLayoutType;
|
|
11
12
|
decimalLength?: number;
|
|
12
|
-
autofocus?: boolean;
|
|
13
13
|
required?: boolean;
|
|
14
14
|
disabled?: boolean;
|
|
15
|
+
autofocus?: boolean;
|
|
15
16
|
/**
|
|
16
17
|
* Clearing or resetting errors when an update or change occurs.
|
|
17
18
|
*
|
|
@@ -19,6 +20,7 @@ export interface Props {
|
|
|
19
20
|
*/
|
|
20
21
|
resetErrorsOnUpdate?: boolean;
|
|
21
22
|
helpers?: string[];
|
|
23
|
+
dataTestid?: string;
|
|
22
24
|
}
|
|
23
25
|
type __VLS_Props = Props;
|
|
24
26
|
type __VLS_PublicProps = {
|
|
@@ -36,7 +38,7 @@ declare function __VLS_template(): {
|
|
|
36
38
|
suffixRef: HTMLDivElement;
|
|
37
39
|
prefixRef: HTMLDivElement;
|
|
38
40
|
};
|
|
39
|
-
rootEl:
|
|
41
|
+
rootEl: any;
|
|
40
42
|
};
|
|
41
43
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
42
44
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
@@ -51,18 +53,18 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
51
53
|
"onUpdate:errors"?: ((value: string[]) => any) | undefined;
|
|
52
54
|
}>, {
|
|
53
55
|
required: boolean;
|
|
56
|
+
align: "left" | "right";
|
|
54
57
|
disabled: boolean;
|
|
55
58
|
layout: BaseFormLayoutType;
|
|
56
59
|
border: BaseInputNumberBorderType;
|
|
57
60
|
autofocus: boolean;
|
|
58
61
|
resetErrorsOnUpdate: boolean;
|
|
59
|
-
align: "left" | "right";
|
|
60
62
|
decimalLength: number;
|
|
61
63
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
62
64
|
inputRef: HTMLInputElement;
|
|
63
65
|
suffixRef: HTMLDivElement;
|
|
64
66
|
prefixRef: HTMLDivElement;
|
|
65
|
-
},
|
|
67
|
+
}, any>;
|
|
66
68
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
67
69
|
export default _default;
|
|
68
70
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseFormLayoutType } from './base-form.vue';
|
|
2
|
-
export type BaseInputType = 'text' | 'tel' | 'email' | 'password' | 'date' | 'number';
|
|
3
2
|
export type BaseInputBorderType = 'none' | 'simple' | 'full';
|
|
3
|
+
export type BaseInputType = 'text' | 'tel' | 'email' | 'password' | 'date' | 'number';
|
|
4
4
|
export interface Props {
|
|
5
5
|
modelValue: string;
|
|
6
6
|
id?: string;
|
|
@@ -25,6 +25,10 @@ export interface Props {
|
|
|
25
25
|
* The helper text appears below the text input.
|
|
26
26
|
*/
|
|
27
27
|
helpers?: string[];
|
|
28
|
+
/**
|
|
29
|
+
* Custom attribute to mark elements for testing
|
|
30
|
+
*/
|
|
31
|
+
dataTestid?: string;
|
|
28
32
|
}
|
|
29
33
|
type __VLS_Props = Props;
|
|
30
34
|
type __VLS_PublicProps = {
|
|
@@ -41,7 +45,7 @@ declare function __VLS_template(): {
|
|
|
41
45
|
suffixRef: HTMLDivElement;
|
|
42
46
|
prefixRef: HTMLDivElement;
|
|
43
47
|
};
|
|
44
|
-
rootEl:
|
|
48
|
+
rootEl: any;
|
|
45
49
|
};
|
|
46
50
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
47
51
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
@@ -66,7 +70,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
66
70
|
inputRef: HTMLInputElement;
|
|
67
71
|
suffixRef: HTMLDivElement;
|
|
68
72
|
prefixRef: HTMLDivElement;
|
|
69
|
-
},
|
|
73
|
+
}, any>;
|
|
70
74
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
71
75
|
export default _default;
|
|
72
76
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -2,12 +2,14 @@ export type BaseButtonColorType = 'none' | 'primary' | 'secondary' | 'info' | 's
|
|
|
2
2
|
export type BaseButtonVariantType = 'filled' | 'light' | 'outlined' | 'text';
|
|
3
3
|
export type BaseButtonShapeType = 'sharp' | 'rounded' | 'pill';
|
|
4
4
|
export type BaseButtonSizeType = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
5
|
+
export type BaseButtonAlign = 'left' | 'middle' | 'right';
|
|
5
6
|
type __VLS_Props = {
|
|
6
7
|
href: string;
|
|
7
8
|
size?: BaseButtonSizeType;
|
|
8
9
|
color?: BaseButtonColorType;
|
|
9
10
|
variant?: BaseButtonVariantType;
|
|
10
11
|
shape?: BaseButtonShapeType;
|
|
12
|
+
align?: BaseButtonAlign;
|
|
11
13
|
isBlock?: boolean;
|
|
12
14
|
};
|
|
13
15
|
declare function __VLS_template(): {
|
|
@@ -20,10 +22,11 @@ declare function __VLS_template(): {
|
|
|
20
22
|
};
|
|
21
23
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
24
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
23
|
-
size: BaseButtonSizeType;
|
|
24
25
|
color: BaseButtonColorType;
|
|
25
26
|
variant: BaseButtonVariantType;
|
|
27
|
+
size: BaseButtonSizeType;
|
|
26
28
|
shape: BaseButtonShapeType;
|
|
29
|
+
align: BaseButtonAlign;
|
|
27
30
|
isBlock: boolean;
|
|
28
31
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLAnchorElement>;
|
|
29
32
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -20,8 +20,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
20
20
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
21
21
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
|
-
size: BaseProgressSizeType;
|
|
24
23
|
color: BaseProgressColorType;
|
|
24
|
+
size: BaseProgressSizeType;
|
|
25
25
|
isIndeterminate: boolean;
|
|
26
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
27
27
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -10,8 +10,8 @@ export interface Props {
|
|
|
10
10
|
required?: boolean;
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
helpers?: string[];
|
|
13
|
-
errors?: string[];
|
|
14
13
|
options: Record<string, any>[];
|
|
14
|
+
dataTestid?: string;
|
|
15
15
|
}
|
|
16
16
|
type __VLS_Props = Props;
|
|
17
17
|
type __VLS_PublicProps = {
|
|
@@ -27,7 +27,7 @@ declare function __VLS_template(): {
|
|
|
27
27
|
}): any;
|
|
28
28
|
};
|
|
29
29
|
refs: {};
|
|
30
|
-
rootEl:
|
|
30
|
+
rootEl: any;
|
|
31
31
|
};
|
|
32
32
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
33
33
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -42,7 +42,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
42
42
|
disabled: boolean;
|
|
43
43
|
layout: BaseFormLayoutType;
|
|
44
44
|
optionsLayout: BaseRadioOptionsLayout;
|
|
45
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
45
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
46
46
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
47
47
|
export default _default;
|
|
48
48
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -8,6 +8,7 @@ export interface Props {
|
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
showText?: boolean;
|
|
10
10
|
helpers?: string[];
|
|
11
|
+
dataTestid?: string;
|
|
11
12
|
}
|
|
12
13
|
type __VLS_Props = Props;
|
|
13
14
|
type __VLS_PublicProps = {
|
|
@@ -24,5 +25,5 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
24
25
|
disabled: boolean;
|
|
25
26
|
layout: BaseFormLayoutType;
|
|
26
27
|
showText: boolean;
|
|
27
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
29
|
export default _default;
|
|
@@ -5,7 +5,7 @@ export interface BaseSelectOptionInterface {
|
|
|
5
5
|
}
|
|
6
6
|
export type BaseSelectBorderType = 'none' | 'simple' | 'full';
|
|
7
7
|
export interface Props {
|
|
8
|
-
modelValue: BaseSelectOptionInterface | null;
|
|
8
|
+
modelValue: BaseSelectOptionInterface | undefined | null;
|
|
9
9
|
options: BaseSelectOptionInterface[];
|
|
10
10
|
id?: string;
|
|
11
11
|
label?: string;
|
|
@@ -16,6 +16,7 @@ export interface Props {
|
|
|
16
16
|
required?: boolean;
|
|
17
17
|
disabled?: boolean;
|
|
18
18
|
helpers?: string[];
|
|
19
|
+
dataTestid?: string;
|
|
19
20
|
}
|
|
20
21
|
type __VLS_Props = Props;
|
|
21
22
|
type __VLS_PublicProps = {
|
|
@@ -24,9 +25,9 @@ type __VLS_PublicProps = {
|
|
|
24
25
|
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
26
|
"update:errors": (value: string[]) => any;
|
|
26
27
|
} & {
|
|
27
|
-
"update:modelValue": (value: BaseSelectOptionInterface | null) => any;
|
|
28
|
+
"update:modelValue": (value: BaseSelectOptionInterface | null | undefined) => any;
|
|
28
29
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
29
|
-
"onUpdate:modelValue"?: ((value: BaseSelectOptionInterface | null) => any) | undefined;
|
|
30
|
+
"onUpdate:modelValue"?: ((value: BaseSelectOptionInterface | null | undefined) => any) | undefined;
|
|
30
31
|
"onUpdate:errors"?: ((value: string[]) => any) | undefined;
|
|
31
32
|
}>, {
|
|
32
33
|
required: boolean;
|
|
@@ -34,5 +35,5 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
34
35
|
layout: BaseFormLayoutType;
|
|
35
36
|
placeholder: string;
|
|
36
37
|
border: BaseSelectBorderType;
|
|
37
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
38
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
38
39
|
export default _default;
|
|
@@ -5,7 +5,7 @@ type __VLS_Props = {
|
|
|
5
5
|
color?: BaseSpinnerColorType;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
-
size: BaseSpinnerSizeType;
|
|
9
8
|
color: BaseSpinnerColorType;
|
|
9
|
+
size: BaseSpinnerSizeType;
|
|
10
10
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
11
11
|
export default _default;
|
|
@@ -14,6 +14,7 @@ export interface Props {
|
|
|
14
14
|
required?: boolean;
|
|
15
15
|
disabled?: boolean;
|
|
16
16
|
helpers?: string[];
|
|
17
|
+
dataTestid?: string;
|
|
17
18
|
}
|
|
18
19
|
type __VLS_Props = Props;
|
|
19
20
|
type __VLS_PublicProps = {
|
|
@@ -25,7 +26,7 @@ declare function __VLS_template(): {
|
|
|
25
26
|
label?(_: {}): any;
|
|
26
27
|
};
|
|
27
28
|
refs: {};
|
|
28
|
-
rootEl:
|
|
29
|
+
rootEl: any;
|
|
29
30
|
};
|
|
30
31
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
32
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -36,12 +37,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
36
37
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
37
38
|
"onUpdate:errors"?: ((value: string[]) => any) | undefined;
|
|
38
39
|
}>, {
|
|
39
|
-
size: BaseSwitchSize;
|
|
40
40
|
required: boolean;
|
|
41
|
+
size: BaseSwitchSize;
|
|
41
42
|
disabled: boolean;
|
|
42
43
|
layout: BaseFormLayoutType;
|
|
43
44
|
textPosition: BaseSwitchTextPosition;
|
|
44
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
45
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
45
46
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
46
47
|
export default _default;
|
|
47
48
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -15,6 +15,7 @@ export interface Props {
|
|
|
15
15
|
helpers?: string[];
|
|
16
16
|
minHeight?: number;
|
|
17
17
|
maxHeight?: number;
|
|
18
|
+
dataTestid?: string;
|
|
18
19
|
}
|
|
19
20
|
type __VLS_Props = Props;
|
|
20
21
|
type __VLS_PublicProps = {
|
|
@@ -37,5 +38,5 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
37
38
|
autofocus: boolean;
|
|
38
39
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
39
40
|
textareaRef: HTMLTextAreaElement;
|
|
40
|
-
},
|
|
41
|
+
}, any>;
|
|
41
42
|
export default _default;
|
|
@@ -5,6 +5,9 @@ export interface IOptions {
|
|
|
5
5
|
autoClose?: boolean;
|
|
6
6
|
timer?: number;
|
|
7
7
|
}
|
|
8
|
+
export interface Props {
|
|
9
|
+
dataTestid?: string;
|
|
10
|
+
}
|
|
8
11
|
declare function __VLS_template(): {
|
|
9
12
|
attrs: Partial<{}>;
|
|
10
13
|
slots: {
|
|
@@ -16,10 +19,10 @@ declare function __VLS_template(): {
|
|
|
16
19
|
rootEl: any;
|
|
17
20
|
};
|
|
18
21
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
20
23
|
toast: (message: string, options?: IOptions) => void;
|
|
21
24
|
remove: (id: string) => void;
|
|
22
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<
|
|
25
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
26
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
27
|
export default _default;
|
|
25
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|