@point-hub/papp 0.0.1 → 0.0.2
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/papp.js +2722 -2709
- package/dist/papp.umd.cjs +5 -5
- package/dist/src/components/base-alert.vue.d.ts +11 -14
- package/dist/src/components/base-autocomplete.vue.d.ts +18 -9
- package/dist/src/components/base-avatar.vue.d.ts +15 -15
- package/dist/src/components/base-badge.vue.d.ts +8 -8
- package/dist/src/components/base-breadcrumb.vue.d.ts +8 -8
- package/dist/src/components/base-button.vue.d.ts +16 -16
- package/dist/src/components/base-checkbox.vue.d.ts +9 -4
- package/dist/src/components/base-datepicker.vue.d.ts +7 -5
- package/dist/src/components/base-divider.vue.d.ts +3 -2
- package/dist/src/components/base-dropdown.vue.d.ts +3 -2
- package/dist/src/components/base-file-upload.vue.d.ts +8 -9
- package/dist/src/components/base-form.vue.d.ts +3 -3
- package/dist/src/components/base-input-mask.vue.d.ts +9 -7
- package/dist/src/components/base-input-number.vue.d.ts +9 -7
- package/dist/src/components/base-input.vue.d.ts +9 -6
- package/dist/src/components/base-mask.vue.d.ts +2 -1
- package/dist/src/components/base-modal.vue.d.ts +4 -4
- package/dist/src/components/base-popover.vue.d.ts +3 -2
- package/dist/src/components/base-progress.vue.d.ts +9 -7
- package/dist/src/components/base-radio.vue.d.ts +13 -13
- package/dist/src/components/base-range.vue.d.ts +6 -5
- package/dist/src/components/base-select.vue.d.ts +11 -9
- package/dist/src/components/base-spinner.vue.d.ts +8 -8
- package/dist/src/components/base-step.vue.d.ts +7 -8
- package/dist/src/components/base-switch.vue.d.ts +12 -9
- package/dist/src/components/base-textarea.vue.d.ts +6 -4
- package/dist/src/components/base-toast.vue.d.ts +2 -1
- package/dist/src/index.d.ts +27 -26
- package/dist/src/plugins/icon.d.ts +5 -0
- package/dist/style.css +1 -1
- package/package.json +25 -25
|
@@ -1,39 +1,36 @@
|
|
|
1
|
-
export type
|
|
2
|
-
export type
|
|
3
|
-
export type
|
|
1
|
+
export type BaseAlertColorType = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'danger';
|
|
2
|
+
export type BaseAlertIconType = 'info' | 'success' | 'warning' | 'danger';
|
|
3
|
+
export type BaseAlertVariantType = 'fill' | 'light' | 'outline';
|
|
4
4
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
5
|
title?: string | undefined;
|
|
6
|
-
icon?:
|
|
7
|
-
color?:
|
|
8
|
-
variant?:
|
|
6
|
+
icon?: BaseAlertIconType | undefined;
|
|
7
|
+
color?: BaseAlertColorType | undefined;
|
|
8
|
+
variant?: BaseAlertVariantType | undefined;
|
|
9
9
|
isClosed?: boolean | undefined;
|
|
10
10
|
isDismissable?: boolean | undefined;
|
|
11
11
|
}>, {
|
|
12
12
|
title: string;
|
|
13
|
-
icon: string;
|
|
14
13
|
color: string;
|
|
15
14
|
variant: string;
|
|
16
15
|
isClosed: boolean;
|
|
17
16
|
isDismissable: boolean;
|
|
18
17
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
19
18
|
title?: string | undefined;
|
|
20
|
-
icon?:
|
|
21
|
-
color?:
|
|
22
|
-
variant?:
|
|
19
|
+
icon?: BaseAlertIconType | undefined;
|
|
20
|
+
color?: BaseAlertColorType | undefined;
|
|
21
|
+
variant?: BaseAlertVariantType | undefined;
|
|
23
22
|
isClosed?: boolean | undefined;
|
|
24
23
|
isDismissable?: boolean | undefined;
|
|
25
24
|
}>, {
|
|
26
25
|
title: string;
|
|
27
|
-
icon: string;
|
|
28
26
|
color: string;
|
|
29
27
|
variant: string;
|
|
30
28
|
isClosed: boolean;
|
|
31
29
|
isDismissable: boolean;
|
|
32
30
|
}>>>, {
|
|
33
31
|
title: string;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
variant: variantType;
|
|
32
|
+
color: BaseAlertColorType;
|
|
33
|
+
variant: BaseAlertVariantType;
|
|
37
34
|
isClosed: boolean;
|
|
38
35
|
isDismissable: boolean;
|
|
39
36
|
}, {}>, {
|
|
@@ -1,39 +1,48 @@
|
|
|
1
|
-
|
|
1
|
+
import { type BaseFormLayoutType } from './base-form.vue';
|
|
2
|
+
export type BaseAutocompleteBorderType = 'none' | 'simple' | 'full';
|
|
3
|
+
export interface BaseAutocompleteOptionInterface {
|
|
2
4
|
label: string;
|
|
3
5
|
[key: string]: any;
|
|
4
6
|
}
|
|
5
7
|
export interface Props {
|
|
6
|
-
modelValue:
|
|
8
|
+
modelValue: BaseAutocompleteOptionInterface | null;
|
|
7
9
|
id?: string;
|
|
8
|
-
options:
|
|
10
|
+
options: BaseAutocompleteOptionInterface[];
|
|
9
11
|
label?: string;
|
|
10
12
|
description?: string;
|
|
11
13
|
placeholder?: string;
|
|
12
|
-
border?:
|
|
13
|
-
layout?:
|
|
14
|
+
border?: BaseAutocompleteBorderType;
|
|
15
|
+
layout?: BaseFormLayoutType;
|
|
14
16
|
required?: boolean;
|
|
15
17
|
disabled?: boolean;
|
|
16
18
|
helpers?: string[];
|
|
17
19
|
errors?: string[];
|
|
18
20
|
}
|
|
19
21
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
22
|
+
modelValue: () => {
|
|
23
|
+
label: string;
|
|
24
|
+
};
|
|
20
25
|
border: string;
|
|
21
26
|
layout: string;
|
|
22
27
|
required: boolean;
|
|
23
28
|
disabled: boolean;
|
|
24
29
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
-
"update:modelValue": (value:
|
|
30
|
+
"update:modelValue": (value: BaseAutocompleteOptionInterface | null) => void;
|
|
26
31
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
32
|
+
modelValue: () => {
|
|
33
|
+
label: string;
|
|
34
|
+
};
|
|
27
35
|
border: string;
|
|
28
36
|
layout: string;
|
|
29
37
|
required: boolean;
|
|
30
38
|
disabled: boolean;
|
|
31
39
|
}>>> & {
|
|
32
|
-
"onUpdate:modelValue"?: ((value:
|
|
40
|
+
"onUpdate:modelValue"?: ((value: BaseAutocompleteOptionInterface | null) => any) | undefined;
|
|
33
41
|
}, {
|
|
42
|
+
layout: BaseFormLayoutType;
|
|
34
43
|
required: boolean;
|
|
35
|
-
|
|
36
|
-
border:
|
|
44
|
+
modelValue: BaseAutocompleteOptionInterface | null;
|
|
45
|
+
border: BaseAutocompleteBorderType;
|
|
37
46
|
disabled: boolean;
|
|
38
47
|
}, {}>;
|
|
39
48
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export type
|
|
2
|
-
export type
|
|
3
|
-
export type
|
|
1
|
+
export type BaseAvatarColorType = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'danger';
|
|
2
|
+
export type BaseAvatarShapeType = 'square' | 'squircle' | 'circle';
|
|
3
|
+
export type BaseAvatarSizeType = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
5
|
name: string;
|
|
6
6
|
src?: string | undefined;
|
|
7
|
-
color?:
|
|
8
|
-
colorIndicator?:
|
|
9
|
-
shape?:
|
|
10
|
-
size?:
|
|
7
|
+
color?: BaseAvatarColorType | undefined;
|
|
8
|
+
colorIndicator?: BaseAvatarColorType | undefined;
|
|
9
|
+
shape?: BaseAvatarShapeType | undefined;
|
|
10
|
+
size?: BaseAvatarSizeType | undefined;
|
|
11
11
|
indicator?: boolean | undefined;
|
|
12
12
|
animate?: boolean | undefined;
|
|
13
13
|
}>, {
|
|
@@ -20,10 +20,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
20
20
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
21
21
|
name: string;
|
|
22
22
|
src?: string | undefined;
|
|
23
|
-
color?:
|
|
24
|
-
colorIndicator?:
|
|
25
|
-
shape?:
|
|
26
|
-
size?:
|
|
23
|
+
color?: BaseAvatarColorType | undefined;
|
|
24
|
+
colorIndicator?: BaseAvatarColorType | undefined;
|
|
25
|
+
shape?: BaseAvatarShapeType | undefined;
|
|
26
|
+
size?: BaseAvatarSizeType | undefined;
|
|
27
27
|
indicator?: boolean | undefined;
|
|
28
28
|
animate?: boolean | undefined;
|
|
29
29
|
}>, {
|
|
@@ -35,10 +35,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
35
35
|
animate: boolean;
|
|
36
36
|
}>>>, {
|
|
37
37
|
animate: boolean;
|
|
38
|
-
color:
|
|
39
|
-
colorIndicator:
|
|
40
|
-
shape:
|
|
41
|
-
size:
|
|
38
|
+
color: BaseAvatarColorType;
|
|
39
|
+
colorIndicator: BaseAvatarColorType;
|
|
40
|
+
shape: BaseAvatarShapeType;
|
|
41
|
+
size: BaseAvatarSizeType;
|
|
42
42
|
indicator: boolean;
|
|
43
43
|
}, {}>;
|
|
44
44
|
export default _default;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export type
|
|
2
|
-
export type
|
|
1
|
+
export type BaseBadgeColorType = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'danger';
|
|
2
|
+
export type BaseBadgeVariantType = 'fill' | 'light' | 'outline';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
color?:
|
|
5
|
-
variant?:
|
|
4
|
+
color?: BaseBadgeColorType | undefined;
|
|
5
|
+
variant?: BaseBadgeVariantType | undefined;
|
|
6
6
|
withDot?: boolean | undefined;
|
|
7
7
|
}>, {
|
|
8
8
|
color: string;
|
|
9
9
|
variant: string;
|
|
10
10
|
withDot: boolean;
|
|
11
11
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
-
color?:
|
|
13
|
-
variant?:
|
|
12
|
+
color?: BaseBadgeColorType | undefined;
|
|
13
|
+
variant?: BaseBadgeVariantType | undefined;
|
|
14
14
|
withDot?: boolean | undefined;
|
|
15
15
|
}>, {
|
|
16
16
|
color: string;
|
|
17
17
|
variant: string;
|
|
18
18
|
withDot: boolean;
|
|
19
19
|
}>>>, {
|
|
20
|
-
color:
|
|
21
|
-
variant:
|
|
20
|
+
color: BaseBadgeColorType;
|
|
21
|
+
variant: BaseBadgeVariantType;
|
|
22
22
|
withDot: boolean;
|
|
23
23
|
}, {}>, {
|
|
24
24
|
default?(_: {}): any;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface BaseBreadcrumbItemInterface {
|
|
2
2
|
name: string;
|
|
3
3
|
path?: string;
|
|
4
4
|
}
|
|
5
|
-
export type
|
|
5
|
+
export type BaseBreadcrumbSeparatoryType = 'angle' | 'arrow' | 'slash';
|
|
6
6
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
items:
|
|
8
|
-
separator:
|
|
7
|
+
items: BaseBreadcrumbItemInterface[];
|
|
8
|
+
separator: BaseBreadcrumbSeparatoryType;
|
|
9
9
|
}>, {
|
|
10
10
|
separator: string;
|
|
11
11
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
-
items:
|
|
13
|
-
separator:
|
|
12
|
+
items: BaseBreadcrumbItemInterface[];
|
|
13
|
+
separator: BaseBreadcrumbSeparatoryType;
|
|
14
14
|
}>, {
|
|
15
15
|
separator: string;
|
|
16
16
|
}>>>, {
|
|
17
|
-
separator:
|
|
17
|
+
separator: BaseBreadcrumbSeparatoryType;
|
|
18
18
|
}, {}>, {
|
|
19
19
|
default?(_: {
|
|
20
20
|
index: number;
|
|
21
|
-
item:
|
|
21
|
+
item: BaseBreadcrumbItemInterface;
|
|
22
22
|
}): any;
|
|
23
23
|
}>;
|
|
24
24
|
export default _default;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export type
|
|
2
|
-
export type
|
|
3
|
-
export type
|
|
4
|
-
export type
|
|
1
|
+
export type BaseButtonColorType = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'danger';
|
|
2
|
+
export type BaseButtonVariantType = 'fill' | 'light' | 'outline' | 'text';
|
|
3
|
+
export type BaseButtonShapeType = 'sharp' | 'round' | 'pill';
|
|
4
|
+
export type BaseButtonSizeType = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
5
5
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
size?:
|
|
7
|
-
color?:
|
|
8
|
-
variant?:
|
|
9
|
-
shape?:
|
|
6
|
+
size?: BaseButtonSizeType | undefined;
|
|
7
|
+
color?: BaseButtonColorType | undefined;
|
|
8
|
+
variant?: BaseButtonVariantType | undefined;
|
|
9
|
+
shape?: BaseButtonShapeType | undefined;
|
|
10
10
|
isBlock?: boolean | undefined;
|
|
11
11
|
isLoading?: boolean | undefined;
|
|
12
12
|
}>, {
|
|
@@ -17,10 +17,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
17
17
|
isBlock: boolean;
|
|
18
18
|
isLoading: boolean;
|
|
19
19
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
20
|
-
size?:
|
|
21
|
-
color?:
|
|
22
|
-
variant?:
|
|
23
|
-
shape?:
|
|
20
|
+
size?: BaseButtonSizeType | undefined;
|
|
21
|
+
color?: BaseButtonColorType | undefined;
|
|
22
|
+
variant?: BaseButtonVariantType | undefined;
|
|
23
|
+
shape?: BaseButtonShapeType | undefined;
|
|
24
24
|
isBlock?: boolean | undefined;
|
|
25
25
|
isLoading?: boolean | undefined;
|
|
26
26
|
}>, {
|
|
@@ -31,10 +31,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
31
31
|
isBlock: boolean;
|
|
32
32
|
isLoading: boolean;
|
|
33
33
|
}>>>, {
|
|
34
|
-
color:
|
|
35
|
-
variant:
|
|
36
|
-
shape:
|
|
37
|
-
size:
|
|
34
|
+
color: BaseButtonColorType;
|
|
35
|
+
variant: BaseButtonVariantType;
|
|
36
|
+
shape: BaseButtonShapeType;
|
|
37
|
+
size: BaseButtonSizeType;
|
|
38
38
|
isBlock: boolean;
|
|
39
39
|
isLoading: boolean;
|
|
40
40
|
}, {}>, {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { type BaseFormLayoutType } from './base-form.vue';
|
|
2
|
+
export type BaseCheckboxThemeType = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'danger';
|
|
1
3
|
export interface Props {
|
|
2
4
|
modelValue: boolean;
|
|
3
5
|
id?: string;
|
|
@@ -5,14 +7,15 @@ export interface Props {
|
|
|
5
7
|
text?: string;
|
|
6
8
|
description?: string;
|
|
7
9
|
placeholder?: string;
|
|
8
|
-
layout?:
|
|
9
|
-
theme?:
|
|
10
|
+
layout?: BaseFormLayoutType;
|
|
11
|
+
theme?: BaseCheckboxThemeType;
|
|
10
12
|
required?: boolean;
|
|
11
13
|
disabled?: boolean;
|
|
12
14
|
helpers?: string[];
|
|
13
15
|
errors?: string[];
|
|
14
16
|
}
|
|
15
17
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
18
|
+
modelValue: boolean;
|
|
16
19
|
theme: string;
|
|
17
20
|
layout: string;
|
|
18
21
|
required: boolean;
|
|
@@ -20,6 +23,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
20
23
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
24
|
"update:modelValue": (value: boolean) => void;
|
|
22
25
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
26
|
+
modelValue: boolean;
|
|
23
27
|
theme: string;
|
|
24
28
|
layout: string;
|
|
25
29
|
required: boolean;
|
|
@@ -27,10 +31,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
27
31
|
}>>> & {
|
|
28
32
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
29
33
|
}, {
|
|
34
|
+
layout: BaseFormLayoutType;
|
|
30
35
|
required: boolean;
|
|
31
|
-
|
|
36
|
+
modelValue: boolean;
|
|
32
37
|
disabled: boolean;
|
|
33
|
-
theme:
|
|
38
|
+
theme: BaseCheckboxThemeType;
|
|
34
39
|
}, {}>;
|
|
35
40
|
export default _default;
|
|
36
41
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { type BaseFormLayoutType } from './base-form.vue';
|
|
2
|
+
export type BaseDatepickerBorderType = 'simple' | 'full' | 'none';
|
|
1
3
|
export interface Props {
|
|
2
4
|
modelValue: string;
|
|
3
5
|
id?: string;
|
|
4
6
|
label?: string;
|
|
5
7
|
description?: string;
|
|
6
|
-
border?:
|
|
7
|
-
layout?:
|
|
8
|
+
border?: BaseDatepickerBorderType;
|
|
9
|
+
layout?: BaseFormLayoutType;
|
|
8
10
|
required?: boolean;
|
|
9
11
|
disabled?: boolean;
|
|
10
12
|
helpers?: string[];
|
|
@@ -16,8 +18,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
16
18
|
required: boolean;
|
|
17
19
|
disabled: boolean;
|
|
18
20
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
-
"update:modelValue": (value: string) => void;
|
|
20
21
|
isoValue: (value: string) => void;
|
|
22
|
+
"update:modelValue": (value: string) => void;
|
|
21
23
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
22
24
|
border: string;
|
|
23
25
|
layout: string;
|
|
@@ -27,9 +29,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
27
29
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
28
30
|
onIsoValue?: ((value: string) => any) | undefined;
|
|
29
31
|
}, {
|
|
32
|
+
layout: BaseFormLayoutType;
|
|
30
33
|
required: boolean;
|
|
31
|
-
|
|
32
|
-
border: "none" | "simple" | "full";
|
|
34
|
+
border: BaseDatepickerBorderType;
|
|
33
35
|
disabled: boolean;
|
|
34
36
|
}, {}>;
|
|
35
37
|
export default _default;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
export type BaseDividerOrientation = 'horizontal' | 'vertical';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
3
|
text?: string | undefined;
|
|
3
|
-
orientation:
|
|
4
|
+
orientation: BaseDividerOrientation;
|
|
4
5
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
6
|
text?: string | undefined;
|
|
6
|
-
orientation:
|
|
7
|
+
orientation: BaseDividerOrientation;
|
|
7
8
|
}>>>, {}, {}>;
|
|
8
9
|
export default _default;
|
|
9
10
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
export type BaseDropdownPosition = 'left' | 'right';
|
|
1
2
|
export interface Props {
|
|
2
|
-
position?:
|
|
3
|
+
position?: BaseDropdownPosition;
|
|
3
4
|
text?: string;
|
|
4
5
|
}
|
|
5
6
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
@@ -9,8 +10,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
9
10
|
position: string;
|
|
10
11
|
text: string;
|
|
11
12
|
}>>>, {
|
|
13
|
+
position: BaseDropdownPosition;
|
|
12
14
|
text: string;
|
|
13
|
-
position: "left" | "right";
|
|
14
15
|
}, {}>, {
|
|
15
16
|
trigger?(_: {}): any;
|
|
16
17
|
default?(_: {}): any;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
+
import { type BaseFormLayoutType } from './base-form.vue';
|
|
2
|
+
export type BaseFileUploadBorderType = 'none' | 'simple' | 'full';
|
|
1
3
|
export interface Props {
|
|
2
|
-
modelValue: string;
|
|
3
4
|
id?: string;
|
|
4
5
|
label?: string;
|
|
5
6
|
description?: string;
|
|
6
7
|
placeholder?: string;
|
|
7
|
-
border?:
|
|
8
|
-
layout?:
|
|
8
|
+
border?: BaseFileUploadBorderType;
|
|
9
|
+
layout?: BaseFormLayoutType;
|
|
9
10
|
multiple?: boolean;
|
|
10
11
|
required?: boolean;
|
|
11
12
|
disabled?: boolean;
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
helpers?: string[];
|
|
14
|
+
errors?: string[];
|
|
14
15
|
}
|
|
15
16
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
16
17
|
border: string;
|
|
@@ -29,17 +30,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
29
30
|
}>>> & {
|
|
30
31
|
onChange?: ((event: any) => any) | undefined;
|
|
31
32
|
}, {
|
|
33
|
+
layout: BaseFormLayoutType;
|
|
32
34
|
required: boolean;
|
|
33
|
-
|
|
34
|
-
border: "none" | "simple" | "full";
|
|
35
|
+
border: BaseFileUploadBorderType;
|
|
35
36
|
disabled: boolean;
|
|
36
37
|
multiple: boolean;
|
|
37
38
|
}, {}>, {
|
|
38
39
|
default?(_: {
|
|
39
40
|
fileRef: any;
|
|
40
41
|
}): any;
|
|
41
|
-
helper?(_: {}): any;
|
|
42
|
-
error?(_: {}): any;
|
|
43
42
|
}>;
|
|
44
43
|
export default _default;
|
|
45
44
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
export type BaseFormLayoutType = 'vertical' | 'horizontal';
|
|
1
2
|
export interface Props {
|
|
2
3
|
id?: string;
|
|
3
4
|
label?: string;
|
|
4
5
|
description?: string;
|
|
5
|
-
|
|
6
|
-
layout?: 'vertical' | 'horizontal';
|
|
6
|
+
layout?: BaseFormLayoutType;
|
|
7
7
|
required?: boolean;
|
|
8
8
|
helpers?: string[];
|
|
9
9
|
errors?: string[];
|
|
@@ -15,8 +15,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
layout: string;
|
|
16
16
|
required: boolean;
|
|
17
17
|
}>>>, {
|
|
18
|
+
layout: BaseFormLayoutType;
|
|
18
19
|
required: boolean;
|
|
19
|
-
layout: "vertical" | "horizontal";
|
|
20
20
|
}, {}>, {
|
|
21
21
|
default?(_: {}): any;
|
|
22
22
|
helper?(_: {}): any;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import { type BaseFormLayoutType } from './base-form.vue';
|
|
2
|
+
export type BaseInputMaskBorderType = 'simple' | 'full' | 'none';
|
|
1
3
|
export interface Props {
|
|
2
|
-
modelValue: string;
|
|
4
|
+
modelValue: string | number | boolean | null;
|
|
3
5
|
id?: string;
|
|
4
6
|
label?: string;
|
|
5
7
|
description?: string;
|
|
6
8
|
placeholder?: string;
|
|
7
|
-
border?:
|
|
8
|
-
layout?:
|
|
9
|
+
border?: BaseInputMaskBorderType;
|
|
10
|
+
layout?: BaseFormLayoutType;
|
|
9
11
|
required?: boolean;
|
|
10
12
|
disabled?: boolean;
|
|
11
13
|
helpers?: string[];
|
|
@@ -18,18 +20,18 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
18
20
|
required: boolean;
|
|
19
21
|
disabled: boolean;
|
|
20
22
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
-
"update:modelValue": (value: string) => void;
|
|
23
|
+
"update:modelValue": (value: string | number | boolean | null) => void;
|
|
22
24
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
23
25
|
border: string;
|
|
24
26
|
layout: string;
|
|
25
27
|
required: boolean;
|
|
26
28
|
disabled: boolean;
|
|
27
29
|
}>>> & {
|
|
28
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
30
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean | null) => any) | undefined;
|
|
29
31
|
}, {
|
|
32
|
+
layout: BaseFormLayoutType;
|
|
30
33
|
required: boolean;
|
|
31
|
-
|
|
32
|
-
border: "none" | "simple" | "full";
|
|
34
|
+
border: BaseInputMaskBorderType;
|
|
33
35
|
disabled: boolean;
|
|
34
36
|
}, {}>;
|
|
35
37
|
export default _default;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import { type BaseFormLayoutType } from './base-form.vue';
|
|
2
|
+
export type BaseInputNumberBorderType = 'none' | 'simple' | 'full';
|
|
1
3
|
export interface Props {
|
|
2
|
-
modelValue:
|
|
4
|
+
modelValue: number | null;
|
|
3
5
|
id?: string;
|
|
4
6
|
label?: string;
|
|
5
7
|
description?: string;
|
|
6
8
|
placeholder?: string;
|
|
7
|
-
border?:
|
|
8
|
-
layout?:
|
|
9
|
+
border?: BaseInputNumberBorderType;
|
|
10
|
+
layout?: BaseFormLayoutType;
|
|
9
11
|
decimalLength: number;
|
|
10
12
|
required?: boolean;
|
|
11
13
|
disabled?: boolean;
|
|
@@ -19,7 +21,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
19
21
|
required: boolean;
|
|
20
22
|
disabled: boolean;
|
|
21
23
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
-
"update:modelValue": (value: number) => void;
|
|
24
|
+
"update:modelValue": (value: number | null) => void;
|
|
23
25
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
24
26
|
decimalLength: number;
|
|
25
27
|
border: string;
|
|
@@ -27,11 +29,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
27
29
|
required: boolean;
|
|
28
30
|
disabled: boolean;
|
|
29
31
|
}>>> & {
|
|
30
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
32
|
+
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
31
33
|
}, {
|
|
34
|
+
layout: BaseFormLayoutType;
|
|
32
35
|
required: boolean;
|
|
33
|
-
|
|
34
|
-
border: "none" | "simple" | "full";
|
|
36
|
+
border: BaseInputNumberBorderType;
|
|
35
37
|
disabled: boolean;
|
|
36
38
|
decimalLength: number;
|
|
37
39
|
}, {}>;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
import { type BaseFormLayoutType } from './base-form.vue';
|
|
2
|
+
export type BaseInputType = 'text' | 'tel' | 'email' | 'password' | 'date' | 'number';
|
|
3
|
+
export type BaseInputBorderType = 'none' | 'simple' | 'full';
|
|
1
4
|
export interface Props {
|
|
2
5
|
modelValue: string;
|
|
3
6
|
id?: string;
|
|
4
7
|
label?: string;
|
|
5
8
|
description?: string;
|
|
6
9
|
placeholder?: string;
|
|
7
|
-
type?:
|
|
8
|
-
border?:
|
|
9
|
-
layout?:
|
|
10
|
+
type?: BaseInputType;
|
|
11
|
+
border?: BaseInputBorderType;
|
|
12
|
+
layout?: BaseFormLayoutType;
|
|
10
13
|
required?: boolean;
|
|
11
14
|
disabled?: boolean;
|
|
12
15
|
helpers?: string[];
|
|
@@ -29,10 +32,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
29
32
|
}>>> & {
|
|
30
33
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
31
34
|
}, {
|
|
32
|
-
|
|
35
|
+
layout: BaseFormLayoutType;
|
|
33
36
|
required: boolean;
|
|
34
|
-
|
|
35
|
-
border:
|
|
37
|
+
type: BaseInputType;
|
|
38
|
+
border: BaseInputBorderType;
|
|
36
39
|
disabled: boolean;
|
|
37
40
|
}, {}>, {
|
|
38
41
|
suffix?(_: {}): any;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
export type BaseMaskShapeType = 'squircle' | 'diamond' | 'reuleaux-triangle' | 'hexagon' | 'hexagon-2' | 'heart' | 'octagon' | 'star' | 'star-2';
|
|
1
2
|
interface Props {
|
|
2
|
-
shape:
|
|
3
|
+
shape: BaseMaskShapeType;
|
|
3
4
|
src: string;
|
|
4
5
|
}
|
|
5
6
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type BaseModalSizeType = 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full' | 'maximize';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
isOpen: boolean;
|
|
4
|
-
size?:
|
|
4
|
+
size?: BaseModalSizeType | undefined;
|
|
5
5
|
}>, {
|
|
6
6
|
size: string;
|
|
7
7
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
onClose: (...args: any[]) => void;
|
|
9
9
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
10
|
isOpen: boolean;
|
|
11
|
-
size?:
|
|
11
|
+
size?: BaseModalSizeType | undefined;
|
|
12
12
|
}>, {
|
|
13
13
|
size: string;
|
|
14
14
|
}>>> & {
|
|
15
15
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
16
16
|
}, {
|
|
17
|
-
size:
|
|
17
|
+
size: BaseModalSizeType;
|
|
18
18
|
}, {}>, {
|
|
19
19
|
default?(_: {}): any;
|
|
20
20
|
}>;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
export type BasePopoverPlacementType = 'auto' | 'auto-start' | 'auto-end' | 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end' | 'left' | 'left-start' | 'left-end';
|
|
1
2
|
export interface Props {
|
|
2
|
-
placement?:
|
|
3
|
+
placement?: BasePopoverPlacementType;
|
|
3
4
|
}
|
|
4
5
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
5
6
|
placement: string;
|
|
6
7
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
7
8
|
placement: string;
|
|
8
9
|
}>>>, {
|
|
9
|
-
placement:
|
|
10
|
+
placement: BasePopoverPlacementType;
|
|
10
11
|
}, {}>, {
|
|
11
12
|
default?(_: {}): any;
|
|
12
13
|
content?(_: any): any;
|