@salesql/sql_components_vue3 0.3.0 → 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/constants/events.d.ts +16 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +39 -8
- package/dist/index.es.js +1067 -150
- package/dist/index.es.js.map +1 -1
- package/dist/sql_components_vue3.css +1 -1
- package/dist/ui/DsAlert/DsAlert.types.d.ts +13 -0
- package/dist/ui/DsAlert/DsAlert.vue.d.ts +75 -0
- package/dist/ui/DsAlert/index.d.ts +2 -0
- package/dist/ui/DsAvatar/DsAvatar.types.d.ts +8 -0
- package/dist/ui/DsAvatar/DsAvatar.vue.d.ts +62 -0
- package/dist/ui/DsAvatar/index.d.ts +2 -0
- package/dist/ui/DsBadge/DsBadge.types.d.ts +9 -0
- package/dist/ui/DsBadge/DsBadge.vue.d.ts +26 -0
- package/dist/ui/DsBadge/index.d.ts +2 -0
- package/dist/ui/DsButton/DsButton.types.d.ts +21 -0
- package/dist/ui/DsButton/DsButton.vue.d.ts +94 -0
- package/dist/ui/DsButton/index.d.ts +2 -0
- package/dist/ui/DsCheckbox/DsCheckbox.types.d.ts +7 -0
- package/dist/ui/DsCheckbox/DsCheckbox.vue.d.ts +49 -0
- package/dist/ui/DsCheckbox/index.d.ts +2 -0
- package/dist/ui/DsContactValue/DsContactValue.types.d.ts +16 -0
- package/dist/ui/DsContactValue/DsContactValue.vue.d.ts +112 -0
- package/dist/ui/DsContactValue/index.d.ts +2 -0
- package/dist/ui/DsDataCard/DsDataCard.types.d.ts +9 -0
- package/dist/ui/DsDataCard/DsDataCard.vue.d.ts +173 -0
- package/dist/ui/DsDataCard/index.d.ts +2 -0
- package/dist/ui/DsInput/DsInput.types.d.ts +15 -0
- package/dist/ui/DsInput/DsInput.vue.d.ts +112 -0
- package/dist/ui/DsInput/index.d.ts +2 -0
- package/dist/ui/DsModal/DsModal.types.d.ts +8 -0
- package/dist/ui/DsModal/DsModal.vue.d.ts +69 -0
- package/dist/ui/DsModal/index.d.ts +2 -0
- package/dist/ui/DsNotification/DsNotification.types.d.ts +14 -0
- package/dist/ui/DsNotification/DsNotification.vue.d.ts +83 -0
- package/dist/ui/DsNotification/index.d.ts +2 -0
- package/dist/ui/DsSpinner/DsSpinner.types.d.ts +6 -0
- package/dist/ui/{SqlSpinner/SqlSpinner.vue.d.ts → DsSpinner/DsSpinner.vue.d.ts} +15 -15
- package/dist/ui/DsSpinner/index.d.ts +2 -0
- package/dist/ui/DsTable/DsTable.types.d.ts +16 -0
- package/dist/ui/{BasicTable/BasicTable.vue.d.ts → DsTable/DsTable.vue.d.ts} +15 -6
- package/dist/ui/DsTable/index.d.ts +2 -0
- package/dist/ui/DsTag/DsTag.types.d.ts +8 -0
- package/dist/ui/DsTag/DsTag.vue.d.ts +45 -0
- package/dist/ui/DsTag/index.d.ts +2 -0
- package/dist/ui/DsTextarea/DsTextarea.types.d.ts +8 -0
- package/dist/ui/DsTextarea/DsTextarea.vue.d.ts +70 -0
- package/dist/ui/DsTextarea/index.d.ts +2 -0
- package/dist/ui/DsVerificationIcon/DsVerificationIcon.types.d.ts +6 -0
- package/dist/ui/DsVerificationIcon/DsVerificationIcon.vue.d.ts +52 -0
- package/dist/ui/DsVerificationIcon/index.d.ts +2 -0
- package/package.json +6 -6
- package/dist/ui/BasicTable/BasicTable.types.d.ts +0 -16
- package/dist/ui/BasicTable/index.d.ts +0 -2
- package/dist/ui/SqlButton/SqlButton.types.d.ts +0 -31
- package/dist/ui/SqlButton/SqlButton.vue.d.ts +0 -75
- package/dist/ui/SqlButton/index.d.ts +0 -2
- package/dist/ui/SqlSpinner/SqlSpinner.types.d.ts +0 -11
- package/dist/ui/SqlSpinner/index.d.ts +0 -2
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import { type DsButtonNativeType, type DsButtonSize, type DsButtonVariant } from './DsButton.types';
|
|
3
|
+
declare var __VLS_5: {}, __VLS_7: {}, __VLS_9: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
leading?: (props: typeof __VLS_5) => any;
|
|
6
|
+
} & {
|
|
7
|
+
default?: (props: typeof __VLS_7) => any;
|
|
8
|
+
} & {
|
|
9
|
+
trailing?: (props: typeof __VLS_9) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
|
+
variant: {
|
|
13
|
+
type: PropType<DsButtonVariant>;
|
|
14
|
+
default: "primary";
|
|
15
|
+
};
|
|
16
|
+
size: {
|
|
17
|
+
type: PropType<DsButtonSize>;
|
|
18
|
+
default: "medium";
|
|
19
|
+
};
|
|
20
|
+
nativeType: {
|
|
21
|
+
type: PropType<DsButtonNativeType>;
|
|
22
|
+
default: "button";
|
|
23
|
+
};
|
|
24
|
+
leftIcon: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
rightIcon: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
ariaLabel: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
disabled: BooleanConstructor;
|
|
37
|
+
loading: BooleanConstructor;
|
|
38
|
+
circle: BooleanConstructor;
|
|
39
|
+
dashed: BooleanConstructor;
|
|
40
|
+
autofocus: BooleanConstructor;
|
|
41
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
|
+
click: (...args: any[]) => void;
|
|
43
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
|
+
variant: {
|
|
45
|
+
type: PropType<DsButtonVariant>;
|
|
46
|
+
default: "primary";
|
|
47
|
+
};
|
|
48
|
+
size: {
|
|
49
|
+
type: PropType<DsButtonSize>;
|
|
50
|
+
default: "medium";
|
|
51
|
+
};
|
|
52
|
+
nativeType: {
|
|
53
|
+
type: PropType<DsButtonNativeType>;
|
|
54
|
+
default: "button";
|
|
55
|
+
};
|
|
56
|
+
leftIcon: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
rightIcon: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
ariaLabel: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
disabled: BooleanConstructor;
|
|
69
|
+
loading: BooleanConstructor;
|
|
70
|
+
circle: BooleanConstructor;
|
|
71
|
+
dashed: BooleanConstructor;
|
|
72
|
+
autofocus: BooleanConstructor;
|
|
73
|
+
}>> & Readonly<{
|
|
74
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
75
|
+
}>, {
|
|
76
|
+
size: DsButtonSize;
|
|
77
|
+
circle: boolean;
|
|
78
|
+
variant: DsButtonVariant;
|
|
79
|
+
nativeType: DsButtonNativeType;
|
|
80
|
+
leftIcon: string;
|
|
81
|
+
rightIcon: string;
|
|
82
|
+
ariaLabel: string;
|
|
83
|
+
disabled: boolean;
|
|
84
|
+
loading: boolean;
|
|
85
|
+
dashed: boolean;
|
|
86
|
+
autofocus: boolean;
|
|
87
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
88
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
89
|
+
export default _default;
|
|
90
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
91
|
+
new (): {
|
|
92
|
+
$slots: S;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
indeterminate: BooleanConstructor;
|
|
7
|
+
disabled: BooleanConstructor;
|
|
8
|
+
name: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
label: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: import("vue").PropType<boolean>;
|
|
18
|
+
};
|
|
19
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (value: boolean) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
indeterminate: BooleanConstructor;
|
|
23
|
+
disabled: BooleanConstructor;
|
|
24
|
+
name: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
label: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
modelValue: {
|
|
33
|
+
type: import("vue").PropType<boolean>;
|
|
34
|
+
};
|
|
35
|
+
}>> & Readonly<{
|
|
36
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
37
|
+
}>, {
|
|
38
|
+
label: string;
|
|
39
|
+
disabled: boolean;
|
|
40
|
+
name: string;
|
|
41
|
+
indeterminate: boolean;
|
|
42
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
43
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
44
|
+
export default _default;
|
|
45
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
46
|
+
new (): {
|
|
47
|
+
$slots: S;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface DsContactValueProps {
|
|
2
|
+
/** The email address or phone number. */
|
|
3
|
+
value: string;
|
|
4
|
+
/** Type label shown as a badge ("Work", "Direct", "Mobile"…). */
|
|
5
|
+
valueType?: string;
|
|
6
|
+
/** Verification state, forwarded to DsVerificationIcon. */
|
|
7
|
+
verified?: boolean | null;
|
|
8
|
+
/** Highlights as the "most likely" value (accent badge + accent hover bg). */
|
|
9
|
+
main?: boolean;
|
|
10
|
+
/** True for emails (affects the unverified glyph color). */
|
|
11
|
+
isContactData?: boolean;
|
|
12
|
+
/** Show thumbs up/down rating on hover. */
|
|
13
|
+
showRate?: boolean;
|
|
14
|
+
/** Current rating: true = correct, false = incorrect, null = unrated. */
|
|
15
|
+
correct?: boolean | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
value: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
valueType: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
verified: {
|
|
12
|
+
type: PropType<boolean | null>;
|
|
13
|
+
default: null;
|
|
14
|
+
};
|
|
15
|
+
main: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
isContactData: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
showRate: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
correct: {
|
|
28
|
+
type: PropType<boolean | null>;
|
|
29
|
+
default: null;
|
|
30
|
+
};
|
|
31
|
+
copyLabel: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
copiedLabel: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
correctLabel: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
incorrectLabel: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
48
|
+
copy: (...args: any[]) => void;
|
|
49
|
+
correct: (...args: any[]) => void;
|
|
50
|
+
incorrect: (...args: any[]) => void;
|
|
51
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
+
value: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
valueType: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
verified: {
|
|
61
|
+
type: PropType<boolean | null>;
|
|
62
|
+
default: null;
|
|
63
|
+
};
|
|
64
|
+
main: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
isContactData: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
showRate: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
correct: {
|
|
77
|
+
type: PropType<boolean | null>;
|
|
78
|
+
default: null;
|
|
79
|
+
};
|
|
80
|
+
copyLabel: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
copiedLabel: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
correctLabel: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
incorrectLabel: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
}>> & Readonly<{
|
|
97
|
+
onCopy?: ((...args: any[]) => any) | undefined;
|
|
98
|
+
onCorrect?: ((...args: any[]) => any) | undefined;
|
|
99
|
+
onIncorrect?: ((...args: any[]) => any) | undefined;
|
|
100
|
+
}>, {
|
|
101
|
+
main: boolean;
|
|
102
|
+
correct: boolean | null;
|
|
103
|
+
verified: boolean | null;
|
|
104
|
+
isContactData: boolean;
|
|
105
|
+
valueType: string;
|
|
106
|
+
showRate: boolean;
|
|
107
|
+
copyLabel: string;
|
|
108
|
+
copiedLabel: string;
|
|
109
|
+
correctLabel: string;
|
|
110
|
+
incorrectLabel: string;
|
|
111
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
112
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface DsContactDatum {
|
|
2
|
+
value: string;
|
|
3
|
+
/** Type label shown as a badge ("Work", "Direct", "Mobile"…). */
|
|
4
|
+
type?: string;
|
|
5
|
+
/** Verification state (true / false / null = newly found). */
|
|
6
|
+
verified?: boolean | null;
|
|
7
|
+
/** Current rating (true = correct, false = incorrect, null = unrated). */
|
|
8
|
+
correct?: boolean | null;
|
|
9
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { DsContactDatum } from './DsDataCard.types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
title: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
icon: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
mostLikely: {
|
|
13
|
+
type: PropType<DsContactDatum | null>;
|
|
14
|
+
default: null;
|
|
15
|
+
};
|
|
16
|
+
more: {
|
|
17
|
+
type: PropType<DsContactDatum[]>;
|
|
18
|
+
default: () => never[];
|
|
19
|
+
};
|
|
20
|
+
collapsible: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
showSort: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
showEdit: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
showClose: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
isContactData: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
showRate: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
editLabel: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
emptyLabel: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
mostLikelyLabel: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
moreLabel: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
sortLabel: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
toggleLabel: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
closeLabel: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
73
|
+
sort: (...args: any[]) => void;
|
|
74
|
+
close: (...args: any[]) => void;
|
|
75
|
+
copy: (...args: any[]) => void;
|
|
76
|
+
correct: (...args: any[]) => void;
|
|
77
|
+
incorrect: (...args: any[]) => void;
|
|
78
|
+
edit: (...args: any[]) => void;
|
|
79
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
80
|
+
title: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
required: true;
|
|
83
|
+
};
|
|
84
|
+
icon: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
mostLikely: {
|
|
89
|
+
type: PropType<DsContactDatum | null>;
|
|
90
|
+
default: null;
|
|
91
|
+
};
|
|
92
|
+
more: {
|
|
93
|
+
type: PropType<DsContactDatum[]>;
|
|
94
|
+
default: () => never[];
|
|
95
|
+
};
|
|
96
|
+
collapsible: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
showSort: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
showEdit: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
showClose: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
isContactData: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
showRate: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
editLabel: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
emptyLabel: {
|
|
125
|
+
type: StringConstructor;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
mostLikelyLabel: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
default: string;
|
|
131
|
+
};
|
|
132
|
+
moreLabel: {
|
|
133
|
+
type: StringConstructor;
|
|
134
|
+
default: string;
|
|
135
|
+
};
|
|
136
|
+
sortLabel: {
|
|
137
|
+
type: StringConstructor;
|
|
138
|
+
default: string;
|
|
139
|
+
};
|
|
140
|
+
toggleLabel: {
|
|
141
|
+
type: StringConstructor;
|
|
142
|
+
default: string;
|
|
143
|
+
};
|
|
144
|
+
closeLabel: {
|
|
145
|
+
type: StringConstructor;
|
|
146
|
+
default: string;
|
|
147
|
+
};
|
|
148
|
+
}>> & Readonly<{
|
|
149
|
+
onSort?: ((...args: any[]) => any) | undefined;
|
|
150
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
151
|
+
onCopy?: ((...args: any[]) => any) | undefined;
|
|
152
|
+
onCorrect?: ((...args: any[]) => any) | undefined;
|
|
153
|
+
onIncorrect?: ((...args: any[]) => any) | undefined;
|
|
154
|
+
onEdit?: ((...args: any[]) => any) | undefined;
|
|
155
|
+
}>, {
|
|
156
|
+
closeLabel: string;
|
|
157
|
+
toggleLabel: string;
|
|
158
|
+
icon: string;
|
|
159
|
+
showClose: boolean;
|
|
160
|
+
isContactData: boolean;
|
|
161
|
+
showRate: boolean;
|
|
162
|
+
mostLikely: DsContactDatum | null;
|
|
163
|
+
more: DsContactDatum[];
|
|
164
|
+
collapsible: boolean;
|
|
165
|
+
showSort: boolean;
|
|
166
|
+
showEdit: boolean;
|
|
167
|
+
editLabel: string;
|
|
168
|
+
emptyLabel: string;
|
|
169
|
+
mostLikelyLabel: string;
|
|
170
|
+
moreLabel: string;
|
|
171
|
+
sortLabel: string;
|
|
172
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
173
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const DS_INPUT_TYPES: {
|
|
2
|
+
readonly TEXT: "text";
|
|
3
|
+
readonly EMAIL: "email";
|
|
4
|
+
readonly PASSWORD: "password";
|
|
5
|
+
readonly TEL: "tel";
|
|
6
|
+
readonly NUMBER: "number";
|
|
7
|
+
readonly SEARCH: "search";
|
|
8
|
+
readonly URL: "url";
|
|
9
|
+
};
|
|
10
|
+
export type DsInputType = (typeof DS_INPUT_TYPES)[keyof typeof DS_INPUT_TYPES];
|
|
11
|
+
export declare const DS_INPUT_SIZES: {
|
|
12
|
+
readonly SM: "sm";
|
|
13
|
+
readonly MD: "md";
|
|
14
|
+
};
|
|
15
|
+
export type DsInputSize = (typeof DS_INPUT_SIZES)[keyof typeof DS_INPUT_SIZES];
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import { type DsInputType, type DsInputSize } from './DsInput.types';
|
|
3
|
+
declare var __VLS_1: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
suffix?: (props: typeof __VLS_1) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
type: {
|
|
9
|
+
type: PropType<DsInputType>;
|
|
10
|
+
default: "text";
|
|
11
|
+
};
|
|
12
|
+
size: {
|
|
13
|
+
type: PropType<DsInputSize>;
|
|
14
|
+
default: "sm";
|
|
15
|
+
};
|
|
16
|
+
placeholder: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
disabled: BooleanConstructor;
|
|
21
|
+
error: BooleanConstructor;
|
|
22
|
+
errorMessage: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
showErrorIcon: BooleanConstructor;
|
|
27
|
+
name: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
id: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
autocomplete: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
toggleLabel: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
modelValue: {
|
|
44
|
+
type: PropType<string>;
|
|
45
|
+
};
|
|
46
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
|
+
focus: (...args: any[]) => void;
|
|
48
|
+
blur: (...args: any[]) => void;
|
|
49
|
+
"update:modelValue": (value: string) => void;
|
|
50
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
|
+
type: {
|
|
52
|
+
type: PropType<DsInputType>;
|
|
53
|
+
default: "text";
|
|
54
|
+
};
|
|
55
|
+
size: {
|
|
56
|
+
type: PropType<DsInputSize>;
|
|
57
|
+
default: "sm";
|
|
58
|
+
};
|
|
59
|
+
placeholder: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
disabled: BooleanConstructor;
|
|
64
|
+
error: BooleanConstructor;
|
|
65
|
+
errorMessage: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
showErrorIcon: BooleanConstructor;
|
|
70
|
+
name: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
id: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
autocomplete: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
toggleLabel: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
modelValue: {
|
|
87
|
+
type: PropType<string>;
|
|
88
|
+
};
|
|
89
|
+
}>> & Readonly<{
|
|
90
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
91
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
92
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
93
|
+
}>, {
|
|
94
|
+
size: DsInputSize;
|
|
95
|
+
type: DsInputType;
|
|
96
|
+
disabled: boolean;
|
|
97
|
+
error: boolean;
|
|
98
|
+
id: string;
|
|
99
|
+
placeholder: string;
|
|
100
|
+
errorMessage: string;
|
|
101
|
+
showErrorIcon: boolean;
|
|
102
|
+
name: string;
|
|
103
|
+
autocomplete: string;
|
|
104
|
+
toggleLabel: string;
|
|
105
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
106
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
107
|
+
export default _default;
|
|
108
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
109
|
+
new (): {
|
|
110
|
+
$slots: S;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
declare var __VLS_13: {}, __VLS_15: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_13) => any;
|
|
4
|
+
} & {
|
|
5
|
+
footer?: (props: typeof __VLS_15) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
open: BooleanConstructor;
|
|
9
|
+
title: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
showClose: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
width: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
closeOnBackdrop: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
closeLabel: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
+
close: (...args: any[]) => void;
|
|
31
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
+
open: BooleanConstructor;
|
|
33
|
+
title: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
showClose: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
width: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
closeOnBackdrop: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
closeLabel: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
}>> & Readonly<{
|
|
54
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
55
|
+
}>, {
|
|
56
|
+
title: string;
|
|
57
|
+
width: string;
|
|
58
|
+
closeLabel: string;
|
|
59
|
+
showClose: boolean;
|
|
60
|
+
open: boolean;
|
|
61
|
+
closeOnBackdrop: boolean;
|
|
62
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
63
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
64
|
+
export default _default;
|
|
65
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
66
|
+
new (): {
|
|
67
|
+
$slots: S;
|
|
68
|
+
};
|
|
69
|
+
};
|